proto

package
v0.0.0-...-6b8f167 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

proto/backend_config.proto
proto/cookie.proto
proto/crypto.proto
proto/frontend_config.proto
proto/frontend.proto
proto/oauth.proto
proto/tls.proto

It has these top-level messages:

BackendConfig
AuthCookie
EncryptedMessage
FrontendConfig
TCPProxyRoute
OauthConfig
PortUpdate
OAuthState
TLSConfig

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthCookie

type AuthCookie struct {
	User string `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
}

func (*AuthCookie) Descriptor

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

func (*AuthCookie) ProtoMessage

func (*AuthCookie) ProtoMessage()

func (*AuthCookie) Reset

func (m *AuthCookie) Reset()

func (*AuthCookie) String

func (m *AuthCookie) String() string

type BackendConfig

type BackendConfig struct {
	Server        *BackendConfig_Server `protobuf:"bytes,1,opt,name=server" json:"server,omitempty"`
	ServePath     string                `protobuf:"bytes,2,opt,name=serve_path" json:"serve_path,omitempty"`
	PortUpdateUrl string                `protobuf:"bytes,3,opt,name=port_update_url" json:"port_update_url,omitempty"`
	PortKey       []byte                `protobuf:"bytes,4,opt,name=port_key,proto3" json:"port_key,omitempty"`
}

func (*BackendConfig) Descriptor

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

func (*BackendConfig) GetServer

func (m *BackendConfig) GetServer() *BackendConfig_Server

func (*BackendConfig) ProtoMessage

func (*BackendConfig) ProtoMessage()

func (*BackendConfig) Reset

func (m *BackendConfig) Reset()

func (*BackendConfig) String

func (m *BackendConfig) String() string

type BackendConfig_Server

type BackendConfig_Server struct {
	Addr string `protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty"`
	// Types that are valid to be assigned to Security:
	//	*BackendConfig_Server_Tls
	//	*BackendConfig_Server_Insecure
	Security isBackendConfig_Server_Security `protobuf_oneof:"security"`
}

func (*BackendConfig_Server) Descriptor

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

func (*BackendConfig_Server) GetInsecure

func (m *BackendConfig_Server) GetInsecure() bool

func (*BackendConfig_Server) GetSecurity

func (m *BackendConfig_Server) GetSecurity() isBackendConfig_Server_Security

func (*BackendConfig_Server) GetTls

func (m *BackendConfig_Server) GetTls() *TLSConfig

func (*BackendConfig_Server) ProtoMessage

func (*BackendConfig_Server) ProtoMessage()

func (*BackendConfig_Server) Reset

func (m *BackendConfig_Server) Reset()

func (*BackendConfig_Server) String

func (m *BackendConfig_Server) String() string

func (*BackendConfig_Server) XXX_OneofFuncs

func (*BackendConfig_Server) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type BackendConfig_Server_Insecure

type BackendConfig_Server_Insecure struct {
	Insecure bool `protobuf:"varint,3,opt,name=insecure,oneof"`
}

type BackendConfig_Server_Tls

type BackendConfig_Server_Tls struct {
	Tls *TLSConfig `protobuf:"bytes,2,opt,name=tls,oneof"`
}

type EncryptedMessage

type EncryptedMessage struct {
	Nonce      []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Ciphertext []byte `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
}

func (*EncryptedMessage) Descriptor

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

func (*EncryptedMessage) ProtoMessage

func (*EncryptedMessage) ProtoMessage()

func (*EncryptedMessage) Reset

func (m *EncryptedMessage) Reset()

func (*EncryptedMessage) String

func (m *EncryptedMessage) String() string

type FrontendConfig

type FrontendConfig struct {
	TcpProxyRoute      []*TCPProxyRoute          `protobuf:"bytes,1,rep,name=tcp_proxy_route" json:"tcp_proxy_route,omitempty"`
	ServerAddr         string                    `protobuf:"bytes,2,opt,name=server_addr" json:"server_addr,omitempty"`
	Backend            []*FrontendConfig_Backend `protobuf:"bytes,3,rep,name=backend" json:"backend,omitempty"`
	OauthConfig        *OauthConfig              `protobuf:"bytes,4,opt,name=oauth_config" json:"oauth_config,omitempty"`
	AuthCookieKey      []byte                    `protobuf:"bytes,5,opt,name=auth_cookie_key,proto3" json:"auth_cookie_key,omitempty"`
	AuthCookieInsecure bool                      `protobuf:"varint,6,opt,name=auth_cookie_insecure" json:"auth_cookie_insecure,omitempty"`
	EmailToUserId      map[string]string         `` /* 152-byte string literal not displayed */
}

func (*FrontendConfig) Descriptor

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

func (*FrontendConfig) GetBackend

func (m *FrontendConfig) GetBackend() []*FrontendConfig_Backend

func (*FrontendConfig) GetEmailToUserId

func (m *FrontendConfig) GetEmailToUserId() map[string]string

func (*FrontendConfig) GetOauthConfig

func (m *FrontendConfig) GetOauthConfig() *OauthConfig

func (*FrontendConfig) GetTcpProxyRoute

func (m *FrontendConfig) GetTcpProxyRoute() []*TCPProxyRoute

func (*FrontendConfig) ProtoMessage

func (*FrontendConfig) ProtoMessage()

func (*FrontendConfig) Reset

func (m *FrontendConfig) Reset()

func (*FrontendConfig) String

func (m *FrontendConfig) String() string

type FrontendConfig_Backend

type FrontendConfig_Backend struct {
	Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Types that are valid to be assigned to Security:
	//	*FrontendConfig_Backend_Tls
	//	*FrontendConfig_Backend_Insecure
	Security isFrontendConfig_Backend_Security `protobuf_oneof:"security"`
	PortKey  []byte                            `protobuf:"bytes,5,opt,name=port_key,proto3" json:"port_key,omitempty"`
}

func (*FrontendConfig_Backend) Descriptor

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

func (*FrontendConfig_Backend) GetInsecure

func (m *FrontendConfig_Backend) GetInsecure() bool

func (*FrontendConfig_Backend) GetSecurity

func (m *FrontendConfig_Backend) GetSecurity() isFrontendConfig_Backend_Security

func (*FrontendConfig_Backend) GetTls

func (m *FrontendConfig_Backend) GetTls() *TLSConfig

func (*FrontendConfig_Backend) ProtoMessage

func (*FrontendConfig_Backend) ProtoMessage()

func (*FrontendConfig_Backend) Reset

func (m *FrontendConfig_Backend) Reset()

func (*FrontendConfig_Backend) String

func (m *FrontendConfig_Backend) String() string

func (*FrontendConfig_Backend) XXX_OneofFuncs

func (*FrontendConfig_Backend) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type FrontendConfig_Backend_Insecure

type FrontendConfig_Backend_Insecure struct {
	Insecure bool `protobuf:"varint,4,opt,name=insecure,oneof"`
}

type FrontendConfig_Backend_Tls

type FrontendConfig_Backend_Tls struct {
	Tls *TLSConfig `protobuf:"bytes,3,opt,name=tls,oneof"`
}

type OAuthState

type OAuthState struct {
	Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
}

func (*OAuthState) Descriptor

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

func (*OAuthState) ProtoMessage

func (*OAuthState) ProtoMessage()

func (*OAuthState) Reset

func (m *OAuthState) Reset()

func (*OAuthState) String

func (m *OAuthState) String() string

type OauthConfig

type OauthConfig struct {
	ClientId     string `protobuf:"bytes,1,opt,name=client_id" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,2,opt,name=client_secret" json:"client_secret,omitempty"`
	RedirectUrl  string `protobuf:"bytes,3,opt,name=redirect_url" json:"redirect_url,omitempty"`
	StateKey     []byte `protobuf:"bytes,4,opt,name=state_key,proto3" json:"state_key,omitempty"`
}

func (*OauthConfig) Descriptor

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

func (*OauthConfig) ProtoMessage

func (*OauthConfig) ProtoMessage()

func (*OauthConfig) Reset

func (m *OauthConfig) Reset()

func (*OauthConfig) String

func (m *OauthConfig) String() string

type PortUpdate

type PortUpdate struct {
	Port int32 `protobuf:"varint,1,opt,name=port" json:"port,omitempty"`
}

func (*PortUpdate) Descriptor

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

func (*PortUpdate) ProtoMessage

func (*PortUpdate) ProtoMessage()

func (*PortUpdate) Reset

func (m *PortUpdate) Reset()

func (*PortUpdate) String

func (m *PortUpdate) String() string

type TCPProxyRoute

type TCPProxyRoute struct {
	Listen string `protobuf:"bytes,1,opt,name=listen" json:"listen,omitempty"`
	Dial   string `protobuf:"bytes,2,opt,name=dial" json:"dial,omitempty"`
}

func (*TCPProxyRoute) Descriptor

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

func (*TCPProxyRoute) ProtoMessage

func (*TCPProxyRoute) ProtoMessage()

func (*TCPProxyRoute) Reset

func (m *TCPProxyRoute) Reset()

func (*TCPProxyRoute) String

func (m *TCPProxyRoute) String() string

type TLSConfig

type TLSConfig struct {
	// For servers, the hostname they are serving; this should match a value in
	// the certificates they are presenting. For clients, the hostname they are
	// connecting to.
	ServerName string `protobuf:"bytes,1,opt,name=server_name" json:"server_name,omitempty"`
	// Certificates to present to other side.
	Cert []*TLSConfig_Cert `protobuf:"bytes,2,rep,name=cert" json:"cert,omitempty"`
	// Root CAs to validate cerificates presented by the other side.
	Ca []*TLSConfig_CA `protobuf:"bytes,3,rep,name=ca" json:"ca,omitempty"`
}

func (*TLSConfig) Descriptor

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

func (*TLSConfig) GetCa

func (m *TLSConfig) GetCa() []*TLSConfig_CA

func (*TLSConfig) GetCert

func (m *TLSConfig) GetCert() []*TLSConfig_Cert

func (*TLSConfig) ProtoMessage

func (*TLSConfig) ProtoMessage()

func (*TLSConfig) Reset

func (m *TLSConfig) Reset()

func (*TLSConfig) String

func (m *TLSConfig) String() string

type TLSConfig_CA

type TLSConfig_CA struct {
	CaFile string `protobuf:"bytes,1,opt,name=ca_file" json:"ca_file,omitempty"`
}

func (*TLSConfig_CA) Descriptor

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

func (*TLSConfig_CA) ProtoMessage

func (*TLSConfig_CA) ProtoMessage()

func (*TLSConfig_CA) Reset

func (m *TLSConfig_CA) Reset()

func (*TLSConfig_CA) String

func (m *TLSConfig_CA) String() string

type TLSConfig_Cert

type TLSConfig_Cert struct {
	CertFile string `protobuf:"bytes,1,opt,name=cert_file" json:"cert_file,omitempty"`
	KeyFile  string `protobuf:"bytes,2,opt,name=key_file" json:"key_file,omitempty"`
}

func (*TLSConfig_Cert) Descriptor

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

func (*TLSConfig_Cert) ProtoMessage

func (*TLSConfig_Cert) ProtoMessage()

func (*TLSConfig_Cert) Reset

func (m *TLSConfig_Cert) Reset()

func (*TLSConfig_Cert) String

func (m *TLSConfig_Cert) String() string

Jump to

Keyboard shortcuts

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