Documentation ¶
Overview ¶
+groupName=dataflow.google.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Job
- func (in *Job) DeepCopy() *Job
- func (in *Job) DeepCopyInto(out *Job)
- func (in *Job) DeepCopyObject() runtime.Object
- func (r *Job) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Job) ValidateCreate() error
- func (r *Job) ValidateDelete() error
- func (r *Job) ValidateUpdate(old runtime.Object) error
- type JobList
- type JobSpec
- type JobSpecResource
- type JobStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: dataflow.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Job ¶
type Job struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec JobSpec `json:"spec,omitempty"` Status JobStatus `json:"status,omitempty"` }
func (*Job) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
func (*Job) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Job) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Job) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Job) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type JobList ¶
type JobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Job CRD objects Items []Job `json:"items,omitempty"` }
JobList is a list of Jobs
func (*JobList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
func (*JobList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobSpec ¶
type JobSpec struct { State *JobSpecResource `json:"state,omitempty" tf:"-"` Resource JobSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*JobSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
type JobSpecResource ¶
type JobSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // List of experiments that should be used by the job. An example value is ["enable_stackdriver_agent_metrics"]. // +optional AdditionalExperiments []string `json:"additionalExperiments,omitempty" tf:"additional_experiments"` // Indicates if the job should use the streaming engine feature. // +optional EnableStreamingEngine *bool `json:"enableStreamingEngine,omitempty" tf:"enable_streaming_engine"` // The configuration for VM IPs. Options are "WORKER_IP_PUBLIC" or "WORKER_IP_PRIVATE". // +optional IpConfiguration *string `json:"ipConfiguration,omitempty" tf:"ip_configuration"` // The unique ID of this job. // +optional JobID *string `json:"jobID,omitempty" tf:"job_id"` // The name for the Cloud KMS key for the job. Key format is: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY // +optional KmsKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name"` // User labels to be specified for the job. Keys and values should follow the restrictions specified in the labeling restrictions page. NOTE: Google-provided Dataflow templates often provide default labels that begin with goog-dataflow-provided. Unless explicitly set in config, these labels will be ignored to prevent diffs on re-apply. // +optional Labels map[string]string `json:"labels,omitempty" tf:"labels"` // The machine type to use for the job. // +optional MachineType *string `json:"machineType,omitempty" tf:"machine_type"` // The number of workers permitted to work on the job. More workers may improve processing speed at additional cost. // +optional MaxWorkers *int64 `json:"maxWorkers,omitempty" tf:"max_workers"` // A unique name for the resource, required by Dataflow. Name *string `json:"name" tf:"name"` // The network to which VMs will be assigned. If it is not provided, "default" will be used. // +optional Network *string `json:"network,omitempty" tf:"network"` // One of "drain" or "cancel". Specifies behavior of deletion during terraform destroy. // +optional OnDelete *string `json:"onDelete,omitempty" tf:"on_delete"` // Key/Value pairs to be passed to the Dataflow job (as used in the template). // +optional Parameters map[string]string `json:"parameters,omitempty" tf:"parameters"` // The project in which the resource belongs. // +optional Project *string `json:"project,omitempty" tf:"project"` // The region in which the created job should run. // +optional Region *string `json:"region,omitempty" tf:"region"` // The Service Account email used to create the job. // +optional ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email"` // The current state of the resource, selected from the JobState enum. // +optional State *string `json:"state,omitempty" tf:"state"` // The subnetwork to which VMs will be assigned. Should be of the form "regions/REGION/subnetworks/SUBNETWORK". // +optional Subnetwork *string `json:"subnetwork,omitempty" tf:"subnetwork"` // A writeable location on Google Cloud Storage for the Dataflow job to dump its temporary data. TempGcsLocation *string `json:"tempGcsLocation" tf:"temp_gcs_location"` // The Google Cloud Storage path to the Dataflow job template. TemplateGcsPath *string `json:"templateGcsPath" tf:"template_gcs_path"` // Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced with the corresponding name prefixes of the new job. // +optional TransformNameMapping map[string]string `json:"transformNameMapping,omitempty" tf:"transform_name_mapping"` // The type of this job, selected from the JobType enum. // +optional Type *string `json:"type,omitempty" tf:"type"` // The zone in which the created job should run. If it is not provided, the provider zone is used. // +optional Zone *string `json:"zone,omitempty" tf:"zone"` }
func (*JobSpecResource) DeepCopy ¶
func (in *JobSpecResource) DeepCopy() *JobSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecResource.
func (*JobSpecResource) DeepCopyInto ¶
func (in *JobSpecResource) DeepCopyInto(out *JobSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobStatus ¶
type JobStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*JobStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.