Help us shape the future of Go! Take the 2026 Go Developer Survey

v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the operator v1 API group +k8s:deepcopy-gen=package,register +groupName=operator.nsx.vmware.com

Package v1 contains API Schema definitions for the operator v1 API group +k8s:deepcopy-gen=package,register +groupName=operator.nsx.vmware.com

Index

Constants

This section is empty.

Variables

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

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type NcpInstall

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

	Spec   NcpInstallSpec   `json:"spec,omitempty"`
	Status NcpInstallStatus `json:"status,omitempty"`
}

NcpInstall is the Schema for the ncpinstalls API +kubebuilder:subresource:status +kubebuilder:resource:path=ncpinstalls,scope=Namespaced

func (*NcpInstall) DeepCopy

func (in *NcpInstall) DeepCopy() *NcpInstall

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

func (*NcpInstall) DeepCopyInto

func (in *NcpInstall) DeepCopyInto(out *NcpInstall)

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

func (*NcpInstall) DeepCopyObject

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

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

type NcpInstallList

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

NcpInstallList contains a list of NcpInstall

func (*NcpInstallList) DeepCopy

func (in *NcpInstallList) DeepCopy() *NcpInstallList

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

func (*NcpInstallList) DeepCopyInto

func (in *NcpInstallList) DeepCopyInto(out *NcpInstallList)

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

func (*NcpInstallList) DeepCopyObject

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

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

type NcpInstallSpec

type NcpInstallSpec struct {

	// Replicas number for nsx-ncp deployment
	// Operator will ignore the value if NCP HA is disabled
	// +kubebuilder:validation:Minimum=1
	// +optional
	NcpReplicas int32 `json:"ncpReplicas,omitempty"`
}

NcpInstallSpec defines the desired state of NcpInstall

func (*NcpInstallSpec) DeepCopy

func (in *NcpInstallSpec) DeepCopy() *NcpInstallSpec

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

func (*NcpInstallSpec) DeepCopyInto

func (in *NcpInstallSpec) DeepCopyInto(out *NcpInstallSpec)

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

type NcpInstallStatus

type NcpInstallStatus struct {

	// Conditions describes the state of NCP installation.
	// +optional
	Conditions []InstallCondition `json:"conditions,omitempty"`
}

NcpInstallStatus defines the observed state of NcpInstall

func (*NcpInstallStatus) DeepCopy

func (in *NcpInstallStatus) DeepCopy() *NcpInstallStatus

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

func (*NcpInstallStatus) DeepCopyInto

func (in *NcpInstallStatus) DeepCopyInto(out *NcpInstallStatus)

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