Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=gitopssecret.snappcloud.io
Index ¶
- Variables
- type AgeKey
- func (in *AgeKey) DeepCopy() *AgeKey
- func (in *AgeKey) DeepCopyInto(out *AgeKey)
- func (in *AgeKey) DeepCopyObject() runtime.Object
- func (r *AgeKey) Default()
- func (r *AgeKey) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AgeKey) ValidateAgeKey() error
- func (r *AgeKey) ValidateCreate() (admission.Warnings, error)
- func (r *AgeKey) ValidateDelete() (admission.Warnings, error)
- func (r *AgeKey) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type AgeKeyList
- type AgeKeySpec
- type AgeKeyStatus
- type AgeSecret
- func (in *AgeSecret) DeepCopy() *AgeSecret
- func (in *AgeSecret) DeepCopyInto(out *AgeSecret)
- func (in *AgeSecret) DeepCopyObject() runtime.Object
- func (r *AgeSecret) Default()
- func (r *AgeSecret) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AgeSecret) ValidateAgeSecret() error
- func (r *AgeSecret) ValidateCreate() (admission.Warnings, error)
- func (r *AgeSecret) ValidateDelete() (admission.Warnings, error)
- func (r *AgeSecret) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type AgeSecretList
- type AgeSecretSpec
- type AgeSecretStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "gitopssecret.snappcloud.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AgeKey ¶
type AgeKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AgeKeySpec `json:"spec,omitempty"` Status AgeKeyStatus `json:"status,omitempty"` }
AgeKey is the Schema for the agekeys API +kubebuilder:printcolumn:name="Message",type=string,JSONPath=`.status.message` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*AgeKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgeKey.
func (*AgeKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgeKey) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AgeKey) Default ¶
func (r *AgeKey) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*AgeKey) SetupWebhookWithManager ¶
func (*AgeKey) ValidateAgeKey ¶
func (*AgeKey) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AgeKey) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type AgeKeyList ¶
type AgeKeyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AgeKey `json:"items"` }
AgeKeyList contains a list of AgeKey
func (*AgeKeyList) DeepCopy ¶
func (in *AgeKeyList) DeepCopy() *AgeKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgeKeyList.
func (*AgeKeyList) DeepCopyInto ¶
func (in *AgeKeyList) DeepCopyInto(out *AgeKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgeKeyList) DeepCopyObject ¶
func (in *AgeKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgeKeySpec ¶
type AgeKeySpec struct { // +kubebuilder:validation:Required AgeSecretKey string `json:"ageSecretKey"` }
AgeKeySpec defines the desired state of AgeKey
func (*AgeKeySpec) DeepCopy ¶
func (in *AgeKeySpec) DeepCopy() *AgeKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgeKeySpec.
func (*AgeKeySpec) DeepCopyInto ¶
func (in *AgeKeySpec) DeepCopyInto(out *AgeKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgeKeyStatus ¶
type AgeKeyStatus struct {
Message string `json:"message"`
}
AgeKeyStatus defines the observed state of AgeKey
func (*AgeKeyStatus) DeepCopy ¶
func (in *AgeKeyStatus) DeepCopy() *AgeKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgeKeyStatus.
func (*AgeKeyStatus) DeepCopyInto ¶
func (in *AgeKeyStatus) DeepCopyInto(out *AgeKeyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgeSecret ¶
type AgeSecret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AgeSecretSpec `json:"spec,omitempty"` Status AgeSecretStatus `json:"status,omitempty"` }
AgeSecret is the Schema for the AgeSecrets API
func (*AgeSecret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgeSecret.
func (*AgeSecret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgeSecret) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AgeSecret) Default ¶
func (r *AgeSecret) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*AgeSecret) SetupWebhookWithManager ¶
func (*AgeSecret) ValidateAgeSecret ¶
func (*AgeSecret) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AgeSecret) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type AgeSecretList ¶
type AgeSecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AgeSecret `json:"items"` }
AgeSecretList contains a list of AgeSecret
func (*AgeSecretList) DeepCopy ¶
func (in *AgeSecretList) DeepCopy() *AgeSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgeSecretList.
func (*AgeSecretList) DeepCopyInto ¶
func (in *AgeSecretList) DeepCopyInto(out *AgeSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgeSecretList) DeepCopyObject ¶
func (in *AgeSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgeSecretSpec ¶
type AgeSecretSpec struct { AgeKeyRef string `json:"ageKeyRef"` StringData string `json:"stringData"` Suspend bool `json:"suspend,omitempty"` LabelsToRemove []string `json:"labelsToRemove,omitempty"` }
AgeSecretSpec defines the desired state of AgeSecret
func (*AgeSecretSpec) DeepCopy ¶
func (in *AgeSecretSpec) DeepCopy() *AgeSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgeSecretSpec.
func (*AgeSecretSpec) DeepCopyInto ¶
func (in *AgeSecretSpec) DeepCopyInto(out *AgeSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgeSecretStatus ¶
AgeSecretStatus defines the observed state of AgeSecret
func (*AgeSecretStatus) DeepCopy ¶
func (in *AgeSecretStatus) DeepCopy() *AgeSecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgeSecretStatus.
func (*AgeSecretStatus) DeepCopyInto ¶
func (in *AgeSecretStatus) DeepCopyInto(out *AgeSecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.