serviceaccount

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: 7 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 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"`
	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) 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) (*Complete, 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)
	GetRoles(ctx context.Context, in *Identifier, opts ...grpc.CallOption) (*proto1.AccountRoles, error)
	SetRoles(ctx context.Context, in *SetRolesRequest, 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

ManagerServer is the server API for Manager service.

type SetRolesRequest

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

func (*SetRolesRequest) Descriptor

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

func (*SetRolesRequest) GetIdentifier

func (m *SetRolesRequest) GetIdentifier() *Identifier

func (*SetRolesRequest) GetRoles

func (m *SetRolesRequest) GetRoles() *proto1.AccountRoles

func (*SetRolesRequest) ProtoMessage

func (*SetRolesRequest) ProtoMessage()

func (*SetRolesRequest) Reset

func (m *SetRolesRequest) Reset()

func (*SetRolesRequest) String

func (m *SetRolesRequest) String() string

func (*SetRolesRequest) XXX_DiscardUnknown

func (m *SetRolesRequest) XXX_DiscardUnknown()

func (*SetRolesRequest) XXX_Marshal

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

func (*SetRolesRequest) XXX_Merge

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

func (*SetRolesRequest) XXX_Size

func (m *SetRolesRequest) XXX_Size() int

func (*SetRolesRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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