Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the fortio v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=fortio.verf.io
Package v1alpha1 contains API Schema definitions for the fortio v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=fortio.verf.io
Index ¶
- Variables
- type CronTest
- type CronTestList
- type CronTestSpec
- type CronTestStatus
- type CurlTest
- type CurlTestCondition
- type CurlTestList
- type CurlTestSpec
- type CurlTestStatus
- type LoadTest
- type LoadTestCondition
- type LoadTestList
- type LoadTestSpec
- type LoadTestStatus
- type Server
- type ServerList
- type ServerSpec
- type ServerStatus
- type TestRun
- type TestRunList
- type TestRunSpec
- type TestRunStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "fortio.verf.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 CronTest ¶
type CronTest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CronTestSpec `json:"spec,omitempty"` Status CronTestStatus `json:"status,omitempty"` }
CronTest is the Schema for the crontests API +k8s:openapi-gen=true
func (*CronTest) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronTest.
func (*CronTest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CronTest) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CronTestList ¶
type CronTestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CronTest `json:"items"` }
CronTestList contains a list of CronTest
func (*CronTestList) DeepCopy ¶
func (in *CronTestList) DeepCopy() *CronTestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronTestList.
func (*CronTestList) DeepCopyInto ¶
func (in *CronTestList) DeepCopyInto(out *CronTestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CronTestList) DeepCopyObject ¶
func (in *CronTestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CronTestSpec ¶
type CronTestSpec struct { Schedule string `json:"schedule"` CronLoadTest LoadTestSpec `json:"load"` CronCurlTest CurlTestSpec `json:"curl"` CronTestRun TestRunSpec `json:"testRun"` }
CronTestSpec defines the desired state of CronTest
func (*CronTestSpec) DeepCopy ¶
func (in *CronTestSpec) DeepCopy() *CronTestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronTestSpec.
func (*CronTestSpec) DeepCopyInto ¶
func (in *CronTestSpec) DeepCopyInto(out *CronTestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CronTestStatus ¶
CronTestStatus defines the observed state of CronTest
func (*CronTestStatus) DeepCopy ¶
func (in *CronTestStatus) DeepCopy() *CronTestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronTestStatus.
func (*CronTestStatus) DeepCopyInto ¶
func (in *CronTestStatus) DeepCopyInto(out *CronTestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CurlTest ¶
type CurlTest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CurlTestSpec `json:"spec,omitempty"` Status CurlTestStatus `json:"status,omitempty"` }
CurlTest is the Schema for the curltests API +k8s:openapi-gen=true
func (*CurlTest) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CurlTest.
func (*CurlTest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CurlTest) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CurlTestCondition ¶
CurlTestCondition defines one item of Condition in CurlTestStatus
func (*CurlTestCondition) DeepCopy ¶
func (in *CurlTestCondition) DeepCopy() *CurlTestCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CurlTestCondition.
func (*CurlTestCondition) DeepCopyInto ¶
func (in *CurlTestCondition) DeepCopyInto(out *CurlTestCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CurlTestList ¶
type CurlTestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CurlTest `json:"items"` }
CurlTestList contains a list of CurlTest
func (*CurlTestList) DeepCopy ¶
func (in *CurlTestList) DeepCopy() *CurlTestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CurlTestList.
func (*CurlTestList) DeepCopyInto ¶
func (in *CurlTestList) DeepCopyInto(out *CurlTestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CurlTestList) DeepCopyObject ¶
func (in *CurlTestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CurlTestSpec ¶
type CurlTestSpec struct { URL string `json:"url"` Headers []string `json:"headers"` LookForString string `json:"lookForString"` Method string `json:"method"` ContentType string `json:"contentType"` Payload string `json:"payload"` PayloadSize string `json:"payloadSize"` MaxPayloadSizeKB string `json:"maxPayloadSizeKB"` PayloadFile string `json:"payloadFile"` PayloadConfigMap string `json:"payloadConfigMap"` LogLevel string `json:"logLevel"` // parameters for TestRun Action string `json:"action"` Order string `json:"order"` StopOnFailure string `json:"stopOnFailure"` }
CurlTestSpec defines the desired state of CurlTest
func (*CurlTestSpec) DeepCopy ¶
func (in *CurlTestSpec) DeepCopy() *CurlTestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CurlTestSpec.
func (*CurlTestSpec) DeepCopyInto ¶
func (in *CurlTestSpec) DeepCopyInto(out *CurlTestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (CurlTestSpec) GetSpec ¶
func (c CurlTestSpec) GetSpec() []byte
GetSpec returns full CurlTestSpec as json in []byte
type CurlTestStatus ¶
type CurlTestStatus struct {
Condition CurlTestCondition `json:"condition"`
}
CurlTestStatus defines the observed state of CurlTest
func (*CurlTestStatus) DeepCopy ¶
func (in *CurlTestStatus) DeepCopy() *CurlTestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CurlTestStatus.
func (*CurlTestStatus) DeepCopyInto ¶
func (in *CurlTestStatus) DeepCopyInto(out *CurlTestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadTest ¶
type LoadTest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LoadTestSpec `json:"spec,omitempty"` Status LoadTestStatus `json:"status,omitempty"` }
LoadTest is the Schema for the loadtests API +k8s:openapi-gen=true
func (*LoadTest) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadTest.
func (*LoadTest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoadTest) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LoadTestCondition ¶
type LoadTestCondition struct { Target50 string `json:"50%"` Target75 string `json:"75%"` Target90 string `json:"90%"` Target99 string `json:"99%"` Target999 string `json:"99.9%"` RespTime string `json:"avg"` QPS string `json:"qps"` Codes200 string `json:"code200"` Codes500 string `json:"code500"` Result string `json:"result"` Error string `json:"error"` }
LoadTestCondition defines one item of Condition in LoadTestStatus
func (*LoadTestCondition) DeepCopy ¶
func (in *LoadTestCondition) DeepCopy() *LoadTestCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadTestCondition.
func (*LoadTestCondition) DeepCopyInto ¶
func (in *LoadTestCondition) DeepCopyInto(out *LoadTestCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadTestList ¶
type LoadTestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LoadTest `json:"items"` }
LoadTestList contains a list of LoadTest
func (*LoadTestList) DeepCopy ¶
func (in *LoadTestList) DeepCopy() *LoadTestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadTestList.
func (*LoadTestList) DeepCopyInto ¶
func (in *LoadTestList) DeepCopyInto(out *LoadTestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoadTestList) DeepCopyObject ¶
func (in *LoadTestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LoadTestSpec ¶
type LoadTestSpec struct { URL string `json:"url"` Duration string `json:"duration"` Headers []string `json:"headers"` User string `json:"user"` Password string `json:"password"` QPS string `json:"qps"` Threads string `json:"threads"` Method string `json:"method"` ContentType string `json:"contentType"` Payload string `json:"payload"` PayloadSize string `json:"payloadSize"` MaxPayloadSizeKB string `json:"maxPayloadSizeKB"` PayloadFile string `json:"payloadFile"` PayloadConfigMap string `json:"payloadConfigMap"` LogLevel string `json:"logLevel"` // parameters for TestRun Action string `json:"action"` Order string `json:"order"` StopOnFailure string `json:"stopOnFailure"` }
LoadTestSpec defines the desired state of LoadTest
func (*LoadTestSpec) DeepCopy ¶
func (in *LoadTestSpec) DeepCopy() *LoadTestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadTestSpec.
func (*LoadTestSpec) DeepCopyInto ¶
func (in *LoadTestSpec) DeepCopyInto(out *LoadTestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoadTestSpec) GetSpec ¶
func (l *LoadTestSpec) GetSpec() []byte
GetSpec returns full LoadTestSpec as json in []byte
type LoadTestStatus ¶
type LoadTestStatus struct {
Condition LoadTestCondition `json:"condition"`
}
LoadTestStatus defines the observed state of LoadTest
func (*LoadTestStatus) DeepCopy ¶
func (in *LoadTestStatus) DeepCopy() *LoadTestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadTestStatus.
func (*LoadTestStatus) DeepCopyInto ¶
func (in *LoadTestStatus) DeepCopyInto(out *LoadTestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Server ¶
type Server struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServerSpec `json:"spec,omitempty"` Status ServerStatus `json:"status,omitempty"` }
Server is the Schema for the servers API +k8s:openapi-gen=true
func (*Server) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.
func (*Server) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Server) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerList ¶
type ServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Server `json:"items"` }
ServerList contains a list of Server
func (*ServerList) DeepCopy ¶
func (in *ServerList) DeepCopy() *ServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerList.
func (*ServerList) DeepCopyInto ¶
func (in *ServerList) DeepCopyInto(out *ServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerList) DeepCopyObject ¶
func (in *ServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerSpec ¶
type ServerSpec struct {
Type string `json:"type"`
}
ServerSpec defines the desired state of Server
func (*ServerSpec) DeepCopy ¶
func (in *ServerSpec) DeepCopy() *ServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec.
func (*ServerSpec) DeepCopyInto ¶
func (in *ServerSpec) DeepCopyInto(out *ServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerStatus ¶
type ServerStatus struct { }
ServerStatus defines the observed state of Server
func (*ServerStatus) DeepCopy ¶
func (in *ServerStatus) DeepCopy() *ServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus.
func (*ServerStatus) DeepCopyInto ¶
func (in *ServerStatus) DeepCopyInto(out *ServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestRun ¶
type TestRun struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TestRunSpec `json:"spec,omitempty"` Status TestRunStatus `json:"status,omitempty"` }
TestRun is the Schema for the testruns API +k8s:openapi-gen=true
func (*TestRun) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestRun.
func (*TestRun) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestRun) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestRunList ¶
type TestRunList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TestRun `json:"items"` }
TestRunList contains a list of TestRun
func (*TestRunList) DeepCopy ¶
func (in *TestRunList) DeepCopy() *TestRunList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestRunList.
func (*TestRunList) DeepCopyInto ¶
func (in *TestRunList) DeepCopyInto(out *TestRunList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestRunList) DeepCopyObject ¶
func (in *TestRunList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestRunSpec ¶
type TestRunSpec struct { // StopOnFailure bool `json:"stopOnFailure"` // Items []runtime.Object `json:"items"` LoadTests []LoadTestSpec `json:"load"` CurlTests []CurlTestSpec `json:"curl"` }
TestRunSpec defines the desired state of TestRun
func (*TestRunSpec) DeepCopy ¶
func (in *TestRunSpec) DeepCopy() *TestRunSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestRunSpec.
func (*TestRunSpec) DeepCopyInto ¶
func (in *TestRunSpec) DeepCopyInto(out *TestRunSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestRunStatus ¶
type TestRunStatus struct {
Result string `json:"result"`
}
TestRunStatus defines the observed state of TestRun
func (*TestRunStatus) DeepCopy ¶
func (in *TestRunStatus) DeepCopy() *TestRunStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestRunStatus.
func (*TestRunStatus) DeepCopyInto ¶
func (in *TestRunStatus) DeepCopyInto(out *TestRunStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.