v1beta1

package
v1.71.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 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

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

	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 AuthorizationpolicyDestinations added in v1.54.0

type AuthorizationpolicyDestinations struct {
	/* Required. List of host names to match. Matched against HOST header in http requests. Each host can be an exact match, or a prefix match (example, “mydomain.*”) or a suffix match (example, *.myorg.com”) or a presence(any) match “*”. */
	Hosts []string `json:"hosts"`

	/* Optional. Match against key:value pair in http header. Provides a flexible match based on HTTP headers, for potentially advanced use cases. */
	// +optional
	HttpHeaderMatch *AuthorizationpolicyHttpHeaderMatch `json:"httpHeaderMatch,omitempty"`

	/* Optional. A list of HTTP methods to match. Should not be set for gRPC services. */
	// +optional
	Methods []string `json:"methods,omitempty"`

	/* Required. List of destination ports to match. */
	Ports []int `json:"ports"`
}

func (*AuthorizationpolicyDestinations) DeepCopy added in v1.54.0

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

func (*AuthorizationpolicyDestinations) DeepCopyInto added in v1.54.0

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

type AuthorizationpolicyHttpHeaderMatch added in v1.54.0

type AuthorizationpolicyHttpHeaderMatch struct {
	/* Required. The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". */
	HeaderName string `json:"headerName"`

	/* Required. The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to Host and a regular expression that satisfies the RFC2616 Host header's port specifier. */
	RegexMatch string `json:"regexMatch"`
}

func (*AuthorizationpolicyHttpHeaderMatch) DeepCopy added in v1.54.0

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

func (*AuthorizationpolicyHttpHeaderMatch) DeepCopyInto added in v1.54.0

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

type AuthorizationpolicyRules added in v1.54.0

type AuthorizationpolicyRules struct {
	/* Optional. List of attributes for the traffic destination. If not set, the action specified in the ‘action’ field will be applied without any rule checks for the destination. */
	// +optional
	Destinations []AuthorizationpolicyDestinations `json:"destinations,omitempty"`

	/* Optional. List of attributes for the traffic source. If not set, the action specified in the ‘action’ field will be applied without any rule checks for the source. */
	// +optional
	Sources []AuthorizationpolicySources `json:"sources,omitempty"`
}

func (*AuthorizationpolicyRules) DeepCopy added in v1.54.0

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

func (*AuthorizationpolicyRules) DeepCopyInto added in v1.54.0

func (in *AuthorizationpolicyRules) DeepCopyInto(out *AuthorizationpolicyRules)

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

type AuthorizationpolicySources added in v1.54.0

type AuthorizationpolicySources struct {
	/* Optional. List of CIDR ranges to match based on source IP address. Single IP (e.g., "1.2.3.4") and CIDR (e.g., "1.2.3.0/24") are supported. */
	// +optional
	IpBlocks []string `json:"ipBlocks,omitempty"`

	/* Optional. List of peer identities to match for authorization. Each peer can be an exact match, or a prefix match (example, “namespace/*”) or a suffix match (example, * /service-account”) or a presence match “*”. */
	// +optional
	Principals []string `json:"principals,omitempty"`
}

func (*AuthorizationpolicySources) DeepCopy added in v1.54.0

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

func (*AuthorizationpolicySources) DeepCopyInto added in v1.54.0

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

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 NetworkSecurityAuthorizationPolicy added in v1.54.0

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

	Spec   NetworkSecurityAuthorizationPolicySpec   `json:"spec,omitempty"`
	Status NetworkSecurityAuthorizationPolicyStatus `json:"status,omitempty"`
}

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

func (*NetworkSecurityAuthorizationPolicy) DeepCopy added in v1.54.0

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

func (*NetworkSecurityAuthorizationPolicy) DeepCopyInto added in v1.54.0

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

func (*NetworkSecurityAuthorizationPolicy) DeepCopyObject added in v1.54.0

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

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

type NetworkSecurityAuthorizationPolicyList added in v1.54.0

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

NetworkSecurityAuthorizationPolicyList contains a list of NetworkSecurityAuthorizationPolicy

func (*NetworkSecurityAuthorizationPolicyList) DeepCopy added in v1.54.0

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

func (*NetworkSecurityAuthorizationPolicyList) DeepCopyInto added in v1.54.0

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

func (*NetworkSecurityAuthorizationPolicyList) DeepCopyObject added in v1.54.0

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

type NetworkSecurityAuthorizationPolicySpec added in v1.54.0

type NetworkSecurityAuthorizationPolicySpec struct {
	/* Required. The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". Possible values: ACTION_UNSPECIFIED, ALLOW, DENY */
	Action string `json:"action"`

	/* 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. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* 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. List of rules to match. If not set, the action specified in the ‘action’ field will be applied without any additional rule checks. */
	// +optional
	Rules []AuthorizationpolicyRules `json:"rules,omitempty"`
}

func (*NetworkSecurityAuthorizationPolicySpec) DeepCopy added in v1.54.0

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

func (*NetworkSecurityAuthorizationPolicySpec) DeepCopyInto added in v1.54.0

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

type NetworkSecurityAuthorizationPolicyStatus added in v1.54.0

type NetworkSecurityAuthorizationPolicyStatus struct {
	/* Conditions represent the latest available observations of the
	   NetworkSecurityAuthorizationPolicy'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 (*NetworkSecurityAuthorizationPolicyStatus) DeepCopy added in v1.54.0

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

func (*NetworkSecurityAuthorizationPolicyStatus) DeepCopyInto added in v1.54.0

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