Versions in this module Expand all Collapse all v1 v1.0.0 Jun 4, 2021 Changes in this version + func Commands(getContext func() context.Context, getClientConn func() *grpc.ClientConn) (commands []*cobra.Command) + func Register(s *grpc.Server) + func RegisterReleaseAdminServer(s *grpc.Server, srv ReleaseAdminServer) + type AddReply struct + Name string + Pkg *pkgs.Pkg + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddReply) Descriptor() ([]byte, []int) + func (*AddReply) ProtoMessage() + func (m *AddReply) GetName() string + func (m *AddReply) GetPkg() *pkgs.Pkg + func (m *AddReply) Reset() + func (m *AddReply) String() string + func (m *AddReply) XXX_DiscardUnknown() + func (m *AddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddReply) XXX_Merge(src proto.Message) + func (m *AddReply) XXX_Size() int + func (m *AddReply) XXX_Unmarshal(b []byte) error + type AddRequest struct + Name string + Pkg *pkgs.Pkg + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddRequest) Descriptor() ([]byte, []int) + func (*AddRequest) ProtoMessage() + func (m *AddRequest) GetName() string + func (m *AddRequest) GetPkg() *pkgs.Pkg + func (m *AddRequest) Reset() + func (m *AddRequest) String() string + func (m *AddRequest) XXX_DiscardUnknown() + func (m *AddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddRequest) XXX_Merge(src proto.Message) + func (m *AddRequest) XXX_Size() int + func (m *AddRequest) XXX_Unmarshal(b []byte) error + type CreateRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CreateRequest) Descriptor() ([]byte, []int) + func (*CreateRequest) ProtoMessage() + func (m *CreateRequest) GetName() string + func (m *CreateRequest) Reset() + func (m *CreateRequest) String() string + func (m *CreateRequest) XXX_DiscardUnknown() + func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CreateRequest) XXX_Merge(src proto.Message) + func (m *CreateRequest) XXX_Size() int + func (m *CreateRequest) XXX_Unmarshal(b []byte) error + type DeleteRequest struct + Name string + Version string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DeleteRequest) Descriptor() ([]byte, []int) + func (*DeleteRequest) ProtoMessage() + func (m *DeleteRequest) GetName() string + func (m *DeleteRequest) GetVersion() string + func (m *DeleteRequest) Reset() + func (m *DeleteRequest) String() string + func (m *DeleteRequest) XXX_DiscardUnknown() + func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeleteRequest) XXX_Merge(src proto.Message) + func (m *DeleteRequest) XXX_Size() int + func (m *DeleteRequest) XXX_Unmarshal(b []byte) error + type GetRequest struct + Name string + Version string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetRequest) Descriptor() ([]byte, []int) + func (*GetRequest) ProtoMessage() + func (m *GetRequest) GetName() string + func (m *GetRequest) GetVersion() string + func (m *GetRequest) Reset() + func (m *GetRequest) String() string + func (m *GetRequest) XXX_DiscardUnknown() + func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetRequest) XXX_Merge(src proto.Message) + func (m *GetRequest) XXX_Size() int + func (m *GetRequest) XXX_Unmarshal(b []byte) error + type ListRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (m *ListRequest) GetName() string + func (m *ListRequest) Reset() + func (m *ListRequest) String() string + func (m *ListRequest) XXX_DiscardUnknown() + func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListRequest) XXX_Merge(src proto.Message) + func (m *ListRequest) XXX_Size() int + func (m *ListRequest) XXX_Unmarshal(b []byte) error + type PublishRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*PublishRequest) Descriptor() ([]byte, []int) + func (*PublishRequest) ProtoMessage() + func (m *PublishRequest) GetName() string + func (m *PublishRequest) Reset() + func (m *PublishRequest) String() string + func (m *PublishRequest) XXX_DiscardUnknown() + func (m *PublishRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PublishRequest) XXX_Merge(src proto.Message) + func (m *PublishRequest) XXX_Size() int + func (m *PublishRequest) XXX_Unmarshal(b []byte) error + type RefreshRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RefreshRequest) Descriptor() ([]byte, []int) + func (*RefreshRequest) ProtoMessage() + func (m *RefreshRequest) GetName() string + func (m *RefreshRequest) Reset() + func (m *RefreshRequest) String() string + func (m *RefreshRequest) XXX_DiscardUnknown() + func (m *RefreshRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RefreshRequest) XXX_Merge(src proto.Message) + func (m *RefreshRequest) XXX_Size() int + func (m *RefreshRequest) XXX_Unmarshal(b []byte) error + type Release struct + Name string + Pkgs []*pkgs.Pkg + Version string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Release) Descriptor() ([]byte, []int) + func (*Release) ProtoMessage() + func (m *Release) GetName() string + func (m *Release) GetPkgs() []*pkgs.Pkg + func (m *Release) GetVersion() string + func (m *Release) Reset() + func (m *Release) String() string + func (m *Release) XXX_DiscardUnknown() + func (m *Release) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Release) XXX_Merge(src proto.Message) + func (m *Release) XXX_Size() int + func (m *Release) XXX_Unmarshal(b []byte) error + type ReleaseAdminClient interface + Add func(ctx context.Context, in *AddRequest, opts ...grpc.CallOption) (*AddReply, error) + Create func(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*Release, error) + Delete func(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*Release, error) + Get func(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*Release, error) + List func(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (ReleaseAdmin_ListClient, error) + Publish func(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*Release, error) + Refresh func(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*Release, error) + Remove func(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveReply, error) + func NewReleaseAdminClient(cc *grpc.ClientConn) ReleaseAdminClient + type ReleaseAdminServer interface + Add func(context.Context, *AddRequest) (*AddReply, error) + Create func(context.Context, *CreateRequest) (*Release, error) + Delete func(context.Context, *DeleteRequest) (*Release, error) + Get func(context.Context, *GetRequest) (*Release, error) + List func(*ListRequest, ReleaseAdmin_ListServer) error + Publish func(context.Context, *PublishRequest) (*Release, error) + Refresh func(context.Context, *RefreshRequest) (*Release, error) + Remove func(context.Context, *RemoveRequest) (*RemoveReply, error) + type ReleaseAdmin_ListClient interface + Recv func() (*Release, error) + type ReleaseAdmin_ListServer interface + Send func(*Release) error + type RemoveReply struct + Name string + Pkg *pkgs.Pkg + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RemoveReply) Descriptor() ([]byte, []int) + func (*RemoveReply) ProtoMessage() + func (m *RemoveReply) GetName() string + func (m *RemoveReply) GetPkg() *pkgs.Pkg + func (m *RemoveReply) Reset() + func (m *RemoveReply) String() string + func (m *RemoveReply) XXX_DiscardUnknown() + func (m *RemoveReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RemoveReply) XXX_Merge(src proto.Message) + func (m *RemoveReply) XXX_Size() int + func (m *RemoveReply) XXX_Unmarshal(b []byte) error + type RemoveRequest struct + Name string + Pkg *pkgs.Pkg + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RemoveRequest) Descriptor() ([]byte, []int) + func (*RemoveRequest) ProtoMessage() + func (m *RemoveRequest) GetName() string + func (m *RemoveRequest) GetPkg() *pkgs.Pkg + func (m *RemoveRequest) Reset() + func (m *RemoveRequest) String() string + func (m *RemoveRequest) XXX_DiscardUnknown() + func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RemoveRequest) XXX_Merge(src proto.Message) + func (m *RemoveRequest) XXX_Size() int + func (m *RemoveRequest) XXX_Unmarshal(b []byte) error + type UnimplementedReleaseAdminServer struct + func (*UnimplementedReleaseAdminServer) Add(ctx context.Context, req *AddRequest) (*AddReply, error) + func (*UnimplementedReleaseAdminServer) Create(ctx context.Context, req *CreateRequest) (*Release, error) + func (*UnimplementedReleaseAdminServer) Delete(ctx context.Context, req *DeleteRequest) (*Release, error) + func (*UnimplementedReleaseAdminServer) Get(ctx context.Context, req *GetRequest) (*Release, error) + func (*UnimplementedReleaseAdminServer) List(req *ListRequest, srv ReleaseAdmin_ListServer) error + func (*UnimplementedReleaseAdminServer) Publish(ctx context.Context, req *PublishRequest) (*Release, error) + func (*UnimplementedReleaseAdminServer) Refresh(ctx context.Context, req *RefreshRequest) (*Release, error) + func (*UnimplementedReleaseAdminServer) Remove(ctx context.Context, req *RemoveRequest) (*RemoveReply, error)