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

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

    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

    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

      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

      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

        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

            type UnimplementedSettingsServiceServer struct {
            }

              UnimplementedSettingsServiceServer can be embedded to have forward compatible implementations.

              func (*UnimplementedSettingsServiceServer) Get