Versions in this module Expand all Collapse all v0 v0.2.134 Dec 25, 2019 Changes in this version + func RegisterImageServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterImageServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ImageServiceClient) error + func RegisterImageServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterImageServiceServer(s *grpc.Server, srv ImageServiceServer) + type ApplyImageRequest struct + Annotations map[string]string + Labels map[string]string + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ApplyImageRequest) Descriptor() ([]byte, []int) + func (*ApplyImageRequest) ProtoMessage() + func (m *ApplyImageRequest) GetAnnotations() map[string]string + func (m *ApplyImageRequest) GetLabels() map[string]string + func (m *ApplyImageRequest) GetName() string + func (m *ApplyImageRequest) Reset() + func (m *ApplyImageRequest) String() string + func (m *ApplyImageRequest) XXX_DiscardUnknown() + func (m *ApplyImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ApplyImageRequest) XXX_Merge(src proto.Message) + func (m *ApplyImageRequest) XXX_Size() int + func (m *ApplyImageRequest) XXX_Unmarshal(b []byte) error + type DeleteImageRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DeleteImageRequest) Descriptor() ([]byte, []int) + func (*DeleteImageRequest) ProtoMessage() + func (m *DeleteImageRequest) GetName() string + func (m *DeleteImageRequest) Reset() + func (m *DeleteImageRequest) String() string + func (m *DeleteImageRequest) XXX_DiscardUnknown() + func (m *DeleteImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeleteImageRequest) XXX_Merge(src proto.Message) + func (m *DeleteImageRequest) XXX_Size() int + func (m *DeleteImageRequest) XXX_Unmarshal(b []byte) error + type GenerateBlockStorageRequest struct + Annotations map[string]string + BlockStorageName string + ImageName string + LimitBytes uint64 + RequestBytes uint64 + Tag string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GenerateBlockStorageRequest) Descriptor() ([]byte, []int) + func (*GenerateBlockStorageRequest) ProtoMessage() + func (m *GenerateBlockStorageRequest) GetAnnotations() map[string]string + func (m *GenerateBlockStorageRequest) GetBlockStorageName() string + func (m *GenerateBlockStorageRequest) GetImageName() string + func (m *GenerateBlockStorageRequest) GetLimitBytes() uint64 + func (m *GenerateBlockStorageRequest) GetRequestBytes() uint64 + func (m *GenerateBlockStorageRequest) GetTag() string + func (m *GenerateBlockStorageRequest) Reset() + func (m *GenerateBlockStorageRequest) String() string + func (m *GenerateBlockStorageRequest) XXX_DiscardUnknown() + func (m *GenerateBlockStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenerateBlockStorageRequest) XXX_Merge(src proto.Message) + func (m *GenerateBlockStorageRequest) XXX_Size() int + func (m *GenerateBlockStorageRequest) XXX_Unmarshal(b []byte) error + type GetImageRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetImageRequest) Descriptor() ([]byte, []int) + func (*GetImageRequest) ProtoMessage() + func (m *GetImageRequest) GetName() string + func (m *GetImageRequest) Reset() + func (m *GetImageRequest) String() string + func (m *GetImageRequest) XXX_DiscardUnknown() + func (m *GetImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetImageRequest) XXX_Merge(src proto.Message) + func (m *GetImageRequest) XXX_Size() int + func (m *GetImageRequest) XXX_Unmarshal(b []byte) error + type Image struct + Annotations map[string]string + Labels map[string]string + Name string + RegisteredBlockStorages []*Image_RegisteredBlockStorage + Tags map[string]string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Image) Descriptor() ([]byte, []int) + func (*Image) ProtoMessage() + func (m *Image) GetAnnotations() map[string]string + func (m *Image) GetLabels() map[string]string + func (m *Image) GetName() string + func (m *Image) GetRegisteredBlockStorages() []*Image_RegisteredBlockStorage + func (m *Image) GetTags() map[string]string + func (m *Image) Reset() + func (m *Image) String() string + func (m *Image) XXX_DiscardUnknown() + func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Image) XXX_Merge(src proto.Message) + func (m *Image) XXX_Size() int + func (m *Image) XXX_Unmarshal(b []byte) error + type ImageServiceClient interface + ApplyImage func(ctx context.Context, in *ApplyImageRequest, opts ...grpc.CallOption) (*Image, error) + DeleteImage func(ctx context.Context, in *DeleteImageRequest, opts ...grpc.CallOption) (*empty.Empty, error) + GenerateBlockStorage func(ctx context.Context, in *GenerateBlockStorageRequest, opts ...grpc.CallOption) (*v0.BlockStorage, error) + GetImage func(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*Image, error) + ListImages func(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error) + RegisterBlockStorage func(ctx context.Context, in *RegisterBlockStorageRequest, opts ...grpc.CallOption) (*Image, error) + TagImage func(ctx context.Context, in *TagImageRequest, opts ...grpc.CallOption) (*Image, error) + UnregisterBlockStorage func(ctx context.Context, in *UnregisterBlockStorageRequest, ...) (*Image, error) + UntagImage func(ctx context.Context, in *UntagImageRequest, opts ...grpc.CallOption) (*Image, error) + func NewImageServiceClient(cc *grpc.ClientConn) ImageServiceClient + type ImageServiceServer interface + ApplyImage func(context.Context, *ApplyImageRequest) (*Image, error) + DeleteImage func(context.Context, *DeleteImageRequest) (*empty.Empty, error) + GenerateBlockStorage func(context.Context, *GenerateBlockStorageRequest) (*v0.BlockStorage, error) + GetImage func(context.Context, *GetImageRequest) (*Image, error) + ListImages func(context.Context, *ListImagesRequest) (*ListImagesResponse, error) + RegisterBlockStorage func(context.Context, *RegisterBlockStorageRequest) (*Image, error) + TagImage func(context.Context, *TagImageRequest) (*Image, error) + UnregisterBlockStorage func(context.Context, *UnregisterBlockStorageRequest) (*Image, error) + UntagImage func(context.Context, *UntagImageRequest) (*Image, error) + type Image_RegisteredBlockStorage struct + BlockStorageName string + RegisteredAt *timestamp.Timestamp + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Image_RegisteredBlockStorage) Descriptor() ([]byte, []int) + func (*Image_RegisteredBlockStorage) ProtoMessage() + func (m *Image_RegisteredBlockStorage) GetBlockStorageName() string + func (m *Image_RegisteredBlockStorage) GetRegisteredAt() *timestamp.Timestamp + func (m *Image_RegisteredBlockStorage) Reset() + func (m *Image_RegisteredBlockStorage) String() string + func (m *Image_RegisteredBlockStorage) XXX_DiscardUnknown() + func (m *Image_RegisteredBlockStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Image_RegisteredBlockStorage) XXX_Merge(src proto.Message) + func (m *Image_RegisteredBlockStorage) XXX_Size() int + func (m *Image_RegisteredBlockStorage) XXX_Unmarshal(b []byte) error + type ListImagesRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListImagesRequest) Descriptor() ([]byte, []int) + func (*ListImagesRequest) ProtoMessage() + func (m *ListImagesRequest) Reset() + func (m *ListImagesRequest) String() string + func (m *ListImagesRequest) XXX_DiscardUnknown() + func (m *ListImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListImagesRequest) XXX_Merge(src proto.Message) + func (m *ListImagesRequest) XXX_Size() int + func (m *ListImagesRequest) XXX_Unmarshal(b []byte) error + type ListImagesResponse struct + Images []*Image + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListImagesResponse) Descriptor() ([]byte, []int) + func (*ListImagesResponse) ProtoMessage() + func (m *ListImagesResponse) GetImages() []*Image + func (m *ListImagesResponse) Reset() + func (m *ListImagesResponse) String() string + func (m *ListImagesResponse) XXX_DiscardUnknown() + func (m *ListImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListImagesResponse) XXX_Merge(src proto.Message) + func (m *ListImagesResponse) XXX_Size() int + func (m *ListImagesResponse) XXX_Unmarshal(b []byte) error + type RegisterBlockStorageRequest struct + BlockStorageName string + ImageName string + Tags []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RegisterBlockStorageRequest) Descriptor() ([]byte, []int) + func (*RegisterBlockStorageRequest) ProtoMessage() + func (m *RegisterBlockStorageRequest) GetBlockStorageName() string + func (m *RegisterBlockStorageRequest) GetImageName() string + func (m *RegisterBlockStorageRequest) GetTags() []string + func (m *RegisterBlockStorageRequest) Reset() + func (m *RegisterBlockStorageRequest) String() string + func (m *RegisterBlockStorageRequest) XXX_DiscardUnknown() + func (m *RegisterBlockStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RegisterBlockStorageRequest) XXX_Merge(src proto.Message) + func (m *RegisterBlockStorageRequest) XXX_Size() int + func (m *RegisterBlockStorageRequest) XXX_Unmarshal(b []byte) error + type TagImageRequest struct + Name string + RegisteredBlockStorageName string + Tag string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TagImageRequest) Descriptor() ([]byte, []int) + func (*TagImageRequest) ProtoMessage() + func (m *TagImageRequest) GetName() string + func (m *TagImageRequest) GetRegisteredBlockStorageName() string + func (m *TagImageRequest) GetTag() string + func (m *TagImageRequest) Reset() + func (m *TagImageRequest) String() string + func (m *TagImageRequest) XXX_DiscardUnknown() + func (m *TagImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TagImageRequest) XXX_Merge(src proto.Message) + func (m *TagImageRequest) XXX_Size() int + func (m *TagImageRequest) XXX_Unmarshal(b []byte) error + type UnimplementedImageServiceServer struct + func (*UnimplementedImageServiceServer) ApplyImage(ctx context.Context, req *ApplyImageRequest) (*Image, error) + func (*UnimplementedImageServiceServer) DeleteImage(ctx context.Context, req *DeleteImageRequest) (*empty.Empty, error) + func (*UnimplementedImageServiceServer) GenerateBlockStorage(ctx context.Context, req *GenerateBlockStorageRequest) (*v0.BlockStorage, error) + func (*UnimplementedImageServiceServer) GetImage(ctx context.Context, req *GetImageRequest) (*Image, error) + func (*UnimplementedImageServiceServer) ListImages(ctx context.Context, req *ListImagesRequest) (*ListImagesResponse, error) + func (*UnimplementedImageServiceServer) RegisterBlockStorage(ctx context.Context, req *RegisterBlockStorageRequest) (*Image, error) + func (*UnimplementedImageServiceServer) TagImage(ctx context.Context, req *TagImageRequest) (*Image, error) + func (*UnimplementedImageServiceServer) UnregisterBlockStorage(ctx context.Context, req *UnregisterBlockStorageRequest) (*Image, error) + func (*UnimplementedImageServiceServer) UntagImage(ctx context.Context, req *UntagImageRequest) (*Image, error) + type UnregisterBlockStorageRequest struct + BlockStorageName string + ImageName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UnregisterBlockStorageRequest) Descriptor() ([]byte, []int) + func (*UnregisterBlockStorageRequest) ProtoMessage() + func (m *UnregisterBlockStorageRequest) GetBlockStorageName() string + func (m *UnregisterBlockStorageRequest) GetImageName() string + func (m *UnregisterBlockStorageRequest) Reset() + func (m *UnregisterBlockStorageRequest) String() string + func (m *UnregisterBlockStorageRequest) XXX_DiscardUnknown() + func (m *UnregisterBlockStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UnregisterBlockStorageRequest) XXX_Merge(src proto.Message) + func (m *UnregisterBlockStorageRequest) XXX_Size() int + func (m *UnregisterBlockStorageRequest) XXX_Unmarshal(b []byte) error + type UntagImageRequest struct + Name string + Tag string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UntagImageRequest) Descriptor() ([]byte, []int) + func (*UntagImageRequest) ProtoMessage() + func (m *UntagImageRequest) GetName() string + func (m *UntagImageRequest) GetTag() string + func (m *UntagImageRequest) Reset() + func (m *UntagImageRequest) String() string + func (m *UntagImageRequest) XXX_DiscardUnknown() + func (m *UntagImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UntagImageRequest) XXX_Merge(src proto.Message) + func (m *UntagImageRequest) XXX_Size() int + func (m *UntagImageRequest) XXX_Unmarshal(b []byte) error