Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreator ¶
func NewCreator(repo sensitiveDoguConfigRepository, localDoguFetcher localDoguFetcher, commandExecutor exec.CommandExecutor, client client.Client, clientSet kubernetes.Interface, namespace string) *creator
NewCreator creates a new instance of ServiceAccountCreator
func NewRemover ¶
func NewRemover(repo sensitiveDoguConfigRepository, localFetcher localDoguFetcher, commandExecutor exec.CommandExecutor, client client.Client, clientSet kubernetes.Interface, namespace string) *remover
NewRemover creates a new instance of ServiceAccountRemover
Types ¶
type Credentials ¶
type ServiceAccountCreator ¶
type ServiceAccountCreator interface { // CreateAll is used to create all necessary service accounts for the given dogu. CreateAll(ctx context.Context, dogu *cesappcore.Dogu) error }
ServiceAccountCreator includes functionality to create necessary service accounts for a dogu.
type ServiceAccountRemover ¶
type ServiceAccountRemover interface { // RemoveAll is used to remove all existing service accounts for the given dogu. RemoveAll(ctx context.Context, dogu *cesappcore.Dogu) error }
ServiceAccountRemover includes functionality to remove existing service accounts for a dogu.
Click to show internal directories.
Click to hide internal directories.