targetconfig

package
v0.0.0-...-9b6993d Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cmd_target_proto_config_target_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	Tls *TLS `protobuf:"bytes,1,opt,name=tls,proto3" json:"tls,omitempty"`
	// contains filtered or unexported fields
}

func (*Credentials) Descriptor deprecated

func (*Credentials) Descriptor() ([]byte, []int)

Deprecated: Use Credentials.ProtoReflect.Descriptor instead.

func (*Credentials) GetTls

func (x *Credentials) GetTls() *TLS

func (*Credentials) ProtoMessage

func (*Credentials) ProtoMessage()

func (*Credentials) ProtoReflect

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

func (*Credentials) Reset

func (x *Credentials) Reset()

func (*Credentials) String

func (x *Credentials) String() string

type TLS

type TLS struct {

	// If both cert_file and key_file are provided, then mTLS will be used.
	// Otherwise, server side TLS will be used (ca_file used for client side for validation).
	CertFile string `protobuf:"bytes,1,opt,name=cert_file,json=certFile,proto3" json:"cert_file,omitempty"`
	KeyFile  string `protobuf:"bytes,2,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty"`
	CaFile   string `protobuf:"bytes,3,opt,name=ca_file,json=caFile,proto3" json:"ca_file,omitempty"`
	// contains filtered or unexported fields
}

func (*TLS) Descriptor deprecated

func (*TLS) Descriptor() ([]byte, []int)

Deprecated: Use TLS.ProtoReflect.Descriptor instead.

func (*TLS) GetCaFile

func (x *TLS) GetCaFile() string

func (*TLS) GetCertFile

func (x *TLS) GetCertFile() string

func (*TLS) GetKeyFile

func (x *TLS) GetKeyFile() string

func (*TLS) ProtoMessage

func (*TLS) ProtoMessage()

func (*TLS) ProtoReflect

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

func (*TLS) Reset

func (x *TLS) Reset()

func (*TLS) String

func (x *TLS) String() string

type TunnelServer

type TunnelServer struct {
	TunnelServerAddress string       `protobuf:"bytes,1,opt,name=tunnel_server_address,json=tunnelServerAddress,proto3" json:"tunnel_server_address,omitempty"`
	Credentials         *Credentials `protobuf:"bytes,2,opt,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

func (*TunnelServer) Descriptor deprecated

func (*TunnelServer) Descriptor() ([]byte, []int)

Deprecated: Use TunnelServer.ProtoReflect.Descriptor instead.

func (*TunnelServer) GetCredentials

func (x *TunnelServer) GetCredentials() *Credentials

func (*TunnelServer) GetTunnelServerAddress

func (x *TunnelServer) GetTunnelServerAddress() string

func (*TunnelServer) ProtoMessage

func (*TunnelServer) ProtoMessage()

func (*TunnelServer) ProtoReflect

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

func (*TunnelServer) Reset

func (x *TunnelServer) Reset()

func (*TunnelServer) String

func (x *TunnelServer) String() string

type TunnelTarget

type TunnelTarget struct {
	TunnelServer []*TunnelServer `protobuf:"bytes,1,rep,name=tunnel_server,json=tunnelServer,proto3" json:"tunnel_server,omitempty"`
	Target       string          `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Type         string          `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	DialAddress  string          `protobuf:"bytes,4,opt,name=dial_address,json=dialAddress,proto3" json:"dial_address,omitempty"`
	// contains filtered or unexported fields
}

func (*TunnelTarget) Descriptor deprecated

func (*TunnelTarget) Descriptor() ([]byte, []int)

Deprecated: Use TunnelTarget.ProtoReflect.Descriptor instead.

func (*TunnelTarget) GetDialAddress

func (x *TunnelTarget) GetDialAddress() string

func (*TunnelTarget) GetTarget

func (x *TunnelTarget) GetTarget() string

func (*TunnelTarget) GetTunnelServer

func (x *TunnelTarget) GetTunnelServer() []*TunnelServer

func (*TunnelTarget) GetType

func (x *TunnelTarget) GetType() string

func (*TunnelTarget) ProtoMessage

func (*TunnelTarget) ProtoMessage()

func (*TunnelTarget) ProtoReflect

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

func (*TunnelTarget) Reset

func (x *TunnelTarget) Reset()

func (*TunnelTarget) String

func (x *TunnelTarget) String() string

type TunnelTargetConfig

type TunnelTargetConfig struct {

	// Tunnels dialed for targets if not specified within a given target.
	TunnelServerDefault []*TunnelServer `protobuf:"bytes,1,rep,name=tunnel_server_default,json=tunnelServerDefault,proto3" json:"tunnel_server_default,omitempty"`
	// Targets made available over remote tunnel servers.
	TunnelTarget []*TunnelTarget `protobuf:"bytes,2,rep,name=tunnel_target,json=tunnelTarget,proto3" json:"tunnel_target,omitempty"`
	// contains filtered or unexported fields
}

func (*TunnelTargetConfig) Descriptor deprecated

func (*TunnelTargetConfig) Descriptor() ([]byte, []int)

Deprecated: Use TunnelTargetConfig.ProtoReflect.Descriptor instead.

func (*TunnelTargetConfig) GetTunnelServerDefault

func (x *TunnelTargetConfig) GetTunnelServerDefault() []*TunnelServer

func (*TunnelTargetConfig) GetTunnelTarget

func (x *TunnelTargetConfig) GetTunnelTarget() []*TunnelTarget

func (*TunnelTargetConfig) ProtoMessage

func (*TunnelTargetConfig) ProtoMessage()

func (*TunnelTargetConfig) ProtoReflect

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

func (*TunnelTargetConfig) Reset

func (x *TunnelTargetConfig) Reset()

func (*TunnelTargetConfig) String

func (x *TunnelTargetConfig) String() string

Jump to

Keyboard shortcuts

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