Documentation ¶
Overview ¶
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package beta defines operations in the declarative SDK.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func DCLAuthorizationPolicySchema() *dcl.Schema
- func DCLClientTlsPolicySchema() *dcl.Schema
- func DCLServerTlsPolicySchema() *dcl.Schema
- type AuthorizationPolicy
- func (r *AuthorizationPolicy) Describe() dcl.ServiceTypeVersion
- func (r *AuthorizationPolicy) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *AuthorizationPolicy) IAMPolicyVersion() int
- func (r *AuthorizationPolicy) ID() (string, error)
- func (r *AuthorizationPolicy) SetPolicyURL(userBasePath string) string
- func (r *AuthorizationPolicy) SetPolicyVerb() string
- func (r *AuthorizationPolicy) String() string
- type AuthorizationPolicyActionEnum
- type AuthorizationPolicyList
- type AuthorizationPolicyRules
- type AuthorizationPolicyRulesDestinations
- type AuthorizationPolicyRulesDestinationsHttpHeaderMatch
- func (r *AuthorizationPolicyRulesDestinationsHttpHeaderMatch) Empty() bool
- func (r *AuthorizationPolicyRulesDestinationsHttpHeaderMatch) HashCode() string
- func (r *AuthorizationPolicyRulesDestinationsHttpHeaderMatch) String() string
- func (r *AuthorizationPolicyRulesDestinationsHttpHeaderMatch) UnmarshalJSON(data []byte) error
- type AuthorizationPolicyRulesSources
- type Client
- func (c *Client) ApplyAuthorizationPolicy(ctx context.Context, rawDesired *AuthorizationPolicy, opts ...dcl.ApplyOption) (*AuthorizationPolicy, error)
- func (c *Client) ApplyClientTlsPolicy(ctx context.Context, rawDesired *ClientTlsPolicy, opts ...dcl.ApplyOption) (*ClientTlsPolicy, error)
- func (c *Client) ApplyServerTlsPolicy(ctx context.Context, rawDesired *ServerTlsPolicy, opts ...dcl.ApplyOption) (*ServerTlsPolicy, error)
- func (c *Client) DeleteAllAuthorizationPolicy(ctx context.Context, project, location string, ...) error
- func (c *Client) DeleteAllClientTlsPolicy(ctx context.Context, project, location string, ...) error
- func (c *Client) DeleteAllServerTlsPolicy(ctx context.Context, project, location string, ...) error
- func (c *Client) DeleteAuthorizationPolicy(ctx context.Context, r *AuthorizationPolicy) error
- func (c *Client) DeleteClientTlsPolicy(ctx context.Context, r *ClientTlsPolicy) error
- func (c *Client) DeleteServerTlsPolicy(ctx context.Context, r *ServerTlsPolicy) error
- func (c *Client) GetAuthorizationPolicy(ctx context.Context, r *AuthorizationPolicy) (*AuthorizationPolicy, error)
- func (c *Client) GetClientTlsPolicy(ctx context.Context, r *ClientTlsPolicy) (*ClientTlsPolicy, error)
- func (c *Client) GetServerTlsPolicy(ctx context.Context, r *ServerTlsPolicy) (*ServerTlsPolicy, error)
- func (c *Client) ListAuthorizationPolicy(ctx context.Context, project, location string) (*AuthorizationPolicyList, error)
- func (c *Client) ListAuthorizationPolicyWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*AuthorizationPolicyList, error)
- func (c *Client) ListClientTlsPolicy(ctx context.Context, project, location string) (*ClientTlsPolicyList, error)
- func (c *Client) ListClientTlsPolicyWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ClientTlsPolicyList, error)
- func (c *Client) ListServerTlsPolicy(ctx context.Context, project, location string) (*ServerTlsPolicyList, error)
- func (c *Client) ListServerTlsPolicyWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ServerTlsPolicyList, error)
- type ClientTlsPolicy
- func (r *ClientTlsPolicy) Describe() dcl.ServiceTypeVersion
- func (r *ClientTlsPolicy) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *ClientTlsPolicy) IAMPolicyVersion() int
- func (r *ClientTlsPolicy) ID() (string, error)
- func (r *ClientTlsPolicy) SetPolicyURL(userBasePath string) string
- func (r *ClientTlsPolicy) SetPolicyVerb() string
- func (r *ClientTlsPolicy) String() string
- type ClientTlsPolicyClientCertificate
- type ClientTlsPolicyClientCertificateCertificateProviderInstance
- func (r *ClientTlsPolicyClientCertificateCertificateProviderInstance) Empty() bool
- func (r *ClientTlsPolicyClientCertificateCertificateProviderInstance) HashCode() string
- func (r *ClientTlsPolicyClientCertificateCertificateProviderInstance) String() string
- func (r *ClientTlsPolicyClientCertificateCertificateProviderInstance) UnmarshalJSON(data []byte) error
- type ClientTlsPolicyClientCertificateGrpcEndpoint
- type ClientTlsPolicyList
- type ClientTlsPolicyServerValidationCa
- type ClientTlsPolicyServerValidationCaCertificateProviderInstance
- func (r *ClientTlsPolicyServerValidationCaCertificateProviderInstance) Empty() bool
- func (r *ClientTlsPolicyServerValidationCaCertificateProviderInstance) HashCode() string
- func (r *ClientTlsPolicyServerValidationCaCertificateProviderInstance) String() string
- func (r *ClientTlsPolicyServerValidationCaCertificateProviderInstance) UnmarshalJSON(data []byte) error
- type ClientTlsPolicyServerValidationCaGrpcEndpoint
- func (r *ClientTlsPolicyServerValidationCaGrpcEndpoint) Empty() bool
- func (r *ClientTlsPolicyServerValidationCaGrpcEndpoint) HashCode() string
- func (r *ClientTlsPolicyServerValidationCaGrpcEndpoint) String() string
- func (r *ClientTlsPolicyServerValidationCaGrpcEndpoint) UnmarshalJSON(data []byte) error
- type ServerTlsPolicy
- func (r *ServerTlsPolicy) Describe() dcl.ServiceTypeVersion
- func (r *ServerTlsPolicy) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *ServerTlsPolicy) IAMPolicyVersion() int
- func (r *ServerTlsPolicy) ID() (string, error)
- func (r *ServerTlsPolicy) SetPolicyURL(userBasePath string) string
- func (r *ServerTlsPolicy) SetPolicyVerb() string
- func (r *ServerTlsPolicy) String() string
- type ServerTlsPolicyList
- type ServerTlsPolicyMtlsPolicy
- type ServerTlsPolicyMtlsPolicyClientValidationCa
- type ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance
- func (r *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) Empty() bool
- func (r *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) HashCode() string
- func (r *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) String() string
- func (r *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) UnmarshalJSON(data []byte) error
- type ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint
- func (r *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) Empty() bool
- func (r *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) HashCode() string
- func (r *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) String() string
- func (r *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) UnmarshalJSON(data []byte) error
- type ServerTlsPolicyServerCertificate
- type ServerTlsPolicyServerCertificateCertificateProviderInstance
- func (r *ServerTlsPolicyServerCertificateCertificateProviderInstance) Empty() bool
- func (r *ServerTlsPolicyServerCertificateCertificateProviderInstance) HashCode() string
- func (r *ServerTlsPolicyServerCertificateCertificateProviderInstance) String() string
- func (r *ServerTlsPolicyServerCertificateCertificateProviderInstance) UnmarshalJSON(data []byte) error
- type ServerTlsPolicyServerCertificateGrpcEndpoint
Constants ¶
const AuthorizationPolicyMaxPage = -1
const ClientTlsPolicyMaxPage = -1
const ServerTlsPolicyMaxPage = -1
Variables ¶
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/beta/authorization_policy.yaml
var YAML_client_tls_policy = []byte("info:\n title: NetworkSecurity/ClientTlsPolicy\n description: The NetworkSecurity ClientTlsPolicy resource\n x-dcl-struct-name: ClientTlsPolicy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ClientTlsPolicy\n parameters:\n - name: clientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n apply:\n description: The function used to apply information about a ClientTlsPolicy\n parameters:\n - name: clientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n delete:\n description: The function used to delete a ClientTlsPolicy\n parameters:\n - name: clientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n deleteAll:\n description: The function used to delete all ClientTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ClientTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ClientTlsPolicy:\n title: ClientTlsPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/clientTlsPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-create: true\n x-dcl-has-iam: true\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - project\n - location\n properties:\n clientCertificate:\n type: object\n x-dcl-go-name: ClientCertificate\n x-dcl-go-type: ClientTlsPolicyClientCertificate\n description: Optional. Defines a mechanism to provision client identity\n (public and private keys) for peer to peer authentication. The presence\n of this dictates mTLS.\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ClientTlsPolicyClientCertificateCertificateProviderInstance\n description: The certificate provider instance specification that will\n be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ClientTlsPolicyClientCertificateGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server to\n obtain the cert and private key.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ClientTlsPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverValidationCa:\n type: array\n x-dcl-go-name: ServerValidationCa\n description: Required. Defines the mechanism to obtain the Certificate Authority\n certificate to validate the server certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClientTlsPolicyServerValidationCa\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ClientTlsPolicyServerValidationCaCertificateProviderInstance\n description: The certificate provider instance specification that\n will be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ClientTlsPolicyServerValidationCaGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server\n to obtain the CA certificate.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n sni:\n type: string\n x-dcl-go-name: Sni\n description: 'Optional. Server Name Indication string to present to the\n server during TLS handshake. E.g: \"secure.example.com\".'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/beta/client_tls_policy.yaml
var YAML_server_tls_policy = []byte("info:\n title: NetworkSecurity/ServerTlsPolicy\n description: The NetworkSecurity ServerTlsPolicy resource\n x-dcl-struct-name: ServerTlsPolicy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServerTlsPolicy\n parameters:\n - name: serverTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n apply:\n description: The function used to apply information about a ServerTlsPolicy\n parameters:\n - name: serverTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n delete:\n description: The function used to delete a ServerTlsPolicy\n parameters:\n - name: serverTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n deleteAll:\n description: The function used to delete all ServerTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServerTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServerTlsPolicy:\n title: ServerTlsPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/serverTlsPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-create: true\n x-dcl-has-iam: true\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - project\n - location\n properties:\n allowOpen:\n type: boolean\n x-dcl-go-name: AllowOpen\n description: Optional. Determines if server allows plaintext connections.\n If set to true, server allows plain text connections. By default, it is\n set to false. This setting is not exclusive of other encryption modes.\n For example, if allow_open and mtls_policy are set, server allows both\n plain text and mTLS connections. See documentation of other encryption\n modes to confirm compatibility.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mtlsPolicy:\n type: object\n x-dcl-go-name: MtlsPolicy\n x-dcl-go-type: ServerTlsPolicyMtlsPolicy\n description: Optional. Defines a mechanism to provision peer validation\n certificates for peer to peer authentication (Mutual TLS - mTLS). If not\n specified, client certificate will not be requested. The connection is\n treated as TLS and not mTLS. If allow_open and mtls_policy are set, server\n allows both plain text and mTLS connections.\n required:\n - clientValidationCa\n properties:\n clientValidationCa:\n type: array\n x-dcl-go-name: ClientValidationCa\n description: Required. Defines the mechanism to obtain the Certificate\n Authority certificate to validate the client certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCa\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance\n description: The certificate provider instance specification that\n will be passed to the data plane, which will be used to load\n necessary credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate\n and load CertificateProvider instance configuration. Set\n to \"google_cloud_private_spiffe\" to use Certificate Authority\n Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server\n to obtain the CA certificate.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint.\n Only UDS path is supported, and should start with “unix:”.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ServerTlsPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverCertificate:\n type: object\n x-dcl-go-name: ServerCertificate\n x-dcl-go-type: ServerTlsPolicyServerCertificate\n description: Optional. Defines a mechanism to provision server identity\n (public and private keys). Cannot be combined with allow_open as a permissive\n mode that allows both plain text and TLS is not supported.\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ServerTlsPolicyServerCertificateCertificateProviderInstance\n description: The certificate provider instance specification that will\n be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ServerTlsPolicyServerCertificateGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server to\n obtain the cert and private key.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/beta/server_tls_policy.yaml
Functions ¶
func DCLAuthorizationPolicySchema ¶ added in v1.10.3
func DCLClientTlsPolicySchema ¶ added in v1.10.3
func DCLServerTlsPolicySchema ¶ added in v1.10.3
Types ¶
type AuthorizationPolicy ¶
type AuthorizationPolicy struct { Name *string `json:"name"` Description *string `json:"description"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Labels map[string]string `json:"labels"` Action *AuthorizationPolicyActionEnum `json:"action"` Rules []AuthorizationPolicyRules `json:"rules"` Project *string `json:"project"` Location *string `json:"location"` }
func (*AuthorizationPolicy) Describe ¶
func (r *AuthorizationPolicy) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*AuthorizationPolicy) IAMPolicyVersion ¶
func (r *AuthorizationPolicy) IAMPolicyVersion() int
func (*AuthorizationPolicy) ID ¶
func (r *AuthorizationPolicy) ID() (string, error)
func (*AuthorizationPolicy) SetPolicyURL ¶
func (r *AuthorizationPolicy) SetPolicyURL(userBasePath string) string
func (*AuthorizationPolicy) SetPolicyVerb ¶
func (r *AuthorizationPolicy) SetPolicyVerb() string
func (*AuthorizationPolicy) String ¶
func (r *AuthorizationPolicy) String() string
type AuthorizationPolicyActionEnum ¶
type AuthorizationPolicyActionEnum string
The enum AuthorizationPolicyActionEnum.
func AuthorizationPolicyActionEnumRef ¶
func AuthorizationPolicyActionEnumRef(s string) *AuthorizationPolicyActionEnum
AuthorizationPolicyActionEnumRef returns a *AuthorizationPolicyActionEnum with the value of string s If the empty string is provided, nil is returned.
func (AuthorizationPolicyActionEnum) Validate ¶
func (v AuthorizationPolicyActionEnum) Validate() error
type AuthorizationPolicyList ¶
type AuthorizationPolicyList struct { Items []*AuthorizationPolicy // contains filtered or unexported fields }
func (*AuthorizationPolicyList) HasNext ¶
func (l *AuthorizationPolicyList) HasNext() bool
type AuthorizationPolicyRules ¶
type AuthorizationPolicyRules struct { Sources []AuthorizationPolicyRulesSources `json:"sources"` Destinations []AuthorizationPolicyRulesDestinations `json:"destinations"` // contains filtered or unexported fields }
var EmptyAuthorizationPolicyRules *AuthorizationPolicyRules = &AuthorizationPolicyRules{empty: true}
This object is used to assert a desired state where this AuthorizationPolicyRules is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AuthorizationPolicyRules) Empty ¶
func (r *AuthorizationPolicyRules) Empty() bool
func (*AuthorizationPolicyRules) HashCode ¶
func (r *AuthorizationPolicyRules) HashCode() string
func (*AuthorizationPolicyRules) String ¶
func (r *AuthorizationPolicyRules) String() string
func (*AuthorizationPolicyRules) UnmarshalJSON ¶
func (r *AuthorizationPolicyRules) UnmarshalJSON(data []byte) error
type AuthorizationPolicyRulesDestinations ¶
type AuthorizationPolicyRulesDestinations struct { Hosts []string `json:"hosts"` Ports []int64 `json:"ports"` Methods []string `json:"methods"` HttpHeaderMatch *AuthorizationPolicyRulesDestinationsHttpHeaderMatch `json:"httpHeaderMatch"` // contains filtered or unexported fields }
var EmptyAuthorizationPolicyRulesDestinations *AuthorizationPolicyRulesDestinations = &AuthorizationPolicyRulesDestinations{empty: true}
This object is used to assert a desired state where this AuthorizationPolicyRulesDestinations is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AuthorizationPolicyRulesDestinations) Empty ¶
func (r *AuthorizationPolicyRulesDestinations) Empty() bool
func (*AuthorizationPolicyRulesDestinations) HashCode ¶
func (r *AuthorizationPolicyRulesDestinations) HashCode() string
func (*AuthorizationPolicyRulesDestinations) String ¶
func (r *AuthorizationPolicyRulesDestinations) String() string
func (*AuthorizationPolicyRulesDestinations) UnmarshalJSON ¶
func (r *AuthorizationPolicyRulesDestinations) UnmarshalJSON(data []byte) error
type AuthorizationPolicyRulesDestinationsHttpHeaderMatch ¶
type AuthorizationPolicyRulesDestinationsHttpHeaderMatch struct { HeaderName *string `json:"headerName"` RegexMatch *string `json:"regexMatch"` // contains filtered or unexported fields }
var EmptyAuthorizationPolicyRulesDestinationsHttpHeaderMatch *AuthorizationPolicyRulesDestinationsHttpHeaderMatch = &AuthorizationPolicyRulesDestinationsHttpHeaderMatch{empty: true}
This object is used to assert a desired state where this AuthorizationPolicyRulesDestinationsHttpHeaderMatch is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) Empty ¶
func (r *AuthorizationPolicyRulesDestinationsHttpHeaderMatch) Empty() bool
func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) HashCode ¶
func (r *AuthorizationPolicyRulesDestinationsHttpHeaderMatch) HashCode() string
func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) String ¶
func (r *AuthorizationPolicyRulesDestinationsHttpHeaderMatch) String() string
func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) UnmarshalJSON ¶
func (r *AuthorizationPolicyRulesDestinationsHttpHeaderMatch) UnmarshalJSON(data []byte) error
type AuthorizationPolicyRulesSources ¶
type AuthorizationPolicyRulesSources struct { Principals []string `json:"principals"` IPBlocks []string `json:"ipBlocks"` // contains filtered or unexported fields }
var EmptyAuthorizationPolicyRulesSources *AuthorizationPolicyRulesSources = &AuthorizationPolicyRulesSources{empty: true}
This object is used to assert a desired state where this AuthorizationPolicyRulesSources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AuthorizationPolicyRulesSources) Empty ¶
func (r *AuthorizationPolicyRulesSources) Empty() bool
func (*AuthorizationPolicyRulesSources) HashCode ¶
func (r *AuthorizationPolicyRulesSources) HashCode() string
func (*AuthorizationPolicyRulesSources) String ¶
func (r *AuthorizationPolicyRulesSources) String() string
func (*AuthorizationPolicyRulesSources) UnmarshalJSON ¶
func (r *AuthorizationPolicyRulesSources) UnmarshalJSON(data []byte) error
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyAuthorizationPolicy ¶
func (c *Client) ApplyAuthorizationPolicy(ctx context.Context, rawDesired *AuthorizationPolicy, opts ...dcl.ApplyOption) (*AuthorizationPolicy, error)
func (*Client) ApplyClientTlsPolicy ¶
func (c *Client) ApplyClientTlsPolicy(ctx context.Context, rawDesired *ClientTlsPolicy, opts ...dcl.ApplyOption) (*ClientTlsPolicy, error)
func (*Client) ApplyServerTlsPolicy ¶
func (c *Client) ApplyServerTlsPolicy(ctx context.Context, rawDesired *ServerTlsPolicy, opts ...dcl.ApplyOption) (*ServerTlsPolicy, error)
func (*Client) DeleteAllAuthorizationPolicy ¶
func (c *Client) DeleteAllAuthorizationPolicy(ctx context.Context, project, location string, filter func(*AuthorizationPolicy) bool) error
DeleteAllAuthorizationPolicy deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllClientTlsPolicy ¶
func (c *Client) DeleteAllClientTlsPolicy(ctx context.Context, project, location string, filter func(*ClientTlsPolicy) bool) error
DeleteAllClientTlsPolicy deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllServerTlsPolicy ¶
func (c *Client) DeleteAllServerTlsPolicy(ctx context.Context, project, location string, filter func(*ServerTlsPolicy) bool) error
DeleteAllServerTlsPolicy deletes all resources that the filter functions returns true on.
func (*Client) DeleteAuthorizationPolicy ¶
func (c *Client) DeleteAuthorizationPolicy(ctx context.Context, r *AuthorizationPolicy) error
func (*Client) DeleteClientTlsPolicy ¶
func (c *Client) DeleteClientTlsPolicy(ctx context.Context, r *ClientTlsPolicy) error
func (*Client) DeleteServerTlsPolicy ¶
func (c *Client) DeleteServerTlsPolicy(ctx context.Context, r *ServerTlsPolicy) error
func (*Client) GetAuthorizationPolicy ¶
func (c *Client) GetAuthorizationPolicy(ctx context.Context, r *AuthorizationPolicy) (*AuthorizationPolicy, error)
func (*Client) GetClientTlsPolicy ¶
func (c *Client) GetClientTlsPolicy(ctx context.Context, r *ClientTlsPolicy) (*ClientTlsPolicy, error)
func (*Client) GetServerTlsPolicy ¶
func (c *Client) GetServerTlsPolicy(ctx context.Context, r *ServerTlsPolicy) (*ServerTlsPolicy, error)
func (*Client) ListAuthorizationPolicy ¶
func (*Client) ListAuthorizationPolicyWithMaxResults ¶
func (*Client) ListClientTlsPolicy ¶
func (*Client) ListClientTlsPolicyWithMaxResults ¶
func (*Client) ListServerTlsPolicy ¶
func (*Client) ListServerTlsPolicyWithMaxResults ¶
type ClientTlsPolicy ¶
type ClientTlsPolicy struct { Name *string `json:"name"` Description *string `json:"description"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Labels map[string]string `json:"labels"` Sni *string `json:"sni"` ClientCertificate *ClientTlsPolicyClientCertificate `json:"clientCertificate"` ServerValidationCa []ClientTlsPolicyServerValidationCa `json:"serverValidationCa"` Project *string `json:"project"` Location *string `json:"location"` }
func (*ClientTlsPolicy) Describe ¶
func (r *ClientTlsPolicy) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*ClientTlsPolicy) IAMPolicyVersion ¶
func (r *ClientTlsPolicy) IAMPolicyVersion() int
func (*ClientTlsPolicy) ID ¶
func (r *ClientTlsPolicy) ID() (string, error)
func (*ClientTlsPolicy) SetPolicyURL ¶
func (r *ClientTlsPolicy) SetPolicyURL(userBasePath string) string
func (*ClientTlsPolicy) SetPolicyVerb ¶
func (r *ClientTlsPolicy) SetPolicyVerb() string
func (*ClientTlsPolicy) String ¶
func (r *ClientTlsPolicy) String() string
type ClientTlsPolicyClientCertificate ¶
type ClientTlsPolicyClientCertificate struct { GrpcEndpoint *ClientTlsPolicyClientCertificateGrpcEndpoint `json:"grpcEndpoint"` CertificateProviderInstance *ClientTlsPolicyClientCertificateCertificateProviderInstance `json:"certificateProviderInstance"` // contains filtered or unexported fields }
var EmptyClientTlsPolicyClientCertificate *ClientTlsPolicyClientCertificate = &ClientTlsPolicyClientCertificate{empty: true}
This object is used to assert a desired state where this ClientTlsPolicyClientCertificate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClientTlsPolicyClientCertificate) Empty ¶
func (r *ClientTlsPolicyClientCertificate) Empty() bool
func (*ClientTlsPolicyClientCertificate) HashCode ¶
func (r *ClientTlsPolicyClientCertificate) HashCode() string
func (*ClientTlsPolicyClientCertificate) String ¶
func (r *ClientTlsPolicyClientCertificate) String() string
func (*ClientTlsPolicyClientCertificate) UnmarshalJSON ¶
func (r *ClientTlsPolicyClientCertificate) UnmarshalJSON(data []byte) error
type ClientTlsPolicyClientCertificateCertificateProviderInstance ¶
type ClientTlsPolicyClientCertificateCertificateProviderInstance struct { PluginInstance *string `json:"pluginInstance"` // contains filtered or unexported fields }
var EmptyClientTlsPolicyClientCertificateCertificateProviderInstance *ClientTlsPolicyClientCertificateCertificateProviderInstance = &ClientTlsPolicyClientCertificateCertificateProviderInstance{empty: true}
This object is used to assert a desired state where this ClientTlsPolicyClientCertificateCertificateProviderInstance is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) Empty ¶
func (r *ClientTlsPolicyClientCertificateCertificateProviderInstance) Empty() bool
func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) HashCode ¶
func (r *ClientTlsPolicyClientCertificateCertificateProviderInstance) HashCode() string
func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) String ¶
func (r *ClientTlsPolicyClientCertificateCertificateProviderInstance) String() string
func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) UnmarshalJSON ¶
func (r *ClientTlsPolicyClientCertificateCertificateProviderInstance) UnmarshalJSON(data []byte) error
type ClientTlsPolicyClientCertificateGrpcEndpoint ¶
type ClientTlsPolicyClientCertificateGrpcEndpoint struct { TargetUri *string `json:"targetUri"` // contains filtered or unexported fields }
var EmptyClientTlsPolicyClientCertificateGrpcEndpoint *ClientTlsPolicyClientCertificateGrpcEndpoint = &ClientTlsPolicyClientCertificateGrpcEndpoint{empty: true}
This object is used to assert a desired state where this ClientTlsPolicyClientCertificateGrpcEndpoint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClientTlsPolicyClientCertificateGrpcEndpoint) Empty ¶
func (r *ClientTlsPolicyClientCertificateGrpcEndpoint) Empty() bool
func (*ClientTlsPolicyClientCertificateGrpcEndpoint) HashCode ¶
func (r *ClientTlsPolicyClientCertificateGrpcEndpoint) HashCode() string
func (*ClientTlsPolicyClientCertificateGrpcEndpoint) String ¶
func (r *ClientTlsPolicyClientCertificateGrpcEndpoint) String() string
func (*ClientTlsPolicyClientCertificateGrpcEndpoint) UnmarshalJSON ¶
func (r *ClientTlsPolicyClientCertificateGrpcEndpoint) UnmarshalJSON(data []byte) error
type ClientTlsPolicyList ¶
type ClientTlsPolicyList struct { Items []*ClientTlsPolicy // contains filtered or unexported fields }
func (*ClientTlsPolicyList) HasNext ¶
func (l *ClientTlsPolicyList) HasNext() bool
type ClientTlsPolicyServerValidationCa ¶
type ClientTlsPolicyServerValidationCa struct { GrpcEndpoint *ClientTlsPolicyServerValidationCaGrpcEndpoint `json:"grpcEndpoint"` CertificateProviderInstance *ClientTlsPolicyServerValidationCaCertificateProviderInstance `json:"certificateProviderInstance"` // contains filtered or unexported fields }
var EmptyClientTlsPolicyServerValidationCa *ClientTlsPolicyServerValidationCa = &ClientTlsPolicyServerValidationCa{empty: true}
This object is used to assert a desired state where this ClientTlsPolicyServerValidationCa is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClientTlsPolicyServerValidationCa) Empty ¶
func (r *ClientTlsPolicyServerValidationCa) Empty() bool
func (*ClientTlsPolicyServerValidationCa) HashCode ¶
func (r *ClientTlsPolicyServerValidationCa) HashCode() string
func (*ClientTlsPolicyServerValidationCa) String ¶
func (r *ClientTlsPolicyServerValidationCa) String() string
func (*ClientTlsPolicyServerValidationCa) UnmarshalJSON ¶
func (r *ClientTlsPolicyServerValidationCa) UnmarshalJSON(data []byte) error
type ClientTlsPolicyServerValidationCaCertificateProviderInstance ¶
type ClientTlsPolicyServerValidationCaCertificateProviderInstance struct { PluginInstance *string `json:"pluginInstance"` // contains filtered or unexported fields }
var EmptyClientTlsPolicyServerValidationCaCertificateProviderInstance *ClientTlsPolicyServerValidationCaCertificateProviderInstance = &ClientTlsPolicyServerValidationCaCertificateProviderInstance{empty: true}
This object is used to assert a desired state where this ClientTlsPolicyServerValidationCaCertificateProviderInstance is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) Empty ¶
func (r *ClientTlsPolicyServerValidationCaCertificateProviderInstance) Empty() bool
func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) HashCode ¶
func (r *ClientTlsPolicyServerValidationCaCertificateProviderInstance) HashCode() string
func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) String ¶
func (r *ClientTlsPolicyServerValidationCaCertificateProviderInstance) String() string
func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) UnmarshalJSON ¶
func (r *ClientTlsPolicyServerValidationCaCertificateProviderInstance) UnmarshalJSON(data []byte) error
type ClientTlsPolicyServerValidationCaGrpcEndpoint ¶
type ClientTlsPolicyServerValidationCaGrpcEndpoint struct { TargetUri *string `json:"targetUri"` // contains filtered or unexported fields }
var EmptyClientTlsPolicyServerValidationCaGrpcEndpoint *ClientTlsPolicyServerValidationCaGrpcEndpoint = &ClientTlsPolicyServerValidationCaGrpcEndpoint{empty: true}
This object is used to assert a desired state where this ClientTlsPolicyServerValidationCaGrpcEndpoint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) Empty ¶
func (r *ClientTlsPolicyServerValidationCaGrpcEndpoint) Empty() bool
func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) HashCode ¶
func (r *ClientTlsPolicyServerValidationCaGrpcEndpoint) HashCode() string
func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) String ¶
func (r *ClientTlsPolicyServerValidationCaGrpcEndpoint) String() string
func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) UnmarshalJSON ¶
func (r *ClientTlsPolicyServerValidationCaGrpcEndpoint) UnmarshalJSON(data []byte) error
type ServerTlsPolicy ¶
type ServerTlsPolicy struct { Name *string `json:"name"` Description *string `json:"description"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Labels map[string]string `json:"labels"` AllowOpen *bool `json:"allowOpen"` ServerCertificate *ServerTlsPolicyServerCertificate `json:"serverCertificate"` MtlsPolicy *ServerTlsPolicyMtlsPolicy `json:"mtlsPolicy"` Project *string `json:"project"` Location *string `json:"location"` }
func (*ServerTlsPolicy) Describe ¶
func (r *ServerTlsPolicy) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*ServerTlsPolicy) IAMPolicyVersion ¶
func (r *ServerTlsPolicy) IAMPolicyVersion() int
func (*ServerTlsPolicy) ID ¶
func (r *ServerTlsPolicy) ID() (string, error)
func (*ServerTlsPolicy) SetPolicyURL ¶
func (r *ServerTlsPolicy) SetPolicyURL(userBasePath string) string
func (*ServerTlsPolicy) SetPolicyVerb ¶
func (r *ServerTlsPolicy) SetPolicyVerb() string
func (*ServerTlsPolicy) String ¶
func (r *ServerTlsPolicy) String() string
type ServerTlsPolicyList ¶
type ServerTlsPolicyList struct { Items []*ServerTlsPolicy // contains filtered or unexported fields }
func (*ServerTlsPolicyList) HasNext ¶
func (l *ServerTlsPolicyList) HasNext() bool
type ServerTlsPolicyMtlsPolicy ¶
type ServerTlsPolicyMtlsPolicy struct { ClientValidationCa []ServerTlsPolicyMtlsPolicyClientValidationCa `json:"clientValidationCa"` // contains filtered or unexported fields }
var EmptyServerTlsPolicyMtlsPolicy *ServerTlsPolicyMtlsPolicy = &ServerTlsPolicyMtlsPolicy{empty: true}
This object is used to assert a desired state where this ServerTlsPolicyMtlsPolicy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServerTlsPolicyMtlsPolicy) Empty ¶
func (r *ServerTlsPolicyMtlsPolicy) Empty() bool
func (*ServerTlsPolicyMtlsPolicy) HashCode ¶
func (r *ServerTlsPolicyMtlsPolicy) HashCode() string
func (*ServerTlsPolicyMtlsPolicy) String ¶
func (r *ServerTlsPolicyMtlsPolicy) String() string
func (*ServerTlsPolicyMtlsPolicy) UnmarshalJSON ¶
func (r *ServerTlsPolicyMtlsPolicy) UnmarshalJSON(data []byte) error
type ServerTlsPolicyMtlsPolicyClientValidationCa ¶
type ServerTlsPolicyMtlsPolicyClientValidationCa struct { GrpcEndpoint *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint `json:"grpcEndpoint"` CertificateProviderInstance *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance `json:"certificateProviderInstance"` // contains filtered or unexported fields }
var EmptyServerTlsPolicyMtlsPolicyClientValidationCa *ServerTlsPolicyMtlsPolicyClientValidationCa = &ServerTlsPolicyMtlsPolicyClientValidationCa{empty: true}
This object is used to assert a desired state where this ServerTlsPolicyMtlsPolicyClientValidationCa is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServerTlsPolicyMtlsPolicyClientValidationCa) Empty ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCa) Empty() bool
func (*ServerTlsPolicyMtlsPolicyClientValidationCa) HashCode ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCa) HashCode() string
func (*ServerTlsPolicyMtlsPolicyClientValidationCa) String ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCa) String() string
func (*ServerTlsPolicyMtlsPolicyClientValidationCa) UnmarshalJSON ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCa) UnmarshalJSON(data []byte) error
type ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance ¶
type ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance struct { PluginInstance *string `json:"pluginInstance"` // contains filtered or unexported fields }
var EmptyServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance = &ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance{empty: true}
This object is used to assert a desired state where this ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) Empty ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) Empty() bool
func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) HashCode ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) HashCode() string
func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) String ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) String() string
func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) UnmarshalJSON ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) UnmarshalJSON(data []byte) error
type ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint ¶
type ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint struct { TargetUri *string `json:"targetUri"` // contains filtered or unexported fields }
var EmptyServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint = &ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint{empty: true}
This object is used to assert a desired state where this ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) Empty ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) Empty() bool
func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) HashCode ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) HashCode() string
func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) String ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) String() string
func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) UnmarshalJSON ¶
func (r *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) UnmarshalJSON(data []byte) error
type ServerTlsPolicyServerCertificate ¶
type ServerTlsPolicyServerCertificate struct { GrpcEndpoint *ServerTlsPolicyServerCertificateGrpcEndpoint `json:"grpcEndpoint"` CertificateProviderInstance *ServerTlsPolicyServerCertificateCertificateProviderInstance `json:"certificateProviderInstance"` // contains filtered or unexported fields }
var EmptyServerTlsPolicyServerCertificate *ServerTlsPolicyServerCertificate = &ServerTlsPolicyServerCertificate{empty: true}
This object is used to assert a desired state where this ServerTlsPolicyServerCertificate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServerTlsPolicyServerCertificate) Empty ¶
func (r *ServerTlsPolicyServerCertificate) Empty() bool
func (*ServerTlsPolicyServerCertificate) HashCode ¶
func (r *ServerTlsPolicyServerCertificate) HashCode() string
func (*ServerTlsPolicyServerCertificate) String ¶
func (r *ServerTlsPolicyServerCertificate) String() string
func (*ServerTlsPolicyServerCertificate) UnmarshalJSON ¶
func (r *ServerTlsPolicyServerCertificate) UnmarshalJSON(data []byte) error
type ServerTlsPolicyServerCertificateCertificateProviderInstance ¶
type ServerTlsPolicyServerCertificateCertificateProviderInstance struct { PluginInstance *string `json:"pluginInstance"` // contains filtered or unexported fields }
var EmptyServerTlsPolicyServerCertificateCertificateProviderInstance *ServerTlsPolicyServerCertificateCertificateProviderInstance = &ServerTlsPolicyServerCertificateCertificateProviderInstance{empty: true}
This object is used to assert a desired state where this ServerTlsPolicyServerCertificateCertificateProviderInstance is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) Empty ¶
func (r *ServerTlsPolicyServerCertificateCertificateProviderInstance) Empty() bool
func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) HashCode ¶
func (r *ServerTlsPolicyServerCertificateCertificateProviderInstance) HashCode() string
func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) String ¶
func (r *ServerTlsPolicyServerCertificateCertificateProviderInstance) String() string
func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) UnmarshalJSON ¶
func (r *ServerTlsPolicyServerCertificateCertificateProviderInstance) UnmarshalJSON(data []byte) error
type ServerTlsPolicyServerCertificateGrpcEndpoint ¶
type ServerTlsPolicyServerCertificateGrpcEndpoint struct { TargetUri *string `json:"targetUri"` // contains filtered or unexported fields }
var EmptyServerTlsPolicyServerCertificateGrpcEndpoint *ServerTlsPolicyServerCertificateGrpcEndpoint = &ServerTlsPolicyServerCertificateGrpcEndpoint{empty: true}
This object is used to assert a desired state where this ServerTlsPolicyServerCertificateGrpcEndpoint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServerTlsPolicyServerCertificateGrpcEndpoint) Empty ¶
func (r *ServerTlsPolicyServerCertificateGrpcEndpoint) Empty() bool
func (*ServerTlsPolicyServerCertificateGrpcEndpoint) HashCode ¶
func (r *ServerTlsPolicyServerCertificateGrpcEndpoint) HashCode() string
func (*ServerTlsPolicyServerCertificateGrpcEndpoint) String ¶
func (r *ServerTlsPolicyServerCertificateGrpcEndpoint) String() string
func (*ServerTlsPolicyServerCertificateGrpcEndpoint) UnmarshalJSON ¶
func (r *ServerTlsPolicyServerCertificateGrpcEndpoint) UnmarshalJSON(data []byte) error
Source Files ¶
- authorization_policy.go
- authorization_policy_beta_yaml_embed.go
- authorization_policy_internal.go
- authorization_policy_schema.go
- client.go
- client_tls_policy.go
- client_tls_policy_beta_yaml_embed.go
- client_tls_policy_internal.go
- client_tls_policy_schema.go
- server_tls_policy.go
- server_tls_policy_beta_yaml_embed.go
- server_tls_policy_internal.go
- server_tls_policy_schema.go