Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandExecutor ¶
type CommandExecutor interface {
ExecCommand(ctx context.Context, targetDogu string, namespace string, command *core.ExposedCommand, params []string) (*bytes.Buffer, error)
}
CommandExecutor is used to execute command in a dogu
type Creator ¶
type Creator struct { Registry registry.Registry `json:"registry"` Executor CommandExecutor `json:"executor"` }
Creator is the unit to handle the creation of service accounts
func NewServiceAccountCreator ¶
func NewServiceAccountCreator(registry registry.Registry, commandExecutor CommandExecutor) *Creator
NewServiceAccountCreator creates a new instance of ServiceAccountCreator
Click to show internal directories.
Click to hide internal directories.