Documentation
¶
Index ¶
- Variables
- type TLSConfig
- func (*TLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TLSConfig) GetCaCertFile() string
- func (x *TLSConfig) GetDisableCertValidation() bool
- func (x *TLSConfig) GetServerName() string
- func (x *TLSConfig) GetTlsCertFile() string
- func (x *TLSConfig) GetTlsKeyFile() string
- func (*TLSConfig) ProtoMessage()
- func (x *TLSConfig) ProtoReflect() protoreflect.Message
- func (x *TLSConfig) Reset()
- func (x *TLSConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_google_cloudprober_common_tlsconfig_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TLSConfig ¶
type TLSConfig struct { // CA certificate file to verify certificates provided by the other party. CaCertFile *string `protobuf:"bytes,1,opt,name=ca_cert_file,json=caCertFile" json:"ca_cert_file,omitempty"` // Local certificate file. TlsCertFile *string `protobuf:"bytes,2,opt,name=tls_cert_file,json=tlsCertFile" json:"tls_cert_file,omitempty"` // Private key file corresponding to the certificate above. TlsKeyFile *string `protobuf:"bytes,3,opt,name=tls_key_file,json=tlsKeyFile" json:"tls_key_file,omitempty"` // Whether to ignore the cert validation. DisableCertValidation *bool `protobuf:"varint,4,opt,name=disable_cert_validation,json=disableCertValidation" json:"disable_cert_validation,omitempty"` // ServerName override ServerName *string `protobuf:"bytes,5,opt,name=server_name,json=serverName" json:"server_name,omitempty"` // contains filtered or unexported fields }
func (*TLSConfig) Descriptor
deprecated
func (*TLSConfig) GetCaCertFile ¶
func (*TLSConfig) GetDisableCertValidation ¶
func (*TLSConfig) GetServerName ¶ added in v0.10.7
func (*TLSConfig) GetTlsCertFile ¶
func (*TLSConfig) GetTlsKeyFile ¶
func (*TLSConfig) ProtoMessage ¶
func (*TLSConfig) ProtoMessage()
func (*TLSConfig) ProtoReflect ¶ added in v0.10.8
func (x *TLSConfig) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.