v1alpha1

package
v0.0.0-...-34a3a48 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 ...

Package v1alpha1 contains API Schema definitions for the objectdriver v1alpha1 API group +kubebuilder:object:generate=true +groupName=objectdriver.csi.ibm.com

Package v1alpha1 ...

Package v1alpha1 ...

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "objectdriver.csi.ibm.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 CSISidecar

type CSISidecar struct {
	// The name of the csi sidecar image
	Name string `json:"name"`

	// The repository of the csi sidecar image
	Repository string `json:"repository"`

	// The tag of the csi sidecar image
	Tag string `json:"tag"`

	// The pullPolicy of the csi sidecar image
	// +kubebuilder:validation:Optional
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy"`

	Resources ResourcesSpec `json:"resources,omitempty"`
}

CSISidecar ...

func (*CSISidecar) DeepCopy

func (in *CSISidecar) DeepCopy() *CSISidecar

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

func (*CSISidecar) DeepCopyInto

func (in *CSISidecar) DeepCopyInto(out *CSISidecar)

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

type DriverPhase

type DriverPhase string

DriverPhase ...

const (
	// DriverPhaseNone ...
	DriverPhaseNone DriverPhase = ""
	// DriverPhaseCreating ...
	DriverPhaseCreating DriverPhase = "Creating"
	// DriverPhaseRunning ...
	DriverPhaseRunning DriverPhase = "Running"
	// DriverPhaseFailed ...
	DriverPhaseFailed DriverPhase = "Failed"
)

type IBMObjectCSI

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

	Spec   IBMObjectCSISpec   `json:"spec,omitempty"`
	Status IBMObjectCSIStatus `json:"status,omitempty"`
}

IBMObjectCSI is the Schema for the ibmobjectcsis API

func (*IBMObjectCSI) DeepCopy

func (in *IBMObjectCSI) DeepCopy() *IBMObjectCSI

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

func (*IBMObjectCSI) DeepCopyInto

func (in *IBMObjectCSI) DeepCopyInto(out *IBMObjectCSI)

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

func (*IBMObjectCSI) DeepCopyObject

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

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

type IBMObjectCSIControllerSpec

type IBMObjectCSIControllerSpec struct {
	Repository string `json:"repository"`
	Tag        string `json:"tag"`

	// +kubebuilder:validation:Optional
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy"`

	// +kubebuilder:validation:Optional
	Affinity *corev1.Affinity `json:"affinity,omitempty"`

	// +kubebuilder:validation:Optional
	Tolerations []corev1.Toleration `json:"tolerations,omitempty"`

	Resources ResourcesSpec `json:"resources,omitempty"`
}

IBMObjectCSIControllerSpec defines the desired state of IBMObjectCSIController

func (*IBMObjectCSIControllerSpec) DeepCopy

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

func (*IBMObjectCSIControllerSpec) DeepCopyInto

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

type IBMObjectCSIList

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

IBMObjectCSIList contains a list of IBMObjectCSI

func (*IBMObjectCSIList) DeepCopy

func (in *IBMObjectCSIList) DeepCopy() *IBMObjectCSIList

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

func (*IBMObjectCSIList) DeepCopyInto

func (in *IBMObjectCSIList) DeepCopyInto(out *IBMObjectCSIList)

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

func (*IBMObjectCSIList) DeepCopyObject

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

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

type IBMObjectCSINodeSpec

type IBMObjectCSINodeSpec struct {
	Repository string `json:"repository"`
	Tag        string `json:"tag"`

	// +kubebuilder:validation:Optional
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy"`

	// +kubebuilder:validation:Optional
	Affinity *corev1.Affinity `json:"affinity,omitempty"`

	// +kubebuilder:validation:Optional
	Tolerations []corev1.Toleration `json:"tolerations,omitempty"`

	Resources ResourcesSpec `json:"resources,omitempty"`
}

IBMObjectCSINodeSpec defines the desired state of IBMObjectCSINode

func (*IBMObjectCSINodeSpec) DeepCopy

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

func (*IBMObjectCSINodeSpec) DeepCopyInto

func (in *IBMObjectCSINodeSpec) DeepCopyInto(out *IBMObjectCSINodeSpec)

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

type IBMObjectCSISpec

type IBMObjectCSISpec struct {
	Controller IBMObjectCSIControllerSpec `json:"controller"`
	Node       IBMObjectCSINodeSpec       `json:"node"`

	// +kubebuilder:validation:Optional
	Sidecars []CSISidecar `json:"sidecars,omitempty"`

	// +kubebuilder:validation:Optional
	ImagePullSecrets []string `json:"imagePullSecrets,omitempty"`

	HealthPort uint16 `json:"healthPort,omitempty"`

	S3Provider       string `json:"s3Provider,omitempty"`
	S3ProviderRegion string `json:"s3ProviderRegion,omitempty"`
}

IBMObjectCSISpec defines the desired state of IBMObjectCSI

func (*IBMObjectCSISpec) DeepCopy

func (in *IBMObjectCSISpec) DeepCopy() *IBMObjectCSISpec

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

func (*IBMObjectCSISpec) DeepCopyInto

func (in *IBMObjectCSISpec) DeepCopyInto(out *IBMObjectCSISpec)

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

type IBMObjectCSIStatus

type IBMObjectCSIStatus struct {
	// Phase is the driver running phase
	Phase           DriverPhase `json:"phase"`
	ControllerReady bool        `json:"controllerReady"`
	NodeReady       bool        `json:"nodeReady"`

	// Version is the current driver version
	Version string `json:"version"`
}

IBMObjectCSIStatus defines the observed state of IBMObjectCSI

func (*IBMObjectCSIStatus) DeepCopy

func (in *IBMObjectCSIStatus) DeepCopy() *IBMObjectCSIStatus

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

func (*IBMObjectCSIStatus) DeepCopyInto

func (in *IBMObjectCSIStatus) DeepCopyInto(out *IBMObjectCSIStatus)

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

type NamespacedDeploymentData

type NamespacedDeploymentData struct {
	Namespace   string   `json:"namespace"`
	Deployments []string `json:"deployments,omitempty"`
}

NamespacedDeploymentData ...

func (*NamespacedDeploymentData) DeepCopy

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

func (*NamespacedDeploymentData) DeepCopyInto

func (in *NamespacedDeploymentData) DeepCopyInto(out *NamespacedDeploymentData)

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

type RecoverStaleVolume

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

	Spec   RecoverStaleVolumeSpec   `json:"spec,omitempty"`
	Status RecoverStaleVolumeStatus `json:"status,omitempty"`
}

RecoverStaleVolume is the Schema for the recoverstalevolumes API

func (*RecoverStaleVolume) DeepCopy

func (in *RecoverStaleVolume) DeepCopy() *RecoverStaleVolume

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

func (*RecoverStaleVolume) DeepCopyInto

func (in *RecoverStaleVolume) DeepCopyInto(out *RecoverStaleVolume)

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

func (*RecoverStaleVolume) DeepCopyObject

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

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

type RecoverStaleVolumeList

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

RecoverStaleVolumeList contains a list of RecoverStaleVolume

func (*RecoverStaleVolumeList) DeepCopy

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

func (*RecoverStaleVolumeList) DeepCopyInto

func (in *RecoverStaleVolumeList) DeepCopyInto(out *RecoverStaleVolumeList)

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

func (*RecoverStaleVolumeList) DeepCopyObject

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

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

type RecoverStaleVolumeSpec

type RecoverStaleVolumeSpec struct {
	LogHistory int64                      `json:"logHistory,omitempty"`
	Data       []NamespacedDeploymentData `json:"data"`
}

RecoverStaleVolumeSpec defines the desired state of RecoverStaleVolume

func (*RecoverStaleVolumeSpec) DeepCopy

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

func (*RecoverStaleVolumeSpec) DeepCopyInto

func (in *RecoverStaleVolumeSpec) DeepCopyInto(out *RecoverStaleVolumeSpec)

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

type RecoverStaleVolumeStatus

type RecoverStaleVolumeStatus struct {
}

RecoverStaleVolumeStatus defines the observed state of RecoverStaleVolume

func (*RecoverStaleVolumeStatus) DeepCopy

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

func (*RecoverStaleVolumeStatus) DeepCopyInto

func (in *RecoverStaleVolumeStatus) DeepCopyInto(out *RecoverStaleVolumeStatus)

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

type ReqLimits

type ReqLimits struct {
	CPU    string `json:"cpu"`
	Memory string `json:"memory"`
}

ReqLimits ...

func (*ReqLimits) DeepCopy

func (in *ReqLimits) DeepCopy() *ReqLimits

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

func (*ReqLimits) DeepCopyInto

func (in *ReqLimits) DeepCopyInto(out *ReqLimits)

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

type ResourcesSpec

type ResourcesSpec struct {
	Limits   ReqLimits `json:"limits"`
	Requests ReqLimits `json:"requests"`
}

ResourcesSpec ...

func (*ResourcesSpec) DeepCopy

func (in *ResourcesSpec) DeepCopy() *ResourcesSpec

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

func (*ResourcesSpec) DeepCopyInto

func (in *ResourcesSpec) DeepCopyInto(out *ResourcesSpec)

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