Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=apps.arangodb.com
Index ¶
Constants ¶
const (
ArangoAppsVersion = "v1"
)
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme SchemeGroupVersion = schema.GroupVersion{Group: apps.ArangoAppsGroupName, Version: ArangoAppsVersion} )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource gets an ArangoCluster GroupResource for a specified resource
Types ¶
type ArangoJob ¶
type ArangoJob struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` Spec ArangoJobSpec `json:"spec,omitempty"` Status batch.JobStatus `json:"status,omitempty"` }
ArangoJob contains definition and status of the ArangoDB type Job.
func (*ArangoJob) AsOwner ¶
func (a *ArangoJob) AsOwner() meta.OwnerReference
AsOwner creates an OwnerReference for the given job
func (*ArangoJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoJob.
func (*ArangoJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoJob) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArangoJobList ¶
type ArangoJobList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []ArangoJob `json:"items"` }
ArangoJobList is a list of ArangoDB jobs.
func (*ArangoJobList) DeepCopy ¶
func (in *ArangoJobList) DeepCopy() *ArangoJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoJobList.
func (*ArangoJobList) DeepCopyInto ¶
func (in *ArangoJobList) DeepCopyInto(out *ArangoJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoJobList) DeepCopyObject ¶
func (in *ArangoJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArangoJobSpec ¶
type ArangoJobSpec struct { ArangoDeploymentName string `json:"arangoDeploymentName"` JobTemplate *batch.JobSpec `json:"jobTemplate,omitempty"` }
func (*ArangoJobSpec) DeepCopy ¶
func (in *ArangoJobSpec) DeepCopy() *ArangoJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoJobSpec.
func (*ArangoJobSpec) DeepCopyInto ¶
func (in *ArangoJobSpec) DeepCopyInto(out *ArangoJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoJobSpec) Validate ¶
func (a *ArangoJobSpec) Validate() error