Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeComponentSecret ¶
ChangeComponentSecret Modifies an application environment component secret
func NewSecretController ¶
func NewSecretController() models.Controller
NewSecretController Constructor
Types ¶
type SecretHandler ¶
type SecretHandler struct {
// contains filtered or unexported fields
}
SecretHandler Instance variables
func Init ¶
func Init(opts ...SecretHandlerOptions) SecretHandler
Init Constructor. Use the WithAccounts configuration function to configure a 'ready to use' SecretHandler. SecretHandlerOptions are processed in the seqeunce they are passed to this function.
func (SecretHandler) ChangeComponentSecret ¶
func (eh SecretHandler) ChangeComponentSecret(appName, envName, componentName, secretName string, componentSecret models.SecretParameters) error
ChangeComponentSecret handler for HandleChangeComponentSecret
func (SecretHandler) GetSecretsForDeployment ¶
func (eh SecretHandler) GetSecretsForDeployment(appName, envName, deploymentName string) ([]models.Secret, error)
GetSecretsForDeployment Lists environment secrets for application
type SecretHandlerOptions ¶
type SecretHandlerOptions func(*SecretHandler)
SecretHandlerOptions defines a configuration function
func WithAccounts ¶
func WithAccounts(accounts apiModels.Accounts) SecretHandlerOptions
WithAccounts configures all SecretHandler fields
Click to show internal directories.
Click to hide internal directories.