settings

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_settings_settings_proto protoreflect.FileDescriptor
View Source
var File_settings_settings_service_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

func (*Settings) Descriptor deprecated

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

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetCertificate

func (x *Settings) GetCertificate() string

func (*Settings) GetEndpointUrl

func (x *Settings) GetEndpointUrl() string

func (*Settings) GetName

func (x *Settings) GetName() string

func (*Settings) GetOauth2Cloud

func (x *Settings) GetOauth2Cloud() bool

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect added in v0.0.12

func (x *Settings) ProtoReflect() protoreflect.Message

func (*Settings) Reset

func (x *Settings) Reset()

func (*Settings) String

func (x *Settings) String() string

type SettingsReq

type SettingsReq struct {
	UseCase string `protobuf:"bytes,2,opt,name=use_case,json=useCase,proto3" json:"use_case,omitempty"`
	// contains filtered or unexported fields
}

func (*SettingsReq) Descriptor deprecated

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

Deprecated: Use SettingsReq.ProtoReflect.Descriptor instead.

func (*SettingsReq) GetUseCase

func (x *SettingsReq) GetUseCase() string

func (*SettingsReq) ProtoMessage

func (*SettingsReq) ProtoMessage()

func (*SettingsReq) ProtoReflect added in v0.0.12

func (x *SettingsReq) ProtoReflect() protoreflect.Message

func (*SettingsReq) Reset

func (x *SettingsReq) Reset()

func (*SettingsReq) String

func (x *SettingsReq) String() string

type SettingsResp

type SettingsResp struct {
	Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*SettingsResp) Descriptor deprecated

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

Deprecated: Use SettingsResp.ProtoReflect.Descriptor instead.

func (*SettingsResp) GetSettings

func (x *SettingsResp) GetSettings() *Settings

func (*SettingsResp) ProtoMessage

func (*SettingsResp) ProtoMessage()

func (*SettingsResp) ProtoReflect added in v0.0.12

func (x *SettingsResp) ProtoReflect() protoreflect.Message

func (*SettingsResp) Reset

func (x *SettingsResp) Reset()

func (*SettingsResp) String

func (x *SettingsResp) String() string

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.

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

Jump to

Keyboard shortcuts

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