Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the httpd v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=httpd.apache.org
Package v1alpha1 contains API Schema definitions for the httpd v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=httpd.apache.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "httpd.apache.org", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type ApacheBench ¶
type ApacheBench struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApacheBenchSpec `json:"spec,omitempty"` Status ApacheBenchStatus `json:"status,omitempty"` }
ApacheBench is the Schema for the apachebenches API +kubebuilder:subresource:status +kubebuilder:resource:path=apachebenches,scope=Namespaced
func (*ApacheBench) DeepCopy ¶
func (in *ApacheBench) DeepCopy() *ApacheBench
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApacheBench.
func (*ApacheBench) DeepCopyInto ¶
func (in *ApacheBench) DeepCopyInto(out *ApacheBench)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApacheBench) DeepCopyObject ¶
func (in *ApacheBench) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApacheBenchList ¶
type ApacheBenchList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ApacheBench `json:"items"` }
ApacheBenchList contains a list of ApacheBench
func (*ApacheBenchList) DeepCopy ¶
func (in *ApacheBenchList) DeepCopy() *ApacheBenchList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApacheBenchList.
func (*ApacheBenchList) DeepCopyInto ¶
func (in *ApacheBenchList) DeepCopyInto(out *ApacheBenchList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApacheBenchList) DeepCopyObject ¶
func (in *ApacheBenchList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApacheBenchSpec ¶
type ApacheBenchSpec struct { // Concurrency is the number of multiple requests to perform at a time. Default is one request at a time. Concurrency uint32 `json:"concurrency,omitempty"` // Image is the container image (including tag) to use. Image string `json:"image,omitempty"` // Job is the JobSpec to override the default behavior of the benchmark Job. Job *batchv1.JobSpec `json:"job,omitempty"` // Requests is the number of requests to perform for the benchmarking session. // The default is to just perform a single request which usually leads to non-representative benchmarking results. Requests uint32 `json:"requests,omitempty"` // URL is the HTTP endpoint to benchmark. URL string `json:"url"` }
ApacheBenchSpec defines the desired state of ApacheBench
func (*ApacheBenchSpec) DeepCopy ¶
func (in *ApacheBenchSpec) DeepCopy() *ApacheBenchSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApacheBenchSpec.
func (*ApacheBenchSpec) DeepCopyInto ¶
func (in *ApacheBenchSpec) DeepCopyInto(out *ApacheBenchSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApacheBenchStatus ¶
type ApacheBenchStatus struct { // Phase is a simple, high-level summary of where the ApacheBench is in its lifecycle. // There are five possible phase values: // Pending: The ApacheBench has been accepted by the Kubernetes system. // Running: At least one or more ApacheBench Jobs are currently running. // Complete: All of the ApacheBench Jobs have completed successfully. // Failed: At least one ApacheBench Job has experienced a failure. // Unknown: For some reason the state of the ApacheBench could not be obtained. Phase string `json:"phase"` }
ApacheBenchStatus defines the observed state of ApacheBench
func (*ApacheBenchStatus) DeepCopy ¶
func (in *ApacheBenchStatus) DeepCopy() *ApacheBenchStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApacheBenchStatus.
func (*ApacheBenchStatus) DeepCopyInto ¶
func (in *ApacheBenchStatus) DeepCopyInto(out *ApacheBenchStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.