Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the network v1beta1 API group +kubebuilder:object:generate=true +groupName=network.keysight.com
Index ¶
Constants ¶
const ( GroupName = "network.keysight.com" GroupVersion = "v1beta1" )
Variables ¶
var ( // GroupVersion is group version used to register these objects SchemaGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemaGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type IxiaTG ¶
type IxiaTG struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IxiaTGSpec `json:"spec,omitempty"` Status IxiaTGStatus `json:"status,omitempty"` }
IxiaTG is the Schema for the ixiatg API +kubebuilder:subresource:status
func (*IxiaTG) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IxiaTG.
func (*IxiaTG) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IxiaTG) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IxiaTGInitContainer ¶
type IxiaTGInitContainer struct { Image string `json:"image,omitempty"` Sleep uint32 `json:"sleep,omitempty"` }
IxiaTGInitContainer defines the init container parameters
func (*IxiaTGInitContainer) DeepCopy ¶ added in v0.3.31
func (in *IxiaTGInitContainer) DeepCopy() *IxiaTGInitContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IxiaTGInitContainer.
func (*IxiaTGInitContainer) DeepCopyInto ¶ added in v0.3.31
func (in *IxiaTGInitContainer) DeepCopyInto(out *IxiaTGInitContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IxiaTGIntf ¶
IxiaTGSvcPort defines the endpoint ports for network traffic for the OTG node
func (*IxiaTGIntf) DeepCopy ¶
func (in *IxiaTGIntf) DeepCopy() *IxiaTGIntf
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IxiaTGIntf.
func (*IxiaTGIntf) DeepCopyInto ¶
func (in *IxiaTGIntf) DeepCopyInto(out *IxiaTGIntf)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IxiaTGIntfStatus ¶
type IxiaTGIntfStatus struct { PodName string `json:"pod_name,omitempty"` Name string `json:"name,omitempty"` Intf string `json:"interface,omitempty"` }
IxiaTGIntfStatus defines the mapping between endpoint ports and encasing pods
func (*IxiaTGIntfStatus) DeepCopy ¶
func (in *IxiaTGIntfStatus) DeepCopy() *IxiaTGIntfStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IxiaTGIntfStatus.
func (*IxiaTGIntfStatus) DeepCopyInto ¶
func (in *IxiaTGIntfStatus) DeepCopyInto(out *IxiaTGIntfStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IxiaTGList ¶
type IxiaTGList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IxiaTG `json:"items"` }
IxiaTGList contains a list of IxiaTG
func (*IxiaTGList) DeepCopy ¶
func (in *IxiaTGList) DeepCopy() *IxiaTGList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IxiaTGList.
func (*IxiaTGList) DeepCopyInto ¶
func (in *IxiaTGList) DeepCopyInto(out *IxiaTGList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IxiaTGList) DeepCopyObject ¶
func (in *IxiaTGList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IxiaTGSpec ¶
type IxiaTGSpec struct { // Version of the node Release string `json:"release,omitempty"` // Desired state by network emulation (KNE) DesiredState string `json:"desired_state,omitempty"` // ApiEndPoint as define in OTG config ApiEndPoint map[string]IxiaTGSvcPort `json:"api_endpoint_map,omitempty"` // Interfaces with DUT Interfaces []IxiaTGIntf `json:"interfaces,omitempty"` // Init container image of the node InitContainer IxiaTGInitContainer `json:"init_container,omitempty"` }
IxiaTGSpec defines the desired state of IxiaTG
func (*IxiaTGSpec) DeepCopy ¶
func (in *IxiaTGSpec) DeepCopy() *IxiaTGSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IxiaTGSpec.
func (*IxiaTGSpec) DeepCopyInto ¶
func (in *IxiaTGSpec) DeepCopyInto(out *IxiaTGSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IxiaTGStatus ¶
type IxiaTGStatus struct { // Observed state State string `json:"state,omitempty"` // Reason in case of failure Reason string `json:"reason,omitempty"` // List of OTG port and pod mapping Interfaces []IxiaTGIntfStatus `json:"interfaces,omitempty"` // List of OTG service names ApiEndPoint IxiaTGSvcEP `json:"api_endpoint,omitempty"` }
IxiaTGStatus defines the observed state of IxiaTG
func (*IxiaTGStatus) DeepCopy ¶
func (in *IxiaTGStatus) DeepCopy() *IxiaTGStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IxiaTGStatus.
func (*IxiaTGStatus) DeepCopyInto ¶
func (in *IxiaTGStatus) DeepCopyInto(out *IxiaTGStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IxiaTGSvcEP ¶
type IxiaTGSvcEP struct { PodName string `json:"pod_name,omitempty"` ServiceName []string `json:"service_names,omitempty"` }
IxiaTGSvcEP defines the generated service names for OTG service endpoints
func (*IxiaTGSvcEP) DeepCopy ¶
func (in *IxiaTGSvcEP) DeepCopy() *IxiaTGSvcEP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IxiaTGSvcEP.
func (*IxiaTGSvcEP) DeepCopyInto ¶
func (in *IxiaTGSvcEP) DeepCopyInto(out *IxiaTGSvcEP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IxiaTGSvcPort ¶
IxiaTGSvcPort defines the endpoint services for configuration and stats for the OTG node
func (*IxiaTGSvcPort) DeepCopy ¶
func (in *IxiaTGSvcPort) DeepCopy() *IxiaTGSvcPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IxiaTGSvcPort.
func (*IxiaTGSvcPort) DeepCopyInto ¶
func (in *IxiaTGSvcPort) DeepCopyInto(out *IxiaTGSvcPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.