v1beta1

package
v1.53.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for networksecurity/v1beta1 API group

Package v1beta1 contains API Schema definitions for the networksecurity v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/networksecurity +k8s:defaulter-gen=TypeMeta +groupName=networksecurity.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: "networksecurity.cnrm.cloud.google.com", Version: "v1beta1"}

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

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

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

Functions

This section is empty.

Types

type ClienttlspolicyCertificateProviderInstance

type ClienttlspolicyCertificateProviderInstance struct {
	/* Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance. */
	PluginInstance string `json:"pluginInstance"`
}

func (*ClienttlspolicyCertificateProviderInstance) DeepCopy

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

func (*ClienttlspolicyCertificateProviderInstance) DeepCopyInto

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

type ClienttlspolicyClientCertificate

type ClienttlspolicyClientCertificate struct {
	/* The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
	// +optional
	CertificateProviderInstance *ClienttlspolicyCertificateProviderInstance `json:"certificateProviderInstance,omitempty"`

	/* gRPC specific configuration to access the gRPC server to obtain the cert and private key. */
	// +optional
	GrpcEndpoint *ClienttlspolicyGrpcEndpoint `json:"grpcEndpoint,omitempty"`
}

func (*ClienttlspolicyClientCertificate) DeepCopy

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

func (*ClienttlspolicyClientCertificate) DeepCopyInto

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

type ClienttlspolicyGrpcEndpoint

type ClienttlspolicyGrpcEndpoint struct {
	/* Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with “unix:”. */
	TargetUri string `json:"targetUri"`
}

func (*ClienttlspolicyGrpcEndpoint) DeepCopy

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

func (*ClienttlspolicyGrpcEndpoint) DeepCopyInto

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

type ClienttlspolicyServerValidationCa

type ClienttlspolicyServerValidationCa struct {
	/* The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
	// +optional
	CertificateProviderInstance *ClienttlspolicyCertificateProviderInstance `json:"certificateProviderInstance,omitempty"`

	/* gRPC specific configuration to access the gRPC server to obtain the CA certificate. */
	// +optional
	GrpcEndpoint *ClienttlspolicyGrpcEndpoint `json:"grpcEndpoint,omitempty"`
}

func (*ClienttlspolicyServerValidationCa) DeepCopy

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

func (*ClienttlspolicyServerValidationCa) DeepCopyInto

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

type NetworkSecurityClientTLSPolicy

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

	Spec   NetworkSecurityClientTLSPolicySpec   `json:"spec,omitempty"`
	Status NetworkSecurityClientTLSPolicyStatus `json:"status,omitempty"`
}

NetworkSecurityClientTLSPolicy is the Schema for the networksecurity API +k8s:openapi-gen=true

func (*NetworkSecurityClientTLSPolicy) DeepCopy

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

func (*NetworkSecurityClientTLSPolicy) DeepCopyInto

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

func (*NetworkSecurityClientTLSPolicy) DeepCopyObject

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

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

type NetworkSecurityClientTLSPolicyList

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

NetworkSecurityClientTLSPolicyList contains a list of NetworkSecurityClientTLSPolicy

func (*NetworkSecurityClientTLSPolicyList) DeepCopy

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

func (*NetworkSecurityClientTLSPolicyList) DeepCopyInto

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

func (*NetworkSecurityClientTLSPolicyList) DeepCopyObject

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

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

type NetworkSecurityClientTLSPolicySpec

type NetworkSecurityClientTLSPolicySpec struct {
	/* Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS. */
	// +optional
	ClientCertificate *ClienttlspolicyClientCertificate `json:"clientCertificate,omitempty"`

	/* Optional. Free-text description of the resource. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* The location for the resource */
	Location string `json:"location"`

	/* The Project that this resource belongs to. */
	// +optional
	ProjectRef *v1alpha1.ResourceRef `json:"projectRef,omitempty"`

	/* 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"`

	/* Required. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. */
	// +optional
	ServerValidationCa []ClienttlspolicyServerValidationCa `json:"serverValidationCa,omitempty"`

	/* Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com". */
	// +optional
	Sni *string `json:"sni,omitempty"`
}

func (*NetworkSecurityClientTLSPolicySpec) DeepCopy

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

func (*NetworkSecurityClientTLSPolicySpec) DeepCopyInto

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

type NetworkSecurityClientTLSPolicyStatus

type NetworkSecurityClientTLSPolicyStatus struct {
	/* Conditions represent the latest available observations of the
	   NetworkSecurityClientTLSPolicy's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. The timestamp when the resource was created. */
	CreateTime string `json:"createTime,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. */
	ObservedGeneration int `json:"observedGeneration,omitempty"`
	/* Output only. The timestamp when the resource was updated. */
	UpdateTime string `json:"updateTime,omitempty"`
}

func (*NetworkSecurityClientTLSPolicyStatus) DeepCopy

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

func (*NetworkSecurityClientTLSPolicyStatus) DeepCopyInto

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

type NetworkSecurityServerTLSPolicy

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

	Spec   NetworkSecurityServerTLSPolicySpec   `json:"spec,omitempty"`
	Status NetworkSecurityServerTLSPolicyStatus `json:"status,omitempty"`
}

NetworkSecurityServerTLSPolicy is the Schema for the networksecurity API +k8s:openapi-gen=true

func (*NetworkSecurityServerTLSPolicy) DeepCopy

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

func (*NetworkSecurityServerTLSPolicy) DeepCopyInto

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

func (*NetworkSecurityServerTLSPolicy) DeepCopyObject

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

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

type NetworkSecurityServerTLSPolicyList

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

NetworkSecurityServerTLSPolicyList contains a list of NetworkSecurityServerTLSPolicy

func (*NetworkSecurityServerTLSPolicyList) DeepCopy

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

func (*NetworkSecurityServerTLSPolicyList) DeepCopyInto

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

func (*NetworkSecurityServerTLSPolicyList) DeepCopyObject

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

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

type NetworkSecurityServerTLSPolicySpec

type NetworkSecurityServerTLSPolicySpec struct {
	/* Optional. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if allow_open and mtls_policy are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. */
	// +optional
	AllowOpen *bool `json:"allowOpen,omitempty"`

	/* Optional. Free-text description of the resource. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* The location for the resource */
	Location string `json:"location"`

	/* Optional. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If allow_open and mtls_policy are set, server allows both plain text and mTLS connections. */
	// +optional
	MtlsPolicy *ServertlspolicyMtlsPolicy `json:"mtlsPolicy,omitempty"`

	/* The Project that this resource belongs to. */
	// +optional
	ProjectRef *v1alpha1.ResourceRef `json:"projectRef,omitempty"`

	/* 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"`

	/* Optional. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with allow_open as a permissive mode that allows both plain text and TLS is not supported. */
	// +optional
	ServerCertificate *ServertlspolicyServerCertificate `json:"serverCertificate,omitempty"`
}

func (*NetworkSecurityServerTLSPolicySpec) DeepCopy

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

func (*NetworkSecurityServerTLSPolicySpec) DeepCopyInto

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

type NetworkSecurityServerTLSPolicyStatus

type NetworkSecurityServerTLSPolicyStatus struct {
	/* Conditions represent the latest available observations of the
	   NetworkSecurityServerTLSPolicy's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. The timestamp when the resource was created. */
	CreateTime string `json:"createTime,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. */
	ObservedGeneration int `json:"observedGeneration,omitempty"`
	/* Output only. The timestamp when the resource was updated. */
	UpdateTime string `json:"updateTime,omitempty"`
}

func (*NetworkSecurityServerTLSPolicyStatus) DeepCopy

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

func (*NetworkSecurityServerTLSPolicyStatus) DeepCopyInto

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

type ServertlspolicyCertificateProviderInstance

type ServertlspolicyCertificateProviderInstance struct {
	/* Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance. */
	PluginInstance string `json:"pluginInstance"`
}

func (*ServertlspolicyCertificateProviderInstance) DeepCopy

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

func (*ServertlspolicyCertificateProviderInstance) DeepCopyInto

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

type ServertlspolicyClientValidationCa

type ServertlspolicyClientValidationCa struct {
	/* The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
	// +optional
	CertificateProviderInstance *ServertlspolicyCertificateProviderInstance `json:"certificateProviderInstance,omitempty"`

	/* gRPC specific configuration to access the gRPC server to obtain the CA certificate. */
	// +optional
	GrpcEndpoint *ServertlspolicyGrpcEndpoint `json:"grpcEndpoint,omitempty"`
}

func (*ServertlspolicyClientValidationCa) DeepCopy

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

func (*ServertlspolicyClientValidationCa) DeepCopyInto

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

type ServertlspolicyGrpcEndpoint

type ServertlspolicyGrpcEndpoint struct {
	/* Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with “unix:”. */
	TargetUri string `json:"targetUri"`
}

func (*ServertlspolicyGrpcEndpoint) DeepCopy

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

func (*ServertlspolicyGrpcEndpoint) DeepCopyInto

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

type ServertlspolicyMtlsPolicy

type ServertlspolicyMtlsPolicy struct {
	/* Required. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. */
	ClientValidationCa []ServertlspolicyClientValidationCa `json:"clientValidationCa"`
}

func (*ServertlspolicyMtlsPolicy) DeepCopy

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

func (*ServertlspolicyMtlsPolicy) DeepCopyInto

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

type ServertlspolicyServerCertificate

type ServertlspolicyServerCertificate struct {
	/* The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
	// +optional
	CertificateProviderInstance *ServertlspolicyCertificateProviderInstance `json:"certificateProviderInstance,omitempty"`

	/* gRPC specific configuration to access the gRPC server to obtain the cert and private key. */
	// +optional
	GrpcEndpoint *ServertlspolicyGrpcEndpoint `json:"grpcEndpoint,omitempty"`
}

func (*ServertlspolicyServerCertificate) DeepCopy

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

func (*ServertlspolicyServerCertificate) 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