v1beta1

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=networkconnectivity.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "networkconnectivity.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Hub_Kind             = "Hub"
	Hub_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Hub_Kind}.String()
	Hub_KindAPIVersion   = Hub_Kind + "." + CRDGroupVersion.String()
	Hub_GroupVersionKind = CRDGroupVersion.WithKind(Hub_Kind)
)

Repository type metadata.

View Source
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 Hub

type Hub struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HubSpec   `json:"spec"`
	Status            HubStatus `json:"status,omitempty"`
}

Hub is the Schema for the Hubs API. The NetworkConnectivity Hub resource +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 (*Hub) DeepCopy

func (in *Hub) DeepCopy() *Hub

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

func (*Hub) DeepCopyInto

func (in *Hub) DeepCopyInto(out *Hub)

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

func (*Hub) DeepCopyObject

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

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

func (*Hub) GetCondition

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

GetCondition of this Hub.

func (*Hub) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Hub

func (*Hub) GetDeletionPolicy

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

GetDeletionPolicy of this Hub.

func (*Hub) GetID

func (tr *Hub) GetID() string

GetID returns ID of underlying Terraform resource of this Hub

func (*Hub) GetObservation

func (tr *Hub) GetObservation() (map[string]any, error)

GetObservation of this Hub

func (*Hub) GetParameters

func (tr *Hub) GetParameters() (map[string]any, error)

GetParameters of this Hub

func (*Hub) GetProviderConfigReference

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

GetProviderConfigReference of this Hub.

func (*Hub) GetProviderReference

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

GetProviderReference of this Hub. Deprecated: Use GetProviderConfigReference.

func (*Hub) GetPublishConnectionDetailsTo

func (mg *Hub) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Hub.

func (*Hub) GetTerraformResourceType

func (mg *Hub) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Hub

func (*Hub) GetTerraformSchemaVersion

func (tr *Hub) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Hub) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Hub.

func (*Hub) LateInitialize

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

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

func (*Hub) SetConditions

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

SetConditions of this Hub.

func (*Hub) SetDeletionPolicy

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

SetDeletionPolicy of this Hub.

func (*Hub) SetObservation

func (tr *Hub) SetObservation(obs map[string]any) error

SetObservation for this Hub

func (*Hub) SetParameters

func (tr *Hub) SetParameters(params map[string]any) error

SetParameters for this Hub

func (*Hub) SetProviderConfigReference

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

SetProviderConfigReference of this Hub.

func (*Hub) SetProviderReference

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

SetProviderReference of this Hub. Deprecated: Use SetProviderConfigReference.

func (*Hub) SetPublishConnectionDetailsTo

func (mg *Hub) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Hub.

func (*Hub) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Hub.

type HubList

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

HubList contains a list of Hubs

func (*HubList) DeepCopy

func (in *HubList) DeepCopy() *HubList

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

func (*HubList) DeepCopyInto

func (in *HubList) DeepCopyInto(out *HubList)

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

func (*HubList) DeepCopyObject

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

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

func (*HubList) GetItems

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

GetItems of this HubList.

type HubObservation

type HubObservation struct {

	// Output only. The time the hub was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/global/hubs/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
	RoutingVpcs []RoutingVpcsObservation `json:"routingVpcs,omitempty" tf:"routing_vpcs,omitempty"`

	// Output only. The current lifecycle state of this hub. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.
	UniqueID *string `json:"uniqueId,omitempty" tf:"unique_id,omitempty"`

	// Output only. The time the hub was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*HubObservation) DeepCopy

func (in *HubObservation) DeepCopy() *HubObservation

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

func (*HubObservation) DeepCopyInto

func (in *HubObservation) DeepCopyInto(out *HubObservation)

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

type HubParameters

type HubParameters struct {

	// An optional description of the hub.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Optional labels in key:value format. For more information about labels, see Requirements for labels.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Immutable. The name of the hub. Hub names must be unique. They use the following form: projects/{project_number}/locations/global/hubs/{hub_id}
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The project for the resource
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*HubParameters) DeepCopy

func (in *HubParameters) DeepCopy() *HubParameters

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

func (*HubParameters) DeepCopyInto

func (in *HubParameters) DeepCopyInto(out *HubParameters)

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

type HubSpec

type HubSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     HubParameters `json:"forProvider"`
}

HubSpec defines the desired state of Hub

func (*HubSpec) DeepCopy

func (in *HubSpec) DeepCopy() *HubSpec

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

func (*HubSpec) DeepCopyInto

func (in *HubSpec) DeepCopyInto(out *HubSpec)

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

type HubStatus

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

HubStatus defines the observed state of Hub.

func (*HubStatus) DeepCopy

func (in *HubStatus) DeepCopy() *HubStatus

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

func (*HubStatus) DeepCopyInto

func (in *HubStatus) DeepCopyInto(out *HubStatus)

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

type InstancesObservation

type InstancesObservation struct {
}

func (*InstancesObservation) DeepCopy

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/v1beta1.Instance
	// +crossplane:generate:reference:extractor=github.com/upbound/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 LinkedInterconnectAttachmentsObservation

type LinkedInterconnectAttachmentsObservation struct {
}

func (*LinkedInterconnectAttachmentsObservation) DeepCopy

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

func (*LinkedInterconnectAttachmentsObservation) DeepCopyInto

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:Required
	SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer" tf:"site_to_site_data_transfer,omitempty"`

	// The URIs of linked interconnect attachment resources
	// +kubebuilder:validation:Required
	Uris []*string `json:"uris" tf:"uris,omitempty"`
}

func (*LinkedInterconnectAttachmentsParameters) DeepCopy

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

func (*LinkedInterconnectAttachmentsParameters) DeepCopyInto

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

type LinkedRouterApplianceInstancesObservation

type LinkedRouterApplianceInstancesObservation struct {
}

func (*LinkedRouterApplianceInstancesObservation) DeepCopy

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

func (*LinkedRouterApplianceInstancesObservation) DeepCopyInto

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
	// +kubebuilder:validation:Required
	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:Required
	SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer" tf:"site_to_site_data_transfer,omitempty"`
}

func (*LinkedRouterApplianceInstancesParameters) DeepCopy

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

func (*LinkedRouterApplianceInstancesParameters) DeepCopyInto

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

type LinkedVPNTunnelsObservation

type LinkedVPNTunnelsObservation struct {
}

func (*LinkedVPNTunnelsObservation) DeepCopy

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

func (*LinkedVPNTunnelsObservation) DeepCopyInto

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:Required
	SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer" tf:"site_to_site_data_transfer,omitempty"`

	// The URIs of linked VPN tunnel resources.
	// +kubebuilder:validation:Required
	Uris []*string `json:"uris" tf:"uris,omitempty"`
}

func (*LinkedVPNTunnelsParameters) DeepCopy

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

func (*LinkedVPNTunnelsParameters) DeepCopyInto

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

type RoutingVpcsObservation

type RoutingVpcsObservation struct {
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*RoutingVpcsObservation) DeepCopy

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

func (*RoutingVpcsObservation) DeepCopyInto

func (in *RoutingVpcsObservation) DeepCopyInto(out *RoutingVpcsObservation)

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

type RoutingVpcsParameters

type RoutingVpcsParameters struct {
}

func (*RoutingVpcsParameters) DeepCopy

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

func (*RoutingVpcsParameters) DeepCopyInto

func (in *RoutingVpcsParameters) DeepCopyInto(out *RoutingVpcsParameters)

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"`
	Spec              SpokeSpec   `json:"spec"`
	Status            SpokeStatus `json:"status,omitempty"`
}

Spoke is the Schema for the Spokes API. The NetworkConnectivity Spoke resource +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 (*Spoke) DeepCopy

func (in *Spoke) DeepCopy() *Spoke

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

func (*Spoke) DeepCopyInto

func (in *Spoke) DeepCopyInto(out *Spoke)

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

func (*Spoke) DeepCopyObject

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

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

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

GetConnectionDetailsMapping for this Spoke

func (*Spoke) GetDeletionPolicy

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

GetDeletionPolicy of this Spoke.

func (*Spoke) GetID

func (tr *Spoke) GetID() string

GetID returns ID of underlying Terraform resource of this Spoke

func (*Spoke) GetObservation

func (tr *Spoke) GetObservation() (map[string]any, error)

GetObservation of this Spoke

func (*Spoke) GetParameters

func (tr *Spoke) GetParameters() (map[string]any, error)

GetParameters of this Spoke

func (*Spoke) GetProviderConfigReference

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

GetProviderConfigReference of this Spoke.

func (*Spoke) GetProviderReference

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

GetProviderReference of this Spoke. Deprecated: Use GetProviderConfigReference.

func (*Spoke) GetPublishConnectionDetailsTo

func (mg *Spoke) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Spoke.

func (*Spoke) GetTerraformResourceType

func (mg *Spoke) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Spoke

func (*Spoke) GetTerraformSchemaVersion

func (tr *Spoke) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Spoke) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Spoke.

func (*Spoke) LateInitialize

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

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

func (*Spoke) ResolveReferences

func (mg *Spoke) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Spoke.

func (*Spoke) SetConditions

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

SetConditions of this Spoke.

func (*Spoke) SetDeletionPolicy

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

SetDeletionPolicy of this Spoke.

func (*Spoke) SetObservation

func (tr *Spoke) SetObservation(obs map[string]any) error

SetObservation for this Spoke

func (*Spoke) SetParameters

func (tr *Spoke) SetParameters(params map[string]any) error

SetParameters for this Spoke

func (*Spoke) SetProviderConfigReference

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

SetProviderConfigReference of this Spoke.

func (*Spoke) SetProviderReference

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

SetProviderReference of this Spoke. Deprecated: Use SetProviderConfigReference.

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 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

func (in *SpokeList) DeepCopy() *SpokeList

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

func (*SpokeList) DeepCopyInto

func (in *SpokeList) DeepCopyInto(out *SpokeList)

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

func (*SpokeList) DeepCopyObject

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

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

func (*SpokeList) GetItems

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

GetItems of this SpokeList.

type SpokeObservation

type SpokeObservation struct {

	// Output only. The time the spoke was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/spokes/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
	State *string `json:"state,omitempty" tf:"state,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/upbound/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.
	// +kubebuilder:validation:Optional
	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.
	// +kubebuilder:validation:Optional
	LinkedInterconnectAttachments []LinkedInterconnectAttachmentsParameters `json:"linkedInterconnectAttachments,omitempty" tf:"linked_interconnect_attachments,omitempty"`

	// The URIs of linked Router appliance resources
	// +kubebuilder:validation:Optional
	LinkedRouterApplianceInstances []LinkedRouterApplianceInstancesParameters `json:"linkedRouterApplianceInstances,omitempty" tf:"linked_router_appliance_instances,omitempty"`

	// The URIs of linked VPN tunnel resources
	// +kubebuilder:validation:Optional
	LinkedVPNTunnels []LinkedVPNTunnelsParameters `json:"linkedVpnTunnels,omitempty" tf:"linked_vpn_tunnels,omitempty"`

	// The location for the resource
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// Immutable. The name of the spoke. Spoke names must be unique.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The project for the resource
	// +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"`
}

SpokeSpec defines the desired state of Spoke

func (*SpokeSpec) DeepCopy

func (in *SpokeSpec) DeepCopy() *SpokeSpec

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

func (*SpokeSpec) DeepCopyInto

func (in *SpokeSpec) DeepCopyInto(out *SpokeSpec)

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.

Jump to

Keyboard shortcuts

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