v1

package
v0.0.0-...-2a9abb2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the storage.hpe.com v1 API group +kubebuilder:object:generate=true +groupName=storage.hpe.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "storage.hpe.com", Version: "v1"}

	// 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 ConditionStatus

type ConditionStatus string

type DisableInfo

type DisableInfo struct {
	Nimble      string `json:"nimble"`
	Primera     string `json:"primera"`
	Alletra6000 string `json:"alletra6000"`
	Alletra9000 string `json:"alletra9000"`
}

DisableInfo defines different CSP services which can be disabled

func (*DisableInfo) DeepCopy

func (in *DisableInfo) DeepCopy() *DisableInfo

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

func (*DisableInfo) DeepCopyInto

func (in *DisableInfo) DeepCopyInto(out *DisableInfo)

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

type HPECSIDriver

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

	Spec   HPECSIDriverSpec   `json:"spec,omitempty"`
	Status HPECSIDriverStatus `json:"status,omitempty"`
}

HPECSIDriver is the Schema for the hpecsidrivers API

func (*HPECSIDriver) DeepCopy

func (in *HPECSIDriver) DeepCopy() *HPECSIDriver

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

func (*HPECSIDriver) DeepCopyInto

func (in *HPECSIDriver) DeepCopyInto(out *HPECSIDriver)

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

func (*HPECSIDriver) DeepCopyObject

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

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

type HPECSIDriverList

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

HPECSIDriverList contains a list of HPECSIDriver

func (*HPECSIDriverList) DeepCopy

func (in *HPECSIDriverList) DeepCopy() *HPECSIDriverList

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

func (*HPECSIDriverList) DeepCopyInto

func (in *HPECSIDriverList) DeepCopyInto(out *HPECSIDriverList)

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

func (*HPECSIDriverList) DeepCopyObject

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

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

type HPECSIDriverSpec

type HPECSIDriverSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	// Control CSP Service and Deployments for HPE storage products
	Disable DisableInfo `json:"disable"`
	// Image Pull Policy for HPE CSI driver images
	ImagePullPolicy string `json:"imagePullPolicy"`
	// Default logLevel for HPE CSI driver deployments
	LogLevel string `json:"logLevel"`
	// DisableNodeConformance disables automatic installation of iscsi/multipath packages
	DisableNodeConformance bool `json:"disableNodeConformance"`
	// DisableNodeConfiguration disables default configurations performed by CSI plugin on node(s)
	DisableNodeConfiguration bool `json:"disableNodeConfiguration"`
	// Iscsi parameters to be configured
	Iscsi IscsiInfo `json:"iscsi"`
	// Registry prefix for CSI driver images
	Registry string `json:"registry"`
	// Kubelet root directory path
	KubeletRootDir string `json:"kubeletRootDir"`
	// DisableNodeGetVolumeStats will be called by default, set true to disable the call
	DisableNodeGetVolumeStats string `json:"disableNodeGetVolumeStats"`
	// CSP client timeout for HPE Alletra 9000, Primera and 3PAR (60-360 seconds)
	CspClientTimeout string `json:"cspClientTimeout"`
}

HPECSIDriverSpec defines the desired state of HPECSIDriver

func (*HPECSIDriverSpec) DeepCopy

func (in *HPECSIDriverSpec) DeepCopy() *HPECSIDriverSpec

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

func (*HPECSIDriverSpec) DeepCopyInto

func (in *HPECSIDriverSpec) DeepCopyInto(out *HPECSIDriverSpec)

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

type HPECSIDriverStatus

type HPECSIDriverStatus struct {
	// HPE CSI Driver helm release status
	Conditions []HelmAppCondition `json:"conditions"`
	// HPE CSI Driver helm release
	DeployedRelease *HelmAppRelease `json:"deployedRelease,omitempty"`
}

HPECSIDriverStatus defines the observed state of HPECSIDriver

func (*HPECSIDriverStatus) DeepCopy

func (in *HPECSIDriverStatus) DeepCopy() *HPECSIDriverStatus

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

func (*HPECSIDriverStatus) DeepCopyInto

func (in *HPECSIDriverStatus) DeepCopyInto(out *HPECSIDriverStatus)

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

type HelmAppCondition

type HelmAppCondition struct {
	Type    HelmAppConditionType   `json:"type"`
	Status  ConditionStatus        `json:"status"`
	Reason  HelmAppConditionReason `json:"reason,omitempty"`
	Message string                 `json:"message,omitempty"`

	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}

func (*HelmAppCondition) DeepCopy

func (in *HelmAppCondition) DeepCopy() *HelmAppCondition

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

func (*HelmAppCondition) DeepCopyInto

func (in *HelmAppCondition) DeepCopyInto(out *HelmAppCondition)

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

type HelmAppConditionReason

type HelmAppConditionReason string

type HelmAppConditionType

type HelmAppConditionType string

type HelmAppRelease

type HelmAppRelease struct {
	Name     string `json:"name,omitempty"`
	Manifest string `json:"manifest,omitempty"`
}

func (*HelmAppRelease) DeepCopy

func (in *HelmAppRelease) DeepCopy() *HelmAppRelease

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

func (*HelmAppRelease) DeepCopyInto

func (in *HelmAppRelease) DeepCopyInto(out *HelmAppRelease)

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

type IscsiInfo

type IscsiInfo struct {
	ChapUser     string `json:"chapUser"`
	ChapPassword string `json:"chapPassword"`
}

IscsiInfo defines different Iscsi parameters which can be configured

func (*IscsiInfo) DeepCopy

func (in *IscsiInfo) DeepCopy() *IscsiInfo

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

func (*IscsiInfo) DeepCopyInto

func (in *IscsiInfo) DeepCopyInto(out *IscsiInfo)

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