proto

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

Deprecated: Use TLSConfig.ProtoReflect.Descriptor instead.

func (*TLSConfig) GetCaCertFile

func (x *TLSConfig) GetCaCertFile() string

func (*TLSConfig) GetDisableCertValidation

func (x *TLSConfig) GetDisableCertValidation() bool

func (*TLSConfig) GetServerName added in v0.10.7

func (x *TLSConfig) GetServerName() string

func (*TLSConfig) GetTlsCertFile

func (x *TLSConfig) GetTlsCertFile() string

func (*TLSConfig) GetTlsKeyFile

func (x *TLSConfig) GetTlsKeyFile() string

func (*TLSConfig) ProtoMessage

func (*TLSConfig) ProtoMessage()

func (*TLSConfig) ProtoReflect added in v0.10.8

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