server: go.chromium.org/goma/server/proto/backend Index | Files

package backend

import "go.chromium.org/goma/server/proto/backend"

Index

Package Files

backend.pb.go

type BackendConfig Uses

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 Uses

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

func (*BackendConfig) GetBackend Uses

func (m *BackendConfig) GetBackend() isBackendConfig_Backend

func (*BackendConfig) GetHttpRpc Uses

func (m *BackendConfig) GetHttpRpc() *HttpRpcBackend

func (*BackendConfig) GetLocal Uses

func (m *BackendConfig) GetLocal() *LocalBackend

func (*BackendConfig) GetRemote Uses

func (m *BackendConfig) GetRemote() *RemoteBackend

func (*BackendConfig) GetRule Uses

func (m *BackendConfig) GetRule() *BackendRule

func (*BackendConfig) ProtoMessage Uses

func (*BackendConfig) ProtoMessage()

func (*BackendConfig) Reset Uses

func (m *BackendConfig) Reset()

func (*BackendConfig) String Uses

func (m *BackendConfig) String() string

func (*BackendConfig) XXX_DiscardUnknown Uses

func (m *BackendConfig) XXX_DiscardUnknown()

func (*BackendConfig) XXX_Marshal Uses

func (m *BackendConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackendConfig) XXX_Merge Uses

func (m *BackendConfig) XXX_Merge(src proto.Message)

func (*BackendConfig) XXX_OneofWrappers Uses

func (*BackendConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BackendConfig) XXX_Size Uses

func (m *BackendConfig) XXX_Size() int

func (*BackendConfig) XXX_Unmarshal Uses

func (m *BackendConfig) XXX_Unmarshal(b []byte) error

type BackendConfig_HttpRpc Uses

type BackendConfig_HttpRpc struct {
    HttpRpc *HttpRpcBackend `protobuf:"bytes,2,opt,name=http_rpc,json=httpRpc,proto3,oneof"`
}

type BackendConfig_Local Uses

type BackendConfig_Local struct {
    Local *LocalBackend `protobuf:"bytes,1,opt,name=local,proto3,oneof"`
}

type BackendConfig_Remote Uses

type BackendConfig_Remote struct {
    Remote *RemoteBackend `protobuf:"bytes,3,opt,name=remote,proto3,oneof"`
}

type BackendConfig_Rule Uses

type BackendConfig_Rule struct {
    Rule *BackendRule `protobuf:"bytes,4,opt,name=rule,proto3,oneof"`
}

type BackendMapping Uses

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 Uses

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

func (*BackendMapping) GetBackend Uses

func (m *BackendMapping) GetBackend() isBackendMapping_Backend

func (*BackendMapping) GetGroupId Uses

func (m *BackendMapping) GetGroupId() string

func (*BackendMapping) GetHttpRpc Uses

func (m *BackendMapping) GetHttpRpc() *HttpRpcBackend

func (*BackendMapping) GetQueryParams Uses

func (m *BackendMapping) GetQueryParams() string

func (*BackendMapping) GetRemote Uses

func (m *BackendMapping) GetRemote() *RemoteBackend

func (*BackendMapping) ProtoMessage Uses

func (*BackendMapping) ProtoMessage()

func (*BackendMapping) Reset Uses

func (m *BackendMapping) Reset()

func (*BackendMapping) String Uses

func (m *BackendMapping) String() string

func (*BackendMapping) XXX_DiscardUnknown Uses

func (m *BackendMapping) XXX_DiscardUnknown()

func (*BackendMapping) XXX_Marshal Uses

func (m *BackendMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackendMapping) XXX_Merge Uses

func (m *BackendMapping) XXX_Merge(src proto.Message)

func (*BackendMapping) XXX_OneofWrappers Uses

func (*BackendMapping) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BackendMapping) XXX_Size Uses

func (m *BackendMapping) XXX_Size() int

func (*BackendMapping) XXX_Unmarshal Uses

func (m *BackendMapping) XXX_Unmarshal(b []byte) error

type BackendMapping_HttpRpc Uses

type BackendMapping_HttpRpc struct {
    HttpRpc *HttpRpcBackend `protobuf:"bytes,2,opt,name=http_rpc,json=httpRpc,proto3,oneof"`
}

type BackendMapping_Remote Uses

type BackendMapping_Remote struct {
    Remote *RemoteBackend `protobuf:"bytes,3,opt,name=remote,proto3,oneof"`
}

type BackendRule Uses

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 Uses

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

func (*BackendRule) GetBackends Uses

func (m *BackendRule) GetBackends() []*BackendMapping

func (*BackendRule) ProtoMessage Uses

func (*BackendRule) ProtoMessage()

func (*BackendRule) Reset Uses

func (m *BackendRule) Reset()

func (*BackendRule) String Uses

func (m *BackendRule) String() string

func (*BackendRule) XXX_DiscardUnknown Uses

func (m *BackendRule) XXX_DiscardUnknown()

func (*BackendRule) XXX_Marshal Uses

func (m *BackendRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackendRule) XXX_Merge Uses

func (m *BackendRule) XXX_Merge(src proto.Message)

func (*BackendRule) XXX_Size Uses

func (m *BackendRule) XXX_Size() int

func (*BackendRule) XXX_Unmarshal Uses

func (m *BackendRule) XXX_Unmarshal(b []byte) error

type HttpRpcBackend Uses

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 Uses

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

func (*HttpRpcBackend) GetTarget Uses

func (m *HttpRpcBackend) GetTarget() string

func (*HttpRpcBackend) ProtoMessage Uses

func (*HttpRpcBackend) ProtoMessage()

func (*HttpRpcBackend) Reset Uses

func (m *HttpRpcBackend) Reset()

func (*HttpRpcBackend) String Uses

func (m *HttpRpcBackend) String() string

func (*HttpRpcBackend) XXX_DiscardUnknown Uses

func (m *HttpRpcBackend) XXX_DiscardUnknown()

func (*HttpRpcBackend) XXX_Marshal Uses

func (m *HttpRpcBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpRpcBackend) XXX_Merge Uses

func (m *HttpRpcBackend) XXX_Merge(src proto.Message)

func (*HttpRpcBackend) XXX_Size Uses

func (m *HttpRpcBackend) XXX_Size() int

func (*HttpRpcBackend) XXX_Unmarshal Uses

func (m *HttpRpcBackend) XXX_Unmarshal(b []byte) error

type LocalBackend Uses

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 Uses

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

func (*LocalBackend) GetEnableBytestream Uses

func (m *LocalBackend) GetEnableBytestream() bool

func (*LocalBackend) GetExecAddr Uses

func (m *LocalBackend) GetExecAddr() string

func (*LocalBackend) GetExeclogAddr Uses

func (m *LocalBackend) GetExeclogAddr() string

func (*LocalBackend) GetFileAddr Uses

func (m *LocalBackend) GetFileAddr() string

func (*LocalBackend) GetTraceOption Uses

func (m *LocalBackend) GetTraceOption() *LocalBackend_TraceOption

func (*LocalBackend) ProtoMessage Uses

func (*LocalBackend) ProtoMessage()

func (*LocalBackend) Reset Uses

func (m *LocalBackend) Reset()

func (*LocalBackend) String Uses

func (m *LocalBackend) String() string

func (*LocalBackend) XXX_DiscardUnknown Uses

func (m *LocalBackend) XXX_DiscardUnknown()

func (*LocalBackend) XXX_Marshal Uses

func (m *LocalBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocalBackend) XXX_Merge Uses

func (m *LocalBackend) XXX_Merge(src proto.Message)

func (*LocalBackend) XXX_Size Uses

func (m *LocalBackend) XXX_Size() int

func (*LocalBackend) XXX_Unmarshal Uses

func (m *LocalBackend) XXX_Unmarshal(b []byte) error

type LocalBackend_TraceOption Uses

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 Uses

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

func (*LocalBackend_TraceOption) GetCluster Uses

func (m *LocalBackend_TraceOption) GetCluster() string

func (*LocalBackend_TraceOption) GetNamespace Uses

func (m *LocalBackend_TraceOption) GetNamespace() string

func (*LocalBackend_TraceOption) ProtoMessage Uses

func (*LocalBackend_TraceOption) ProtoMessage()

func (*LocalBackend_TraceOption) Reset Uses

func (m *LocalBackend_TraceOption) Reset()

func (*LocalBackend_TraceOption) String Uses

func (m *LocalBackend_TraceOption) String() string

func (*LocalBackend_TraceOption) XXX_DiscardUnknown Uses

func (m *LocalBackend_TraceOption) XXX_DiscardUnknown()

func (*LocalBackend_TraceOption) XXX_Marshal Uses

func (m *LocalBackend_TraceOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocalBackend_TraceOption) XXX_Merge Uses

func (m *LocalBackend_TraceOption) XXX_Merge(src proto.Message)

func (*LocalBackend_TraceOption) XXX_Size Uses

func (m *LocalBackend_TraceOption) XXX_Size() int

func (*LocalBackend_TraceOption) XXX_Unmarshal Uses

func (m *LocalBackend_TraceOption) XXX_Unmarshal(b []byte) error

type RemoteBackend Uses

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 Uses

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

func (*RemoteBackend) GetAddress Uses

func (m *RemoteBackend) GetAddress() string

func (*RemoteBackend) GetApiKeyName Uses

func (m *RemoteBackend) GetApiKeyName() string

func (*RemoteBackend) ProtoMessage Uses

func (*RemoteBackend) ProtoMessage()

func (*RemoteBackend) Reset Uses

func (m *RemoteBackend) Reset()

func (*RemoteBackend) String Uses

func (m *RemoteBackend) String() string

func (*RemoteBackend) XXX_DiscardUnknown Uses

func (m *RemoteBackend) XXX_DiscardUnknown()

func (*RemoteBackend) XXX_Marshal Uses

func (m *RemoteBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoteBackend) XXX_Merge Uses

func (m *RemoteBackend) XXX_Merge(src proto.Message)

func (*RemoteBackend) XXX_Size Uses

func (m *RemoteBackend) XXX_Size() int

func (*RemoteBackend) XXX_Unmarshal Uses

func (m *RemoteBackend) XXX_Unmarshal(b []byte) error

Package backend imports 3 packages (graph) and is imported by 2 packages. Updated 2019-08-30. Refresh now. Tools for package owners.