v1alpha1

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the dm v1alpha1 API group +kubebuilder:object:generate=true +groupName=dm.cray.hpe.com

Index

Constants

View Source
const (
	DataMovementNamespace = "nnf-dm-system"

	DataMovementWorkerLabel = "dm.cray.hpe.com/worker"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "dm.cray.hpe.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 DataMovementManager

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

	Spec   DataMovementManagerSpec   `json:"spec,omitempty"`
	Status DataMovementManagerStatus `json:"status,omitempty"`
}

DataMovementManager is the Schema for the datamovementmanagers API

func (*DataMovementManager) DeepCopy

func (in *DataMovementManager) DeepCopy() *DataMovementManager

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

func (*DataMovementManager) DeepCopyInto

func (in *DataMovementManager) DeepCopyInto(out *DataMovementManager)

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

func (*DataMovementManager) DeepCopyObject

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

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

type DataMovementManagerList

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

DataMovementManagerList contains a list of DataMovementManager

func (*DataMovementManagerList) DeepCopy

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

func (*DataMovementManagerList) DeepCopyInto

func (in *DataMovementManagerList) DeepCopyInto(out *DataMovementManagerList)

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

func (*DataMovementManagerList) DeepCopyObject

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

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

type DataMovementManagerSpec

type DataMovementManagerSpec struct {

	// Selector defines the pod selector used in scheduling the worker nodes. This value is duplicated
	// to the template.spec.metadata.labels to satisfy the requirements of the worker's Daemon Set.
	Selector metav1.LabelSelector `json:"selector"`

	// Template defines the pod template that is used for the basis of the worker Daemon Set that
	// manages the per node data movement operations.
	Template corev1.PodTemplateSpec `json:"template"`

	// Host Path defines the directory location of shared mounts on an individual worker node.
	HostPath string `json:"hostPath"`

	// Mount Path defines the location within the container at which the Host Path volume should be mounted.
	MountPath string `json:"mountPath"`
}

DataMovementManagerSpec defines the desired state of DataMovementManager

func (*DataMovementManagerSpec) DeepCopy

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

func (*DataMovementManagerSpec) DeepCopyInto

func (in *DataMovementManagerSpec) DeepCopyInto(out *DataMovementManagerSpec)

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

type DataMovementManagerStatus

type DataMovementManagerStatus struct {

	// Ready indicates that the Data Movement Manager has achieved the desired readiness state
	// and all managed resources are initialized.
	Ready bool `json:"ready,omitempty"`
}

DataMovementManagerStatus defines the observed state of DataMovementManager

func (*DataMovementManagerStatus) DeepCopy

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

func (*DataMovementManagerStatus) DeepCopyInto

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