Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKubeSecret ¶
func CreateKubeSecret(req KubeSecretRequest) (v1.Secret, error)
CreateKubeSecret creates a Kubernetes Secret object from a Secret.
Types ¶
type KubeSecretRequest ¶
type KubeSecretRequest struct { Name string Namespace string Type string Values map[string]string Spec KubeSecretSpec }
KubeSecretRequest contains details for a Kubernetes Secret creation from pipeline secrets.
type KubeSecretSpec ¶
type KubeSecretSpec map[string]KubeSecretSpecItem
type KubeSecretSpecItem ¶
type KubeSecretStore ¶
type KubeSecretStore struct {
// contains filtered or unexported fields
}
func MakeKubeSecretStore ¶
func MakeKubeSecretStore(secrets SecretStore) KubeSecretStore
type SecretStore ¶
type SecretStore interface {
Get(organizationID uint, secretID string) (*secret.SecretItemResponse, error)
}
Click to show internal directories.
Click to hide internal directories.