Documentation
¶
Overview ¶
Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: proto/nerdbox/services/bundle/v1/bundle.proto
Package bundle is used to setup a bundle directory for creating a container.
Index ¶
- Variables
- func RegisterTTRPCBundleService(srv *ttrpc.Server, svc TTRPCBundleService)
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetFiles() map[string][]byte
- func (x *CreateRequest) GetID() string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- type TTRPCBundleService
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_nerdbox_services_bundle_v1_bundle_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTTRPCBundleService ¶
func RegisterTTRPCBundleService(srv *ttrpc.Server, svc TTRPCBundleService)
Types ¶
type CreateRequest ¶
type CreateRequest struct {
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Files map[string][]byte `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetFiles ¶
func (x *CreateRequest) GetFiles() map[string][]byte
func (*CreateRequest) GetID ¶
func (x *CreateRequest) GetID() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct {
Bundle string `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"`
// contains filtered or unexported fields
}
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetBundle ¶
func (x *CreateResponse) GetBundle() string
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type TTRPCBundleService ¶
type TTRPCBundleService interface {
Create(context.Context, *CreateRequest) (*CreateResponse, error)
}
func NewTTRPCBundleClient ¶
func NewTTRPCBundleClient(client *ttrpc.Client) TTRPCBundleService
Click to show internal directories.
Click to hide internal directories.