Documentation ¶
Overview ¶
+groupName=catalog.kubevault.com
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type VaultServerVersion
- func (_ VaultServerVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *VaultServerVersion) DeepCopy() *VaultServerVersion
- func (in *VaultServerVersion) DeepCopyInto(out *VaultServerVersion)
- func (in *VaultServerVersion) DeepCopyObject() runtime.Object
- func (v VaultServerVersion) GetKey() string
- type VaultServerVersionExporter
- type VaultServerVersionList
- type VaultServerVersionSpec
- type VaultServerVersionUnsealer
- type VaultServerVersionVault
Constants ¶
const ( ResourceKindVaultServerVersion = "VaultServerVersion" ResourceVaultServerVersion = "vaultserverversion" ResourceVaultServerVersions = "vaultserverversions" )
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: catalog.GroupName, Version: "v1alpha1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type VaultServerVersion ¶
type VaultServerVersion struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VaultServerVersionSpec `json:"spec,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=vaultserverversions,singular=vaultserverversion,scope=Cluster,shortName=vsv,categories={vault,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="VAULT_IMAGE",type="string",JSONPath=".spec.vault.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (VaultServerVersion) CustomResourceDefinition ¶
func (_ VaultServerVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*VaultServerVersion) DeepCopy ¶
func (in *VaultServerVersion) DeepCopy() *VaultServerVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultServerVersion.
func (*VaultServerVersion) DeepCopyInto ¶
func (in *VaultServerVersion) DeepCopyInto(out *VaultServerVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VaultServerVersion) DeepCopyObject ¶
func (in *VaultServerVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (VaultServerVersion) GetKey ¶
func (v VaultServerVersion) GetKey() string
type VaultServerVersionExporter ¶
type VaultServerVersionExporter struct { // Image is the Docker image name Image string `json:"image"` // ImagePullPolicy one of Always, Never, IfNotPresent. It defaults to Always if :latest is used, or IfNotPresent overwise. // +optional ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` }
VaultServerVersionExporter is the image for the vault exporter
func (*VaultServerVersionExporter) DeepCopy ¶
func (in *VaultServerVersionExporter) DeepCopy() *VaultServerVersionExporter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultServerVersionExporter.
func (*VaultServerVersionExporter) DeepCopyInto ¶
func (in *VaultServerVersionExporter) DeepCopyInto(out *VaultServerVersionExporter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VaultServerVersionList ¶
type VaultServerVersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of VaultServerVersion CRD objects Items []VaultServerVersion `json:"items,omitempty"` }
VaultServerVersionList is a list of VaultserverVersions
func (*VaultServerVersionList) DeepCopy ¶
func (in *VaultServerVersionList) DeepCopy() *VaultServerVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultServerVersionList.
func (*VaultServerVersionList) DeepCopyInto ¶
func (in *VaultServerVersionList) DeepCopyInto(out *VaultServerVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VaultServerVersionList) DeepCopyObject ¶
func (in *VaultServerVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VaultServerVersionSpec ¶
type VaultServerVersionSpec struct { // Version Version string `json:"version"` // Vault Image Vault VaultServerVersionVault `json:"vault"` // Unsealer Image Unsealer VaultServerVersionUnsealer `json:"unsealer"` // Exporter Image Exporter VaultServerVersionExporter `json:"exporter"` // Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded. // +optional Deprecated bool `json:"deprecated,omitempty"` }
VaultServerVersionSpec is the spec for postgres version
func (*VaultServerVersionSpec) DeepCopy ¶
func (in *VaultServerVersionSpec) DeepCopy() *VaultServerVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultServerVersionSpec.
func (*VaultServerVersionSpec) DeepCopyInto ¶
func (in *VaultServerVersionSpec) DeepCopyInto(out *VaultServerVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VaultServerVersionUnsealer ¶
type VaultServerVersionUnsealer struct { // Image is the Docker image name Image string `json:"image"` // ImagePullPolicy one of Always, Never, IfNotPresent. It defaults to Always if :latest is used, or IfNotPresent overwise. // +optional ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` }
VaultServerVersionUnsealer is the image for the vault unsealer
func (*VaultServerVersionUnsealer) DeepCopy ¶
func (in *VaultServerVersionUnsealer) DeepCopy() *VaultServerVersionUnsealer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultServerVersionUnsealer.
func (*VaultServerVersionUnsealer) DeepCopyInto ¶
func (in *VaultServerVersionUnsealer) DeepCopyInto(out *VaultServerVersionUnsealer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VaultServerVersionVault ¶
type VaultServerVersionVault struct { // Image is the Docker image name Image string `json:"image"` // ImagePullPolicy one of Always, Never, IfNotPresent. It defaults to Always if :latest is used, or IfNotPresent overwise. // +optional ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` }
VaultServerVersionVault is the vault image
func (*VaultServerVersionVault) DeepCopy ¶
func (in *VaultServerVersionVault) DeepCopy() *VaultServerVersionVault
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultServerVersionVault.
func (*VaultServerVersionVault) DeepCopyInto ¶
func (in *VaultServerVersionVault) DeepCopyInto(out *VaultServerVersionVault)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.