v1alpha1

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+groupName=catalog.kubevault.com

Index

Constants

View Source
const (
	ResourceKindVaultServerVersion = "VaultServerVersion"
	ResourceVaultServerVersion     = "vaultserverversion"
	ResourceVaultServerVersions    = "vaultserverversions"
)

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: catalog.GroupName, Version: "v1alpha1"}

Functions

func Kind added in v0.8.0

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

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 otherwise.
	// +optional
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
}

VaultServerVersionExporter is the image for the vault exporter

func (*VaultServerVersionExporter) DeepCopy

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

func (*VaultServerVersionExporter) DeepCopyInto

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

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
	// +optional
	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"`
	// Stash defines backup and restore task definitions.
	// +optional
	Stash appcat.StashAddonSpec `json:"stash,omitempty"`
}

VaultServerVersionSpec is the spec for postgres version

func (*VaultServerVersionSpec) DeepCopy

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 otherwise.
	// +optional
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
}

VaultServerVersionUnsealer is the image for the vault unsealer

func (*VaultServerVersionUnsealer) DeepCopy

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

func (*VaultServerVersionUnsealer) DeepCopyInto

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 otherwise.
	// +optional
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
}

VaultServerVersionVault is the vault image

func (*VaultServerVersionVault) DeepCopy

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.

Jump to

Keyboard shortcuts

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