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 ¶
- Variables
- type ClienttlspolicyCertificateProviderInstance
- type ClienttlspolicyClientCertificate
- type ClienttlspolicyGrpcEndpoint
- type ClienttlspolicyServerValidationCa
- type NetworkSecurityClientTLSPolicy
- type NetworkSecurityClientTLSPolicyList
- type NetworkSecurityClientTLSPolicySpec
- type NetworkSecurityClientTLSPolicyStatus
- type NetworkSecurityServerTLSPolicy
- type NetworkSecurityServerTLSPolicyList
- type NetworkSecurityServerTLSPolicySpec
- type NetworkSecurityServerTLSPolicyStatus
- type ServertlspolicyCertificateProviderInstance
- type ServertlspolicyClientValidationCa
- type ServertlspolicyGrpcEndpoint
- type ServertlspolicyMtlsPolicy
- type ServertlspolicyServerCertificate
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (in *ClienttlspolicyCertificateProviderInstance) DeepCopy() *ClienttlspolicyCertificateProviderInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClienttlspolicyCertificateProviderInstance.
func (*ClienttlspolicyCertificateProviderInstance) DeepCopyInto ¶
func (in *ClienttlspolicyCertificateProviderInstance) DeepCopyInto(out *ClienttlspolicyCertificateProviderInstance)
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 ¶
func (in *ClienttlspolicyClientCertificate) DeepCopy() *ClienttlspolicyClientCertificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClienttlspolicyClientCertificate.
func (*ClienttlspolicyClientCertificate) DeepCopyInto ¶
func (in *ClienttlspolicyClientCertificate) DeepCopyInto(out *ClienttlspolicyClientCertificate)
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 ¶
func (in *ClienttlspolicyGrpcEndpoint) DeepCopy() *ClienttlspolicyGrpcEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClienttlspolicyGrpcEndpoint.
func (*ClienttlspolicyGrpcEndpoint) DeepCopyInto ¶
func (in *ClienttlspolicyGrpcEndpoint) DeepCopyInto(out *ClienttlspolicyGrpcEndpoint)
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 ¶
func (in *ClienttlspolicyServerValidationCa) DeepCopy() *ClienttlspolicyServerValidationCa
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClienttlspolicyServerValidationCa.
func (*ClienttlspolicyServerValidationCa) DeepCopyInto ¶
func (in *ClienttlspolicyServerValidationCa) DeepCopyInto(out *ClienttlspolicyServerValidationCa)
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 ¶
func (in *NetworkSecurityClientTLSPolicy) DeepCopy() *NetworkSecurityClientTLSPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityClientTLSPolicy.
func (*NetworkSecurityClientTLSPolicy) DeepCopyInto ¶
func (in *NetworkSecurityClientTLSPolicy) DeepCopyInto(out *NetworkSecurityClientTLSPolicy)
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 ¶
func (in *NetworkSecurityClientTLSPolicyList) DeepCopy() *NetworkSecurityClientTLSPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityClientTLSPolicyList.
func (*NetworkSecurityClientTLSPolicyList) DeepCopyInto ¶
func (in *NetworkSecurityClientTLSPolicyList) DeepCopyInto(out *NetworkSecurityClientTLSPolicyList)
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 ¶
func (in *NetworkSecurityClientTLSPolicySpec) DeepCopy() *NetworkSecurityClientTLSPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityClientTLSPolicySpec.
func (*NetworkSecurityClientTLSPolicySpec) DeepCopyInto ¶
func (in *NetworkSecurityClientTLSPolicySpec) DeepCopyInto(out *NetworkSecurityClientTLSPolicySpec)
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 ¶
func (in *NetworkSecurityClientTLSPolicyStatus) DeepCopy() *NetworkSecurityClientTLSPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityClientTLSPolicyStatus.
func (*NetworkSecurityClientTLSPolicyStatus) DeepCopyInto ¶
func (in *NetworkSecurityClientTLSPolicyStatus) DeepCopyInto(out *NetworkSecurityClientTLSPolicyStatus)
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 ¶
func (in *NetworkSecurityServerTLSPolicy) DeepCopy() *NetworkSecurityServerTLSPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityServerTLSPolicy.
func (*NetworkSecurityServerTLSPolicy) DeepCopyInto ¶
func (in *NetworkSecurityServerTLSPolicy) DeepCopyInto(out *NetworkSecurityServerTLSPolicy)
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 ¶
func (in *NetworkSecurityServerTLSPolicyList) DeepCopy() *NetworkSecurityServerTLSPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityServerTLSPolicyList.
func (*NetworkSecurityServerTLSPolicyList) DeepCopyInto ¶
func (in *NetworkSecurityServerTLSPolicyList) DeepCopyInto(out *NetworkSecurityServerTLSPolicyList)
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 ¶
func (in *NetworkSecurityServerTLSPolicySpec) DeepCopy() *NetworkSecurityServerTLSPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityServerTLSPolicySpec.
func (*NetworkSecurityServerTLSPolicySpec) DeepCopyInto ¶
func (in *NetworkSecurityServerTLSPolicySpec) DeepCopyInto(out *NetworkSecurityServerTLSPolicySpec)
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 ¶
func (in *NetworkSecurityServerTLSPolicyStatus) DeepCopy() *NetworkSecurityServerTLSPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityServerTLSPolicyStatus.
func (*NetworkSecurityServerTLSPolicyStatus) DeepCopyInto ¶
func (in *NetworkSecurityServerTLSPolicyStatus) DeepCopyInto(out *NetworkSecurityServerTLSPolicyStatus)
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 ¶
func (in *ServertlspolicyCertificateProviderInstance) DeepCopy() *ServertlspolicyCertificateProviderInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServertlspolicyCertificateProviderInstance.
func (*ServertlspolicyCertificateProviderInstance) DeepCopyInto ¶
func (in *ServertlspolicyCertificateProviderInstance) DeepCopyInto(out *ServertlspolicyCertificateProviderInstance)
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 ¶
func (in *ServertlspolicyClientValidationCa) DeepCopy() *ServertlspolicyClientValidationCa
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServertlspolicyClientValidationCa.
func (*ServertlspolicyClientValidationCa) DeepCopyInto ¶
func (in *ServertlspolicyClientValidationCa) DeepCopyInto(out *ServertlspolicyClientValidationCa)
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 ¶
func (in *ServertlspolicyGrpcEndpoint) DeepCopy() *ServertlspolicyGrpcEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServertlspolicyGrpcEndpoint.
func (*ServertlspolicyGrpcEndpoint) DeepCopyInto ¶
func (in *ServertlspolicyGrpcEndpoint) DeepCopyInto(out *ServertlspolicyGrpcEndpoint)
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 ¶
func (in *ServertlspolicyMtlsPolicy) DeepCopy() *ServertlspolicyMtlsPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServertlspolicyMtlsPolicy.
func (*ServertlspolicyMtlsPolicy) DeepCopyInto ¶
func (in *ServertlspolicyMtlsPolicy) DeepCopyInto(out *ServertlspolicyMtlsPolicy)
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 ¶
func (in *ServertlspolicyServerCertificate) DeepCopy() *ServertlspolicyServerCertificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServertlspolicyServerCertificate.
func (*ServertlspolicyServerCertificate) DeepCopyInto ¶
func (in *ServertlspolicyServerCertificate) DeepCopyInto(out *ServertlspolicyServerCertificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.