Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=networkmanagement.gcp.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type AppEngineVersionInitParameters
- type AppEngineVersionObservation
- type AppEngineVersionParameters
- type CloudFunctionInitParameters
- type CloudFunctionObservation
- type CloudFunctionParameters
- type CloudRunRevisionInitParameters
- type CloudRunRevisionObservation
- type CloudRunRevisionParameters
- type ConnectivityTest
- func (in *ConnectivityTest) DeepCopy() *ConnectivityTest
- func (in *ConnectivityTest) DeepCopyInto(out *ConnectivityTest)
- func (in *ConnectivityTest) DeepCopyObject() runtime.Object
- func (mg *ConnectivityTest) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ConnectivityTest) GetConnectionDetailsMapping() map[string]string
- func (mg *ConnectivityTest) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ConnectivityTest) GetID() string
- func (tr *ConnectivityTest) GetInitParameters() (map[string]any, error)
- func (mg *ConnectivityTest) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ConnectivityTest) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *ConnectivityTest) GetObservation() (map[string]any, error)
- func (tr *ConnectivityTest) GetParameters() (map[string]any, error)
- func (mg *ConnectivityTest) GetProviderConfigReference() *xpv1.Reference
- func (mg *ConnectivityTest) GetTerraformResourceType() string
- func (tr *ConnectivityTest) GetTerraformSchemaVersion() int
- func (mg *ConnectivityTest) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ConnectivityTest) Hub()
- func (tr *ConnectivityTest) LateInitialize(attrs []byte) (bool, error)
- func (mg *ConnectivityTest) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ConnectivityTest) SetConditions(c ...xpv1.Condition)
- func (mg *ConnectivityTest) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ConnectivityTest) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ConnectivityTest) SetObservation(obs map[string]any) error
- func (tr *ConnectivityTest) SetParameters(params map[string]any) error
- func (mg *ConnectivityTest) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ConnectivityTest) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ConnectivityTestInitParameters
- type ConnectivityTestList
- type ConnectivityTestObservation
- type ConnectivityTestParameters
- type ConnectivityTestSpec
- type ConnectivityTestStatus
- type DestinationInitParameters
- type DestinationObservation
- type DestinationParameters
- type SourceInitParameters
- type SourceObservation
- type SourceParameters
Constants ¶
const ( CRDGroup = "networkmanagement.gcp.upbound.io" CRDVersion = "v1beta2" )
Package type metadata.
Variables ¶
var ( ConnectivityTest_Kind = "ConnectivityTest" ConnectivityTest_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ConnectivityTest_Kind}.String() ConnectivityTest_KindAPIVersion = ConnectivityTest_Kind + "." + CRDGroupVersion.String() ConnectivityTest_GroupVersionKind = CRDGroupVersion.WithKind(ConnectivityTest_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type AppEngineVersionInitParameters ¶
type AppEngineVersionInitParameters struct {
// A Cloud Run revision URI.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
func (*AppEngineVersionInitParameters) DeepCopy ¶
func (in *AppEngineVersionInitParameters) DeepCopy() *AppEngineVersionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEngineVersionInitParameters.
func (*AppEngineVersionInitParameters) DeepCopyInto ¶
func (in *AppEngineVersionInitParameters) DeepCopyInto(out *AppEngineVersionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEngineVersionObservation ¶
type AppEngineVersionObservation struct {
// A Cloud Run revision URI.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
func (*AppEngineVersionObservation) DeepCopy ¶
func (in *AppEngineVersionObservation) DeepCopy() *AppEngineVersionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEngineVersionObservation.
func (*AppEngineVersionObservation) DeepCopyInto ¶
func (in *AppEngineVersionObservation) DeepCopyInto(out *AppEngineVersionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEngineVersionParameters ¶
type AppEngineVersionParameters struct {
// A Cloud Run revision URI.
// +kubebuilder:validation:Optional
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
func (*AppEngineVersionParameters) DeepCopy ¶
func (in *AppEngineVersionParameters) DeepCopy() *AppEngineVersionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEngineVersionParameters.
func (*AppEngineVersionParameters) DeepCopyInto ¶
func (in *AppEngineVersionParameters) DeepCopyInto(out *AppEngineVersionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudFunctionInitParameters ¶
type CloudFunctionInitParameters struct {
// A Cloud Run revision URI.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
func (*CloudFunctionInitParameters) DeepCopy ¶
func (in *CloudFunctionInitParameters) DeepCopy() *CloudFunctionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudFunctionInitParameters.
func (*CloudFunctionInitParameters) DeepCopyInto ¶
func (in *CloudFunctionInitParameters) DeepCopyInto(out *CloudFunctionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudFunctionObservation ¶
type CloudFunctionObservation struct {
// A Cloud Run revision URI.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
func (*CloudFunctionObservation) DeepCopy ¶
func (in *CloudFunctionObservation) DeepCopy() *CloudFunctionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudFunctionObservation.
func (*CloudFunctionObservation) DeepCopyInto ¶
func (in *CloudFunctionObservation) DeepCopyInto(out *CloudFunctionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudFunctionParameters ¶
type CloudFunctionParameters struct {
// A Cloud Run revision URI.
// +kubebuilder:validation:Optional
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
func (*CloudFunctionParameters) DeepCopy ¶
func (in *CloudFunctionParameters) DeepCopy() *CloudFunctionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudFunctionParameters.
func (*CloudFunctionParameters) DeepCopyInto ¶
func (in *CloudFunctionParameters) DeepCopyInto(out *CloudFunctionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudRunRevisionInitParameters ¶
type CloudRunRevisionInitParameters struct {
// A Cloud Run revision URI.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
func (*CloudRunRevisionInitParameters) DeepCopy ¶
func (in *CloudRunRevisionInitParameters) DeepCopy() *CloudRunRevisionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudRunRevisionInitParameters.
func (*CloudRunRevisionInitParameters) DeepCopyInto ¶
func (in *CloudRunRevisionInitParameters) DeepCopyInto(out *CloudRunRevisionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudRunRevisionObservation ¶
type CloudRunRevisionObservation struct {
// A Cloud Run revision URI.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
func (*CloudRunRevisionObservation) DeepCopy ¶
func (in *CloudRunRevisionObservation) DeepCopy() *CloudRunRevisionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudRunRevisionObservation.
func (*CloudRunRevisionObservation) DeepCopyInto ¶
func (in *CloudRunRevisionObservation) DeepCopyInto(out *CloudRunRevisionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudRunRevisionParameters ¶
type CloudRunRevisionParameters struct {
// A Cloud Run revision URI.
// +kubebuilder:validation:Optional
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
func (*CloudRunRevisionParameters) DeepCopy ¶
func (in *CloudRunRevisionParameters) DeepCopy() *CloudRunRevisionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudRunRevisionParameters.
func (*CloudRunRevisionParameters) DeepCopyInto ¶
func (in *CloudRunRevisionParameters) DeepCopyInto(out *CloudRunRevisionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectivityTest ¶
type ConnectivityTest struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || (has(self.initProvider) && has(self.initProvider.destination))",message="spec.forProvider.destination is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || (has(self.initProvider) && has(self.initProvider.source))",message="spec.forProvider.source is a required parameter"
Spec ConnectivityTestSpec `json:"spec"`
Status ConnectivityTestStatus `json:"status,omitempty"`
}
ConnectivityTest is the Schema for the ConnectivityTests API. A connectivity test are a static analysis of your resource configurations that enables you to evaluate connectivity to and from Google Cloud resources in your Virtual Private Cloud (VPC) network. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*ConnectivityTest) DeepCopy ¶
func (in *ConnectivityTest) DeepCopy() *ConnectivityTest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTest.
func (*ConnectivityTest) DeepCopyInto ¶
func (in *ConnectivityTest) DeepCopyInto(out *ConnectivityTest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectivityTest) DeepCopyObject ¶
func (in *ConnectivityTest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConnectivityTest) GetCondition ¶
func (mg *ConnectivityTest) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ConnectivityTest.
func (*ConnectivityTest) GetConnectionDetailsMapping ¶
func (tr *ConnectivityTest) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ConnectivityTest
func (*ConnectivityTest) GetDeletionPolicy ¶
func (mg *ConnectivityTest) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ConnectivityTest.
func (*ConnectivityTest) GetID ¶
func (tr *ConnectivityTest) GetID() string
GetID returns ID of underlying Terraform resource of this ConnectivityTest
func (*ConnectivityTest) GetInitParameters ¶
func (tr *ConnectivityTest) GetInitParameters() (map[string]any, error)
GetInitParameters of this ConnectivityTest
func (*ConnectivityTest) GetManagementPolicies ¶
func (mg *ConnectivityTest) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ConnectivityTest.
func (*ConnectivityTest) GetMergedParameters ¶
func (tr *ConnectivityTest) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this ConnectivityTest
func (*ConnectivityTest) GetObservation ¶
func (tr *ConnectivityTest) GetObservation() (map[string]any, error)
GetObservation of this ConnectivityTest
func (*ConnectivityTest) GetParameters ¶
func (tr *ConnectivityTest) GetParameters() (map[string]any, error)
GetParameters of this ConnectivityTest
func (*ConnectivityTest) GetProviderConfigReference ¶
func (mg *ConnectivityTest) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ConnectivityTest.
func (*ConnectivityTest) GetTerraformResourceType ¶
func (mg *ConnectivityTest) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ConnectivityTest
func (*ConnectivityTest) GetTerraformSchemaVersion ¶
func (tr *ConnectivityTest) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ConnectivityTest) GetWriteConnectionSecretToReference ¶
func (mg *ConnectivityTest) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ConnectivityTest.
func (*ConnectivityTest) Hub ¶
func (tr *ConnectivityTest) Hub()
Hub marks this type as a conversion hub.
func (*ConnectivityTest) LateInitialize ¶
func (tr *ConnectivityTest) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ConnectivityTest using its observed tfState. returns True if there are any spec changes for the resource.
func (*ConnectivityTest) ResolveReferences ¶
func (*ConnectivityTest) SetConditions ¶
func (mg *ConnectivityTest) SetConditions(c ...xpv1.Condition)
SetConditions of this ConnectivityTest.
func (*ConnectivityTest) SetDeletionPolicy ¶
func (mg *ConnectivityTest) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ConnectivityTest.
func (*ConnectivityTest) SetManagementPolicies ¶
func (mg *ConnectivityTest) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ConnectivityTest.
func (*ConnectivityTest) SetObservation ¶
func (tr *ConnectivityTest) SetObservation(obs map[string]any) error
SetObservation for this ConnectivityTest
func (*ConnectivityTest) SetParameters ¶
func (tr *ConnectivityTest) SetParameters(params map[string]any) error
SetParameters for this ConnectivityTest
func (*ConnectivityTest) SetProviderConfigReference ¶
func (mg *ConnectivityTest) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ConnectivityTest.
func (*ConnectivityTest) SetWriteConnectionSecretToReference ¶
func (mg *ConnectivityTest) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ConnectivityTest.
type ConnectivityTestInitParameters ¶
type ConnectivityTestInitParameters struct {
// Whether the analysis should skip firewall checking. Default value is false.
BypassFirewallChecks *bool `json:"bypassFirewallChecks,omitempty" tf:"bypass_firewall_checks,omitempty"`
// The user-supplied description of the Connectivity Test.
// Maximum of 512 characters.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Required. Destination specification of the Connectivity Test.
// You can use a combination of destination IP address, URI of a supported
// endpoint, project ID, or VPC network to identify the destination location.
// Reachability analysis proceeds even if the destination location is
// ambiguous. However, the test result might include endpoints or use a
// destination that you don't intend to test.
// Structure is documented below.
Destination *DestinationInitParameters `json:"destination,omitempty" tf:"destination,omitempty"`
// Resource labels to represent user-provided metadata.
// +mapType=granular
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// Unique name for the connectivity test.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The ID of the project in which the resource belongs.
// If it is not provided, the provider project is used.
Project *string `json:"project,omitempty" tf:"project,omitempty"`
// IP Protocol of the test. When not provided, "TCP" is assumed.
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
// Other projects that may be relevant for reachability analysis.
// This is applicable to scenarios where a test can cross project
// boundaries.
RelatedProjects []*string `json:"relatedProjects,omitempty" tf:"related_projects,omitempty"`
// Whether run analysis for the return path from destination to source.
// Default value is false.
RoundTrip *bool `json:"roundTrip,omitempty" tf:"round_trip,omitempty"`
// Required. Source specification of the Connectivity Test.
// You can use a combination of source IP address, URI of a supported
// endpoint, project ID, or VPC network to identify the source location.
// Reachability analysis might proceed even if the source location is
// ambiguous. However, the test result might include endpoints or use a source
// that you don't intend to test.
// Structure is documented below.
Source *SourceInitParameters `json:"source,omitempty" tf:"source,omitempty"`
}
func (*ConnectivityTestInitParameters) DeepCopy ¶
func (in *ConnectivityTestInitParameters) DeepCopy() *ConnectivityTestInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestInitParameters.
func (*ConnectivityTestInitParameters) DeepCopyInto ¶
func (in *ConnectivityTestInitParameters) DeepCopyInto(out *ConnectivityTestInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectivityTestList ¶
type ConnectivityTestList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ConnectivityTest `json:"items"`
}
ConnectivityTestList contains a list of ConnectivityTests
func (*ConnectivityTestList) DeepCopy ¶
func (in *ConnectivityTestList) DeepCopy() *ConnectivityTestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestList.
func (*ConnectivityTestList) DeepCopyInto ¶
func (in *ConnectivityTestList) DeepCopyInto(out *ConnectivityTestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectivityTestList) DeepCopyObject ¶
func (in *ConnectivityTestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConnectivityTestList) GetItems ¶
func (l *ConnectivityTestList) GetItems() []resource.Managed
GetItems of this ConnectivityTestList.
type ConnectivityTestObservation ¶
type ConnectivityTestObservation struct {
// Whether the analysis should skip firewall checking. Default value is false.
BypassFirewallChecks *bool `json:"bypassFirewallChecks,omitempty" tf:"bypass_firewall_checks,omitempty"`
// The user-supplied description of the Connectivity Test.
// Maximum of 512 characters.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Required. Destination specification of the Connectivity Test.
// You can use a combination of destination IP address, URI of a supported
// endpoint, project ID, or VPC network to identify the destination location.
// Reachability analysis proceeds even if the destination location is
// ambiguous. However, the test result might include endpoints or use a
// destination that you don't intend to test.
// Structure is documented below.
Destination *DestinationObservation `json:"destination,omitempty" tf:"destination,omitempty"`
// for all of the labels present on the resource.
// +mapType=granular
EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"`
// an identifier for the resource with format projects/{{project}}/locations/global/connectivityTests/{{name}}
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Resource labels to represent user-provided metadata.
// +mapType=granular
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// Unique name for the connectivity test.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The ID of the project in which the resource belongs.
// If it is not provided, the provider project is used.
Project *string `json:"project,omitempty" tf:"project,omitempty"`
// IP Protocol of the test. When not provided, "TCP" is assumed.
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
// Other projects that may be relevant for reachability analysis.
// This is applicable to scenarios where a test can cross project
// boundaries.
RelatedProjects []*string `json:"relatedProjects,omitempty" tf:"related_projects,omitempty"`
// Whether run analysis for the return path from destination to source.
// Default value is false.
RoundTrip *bool `json:"roundTrip,omitempty" tf:"round_trip,omitempty"`
// Required. Source specification of the Connectivity Test.
// You can use a combination of source IP address, URI of a supported
// endpoint, project ID, or VPC network to identify the source location.
// Reachability analysis might proceed even if the source location is
// ambiguous. However, the test result might include endpoints or use a source
// that you don't intend to test.
// Structure is documented below.
Source *SourceObservation `json:"source,omitempty" tf:"source,omitempty"`
// The combination of labels configured directly on the resource
// and default labels configured on the provider.
// +mapType=granular
TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"`
}
func (*ConnectivityTestObservation) DeepCopy ¶
func (in *ConnectivityTestObservation) DeepCopy() *ConnectivityTestObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestObservation.
func (*ConnectivityTestObservation) DeepCopyInto ¶
func (in *ConnectivityTestObservation) DeepCopyInto(out *ConnectivityTestObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectivityTestParameters ¶
type ConnectivityTestParameters struct {
// Whether the analysis should skip firewall checking. Default value is false.
// +kubebuilder:validation:Optional
BypassFirewallChecks *bool `json:"bypassFirewallChecks,omitempty" tf:"bypass_firewall_checks,omitempty"`
// The user-supplied description of the Connectivity Test.
// Maximum of 512 characters.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Required. Destination specification of the Connectivity Test.
// You can use a combination of destination IP address, URI of a supported
// endpoint, project ID, or VPC network to identify the destination location.
// Reachability analysis proceeds even if the destination location is
// ambiguous. However, the test result might include endpoints or use a
// destination that you don't intend to test.
// Structure is documented below.
// +kubebuilder:validation:Optional
Destination *DestinationParameters `json:"destination,omitempty" tf:"destination,omitempty"`
// Resource labels to represent user-provided metadata.
// +kubebuilder:validation:Optional
// +mapType=granular
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// Unique name for the connectivity test.
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,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"`
// IP Protocol of the test. When not provided, "TCP" is assumed.
// +kubebuilder:validation:Optional
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
// Other projects that may be relevant for reachability analysis.
// This is applicable to scenarios where a test can cross project
// boundaries.
// +kubebuilder:validation:Optional
RelatedProjects []*string `json:"relatedProjects,omitempty" tf:"related_projects,omitempty"`
// Whether run analysis for the return path from destination to source.
// Default value is false.
// +kubebuilder:validation:Optional
RoundTrip *bool `json:"roundTrip,omitempty" tf:"round_trip,omitempty"`
// Required. Source specification of the Connectivity Test.
// You can use a combination of source IP address, URI of a supported
// endpoint, project ID, or VPC network to identify the source location.
// Reachability analysis might proceed even if the source location is
// ambiguous. However, the test result might include endpoints or use a source
// that you don't intend to test.
// Structure is documented below.
// +kubebuilder:validation:Optional
Source *SourceParameters `json:"source,omitempty" tf:"source,omitempty"`
}
func (*ConnectivityTestParameters) DeepCopy ¶
func (in *ConnectivityTestParameters) DeepCopy() *ConnectivityTestParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestParameters.
func (*ConnectivityTestParameters) DeepCopyInto ¶
func (in *ConnectivityTestParameters) DeepCopyInto(out *ConnectivityTestParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectivityTestSpec ¶
type ConnectivityTestSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider ConnectivityTestParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider ConnectivityTestInitParameters `json:"initProvider,omitempty"`
}
ConnectivityTestSpec defines the desired state of ConnectivityTest
func (*ConnectivityTestSpec) DeepCopy ¶
func (in *ConnectivityTestSpec) DeepCopy() *ConnectivityTestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestSpec.
func (*ConnectivityTestSpec) DeepCopyInto ¶
func (in *ConnectivityTestSpec) DeepCopyInto(out *ConnectivityTestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectivityTestStatus ¶
type ConnectivityTestStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider ConnectivityTestObservation `json:"atProvider,omitempty"`
}
ConnectivityTestStatus defines the observed state of ConnectivityTest.
func (*ConnectivityTestStatus) DeepCopy ¶
func (in *ConnectivityTestStatus) DeepCopy() *ConnectivityTestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestStatus.
func (*ConnectivityTestStatus) DeepCopyInto ¶
func (in *ConnectivityTestStatus) DeepCopyInto(out *ConnectivityTestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationInitParameters ¶
type DestinationInitParameters struct {
// A Cloud SQL instance URI.
CloudSQLInstance *string `json:"cloudSqlInstance,omitempty" tf:"cloud_sql_instance,omitempty"`
// Forwarding rule URI. Forwarding rules are frontends for load balancers,
// PSC endpoints, and Protocol Forwarding.
ForwardingRule *string `json:"forwardingRule,omitempty" tf:"forwarding_rule,omitempty"`
// A DNS endpoint of Google Kubernetes Engine cluster control plane.
// Requires gke_master_cluster to be set, can't be used simultaneoulsly with
// ip_address or network. Applicable only to destination endpoint.
Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`
// A cluster URI for Google Kubernetes Engine cluster control plane.
GkeMasterCluster *string `json:"gkeMasterCluster,omitempty" tf:"gke_master_cluster,omitempty"`
// The IP address of the endpoint, which can be an external or internal IP.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Address
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("address",false)
IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`
// Reference to a Address in compute to populate ipAddress.
// +kubebuilder:validation:Optional
IPAddressRef *v1.Reference `json:"ipAddressRef,omitempty" tf:"-"`
// Selector for a Address in compute to populate ipAddress.
// +kubebuilder:validation:Optional
IPAddressSelector *v1.Selector `json:"ipAddressSelector,omitempty" tf:"-"`
// A Compute Engine instance URI.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta2.Instance
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID()
Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`
// Reference to a Instance in compute to populate instance.
// +kubebuilder:validation:Optional
InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`
// Selector for a Instance in compute to populate instance.
// +kubebuilder:validation:Optional
InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"`
// A VPC network URI.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Network
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID()
Network *string `json:"network,omitempty" tf:"network,omitempty"`
// Reference to a Network in compute to populate network.
// +kubebuilder:validation:Optional
NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"`
// Selector for a Network in compute to populate network.
// +kubebuilder:validation:Optional
NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"`
// The IP protocol port of the endpoint. Only applicable when protocol is
// TCP or UDP.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Project ID where the endpoint is located.
// The project ID can be derived from the URI if you provide a endpoint or
// network URI.
// The following are two cases where you may need to provide the project ID:
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Address
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("project",false)
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// Reference to a Address in compute to populate projectId.
// +kubebuilder:validation:Optional
ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`
// Selector for a Address in compute to populate projectId.
// +kubebuilder:validation:Optional
ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`
// A Redis Cluster URI.
RedisCluster *string `json:"redisCluster,omitempty" tf:"redis_cluster,omitempty"`
// A Redis Instance URI.
RedisInstance *string `json:"redisInstance,omitempty" tf:"redis_instance,omitempty"`
}
func (*DestinationInitParameters) DeepCopy ¶
func (in *DestinationInitParameters) DeepCopy() *DestinationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationInitParameters.
func (*DestinationInitParameters) DeepCopyInto ¶
func (in *DestinationInitParameters) DeepCopyInto(out *DestinationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationObservation ¶
type DestinationObservation struct {
// A Cloud SQL instance URI.
CloudSQLInstance *string `json:"cloudSqlInstance,omitempty" tf:"cloud_sql_instance,omitempty"`
// Forwarding rule URI. Forwarding rules are frontends for load balancers,
// PSC endpoints, and Protocol Forwarding.
ForwardingRule *string `json:"forwardingRule,omitempty" tf:"forwarding_rule,omitempty"`
// A DNS endpoint of Google Kubernetes Engine cluster control plane.
// Requires gke_master_cluster to be set, can't be used simultaneoulsly with
// ip_address or network. Applicable only to destination endpoint.
Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`
// A cluster URI for Google Kubernetes Engine cluster control plane.
GkeMasterCluster *string `json:"gkeMasterCluster,omitempty" tf:"gke_master_cluster,omitempty"`
// The IP address of the endpoint, which can be an external or internal IP.
IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`
// A Compute Engine instance URI.
Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`
// A VPC network URI.
Network *string `json:"network,omitempty" tf:"network,omitempty"`
// The IP protocol port of the endpoint. Only applicable when protocol is
// TCP or UDP.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Project ID where the endpoint is located.
// The project ID can be derived from the URI if you provide a endpoint or
// network URI.
// The following are two cases where you may need to provide the project ID:
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// A Redis Cluster URI.
RedisCluster *string `json:"redisCluster,omitempty" tf:"redis_cluster,omitempty"`
// A Redis Instance URI.
RedisInstance *string `json:"redisInstance,omitempty" tf:"redis_instance,omitempty"`
}
func (*DestinationObservation) DeepCopy ¶
func (in *DestinationObservation) DeepCopy() *DestinationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationObservation.
func (*DestinationObservation) DeepCopyInto ¶
func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationParameters ¶
type DestinationParameters struct {
// A Cloud SQL instance URI.
// +kubebuilder:validation:Optional
CloudSQLInstance *string `json:"cloudSqlInstance,omitempty" tf:"cloud_sql_instance,omitempty"`
// Forwarding rule URI. Forwarding rules are frontends for load balancers,
// PSC endpoints, and Protocol Forwarding.
// +kubebuilder:validation:Optional
ForwardingRule *string `json:"forwardingRule,omitempty" tf:"forwarding_rule,omitempty"`
// A DNS endpoint of Google Kubernetes Engine cluster control plane.
// Requires gke_master_cluster to be set, can't be used simultaneoulsly with
// ip_address or network. Applicable only to destination endpoint.
// +kubebuilder:validation:Optional
Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`
// A cluster URI for Google Kubernetes Engine cluster control plane.
// +kubebuilder:validation:Optional
GkeMasterCluster *string `json:"gkeMasterCluster,omitempty" tf:"gke_master_cluster,omitempty"`
// The IP address of the endpoint, which can be an external or internal IP.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Address
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("address",false)
// +kubebuilder:validation:Optional
IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`
// Reference to a Address in compute to populate ipAddress.
// +kubebuilder:validation:Optional
IPAddressRef *v1.Reference `json:"ipAddressRef,omitempty" tf:"-"`
// Selector for a Address in compute to populate ipAddress.
// +kubebuilder:validation:Optional
IPAddressSelector *v1.Selector `json:"ipAddressSelector,omitempty" tf:"-"`
// A Compute Engine instance URI.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta2.Instance
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID()
// +kubebuilder:validation:Optional
Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`
// Reference to a Instance in compute to populate instance.
// +kubebuilder:validation:Optional
InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`
// Selector for a Instance in compute to populate instance.
// +kubebuilder:validation:Optional
InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"`
// A VPC network URI.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Network
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID()
// +kubebuilder:validation:Optional
Network *string `json:"network,omitempty" tf:"network,omitempty"`
// Reference to a Network in compute to populate network.
// +kubebuilder:validation:Optional
NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"`
// Selector for a Network in compute to populate network.
// +kubebuilder:validation:Optional
NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"`
// The IP protocol port of the endpoint. Only applicable when protocol is
// TCP or UDP.
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Project ID where the endpoint is located.
// The project ID can be derived from the URI if you provide a endpoint or
// network URI.
// The following are two cases where you may need to provide the project ID:
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Address
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("project",false)
// +kubebuilder:validation:Optional
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// Reference to a Address in compute to populate projectId.
// +kubebuilder:validation:Optional
ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`
// Selector for a Address in compute to populate projectId.
// +kubebuilder:validation:Optional
ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`
// A Redis Cluster URI.
// +kubebuilder:validation:Optional
RedisCluster *string `json:"redisCluster,omitempty" tf:"redis_cluster,omitempty"`
// A Redis Instance URI.
// +kubebuilder:validation:Optional
RedisInstance *string `json:"redisInstance,omitempty" tf:"redis_instance,omitempty"`
}
func (*DestinationParameters) DeepCopy ¶
func (in *DestinationParameters) DeepCopy() *DestinationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationParameters.
func (*DestinationParameters) DeepCopyInto ¶
func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceInitParameters ¶
type SourceInitParameters struct {
// An App Engine service version.
// Structure is documented below.
AppEngineVersion *AppEngineVersionInitParameters `json:"appEngineVersion,omitempty" tf:"app_engine_version,omitempty"`
// A Cloud Function.
// Structure is documented below.
CloudFunction *CloudFunctionInitParameters `json:"cloudFunction,omitempty" tf:"cloud_function,omitempty"`
// A Cloud Run revision.
// Structure is documented below.
CloudRunRevision *CloudRunRevisionInitParameters `json:"cloudRunRevision,omitempty" tf:"cloud_run_revision,omitempty"`
// A Cloud SQL instance URI.
CloudSQLInstance *string `json:"cloudSqlInstance,omitempty" tf:"cloud_sql_instance,omitempty"`
// A cluster URI for Google Kubernetes Engine cluster control plane.
GkeMasterCluster *string `json:"gkeMasterCluster,omitempty" tf:"gke_master_cluster,omitempty"`
// The IP address of the endpoint, which can be an external or internal IP.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Address
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("address",false)
IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`
// Reference to a Address in compute to populate ipAddress.
// +kubebuilder:validation:Optional
IPAddressRef *v1.Reference `json:"ipAddressRef,omitempty" tf:"-"`
// Selector for a Address in compute to populate ipAddress.
// +kubebuilder:validation:Optional
IPAddressSelector *v1.Selector `json:"ipAddressSelector,omitempty" tf:"-"`
// A Compute Engine instance URI.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta2.Instance
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID()
Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`
// Reference to a Instance in compute to populate instance.
// +kubebuilder:validation:Optional
InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`
// Selector for a Instance in compute to populate instance.
// +kubebuilder:validation:Optional
InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"`
// A VPC network URI.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Network
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID()
Network *string `json:"network,omitempty" tf:"network,omitempty"`
// Reference to a Network in compute to populate network.
// +kubebuilder:validation:Optional
NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"`
// Selector for a Network in compute to populate network.
// +kubebuilder:validation:Optional
NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"`
// Type of the network where the endpoint is located.
// Possible values are: GCP_NETWORK, NON_GCP_NETWORK.
NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`
// The IP protocol port of the endpoint. Only applicable when protocol is
// TCP or UDP.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Project ID where the endpoint is located.
// The project ID can be derived from the URI if you provide a endpoint or
// network URI.
// The following are two cases where you may need to provide the project ID:
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Address
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("project",false)
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// Reference to a Address in compute to populate projectId.
// +kubebuilder:validation:Optional
ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`
// Selector for a Address in compute to populate projectId.
// +kubebuilder:validation:Optional
ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`
}
func (*SourceInitParameters) DeepCopy ¶
func (in *SourceInitParameters) DeepCopy() *SourceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceInitParameters.
func (*SourceInitParameters) DeepCopyInto ¶
func (in *SourceInitParameters) DeepCopyInto(out *SourceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceObservation ¶
type SourceObservation struct {
// An App Engine service version.
// Structure is documented below.
AppEngineVersion *AppEngineVersionObservation `json:"appEngineVersion,omitempty" tf:"app_engine_version,omitempty"`
// A Cloud Function.
// Structure is documented below.
CloudFunction *CloudFunctionObservation `json:"cloudFunction,omitempty" tf:"cloud_function,omitempty"`
// A Cloud Run revision.
// Structure is documented below.
CloudRunRevision *CloudRunRevisionObservation `json:"cloudRunRevision,omitempty" tf:"cloud_run_revision,omitempty"`
// A Cloud SQL instance URI.
CloudSQLInstance *string `json:"cloudSqlInstance,omitempty" tf:"cloud_sql_instance,omitempty"`
// A cluster URI for Google Kubernetes Engine cluster control plane.
GkeMasterCluster *string `json:"gkeMasterCluster,omitempty" tf:"gke_master_cluster,omitempty"`
// The IP address of the endpoint, which can be an external or internal IP.
IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`
// A Compute Engine instance URI.
Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`
// A VPC network URI.
Network *string `json:"network,omitempty" tf:"network,omitempty"`
// Type of the network where the endpoint is located.
// Possible values are: GCP_NETWORK, NON_GCP_NETWORK.
NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`
// The IP protocol port of the endpoint. Only applicable when protocol is
// TCP or UDP.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Project ID where the endpoint is located.
// The project ID can be derived from the URI if you provide a endpoint or
// network URI.
// The following are two cases where you may need to provide the project ID:
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
}
func (*SourceObservation) DeepCopy ¶
func (in *SourceObservation) DeepCopy() *SourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceObservation.
func (*SourceObservation) DeepCopyInto ¶
func (in *SourceObservation) DeepCopyInto(out *SourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceParameters ¶
type SourceParameters struct {
// An App Engine service version.
// Structure is documented below.
// +kubebuilder:validation:Optional
AppEngineVersion *AppEngineVersionParameters `json:"appEngineVersion,omitempty" tf:"app_engine_version,omitempty"`
// A Cloud Function.
// Structure is documented below.
// +kubebuilder:validation:Optional
CloudFunction *CloudFunctionParameters `json:"cloudFunction,omitempty" tf:"cloud_function,omitempty"`
// A Cloud Run revision.
// Structure is documented below.
// +kubebuilder:validation:Optional
CloudRunRevision *CloudRunRevisionParameters `json:"cloudRunRevision,omitempty" tf:"cloud_run_revision,omitempty"`
// A Cloud SQL instance URI.
// +kubebuilder:validation:Optional
CloudSQLInstance *string `json:"cloudSqlInstance,omitempty" tf:"cloud_sql_instance,omitempty"`
// A cluster URI for Google Kubernetes Engine cluster control plane.
// +kubebuilder:validation:Optional
GkeMasterCluster *string `json:"gkeMasterCluster,omitempty" tf:"gke_master_cluster,omitempty"`
// The IP address of the endpoint, which can be an external or internal IP.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Address
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("address",false)
// +kubebuilder:validation:Optional
IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`
// Reference to a Address in compute to populate ipAddress.
// +kubebuilder:validation:Optional
IPAddressRef *v1.Reference `json:"ipAddressRef,omitempty" tf:"-"`
// Selector for a Address in compute to populate ipAddress.
// +kubebuilder:validation:Optional
IPAddressSelector *v1.Selector `json:"ipAddressSelector,omitempty" tf:"-"`
// A Compute Engine instance URI.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta2.Instance
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID()
// +kubebuilder:validation:Optional
Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`
// Reference to a Instance in compute to populate instance.
// +kubebuilder:validation:Optional
InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`
// Selector for a Instance in compute to populate instance.
// +kubebuilder:validation:Optional
InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"`
// A VPC network URI.
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Network
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID()
// +kubebuilder:validation:Optional
Network *string `json:"network,omitempty" tf:"network,omitempty"`
// Reference to a Network in compute to populate network.
// +kubebuilder:validation:Optional
NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"`
// Selector for a Network in compute to populate network.
// +kubebuilder:validation:Optional
NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"`
// Type of the network where the endpoint is located.
// Possible values are: GCP_NETWORK, NON_GCP_NETWORK.
// +kubebuilder:validation:Optional
NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`
// The IP protocol port of the endpoint. Only applicable when protocol is
// TCP or UDP.
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Project ID where the endpoint is located.
// The project ID can be derived from the URI if you provide a endpoint or
// network URI.
// The following are two cases where you may need to provide the project ID:
// +crossplane:generate:reference:type=github.com/johngray-glitch/provider-upjet-gcp/v2/apis/cluster/compute/v1beta1.Address
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("project",false)
// +kubebuilder:validation:Optional
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// Reference to a Address in compute to populate projectId.
// +kubebuilder:validation:Optional
ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`
// Selector for a Address in compute to populate projectId.
// +kubebuilder:validation:Optional
ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`
}
func (*SourceParameters) DeepCopy ¶
func (in *SourceParameters) DeepCopy() *SourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceParameters.
func (*SourceParameters) DeepCopyInto ¶
func (in *SourceParameters) DeepCopyInto(out *SourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.