v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the nsm v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=nsm.networkservicemesh.io

Package v1alpha1 contains API Schema definitions for the nsm v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=nsm.networkservicemesh.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "nsm.networkservicemesh.io", Version: "v1alpha1"}

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

Functions

Types

type NSM

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

	Spec   NSMSpec   `json:"spec,omitempty"`
	Status NSMStatus `json:"status,omitempty"`
}

NSM is the Schema for the nsms API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=nsms,scope=Namespaced

func (*NSM) DeepCopy

func (in *NSM) DeepCopy() *NSM

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

func (*NSM) DeepCopyInto

func (in *NSM) DeepCopyInto(out *NSM)

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

func (*NSM) DeepCopyObject

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

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

type NSMList

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

NSMList contains a list of NSM

func (*NSMList) DeepCopy

func (in *NSMList) DeepCopy() *NSMList

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

func (*NSMList) DeepCopyInto

func (in *NSMList) DeepCopyInto(out *NSMList)

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

func (*NSMList) DeepCopyObject

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

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

type NSMPhase

type NSMPhase string

NSMPhase is the type for the operator phases

const (
	NSMPhaseInitial     NSMPhase = ""
	NSMPhasePending     NSMPhase = "Pending"
	NSMPhaseCreating    NSMPhase = "Creating"
	NSMPhaseRunning     NSMPhase = "Running"
	NSMPhaseTerminating NSMPhase = "Terminating"
)

Operator phases

type NSMSpec

type NSMSpec struct {

	// nsmgr configs true or false
	Insecure bool `json:"insecure"`

	// Forwarding plane configs
	ForwardingPlaneName  string `json:"forwardingPlaneName"`
	ForwardingPlaneImage string `json:"forwardingPlaneImage"`

	// Version field for reference on Openshift UI
	Version string `json:"version"`
}

NSMSpec defines the desired state of NSM +k8s:openapi-gen=true

func (*NSMSpec) DeepCopy

func (in *NSMSpec) DeepCopy() *NSMSpec

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

func (*NSMSpec) DeepCopyInto

func (in *NSMSpec) DeepCopyInto(out *NSMSpec)

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

type NSMStatus

type NSMStatus struct {
	// Operator phases during deployment
	Phase NSMPhase `json:"phase"`
}

NSMStatus defines the observed state of NSM +k8s:openapi-gen=true

func (*NSMStatus) DeepCopy

func (in *NSMStatus) DeepCopy() *NSMStatus

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

func (*NSMStatus) DeepCopyInto

func (in *NSMStatus) DeepCopyInto(out *NSMStatus)

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