Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=networkconnectivity.gcp.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type InstancesInitParameters
- type InstancesObservation
- type InstancesParameters
- type LinkedInterconnectAttachmentsInitParameters
- type LinkedInterconnectAttachmentsObservation
- type LinkedInterconnectAttachmentsParameters
- type LinkedRouterApplianceInstancesInitParameters
- type LinkedRouterApplianceInstancesObservation
- type LinkedRouterApplianceInstancesParameters
- type LinkedVPCNetworkInitParameters
- type LinkedVPCNetworkObservation
- type LinkedVPCNetworkParameters
- type LinkedVPNTunnelsInitParameters
- type LinkedVPNTunnelsObservation
- type LinkedVPNTunnelsParameters
- type Spoke
- func (in *Spoke) DeepCopy() *Spoke
- func (in *Spoke) DeepCopyInto(out *Spoke)
- func (in *Spoke) DeepCopyObject() runtime.Object
- func (mg *Spoke) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Spoke) GetConnectionDetailsMapping() map[string]string
- func (mg *Spoke) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Spoke) GetID() string
- func (tr *Spoke) GetInitParameters() (map[string]any, error)
- func (mg *Spoke) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Spoke) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Spoke) GetObservation() (map[string]any, error)
- func (tr *Spoke) GetParameters() (map[string]any, error)
- func (mg *Spoke) GetProviderConfigReference() *xpv1.Reference
- func (mg *Spoke) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Spoke) GetTerraformResourceType() string
- func (tr *Spoke) GetTerraformSchemaVersion() int
- func (mg *Spoke) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Spoke) Hub()
- func (tr *Spoke) LateInitialize(attrs []byte) (bool, error)
- func (mg *Spoke) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Spoke) SetConditions(c ...xpv1.Condition)
- func (mg *Spoke) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Spoke) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Spoke) SetObservation(obs map[string]any) error
- func (tr *Spoke) SetParameters(params map[string]any) error
- func (mg *Spoke) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Spoke) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Spoke) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SpokeInitParameters
- type SpokeList
- type SpokeObservation
- type SpokeParameters
- type SpokeSpec
- type SpokeStatus
Constants ¶
const ( CRDGroup = "networkconnectivity.gcp.upbound.io" CRDVersion = "v1beta2" )
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 ( Spoke_Kind = "Spoke" Spoke_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Spoke_Kind}.String() Spoke_KindAPIVersion = Spoke_Kind + "." + CRDGroupVersion.String() Spoke_GroupVersionKind = CRDGroupVersion.WithKind(Spoke_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type InstancesInitParameters ¶
type InstancesInitParameters struct { // The IP address on the VM to use for peering. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The URI of the virtual machine resource // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta2.Instance // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("self_link",true) VirtualMachine *string `json:"virtualMachine,omitempty" tf:"virtual_machine,omitempty"` // Reference to a Instance in compute to populate virtualMachine. // +kubebuilder:validation:Optional VirtualMachineRef *v1.Reference `json:"virtualMachineRef,omitempty" tf:"-"` // Selector for a Instance in compute to populate virtualMachine. // +kubebuilder:validation:Optional VirtualMachineSelector *v1.Selector `json:"virtualMachineSelector,omitempty" tf:"-"` }
func (*InstancesInitParameters) DeepCopy ¶
func (in *InstancesInitParameters) DeepCopy() *InstancesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancesInitParameters.
func (*InstancesInitParameters) DeepCopyInto ¶
func (in *InstancesInitParameters) DeepCopyInto(out *InstancesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstancesObservation ¶
type InstancesObservation struct { // The IP address on the VM to use for peering. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The URI of the virtual machine resource VirtualMachine *string `json:"virtualMachine,omitempty" tf:"virtual_machine,omitempty"` }
func (*InstancesObservation) DeepCopy ¶
func (in *InstancesObservation) DeepCopy() *InstancesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancesObservation.
func (*InstancesObservation) DeepCopyInto ¶
func (in *InstancesObservation) DeepCopyInto(out *InstancesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstancesParameters ¶
type InstancesParameters struct { // The IP address on the VM to use for peering. // +kubebuilder:validation:Optional IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The URI of the virtual machine resource // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta2.Instance // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("self_link",true) // +kubebuilder:validation:Optional VirtualMachine *string `json:"virtualMachine,omitempty" tf:"virtual_machine,omitempty"` // Reference to a Instance in compute to populate virtualMachine. // +kubebuilder:validation:Optional VirtualMachineRef *v1.Reference `json:"virtualMachineRef,omitempty" tf:"-"` // Selector for a Instance in compute to populate virtualMachine. // +kubebuilder:validation:Optional VirtualMachineSelector *v1.Selector `json:"virtualMachineSelector,omitempty" tf:"-"` }
func (*InstancesParameters) DeepCopy ¶
func (in *InstancesParameters) DeepCopy() *InstancesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancesParameters.
func (*InstancesParameters) DeepCopyInto ¶
func (in *InstancesParameters) DeepCopyInto(out *InstancesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedInterconnectAttachmentsInitParameters ¶
type LinkedInterconnectAttachmentsInitParameters struct { // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"` // The URIs of linked interconnect attachment resources Uris []*string `json:"uris,omitempty" tf:"uris,omitempty"` }
func (*LinkedInterconnectAttachmentsInitParameters) DeepCopy ¶
func (in *LinkedInterconnectAttachmentsInitParameters) DeepCopy() *LinkedInterconnectAttachmentsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedInterconnectAttachmentsInitParameters.
func (*LinkedInterconnectAttachmentsInitParameters) DeepCopyInto ¶
func (in *LinkedInterconnectAttachmentsInitParameters) DeepCopyInto(out *LinkedInterconnectAttachmentsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedInterconnectAttachmentsObservation ¶
type LinkedInterconnectAttachmentsObservation struct { // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"` // The URIs of linked interconnect attachment resources Uris []*string `json:"uris,omitempty" tf:"uris,omitempty"` }
func (*LinkedInterconnectAttachmentsObservation) DeepCopy ¶
func (in *LinkedInterconnectAttachmentsObservation) DeepCopy() *LinkedInterconnectAttachmentsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedInterconnectAttachmentsObservation.
func (*LinkedInterconnectAttachmentsObservation) DeepCopyInto ¶
func (in *LinkedInterconnectAttachmentsObservation) DeepCopyInto(out *LinkedInterconnectAttachmentsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedInterconnectAttachmentsParameters ¶
type LinkedInterconnectAttachmentsParameters struct { // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. // +kubebuilder:validation:Optional SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer" tf:"site_to_site_data_transfer,omitempty"` // The URIs of linked interconnect attachment resources // +kubebuilder:validation:Optional Uris []*string `json:"uris" tf:"uris,omitempty"` }
func (*LinkedInterconnectAttachmentsParameters) DeepCopy ¶
func (in *LinkedInterconnectAttachmentsParameters) DeepCopy() *LinkedInterconnectAttachmentsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedInterconnectAttachmentsParameters.
func (*LinkedInterconnectAttachmentsParameters) DeepCopyInto ¶
func (in *LinkedInterconnectAttachmentsParameters) DeepCopyInto(out *LinkedInterconnectAttachmentsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedRouterApplianceInstancesInitParameters ¶
type LinkedRouterApplianceInstancesInitParameters struct { // The list of router appliance instances // Structure is documented below. Instances []InstancesInitParameters `json:"instances,omitempty" tf:"instances,omitempty"` // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"` }
func (*LinkedRouterApplianceInstancesInitParameters) DeepCopy ¶
func (in *LinkedRouterApplianceInstancesInitParameters) DeepCopy() *LinkedRouterApplianceInstancesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedRouterApplianceInstancesInitParameters.
func (*LinkedRouterApplianceInstancesInitParameters) DeepCopyInto ¶
func (in *LinkedRouterApplianceInstancesInitParameters) DeepCopyInto(out *LinkedRouterApplianceInstancesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedRouterApplianceInstancesObservation ¶
type LinkedRouterApplianceInstancesObservation struct { // The list of router appliance instances // Structure is documented below. Instances []InstancesObservation `json:"instances,omitempty" tf:"instances,omitempty"` // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"` }
func (*LinkedRouterApplianceInstancesObservation) DeepCopy ¶
func (in *LinkedRouterApplianceInstancesObservation) DeepCopy() *LinkedRouterApplianceInstancesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedRouterApplianceInstancesObservation.
func (*LinkedRouterApplianceInstancesObservation) DeepCopyInto ¶
func (in *LinkedRouterApplianceInstancesObservation) DeepCopyInto(out *LinkedRouterApplianceInstancesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedRouterApplianceInstancesParameters ¶
type LinkedRouterApplianceInstancesParameters struct { // The list of router appliance instances // Structure is documented below. // +kubebuilder:validation:Optional Instances []InstancesParameters `json:"instances" tf:"instances,omitempty"` // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. // +kubebuilder:validation:Optional SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer" tf:"site_to_site_data_transfer,omitempty"` }
func (*LinkedRouterApplianceInstancesParameters) DeepCopy ¶
func (in *LinkedRouterApplianceInstancesParameters) DeepCopy() *LinkedRouterApplianceInstancesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedRouterApplianceInstancesParameters.
func (*LinkedRouterApplianceInstancesParameters) DeepCopyInto ¶
func (in *LinkedRouterApplianceInstancesParameters) DeepCopyInto(out *LinkedRouterApplianceInstancesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedVPCNetworkInitParameters ¶
type LinkedVPCNetworkInitParameters struct { // IP ranges encompassing the subnets to be excluded from peering. ExcludeExportRanges []*string `json:"excludeExportRanges,omitempty" tf:"exclude_export_ranges,omitempty"` // The URI of the VPC network resource. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("self_link",true) URI *string `json:"uri,omitempty" tf:"uri,omitempty"` // Reference to a Network in compute to populate uri. // +kubebuilder:validation:Optional URIRef *v1.Reference `json:"uriRef,omitempty" tf:"-"` // Selector for a Network in compute to populate uri. // +kubebuilder:validation:Optional URISelector *v1.Selector `json:"uriSelector,omitempty" tf:"-"` }
func (*LinkedVPCNetworkInitParameters) DeepCopy ¶
func (in *LinkedVPCNetworkInitParameters) DeepCopy() *LinkedVPCNetworkInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPCNetworkInitParameters.
func (*LinkedVPCNetworkInitParameters) DeepCopyInto ¶
func (in *LinkedVPCNetworkInitParameters) DeepCopyInto(out *LinkedVPCNetworkInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedVPCNetworkObservation ¶
type LinkedVPCNetworkObservation struct { // IP ranges encompassing the subnets to be excluded from peering. ExcludeExportRanges []*string `json:"excludeExportRanges,omitempty" tf:"exclude_export_ranges,omitempty"` // The URI of the VPC network resource. URI *string `json:"uri,omitempty" tf:"uri,omitempty"` }
func (*LinkedVPCNetworkObservation) DeepCopy ¶
func (in *LinkedVPCNetworkObservation) DeepCopy() *LinkedVPCNetworkObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPCNetworkObservation.
func (*LinkedVPCNetworkObservation) DeepCopyInto ¶
func (in *LinkedVPCNetworkObservation) DeepCopyInto(out *LinkedVPCNetworkObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedVPCNetworkParameters ¶
type LinkedVPCNetworkParameters struct { // IP ranges encompassing the subnets to be excluded from peering. // +kubebuilder:validation:Optional ExcludeExportRanges []*string `json:"excludeExportRanges,omitempty" tf:"exclude_export_ranges,omitempty"` // The URI of the VPC network resource. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("self_link",true) // +kubebuilder:validation:Optional URI *string `json:"uri,omitempty" tf:"uri,omitempty"` // Reference to a Network in compute to populate uri. // +kubebuilder:validation:Optional URIRef *v1.Reference `json:"uriRef,omitempty" tf:"-"` // Selector for a Network in compute to populate uri. // +kubebuilder:validation:Optional URISelector *v1.Selector `json:"uriSelector,omitempty" tf:"-"` }
func (*LinkedVPCNetworkParameters) DeepCopy ¶
func (in *LinkedVPCNetworkParameters) DeepCopy() *LinkedVPCNetworkParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPCNetworkParameters.
func (*LinkedVPCNetworkParameters) DeepCopyInto ¶
func (in *LinkedVPCNetworkParameters) DeepCopyInto(out *LinkedVPCNetworkParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedVPNTunnelsInitParameters ¶
type LinkedVPNTunnelsInitParameters struct { // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"` // The URIs of linked VPN tunnel resources. Uris []*string `json:"uris,omitempty" tf:"uris,omitempty"` }
func (*LinkedVPNTunnelsInitParameters) DeepCopy ¶
func (in *LinkedVPNTunnelsInitParameters) DeepCopy() *LinkedVPNTunnelsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPNTunnelsInitParameters.
func (*LinkedVPNTunnelsInitParameters) DeepCopyInto ¶
func (in *LinkedVPNTunnelsInitParameters) DeepCopyInto(out *LinkedVPNTunnelsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedVPNTunnelsObservation ¶
type LinkedVPNTunnelsObservation struct { // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"` // The URIs of linked VPN tunnel resources. Uris []*string `json:"uris,omitempty" tf:"uris,omitempty"` }
func (*LinkedVPNTunnelsObservation) DeepCopy ¶
func (in *LinkedVPNTunnelsObservation) DeepCopy() *LinkedVPNTunnelsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPNTunnelsObservation.
func (*LinkedVPNTunnelsObservation) DeepCopyInto ¶
func (in *LinkedVPNTunnelsObservation) DeepCopyInto(out *LinkedVPNTunnelsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkedVPNTunnelsParameters ¶
type LinkedVPNTunnelsParameters struct { // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. // +kubebuilder:validation:Optional SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer" tf:"site_to_site_data_transfer,omitempty"` // The URIs of linked VPN tunnel resources. // +kubebuilder:validation:Optional Uris []*string `json:"uris" tf:"uris,omitempty"` }
func (*LinkedVPNTunnelsParameters) DeepCopy ¶
func (in *LinkedVPNTunnelsParameters) DeepCopy() *LinkedVPNTunnelsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPNTunnelsParameters.
func (*LinkedVPNTunnelsParameters) DeepCopyInto ¶
func (in *LinkedVPNTunnelsParameters) DeepCopyInto(out *LinkedVPNTunnelsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Spoke ¶
type Spoke 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.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location 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" Spec SpokeSpec `json:"spec"` Status SpokeStatus `json:"status,omitempty"` }
Spoke is the Schema for the Spokes API. The NetworkConnectivity Spoke resource +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 (*Spoke) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spoke.
func (*Spoke) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Spoke) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Spoke) GetCondition ¶
func (mg *Spoke) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Spoke.
func (*Spoke) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Spoke
func (*Spoke) GetDeletionPolicy ¶
func (mg *Spoke) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Spoke.
func (*Spoke) GetInitParameters ¶
GetInitParameters of this Spoke
func (*Spoke) GetManagementPolicies ¶
func (mg *Spoke) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Spoke.
func (*Spoke) GetMergedParameters ¶
GetInitParameters of this Spoke
func (*Spoke) GetObservation ¶
GetObservation of this Spoke
func (*Spoke) GetParameters ¶
GetParameters of this Spoke
func (*Spoke) GetProviderConfigReference ¶
GetProviderConfigReference of this Spoke.
func (*Spoke) GetPublishConnectionDetailsTo ¶
func (mg *Spoke) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Spoke.
func (*Spoke) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Spoke
func (*Spoke) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Spoke) GetWriteConnectionSecretToReference ¶
func (mg *Spoke) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Spoke.
func (*Spoke) LateInitialize ¶
LateInitialize this Spoke using its observed tfState. returns True if there are any spec changes for the resource.
func (*Spoke) ResolveReferences ¶
func (*Spoke) SetConditions ¶
SetConditions of this Spoke.
func (*Spoke) SetDeletionPolicy ¶
func (mg *Spoke) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Spoke.
func (*Spoke) SetManagementPolicies ¶
func (mg *Spoke) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Spoke.
func (*Spoke) SetObservation ¶
SetObservation for this Spoke
func (*Spoke) SetParameters ¶
SetParameters for this Spoke
func (*Spoke) SetProviderConfigReference ¶
SetProviderConfigReference of this Spoke.
func (*Spoke) SetPublishConnectionDetailsTo ¶
func (mg *Spoke) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Spoke.
func (*Spoke) SetWriteConnectionSecretToReference ¶
func (mg *Spoke) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Spoke.
type SpokeInitParameters ¶
type SpokeInitParameters struct { // An optional description of the spoke. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Immutable. The URI of the hub that this spoke is attached to. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/networkconnectivity/v1beta1.Hub // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() Hub *string `json:"hub,omitempty" tf:"hub,omitempty"` // Reference to a Hub in networkconnectivity to populate hub. // +kubebuilder:validation:Optional HubRef *v1.Reference `json:"hubRef,omitempty" tf:"-"` // Selector for a Hub in networkconnectivity to populate hub. // +kubebuilder:validation:Optional HubSelector *v1.Selector `json:"hubSelector,omitempty" tf:"-"` // Optional labels in key:value format. For more information about labels, see Requirements for labels. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. // Structure is documented below. LinkedInterconnectAttachments *LinkedInterconnectAttachmentsInitParameters `json:"linkedInterconnectAttachments,omitempty" tf:"linked_interconnect_attachments,omitempty"` // The URIs of linked Router appliance resources // Structure is documented below. LinkedRouterApplianceInstances *LinkedRouterApplianceInstancesInitParameters `json:"linkedRouterApplianceInstances,omitempty" tf:"linked_router_appliance_instances,omitempty"` // VPC network that is associated with the spoke. // Structure is documented below. LinkedVPCNetwork *LinkedVPCNetworkInitParameters `json:"linkedVpcNetwork,omitempty" tf:"linked_vpc_network,omitempty"` // The URIs of linked VPN tunnel resources // Structure is documented below. LinkedVPNTunnels *LinkedVPNTunnelsInitParameters `json:"linkedVpnTunnels,omitempty" tf:"linked_vpn_tunnels,omitempty"` // The location for the resource Location *string `json:"location,omitempty" tf:"location,omitempty"` // Immutable. The name of the spoke. Spoke names must be unique. 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"` }
func (*SpokeInitParameters) DeepCopy ¶
func (in *SpokeInitParameters) DeepCopy() *SpokeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeInitParameters.
func (*SpokeInitParameters) DeepCopyInto ¶
func (in *SpokeInitParameters) DeepCopyInto(out *SpokeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpokeList ¶
type SpokeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Spoke `json:"items"` }
SpokeList contains a list of Spokes
func (*SpokeList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeList.
func (*SpokeList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpokeList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SpokeObservation ¶
type SpokeObservation struct { // Output only. The time the spoke was created. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // An optional description of the spoke. Description *string `json:"description,omitempty" tf:"description,omitempty"` // +mapType=granular EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"` // Immutable. The URI of the hub that this spoke is attached to. Hub *string `json:"hub,omitempty" tf:"hub,omitempty"` // an identifier for the resource with format projects/{{project}}/locations/{{location}}/spokes/{{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // Optional labels in key:value format. For more information about labels, see Requirements for labels. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. // Structure is documented below. LinkedInterconnectAttachments *LinkedInterconnectAttachmentsObservation `json:"linkedInterconnectAttachments,omitempty" tf:"linked_interconnect_attachments,omitempty"` // The URIs of linked Router appliance resources // Structure is documented below. LinkedRouterApplianceInstances *LinkedRouterApplianceInstancesObservation `json:"linkedRouterApplianceInstances,omitempty" tf:"linked_router_appliance_instances,omitempty"` // VPC network that is associated with the spoke. // Structure is documented below. LinkedVPCNetwork *LinkedVPCNetworkObservation `json:"linkedVpcNetwork,omitempty" tf:"linked_vpc_network,omitempty"` // The URIs of linked VPN tunnel resources // Structure is documented below. LinkedVPNTunnels *LinkedVPNTunnelsObservation `json:"linkedVpnTunnels,omitempty" tf:"linked_vpn_tunnels,omitempty"` // The location for the resource Location *string `json:"location,omitempty" tf:"location,omitempty"` // Immutable. The name of the spoke. Spoke names must be unique. 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"` // Output only. The current lifecycle state of this spoke. State *string `json:"state,omitempty" tf:"state,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"` // Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id. UniqueID *string `json:"uniqueId,omitempty" tf:"unique_id,omitempty"` // Output only. The time the spoke was last updated. UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"` }
func (*SpokeObservation) DeepCopy ¶
func (in *SpokeObservation) DeepCopy() *SpokeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeObservation.
func (*SpokeObservation) DeepCopyInto ¶
func (in *SpokeObservation) DeepCopyInto(out *SpokeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpokeParameters ¶
type SpokeParameters struct { // An optional description of the spoke. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Immutable. The URI of the hub that this spoke is attached to. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/networkconnectivity/v1beta1.Hub // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional Hub *string `json:"hub,omitempty" tf:"hub,omitempty"` // Reference to a Hub in networkconnectivity to populate hub. // +kubebuilder:validation:Optional HubRef *v1.Reference `json:"hubRef,omitempty" tf:"-"` // Selector for a Hub in networkconnectivity to populate hub. // +kubebuilder:validation:Optional HubSelector *v1.Selector `json:"hubSelector,omitempty" tf:"-"` // Optional labels in key:value format. For more information about labels, see Requirements for labels. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. // Structure is documented below. // +kubebuilder:validation:Optional LinkedInterconnectAttachments *LinkedInterconnectAttachmentsParameters `json:"linkedInterconnectAttachments,omitempty" tf:"linked_interconnect_attachments,omitempty"` // The URIs of linked Router appliance resources // Structure is documented below. // +kubebuilder:validation:Optional LinkedRouterApplianceInstances *LinkedRouterApplianceInstancesParameters `json:"linkedRouterApplianceInstances,omitempty" tf:"linked_router_appliance_instances,omitempty"` // VPC network that is associated with the spoke. // Structure is documented below. // +kubebuilder:validation:Optional LinkedVPCNetwork *LinkedVPCNetworkParameters `json:"linkedVpcNetwork,omitempty" tf:"linked_vpc_network,omitempty"` // The URIs of linked VPN tunnel resources // Structure is documented below. // +kubebuilder:validation:Optional LinkedVPNTunnels *LinkedVPNTunnelsParameters `json:"linkedVpnTunnels,omitempty" tf:"linked_vpn_tunnels,omitempty"` // The location for the resource // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // Immutable. The name of the spoke. Spoke names must be unique. // +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"` }
func (*SpokeParameters) DeepCopy ¶
func (in *SpokeParameters) DeepCopy() *SpokeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeParameters.
func (*SpokeParameters) DeepCopyInto ¶
func (in *SpokeParameters) DeepCopyInto(out *SpokeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpokeSpec ¶
type SpokeSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SpokeParameters `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 SpokeInitParameters `json:"initProvider,omitempty"` }
SpokeSpec defines the desired state of Spoke
func (*SpokeSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeSpec.
func (*SpokeSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpokeStatus ¶
type SpokeStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SpokeObservation `json:"atProvider,omitempty"` }
SpokeStatus defines the observed state of Spoke.
func (*SpokeStatus) DeepCopy ¶
func (in *SpokeStatus) DeepCopy() *SpokeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeStatus.
func (*SpokeStatus) DeepCopyInto ¶
func (in *SpokeStatus) DeepCopyInto(out *SpokeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.