v1alpha1

package
v0.0.0-...-ab013e0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the ember-csi v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=ember-csi.io

Package v1alpha1 contains API Schema definitions for the ember-csi v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=ember-csi.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "ember-csi.io", Version: "v1alpha1"}

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

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

Types

type EmberStorageBackend

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

	Spec   EmberStorageBackendSpec   `json:"spec,omitempty"`
	Status EmberStorageBackendStatus `json:"status"`
}

EmberStorageBackend is the Schema for the embercsis API +k8s:openapi-gen=true

func (*EmberStorageBackend) DeepCopy

func (in *EmberStorageBackend) DeepCopy() *EmberStorageBackend

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

func (*EmberStorageBackend) DeepCopyInto

func (in *EmberStorageBackend) DeepCopyInto(out *EmberStorageBackend)

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

func (*EmberStorageBackend) DeepCopyObject

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

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

type EmberStorageBackendConfig

type EmberStorageBackendConfig struct {
	EnvVars     EnvVars `json:"envVars"`
	SysFiles    Secrets `json:"sysFiles"`
	DriverImage string  `json:"driverImage",omitempty`
}

func (*EmberStorageBackendConfig) DeepCopy

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

func (*EmberStorageBackendConfig) DeepCopyInto

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

type EmberStorageBackendList

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

EmberStorageBackendList contains a list of EmberStorageBackend

func (*EmberStorageBackendList) DeepCopy

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

func (*EmberStorageBackendList) DeepCopyInto

func (in *EmberStorageBackendList) DeepCopyInto(out *EmberStorageBackendList)

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

func (*EmberStorageBackendList) DeepCopyObject

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

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

type EmberStorageBackendSpec

type EmberStorageBackendSpec struct {
	Config       EmberStorageBackendConfig `json:"config"`
	Image        string                    `json:"image",omitempty`
	NodeSelector map[string]string         `json:"nodeSelector",omitempty`
	Tolerations  []v1.Toleration           `json:"tolerations",omitempty`
	Topologies   []Topologies              `json:"topologies",omitempty`
}

EmberStorageBackendSpec defines the desired state of EmberStorageBackend

func (*EmberStorageBackendSpec) DeepCopy

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

func (*EmberStorageBackendSpec) DeepCopyInto

func (in *EmberStorageBackendSpec) DeepCopyInto(out *EmberStorageBackendSpec)

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

type EmberStorageBackendStatus

type EmberStorageBackendStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	Version string `json:"version"`
}

EmberStorageBackendStatus defines the observed state of EmberStorageBackend

func (*EmberStorageBackendStatus) DeepCopy

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

func (*EmberStorageBackendStatus) DeepCopyInto

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

type EnvVars

type EnvVars struct {
	X_CSI_BACKEND_CONFIG     interface{} `yaml:"X_CSI_BACKEND_CONFIG",omitempty`
	X_CSI_EMBER_CONFIG       interface{} `yaml:"X_CSI_EMBER_CONFIG",omitempty`
	X_CSI_PERSISTENCE_CONFIG interface{} `yaml:"X_CSI_PERSISTENCE_CONFIG",omitempty`
	X_CSI_DEBUG_MODE         string      `json:"X_CSI_DEBUG_MODE",omitempty`
	X_CSI_ABORT_DUPLICATES   string      `json:"X_CSI_ABORT_DUPLICATES",omitempty`
	X_CSI_DEFAULT_MOUNT_FS   string      `json:"X_CSI_DEFAULT_MOUNT_FS",omitempty`
	X_CSI_NODE_ID            string      `json:"X_CSI_NODE_ID",omitempty`
	X_CSI_STORAGE_NW_IP      string      `json:"X_CSI_STORAGE_NW_IP",omitempty`
	CSI_ENDPOINT             string      `json:"CSI_ENDPOINT",omitempty`
	CSI_MODE                 string      `json:"CSI_MODE",omitempty`
}

+k8s:deepcopy-gen=false

func (*EnvVars) DeepCopyInto

func (in *EnvVars) DeepCopyInto(out *EnvVars)

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

type Secrets

type Secrets struct {
	Name string `json:"name",omitempty`
	Key  string `json:"key",omitempty`
}

func (*Secrets) DeepCopy

func (in *Secrets) DeepCopy() *Secrets

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

func (*Secrets) DeepCopyInto

func (in *Secrets) DeepCopyInto(out *Secrets)

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

type Topologies

type Topologies struct {
	// Key-value pairs corresponding to the NodeName
	Topology map[string]string `json:"topology,omitempty"`
	// Node Hostname with its allowed topology
	Nodes []v1.NodeSelectorRequirement `json:"nodes,omitempty"`
}

func (*Topologies) DeepCopy

func (in *Topologies) DeepCopy() *Topologies

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

func (*Topologies) DeepCopyInto

func (in *Topologies) DeepCopyInto(out *Topologies)

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