v1alpha1

package
v1.123.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the beyondcorp v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/beyondcorp +k8s:defaulter-gen=TypeMeta +groupName=beyondcorp.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "beyondcorp.cnrm.cloud.google.com", Version: "v1alpha1"}

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

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	BeyondCorpAppConnectionGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(BeyondCorpAppConnection{}).Name(),
	}

	BeyondCorpAppConnectorGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(BeyondCorpAppConnector{}).Name(),
	}

	BeyondCorpAppGatewayGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(BeyondCorpAppGateway{}).Name(),
	}
)

Functions

This section is empty.

Types

type AppconnectionApplicationEndpoint

type AppconnectionApplicationEndpoint struct {
	/* Hostname or IP address of the remote application endpoint. */
	Host string `json:"host"`

	/* Port of the remote application endpoint. */
	Port int64 `json:"port"`
}

func (*AppconnectionApplicationEndpoint) DeepCopy

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

func (*AppconnectionApplicationEndpoint) DeepCopyInto

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

type AppconnectionGateway

type AppconnectionGateway struct {
	/* AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}. */
	AppGateway string `json:"appGateway"`

	/* Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443. */
	// +optional
	IngressPort *int64 `json:"ingressPort,omitempty"`

	/* The type of hosting used by the gateway. Refer to
	https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#Type_1
	for a list of possible values. */
	// +optional
	Type *string `json:"type,omitempty"`

	/* Server-defined URI for this resource. */
	// +optional
	Uri *string `json:"uri,omitempty"`
}

func (*AppconnectionGateway) DeepCopy

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

func (*AppconnectionGateway) DeepCopyInto

func (in *AppconnectionGateway) DeepCopyInto(out *AppconnectionGateway)

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

type AppconnectorPrincipalInfo

type AppconnectorPrincipalInfo struct {
	/* ServiceAccount represents a GCP service account. */
	ServiceAccount AppconnectorServiceAccount `json:"serviceAccount"`
}

func (*AppconnectorPrincipalInfo) DeepCopy

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

func (*AppconnectorPrincipalInfo) DeepCopyInto

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

type AppconnectorServiceAccount

type AppconnectorServiceAccount struct {
	/* Email address of the service account. */
	Email string `json:"email"`
}

func (*AppconnectorServiceAccount) DeepCopy

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

func (*AppconnectorServiceAccount) DeepCopyInto

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

type AppgatewayAllocatedConnectionsStatus

type AppgatewayAllocatedConnectionsStatus struct {
	/* The ingress port of an allocated connection. */
	// +optional
	IngressPort *int64 `json:"ingressPort,omitempty"`

	/* The PSC uri of an allocated connection. */
	// +optional
	PscUri *string `json:"pscUri,omitempty"`
}

func (*AppgatewayAllocatedConnectionsStatus) DeepCopy

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

func (*AppgatewayAllocatedConnectionsStatus) DeepCopyInto

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

type BeyondCorpAppConnection

type BeyondCorpAppConnection struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BeyondCorpAppConnectionSpec   `json:"spec,omitempty"`
	Status BeyondCorpAppConnectionStatus `json:"status,omitempty"`
}

BeyondCorpAppConnection is the Schema for the beyondcorp API +k8s:openapi-gen=true

func (*BeyondCorpAppConnection) DeepCopy

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

func (*BeyondCorpAppConnection) DeepCopyInto

func (in *BeyondCorpAppConnection) DeepCopyInto(out *BeyondCorpAppConnection)

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

func (*BeyondCorpAppConnection) DeepCopyObject

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

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

type BeyondCorpAppConnectionList

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

BeyondCorpAppConnectionList contains a list of BeyondCorpAppConnection

func (*BeyondCorpAppConnectionList) DeepCopy

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

func (*BeyondCorpAppConnectionList) DeepCopyInto

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

func (*BeyondCorpAppConnectionList) DeepCopyObject

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

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

type BeyondCorpAppConnectionSpec

type BeyondCorpAppConnectionSpec struct {
	/* Address of the remote application endpoint for the BeyondCorp AppConnection. */
	ApplicationEndpoint AppconnectionApplicationEndpoint `json:"applicationEndpoint"`

	/* List of AppConnectors that are authorised to be associated with this AppConnection. */
	// +optional
	Connectors []string `json:"connectors,omitempty"`

	/* An arbitrary user-provided name for the AppConnection. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* Gateway used by the AppConnection. */
	// +optional
	Gateway *AppconnectionGateway `json:"gateway,omitempty"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. The region of the AppConnection. */
	Region string `json:"region"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. The type of network connectivity used by the AppConnection. Refer to
	https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type
	for a list of possible values. */
	// +optional
	Type *string `json:"type,omitempty"`
}

func (*BeyondCorpAppConnectionSpec) DeepCopy

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

func (*BeyondCorpAppConnectionSpec) DeepCopyInto

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

type BeyondCorpAppConnectionStatus

type BeyondCorpAppConnectionStatus struct {
	/* Conditions represent the latest available observations of the
	   BeyondCorpAppConnection's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

func (*BeyondCorpAppConnectionStatus) DeepCopy

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

func (*BeyondCorpAppConnectionStatus) DeepCopyInto

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

type BeyondCorpAppConnector

type BeyondCorpAppConnector struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BeyondCorpAppConnectorSpec   `json:"spec,omitempty"`
	Status BeyondCorpAppConnectorStatus `json:"status,omitempty"`
}

BeyondCorpAppConnector is the Schema for the beyondcorp API +k8s:openapi-gen=true

func (*BeyondCorpAppConnector) DeepCopy

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

func (*BeyondCorpAppConnector) DeepCopyInto

func (in *BeyondCorpAppConnector) DeepCopyInto(out *BeyondCorpAppConnector)

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

func (*BeyondCorpAppConnector) DeepCopyObject

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

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

type BeyondCorpAppConnectorList

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

BeyondCorpAppConnectorList contains a list of BeyondCorpAppConnector

func (*BeyondCorpAppConnectorList) DeepCopy

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

func (*BeyondCorpAppConnectorList) DeepCopyInto

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

func (*BeyondCorpAppConnectorList) DeepCopyObject

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

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

type BeyondCorpAppConnectorSpec

type BeyondCorpAppConnectorSpec struct {
	/* An arbitrary user-provided name for the AppConnector. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* Principal information about the Identity of the AppConnector. */
	PrincipalInfo AppconnectorPrincipalInfo `json:"principalInfo"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. The region of the AppConnector. */
	Region string `json:"region"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*BeyondCorpAppConnectorSpec) DeepCopy

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

func (*BeyondCorpAppConnectorSpec) DeepCopyInto

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

type BeyondCorpAppConnectorStatus

type BeyondCorpAppConnectorStatus struct {
	/* Conditions represent the latest available observations of the
	   BeyondCorpAppConnector's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* Represents the different states of a AppConnector. */
	// +optional
	State *string `json:"state,omitempty"`
}

func (*BeyondCorpAppConnectorStatus) DeepCopy

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

func (*BeyondCorpAppConnectorStatus) DeepCopyInto

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

type BeyondCorpAppGateway

type BeyondCorpAppGateway struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BeyondCorpAppGatewaySpec   `json:"spec,omitempty"`
	Status BeyondCorpAppGatewayStatus `json:"status,omitempty"`
}

BeyondCorpAppGateway is the Schema for the beyondcorp API +k8s:openapi-gen=true

func (*BeyondCorpAppGateway) DeepCopy

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

func (*BeyondCorpAppGateway) DeepCopyInto

func (in *BeyondCorpAppGateway) DeepCopyInto(out *BeyondCorpAppGateway)

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

func (*BeyondCorpAppGateway) DeepCopyObject

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

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

type BeyondCorpAppGatewayList

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

BeyondCorpAppGatewayList contains a list of BeyondCorpAppGateway

func (*BeyondCorpAppGatewayList) DeepCopy

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

func (*BeyondCorpAppGatewayList) DeepCopyInto

func (in *BeyondCorpAppGatewayList) DeepCopyInto(out *BeyondCorpAppGatewayList)

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

func (*BeyondCorpAppGatewayList) DeepCopyObject

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

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

type BeyondCorpAppGatewaySpec

type BeyondCorpAppGatewaySpec struct {
	/* Immutable. An arbitrary user-provided name for the AppGateway. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* Immutable. The type of hosting used by the AppGateway. Default value: "HOST_TYPE_UNSPECIFIED" Possible values: ["HOST_TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"]. */
	// +optional
	HostType *string `json:"hostType,omitempty"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. The region of the AppGateway. */
	Region string `json:"region"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. The type of network connectivity used by the AppGateway. Default value: "TYPE_UNSPECIFIED" Possible values: ["TYPE_UNSPECIFIED", "TCP_PROXY"]. */
	// +optional
	Type *string `json:"type,omitempty"`
}

func (*BeyondCorpAppGatewaySpec) DeepCopy

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

func (*BeyondCorpAppGatewaySpec) DeepCopyInto

func (in *BeyondCorpAppGatewaySpec) DeepCopyInto(out *BeyondCorpAppGatewaySpec)

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

type BeyondCorpAppGatewayStatus

type BeyondCorpAppGatewayStatus struct {
	/* Conditions represent the latest available observations of the
	   BeyondCorpAppGateway's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* A list of connections allocated for the Gateway. */
	// +optional
	AllocatedConnections []AppgatewayAllocatedConnectionsStatus `json:"allocatedConnections,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* Represents the different states of a AppGateway. */
	// +optional
	State *string `json:"state,omitempty"`

	/* Server-defined URI for this resource. */
	// +optional
	Uri *string `json:"uri,omitempty"`
}

func (*BeyondCorpAppGatewayStatus) DeepCopy

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

func (*BeyondCorpAppGatewayStatus) DeepCopyInto

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