v1alpha1

package
v0.0.0-...-eb30de6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=gitopssecret.snappcloud.io

Index

Constants

This section is empty.

Variables

View Source
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

func (in *AgeKey) DeepCopy() *AgeKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgeKey.

func (*AgeKey) DeepCopyInto

func (in *AgeKey) DeepCopyInto(out *AgeKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AgeKey) DeepCopyObject

func (in *AgeKey) DeepCopyObject() runtime.Object

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 (r *AgeKey) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AgeKey) ValidateAgeKey

func (r *AgeKey) ValidateAgeKey() error

func (*AgeKey) ValidateCreate

func (r *AgeKey) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AgeKey) ValidateDelete

func (r *AgeKey) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AgeKey) ValidateUpdate

func (r *AgeKey) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate 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

func (in *AgeSecret) DeepCopy() *AgeSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgeSecret.

func (*AgeSecret) DeepCopyInto

func (in *AgeSecret) DeepCopyInto(out *AgeSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AgeSecret) DeepCopyObject

func (in *AgeSecret) DeepCopyObject() runtime.Object

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 (r *AgeSecret) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AgeSecret) ValidateAgeSecret

func (r *AgeSecret) ValidateAgeSecret() error

func (*AgeSecret) ValidateCreate

func (r *AgeSecret) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AgeSecret) ValidateDelete

func (r *AgeSecret) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AgeSecret) ValidateUpdate

func (r *AgeSecret) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate 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

type AgeSecretStatus struct {
	Health  string `json:"health"`
	Message string `json:"message"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL