v1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName    = "trident.netapp.io"
	GroupVersion = "v1"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

Types

type Toleration

type Toleration struct {
	Effect            string `json:"effect,omitempty"`
	Key               string `json:"key,omitempty"`
	Value             string `json:"value,omitempty"`
	Operator          string `json:"operator,omitempty"`
	TolerationSeconds int    `json:"tolerationSeconds,omitempty"`
}

Toleration

func (*Toleration) DeepCopy

func (in *Toleration) DeepCopy() *Toleration

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

func (*Toleration) DeepCopyInto

func (in *Toleration) DeepCopyInto(out *Toleration)

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

func (*Toleration) GetMap

func (t *Toleration) GetMap() map[string]string

type TridentOrchestrator

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

	Spec   TridentOrchestratorSpec   `json:"spec,omitempty"`
	Status TridentOrchestratorStatus `json:"status"`
}

TridentOrchestrator is the Schema for the tridentorchestrators API

func (*TridentOrchestrator) DeepCopy

func (in *TridentOrchestrator) DeepCopy() *TridentOrchestrator

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

func (*TridentOrchestrator) DeepCopyInto

func (in *TridentOrchestrator) DeepCopyInto(out *TridentOrchestrator)

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

func (*TridentOrchestrator) DeepCopyObject

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

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

type TridentOrchestratorList

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

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

TridentOrchestratorList contains a list of TridentOrchestrator

func (*TridentOrchestratorList) DeepCopy

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

func (*TridentOrchestratorList) DeepCopyInto

func (in *TridentOrchestratorList) DeepCopyInto(out *TridentOrchestratorList)

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

func (*TridentOrchestratorList) DeepCopyObject

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

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

type TridentOrchestratorSpec

type TridentOrchestratorSpec struct {
	EnableForceDetach            bool              `json:"enableForceDetach"`
	Debug                        bool              `json:"debug"`
	Namespace                    string            `json:"namespace"`
	IPv6                         bool              `json:"IPv6,omitempty"`
	K8sTimeout                   int               `json:"k8sTimeout,omitempty"`
	HTTPRequestTimeout           string            `json:"httpRequestTimeout,omitempty"`
	SilenceAutosupport           bool              `json:"silenceAutosupport,omitempty"`
	AutosupportImage             string            `json:"autosupportImage,omitempty"`
	AutosupportProxy             string            `json:"autosupportProxy,omitempty"`
	AutosupportSerialNumber      string            `json:"autosupportSerialNumber,omitempty"`
	AutosupportHostname          string            `json:"autosupportHostname,omitempty"`
	Uninstall                    bool              `json:"uninstall,omitempty"`
	LogFormat                    string            `json:"logFormat,omitempty"`
	ProbePort                    *int64            `json:"probePort,omitempty"`
	TridentImage                 string            `json:"tridentImage,omitempty"`
	ImageRegistry                string            `json:"imageRegistry,omitempty"`
	KubeletDir                   string            `json:"kubeletDir,omitempty"`
	Wipeout                      []string          `json:"wipeout,omitempty"`
	ImagePullSecrets             []string          `json:"imagePullSecrets,omitempty"`
	ControllerPluginNodeSelector map[string]string `json:"controllerPluginNodeSelector,omitempty"`
	ControllerPluginTolerations  []Toleration      `json:"controllerPluginTolerations,omitempty"`
	NodePluginNodeSelector       map[string]string `json:"nodePluginNodeSelector,omitempty"`
	NodePluginTolerations        []Toleration      `json:"nodePluginTolerations,omitempty"`
	Windows                      bool              `json:"windows,omitempty"`
}

TridentOrchestratorSpec defines the desired state of TridentOrchestrator

func (*TridentOrchestratorSpec) DeepCopy

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

func (*TridentOrchestratorSpec) DeepCopyInto

func (in *TridentOrchestratorSpec) DeepCopyInto(out *TridentOrchestratorSpec)

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

type TridentOrchestratorSpecValues

type TridentOrchestratorSpecValues struct {
	EnableForceDetach       string            `json:"enableForceDetach"`
	Debug                   string            `json:"debug"`
	IPv6                    string            `json:"IPv6"`
	SilenceAutosupport      string            `json:"silenceAutosupport"`
	AutosupportImage        string            `json:"autosupportImage"`
	AutosupportProxy        string            `json:"autosupportProxy"`
	AutosupportSerialNumber string            `json:"autosupportSerialNumber"`
	AutosupportHostname     string            `json:"autosupportHostname"`
	K8sTimeout              string            `json:"k8sTimeout"`
	HTTPRequestTimeout      string            `json:"httpRequestTimeout"`
	LogFormat               string            `json:"logFormat"`
	ProbePort               string            `json:"probePort"`
	TridentImage            string            `json:"tridentImage"`
	ImageRegistry           string            `json:"imageRegistry"`
	KubeletDir              string            `json:"kubeletDir"`
	ImagePullSecrets        []string          `json:"imagePullSecrets"`
	NodePluginNodeSelector  map[string]string `json:"nodePluginNodeSelector,omitempty"`
	NodePluginTolerations   []Toleration      `json:"nodePluginTolerations,omitempty"`
}

func (*TridentOrchestratorSpecValues) DeepCopy

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

func (*TridentOrchestratorSpecValues) DeepCopyInto

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

type TridentOrchestratorStatus

type TridentOrchestratorStatus struct {
	Message                   string                        `json:"message"`
	Status                    string                        `json:"status"`
	Version                   string                        `json:"version"`
	Namespace                 string                        `json:"namespace"`
	CurrentInstallationParams TridentOrchestratorSpecValues `json:"currentInstallationParams"`
}

TridentOrchestratorStatus defines the observed state of TridentOrchestrator

func (*TridentOrchestratorStatus) DeepCopy

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

func (*TridentOrchestratorStatus) 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