proto

package
v0.0.0-...-20e63b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use TLSConfig.ProtoReflect.Descriptor instead.

func (*TLSConfig) GetCaFile

func (x *TLSConfig) GetCaFile() string

func (*TLSConfig) GetCertFile

func (x *TLSConfig) GetCertFile() string

func (*TLSConfig) GetInsecureSkipVerify

func (x *TLSConfig) GetInsecureSkipVerify() bool

func (*TLSConfig) GetKeyFile

func (x *TLSConfig) GetKeyFile() string

func (*TLSConfig) GetServerName

func (x *TLSConfig) GetServerName() string

func (*TLSConfig) ProtoMessage

func (*TLSConfig) ProtoMessage()

func (*TLSConfig) ProtoReflect

func (x *TLSConfig) ProtoReflect() protoreflect.Message

func (*TLSConfig) Reset

func (x *TLSConfig) Reset()

func (*TLSConfig) String

func (x *TLSConfig) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL