v1

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "replication.storage.dell.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 DellCSIMigrationGroup

type DellCSIMigrationGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DellCSIMigrationGroupSpec   `json:"spec,omitempty"`
	Status            DellCSIMigrationGroupStatus `json:"status,omitempty"`
}

DellCSIMigrationGroup defines the Schema for the dellcsimigrationgroups API

func (*DellCSIMigrationGroup) DeepCopy

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

func (*DellCSIMigrationGroup) DeepCopyInto

func (in *DellCSIMigrationGroup) DeepCopyInto(out *DellCSIMigrationGroup)

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

func (*DellCSIMigrationGroup) DeepCopyObject

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

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

type DellCSIMigrationGroupList

type DellCSIMigrationGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []DellCSIMigrationGroup `json:"items"`
}

DellCSIMigrationGroupList contains a list of DellCSIMigrationGroup

func (*DellCSIMigrationGroupList) DeepCopy

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

func (*DellCSIMigrationGroupList) DeepCopyInto

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

func (*DellCSIMigrationGroupList) DeepCopyObject

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

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

type DellCSIMigrationGroupSpec

type DellCSIMigrationGroupSpec struct {
	DriverName               string            `json:"driverName"`
	SourceID                 string            `json:"sourceID"`
	TargetID                 string            `json:"targetID"`
	MigrationGroupAttributes map[string]string `json:"migrationGroupAttributes"`
}

DellCSIMigrationGroupSpec defines the desired state of DellCSIMigrationGroup

func (*DellCSIMigrationGroupSpec) DeepCopy

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

func (*DellCSIMigrationGroupSpec) DeepCopyInto

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

type DellCSIMigrationGroupStatus

type DellCSIMigrationGroupStatus struct {
	State      string `json:"state,omitempty"`
	LastAction string `json:"lastAction,omitempty"`
}

DellCSIMigrationGroupStatus defines the observed state of DellCSIMigrationGroup

func (*DellCSIMigrationGroupStatus) DeepCopy

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

func (*DellCSIMigrationGroupStatus) DeepCopyInto

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

type DellCSIReplicationGroup

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

	Spec   DellCSIReplicationGroupSpec   `json:"spec,omitempty"`
	Status DellCSIReplicationGroupStatus `json:"status,omitempty"`
}

DellCSIReplicationGroup is the Schema for the dellcsireplicationgroups API

func (*DellCSIReplicationGroup) DeepCopy

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

func (*DellCSIReplicationGroup) DeepCopyInto

func (in *DellCSIReplicationGroup) DeepCopyInto(out *DellCSIReplicationGroup)

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

func (*DellCSIReplicationGroup) DeepCopyObject

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

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

type DellCSIReplicationGroupList

type DellCSIReplicationGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []DellCSIReplicationGroup `json:"items"`
}

DellCSIReplicationGroupList contains a list of DellCSIReplicationGroup

func (*DellCSIReplicationGroupList) DeepCopy

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

func (*DellCSIReplicationGroupList) DeepCopyInto

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

func (*DellCSIReplicationGroupList) DeepCopyObject

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

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

type DellCSIReplicationGroupSpec

type DellCSIReplicationGroupSpec struct {
	DriverName                      string            `json:"driverName"`
	RequestParametersClass          string            `json:"requestParametersClass,omitempty"`
	Action                          string            `json:"action"`
	RemoteClusterID                 string            `json:"remoteClusterId"`
	ProtectionGroupID               string            `json:"protectionGroupId"`
	ProtectionGroupAttributes       map[string]string `json:"protectionGroupAttributes,omitempty"`
	RemoteProtectionGroupID         string            `json:"remoteProtectionGroupId"`
	RemoteProtectionGroupAttributes map[string]string `json:"remoteProtectionGroupAttributes,omitempty"`
}

DellCSIReplicationGroupSpec defines the desired state of DellCSIReplicationGroup

func (*DellCSIReplicationGroupSpec) DeepCopy

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

func (*DellCSIReplicationGroupSpec) DeepCopyInto

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

type DellCSIReplicationGroupStatus

type DellCSIReplicationGroupStatus struct {
	State                string               `json:"state,omitempty"`
	RemoteState          string               `json:"remoteState,omitempty"`
	ReplicationLinkState ReplicationLinkState `json:"replicationLinkState,omitempty"`
	LastAction           LastAction           `json:"lastAction,omitempty"`
	Conditions           []LastAction         `json:"conditions,omitempty"`
}

DellCSIReplicationGroupStatus defines the observed state of DellCSIReplicationGroup

func (*DellCSIReplicationGroupStatus) DeepCopy

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

func (*DellCSIReplicationGroupStatus) DeepCopyInto

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

type LastAction

type LastAction struct {
	// Condition is the last known condition of the Custom Resource
	Condition string `json:"condition,omitempty"`

	// FirstFailure is the first time this action failed
	FirstFailure *metav1.Time `json:"firstFailure,omitempty"`

	// Time is the time stamp for the last action update
	Time *metav1.Time `json:"time,omitempty"`

	// ErrorMessage is the last error message associated with the condition
	ErrorMessage string `json:"errorMessage,omitempty"`

	// ActionAttributes content unique on response to an action
	ActionAttributes map[string]string `json:"actionAttributes,omitempty"`
}

LastAction - Stores the last updated action

func (*LastAction) DeepCopy

func (in *LastAction) DeepCopy() *LastAction

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

func (*LastAction) DeepCopyInto

func (in *LastAction) DeepCopyInto(out *LastAction)

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

type ReplicationLinkState

type ReplicationLinkState struct {
	// State is the last reported state of the Replication Link
	State string `json:"state,omitempty"`
	// IsSource indicates if this site is primary
	IsSource bool `json:"isSource"`

	// LastSuccessfulUpdate is the time stamp for the last state update
	LastSuccessfulUpdate *metav1.Time `json:"lastSuccessfulUpdate,omitempty"`

	// ErrorMessage is the last error message associated with the link state
	ErrorMessage string `json:"errorMessage,omitempty"`
}

ReplicationLinkState - Stores the Replication Link State

func (*ReplicationLinkState) DeepCopy

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

func (*ReplicationLinkState) DeepCopyInto

func (in *ReplicationLinkState) DeepCopyInto(out *ReplicationLinkState)

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