gkeystoreproto

package
v1.4.4-debug.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterKeystoreServer

func RegisterKeystoreServer(s *grpc.Server, srv KeystoreServer)

Types

type GetDatabaseRequest

type GetDatabaseRequest struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetDatabaseRequest) Descriptor

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

func (*GetDatabaseRequest) GetPassword

func (m *GetDatabaseRequest) GetPassword() string

func (*GetDatabaseRequest) GetUsername

func (m *GetDatabaseRequest) GetUsername() string

func (*GetDatabaseRequest) ProtoMessage

func (*GetDatabaseRequest) ProtoMessage()

func (*GetDatabaseRequest) Reset

func (m *GetDatabaseRequest) Reset()

func (*GetDatabaseRequest) String

func (m *GetDatabaseRequest) String() string

func (*GetDatabaseRequest) XXX_DiscardUnknown

func (m *GetDatabaseRequest) XXX_DiscardUnknown()

func (*GetDatabaseRequest) XXX_Marshal

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

func (*GetDatabaseRequest) XXX_Merge

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

func (*GetDatabaseRequest) XXX_Size

func (m *GetDatabaseRequest) XXX_Size() int

func (*GetDatabaseRequest) XXX_Unmarshal

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

type GetDatabaseResponse

type GetDatabaseResponse struct {
	DbServer             uint32   `protobuf:"varint,1,opt,name=dbServer,proto3" json:"dbServer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetDatabaseResponse) Descriptor

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

func (*GetDatabaseResponse) GetDbServer

func (m *GetDatabaseResponse) GetDbServer() uint32

func (*GetDatabaseResponse) ProtoMessage

func (*GetDatabaseResponse) ProtoMessage()

func (*GetDatabaseResponse) Reset

func (m *GetDatabaseResponse) Reset()

func (*GetDatabaseResponse) String

func (m *GetDatabaseResponse) String() string

func (*GetDatabaseResponse) XXX_DiscardUnknown

func (m *GetDatabaseResponse) XXX_DiscardUnknown()

func (*GetDatabaseResponse) XXX_Marshal

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

func (*GetDatabaseResponse) XXX_Merge

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

func (*GetDatabaseResponse) XXX_Size

func (m *GetDatabaseResponse) XXX_Size() int

func (*GetDatabaseResponse) XXX_Unmarshal

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

type KeystoreClient

type KeystoreClient interface {
	GetDatabase(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*GetDatabaseResponse, error)
}

KeystoreClient is the client API for Keystore service.

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

func NewKeystoreClient

func NewKeystoreClient(cc grpc.ClientConnInterface) KeystoreClient

type KeystoreServer

type KeystoreServer interface {
	GetDatabase(context.Context, *GetDatabaseRequest) (*GetDatabaseResponse, error)
}

KeystoreServer is the server API for Keystore service.

type UnimplementedKeystoreServer

type UnimplementedKeystoreServer struct {
}

UnimplementedKeystoreServer can be embedded to have forward compatible implementations.

func (*UnimplementedKeystoreServer) GetDatabase

Jump to

Keyboard shortcuts

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