github.com/cilium/cilium@v1.16.2/operator/auth/identity/identity_provider.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  package identity
     5  
     6  import "context"
     7  
     8  // Provider is the interface that manages the identity operations.
     9  type Provider interface {
    10  	Upsert(ctx context.Context, id string) error
    11  	Delete(ctx context.Context, id string) error
    12  	List(ctx context.Context) ([]string, error)
    13  }