Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=dockhand.boxboat.io
+k8s:deepcopy-gen=package +groupName=dockhand.boxboat.io
+k8s:deepcopy-gen=package +groupName=dockhand.boxboat.io
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AwsSecretsManager
- type AzureKeyVault
- type DockhandSecret
- type DockhandSecretList
- type DockhandSecretsProfile
- type DockhandSecretsProfileList
- type GcpSecretsManager
- type SecretRef
- type SecretSpec
- type SecretState
- type SecretStatus
- type Vault
Constants ¶
const ( AutoUpdateLabelKey = "dockhand.boxboat.io/autoUpdate" DockhandSecretLabelKey = "dockhand.boxboat.io/ownedByDockhandSecret" DockhandSecretNamesLabelPrefixKey = "dockhandsecret.boxboat.io/" SecretNamesAnnotationKey = "dockhand.boxboat.io/secretNames" SecretChecksumAnnotationKey = "dockhand.boxboat.io/secretChecksum" Ready SecretState = "Ready" Pending SecretState = "Pending" ErrApplied SecretState = "ErrApplied" )
Variables ¶
var ( DockhandSecretResourceName = "dockhandsecrets" DockhandSecretsProfileResourceName = "dockhandsecretsprofiles" )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: dockhand.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AwsSecretsManager ¶
type AwsSecretsManager struct { CacheTTL string `json:"cacheTTL"` Region string `json:"region"` AccessKeyId *string `json:"accessKeyId,omitempty"` SecretAccessKeyRef *SecretRef `json:"secretAccessKeyRef,omitempty"` }
AwsSecretsManager specifies the configuration for accessing AWS Secrets.
func (*AwsSecretsManager) DeepCopy ¶
func (in *AwsSecretsManager) DeepCopy() *AwsSecretsManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsSecretsManager.
func (*AwsSecretsManager) DeepCopyInto ¶
func (in *AwsSecretsManager) DeepCopyInto(out *AwsSecretsManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureKeyVault ¶
type AzureKeyVault struct { CacheTTL string `json:"cacheTTL"` Tenant string `json:"tenant"` ClientId *string `json:"clientId,omitempty"` ClientSecretRef *SecretRef `json:"clientSecretRef,omitempty"` KeyVault string `json:"keyVault"` }
AzureKeyVault specifies the configuration for accessing Azure Key Vault secrets.
func (*AzureKeyVault) DeepCopy ¶
func (in *AzureKeyVault) DeepCopy() *AzureKeyVault
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVault.
func (*AzureKeyVault) DeepCopyInto ¶
func (in *AzureKeyVault) DeepCopyInto(out *AzureKeyVault)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockhandSecret ¶
type DockhandSecret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Data map[string]string `json:"data"` SecretSpec SecretSpec `json:"secretSpec"` Profile string `json:"profile"` Status SecretStatus `json:"status,omitempty"` }
DockhandSecret is a specification for a Secret resource.
func NewDockhandSecret ¶
func NewDockhandSecret(namespace, name string, obj DockhandSecret) *DockhandSecret
func (*DockhandSecret) DeepCopy ¶
func (in *DockhandSecret) DeepCopy() *DockhandSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockhandSecret.
func (*DockhandSecret) DeepCopyInto ¶
func (in *DockhandSecret) DeepCopyInto(out *DockhandSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockhandSecret) DeepCopyObject ¶
func (in *DockhandSecret) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockhandSecretList ¶
type DockhandSecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DockhandSecret `json:"items"` }
DockhandSecretList is a list of DockhandSecret resources
func (*DockhandSecretList) DeepCopy ¶
func (in *DockhandSecretList) DeepCopy() *DockhandSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockhandSecretList.
func (*DockhandSecretList) DeepCopyInto ¶
func (in *DockhandSecretList) DeepCopyInto(out *DockhandSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockhandSecretList) DeepCopyObject ¶
func (in *DockhandSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockhandSecretsProfile ¶
type DockhandSecretsProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` AwsSecretsManager *AwsSecretsManager `json:"awsSecretsManager,omitempty"` AzureKeyVault *AzureKeyVault `json:"azureKeyVault,omitempty"` GcpSecretsManager *GcpSecretsManager `json:"gcpSecretsManager,omitempty"` Vault *Vault `json:"vault,omitempty"` }
DockhandSecretsProfile is a specification for a DockhandProfile resource
func NewDockhandSecretsProfile ¶
func NewDockhandSecretsProfile(namespace, name string, obj DockhandSecretsProfile) *DockhandSecretsProfile
func (*DockhandSecretsProfile) DeepCopy ¶
func (in *DockhandSecretsProfile) DeepCopy() *DockhandSecretsProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockhandSecretsProfile.
func (*DockhandSecretsProfile) DeepCopyInto ¶
func (in *DockhandSecretsProfile) DeepCopyInto(out *DockhandSecretsProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockhandSecretsProfile) DeepCopyObject ¶
func (in *DockhandSecretsProfile) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockhandSecretsProfileList ¶
type DockhandSecretsProfileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DockhandSecretsProfile `json:"items"` }
DockhandSecretsProfileList is a list of DockhandSecretsProfile resources
func (*DockhandSecretsProfileList) DeepCopy ¶
func (in *DockhandSecretsProfileList) DeepCopy() *DockhandSecretsProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockhandSecretsProfileList.
func (*DockhandSecretsProfileList) DeepCopyInto ¶
func (in *DockhandSecretsProfileList) DeepCopyInto(out *DockhandSecretsProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockhandSecretsProfileList) DeepCopyObject ¶
func (in *DockhandSecretsProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GcpSecretsManager ¶
type GcpSecretsManager struct { CacheTTL string `json:"cacheTTL"` Project string `json:"project"` CredentialsFileSecretRef *SecretRef `json:"credentialsFileSecretRef"` }
func (*GcpSecretsManager) DeepCopy ¶
func (in *GcpSecretsManager) DeepCopy() *GcpSecretsManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcpSecretsManager.
func (*GcpSecretsManager) DeepCopyInto ¶
func (in *GcpSecretsManager) DeepCopyInto(out *GcpSecretsManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretRef ¶
SecretRef specifies a reference to a Secret
func (*SecretRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef.
func (*SecretRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretSpec ¶
type SecretSpec struct { Name string `json:"name"` Type string `json:"type"` Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` }
SecretSpec defines the kubernetes secret data to use for the secret managed by a Secret
func (*SecretSpec) DeepCopy ¶
func (in *SecretSpec) DeepCopy() *SecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSpec.
func (*SecretSpec) DeepCopyInto ¶
func (in *SecretSpec) DeepCopyInto(out *SecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretState ¶ added in v0.4.0
type SecretState string
type SecretStatus ¶ added in v0.5.0
type SecretStatus struct { State SecretState `json:"state"` ObservedGeneration int64 `json:"observedGeneration"` }
func (*SecretStatus) DeepCopy ¶ added in v0.5.0
func (in *SecretStatus) DeepCopy() *SecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStatus.
func (*SecretStatus) DeepCopyInto ¶ added in v0.5.0
func (in *SecretStatus) DeepCopyInto(out *SecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Vault ¶
type Vault struct { CacheTTL string `json:"cacheTTL"` Addr string `json:"addr"` RoleId *string `json:"roleId,omitempty"` SecretIdRef *SecretRef `json:"secretIdRef,omitempty"` TokenRef *SecretRef `json:"tokenRef,omitempty"` }
Vault specifies the configuration for accessing Vault secrets.
func (*Vault) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vault.
func (*Vault) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.