v1alpha1

package
v0.0.0-...-b4be7cb Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=app.example.com

Index

Constants

View Source
const (
	NetperfPhaseInitial = ""
	NetperfPhaseServer  = "Created server pod"
	NetperfPhaseTest    = "Started test"
	NetperfPhaseDone    = "Done"
	NetperfPhaseError   = "Test finished with error"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: groupName, Version: version}
)

Functions

This section is empty.

Types

type Netperf

type Netperf struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              NetperfSpec   `json:"spec"`
	Status            NetperfStatus `json:"status,omitempty"`
}

func (*Netperf) DeepCopy

func (in *Netperf) DeepCopy() *Netperf

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

func (*Netperf) DeepCopyInto

func (in *Netperf) DeepCopyInto(out *Netperf)

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

func (*Netperf) DeepCopyObject

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

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

type NetperfList

type NetperfList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Netperf `json:"items"`
}

func (*NetperfList) DeepCopy

func (in *NetperfList) DeepCopy() *NetperfList

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

func (*NetperfList) DeepCopyInto

func (in *NetperfList) DeepCopyInto(out *NetperfList)

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

func (*NetperfList) DeepCopyObject

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

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

type NetperfSpec

type NetperfSpec struct {
	ServerNode string `json:"serverNode"`
	ClientNode string `json:"clientNode"`
}

func (*NetperfSpec) DeepCopy

func (in *NetperfSpec) DeepCopy() *NetperfSpec

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

func (*NetperfSpec) DeepCopyInto

func (in *NetperfSpec) DeepCopyInto(out *NetperfSpec)

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

type NetperfStatus

type NetperfStatus struct {
	Status          string  `json:"status"`
	ServerPod       string  `json:"serverPod"`
	ClientPod       string  `json:"clientPod"`
	SpeedBitsPerSec float64 `json:"speedBitsPerSec"`
}

func (*NetperfStatus) DeepCopy

func (in *NetperfStatus) DeepCopy() *NetperfStatus

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

func (*NetperfStatus) DeepCopyInto

func (in *NetperfStatus) DeepCopyInto(out *NetperfStatus)

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

Source Files

  • doc.go
  • register.go
  • types.go
  • zz_generated.deepcopy.go

Jump to

Keyboard shortcuts

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