v1alpha1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the storage v1alpha1 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: "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 DellCSIReplicationGroup

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

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

+kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster,shortName=rg +kubebuilder:subresource:status +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state`,description="State of the CR" +kubebuilder:printcolumn:name="PG ID",type=string,JSONPath=`.spec.protectionGroupId`,description="Protection Group ID" +kubebuilder:printcolumn:name="Link State",type=string,JSONPath=`.status.replicationLinkState.state`,description="Replication Link State" +kubebuilder:printcolumn:name="Last LinkState Update",type=string,JSONPath=`.status.replicationLinkState.lastSuccessfulUpdate`,description="Replication Link State" 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"`
}

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