v1

package
v0.0.0-...-540bb61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=apps.arangodb.com

Index

Constants

View Source
const (
	ArangoAppsVersion = "v1"
)

Variables

View Source
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

func (in *ArangoJob) DeepCopy() *ArangoJob

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoJob.

func (*ArangoJob) DeepCopyInto

func (in *ArangoJob) DeepCopyInto(out *ArangoJob)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoJob) DeepCopyObject

func (in *ArangoJob) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ArangoJob) Validate

func (a *ArangoJob) Validate() error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL