Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the iperf v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=iperf.managed.openshift.io
Package v1alpha1 contains API Schema definitions for the iperf v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=iperf.managed.openshift.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "iperf.managed.openshift.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Iperf ¶
type Iperf struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IperfSpec `json:"spec,omitempty"` Status IperfStatus `json:"status,omitempty"` }
Iperf is the Schema for the iperves API +kubebuilder:subresource:status +kubebuilder:resource:path=iperves,scope=Namespaced
func (*Iperf) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iperf.
func (*Iperf) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Iperf) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IperfList ¶
type IperfList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Iperf `json:"items"` }
IperfList contains a list of Iperf
func (*IperfList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IperfList.
func (*IperfList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IperfList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IperfSpec ¶
type IperfSpec struct { // TargetBandwidth target bandwidth in Mbits per second (divided equally between num of clients and parallel connections) TargetBandwidth int `json:"targetBandwidth,omitempty"` // ParallelConnections Total number of connections from client to server (divided equally between num of clients) ParallelConnections int `json:"parallelConnections"` // SessionDuration duration in minutes for the test to run SessionDuration int `json:"sessionDuration"` // ClientNum Number of clients, should not exceed number of nodes (default == number of nodes) ClientNum int `json:"clientNum,omitempty"` // ServerNum Number of servers, should not exceed number of nodes (default 1) ServerNum int `json:"serverNum,omitempty"` }
IperfSpec defines the desired state of Iperf
func (*IperfSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IperfSpec.
func (*IperfSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IperfStatus ¶
type IperfStatus struct { }
IperfStatus defines the observed state of Iperf
func (*IperfStatus) DeepCopy ¶
func (in *IperfStatus) DeepCopy() *IperfStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IperfStatus.
func (*IperfStatus) DeepCopyInto ¶
func (in *IperfStatus) DeepCopyInto(out *IperfStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.