Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the config v1alpha1 API group +kubebuilder:object:generate=true +groupName=config.kubestash.com +k8s:openapi-gen=true
Index ¶
Constants ¶
const (
ResourceKindBackendMeta = "BackendMeta"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "config.kubestash.com", 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 BackendMeta ¶
type BackendMeta struct { metav1.TypeMeta `json:",inline"` // CreationTimestamp is a timestamp representing the server time when this object was created. CreationTimestamp metav1.Time `json:"creationTimestamp,omitempty"` // OperatorVersion represents the version of the Operator when this object was created. OperatorVersion string `json:"operatorVersion,omitempty"` // Repositories holds the information of all Repositories using the BackupStorage. Repositories []v1alpha1.RepositoryInfo `json:"repositories,omitempty"` }
BackendMeta specifies the metadata for the BackupStorage
func (*BackendMeta) DeepCopy ¶
func (in *BackendMeta) DeepCopy() *BackendMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendMeta.
func (*BackendMeta) DeepCopyInto ¶
func (in *BackendMeta) DeepCopyInto(out *BackendMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Docker ¶
type Docker struct { // Registry specifies the name of a Docker registry Registry string `json:"registry,omitempty"` // Image specifies the name of a Docker image Image string `json:"image,omitempty"` // Tag specifies the Docker image tag Tag string `json:"tag,omitempty"` }
func (*Docker) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Docker.
func (*Docker) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Docker) ToContainerImage ¶
type GenericWebhookInfo ¶
type GenericWebhookInfo struct { // Enable specifies whether the webhook is enabled or not Enable bool `json:"enable,omitempty"` // Name specifies the name of the respective webhook Name string `json:"name,omitempty"` }
func (*GenericWebhookInfo) DeepCopy ¶
func (in *GenericWebhookInfo) DeepCopy() *GenericWebhookInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericWebhookInfo.
func (*GenericWebhookInfo) DeepCopyInto ¶
func (in *GenericWebhookInfo) DeepCopyInto(out *GenericWebhookInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeStashConfig ¶
type KubeStashConfig struct { metav1.TypeMeta `json:",inline"` // ControllerManagerConfigurationSpec returns the contfigurations for controllers cfg.ControllerManagerConfigurationSpec `json:",inline"` // Configuration options related to license License LicenseOptions `json:"license,omitempty"` // WebhookInfo specifies validating and mutating webhook information WebhookInfo WebhookInfo `json:"webhookInfo,omitempty"` // Docker specifies the operator's docker registry, image, and tag information Docker Docker `json:"docker,omitempty"` // ImagePullSecrets specifies the secrets to pull image from private registry ImagePullSecrets []string `json:"imagePullSecrets,omitempty"` // NetVolAccessor specifies the network volume accessor's resource requirements NetVolAccessor NetVolAccessor `json:"netVolAccessor,omitempty"` }
KubeStashConfig is the Schema for the kubestashconfigs API
func (*KubeStashConfig) DeepCopy ¶
func (in *KubeStashConfig) DeepCopy() *KubeStashConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeStashConfig.
func (*KubeStashConfig) DeepCopyInto ¶
func (in *KubeStashConfig) DeepCopyInto(out *KubeStashConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubeStashConfig) DeepCopyObject ¶
func (in *KubeStashConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LicenseOptions ¶
type LicenseOptions struct { // Path specifies the path of the license file Path string `json:"path,omitempty"` // ApiService specifies the name of the ApiService to use by the addons to identify the respective service and certificate for license verification request ApiService string `json:"apiService,omitempty"` }
func (*LicenseOptions) DeepCopy ¶
func (in *LicenseOptions) DeepCopy() *LicenseOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseOptions.
func (*LicenseOptions) DeepCopyInto ¶
func (in *LicenseOptions) DeepCopyInto(out *LicenseOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetVolAccessor ¶ added in v0.2.0
type NetVolAccessor struct { // CPU specifies amount of CPU resource to allocate for each network volume accessor deployment CPU string `json:"cpu,omitempty"` // Memory specifies amount of Memory resource to allocate for each network volume accessor deployment Memory string `json:"memory,omitempty"` // User specifies the UID of each network volume accessor deployment User int64 `json:"user,omitempty"` // PrivilegedMode specifies whether each network volume accessor deployment should run in privileged mode or not PrivilegedMode bool `json:"privilegedMode,omitempty"` }
func (*NetVolAccessor) DeepCopy ¶ added in v0.2.0
func (in *NetVolAccessor) DeepCopy() *NetVolAccessor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetVolAccessor.
func (*NetVolAccessor) DeepCopyInto ¶ added in v0.2.0
func (in *NetVolAccessor) DeepCopyInto(out *NetVolAccessor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookInfo ¶
type WebhookInfo struct { Validating GenericWebhookInfo `json:"validating,omitempty"` Mutating GenericWebhookInfo `json:"mutating,omitempty"` }
func (*WebhookInfo) DeepCopy ¶
func (in *WebhookInfo) DeepCopy() *WebhookInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookInfo.
func (*WebhookInfo) DeepCopyInto ¶
func (in *WebhookInfo) DeepCopyInto(out *WebhookInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.