Documentation
¶
Index ¶
- func RegisterSettingsServiceServer(s *grpc.Server, srv SettingsServiceServer)
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)
- func (m *Settings) GetCertificate() string
- func (m *Settings) GetEndpointUrl() string
- func (m *Settings) GetName() string
- func (m *Settings) GetOauth2Cloud() bool
- func (*Settings) ProtoMessage()
- func (m *Settings) Reset()
- func (m *Settings) String() string
- func (m *Settings) XXX_DiscardUnknown()
- func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings) XXX_Merge(src proto.Message)
- func (m *Settings) XXX_Size() int
- func (m *Settings) XXX_Unmarshal(b []byte) error
- type SettingsReq
- func (*SettingsReq) Descriptor() ([]byte, []int)
- func (m *SettingsReq) GetUseCase() string
- func (*SettingsReq) ProtoMessage()
- func (m *SettingsReq) Reset()
- func (m *SettingsReq) String() string
- func (m *SettingsReq) XXX_DiscardUnknown()
- func (m *SettingsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettingsReq) XXX_Merge(src proto.Message)
- func (m *SettingsReq) XXX_Size() int
- func (m *SettingsReq) XXX_Unmarshal(b []byte) error
- type SettingsResp
- func (*SettingsResp) Descriptor() ([]byte, []int)
- func (m *SettingsResp) GetSettings() *Settings
- func (*SettingsResp) ProtoMessage()
- func (m *SettingsResp) Reset()
- func (m *SettingsResp) String() string
- func (m *SettingsResp) XXX_DiscardUnknown()
- func (m *SettingsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettingsResp) XXX_Merge(src proto.Message)
- func (m *SettingsResp) XXX_Size() int
- func (m *SettingsResp) XXX_Unmarshal(b []byte) error
- type SettingsServiceClient
- type SettingsServiceServer
- type UnimplementedSettingsServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSettingsServiceServer ¶
func RegisterSettingsServiceServer(s *grpc.Server, srv SettingsServiceServer)
Types ¶
type Settings ¶
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 ¶
func (*Settings) GetCertificate ¶
func (*Settings) GetEndpointUrl ¶
func (*Settings) GetOauth2Cloud ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) XXX_DiscardUnknown ¶
func (m *Settings) XXX_DiscardUnknown()
func (*Settings) XXX_Marshal ¶
func (*Settings) XXX_Unmarshal ¶
type SettingsReq ¶
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 ¶
func (*SettingsReq) Descriptor() ([]byte, []int)
func (*SettingsReq) GetUseCase ¶
func (m *SettingsReq) GetUseCase() string
func (*SettingsReq) ProtoMessage ¶
func (*SettingsReq) ProtoMessage()
func (*SettingsReq) Reset ¶
func (m *SettingsReq) Reset()
func (*SettingsReq) String ¶
func (m *SettingsReq) String() string
func (*SettingsReq) XXX_DiscardUnknown ¶
func (m *SettingsReq) XXX_DiscardUnknown()
func (*SettingsReq) XXX_Marshal ¶
func (m *SettingsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettingsReq) XXX_Merge ¶
func (m *SettingsReq) XXX_Merge(src proto.Message)
func (*SettingsReq) XXX_Size ¶
func (m *SettingsReq) XXX_Size() int
func (*SettingsReq) XXX_Unmarshal ¶
func (m *SettingsReq) XXX_Unmarshal(b []byte) error
type SettingsResp ¶
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 ¶
func (*SettingsResp) Descriptor() ([]byte, []int)
func (*SettingsResp) GetSettings ¶
func (m *SettingsResp) GetSettings() *Settings
func (*SettingsResp) ProtoMessage ¶
func (*SettingsResp) ProtoMessage()
func (*SettingsResp) Reset ¶
func (m *SettingsResp) Reset()
func (*SettingsResp) String ¶
func (m *SettingsResp) String() string
func (*SettingsResp) XXX_DiscardUnknown ¶
func (m *SettingsResp) XXX_DiscardUnknown()
func (*SettingsResp) XXX_Marshal ¶
func (m *SettingsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettingsResp) XXX_Merge ¶
func (m *SettingsResp) XXX_Merge(src proto.Message)
func (*SettingsResp) XXX_Size ¶
func (m *SettingsResp) XXX_Size() int
func (*SettingsResp) XXX_Unmarshal ¶
func (m *SettingsResp) XXX_Unmarshal(b []byte) error
type SettingsServiceClient ¶
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 ¶
func NewSettingsServiceClient(cc grpc.ClientConnInterface) SettingsServiceClient
type SettingsServiceServer ¶
type SettingsServiceServer interface {
Get(context.Context, *SettingsReq) (*SettingsResp, error)
}
SettingsServiceServer is the server API for SettingsService service.
type UnimplementedSettingsServiceServer ¶ added in v0.0.5
type UnimplementedSettingsServiceServer struct { }
UnimplementedSettingsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSettingsServiceServer) Get ¶ added in v0.0.5
func (*UnimplementedSettingsServiceServer) Get(ctx context.Context, req *SettingsReq) (*SettingsResp, error)
Click to show internal directories.
Click to hide internal directories.