releases

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0, Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

releases

.______      _______ __      _______     ___          _______._______
|   _  \    |   ____|  |    |   ____|   /   \        /       |   ____|
|  |_)  |   |  |__  |  |    |  |__     /  ^  \      |   (----|  |__
|      /    |   __| |  |    |   __|   /  /_\  \      \   \   |   __|
|  |\  \----|  |____|  `----|  |____ /  _____  \ .----)   |  |  |____
| _| `._____|_______|_______|_______/__/     \__\|_______/   |_______|

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands(getContext func() context.Context,
	getClientConn func() *grpc.ClientConn) (commands []*cobra.Command)

func Register

func Register(s *grpc.Server)

func RegisterReleaseAdminServer

func RegisterReleaseAdminServer(s *grpc.Server, srv ReleaseAdminServer)

Types

type AddReply

type AddReply struct {
	Name                 string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Pkg                  *pkgs.Pkg `protobuf:"bytes,2,opt,name=pkg,proto3" json:"pkg,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*AddReply) Descriptor

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

func (*AddReply) GetName

func (m *AddReply) GetName() string

func (*AddReply) GetPkg

func (m *AddReply) GetPkg() *pkgs.Pkg

func (*AddReply) ProtoMessage

func (*AddReply) ProtoMessage()

func (*AddReply) Reset

func (m *AddReply) Reset()

func (*AddReply) String

func (m *AddReply) String() string

func (*AddReply) XXX_DiscardUnknown

func (m *AddReply) XXX_DiscardUnknown()

func (*AddReply) XXX_Marshal

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

func (*AddReply) XXX_Merge

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

func (*AddReply) XXX_Size

func (m *AddReply) XXX_Size() int

func (*AddReply) XXX_Unmarshal

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

type AddRequest

type AddRequest struct {
	Name                 string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Pkg                  *pkgs.Pkg `protobuf:"bytes,2,opt,name=pkg,proto3" json:"pkg,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*AddRequest) Descriptor

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

func (*AddRequest) GetName

func (m *AddRequest) GetName() string

func (*AddRequest) GetPkg

func (m *AddRequest) GetPkg() *pkgs.Pkg

func (*AddRequest) ProtoMessage

func (*AddRequest) ProtoMessage()

func (*AddRequest) Reset

func (m *AddRequest) Reset()

func (*AddRequest) String

func (m *AddRequest) String() string

func (*AddRequest) XXX_DiscardUnknown

func (m *AddRequest) XXX_DiscardUnknown()

func (*AddRequest) XXX_Marshal

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

func (*AddRequest) XXX_Merge

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

func (*AddRequest) XXX_Size

func (m *AddRequest) XXX_Size() int

func (*AddRequest) XXX_Unmarshal

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

type CreateRequest

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

func (*CreateRequest) Descriptor

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

func (*CreateRequest) GetName

func (m *CreateRequest) GetName() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) Reset

func (m *CreateRequest) Reset()

func (*CreateRequest) String

func (m *CreateRequest) String() string

func (*CreateRequest) XXX_DiscardUnknown

func (m *CreateRequest) XXX_DiscardUnknown()

func (*CreateRequest) XXX_Marshal

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

func (*CreateRequest) XXX_Merge

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

func (*CreateRequest) XXX_Size

func (m *CreateRequest) XXX_Size() int

func (*CreateRequest) XXX_Unmarshal

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

type DeleteRequest

type DeleteRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetName

func (m *DeleteRequest) GetName() string

func (*DeleteRequest) GetVersion

func (m *DeleteRequest) GetVersion() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

func (*DeleteRequest) XXX_DiscardUnknown

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal

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

func (*DeleteRequest) XXX_Merge

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

func (*DeleteRequest) XXX_Size

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal

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

type GetRequest

type GetRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRequest) Descriptor

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

func (*GetRequest) GetName

func (m *GetRequest) GetName() string

func (*GetRequest) GetVersion

func (m *GetRequest) GetVersion() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

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

func (*GetRequest) XXX_Merge

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

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

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

type ListRequest

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

func (*ListRequest) Descriptor

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

func (*ListRequest) GetName

func (m *ListRequest) GetName() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset

func (m *ListRequest) Reset()

func (*ListRequest) String

func (m *ListRequest) String() string

func (*ListRequest) XXX_DiscardUnknown

func (m *ListRequest) XXX_DiscardUnknown()

func (*ListRequest) XXX_Marshal

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

func (*ListRequest) XXX_Merge

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

func (*ListRequest) XXX_Size

func (m *ListRequest) XXX_Size() int

func (*ListRequest) XXX_Unmarshal

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

type PublishRequest

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

func (*PublishRequest) Descriptor

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

func (*PublishRequest) GetName

func (m *PublishRequest) GetName() string

func (*PublishRequest) ProtoMessage

func (*PublishRequest) ProtoMessage()

func (*PublishRequest) Reset

func (m *PublishRequest) Reset()

func (*PublishRequest) String

func (m *PublishRequest) String() string

func (*PublishRequest) XXX_DiscardUnknown

func (m *PublishRequest) XXX_DiscardUnknown()

func (*PublishRequest) XXX_Marshal

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

func (*PublishRequest) XXX_Merge

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

func (*PublishRequest) XXX_Size

func (m *PublishRequest) XXX_Size() int

func (*PublishRequest) XXX_Unmarshal

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

type RefreshRequest

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

func (*RefreshRequest) Descriptor

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

func (*RefreshRequest) GetName

func (m *RefreshRequest) GetName() string

func (*RefreshRequest) ProtoMessage

func (*RefreshRequest) ProtoMessage()

func (*RefreshRequest) Reset

func (m *RefreshRequest) Reset()

func (*RefreshRequest) String

func (m *RefreshRequest) String() string

func (*RefreshRequest) XXX_DiscardUnknown

func (m *RefreshRequest) XXX_DiscardUnknown()

func (*RefreshRequest) XXX_Marshal

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

func (*RefreshRequest) XXX_Merge

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

func (*RefreshRequest) XXX_Size

func (m *RefreshRequest) XXX_Size() int

func (*RefreshRequest) XXX_Unmarshal

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

type Release

type Release struct {
	Name                 string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version              string      `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Pkgs                 []*pkgs.Pkg `protobuf:"bytes,3,rep,name=pkgs,proto3" json:"pkgs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Release) Descriptor

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

func (*Release) GetName

func (m *Release) GetName() string

func (*Release) GetPkgs

func (m *Release) GetPkgs() []*pkgs.Pkg

func (*Release) GetVersion

func (m *Release) GetVersion() string

func (*Release) ProtoMessage

func (*Release) ProtoMessage()

func (*Release) Reset

func (m *Release) Reset()

func (*Release) String

func (m *Release) String() string

func (*Release) XXX_DiscardUnknown

func (m *Release) XXX_DiscardUnknown()

func (*Release) XXX_Marshal

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

func (*Release) XXX_Merge

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

func (*Release) XXX_Size

func (m *Release) XXX_Size() int

func (*Release) XXX_Unmarshal

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

type ReleaseAdminClient

type ReleaseAdminClient interface {
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*Release, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*Release, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (ReleaseAdmin_ListClient, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*Release, error)
	Add(ctx context.Context, in *AddRequest, opts ...grpc.CallOption) (*AddReply, error)
	Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveReply, error)
	Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*Release, error)
	Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*Release, error)
}

ReleaseAdminClient is the client API for ReleaseAdmin service.

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

func NewReleaseAdminClient

func NewReleaseAdminClient(cc *grpc.ClientConn) ReleaseAdminClient

type ReleaseAdminServer

ReleaseAdminServer is the server API for ReleaseAdmin service.

type ReleaseAdmin_ListClient

type ReleaseAdmin_ListClient interface {
	Recv() (*Release, error)
	grpc.ClientStream
}

type ReleaseAdmin_ListServer

type ReleaseAdmin_ListServer interface {
	Send(*Release) error
	grpc.ServerStream
}

type RemoveReply

type RemoveReply struct {
	Name                 string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Pkg                  *pkgs.Pkg `protobuf:"bytes,2,opt,name=pkg,proto3" json:"pkg,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*RemoveReply) Descriptor

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

func (*RemoveReply) GetName

func (m *RemoveReply) GetName() string

func (*RemoveReply) GetPkg

func (m *RemoveReply) GetPkg() *pkgs.Pkg

func (*RemoveReply) ProtoMessage

func (*RemoveReply) ProtoMessage()

func (*RemoveReply) Reset

func (m *RemoveReply) Reset()

func (*RemoveReply) String

func (m *RemoveReply) String() string

func (*RemoveReply) XXX_DiscardUnknown

func (m *RemoveReply) XXX_DiscardUnknown()

func (*RemoveReply) XXX_Marshal

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

func (*RemoveReply) XXX_Merge

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

func (*RemoveReply) XXX_Size

func (m *RemoveReply) XXX_Size() int

func (*RemoveReply) XXX_Unmarshal

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

type RemoveRequest

type RemoveRequest struct {
	Name                 string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Pkg                  *pkgs.Pkg `protobuf:"bytes,2,opt,name=pkg,proto3" json:"pkg,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*RemoveRequest) Descriptor

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

func (*RemoveRequest) GetName

func (m *RemoveRequest) GetName() string

func (*RemoveRequest) GetPkg

func (m *RemoveRequest) GetPkg() *pkgs.Pkg

func (*RemoveRequest) ProtoMessage

func (*RemoveRequest) ProtoMessage()

func (*RemoveRequest) Reset

func (m *RemoveRequest) Reset()

func (*RemoveRequest) String

func (m *RemoveRequest) String() string

func (*RemoveRequest) XXX_DiscardUnknown

func (m *RemoveRequest) XXX_DiscardUnknown()

func (*RemoveRequest) XXX_Marshal

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

func (*RemoveRequest) XXX_Merge

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

func (*RemoveRequest) XXX_Size

func (m *RemoveRequest) XXX_Size() int

func (*RemoveRequest) XXX_Unmarshal

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

type UnimplementedReleaseAdminServer

type UnimplementedReleaseAdminServer struct {
}

UnimplementedReleaseAdminServer can be embedded to have forward compatible implementations.

func (*UnimplementedReleaseAdminServer) Add

func (*UnimplementedReleaseAdminServer) Create

func (*UnimplementedReleaseAdminServer) Delete

func (*UnimplementedReleaseAdminServer) Get

func (*UnimplementedReleaseAdminServer) List

func (*UnimplementedReleaseAdminServer) Publish

func (*UnimplementedReleaseAdminServer) Refresh

func (*UnimplementedReleaseAdminServer) Remove

Jump to

Keyboard shortcuts

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