Documentation ¶
Index ¶
- Constants
- Variables
- type BenchmarkDataset
- type BenchmarkDatasetRange
- type BenchmarkJobRule
- type BenchmarkJobSpec
- type BenchmarkJobStatus
- type BenchmarkTarget
- type ValdBenchmarkJob
- type ValdBenchmarkJobList
- type ValdBenchmarkScenario
- type ValdBenchmarkScenarioList
- type ValdBenchmarkScenarioSpec
- type ValdBenchmarkScenarioStatus
Constants ¶
const ( BenchmarkJobNotReady = BenchmarkJobStatus("NotReady") BenchmarkJobCompleted = BenchmarkJobStatus("Completed") BenchmarkJobAvailable = BenchmarkJobStatus("Available") BenchmarkJobHealthy = BenchmarkJobStatus("Healthy") )
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "vald.vdaas.org", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type BenchmarkDataset ¶
type BenchmarkDataset config.BenchmarkDataset
BenchmarkDataset defines the desired state of BenchmarkDateset.
func (*BenchmarkDataset) DeepCopy ¶
func (in *BenchmarkDataset) DeepCopy() *BenchmarkDataset
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BenchmarkDataset.
func (*BenchmarkDataset) DeepCopyInto ¶
func (in *BenchmarkDataset) DeepCopyInto(out *BenchmarkDataset)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BenchmarkDatasetRange ¶
type BenchmarkDatasetRange config.BenchmarkDatasetRange
BenchmarkDatasetRange defines the desired state of BenchmarkDatesetRange.
func (*BenchmarkDatasetRange) DeepCopy ¶
func (in *BenchmarkDatasetRange) DeepCopy() *BenchmarkDatasetRange
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BenchmarkDatasetRange.
func (*BenchmarkDatasetRange) DeepCopyInto ¶
func (in *BenchmarkDatasetRange) DeepCopyInto(out *BenchmarkDatasetRange)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BenchmarkJobRule ¶
type BenchmarkJobRule config.BenchmarkJobRule
BenchmarkJobRule defines the desired state of BenchmarkJobRule.
func (*BenchmarkJobRule) DeepCopy ¶
func (in *BenchmarkJobRule) DeepCopy() *BenchmarkJobRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BenchmarkJobRule.
func (*BenchmarkJobRule) DeepCopyInto ¶
func (in *BenchmarkJobRule) DeepCopyInto(out *BenchmarkJobRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BenchmarkJobSpec ¶
type BenchmarkJobSpec struct { //nolint:tagalign *config.GlobalConfig `json:",omitempty" yaml:""` ServerConfig *config.Servers `json:"server_config,omitempty" yaml:"server_config"` Target *BenchmarkTarget `json:"target,omitempty" yaml:"target"` Dataset *BenchmarkDataset `json:"dataset,omitempty" yaml:"dataset"` Replica int `json:"replica,omitempty" yaml:"replica"` Repetition int `json:"repetition,omitempty" yaml:"repetition"` JobType string `json:"job_type,omitempty" yaml:"job_type"` InsertConfig *config.InsertConfig `json:"insert_config,omitempty" yaml:"insert_config"` UpdateConfig *config.UpdateConfig `json:"update_config,omitempty" yaml:"update_config"` UpsertConfig *config.UpsertConfig `json:"upsert_config,omitempty" yaml:"upsert_config"` SearchConfig *config.SearchConfig `json:"search_config,omitempty" yaml:"search_config"` RemoveConfig *config.RemoveConfig `json:"remove_config,omitempty" yaml:"remove_config"` ObjectConfig *config.ObjectConfig `json:"object_config,omitempty" yaml:"object_config"` ClientConfig *config.GRPCClient `json:"client_config,omitempty" yaml:"client_config"` Rules []*config.BenchmarkJobRule `json:"rules,omitempty" yaml:"rules"` RPS int `json:"rps,omitempty" yaml:"rps"` ConcurrencyLimit int `json:"concurrency_limit,omitempty" yaml:"concurrency_limit"` TTLSecondsAfterFinished int `json:"ttl_seconds_after_finished,omitempty" yaml:"ttl_seconds_after_finished"` }
func (*BenchmarkJobSpec) DeepCopy ¶
func (in *BenchmarkJobSpec) DeepCopy() *BenchmarkJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BenchmarkJobSpec.
func (*BenchmarkJobSpec) DeepCopyInto ¶
func (in *BenchmarkJobSpec) DeepCopyInto(out *BenchmarkJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BenchmarkJobStatus ¶
type BenchmarkJobStatus string
type BenchmarkTarget ¶
type BenchmarkTarget config.BenchmarkTarget
BenchmarkTarget defines the desired state of BenchmarkTarget.
func (*BenchmarkTarget) DeepCopy ¶
func (in *BenchmarkTarget) DeepCopy() *BenchmarkTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BenchmarkTarget.
func (*BenchmarkTarget) DeepCopyInto ¶
func (in *BenchmarkTarget) DeepCopyInto(out *BenchmarkTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValdBenchmarkJob ¶
type ValdBenchmarkJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec BenchmarkJobSpec `json:"spec,omitempty"` Status BenchmarkJobStatus `json:"status,omitempty"` }
func (*ValdBenchmarkJob) DeepCopy ¶
func (in *ValdBenchmarkJob) DeepCopy() *ValdBenchmarkJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BenchmarkOperator.
func (*ValdBenchmarkJob) DeepCopyInto ¶
func (in *ValdBenchmarkJob) DeepCopyInto(out *ValdBenchmarkJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValdBenchmarkJob) DeepCopyObject ¶
func (in *ValdBenchmarkJob) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ValdBenchmarkJobList ¶
type ValdBenchmarkJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []ValdBenchmarkJob `json:"items,omitempty"` }
func (*ValdBenchmarkJobList) DeepCopy ¶
func (in *ValdBenchmarkJobList) DeepCopy() *ValdBenchmarkJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BenchmarkOperatorList.
func (*ValdBenchmarkJobList) DeepCopyInto ¶
func (in *ValdBenchmarkJobList) DeepCopyInto(out *ValdBenchmarkJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValdBenchmarkJobList) DeepCopyObject ¶
func (in *ValdBenchmarkJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ValdBenchmarkScenario ¶
type ValdBenchmarkScenario struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ValdBenchmarkScenarioSpec `json:"spec,omitempty"` Status ValdBenchmarkScenarioStatus `json:"status,omitempty"` }
func (*ValdBenchmarkScenario) DeepCopy ¶
func (in *ValdBenchmarkScenario) DeepCopy() *ValdBenchmarkScenario
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BenchmarkScenario.
func (*ValdBenchmarkScenario) DeepCopyInto ¶
func (in *ValdBenchmarkScenario) DeepCopyInto(out *ValdBenchmarkScenario)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValdBenchmarkScenario) DeepCopyObject ¶
func (in *ValdBenchmarkScenario) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ValdBenchmarkScenarioList ¶
type ValdBenchmarkScenarioList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ValdBenchmarkScenario `json:"items"` }
func (*ValdBenchmarkScenarioList) DeepCopy ¶
func (in *ValdBenchmarkScenarioList) DeepCopy() *ValdBenchmarkScenarioList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BenchmarkScenarioList.
func (*ValdBenchmarkScenarioList) DeepCopyInto ¶
func (in *ValdBenchmarkScenarioList) DeepCopyInto(out *ValdBenchmarkScenarioList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValdBenchmarkScenarioList) DeepCopyObject ¶
func (in *ValdBenchmarkScenarioList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ValdBenchmarkScenarioSpec ¶
type ValdBenchmarkScenarioSpec struct { Target *BenchmarkTarget `json:"target,omitempty"` Dataset *BenchmarkDataset `json:"dataset,omitempty"` Jobs []*BenchmarkJobSpec `json:"jobs,omitempty"` }
func (*ValdBenchmarkScenarioSpec) DeepCopy ¶
func (in *ValdBenchmarkScenarioSpec) DeepCopy() *ValdBenchmarkScenarioSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BenchmarkScenarioSpec.
func (*ValdBenchmarkScenarioSpec) DeepCopyInto ¶
func (in *ValdBenchmarkScenarioSpec) DeepCopyInto(out *ValdBenchmarkScenarioSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValdBenchmarkScenarioStatus ¶
type ValdBenchmarkScenarioStatus string
const ( BenchmarkScenarioNotReady ValdBenchmarkScenarioStatus = "NotReady" BenchmarkScenarioCompleted ValdBenchmarkScenarioStatus = "Completed" BenchmarkScenarioAvailable ValdBenchmarkScenarioStatus = "Available" BenchmarkScenarioHealthy ValdBenchmarkScenarioStatus = "Healthy" )