Documentation ¶
Overview ¶
+groupName=tg.ibm.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Connection
- func (in *Connection) DeepCopy() *Connection
- func (in *Connection) DeepCopyInto(out *Connection)
- func (in *Connection) DeepCopyObject() runtime.Object
- func (r *Connection) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Connection) ValidateCreate() error
- func (r *Connection) ValidateDelete() error
- func (r *Connection) ValidateUpdate(old runtime.Object) error
- type ConnectionList
- type ConnectionSpec
- type ConnectionSpecResource
- type ConnectionStatus
- type Gateway
- func (in *Gateway) DeepCopy() *Gateway
- func (in *Gateway) DeepCopyInto(out *Gateway)
- func (in *Gateway) DeepCopyObject() runtime.Object
- func (r *Gateway) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Gateway) ValidateCreate() error
- func (r *Gateway) ValidateDelete() error
- func (r *Gateway) ValidateUpdate(old runtime.Object) error
- type GatewayList
- type GatewaySpec
- type GatewaySpecResource
- type GatewayStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: tg.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Connection ¶
type Connection struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConnectionSpec `json:"spec,omitempty"` Status ConnectionStatus `json:"status,omitempty"` }
func (*Connection) DeepCopy ¶
func (in *Connection) DeepCopy() *Connection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Connection.
func (*Connection) DeepCopyInto ¶
func (in *Connection) DeepCopyInto(out *Connection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Connection) DeepCopyObject ¶
func (in *Connection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Connection) SetupWebhookWithManager ¶
func (r *Connection) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Connection) ValidateCreate ¶
func (r *Connection) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Connection) ValidateDelete ¶
func (r *Connection) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Connection) ValidateUpdate ¶
func (r *Connection) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ConnectionList ¶
type ConnectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Connection CRD objects Items []Connection `json:"items,omitempty"` }
ConnectionList is a list of Connections
func (*ConnectionList) DeepCopy ¶
func (in *ConnectionList) DeepCopy() *ConnectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionList.
func (*ConnectionList) DeepCopyInto ¶
func (in *ConnectionList) DeepCopyInto(out *ConnectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectionList) DeepCopyObject ¶
func (in *ConnectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConnectionSpec ¶
type ConnectionSpec struct { State *ConnectionSpecResource `json:"state,omitempty" tf:"-"` Resource ConnectionSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*ConnectionSpec) DeepCopy ¶
func (in *ConnectionSpec) DeepCopy() *ConnectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionSpec.
func (*ConnectionSpec) DeepCopyInto ¶
func (in *ConnectionSpec) DeepCopyInto(out *ConnectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionSpecResource ¶
type ConnectionSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // The ID of a network_type 'classic' connection a tunnel is configured over. This field only applies to network type 'gre_tunnel' connections. // +optional BaseConnectionID *string `json:"baseConnectionID,omitempty" tf:"base_connection_id"` // The Transit Gateway Connection identifier // +optional ConnectionID *string `json:"connectionID,omitempty" tf:"connection_id"` // The date and time that this connection was created // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` // The Transit Gateway identifier Gateway *string `json:"gateway" tf:"gateway"` // The local gateway IP address. This field only applies to network type 'gre_tunnel' connections. // +optional LocalGatewayIP *string `json:"localGatewayIP,omitempty" tf:"local_gateway_ip"` // The local tunnel IP address. This field only applies to network type 'gre_tunnel' connections. // +optional LocalTunnelIP *string `json:"localTunnelIP,omitempty" tf:"local_tunnel_ip"` // The user-defined name for this transit gateway. If unspecified, the name will be the network name (the name of the VPC in the case of network type 'vpc', and the word Classic, in the case of network type 'classic'). // +optional Name *string `json:"name,omitempty" tf:"name"` // The ID of the account which owns the network that is being connected. Generally only used if the network is in a different account than the gateway. // +optional NetworkAccountID *string `json:"networkAccountID,omitempty" tf:"network_account_id"` // The ID of the network being connected via this connection. This field is required for some types, such as 'vpc'. For network type 'vpc' this is the CRN of the VPC to be connected. This field is required to be unspecified for network type 'classic'. // +optional NetworkID *string `json:"networkID,omitempty" tf:"network_id"` // Defines what type of network is connected via this connection.Allowable values (classic,vpc,gre_tunnel) NetworkType *string `json:"networkType" tf:"network_type"` // The crn of the transit gateway // +optional RelatedCrn *string `json:"relatedCrn,omitempty" tf:"related_crn"` // The remote network BGP ASN. This field only applies to network type 'gre_tunnel' connections. // +optional RemoteBGPAsn *int64 `json:"remoteBGPAsn,omitempty" tf:"remote_bgp_asn"` // The remote gateway IP address. This field only applies to network type 'gre_tunnel' connections. // +optional RemoteGatewayIP *string `json:"remoteGatewayIP,omitempty" tf:"remote_gateway_ip"` // The remote tunnel IP address. This field only applies to network type 'gre_tunnel' connections. // +optional RemoteTunnelIP *string `json:"remoteTunnelIP,omitempty" tf:"remote_tunnel_ip"` // Only visible for cross account connections, this field represents the status of the request to connect the given network between accounts.Possible values: [pending,approved,rejected,expired,detached] // +optional RequestStatus *string `json:"requestStatus,omitempty" tf:"request_status"` // What is the current configuration state of this connection. Possible values: [attached,failed,pending,deleting,detaching,detached] // +optional Status *string `json:"status,omitempty" tf:"status"` // The date and time that this connection was last updated // +optional UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"` // Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. // +optional Zone *string `json:"zone,omitempty" tf:"zone"` }
func (*ConnectionSpecResource) DeepCopy ¶
func (in *ConnectionSpecResource) DeepCopy() *ConnectionSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionSpecResource.
func (*ConnectionSpecResource) DeepCopyInto ¶
func (in *ConnectionSpecResource) DeepCopyInto(out *ConnectionSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionStatus ¶
type ConnectionStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*ConnectionStatus) DeepCopy ¶
func (in *ConnectionStatus) DeepCopy() *ConnectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStatus.
func (*ConnectionStatus) DeepCopyInto ¶
func (in *ConnectionStatus) DeepCopyInto(out *ConnectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Gateway ¶
type Gateway struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GatewaySpec `json:"spec,omitempty"` Status GatewayStatus `json:"status,omitempty"` }
func (*Gateway) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway.
func (*Gateway) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Gateway) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Gateway) SetupWebhookWithManager ¶
func (*Gateway) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Gateway) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type GatewayList ¶
type GatewayList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Gateway CRD objects Items []Gateway `json:"items,omitempty"` }
GatewayList is a list of Gateways
func (*GatewayList) DeepCopy ¶
func (in *GatewayList) DeepCopy() *GatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList.
func (*GatewayList) DeepCopyInto ¶
func (in *GatewayList) DeepCopyInto(out *GatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayList) DeepCopyObject ¶
func (in *GatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewaySpec ¶
type GatewaySpec struct { State *GatewaySpecResource `json:"state,omitempty" tf:"-"` Resource GatewaySpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*GatewaySpec) DeepCopy ¶
func (in *GatewaySpec) DeepCopy() *GatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec.
func (*GatewaySpec) DeepCopyInto ¶
func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewaySpecResource ¶
type GatewaySpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // The creation time of the resource // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` // The crn of the resource // +optional Crn *string `json:"crn,omitempty" tf:"crn"` // Allow global routing for a Transit Gateway. If unspecified, the default value is false // +optional Global *bool `json:"global,omitempty" tf:"global"` // Location of Transit Gateway Services Location *string `json:"location" tf:"location"` // Name Transit Gateway Services Name *string `json:"name" tf:"name"` // The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance // +optional ResourceControllerURL *string `json:"resourceControllerURL,omitempty" tf:"resource_controller_url"` // The crn of the resource // +optional ResourceCrn *string `json:"resourceCrn,omitempty" tf:"resource_crn"` // +optional ResourceGroup *string `json:"resourceGroup,omitempty" tf:"resource_group"` // The resource group name in which resource is provisioned // +optional ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name"` // The name of the resource // +optional ResourceName *string `json:"resourceName,omitempty" tf:"resource_name"` // The status of the resource // +optional ResourceStatus *string `json:"resourceStatus,omitempty" tf:"resource_status"` // The Status of the resource // +optional Status *string `json:"status,omitempty" tf:"status"` // Tags for the transit gateway instance // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // The updation time of the resource // +optional UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"` }
func (*GatewaySpecResource) DeepCopy ¶
func (in *GatewaySpecResource) DeepCopy() *GatewaySpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpecResource.
func (*GatewaySpecResource) DeepCopyInto ¶
func (in *GatewaySpecResource) DeepCopyInto(out *GatewaySpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayStatus ¶
type GatewayStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*GatewayStatus) DeepCopy ¶
func (in *GatewayStatus) DeepCopy() *GatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus.
func (*GatewayStatus) DeepCopyInto ¶
func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.