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 ¶
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 ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NSM.
func (*NSM) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NSM) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NSMList.
func (*NSMList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NSMList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NSMSpec.
func (*NSMSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NSMStatus.
func (*NSMStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.