Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=datafusion.gcp.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type CryptoKeyConfigObservation
- type CryptoKeyConfigParameters
- type EventPublishConfigObservation
- type EventPublishConfigParameters
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Instance) GetConnectionDetailsMapping() map[string]string
- func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Instance) GetID() string
- func (tr *Instance) GetObservation() (map[string]any, error)
- func (tr *Instance) GetParameters() (map[string]any, error)
- func (mg *Instance) GetProviderConfigReference() *xpv1.Reference
- func (mg *Instance) GetProviderReference() *xpv1.Reference
- func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Instance) GetTerraformResourceType() string
- func (tr *Instance) GetTerraformSchemaVersion() int
- func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Instance) LateInitialize(attrs []byte) (bool, error)
- func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Instance) SetConditions(c ...xpv1.Condition)
- func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Instance) SetObservation(obs map[string]any) error
- func (tr *Instance) SetParameters(params map[string]any) error
- func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Instance) SetProviderReference(r *xpv1.Reference)
- func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type InstanceList
- type InstanceObservation
- type InstanceParameters
- type InstanceSpec
- type InstanceStatus
- type NetworkConfigObservation
- type NetworkConfigParameters
Constants ¶
const ( CRDGroup = "datafusion.gcp.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
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 )
var ( Instance_Kind = "Instance" Instance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String() Instance_KindAPIVersion = Instance_Kind + "." + CRDGroupVersion.String() Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type CryptoKeyConfigObservation ¶
type CryptoKeyConfigObservation struct { }
func (*CryptoKeyConfigObservation) DeepCopy ¶
func (in *CryptoKeyConfigObservation) DeepCopy() *CryptoKeyConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CryptoKeyConfigObservation.
func (*CryptoKeyConfigObservation) DeepCopyInto ¶
func (in *CryptoKeyConfigObservation) DeepCopyInto(out *CryptoKeyConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CryptoKeyConfigParameters ¶
type CryptoKeyConfigParameters struct { // The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of projects//locations//keyRings//cryptoKeys/. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/kms/v1beta1.CryptoKey // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional KeyReference *string `json:"keyReference,omitempty" tf:"key_reference,omitempty"` // Reference to a CryptoKey in kms to populate keyReference. // +kubebuilder:validation:Optional KeyReferenceRef *v1.Reference `json:"keyReferenceRef,omitempty" tf:"-"` // Selector for a CryptoKey in kms to populate keyReference. // +kubebuilder:validation:Optional KeyReferenceSelector *v1.Selector `json:"keyReferenceSelector,omitempty" tf:"-"` }
func (*CryptoKeyConfigParameters) DeepCopy ¶
func (in *CryptoKeyConfigParameters) DeepCopy() *CryptoKeyConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CryptoKeyConfigParameters.
func (*CryptoKeyConfigParameters) DeepCopyInto ¶
func (in *CryptoKeyConfigParameters) DeepCopyInto(out *CryptoKeyConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventPublishConfigObservation ¶
type EventPublishConfigObservation struct { }
func (*EventPublishConfigObservation) DeepCopy ¶
func (in *EventPublishConfigObservation) DeepCopy() *EventPublishConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventPublishConfigObservation.
func (*EventPublishConfigObservation) DeepCopyInto ¶
func (in *EventPublishConfigObservation) DeepCopyInto(out *EventPublishConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventPublishConfigParameters ¶
type EventPublishConfigParameters struct { // Option to enable Event Publishing. // +kubebuilder:validation:Required Enabled *bool `json:"enabled" tf:"enabled,omitempty"` // The resource name of the Pub/Sub topic. Format: projects/{projectId}/topics/{topic_id} // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/pubsub/v1beta1.Topic // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional Topic *string `json:"topic,omitempty" tf:"topic,omitempty"` // Reference to a Topic in pubsub to populate topic. // +kubebuilder:validation:Optional TopicRef *v1.Reference `json:"topicRef,omitempty" tf:"-"` // Selector for a Topic in pubsub to populate topic. // +kubebuilder:validation:Optional TopicSelector *v1.Selector `json:"topicSelector,omitempty" tf:"-"` }
func (*EventPublishConfigParameters) DeepCopy ¶
func (in *EventPublishConfigParameters) DeepCopy() *EventPublishConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventPublishConfigParameters.
func (*EventPublishConfigParameters) DeepCopyInto ¶
func (in *EventPublishConfigParameters) DeepCopyInto(out *EventPublishConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance is the Schema for the Instances API. Represents a Data Fusion instance. +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,gcp}
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) GetCondition ¶
func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Instance.
func (*Instance) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Instance
func (*Instance) GetDeletionPolicy ¶
func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Instance.
func (*Instance) GetObservation ¶
GetObservation of this Instance
func (*Instance) GetParameters ¶
GetParameters of this Instance
func (*Instance) GetProviderConfigReference ¶
GetProviderConfigReference of this Instance.
func (*Instance) GetProviderReference ¶
GetProviderReference of this Instance. Deprecated: Use GetProviderConfigReference.
func (*Instance) GetPublishConnectionDetailsTo ¶
func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Instance.
func (*Instance) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Instance
func (*Instance) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Instance) GetWriteConnectionSecretToReference ¶
func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Instance.
func (*Instance) LateInitialize ¶
LateInitialize this Instance using its observed tfState. returns True if there are any spec changes for the resource.
func (*Instance) ResolveReferences ¶
ResolveReferences of this Instance.
func (*Instance) SetConditions ¶
SetConditions of this Instance.
func (*Instance) SetDeletionPolicy ¶
func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Instance.
func (*Instance) SetObservation ¶
SetObservation for this Instance
func (*Instance) SetParameters ¶
SetParameters for this Instance
func (*Instance) SetProviderConfigReference ¶
SetProviderConfigReference of this Instance.
func (*Instance) SetProviderReference ¶
SetProviderReference of this Instance. Deprecated: Use SetProviderConfigReference.
func (*Instance) SetPublishConnectionDetailsTo ¶
func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Instance.
func (*Instance) SetWriteConnectionSecretToReference ¶
func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Instance.
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList contains a list of Instances
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstanceList) GetItems ¶
func (l *InstanceList) GetItems() []resource.Managed
GetItems of this InstanceList.
type InstanceObservation ¶
type InstanceObservation struct { // Endpoint on which the REST APIs is accessible. APIEndpoint *string `json:"apiEndpoint,omitempty" tf:"api_endpoint,omitempty"` // The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // Cloud Storage bucket generated by Data Fusion in the customer project. GcsBucket *string `json:"gcsBucket,omitempty" tf:"gcs_bucket,omitempty"` // an identifier for the resource with format projects/{{project}}/locations/{{region}}/instances/{{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // P4 service account for the customer project. P4ServiceAccount *string `json:"p4ServiceAccount,omitempty" tf:"p4_service_account,omitempty"` // Endpoint on which the Data Fusion UI and REST APIs are accessible. ServiceEndpoint *string `json:"serviceEndpoint,omitempty" tf:"service_endpoint,omitempty"` // The current state of this Data Fusion instance. State *string `json:"state,omitempty" tf:"state,omitempty"` // Additional information about the current state of this Data Fusion instance if available. StateMessage *string `json:"stateMessage,omitempty" tf:"state_message,omitempty"` // The name of the tenant project. TenantProjectID *string `json:"tenantProjectId,omitempty" tf:"tenant_project_id,omitempty"` // The time the instance was last updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds. UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"` }
func (*InstanceObservation) DeepCopy ¶
func (in *InstanceObservation) DeepCopy() *InstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation.
func (*InstanceObservation) DeepCopyInto ¶
func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceParameters ¶
type InstanceParameters struct { // The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. // Structure is documented below. // +kubebuilder:validation:Optional CryptoKeyConfig []CryptoKeyConfigParameters `json:"cryptoKeyConfig,omitempty" tf:"crypto_key_config,omitempty"` // User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines. // +kubebuilder:validation:Optional DataprocServiceAccount *string `json:"dataprocServiceAccount,omitempty" tf:"dataproc_service_account,omitempty"` // An optional description of the instance. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Display name for an instance. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Option to enable granular role-based access control. // +kubebuilder:validation:Optional EnableRbac *bool `json:"enableRbac,omitempty" tf:"enable_rbac,omitempty"` // Option to enable Stackdriver Logging. // +kubebuilder:validation:Optional EnableStackdriverLogging *bool `json:"enableStackdriverLogging,omitempty" tf:"enable_stackdriver_logging,omitempty"` // Option to enable Stackdriver Monitoring. // +kubebuilder:validation:Optional EnableStackdriverMonitoring *bool `json:"enableStackdriverMonitoring,omitempty" tf:"enable_stackdriver_monitoring,omitempty"` // Option to enable and pass metadata for event publishing. // Structure is documented below. // +kubebuilder:validation:Optional EventPublishConfig []EventPublishConfigParameters `json:"eventPublishConfig,omitempty" tf:"event_publish_config,omitempty"` // The resource labels for instance to use to annotate any related underlying resources, // such as Compute Engine VMs. // +kubebuilder:validation:Optional Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Network configuration options. These are required when a private Data Fusion instance is to be created. // Structure is documented below. // +kubebuilder:validation:Optional NetworkConfig []NetworkConfigParameters `json:"networkConfig,omitempty" tf:"network_config,omitempty"` // Map of additional options used to configure the behavior of Data Fusion instance. // +kubebuilder:validation:Optional Options map[string]*string `json:"options,omitempty" tf:"options,omitempty"` // Specifies whether the Data Fusion instance should be private. If set to // true, all Data Fusion nodes will have private IP addresses and will not be // able to access the public internet. // +kubebuilder:validation:Optional PrivateInstance *bool `json:"privateInstance,omitempty" tf:"private_instance,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // The region of the Data Fusion instance. // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // Represents the type of Data Fusion instance. Each type is configured with // the default settings for processing and memory. // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // Current version of the Data Fusion. // +kubebuilder:validation:Optional Version *string `json:"version,omitempty" tf:"version,omitempty"` // Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field. // +kubebuilder:validation:Optional Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*InstanceParameters) DeepCopy ¶
func (in *InstanceParameters) DeepCopy() *InstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters.
func (*InstanceParameters) DeepCopyInto ¶
func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpec ¶
type InstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider InstanceParameters `json:"forProvider"` }
InstanceSpec defines the desired state of Instance
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider InstanceObservation `json:"atProvider,omitempty"` }
InstanceStatus defines the observed state of Instance.
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConfigObservation ¶
type NetworkConfigObservation struct { }
func (*NetworkConfigObservation) DeepCopy ¶
func (in *NetworkConfigObservation) DeepCopy() *NetworkConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigObservation.
func (*NetworkConfigObservation) DeepCopyInto ¶
func (in *NetworkConfigObservation) DeepCopyInto(out *NetworkConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConfigParameters ¶
type NetworkConfigParameters struct { // The IP range in CIDR notation to use for the managed Data Fusion instance // nodes. This range must not overlap with any other ranges used in the Data Fusion instance network. // +kubebuilder:validation:Required IPAllocation *string `json:"ipAllocation" tf:"ip_allocation,omitempty"` // Name of the network in the project with which the tenant project // will be peered for executing pipelines. In case of shared VPC where the network resides in another host // project the network should specified in the form of projects/{host-project-id}/global/networks/{network} // +kubebuilder:validation:Required Network *string `json:"network" tf:"network,omitempty"` }
func (*NetworkConfigParameters) DeepCopy ¶
func (in *NetworkConfigParameters) DeepCopy() *NetworkConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigParameters.
func (*NetworkConfigParameters) DeepCopyInto ¶
func (in *NetworkConfigParameters) DeepCopyInto(out *NetworkConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.