Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=app.example.com
Index ¶
Constants ¶
const ( NetperfPhaseInitial = "" NetperfPhaseServer = "Created server pod" NetperfPhaseTest = "Started test" NetperfPhaseDone = "Done" NetperfPhaseError = "Test finished with error" )
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Netperf.
func (*Netperf) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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