Documentation ¶
Overview ¶
Package pdeployment is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- 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
- func (*ApplyImageRequest) Descriptor() ([]byte, []int)
- func (m *ApplyImageRequest) GetAnnotations() map[string]string
- func (m *ApplyImageRequest) GetLabels() map[string]string
- func (m *ApplyImageRequest) GetName() string
- func (*ApplyImageRequest) ProtoMessage()
- 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
- func (*DeleteImageRequest) Descriptor() ([]byte, []int)
- func (m *DeleteImageRequest) GetName() string
- func (*DeleteImageRequest) ProtoMessage()
- 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
- func (*GenerateBlockStorageRequest) Descriptor() ([]byte, []int)
- 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 (*GenerateBlockStorageRequest) ProtoMessage()
- 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
- func (*GetImageRequest) Descriptor() ([]byte, []int)
- func (m *GetImageRequest) GetName() string
- func (*GetImageRequest) ProtoMessage()
- 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
- func (*Image) Descriptor() ([]byte, []int)
- 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 (*Image) ProtoMessage()
- 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
- type ImageServiceServer
- type Image_RegisteredBlockStorage
- func (*Image_RegisteredBlockStorage) Descriptor() ([]byte, []int)
- func (m *Image_RegisteredBlockStorage) GetBlockStorageName() string
- func (m *Image_RegisteredBlockStorage) GetRegisteredAt() *timestamp.Timestamp
- func (*Image_RegisteredBlockStorage) ProtoMessage()
- 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
- 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
- func (*ListImagesResponse) Descriptor() ([]byte, []int)
- func (m *ListImagesResponse) GetImages() []*Image
- func (*ListImagesResponse) ProtoMessage()
- 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
- func (*RegisterBlockStorageRequest) Descriptor() ([]byte, []int)
- func (m *RegisterBlockStorageRequest) GetBlockStorageName() string
- func (m *RegisterBlockStorageRequest) GetImageName() string
- func (m *RegisterBlockStorageRequest) GetTags() []string
- func (*RegisterBlockStorageRequest) ProtoMessage()
- 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
- func (*TagImageRequest) Descriptor() ([]byte, []int)
- func (m *TagImageRequest) GetName() string
- func (m *TagImageRequest) GetRegisteredBlockStorageName() string
- func (m *TagImageRequest) GetTag() string
- func (*TagImageRequest) ProtoMessage()
- 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
- 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
- func (*UnregisterBlockStorageRequest) Descriptor() ([]byte, []int)
- func (m *UnregisterBlockStorageRequest) GetBlockStorageName() string
- func (m *UnregisterBlockStorageRequest) GetImageName() string
- func (*UnregisterBlockStorageRequest) ProtoMessage()
- 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
- func (*UntagImageRequest) Descriptor() ([]byte, []int)
- func (m *UntagImageRequest) GetName() string
- func (m *UntagImageRequest) GetTag() string
- func (*UntagImageRequest) ProtoMessage()
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterImageServiceHandler ¶
func RegisterImageServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterImageServiceHandler registers the http handlers for service ImageService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterImageServiceHandlerClient ¶
func RegisterImageServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ImageServiceClient) error
RegisterImageServiceHandlerClient registers the http handlers for service ImageService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ImageServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ImageServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ImageServiceClient" to call the correct interceptors.
func RegisterImageServiceHandlerFromEndpoint ¶
func RegisterImageServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterImageServiceHandlerFromEndpoint is same as RegisterImageServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterImageServiceServer ¶
func RegisterImageServiceServer(s *grpc.Server, srv ImageServiceServer)
Types ¶
type ApplyImageRequest ¶
type ApplyImageRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Annotations map[string]string `` /* 163-byte string literal not displayed */ Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ApplyImageRequest) Descriptor ¶
func (*ApplyImageRequest) Descriptor() ([]byte, []int)
func (*ApplyImageRequest) GetAnnotations ¶
func (m *ApplyImageRequest) GetAnnotations() map[string]string
func (*ApplyImageRequest) GetLabels ¶
func (m *ApplyImageRequest) GetLabels() map[string]string
func (*ApplyImageRequest) GetName ¶
func (m *ApplyImageRequest) GetName() string
func (*ApplyImageRequest) ProtoMessage ¶
func (*ApplyImageRequest) ProtoMessage()
func (*ApplyImageRequest) Reset ¶
func (m *ApplyImageRequest) Reset()
func (*ApplyImageRequest) String ¶
func (m *ApplyImageRequest) String() string
func (*ApplyImageRequest) XXX_DiscardUnknown ¶
func (m *ApplyImageRequest) XXX_DiscardUnknown()
func (*ApplyImageRequest) XXX_Marshal ¶
func (m *ApplyImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyImageRequest) XXX_Merge ¶
func (m *ApplyImageRequest) XXX_Merge(src proto.Message)
func (*ApplyImageRequest) XXX_Size ¶
func (m *ApplyImageRequest) XXX_Size() int
func (*ApplyImageRequest) XXX_Unmarshal ¶
func (m *ApplyImageRequest) XXX_Unmarshal(b []byte) error
type DeleteImageRequest ¶
type DeleteImageRequest 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 (*DeleteImageRequest) Descriptor ¶
func (*DeleteImageRequest) Descriptor() ([]byte, []int)
func (*DeleteImageRequest) GetName ¶
func (m *DeleteImageRequest) GetName() string
func (*DeleteImageRequest) ProtoMessage ¶
func (*DeleteImageRequest) ProtoMessage()
func (*DeleteImageRequest) Reset ¶
func (m *DeleteImageRequest) Reset()
func (*DeleteImageRequest) String ¶
func (m *DeleteImageRequest) String() string
func (*DeleteImageRequest) XXX_DiscardUnknown ¶
func (m *DeleteImageRequest) XXX_DiscardUnknown()
func (*DeleteImageRequest) XXX_Marshal ¶
func (m *DeleteImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteImageRequest) XXX_Merge ¶
func (m *DeleteImageRequest) XXX_Merge(src proto.Message)
func (*DeleteImageRequest) XXX_Size ¶
func (m *DeleteImageRequest) XXX_Size() int
func (*DeleteImageRequest) XXX_Unmarshal ¶
func (m *DeleteImageRequest) XXX_Unmarshal(b []byte) error
type GenerateBlockStorageRequest ¶
type GenerateBlockStorageRequest struct { ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` BlockStorageName string `protobuf:"bytes,2,opt,name=block_storage_name,json=blockStorageName,proto3" json:"block_storage_name,omitempty"` Annotations map[string]string `` /* 163-byte string literal not displayed */ RequestBytes uint64 `protobuf:"varint,4,opt,name=request_bytes,json=requestBytes,proto3" json:"request_bytes,omitempty"` LimitBytes uint64 `protobuf:"varint,5,opt,name=limit_bytes,json=limitBytes,proto3" json:"limit_bytes,omitempty"` Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateBlockStorageRequest) Descriptor ¶
func (*GenerateBlockStorageRequest) Descriptor() ([]byte, []int)
func (*GenerateBlockStorageRequest) GetAnnotations ¶
func (m *GenerateBlockStorageRequest) GetAnnotations() map[string]string
func (*GenerateBlockStorageRequest) GetBlockStorageName ¶
func (m *GenerateBlockStorageRequest) GetBlockStorageName() string
func (*GenerateBlockStorageRequest) GetImageName ¶
func (m *GenerateBlockStorageRequest) GetImageName() string
func (*GenerateBlockStorageRequest) GetLimitBytes ¶
func (m *GenerateBlockStorageRequest) GetLimitBytes() uint64
func (*GenerateBlockStorageRequest) GetRequestBytes ¶
func (m *GenerateBlockStorageRequest) GetRequestBytes() uint64
func (*GenerateBlockStorageRequest) GetTag ¶
func (m *GenerateBlockStorageRequest) GetTag() string
func (*GenerateBlockStorageRequest) ProtoMessage ¶
func (*GenerateBlockStorageRequest) ProtoMessage()
func (*GenerateBlockStorageRequest) Reset ¶
func (m *GenerateBlockStorageRequest) Reset()
func (*GenerateBlockStorageRequest) String ¶
func (m *GenerateBlockStorageRequest) String() string
func (*GenerateBlockStorageRequest) XXX_DiscardUnknown ¶
func (m *GenerateBlockStorageRequest) XXX_DiscardUnknown()
func (*GenerateBlockStorageRequest) XXX_Marshal ¶
func (m *GenerateBlockStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateBlockStorageRequest) XXX_Merge ¶
func (m *GenerateBlockStorageRequest) XXX_Merge(src proto.Message)
func (*GenerateBlockStorageRequest) XXX_Size ¶
func (m *GenerateBlockStorageRequest) XXX_Size() int
func (*GenerateBlockStorageRequest) XXX_Unmarshal ¶
func (m *GenerateBlockStorageRequest) XXX_Unmarshal(b []byte) error
type GetImageRequest ¶
type GetImageRequest 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 (*GetImageRequest) Descriptor ¶
func (*GetImageRequest) Descriptor() ([]byte, []int)
func (*GetImageRequest) GetName ¶
func (m *GetImageRequest) GetName() string
func (*GetImageRequest) ProtoMessage ¶
func (*GetImageRequest) ProtoMessage()
func (*GetImageRequest) Reset ¶
func (m *GetImageRequest) Reset()
func (*GetImageRequest) String ¶
func (m *GetImageRequest) String() string
func (*GetImageRequest) XXX_DiscardUnknown ¶
func (m *GetImageRequest) XXX_DiscardUnknown()
func (*GetImageRequest) XXX_Marshal ¶
func (m *GetImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetImageRequest) XXX_Merge ¶
func (m *GetImageRequest) XXX_Merge(src proto.Message)
func (*GetImageRequest) XXX_Size ¶
func (m *GetImageRequest) XXX_Size() int
func (*GetImageRequest) XXX_Unmarshal ¶
func (m *GetImageRequest) XXX_Unmarshal(b []byte) error
type Image ¶
type Image struct { // Name is a unique field. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Annotations can store metadata used by the system for control. // In particular, implementation-dependent fields that can not be set as protobuf fields are targeted. // The control specified by n0stack may delete metadata specified by the user. Annotations map[string]string `` /* 163-byte string literal not displayed */ // Labels stores user-defined metadata. // The n0stack system must not rewrite this value. Labels map[string]string `` /* 153-byte string literal not displayed */ RegisteredBlockStorages []*Image_RegisteredBlockStorage `` /* 133-byte string literal not displayed */ Tags map[string]string `` /* 150-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Image) Descriptor ¶
func (*Image) GetAnnotations ¶
func (*Image) GetRegisteredBlockStorages ¶
func (m *Image) GetRegisteredBlockStorages() []*Image_RegisteredBlockStorage
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_Unmarshal ¶
type ImageServiceClient ¶
type ImageServiceClient interface { ListImages(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error) GetImage(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*Image, error) ApplyImage(ctx context.Context, in *ApplyImageRequest, opts ...grpc.CallOption) (*Image, error) DeleteImage(ctx context.Context, in *DeleteImageRequest, opts ...grpc.CallOption) (*empty.Empty, error) RegisterBlockStorage(ctx context.Context, in *RegisterBlockStorageRequest, opts ...grpc.CallOption) (*Image, error) UnregisterBlockStorage(ctx context.Context, in *UnregisterBlockStorageRequest, opts ...grpc.CallOption) (*Image, error) GenerateBlockStorage(ctx context.Context, in *GenerateBlockStorageRequest, opts ...grpc.CallOption) (*v0.BlockStorage, error) TagImage(ctx context.Context, in *TagImageRequest, opts ...grpc.CallOption) (*Image, error) UntagImage(ctx context.Context, in *UntagImageRequest, opts ...grpc.CallOption) (*Image, error) }
ImageServiceClient is the client API for ImageService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewImageServiceClient ¶
func NewImageServiceClient(cc *grpc.ClientConn) ImageServiceClient
type ImageServiceServer ¶
type ImageServiceServer interface { ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error) GetImage(context.Context, *GetImageRequest) (*Image, error) ApplyImage(context.Context, *ApplyImageRequest) (*Image, error) DeleteImage(context.Context, *DeleteImageRequest) (*empty.Empty, error) RegisterBlockStorage(context.Context, *RegisterBlockStorageRequest) (*Image, error) UnregisterBlockStorage(context.Context, *UnregisterBlockStorageRequest) (*Image, error) GenerateBlockStorage(context.Context, *GenerateBlockStorageRequest) (*v0.BlockStorage, error) TagImage(context.Context, *TagImageRequest) (*Image, error) UntagImage(context.Context, *UntagImageRequest) (*Image, error) }
ImageServiceServer is the server API for ImageService service.
type Image_RegisteredBlockStorage ¶
type Image_RegisteredBlockStorage struct { BlockStorageName string `protobuf:"bytes,1,opt,name=block_storage_name,json=blockStorageName,proto3" json:"block_storage_name,omitempty"` RegisteredAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=registered_at,json=registeredAt,proto3" json:"registered_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Image_RegisteredBlockStorage) Descriptor ¶
func (*Image_RegisteredBlockStorage) Descriptor() ([]byte, []int)
func (*Image_RegisteredBlockStorage) GetBlockStorageName ¶
func (m *Image_RegisteredBlockStorage) GetBlockStorageName() string
func (*Image_RegisteredBlockStorage) GetRegisteredAt ¶
func (m *Image_RegisteredBlockStorage) GetRegisteredAt() *timestamp.Timestamp
func (*Image_RegisteredBlockStorage) ProtoMessage ¶
func (*Image_RegisteredBlockStorage) ProtoMessage()
func (*Image_RegisteredBlockStorage) Reset ¶
func (m *Image_RegisteredBlockStorage) Reset()
func (*Image_RegisteredBlockStorage) String ¶
func (m *Image_RegisteredBlockStorage) String() string
func (*Image_RegisteredBlockStorage) XXX_DiscardUnknown ¶
func (m *Image_RegisteredBlockStorage) XXX_DiscardUnknown()
func (*Image_RegisteredBlockStorage) XXX_Marshal ¶
func (m *Image_RegisteredBlockStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Image_RegisteredBlockStorage) XXX_Merge ¶
func (m *Image_RegisteredBlockStorage) XXX_Merge(src proto.Message)
func (*Image_RegisteredBlockStorage) XXX_Size ¶
func (m *Image_RegisteredBlockStorage) XXX_Size() int
func (*Image_RegisteredBlockStorage) XXX_Unmarshal ¶
func (m *Image_RegisteredBlockStorage) XXX_Unmarshal(b []byte) error
type ListImagesRequest ¶
type ListImagesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListImagesRequest) Descriptor ¶
func (*ListImagesRequest) Descriptor() ([]byte, []int)
func (*ListImagesRequest) ProtoMessage ¶
func (*ListImagesRequest) ProtoMessage()
func (*ListImagesRequest) Reset ¶
func (m *ListImagesRequest) Reset()
func (*ListImagesRequest) String ¶
func (m *ListImagesRequest) String() string
func (*ListImagesRequest) XXX_DiscardUnknown ¶
func (m *ListImagesRequest) XXX_DiscardUnknown()
func (*ListImagesRequest) XXX_Marshal ¶
func (m *ListImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListImagesRequest) XXX_Merge ¶
func (m *ListImagesRequest) XXX_Merge(src proto.Message)
func (*ListImagesRequest) XXX_Size ¶
func (m *ListImagesRequest) XXX_Size() int
func (*ListImagesRequest) XXX_Unmarshal ¶
func (m *ListImagesRequest) XXX_Unmarshal(b []byte) error
type ListImagesResponse ¶
type ListImagesResponse struct { Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListImagesResponse) Descriptor ¶
func (*ListImagesResponse) Descriptor() ([]byte, []int)
func (*ListImagesResponse) GetImages ¶
func (m *ListImagesResponse) GetImages() []*Image
func (*ListImagesResponse) ProtoMessage ¶
func (*ListImagesResponse) ProtoMessage()
func (*ListImagesResponse) Reset ¶
func (m *ListImagesResponse) Reset()
func (*ListImagesResponse) String ¶
func (m *ListImagesResponse) String() string
func (*ListImagesResponse) XXX_DiscardUnknown ¶
func (m *ListImagesResponse) XXX_DiscardUnknown()
func (*ListImagesResponse) XXX_Marshal ¶
func (m *ListImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListImagesResponse) XXX_Merge ¶
func (m *ListImagesResponse) XXX_Merge(src proto.Message)
func (*ListImagesResponse) XXX_Size ¶
func (m *ListImagesResponse) XXX_Size() int
func (*ListImagesResponse) XXX_Unmarshal ¶
func (m *ListImagesResponse) XXX_Unmarshal(b []byte) error
type RegisterBlockStorageRequest ¶
type RegisterBlockStorageRequest struct { ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` BlockStorageName string `protobuf:"bytes,2,opt,name=block_storage_name,json=blockStorageName,proto3" json:"block_storage_name,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterBlockStorageRequest) Descriptor ¶
func (*RegisterBlockStorageRequest) Descriptor() ([]byte, []int)
func (*RegisterBlockStorageRequest) GetBlockStorageName ¶
func (m *RegisterBlockStorageRequest) GetBlockStorageName() string
func (*RegisterBlockStorageRequest) GetImageName ¶
func (m *RegisterBlockStorageRequest) GetImageName() string
func (*RegisterBlockStorageRequest) GetTags ¶
func (m *RegisterBlockStorageRequest) GetTags() []string
func (*RegisterBlockStorageRequest) ProtoMessage ¶
func (*RegisterBlockStorageRequest) ProtoMessage()
func (*RegisterBlockStorageRequest) Reset ¶
func (m *RegisterBlockStorageRequest) Reset()
func (*RegisterBlockStorageRequest) String ¶
func (m *RegisterBlockStorageRequest) String() string
func (*RegisterBlockStorageRequest) XXX_DiscardUnknown ¶
func (m *RegisterBlockStorageRequest) XXX_DiscardUnknown()
func (*RegisterBlockStorageRequest) XXX_Marshal ¶
func (m *RegisterBlockStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterBlockStorageRequest) XXX_Merge ¶
func (m *RegisterBlockStorageRequest) XXX_Merge(src proto.Message)
func (*RegisterBlockStorageRequest) XXX_Size ¶
func (m *RegisterBlockStorageRequest) XXX_Size() int
func (*RegisterBlockStorageRequest) XXX_Unmarshal ¶
func (m *RegisterBlockStorageRequest) XXX_Unmarshal(b []byte) error
type TagImageRequest ¶
type TagImageRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` RegisteredBlockStorageName string `` /* 143-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagImageRequest) Descriptor ¶
func (*TagImageRequest) Descriptor() ([]byte, []int)
func (*TagImageRequest) GetName ¶
func (m *TagImageRequest) GetName() string
func (*TagImageRequest) GetRegisteredBlockStorageName ¶
func (m *TagImageRequest) GetRegisteredBlockStorageName() string
func (*TagImageRequest) GetTag ¶
func (m *TagImageRequest) GetTag() string
func (*TagImageRequest) ProtoMessage ¶
func (*TagImageRequest) ProtoMessage()
func (*TagImageRequest) Reset ¶
func (m *TagImageRequest) Reset()
func (*TagImageRequest) String ¶
func (m *TagImageRequest) String() string
func (*TagImageRequest) XXX_DiscardUnknown ¶
func (m *TagImageRequest) XXX_DiscardUnknown()
func (*TagImageRequest) XXX_Marshal ¶
func (m *TagImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TagImageRequest) XXX_Merge ¶
func (m *TagImageRequest) XXX_Merge(src proto.Message)
func (*TagImageRequest) XXX_Size ¶
func (m *TagImageRequest) XXX_Size() int
func (*TagImageRequest) XXX_Unmarshal ¶
func (m *TagImageRequest) XXX_Unmarshal(b []byte) error
type UnimplementedImageServiceServer ¶
type UnimplementedImageServiceServer struct { }
UnimplementedImageServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedImageServiceServer) ApplyImage ¶
func (*UnimplementedImageServiceServer) ApplyImage(ctx context.Context, req *ApplyImageRequest) (*Image, error)
func (*UnimplementedImageServiceServer) DeleteImage ¶
func (*UnimplementedImageServiceServer) DeleteImage(ctx context.Context, req *DeleteImageRequest) (*empty.Empty, error)
func (*UnimplementedImageServiceServer) GenerateBlockStorage ¶
func (*UnimplementedImageServiceServer) GenerateBlockStorage(ctx context.Context, req *GenerateBlockStorageRequest) (*v0.BlockStorage, error)
func (*UnimplementedImageServiceServer) GetImage ¶
func (*UnimplementedImageServiceServer) GetImage(ctx context.Context, req *GetImageRequest) (*Image, error)
func (*UnimplementedImageServiceServer) ListImages ¶
func (*UnimplementedImageServiceServer) ListImages(ctx context.Context, req *ListImagesRequest) (*ListImagesResponse, error)
func (*UnimplementedImageServiceServer) RegisterBlockStorage ¶
func (*UnimplementedImageServiceServer) RegisterBlockStorage(ctx context.Context, req *RegisterBlockStorageRequest) (*Image, error)
func (*UnimplementedImageServiceServer) TagImage ¶
func (*UnimplementedImageServiceServer) TagImage(ctx context.Context, req *TagImageRequest) (*Image, error)
func (*UnimplementedImageServiceServer) UnregisterBlockStorage ¶
func (*UnimplementedImageServiceServer) UnregisterBlockStorage(ctx context.Context, req *UnregisterBlockStorageRequest) (*Image, error)
func (*UnimplementedImageServiceServer) UntagImage ¶
func (*UnimplementedImageServiceServer) UntagImage(ctx context.Context, req *UntagImageRequest) (*Image, error)
type UnregisterBlockStorageRequest ¶
type UnregisterBlockStorageRequest struct { ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` BlockStorageName string `protobuf:"bytes,2,opt,name=block_storage_name,json=blockStorageName,proto3" json:"block_storage_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnregisterBlockStorageRequest) Descriptor ¶
func (*UnregisterBlockStorageRequest) Descriptor() ([]byte, []int)
func (*UnregisterBlockStorageRequest) GetBlockStorageName ¶
func (m *UnregisterBlockStorageRequest) GetBlockStorageName() string
func (*UnregisterBlockStorageRequest) GetImageName ¶
func (m *UnregisterBlockStorageRequest) GetImageName() string
func (*UnregisterBlockStorageRequest) ProtoMessage ¶
func (*UnregisterBlockStorageRequest) ProtoMessage()
func (*UnregisterBlockStorageRequest) Reset ¶
func (m *UnregisterBlockStorageRequest) Reset()
func (*UnregisterBlockStorageRequest) String ¶
func (m *UnregisterBlockStorageRequest) String() string
func (*UnregisterBlockStorageRequest) XXX_DiscardUnknown ¶
func (m *UnregisterBlockStorageRequest) XXX_DiscardUnknown()
func (*UnregisterBlockStorageRequest) XXX_Marshal ¶
func (m *UnregisterBlockStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnregisterBlockStorageRequest) XXX_Merge ¶
func (m *UnregisterBlockStorageRequest) XXX_Merge(src proto.Message)
func (*UnregisterBlockStorageRequest) XXX_Size ¶
func (m *UnregisterBlockStorageRequest) XXX_Size() int
func (*UnregisterBlockStorageRequest) XXX_Unmarshal ¶
func (m *UnregisterBlockStorageRequest) XXX_Unmarshal(b []byte) error
type UntagImageRequest ¶
type UntagImageRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UntagImageRequest) Descriptor ¶
func (*UntagImageRequest) Descriptor() ([]byte, []int)
func (*UntagImageRequest) GetName ¶
func (m *UntagImageRequest) GetName() string
func (*UntagImageRequest) GetTag ¶
func (m *UntagImageRequest) GetTag() string
func (*UntagImageRequest) ProtoMessage ¶
func (*UntagImageRequest) ProtoMessage()
func (*UntagImageRequest) Reset ¶
func (m *UntagImageRequest) Reset()
func (*UntagImageRequest) String ¶
func (m *UntagImageRequest) String() string
func (*UntagImageRequest) XXX_DiscardUnknown ¶
func (m *UntagImageRequest) XXX_DiscardUnknown()
func (*UntagImageRequest) XXX_Marshal ¶
func (m *UntagImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UntagImageRequest) XXX_Merge ¶
func (m *UntagImageRequest) XXX_Merge(src proto.Message)
func (*UntagImageRequest) XXX_Size ¶
func (m *UntagImageRequest) XXX_Size() int
func (*UntagImageRequest) XXX_Unmarshal ¶
func (m *UntagImageRequest) XXX_Unmarshal(b []byte) error