Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultServiceAccountName = "default" AccountKey = "account" )
View Source
const (
DefaultObjectName = "flowify-default"
)
Variables ¶
This section is empty.
Functions ¶
func InClusterConfig ¶
Types ¶
type SecretClient ¶
type SecretClient interface { ListAvailableKeys(ctx context.Context, group string) ([]string, error) AddSecretKey(ctx context.Context, group, name, key string) error DeleteSecretKey(ctx context.Context, group, name string) error }
func NewSecretClient ¶
func NewSecretClient(clientSet kubernetes.Interface) SecretClient
type SecretClientImpl ¶
type SecretClientImpl struct {
// contains filtered or unexported fields
}
Implements secret.SecretClient
func (*SecretClientImpl) AddSecretKey ¶
func (c *SecretClientImpl) AddSecretKey(ctx context.Context, workspace, key, value string) error
func (*SecretClientImpl) DeleteSecretKey ¶
func (c *SecretClientImpl) DeleteSecretKey(ctx context.Context, workspace, name string) error
func (*SecretClientImpl) ListAvailableKeys ¶
type SecretClientMock ¶
func NewDefaultSecretClientMock ¶
func NewDefaultSecretClientMock() *SecretClientMock
func (*SecretClientMock) AddSecretKey ¶
func (m *SecretClientMock) AddSecretKey(ctx context.Context, group, name, key string) error
func (*SecretClientMock) DeleteSecretKey ¶
func (m *SecretClientMock) DeleteSecretKey(ctx context.Context, group, name string) error
func (*SecretClientMock) ListAvailableKeys ¶
Click to show internal directories.
Click to hide internal directories.