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

package settings

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

Index

Package Files

settings.pb.go settings_service.pb.go

func RegisterSettingsServiceServer Uses

func RegisterSettingsServiceServer(s *grpc.Server, srv SettingsServiceServer)

type Settings Uses

type Settings struct {
    Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
    EndpointUrl string `protobuf:"bytes,1,opt,name=endpoint_url,json=endpointUrl,proto3" json:"endpoint_url,omitempty"`
    Certificate string `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"`
    // requires oauth2 for cloud service.
    Oauth2Cloud          bool     `protobuf:"varint,4,opt,name=oauth2_cloud,json=oauth2Cloud,proto3" json:"oauth2_cloud,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Settings) Descriptor Uses

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

func (*Settings) GetCertificate Uses

func (m *Settings) GetCertificate() string

func (*Settings) GetEndpointUrl Uses

func (m *Settings) GetEndpointUrl() string

func (*Settings) GetName Uses

func (m *Settings) GetName() string

func (*Settings) GetOauth2Cloud Uses

func (m *Settings) GetOauth2Cloud() bool

func (*Settings) ProtoMessage Uses

func (*Settings) ProtoMessage()

func (*Settings) Reset Uses

func (m *Settings) Reset()

func (*Settings) String Uses

func (m *Settings) String() string

func (*Settings) XXX_DiscardUnknown Uses

func (m *Settings) XXX_DiscardUnknown()

func (*Settings) XXX_Marshal Uses

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

func (*Settings) XXX_Merge Uses

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

func (*Settings) XXX_Size Uses

func (m *Settings) XXX_Size() int

func (*Settings) XXX_Unmarshal Uses

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

type SettingsReq Uses

type SettingsReq struct {
    UseCase              string   `protobuf:"bytes,2,opt,name=use_case,json=useCase,proto3" json:"use_case,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*SettingsReq) Descriptor Uses

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

func (*SettingsReq) GetUseCase Uses

func (m *SettingsReq) GetUseCase() string

func (*SettingsReq) ProtoMessage Uses

func (*SettingsReq) ProtoMessage()

func (*SettingsReq) Reset Uses

func (m *SettingsReq) Reset()

func (*SettingsReq) String Uses

func (m *SettingsReq) String() string

func (*SettingsReq) XXX_DiscardUnknown Uses

func (m *SettingsReq) XXX_DiscardUnknown()

func (*SettingsReq) XXX_Marshal Uses

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

func (*SettingsReq) XXX_Merge Uses

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

func (*SettingsReq) XXX_Size Uses

func (m *SettingsReq) XXX_Size() int

func (*SettingsReq) XXX_Unmarshal Uses

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

type SettingsResp Uses

type SettingsResp struct {
    Settings             *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

func (*SettingsResp) Descriptor Uses

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

func (*SettingsResp) GetSettings Uses

func (m *SettingsResp) GetSettings() *Settings

func (*SettingsResp) ProtoMessage Uses

func (*SettingsResp) ProtoMessage()

func (*SettingsResp) Reset Uses

func (m *SettingsResp) Reset()

func (*SettingsResp) String Uses

func (m *SettingsResp) String() string

func (*SettingsResp) XXX_DiscardUnknown Uses

func (m *SettingsResp) XXX_DiscardUnknown()

func (*SettingsResp) XXX_Marshal Uses

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

func (*SettingsResp) XXX_Merge Uses

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

func (*SettingsResp) XXX_Size Uses

func (m *SettingsResp) XXX_Size() int

func (*SettingsResp) XXX_Unmarshal Uses

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

type SettingsServiceClient Uses

type SettingsServiceClient interface {
    Get(ctx context.Context, in *SettingsReq, opts ...grpc.CallOption) (*SettingsResp, error)
}

SettingsServiceClient is the client API for SettingsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSettingsServiceClient Uses

func NewSettingsServiceClient(cc *grpc.ClientConn) SettingsServiceClient

type SettingsServiceServer Uses

type SettingsServiceServer interface {
    Get(context.Context, *SettingsReq) (*SettingsResp, error)
}

SettingsServiceServer is the server API for SettingsService service.

type UnimplementedSettingsServiceServer Uses

type UnimplementedSettingsServiceServer struct {
}

UnimplementedSettingsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSettingsServiceServer) Get Uses

func (*UnimplementedSettingsServiceServer) Get(ctx context.Context, req *SettingsReq) (*SettingsResp, error)

Package settings imports 7 packages (graph) and is imported by 1 packages. Updated 2019-09-21. Refresh now. Tools for package owners.