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/clients/generated/pkg/apis/networksecurity +k8s:defaulter-gen=TypeMeta +groupName=networksecurity.cnrm.cloud.google.com
Index ¶
- Variables
- type AuthorizationpolicyDestinations
- type AuthorizationpolicyHttpHeaderMatch
- type AuthorizationpolicyRules
- type AuthorizationpolicySources
- type ClienttlspolicyCertificateProviderInstance
- type ClienttlspolicyClientCertificate
- type ClienttlspolicyGrpcEndpoint
- type ClienttlspolicyServerValidationCa
- type NetworkSecurityAuthorizationPolicy
- type NetworkSecurityAuthorizationPolicyList
- type NetworkSecurityAuthorizationPolicySpec
- type NetworkSecurityAuthorizationPolicyStatus
- 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 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 ¶
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 ¶
func (in *AuthorizationpolicyDestinations) DeepCopy() *AuthorizationpolicyDestinations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationpolicyDestinations.
func (*AuthorizationpolicyDestinations) DeepCopyInto ¶
func (in *AuthorizationpolicyDestinations) DeepCopyInto(out *AuthorizationpolicyDestinations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizationpolicyHttpHeaderMatch ¶
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 ¶
func (in *AuthorizationpolicyHttpHeaderMatch) DeepCopy() *AuthorizationpolicyHttpHeaderMatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationpolicyHttpHeaderMatch.
func (*AuthorizationpolicyHttpHeaderMatch) DeepCopyInto ¶
func (in *AuthorizationpolicyHttpHeaderMatch) DeepCopyInto(out *AuthorizationpolicyHttpHeaderMatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizationpolicyRules ¶
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 ¶
func (in *AuthorizationpolicyRules) DeepCopy() *AuthorizationpolicyRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationpolicyRules.
func (*AuthorizationpolicyRules) DeepCopyInto ¶
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 ¶
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 ¶
func (in *AuthorizationpolicySources) DeepCopy() *AuthorizationpolicySources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationpolicySources.
func (*AuthorizationpolicySources) DeepCopyInto ¶
func (in *AuthorizationpolicySources) DeepCopyInto(out *AuthorizationpolicySources)
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 ¶
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 NetworkSecurityAuthorizationPolicy ¶
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 ¶
func (in *NetworkSecurityAuthorizationPolicy) DeepCopy() *NetworkSecurityAuthorizationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityAuthorizationPolicy.
func (*NetworkSecurityAuthorizationPolicy) DeepCopyInto ¶
func (in *NetworkSecurityAuthorizationPolicy) DeepCopyInto(out *NetworkSecurityAuthorizationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkSecurityAuthorizationPolicy) DeepCopyObject ¶
func (in *NetworkSecurityAuthorizationPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkSecurityAuthorizationPolicyList ¶
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 ¶
func (in *NetworkSecurityAuthorizationPolicyList) DeepCopy() *NetworkSecurityAuthorizationPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityAuthorizationPolicyList.
func (*NetworkSecurityAuthorizationPolicyList) DeepCopyInto ¶
func (in *NetworkSecurityAuthorizationPolicyList) DeepCopyInto(out *NetworkSecurityAuthorizationPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkSecurityAuthorizationPolicyList) DeepCopyObject ¶
func (in *NetworkSecurityAuthorizationPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkSecurityAuthorizationPolicySpec ¶
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"` /* Immutable. The location for the resource */ Location string `json:"location"` /* Immutable. 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 ¶
func (in *NetworkSecurityAuthorizationPolicySpec) DeepCopy() *NetworkSecurityAuthorizationPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityAuthorizationPolicySpec.
func (*NetworkSecurityAuthorizationPolicySpec) DeepCopyInto ¶
func (in *NetworkSecurityAuthorizationPolicySpec) DeepCopyInto(out *NetworkSecurityAuthorizationPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSecurityAuthorizationPolicyStatus ¶
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 ¶
func (in *NetworkSecurityAuthorizationPolicyStatus) DeepCopy() *NetworkSecurityAuthorizationPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityAuthorizationPolicyStatus.
func (*NetworkSecurityAuthorizationPolicyStatus) DeepCopyInto ¶
func (in *NetworkSecurityAuthorizationPolicyStatus) DeepCopyInto(out *NetworkSecurityAuthorizationPolicyStatus)
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"` /* Immutable. The location for the resource */ Location string `json:"location"` /* Immutable. 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"` /* Immutable. 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"` /* Immutable. 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.