v1alpha1

package
v0.0.0-...-10a304b Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=mrs.otc.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "mrs.otc.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	ClusterV1_Kind             = "ClusterV1"
	ClusterV1_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClusterV1_Kind}.String()
	ClusterV1_KindAPIVersion   = ClusterV1_Kind + "." + CRDGroupVersion.String()
	ClusterV1_GroupVersionKind = CRDGroupVersion.WithKind(ClusterV1_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	JobV1_Kind             = "JobV1"
	JobV1_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: JobV1_Kind}.String()
	JobV1_KindAPIVersion   = JobV1_Kind + "." + CRDGroupVersion.String()
	JobV1_GroupVersionKind = CRDGroupVersion.WithKind(JobV1_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AddJobsObservation

type AddJobsObservation struct {
}

func (*AddJobsObservation) DeepCopy

func (in *AddJobsObservation) DeepCopy() *AddJobsObservation

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

func (*AddJobsObservation) DeepCopyInto

func (in *AddJobsObservation) DeepCopyInto(out *AddJobsObservation)

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

type AddJobsParameters

type AddJobsParameters struct {

	// +kubebuilder:validation:Optional
	Arguments *string `json:"arguments,omitempty" tf:"arguments,omitempty"`

	// +kubebuilder:validation:Optional
	FileAction *string `json:"fileAction,omitempty" tf:"file_action,omitempty"`

	// +kubebuilder:validation:Optional
	HiveScriptPath *string `json:"hiveScriptPath,omitempty" tf:"hive_script_path,omitempty"`

	// +kubebuilder:validation:Optional
	Hql *string `json:"hql,omitempty" tf:"hql,omitempty"`

	// +kubebuilder:validation:Optional
	Input *string `json:"input,omitempty" tf:"input,omitempty"`

	// +kubebuilder:validation:Required
	JarPath *string `json:"jarPath" tf:"jar_path,omitempty"`

	// +kubebuilder:validation:Optional
	JobLog *string `json:"jobLog,omitempty" tf:"job_log,omitempty"`

	// +kubebuilder:validation:Required
	JobName *string `json:"jobName" tf:"job_name,omitempty"`

	// +kubebuilder:validation:Required
	JobType *int64 `json:"jobType" tf:"job_type,omitempty"`

	// +kubebuilder:validation:Optional
	Output *string `json:"output,omitempty" tf:"output,omitempty"`

	// +kubebuilder:validation:Optional
	ShutdownCluster *bool `json:"shutdownCluster,omitempty" tf:"shutdown_cluster,omitempty"`

	// +kubebuilder:validation:Required
	SubmitJobOnceClusterRun *bool `json:"submitJobOnceClusterRun" tf:"submit_job_once_cluster_run,omitempty"`
}

func (*AddJobsParameters) DeepCopy

func (in *AddJobsParameters) DeepCopy() *AddJobsParameters

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

func (*AddJobsParameters) DeepCopyInto

func (in *AddJobsParameters) DeepCopyInto(out *AddJobsParameters)

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

type BootstrapScriptsObservation

type BootstrapScriptsObservation struct {
}

func (*BootstrapScriptsObservation) DeepCopy

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

func (*BootstrapScriptsObservation) DeepCopyInto

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

type BootstrapScriptsParameters

type BootstrapScriptsParameters struct {

	// +kubebuilder:validation:Optional
	ActiveMaster *bool `json:"activeMaster,omitempty" tf:"active_master,omitempty"`

	// +kubebuilder:validation:Optional
	BeforeComponentStart *bool `json:"beforeComponentStart,omitempty" tf:"before_component_start,omitempty"`

	// +kubebuilder:validation:Required
	FailAction *string `json:"failAction" tf:"fail_action,omitempty"`

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	Nodes []*string `json:"nodes" tf:"nodes,omitempty"`

	// +kubebuilder:validation:Optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// +kubebuilder:validation:Required
	URI *string `json:"uri" tf:"uri,omitempty"`
}

func (*BootstrapScriptsParameters) DeepCopy

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

func (*BootstrapScriptsParameters) DeepCopyInto

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

type ClusterV1

type ClusterV1 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterV1Spec   `json:"spec"`
	Status            ClusterV1Status `json:"status,omitempty"`
}

ClusterV1 is the Schema for the ClusterV1s API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,otcjet}

func (*ClusterV1) DeepCopy

func (in *ClusterV1) DeepCopy() *ClusterV1

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

func (*ClusterV1) DeepCopyInto

func (in *ClusterV1) DeepCopyInto(out *ClusterV1)

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

func (*ClusterV1) DeepCopyObject

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

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

func (*ClusterV1) GetCondition

func (mg *ClusterV1) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ClusterV1.

func (*ClusterV1) GetConnectionDetailsMapping

func (tr *ClusterV1) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ClusterV1

func (*ClusterV1) GetDeletionPolicy

func (mg *ClusterV1) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ClusterV1.

func (*ClusterV1) GetID

func (tr *ClusterV1) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterV1

func (*ClusterV1) GetObservation

func (tr *ClusterV1) GetObservation() (map[string]interface{}, error)

GetObservation of this ClusterV1

func (*ClusterV1) GetParameters

func (tr *ClusterV1) GetParameters() (map[string]interface{}, error)

GetParameters of this ClusterV1

func (*ClusterV1) GetProviderConfigReference

func (mg *ClusterV1) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ClusterV1.

func (*ClusterV1) GetProviderReference

func (mg *ClusterV1) GetProviderReference() *xpv1.Reference

GetProviderReference of this ClusterV1. Deprecated: Use GetProviderConfigReference.

func (*ClusterV1) GetTerraformResourceType

func (mg *ClusterV1) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterV1

func (*ClusterV1) GetTerraformSchemaVersion

func (tr *ClusterV1) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterV1) GetWriteConnectionSecretToReference

func (mg *ClusterV1) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ClusterV1.

func (*ClusterV1) LateInitialize

func (tr *ClusterV1) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ClusterV1 using its observed tfState. returns True if there are any spec changes for the resource.

func (*ClusterV1) SetConditions

func (mg *ClusterV1) SetConditions(c ...xpv1.Condition)

SetConditions of this ClusterV1.

func (*ClusterV1) SetDeletionPolicy

func (mg *ClusterV1) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ClusterV1.

func (*ClusterV1) SetObservation

func (tr *ClusterV1) SetObservation(obs map[string]interface{}) error

SetObservation for this ClusterV1

func (*ClusterV1) SetParameters

func (tr *ClusterV1) SetParameters(params map[string]interface{}) error

SetParameters for this ClusterV1

func (*ClusterV1) SetProviderConfigReference

func (mg *ClusterV1) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ClusterV1.

func (*ClusterV1) SetProviderReference

func (mg *ClusterV1) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ClusterV1. Deprecated: Use SetProviderConfigReference.

func (*ClusterV1) SetWriteConnectionSecretToReference

func (mg *ClusterV1) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ClusterV1.

type ClusterV1List

type ClusterV1List struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterV1 `json:"items"`
}

ClusterV1List contains a list of ClusterV1s

func (*ClusterV1List) DeepCopy

func (in *ClusterV1List) DeepCopy() *ClusterV1List

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

func (*ClusterV1List) DeepCopyInto

func (in *ClusterV1List) DeepCopyInto(out *ClusterV1List)

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

func (*ClusterV1List) DeepCopyObject

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

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

func (*ClusterV1List) GetItems

func (l *ClusterV1List) GetItems() []resource.Managed

GetItems of this ClusterV1List.

type ClusterV1Observation

type ClusterV1Observation struct {
	AvailableZoneName *string `json:"availableZoneName,omitempty" tf:"available_zone_name,omitempty"`

	ChargingStartTime *string `json:"chargingStartTime,omitempty" tf:"charging_start_time,omitempty"`

	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	ClusterState *string `json:"clusterState,omitempty" tf:"cluster_state,omitempty"`

	CoreNodeProductID *string `json:"coreNodeProductId,omitempty" tf:"core_node_product_id,omitempty"`

	CoreNodeSpecID *string `json:"coreNodeSpecId,omitempty" tf:"core_node_spec_id,omitempty"`

	CreateAt *string `json:"createAt,omitempty" tf:"create_at,omitempty"`

	DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"`

	Duration *string `json:"duration,omitempty" tf:"duration,omitempty"`

	ErrorInfo *string `json:"errorInfo,omitempty" tf:"error_info,omitempty"`

	ExternalAlternateIP *string `json:"externalAlternateIp,omitempty" tf:"external_alternate_ip,omitempty"`

	ExternalIP *string `json:"externalIp,omitempty" tf:"external_ip,omitempty"`

	Fee *string `json:"fee,omitempty" tf:"fee,omitempty"`

	HadoopVersion *string `json:"hadoopVersion,omitempty" tf:"hadoop_version,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	InternalIP *string `json:"internalIp,omitempty" tf:"internal_ip,omitempty"`

	MasterNodeIP *string `json:"masterNodeIp,omitempty" tf:"master_node_ip,omitempty"`

	MasterNodeProductID *string `json:"masterNodeProductId,omitempty" tf:"master_node_product_id,omitempty"`

	MasterNodeSpecID *string `json:"masterNodeSpecId,omitempty" tf:"master_node_spec_id,omitempty"`

	OrderID *string `json:"orderId,omitempty" tf:"order_id,omitempty"`

	PrivateIPFirst *string `json:"privateIpFirst,omitempty" tf:"private_ip_first,omitempty"`

	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	SecurityGroupsID *string `json:"securityGroupsId,omitempty" tf:"security_groups_id,omitempty"`

	SlaveSecurityGroupsID *string `json:"slaveSecurityGroupsId,omitempty" tf:"slave_security_groups_id,omitempty"`

	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	UpdateAt *string `json:"updateAt,omitempty" tf:"update_at,omitempty"`

	Vnc *string `json:"vnc,omitempty" tf:"vnc,omitempty"`
}

func (*ClusterV1Observation) DeepCopy

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

func (*ClusterV1Observation) DeepCopyInto

func (in *ClusterV1Observation) DeepCopyInto(out *ClusterV1Observation)

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

type ClusterV1Parameters

type ClusterV1Parameters struct {

	// +kubebuilder:validation:Optional
	AddJobs []AddJobsParameters `json:"addJobs,omitempty" tf:"add_jobs,omitempty"`

	// +kubebuilder:validation:Required
	AvailableZoneID *string `json:"availableZoneId" tf:"available_zone_id,omitempty"`

	// +kubebuilder:validation:Required
	BillingType *int64 `json:"billingType" tf:"billing_type,omitempty"`

	// +kubebuilder:validation:Optional
	BootstrapScripts []BootstrapScriptsParameters `json:"bootstrapScripts,omitempty" tf:"bootstrap_scripts,omitempty"`

	// +kubebuilder:validation:Optional
	ClusterAdminSecret *string `json:"clusterAdminSecret,omitempty" tf:"cluster_admin_secret,omitempty"`

	// +kubebuilder:validation:Required
	ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"`

	// +kubebuilder:validation:Optional
	ClusterType *int64 `json:"clusterType,omitempty" tf:"cluster_type,omitempty"`

	// +kubebuilder:validation:Optional
	ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`

	// +kubebuilder:validation:Required
	ComponentList []ComponentListParameters `json:"componentList" tf:"component_list,omitempty"`

	// +kubebuilder:validation:Optional
	CoreDataVolumeCount *int64 `json:"coreDataVolumeCount,omitempty" tf:"core_data_volume_count,omitempty"`

	// +kubebuilder:validation:Optional
	CoreDataVolumeSize *int64 `json:"coreDataVolumeSize,omitempty" tf:"core_data_volume_size,omitempty"`

	// +kubebuilder:validation:Optional
	CoreDataVolumeType *string `json:"coreDataVolumeType,omitempty" tf:"core_data_volume_type,omitempty"`

	// +kubebuilder:validation:Required
	CoreNodeNum *int64 `json:"coreNodeNum" tf:"core_node_num,omitempty"`

	// +kubebuilder:validation:Required
	CoreNodeSize *string `json:"coreNodeSize" tf:"core_node_size,omitempty"`

	// +kubebuilder:validation:Optional
	LogCollection *int64 `json:"logCollection,omitempty" tf:"log_collection,omitempty"`

	// +kubebuilder:validation:Optional
	MasterDataVolumeCount *int64 `json:"masterDataVolumeCount,omitempty" tf:"master_data_volume_count,omitempty"`

	// +kubebuilder:validation:Optional
	MasterDataVolumeSize *int64 `json:"masterDataVolumeSize,omitempty" tf:"master_data_volume_size,omitempty"`

	// +kubebuilder:validation:Optional
	MasterDataVolumeType *string `json:"masterDataVolumeType,omitempty" tf:"master_data_volume_type,omitempty"`

	// +kubebuilder:validation:Required
	MasterNodeNum *int64 `json:"masterNodeNum" tf:"master_node_num,omitempty"`

	// +kubebuilder:validation:Required
	MasterNodeSize *string `json:"masterNodeSize" tf:"master_node_size,omitempty"`

	// +kubebuilder:validation:Required
	NodePublicCertName *string `json:"nodePublicCertName" tf:"node_public_cert_name,omitempty"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// +kubebuilder:validation:Required
	SafeMode *int64 `json:"safeMode" tf:"safe_mode,omitempty"`

	// +kubebuilder:validation:Required
	SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"`

	// +kubebuilder:validation:Optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags,omitempty"`

	// +kubebuilder:validation:Required
	VPCID *string `json:"vpcId" tf:"vpc_id,omitempty"`

	// +kubebuilder:validation:Optional
	VolumeSize *int64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`

	// +kubebuilder:validation:Optional
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*ClusterV1Parameters) DeepCopy

func (in *ClusterV1Parameters) DeepCopy() *ClusterV1Parameters

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

func (*ClusterV1Parameters) DeepCopyInto

func (in *ClusterV1Parameters) DeepCopyInto(out *ClusterV1Parameters)

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

type ClusterV1Spec

type ClusterV1Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterV1Parameters `json:"forProvider"`
}

ClusterV1Spec defines the desired state of ClusterV1

func (*ClusterV1Spec) DeepCopy

func (in *ClusterV1Spec) DeepCopy() *ClusterV1Spec

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

func (*ClusterV1Spec) DeepCopyInto

func (in *ClusterV1Spec) DeepCopyInto(out *ClusterV1Spec)

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

type ClusterV1Status

type ClusterV1Status struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ClusterV1Observation `json:"atProvider,omitempty"`
}

ClusterV1Status defines the observed state of ClusterV1.

func (*ClusterV1Status) DeepCopy

func (in *ClusterV1Status) DeepCopy() *ClusterV1Status

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

func (*ClusterV1Status) DeepCopyInto

func (in *ClusterV1Status) DeepCopyInto(out *ClusterV1Status)

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

type ComponentListObservation

type ComponentListObservation struct {
	ComponentDesc *string `json:"componentDesc,omitempty" tf:"component_desc,omitempty"`

	ComponentID *string `json:"componentId,omitempty" tf:"component_id,omitempty"`

	ComponentVersion *string `json:"componentVersion,omitempty" tf:"component_version,omitempty"`
}

func (*ComponentListObservation) DeepCopy

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

func (*ComponentListObservation) DeepCopyInto

func (in *ComponentListObservation) DeepCopyInto(out *ComponentListObservation)

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

type ComponentListParameters

type ComponentListParameters struct {

	// +kubebuilder:validation:Required
	ComponentName *string `json:"componentName" tf:"component_name,omitempty"`
}

func (*ComponentListParameters) DeepCopy

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

func (*ComponentListParameters) DeepCopyInto

func (in *ComponentListParameters) DeepCopyInto(out *ComponentListParameters)

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

type JobV1

type JobV1 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              JobV1Spec   `json:"spec"`
	Status            JobV1Status `json:"status,omitempty"`
}

JobV1 is the Schema for the JobV1s API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,otcjet}

func (*JobV1) DeepCopy

func (in *JobV1) DeepCopy() *JobV1

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

func (*JobV1) DeepCopyInto

func (in *JobV1) DeepCopyInto(out *JobV1)

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

func (*JobV1) DeepCopyObject

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

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

func (*JobV1) GetCondition

func (mg *JobV1) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this JobV1.

func (*JobV1) GetConnectionDetailsMapping

func (tr *JobV1) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this JobV1

func (*JobV1) GetDeletionPolicy

func (mg *JobV1) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this JobV1.

func (*JobV1) GetID

func (tr *JobV1) GetID() string

GetID returns ID of underlying Terraform resource of this JobV1

func (*JobV1) GetObservation

func (tr *JobV1) GetObservation() (map[string]interface{}, error)

GetObservation of this JobV1

func (*JobV1) GetParameters

func (tr *JobV1) GetParameters() (map[string]interface{}, error)

GetParameters of this JobV1

func (*JobV1) GetProviderConfigReference

func (mg *JobV1) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this JobV1.

func (*JobV1) GetProviderReference

func (mg *JobV1) GetProviderReference() *xpv1.Reference

GetProviderReference of this JobV1. Deprecated: Use GetProviderConfigReference.

func (*JobV1) GetTerraformResourceType

func (mg *JobV1) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this JobV1

func (*JobV1) GetTerraformSchemaVersion

func (tr *JobV1) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*JobV1) GetWriteConnectionSecretToReference

func (mg *JobV1) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this JobV1.

func (*JobV1) LateInitialize

func (tr *JobV1) LateInitialize(attrs []byte) (bool, error)

LateInitialize this JobV1 using its observed tfState. returns True if there are any spec changes for the resource.

func (*JobV1) SetConditions

func (mg *JobV1) SetConditions(c ...xpv1.Condition)

SetConditions of this JobV1.

func (*JobV1) SetDeletionPolicy

func (mg *JobV1) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this JobV1.

func (*JobV1) SetObservation

func (tr *JobV1) SetObservation(obs map[string]interface{}) error

SetObservation for this JobV1

func (*JobV1) SetParameters

func (tr *JobV1) SetParameters(params map[string]interface{}) error

SetParameters for this JobV1

func (*JobV1) SetProviderConfigReference

func (mg *JobV1) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this JobV1.

func (*JobV1) SetProviderReference

func (mg *JobV1) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this JobV1. Deprecated: Use SetProviderConfigReference.

func (*JobV1) SetWriteConnectionSecretToReference

func (mg *JobV1) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this JobV1.

type JobV1List

type JobV1List struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []JobV1 `json:"items"`
}

JobV1List contains a list of JobV1s

func (*JobV1List) DeepCopy

func (in *JobV1List) DeepCopy() *JobV1List

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

func (*JobV1List) DeepCopyInto

func (in *JobV1List) DeepCopyInto(out *JobV1List)

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

func (*JobV1List) DeepCopyObject

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

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

func (*JobV1List) GetItems

func (l *JobV1List) GetItems() []resource.Managed

GetItems of this JobV1List.

type JobV1Observation

type JobV1Observation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	JobState *string `json:"jobState,omitempty" tf:"job_state,omitempty"`
}

func (*JobV1Observation) DeepCopy

func (in *JobV1Observation) DeepCopy() *JobV1Observation

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

func (*JobV1Observation) DeepCopyInto

func (in *JobV1Observation) DeepCopyInto(out *JobV1Observation)

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

type JobV1Parameters

type JobV1Parameters struct {

	// +kubebuilder:validation:Optional
	Arguments *string `json:"arguments,omitempty" tf:"arguments,omitempty"`

	// +kubebuilder:validation:Required
	ClusterID *string `json:"clusterId" tf:"cluster_id,omitempty"`

	// +kubebuilder:validation:Optional
	HiveScriptPath *string `json:"hiveScriptPath,omitempty" tf:"hive_script_path,omitempty"`

	// +kubebuilder:validation:Optional
	Input *string `json:"input,omitempty" tf:"input,omitempty"`

	// +kubebuilder:validation:Optional
	IsProtected *bool `json:"isProtected,omitempty" tf:"is_protected,omitempty"`

	// +kubebuilder:validation:Optional
	IsPublic *bool `json:"isPublic,omitempty" tf:"is_public,omitempty"`

	// +kubebuilder:validation:Required
	JarPath *string `json:"jarPath" tf:"jar_path,omitempty"`

	// +kubebuilder:validation:Optional
	JobLog *string `json:"jobLog,omitempty" tf:"job_log,omitempty"`

	// +kubebuilder:validation:Required
	JobName *string `json:"jobName" tf:"job_name,omitempty"`

	// +kubebuilder:validation:Required
	JobType *int64 `json:"jobType" tf:"job_type,omitempty"`

	// +kubebuilder:validation:Optional
	Output *string `json:"output,omitempty" tf:"output,omitempty"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*JobV1Parameters) DeepCopy

func (in *JobV1Parameters) DeepCopy() *JobV1Parameters

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

func (*JobV1Parameters) DeepCopyInto

func (in *JobV1Parameters) DeepCopyInto(out *JobV1Parameters)

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

type JobV1Spec

type JobV1Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     JobV1Parameters `json:"forProvider"`
}

JobV1Spec defines the desired state of JobV1

func (*JobV1Spec) DeepCopy

func (in *JobV1Spec) DeepCopy() *JobV1Spec

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

func (*JobV1Spec) DeepCopyInto

func (in *JobV1Spec) DeepCopyInto(out *JobV1Spec)

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

type JobV1Status

type JobV1Status struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        JobV1Observation `json:"atProvider,omitempty"`
}

JobV1Status defines the observed state of JobV1.

func (*JobV1Status) DeepCopy

func (in *JobV1Status) DeepCopy() *JobV1Status

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

func (*JobV1Status) DeepCopyInto

func (in *JobV1Status) DeepCopyInto(out *JobV1Status)

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

Jump to

Keyboard shortcuts

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