Documentation ¶
Index ¶
- type BackendConfig
- func (*BackendConfig) Descriptor() ([]byte, []int)
- func (m *BackendConfig) GetBackend() isBackendConfig_Backend
- func (m *BackendConfig) GetHttpRpc() *HttpRpcBackend
- func (m *BackendConfig) GetLocal() *LocalBackend
- func (m *BackendConfig) GetRemote() *RemoteBackend
- func (m *BackendConfig) GetRule() *BackendRule
- func (*BackendConfig) ProtoMessage()
- func (m *BackendConfig) Reset()
- func (m *BackendConfig) String() string
- func (m *BackendConfig) XXX_DiscardUnknown()
- func (m *BackendConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackendConfig) XXX_Merge(src proto.Message)
- func (*BackendConfig) XXX_OneofWrappers() []interface{}
- func (m *BackendConfig) XXX_Size() int
- func (m *BackendConfig) XXX_Unmarshal(b []byte) error
- type BackendConfig_HttpRpc
- type BackendConfig_Local
- type BackendConfig_Remote
- type BackendConfig_Rule
- type BackendMapping
- func (*BackendMapping) Descriptor() ([]byte, []int)
- func (m *BackendMapping) GetBackend() isBackendMapping_Backend
- func (m *BackendMapping) GetGroupId() string
- func (m *BackendMapping) GetHttpRpc() *HttpRpcBackend
- func (m *BackendMapping) GetQueryParams() string
- func (m *BackendMapping) GetRemote() *RemoteBackend
- func (*BackendMapping) ProtoMessage()
- func (m *BackendMapping) Reset()
- func (m *BackendMapping) String() string
- func (m *BackendMapping) XXX_DiscardUnknown()
- func (m *BackendMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackendMapping) XXX_Merge(src proto.Message)
- func (*BackendMapping) XXX_OneofWrappers() []interface{}
- func (m *BackendMapping) XXX_Size() int
- func (m *BackendMapping) XXX_Unmarshal(b []byte) error
- type BackendMapping_HttpRpc
- type BackendMapping_Remote
- type BackendRule
- func (*BackendRule) Descriptor() ([]byte, []int)
- func (m *BackendRule) GetBackends() []*BackendMapping
- func (*BackendRule) ProtoMessage()
- func (m *BackendRule) Reset()
- func (m *BackendRule) String() string
- func (m *BackendRule) XXX_DiscardUnknown()
- func (m *BackendRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackendRule) XXX_Merge(src proto.Message)
- func (m *BackendRule) XXX_Size() int
- func (m *BackendRule) XXX_Unmarshal(b []byte) error
- type HttpRpcBackend
- func (*HttpRpcBackend) Descriptor() ([]byte, []int)
- func (m *HttpRpcBackend) GetTarget() string
- func (*HttpRpcBackend) ProtoMessage()
- func (m *HttpRpcBackend) Reset()
- func (m *HttpRpcBackend) String() string
- func (m *HttpRpcBackend) XXX_DiscardUnknown()
- func (m *HttpRpcBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpRpcBackend) XXX_Merge(src proto.Message)
- func (m *HttpRpcBackend) XXX_Size() int
- func (m *HttpRpcBackend) XXX_Unmarshal(b []byte) error
- type LocalBackend
- func (*LocalBackend) Descriptor() ([]byte, []int)
- func (m *LocalBackend) GetEnableBytestream() bool
- func (m *LocalBackend) GetExecAddr() string
- func (m *LocalBackend) GetExeclogAddr() string
- func (m *LocalBackend) GetFileAddr() string
- func (m *LocalBackend) GetTraceOption() *LocalBackend_TraceOption
- func (*LocalBackend) ProtoMessage()
- func (m *LocalBackend) Reset()
- func (m *LocalBackend) String() string
- func (m *LocalBackend) XXX_DiscardUnknown()
- func (m *LocalBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalBackend) XXX_Merge(src proto.Message)
- func (m *LocalBackend) XXX_Size() int
- func (m *LocalBackend) XXX_Unmarshal(b []byte) error
- type LocalBackend_TraceOption
- func (*LocalBackend_TraceOption) Descriptor() ([]byte, []int)
- func (m *LocalBackend_TraceOption) GetCluster() string
- func (m *LocalBackend_TraceOption) GetNamespace() string
- func (*LocalBackend_TraceOption) ProtoMessage()
- func (m *LocalBackend_TraceOption) Reset()
- func (m *LocalBackend_TraceOption) String() string
- func (m *LocalBackend_TraceOption) XXX_DiscardUnknown()
- func (m *LocalBackend_TraceOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalBackend_TraceOption) XXX_Merge(src proto.Message)
- func (m *LocalBackend_TraceOption) XXX_Size() int
- func (m *LocalBackend_TraceOption) XXX_Unmarshal(b []byte) error
- type RemoteBackend
- func (*RemoteBackend) Descriptor() ([]byte, []int)
- func (m *RemoteBackend) GetAddress() string
- func (m *RemoteBackend) GetApiKeyName() string
- func (*RemoteBackend) ProtoMessage()
- func (m *RemoteBackend) Reset()
- func (m *RemoteBackend) String() string
- func (m *RemoteBackend) XXX_DiscardUnknown()
- func (m *RemoteBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoteBackend) XXX_Merge(src proto.Message)
- func (m *RemoteBackend) XXX_Size() int
- func (m *RemoteBackend) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendConfig ¶
type BackendConfig struct { // Types that are valid to be assigned to Backend: // *BackendConfig_Local // *BackendConfig_HttpRpc // *BackendConfig_Remote // *BackendConfig_Rule Backend isBackendConfig_Backend `protobuf_oneof:"backend"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BackendConfig) Descriptor ¶
func (*BackendConfig) Descriptor() ([]byte, []int)
func (*BackendConfig) GetBackend ¶
func (m *BackendConfig) GetBackend() isBackendConfig_Backend
func (*BackendConfig) GetHttpRpc ¶
func (m *BackendConfig) GetHttpRpc() *HttpRpcBackend
func (*BackendConfig) GetLocal ¶
func (m *BackendConfig) GetLocal() *LocalBackend
func (*BackendConfig) GetRemote ¶
func (m *BackendConfig) GetRemote() *RemoteBackend
func (*BackendConfig) GetRule ¶
func (m *BackendConfig) GetRule() *BackendRule
func (*BackendConfig) ProtoMessage ¶
func (*BackendConfig) ProtoMessage()
func (*BackendConfig) Reset ¶
func (m *BackendConfig) Reset()
func (*BackendConfig) String ¶
func (m *BackendConfig) String() string
func (*BackendConfig) XXX_DiscardUnknown ¶
func (m *BackendConfig) XXX_DiscardUnknown()
func (*BackendConfig) XXX_Marshal ¶
func (m *BackendConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackendConfig) XXX_Merge ¶
func (m *BackendConfig) XXX_Merge(src proto.Message)
func (*BackendConfig) XXX_OneofWrappers ¶
func (*BackendConfig) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*BackendConfig) XXX_Size ¶
func (m *BackendConfig) XXX_Size() int
func (*BackendConfig) XXX_Unmarshal ¶
func (m *BackendConfig) XXX_Unmarshal(b []byte) error
type BackendConfig_HttpRpc ¶
type BackendConfig_HttpRpc struct {
HttpRpc *HttpRpcBackend `protobuf:"bytes,2,opt,name=http_rpc,json=httpRpc,proto3,oneof"`
}
type BackendConfig_Local ¶
type BackendConfig_Local struct {
Local *LocalBackend `protobuf:"bytes,1,opt,name=local,proto3,oneof"`
}
type BackendConfig_Remote ¶
type BackendConfig_Remote struct {
Remote *RemoteBackend `protobuf:"bytes,3,opt,name=remote,proto3,oneof"`
}
type BackendConfig_Rule ¶
type BackendConfig_Rule struct {
Rule *BackendRule `protobuf:"bytes,4,opt,name=rule,proto3,oneof"`
}
type BackendMapping ¶
type BackendMapping struct { // id of group that uses the backend. // group id matches with group id in ACL if not empty. // empty group id will be used as default backend. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // backend selection by query parameters, encoded form sorted by key // as same as https://golang.org/pkg/net/url/#Values.Encode // if specified, this backend will be used if all query parameters // matches with query_params. // if query_params is empty, any requests will match. // // it is not used for default backend (empty group id). i.e. // if group_id is empty, query_params must be empty. QueryParams string `protobuf:"bytes,4,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` // backend for the group. // // Types that are valid to be assigned to Backend: // *BackendMapping_HttpRpc // *BackendMapping_Remote Backend isBackendMapping_Backend `protobuf_oneof:"backend"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BackendMapping) Descriptor ¶
func (*BackendMapping) Descriptor() ([]byte, []int)
func (*BackendMapping) GetBackend ¶
func (m *BackendMapping) GetBackend() isBackendMapping_Backend
func (*BackendMapping) GetGroupId ¶
func (m *BackendMapping) GetGroupId() string
func (*BackendMapping) GetHttpRpc ¶
func (m *BackendMapping) GetHttpRpc() *HttpRpcBackend
func (*BackendMapping) GetQueryParams ¶
func (m *BackendMapping) GetQueryParams() string
func (*BackendMapping) GetRemote ¶
func (m *BackendMapping) GetRemote() *RemoteBackend
func (*BackendMapping) ProtoMessage ¶
func (*BackendMapping) ProtoMessage()
func (*BackendMapping) Reset ¶
func (m *BackendMapping) Reset()
func (*BackendMapping) String ¶
func (m *BackendMapping) String() string
func (*BackendMapping) XXX_DiscardUnknown ¶
func (m *BackendMapping) XXX_DiscardUnknown()
func (*BackendMapping) XXX_Marshal ¶
func (m *BackendMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackendMapping) XXX_Merge ¶
func (m *BackendMapping) XXX_Merge(src proto.Message)
func (*BackendMapping) XXX_OneofWrappers ¶
func (*BackendMapping) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*BackendMapping) XXX_Size ¶
func (m *BackendMapping) XXX_Size() int
func (*BackendMapping) XXX_Unmarshal ¶
func (m *BackendMapping) XXX_Unmarshal(b []byte) error
type BackendMapping_HttpRpc ¶
type BackendMapping_HttpRpc struct {
HttpRpc *HttpRpcBackend `protobuf:"bytes,2,opt,name=http_rpc,json=httpRpc,proto3,oneof"`
}
type BackendMapping_Remote ¶
type BackendMapping_Remote struct {
Remote *RemoteBackend `protobuf:"bytes,3,opt,name=remote,proto3,oneof"`
}
type BackendRule ¶
type BackendRule struct { Backends []*BackendMapping `protobuf:"bytes,1,rep,name=backends,proto3" json:"backends,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BackendRule) Descriptor ¶
func (*BackendRule) Descriptor() ([]byte, []int)
func (*BackendRule) GetBackends ¶
func (m *BackendRule) GetBackends() []*BackendMapping
func (*BackendRule) ProtoMessage ¶
func (*BackendRule) ProtoMessage()
func (*BackendRule) Reset ¶
func (m *BackendRule) Reset()
func (*BackendRule) String ¶
func (m *BackendRule) String() string
func (*BackendRule) XXX_DiscardUnknown ¶
func (m *BackendRule) XXX_DiscardUnknown()
func (*BackendRule) XXX_Marshal ¶
func (m *BackendRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackendRule) XXX_Merge ¶
func (m *BackendRule) XXX_Merge(src proto.Message)
func (*BackendRule) XXX_Size ¶
func (m *BackendRule) XXX_Size() int
func (*BackendRule) XXX_Unmarshal ¶
func (m *BackendRule) XXX_Unmarshal(b []byte) error
type HttpRpcBackend ¶
type HttpRpcBackend struct { // target URL (scheme + host). // request query will be preserved. // e.g. "https://clients5.google.com/cxx-compiler-service" Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HttpRpcBackend) Descriptor ¶
func (*HttpRpcBackend) Descriptor() ([]byte, []int)
func (*HttpRpcBackend) GetTarget ¶
func (m *HttpRpcBackend) GetTarget() string
func (*HttpRpcBackend) ProtoMessage ¶
func (*HttpRpcBackend) ProtoMessage()
func (*HttpRpcBackend) Reset ¶
func (m *HttpRpcBackend) Reset()
func (*HttpRpcBackend) String ¶
func (m *HttpRpcBackend) String() string
func (*HttpRpcBackend) XXX_DiscardUnknown ¶
func (m *HttpRpcBackend) XXX_DiscardUnknown()
func (*HttpRpcBackend) XXX_Marshal ¶
func (m *HttpRpcBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpRpcBackend) XXX_Merge ¶
func (m *HttpRpcBackend) XXX_Merge(src proto.Message)
func (*HttpRpcBackend) XXX_Size ¶
func (m *HttpRpcBackend) XXX_Size() int
func (*HttpRpcBackend) XXX_Unmarshal ¶
func (m *HttpRpcBackend) XXX_Unmarshal(b []byte) error
type LocalBackend ¶
type LocalBackend struct { // address of exec server. default "exec-server:5050" ExecAddr string `protobuf:"bytes,1,opt,name=exec_addr,json=execAddr,proto3" json:"exec_addr,omitempty"` // address of file server. default "file-server:5050" FileAddr string `protobuf:"bytes,2,opt,name=file_addr,json=fileAddr,proto3" json:"file_addr,omitempty"` // address of execlog server. default "execlog-server:5050" ExeclogAddr string `protobuf:"bytes,3,opt,name=execlog_addr,json=execlogAddr,proto3" json:"execlog_addr,omitempty"` EnableBytestream bool `protobuf:"varint,4,opt,name=enable_bytestream,json=enableBytestream,proto3" json:"enable_bytestream,omitempty"` TraceOption *LocalBackend_TraceOption `protobuf:"bytes,5,opt,name=trace_option,json=traceOption,proto3" json:"trace_option,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalBackend) Descriptor ¶
func (*LocalBackend) Descriptor() ([]byte, []int)
func (*LocalBackend) GetEnableBytestream ¶
func (m *LocalBackend) GetEnableBytestream() bool
func (*LocalBackend) GetExecAddr ¶
func (m *LocalBackend) GetExecAddr() string
func (*LocalBackend) GetExeclogAddr ¶
func (m *LocalBackend) GetExeclogAddr() string
func (*LocalBackend) GetFileAddr ¶
func (m *LocalBackend) GetFileAddr() string
func (*LocalBackend) GetTraceOption ¶
func (m *LocalBackend) GetTraceOption() *LocalBackend_TraceOption
func (*LocalBackend) ProtoMessage ¶
func (*LocalBackend) ProtoMessage()
func (*LocalBackend) Reset ¶
func (m *LocalBackend) Reset()
func (*LocalBackend) String ¶
func (m *LocalBackend) String() string
func (*LocalBackend) XXX_DiscardUnknown ¶
func (m *LocalBackend) XXX_DiscardUnknown()
func (*LocalBackend) XXX_Marshal ¶
func (m *LocalBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalBackend) XXX_Merge ¶
func (m *LocalBackend) XXX_Merge(src proto.Message)
func (*LocalBackend) XXX_Size ¶
func (m *LocalBackend) XXX_Size() int
func (*LocalBackend) XXX_Unmarshal ¶
func (m *LocalBackend) XXX_Unmarshal(b []byte) error
type LocalBackend_TraceOption ¶
type LocalBackend_TraceOption struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
attributes for cloud tracing when handling this backend request.
func (*LocalBackend_TraceOption) Descriptor ¶
func (*LocalBackend_TraceOption) Descriptor() ([]byte, []int)
func (*LocalBackend_TraceOption) GetCluster ¶
func (m *LocalBackend_TraceOption) GetCluster() string
func (*LocalBackend_TraceOption) GetNamespace ¶
func (m *LocalBackend_TraceOption) GetNamespace() string
func (*LocalBackend_TraceOption) ProtoMessage ¶
func (*LocalBackend_TraceOption) ProtoMessage()
func (*LocalBackend_TraceOption) Reset ¶
func (m *LocalBackend_TraceOption) Reset()
func (*LocalBackend_TraceOption) String ¶
func (m *LocalBackend_TraceOption) String() string
func (*LocalBackend_TraceOption) XXX_DiscardUnknown ¶
func (m *LocalBackend_TraceOption) XXX_DiscardUnknown()
func (*LocalBackend_TraceOption) XXX_Marshal ¶
func (m *LocalBackend_TraceOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalBackend_TraceOption) XXX_Merge ¶
func (m *LocalBackend_TraceOption) XXX_Merge(src proto.Message)
func (*LocalBackend_TraceOption) XXX_Size ¶
func (m *LocalBackend_TraceOption) XXX_Size() int
func (*LocalBackend_TraceOption) XXX_Unmarshal ¶
func (m *LocalBackend_TraceOption) XXX_Unmarshal(b []byte) error
type RemoteBackend ¶
type RemoteBackend struct { // target address. // e.g. "goma.endpoints.goma-dev.cloud.goog:443" Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // api_key to access the backend. // it is used to read api_key value in api-keys volume. ApiKeyName string `protobuf:"bytes,2,opt,name=api_key_name,json=apiKeyName,proto3" json:"api_key_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoteBackend) Descriptor ¶
func (*RemoteBackend) Descriptor() ([]byte, []int)
func (*RemoteBackend) GetAddress ¶
func (m *RemoteBackend) GetAddress() string
func (*RemoteBackend) GetApiKeyName ¶
func (m *RemoteBackend) GetApiKeyName() string
func (*RemoteBackend) ProtoMessage ¶
func (*RemoteBackend) ProtoMessage()
func (*RemoteBackend) Reset ¶
func (m *RemoteBackend) Reset()
func (*RemoteBackend) String ¶
func (m *RemoteBackend) String() string
func (*RemoteBackend) XXX_DiscardUnknown ¶
func (m *RemoteBackend) XXX_DiscardUnknown()
func (*RemoteBackend) XXX_Marshal ¶
func (m *RemoteBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoteBackend) XXX_Merge ¶
func (m *RemoteBackend) XXX_Merge(src proto.Message)
func (*RemoteBackend) XXX_Size ¶
func (m *RemoteBackend) XXX_Size() int
func (*RemoteBackend) XXX_Unmarshal ¶
func (m *RemoteBackend) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.