Documentation ¶
Index ¶
- Variables
- type TLSConfig
- func (*TLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TLSConfig) GetCaFile() string
- func (x *TLSConfig) GetCertFile() string
- func (x *TLSConfig) GetInsecureSkipVerify() bool
- func (x *TLSConfig) GetKeyFile() string
- func (x *TLSConfig) GetServerName() 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_sun_asterisk_research_promprober_common_tls_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. CaFile *string `protobuf:"bytes,1,opt,name=ca_file,json=caFile" json:"ca_file,omitempty"` // Local certificate file. CertFile *string `protobuf:"bytes,2,opt,name=cert_file,json=certFile" json:"cert_file,omitempty"` // Private key file corresponding to the certificate above. KeyFile *string `protobuf:"bytes,3,opt,name=key_file,json=keyFile" json:"key_file,omitempty"` // Whether to ignore the cert validation. InsecureSkipVerify *bool `protobuf:"varint,4,opt,name=insecure_skip_verify,json=insecureSkipVerify" json:"insecure_skip_verify,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) GetCertFile ¶
func (*TLSConfig) GetInsecureSkipVerify ¶
func (*TLSConfig) GetKeyFile ¶
func (*TLSConfig) GetServerName ¶
func (*TLSConfig) ProtoMessage ¶
func (*TLSConfig) ProtoMessage()
func (*TLSConfig) ProtoReflect ¶
func (x *TLSConfig) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.