Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSecretReferenceNotFound = errors.New("secret reference not found") ErrSecretReferenceAlreadyExists = errors.New("secret reference already exists") )
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
CreateSecretReference(ctx context.Context, namespaceName string, sr *openchoreov1alpha1.SecretReference) (*openchoreov1alpha1.SecretReference, error)
UpdateSecretReference(ctx context.Context, namespaceName string, sr *openchoreov1alpha1.SecretReference) (*openchoreov1alpha1.SecretReference, error)
ListSecretReferences(ctx context.Context, namespaceName string, opts services.ListOptions) (*services.ListResult[openchoreov1alpha1.SecretReference], error)
GetSecretReference(ctx context.Context, namespaceName, secretReferenceName string) (*openchoreov1alpha1.SecretReference, error)
DeleteSecretReference(ctx context.Context, namespaceName, secretReferenceName string) error
}
Service defines the secret reference service interface.
func NewService ¶
NewService creates a new secret reference service without authorization.
Click to show internal directories.
Click to hide internal directories.