Help us shape the future of Go! Take the 2026 Go Developer Survey

v1alpha1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.thatinfrastructureguy.com

Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.thatinfrastructureguy.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "operator.thatinfrastructureguy.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type VaultSyncer

type VaultSyncer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VaultSyncerSpec   `json:"spec,omitempty"`
	Status VaultSyncerStatus `json:"status,omitempty"`
}

VaultSyncer is the Schema for the vaultsyncers API +kubebuilder:subresource:status +kubebuilder:resource:path=vaultsyncers,scope=Namespaced

func (*VaultSyncer) DeepCopy

func (in *VaultSyncer) DeepCopy() *VaultSyncer

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

func (*VaultSyncer) DeepCopyInto

func (in *VaultSyncer) DeepCopyInto(out *VaultSyncer)

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

func (*VaultSyncer) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VaultSyncerList

type VaultSyncerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VaultSyncer `json:"items"`
}

VaultSyncerList contains a list of VaultSyncer

func (*VaultSyncerList) DeepCopy

func (in *VaultSyncerList) DeepCopy() *VaultSyncerList

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

func (*VaultSyncerList) DeepCopyInto

func (in *VaultSyncerList) DeepCopyInto(out *VaultSyncerList)

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

func (*VaultSyncerList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VaultSyncerSpec

type VaultSyncerSpec struct {
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	Image string `json:"image,omitempty"`

	// +kubebuilder:validation:MaxLength=30
	// +kubebuilder:validation:MinLength=1
	Provider string `json:"provider"`
	// +kubebuilder:validation:MaxLength=30
	ProviderCredsSecret string `json:"providerCredsSecret"`
	// +kubebuilder:validation:MaxLength=30
	// +kubebuilder:validation:MinLength=1
	VaultName string `json:"vaultName"`
	// +kubebuilder:validation:MaxLength=30
	Consumer string `json:"consumer,omitempty"`
	// +kubebuilder:validation:MaxLength=30
	SecretNamespace string `json:"secretNamespace,omitempty"`
	// +kubebuilder:validation:MaxLength=30
	SecretName string `json:"secretName,omitempty"`

	DeploymentList              string `json:"deploymentList,omitempty"`
	StatefulsetList             string `json:"statefulsetList,omitempty"`
	RefreshRate                 string `json:"refreshRate,omitempty"`
	ConvertHyphensToUnderscores string `json:"convertHyphensToUnderscores,omitempty"`
}

VaultSyncerSpec defines the desired state of VaultSyncer

func (*VaultSyncerSpec) DeepCopy

func (in *VaultSyncerSpec) DeepCopy() *VaultSyncerSpec

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

func (*VaultSyncerSpec) DeepCopyInto

func (in *VaultSyncerSpec) DeepCopyInto(out *VaultSyncerSpec)

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

type VaultSyncerStatus

type VaultSyncerStatus struct {
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	SecretName      string `json:"secretName,omitempty"`
	SecretNamespace string `json:"secretNamespace,omitempty"`
}

VaultSyncerStatus defines the observed state of VaultSyncer

func (*VaultSyncerStatus) DeepCopy

func (in *VaultSyncerStatus) DeepCopy() *VaultSyncerStatus

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

func (*VaultSyncerStatus) DeepCopyInto

func (in *VaultSyncerStatus) DeepCopyInto(out *VaultSyncerStatus)

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