v1alpha1

package
v0.0.0-...-c2111e3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
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

func (in *Iperf) DeepCopy() *Iperf

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

func (*Iperf) DeepCopyInto

func (in *Iperf) DeepCopyInto(out *Iperf)

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

func (*Iperf) DeepCopyObject

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

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

func (in *IperfList) DeepCopy() *IperfList

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

func (*IperfList) DeepCopyInto

func (in *IperfList) DeepCopyInto(out *IperfList)

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

func (*IperfList) DeepCopyObject

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

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

func (in *IperfSpec) DeepCopy() *IperfSpec

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

func (*IperfSpec) DeepCopyInto

func (in *IperfSpec) DeepCopyInto(out *IperfSpec)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL