serviceaccount_key

package
v0.0.0-...-4515e61 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterManagerServer

func RegisterManagerServer(s *grpc.Server, srv ManagerServer)

Types

type ClientKey

type ClientKey struct {
	ServiceAccountGUID   string   `protobuf:"bytes,1,opt,name=ServiceAccountGUID,proto3" json:"ServiceAccountGUID,omitempty"`
	GUID                 string   `protobuf:"bytes,2,opt,name=GUID,proto3" json:"GUID,omitempty"`
	PrivateKey           []byte   `protobuf:"bytes,3,opt,name=PrivateKey,proto3" json:"PrivateKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientKey) Descriptor

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

func (*ClientKey) GetGUID

func (m *ClientKey) GetGUID() string

func (*ClientKey) GetPrivateKey

func (m *ClientKey) GetPrivateKey() []byte

func (*ClientKey) GetServiceAccountGUID

func (m *ClientKey) GetServiceAccountGUID() string

func (*ClientKey) ProtoMessage

func (*ClientKey) ProtoMessage()

func (*ClientKey) Reset

func (m *ClientKey) Reset()

func (*ClientKey) String

func (m *ClientKey) String() string

func (*ClientKey) XXX_DiscardUnknown

func (m *ClientKey) XXX_DiscardUnknown()

func (*ClientKey) XXX_Marshal

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

func (*ClientKey) XXX_Merge

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

func (*ClientKey) XXX_Size

func (m *ClientKey) XXX_Size() int

func (*ClientKey) XXX_Unmarshal

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

type Complete

type Complete struct {
	Identifier           *Identifier `protobuf:"bytes,1,opt,name=Identifier,proto3" json:"Identifier,omitempty"`
	Incomplete           *Incomplete `protobuf:"bytes,2,opt,name=Incomplete,proto3" json:"Incomplete,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Complete) Descriptor

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

func (*Complete) GetIdentifier

func (m *Complete) GetIdentifier() *Identifier

func (*Complete) GetIncomplete

func (m *Complete) GetIncomplete() *Incomplete

func (*Complete) ProtoMessage

func (*Complete) ProtoMessage()

func (*Complete) Reset

func (m *Complete) Reset()

func (*Complete) String

func (m *Complete) String() string

func (*Complete) XXX_DiscardUnknown

func (m *Complete) XXX_DiscardUnknown()

func (*Complete) XXX_Marshal

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

func (*Complete) XXX_Merge

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

func (*Complete) XXX_Size

func (m *Complete) XXX_Size() int

func (*Complete) XXX_Unmarshal

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

type Identifier

type Identifier struct {
	GUID                 string   `protobuf:"bytes,1,opt,name=GUID,proto3" json:"GUID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Identifier) Descriptor

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

func (*Identifier) GetGUID

func (m *Identifier) GetGUID() string

func (*Identifier) ProtoMessage

func (*Identifier) ProtoMessage()

func (*Identifier) Reset

func (m *Identifier) Reset()

func (*Identifier) String

func (m *Identifier) String() string

func (*Identifier) XXX_DiscardUnknown

func (m *Identifier) XXX_DiscardUnknown()

func (*Identifier) XXX_Marshal

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

func (*Identifier) XXX_Merge

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

func (*Identifier) XXX_Size

func (m *Identifier) XXX_Size() int

func (*Identifier) XXX_Unmarshal

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

type Incomplete

type Incomplete struct {
	Name                 string   `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
	PublicKey            []byte   `protobuf:"bytes,3,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"`
	ServiceAccountGUID   string   `protobuf:"bytes,4,opt,name=ServiceAccountGUID,proto3" json:"ServiceAccountGUID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Incomplete) Descriptor

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

func (*Incomplete) GetDescription

func (m *Incomplete) GetDescription() string

func (*Incomplete) GetName

func (m *Incomplete) GetName() string

func (*Incomplete) GetPublicKey

func (m *Incomplete) GetPublicKey() []byte

func (*Incomplete) GetServiceAccountGUID

func (m *Incomplete) GetServiceAccountGUID() string

func (*Incomplete) ProtoMessage

func (*Incomplete) ProtoMessage()

func (*Incomplete) Reset

func (m *Incomplete) Reset()

func (*Incomplete) String

func (m *Incomplete) String() string

func (*Incomplete) XXX_DiscardUnknown

func (m *Incomplete) XXX_DiscardUnknown()

func (*Incomplete) XXX_Marshal

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

func (*Incomplete) XXX_Merge

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

func (*Incomplete) XXX_Size

func (m *Incomplete) XXX_Size() int

func (*Incomplete) XXX_Unmarshal

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

type ManagerClient

type ManagerClient interface {
	Get(ctx context.Context, in *Identifier, opts ...grpc.CallOption) (*Complete, error)
	Create(ctx context.Context, in *Incomplete, opts ...grpc.CallOption) (*ClientKey, error)
	Update(ctx context.Context, in *Complete, opts ...grpc.CallOption) (*empty.Empty, error)
	Delete(ctx context.Context, in *Identifier, opts ...grpc.CallOption) (*empty.Empty, error)
}

ManagerClient is the client API for Manager service.

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

func NewManagerClient

func NewManagerClient(cc *grpc.ClientConn) ManagerClient

type ManagerServer

type ManagerServer interface {
	Get(context.Context, *Identifier) (*Complete, error)
	Create(context.Context, *Incomplete) (*ClientKey, error)
	Update(context.Context, *Complete) (*empty.Empty, error)
	Delete(context.Context, *Identifier) (*empty.Empty, error)
}

ManagerServer is the server API for Manager service.

Jump to

Keyboard shortcuts

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