Documentation ¶
Index ¶
- Variables
- func RegisterConsumerServer(s grpc.ServiceRegistrar, srv ConsumerServer)
- func RegisterPublisherServer(s grpc.ServiceRegistrar, srv PublisherServer)
- type BeginVersionRequest
- func (*BeginVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BeginVersionRequest) GetModule() *Module
- func (*BeginVersionRequest) ProtoMessage()
- func (x *BeginVersionRequest) ProtoReflect() protoreflect.Message
- func (x *BeginVersionRequest) Reset()
- func (x *BeginVersionRequest) String() string
- type ConsumerClient
- type ConsumerServer
- type Consumer_DownloadSourceZipClient
- type Consumer_DownloadSourceZipServer
- type Consumer_RetrieveContainerDependenciesClient
- type Consumer_RetrieveContainerDependenciesServer
- type Consumer_RetrieveContainerDependenciesV2Client
- type Consumer_RetrieveContainerDependenciesV2Server
- type Consumer_RetrieveModuleDependenciesClient
- type Consumer_RetrieveModuleDependenciesServer
- type ContainerDependenciesResponse
- func (*ContainerDependenciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerDependenciesResponse) GetDependencies() []string
- func (x *ContainerDependenciesResponse) GetModule() *Module
- func (*ContainerDependenciesResponse) ProtoMessage()
- func (x *ContainerDependenciesResponse) ProtoReflect() protoreflect.Message
- func (x *ContainerDependenciesResponse) Reset()
- func (x *ContainerDependenciesResponse) String() string
- type ContainerDependenciesResponseV2
- func (*ContainerDependenciesResponseV2) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerDependenciesResponseV2) GetDependencies() map[string]*ContainerImageDetails
- func (x *ContainerDependenciesResponseV2) GetModule() *Module
- func (*ContainerDependenciesResponseV2) ProtoMessage()
- func (x *ContainerDependenciesResponseV2) ProtoReflect() protoreflect.Message
- func (x *ContainerDependenciesResponseV2) Reset()
- func (x *ContainerDependenciesResponseV2) String() string
- type ContainerImageDetails
- func (*ContainerImageDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerImageDetails) GetImages() []*ContainerImageRef
- func (x *ContainerImageDetails) GetNamespace() string
- func (x *ContainerImageDetails) GetTag() string
- func (*ContainerImageDetails) ProtoMessage()
- func (x *ContainerImageDetails) ProtoReflect() protoreflect.Message
- func (x *ContainerImageDetails) Reset()
- func (x *ContainerImageDetails) String() string
- type ContainerImageRef
- func (*ContainerImageRef) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerImageRef) GetArch() string
- func (x *ContainerImageRef) GetImage() string
- func (*ContainerImageRef) ProtoMessage()
- func (x *ContainerImageRef) ProtoReflect() protoreflect.Message
- func (x *ContainerImageRef) Reset()
- func (x *ContainerImageRef) String() string
- type DownloadSourceZipRequest
- func (*DownloadSourceZipRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadSourceZipRequest) GetModule() *Module
- func (*DownloadSourceZipRequest) ProtoMessage()
- func (x *DownloadSourceZipRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadSourceZipRequest) Reset()
- func (x *DownloadSourceZipRequest) String() string
- type EndVersionRequest
- func (*EndVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EndVersionRequest) GetAction() EndVersionRequest_Action
- func (x *EndVersionRequest) GetModule() *Module
- func (*EndVersionRequest) ProtoMessage()
- func (x *EndVersionRequest) ProtoReflect() protoreflect.Message
- func (x *EndVersionRequest) Reset()
- func (x *EndVersionRequest) String() string
- type EndVersionRequest_Action
- func (EndVersionRequest_Action) Descriptor() protoreflect.EnumDescriptor
- func (x EndVersionRequest_Action) Enum() *EndVersionRequest_Action
- func (EndVersionRequest_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x EndVersionRequest_Action) Number() protoreflect.EnumNumber
- func (x EndVersionRequest_Action) String() string
- func (EndVersionRequest_Action) Type() protoreflect.EnumType
- type Maturity
- type Module
- type ModuleDependenciesResponse
- func (*ModuleDependenciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleDependenciesResponse) GetDependencies() []*Module
- func (x *ModuleDependenciesResponse) GetModule() *Module
- func (*ModuleDependenciesResponse) ProtoMessage()
- func (x *ModuleDependenciesResponse) ProtoReflect() protoreflect.Message
- func (x *ModuleDependenciesResponse) Reset()
- func (x *ModuleDependenciesResponse) String() string
- type PublisherClient
- type PublisherServer
- type Publisher_UploadSourceZipClient
- type Publisher_UploadSourceZipServer
- type RegisterContainerDependenciesRequest
- func (*RegisterContainerDependenciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterContainerDependenciesRequest) GetImages() map[string]*ContainerImageDetails
- func (x *RegisterContainerDependenciesRequest) GetModule() *Module
- func (*RegisterContainerDependenciesRequest) ProtoMessage()
- func (x *RegisterContainerDependenciesRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterContainerDependenciesRequest) Reset()
- func (x *RegisterContainerDependenciesRequest) String() string
- type RegisterModuleDependenciesRequest
- func (*RegisterModuleDependenciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterModuleDependenciesRequest) GetDependencies() []*Module
- func (x *RegisterModuleDependenciesRequest) GetModule() *Module
- func (*RegisterModuleDependenciesRequest) ProtoMessage()
- func (x *RegisterModuleDependenciesRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterModuleDependenciesRequest) Reset()
- func (x *RegisterModuleDependenciesRequest) String() string
- type RegisterModuleRequest
- func (*RegisterModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterModuleRequest) GetApiKey() string
- func (x *RegisterModuleRequest) GetDescription() string
- func (x *RegisterModuleRequest) GetMaturity() Maturity
- func (x *RegisterModuleRequest) GetName() string
- func (x *RegisterModuleRequest) GetSource() string
- func (*RegisterModuleRequest) ProtoMessage()
- func (x *RegisterModuleRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterModuleRequest) Reset()
- func (x *RegisterModuleRequest) String() string
- type Response
- type RetrieveContainerDependenciesRequest
- func (*RetrieveContainerDependenciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RetrieveContainerDependenciesRequest) GetModule() *Module
- func (x *RetrieveContainerDependenciesRequest) GetRecursive() bool
- func (*RetrieveContainerDependenciesRequest) ProtoMessage()
- func (x *RetrieveContainerDependenciesRequest) ProtoReflect() protoreflect.Message
- func (x *RetrieveContainerDependenciesRequest) Reset()
- func (x *RetrieveContainerDependenciesRequest) String() string
- type RetrieveContainerDependenciesRequestV2
- func (*RetrieveContainerDependenciesRequestV2) Descriptor() ([]byte, []int)deprecated
- func (x *RetrieveContainerDependenciesRequestV2) GetModule() *Module
- func (*RetrieveContainerDependenciesRequestV2) ProtoMessage()
- func (x *RetrieveContainerDependenciesRequestV2) ProtoReflect() protoreflect.Message
- func (x *RetrieveContainerDependenciesRequestV2) Reset()
- func (x *RetrieveContainerDependenciesRequestV2) String() string
- type RetrieveModuleDependenciesRequest
- func (*RetrieveModuleDependenciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RetrieveModuleDependenciesRequest) GetModule() *Module
- func (x *RetrieveModuleDependenciesRequest) GetRecursive() bool
- func (*RetrieveModuleDependenciesRequest) ProtoMessage()
- func (x *RetrieveModuleDependenciesRequest) ProtoReflect() protoreflect.Message
- func (x *RetrieveModuleDependenciesRequest) Reset()
- func (x *RetrieveModuleDependenciesRequest) String() string
- type SourceZipResponse
- func (*SourceZipResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SourceZipResponse) GetZipDataChunk() []byte
- func (*SourceZipResponse) ProtoMessage()
- func (x *SourceZipResponse) ProtoReflect() protoreflect.Message
- func (x *SourceZipResponse) Reset()
- func (x *SourceZipResponse) String() string
- type UnimplementedConsumerServer
- func (UnimplementedConsumerServer) DownloadSourceZip(*DownloadSourceZipRequest, Consumer_DownloadSourceZipServer) error
- func (UnimplementedConsumerServer) RetrieveContainerDependencies(*RetrieveContainerDependenciesRequest, ...) error
- func (UnimplementedConsumerServer) RetrieveContainerDependenciesV2(*RetrieveContainerDependenciesRequestV2, ...) error
- func (UnimplementedConsumerServer) RetrieveModuleDependencies(*RetrieveModuleDependenciesRequest, Consumer_RetrieveModuleDependenciesServer) error
- type UnimplementedPublisherServer
- func (UnimplementedPublisherServer) BeginVersion(context.Context, *BeginVersionRequest) (*Response, error)
- func (UnimplementedPublisherServer) EndVersion(context.Context, *EndVersionRequest) (*Response, error)
- func (UnimplementedPublisherServer) Register(context.Context, *RegisterModuleRequest) (*Response, error)
- func (UnimplementedPublisherServer) RegisterContainerDependencies(context.Context, *RegisterContainerDependenciesRequest) (*Response, error)
- func (UnimplementedPublisherServer) RegisterModuleDependencies(context.Context, *RegisterModuleDependenciesRequest) (*Response, error)
- func (UnimplementedPublisherServer) UploadSourceZip(Publisher_UploadSourceZipServer) error
- type UnsafeConsumerServer
- type UnsafePublisherServer
- type UploadSourceZipRequest
- func (*UploadSourceZipRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadSourceZipRequest) GetModule() *Module
- func (x *UploadSourceZipRequest) GetZipDataChunk() []byte
- func (*UploadSourceZipRequest) ProtoMessage()
- func (x *UploadSourceZipRequest) ProtoReflect() protoreflect.Message
- func (x *UploadSourceZipRequest) Reset()
- func (x *UploadSourceZipRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Maturity_name = map[int32]string{ 0: "IDEA", 1: "PLANNING", 2: "DEVELOPING", 3: "ALPHA", 4: "BETA", 5: "STABLE", 6: "DEPRECATED", 7: "END_OF_LIFE", } Maturity_value = map[string]int32{ "IDEA": 0, "PLANNING": 1, "DEVELOPING": 2, "ALPHA": 3, "BETA": 4, "STABLE": 5, "DEPRECATED": 6, "END_OF_LIFE": 7, } )
Enum value maps for Maturity.
var ( EndVersionRequest_Action_name = map[int32]string{ 0: "DISCARD", 1: "PUBLISH", } EndVersionRequest_Action_value = map[string]int32{ "DISCARD": 0, "PUBLISH": 1, } )
Enum value maps for EndVersionRequest_Action.
var Consumer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "terrarium.module.Consumer", HandlerType: (*ConsumerServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "DownloadSourceZip", Handler: _Consumer_DownloadSourceZip_Handler, ServerStreams: true, }, { StreamName: "RetrieveContainerDependencies", Handler: _Consumer_RetrieveContainerDependencies_Handler, ServerStreams: true, }, { StreamName: "RetrieveModuleDependencies", Handler: _Consumer_RetrieveModuleDependencies_Handler, ServerStreams: true, }, { StreamName: "RetrieveContainerDependenciesV2", Handler: _Consumer_RetrieveContainerDependenciesV2_Handler, ServerStreams: true, }, }, Metadata: "pb/terrarium/module/module.proto", }
Consumer_ServiceDesc is the grpc.ServiceDesc for Consumer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_pb_terrarium_module_module_proto protoreflect.FileDescriptor
var Publisher_ServiceDesc = grpc.ServiceDesc{ ServiceName: "terrarium.module.Publisher", HandlerType: (*PublisherServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _Publisher_Register_Handler, }, { MethodName: "BeginVersion", Handler: _Publisher_BeginVersion_Handler, }, { MethodName: "RegisterModuleDependencies", Handler: _Publisher_RegisterModuleDependencies_Handler, }, { MethodName: "RegisterContainerDependencies", Handler: _Publisher_RegisterContainerDependencies_Handler, }, { MethodName: "EndVersion", Handler: _Publisher_EndVersion_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "UploadSourceZip", Handler: _Publisher_UploadSourceZip_Handler, ClientStreams: true, }, }, Metadata: "pb/terrarium/module/module.proto", }
Publisher_ServiceDesc is the grpc.ServiceDesc for Publisher service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterConsumerServer ¶
func RegisterConsumerServer(s grpc.ServiceRegistrar, srv ConsumerServer)
func RegisterPublisherServer ¶
func RegisterPublisherServer(s grpc.ServiceRegistrar, srv PublisherServer)
Types ¶
type BeginVersionRequest ¶
type BeginVersionRequest struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // contains filtered or unexported fields }
func (*BeginVersionRequest) Descriptor
deprecated
func (*BeginVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use BeginVersionRequest.ProtoReflect.Descriptor instead.
func (*BeginVersionRequest) GetModule ¶
func (x *BeginVersionRequest) GetModule() *Module
func (*BeginVersionRequest) ProtoMessage ¶
func (*BeginVersionRequest) ProtoMessage()
func (*BeginVersionRequest) ProtoReflect ¶
func (x *BeginVersionRequest) ProtoReflect() protoreflect.Message
func (*BeginVersionRequest) Reset ¶
func (x *BeginVersionRequest) Reset()
func (*BeginVersionRequest) String ¶
func (x *BeginVersionRequest) String() string
type ConsumerClient ¶
type ConsumerClient interface { DownloadSourceZip(ctx context.Context, in *DownloadSourceZipRequest, opts ...grpc.CallOption) (Consumer_DownloadSourceZipClient, error) RetrieveContainerDependencies(ctx context.Context, in *RetrieveContainerDependenciesRequest, opts ...grpc.CallOption) (Consumer_RetrieveContainerDependenciesClient, error) RetrieveModuleDependencies(ctx context.Context, in *RetrieveModuleDependenciesRequest, opts ...grpc.CallOption) (Consumer_RetrieveModuleDependenciesClient, error) RetrieveContainerDependenciesV2(ctx context.Context, in *RetrieveContainerDependenciesRequestV2, opts ...grpc.CallOption) (Consumer_RetrieveContainerDependenciesV2Client, error) }
ConsumerClient is the client API for Consumer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewConsumerClient ¶
func NewConsumerClient(cc grpc.ClientConnInterface) ConsumerClient
type ConsumerServer ¶
type ConsumerServer interface { DownloadSourceZip(*DownloadSourceZipRequest, Consumer_DownloadSourceZipServer) error RetrieveContainerDependencies(*RetrieveContainerDependenciesRequest, Consumer_RetrieveContainerDependenciesServer) error RetrieveModuleDependencies(*RetrieveModuleDependenciesRequest, Consumer_RetrieveModuleDependenciesServer) error RetrieveContainerDependenciesV2(*RetrieveContainerDependenciesRequestV2, Consumer_RetrieveContainerDependenciesV2Server) error // contains filtered or unexported methods }
ConsumerServer is the server API for Consumer service. All implementations must embed UnimplementedConsumerServer for forward compatibility
type Consumer_DownloadSourceZipClient ¶
type Consumer_DownloadSourceZipClient interface { Recv() (*SourceZipResponse, error) grpc.ClientStream }
type Consumer_DownloadSourceZipServer ¶
type Consumer_DownloadSourceZipServer interface { Send(*SourceZipResponse) error grpc.ServerStream }
type Consumer_RetrieveContainerDependenciesClient ¶
type Consumer_RetrieveContainerDependenciesClient interface { Recv() (*ContainerDependenciesResponse, error) grpc.ClientStream }
type Consumer_RetrieveContainerDependenciesServer ¶
type Consumer_RetrieveContainerDependenciesServer interface { Send(*ContainerDependenciesResponse) error grpc.ServerStream }
type Consumer_RetrieveContainerDependenciesV2Client ¶
type Consumer_RetrieveContainerDependenciesV2Client interface { Recv() (*ContainerDependenciesResponseV2, error) grpc.ClientStream }
type Consumer_RetrieveContainerDependenciesV2Server ¶
type Consumer_RetrieveContainerDependenciesV2Server interface { Send(*ContainerDependenciesResponseV2) error grpc.ServerStream }
type Consumer_RetrieveModuleDependenciesClient ¶
type Consumer_RetrieveModuleDependenciesClient interface { Recv() (*ModuleDependenciesResponse, error) grpc.ClientStream }
type Consumer_RetrieveModuleDependenciesServer ¶
type Consumer_RetrieveModuleDependenciesServer interface { Send(*ModuleDependenciesResponse) error grpc.ServerStream }
type ContainerDependenciesResponse ¶
type ContainerDependenciesResponse struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Dependencies []string `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
func (*ContainerDependenciesResponse) Descriptor
deprecated
func (*ContainerDependenciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContainerDependenciesResponse.ProtoReflect.Descriptor instead.
func (*ContainerDependenciesResponse) GetDependencies ¶
func (x *ContainerDependenciesResponse) GetDependencies() []string
func (*ContainerDependenciesResponse) GetModule ¶
func (x *ContainerDependenciesResponse) GetModule() *Module
func (*ContainerDependenciesResponse) ProtoMessage ¶
func (*ContainerDependenciesResponse) ProtoMessage()
func (*ContainerDependenciesResponse) ProtoReflect ¶
func (x *ContainerDependenciesResponse) ProtoReflect() protoreflect.Message
func (*ContainerDependenciesResponse) Reset ¶
func (x *ContainerDependenciesResponse) Reset()
func (*ContainerDependenciesResponse) String ¶
func (x *ContainerDependenciesResponse) String() string
type ContainerDependenciesResponseV2 ¶
type ContainerDependenciesResponseV2 struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Dependencies map[string]*ContainerImageDetails `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ContainerDependenciesResponseV2) Descriptor
deprecated
func (*ContainerDependenciesResponseV2) Descriptor() ([]byte, []int)
Deprecated: Use ContainerDependenciesResponseV2.ProtoReflect.Descriptor instead.
func (*ContainerDependenciesResponseV2) GetDependencies ¶
func (x *ContainerDependenciesResponseV2) GetDependencies() map[string]*ContainerImageDetails
func (*ContainerDependenciesResponseV2) GetModule ¶
func (x *ContainerDependenciesResponseV2) GetModule() *Module
func (*ContainerDependenciesResponseV2) ProtoMessage ¶
func (*ContainerDependenciesResponseV2) ProtoMessage()
func (*ContainerDependenciesResponseV2) ProtoReflect ¶
func (x *ContainerDependenciesResponseV2) ProtoReflect() protoreflect.Message
func (*ContainerDependenciesResponseV2) Reset ¶
func (x *ContainerDependenciesResponseV2) Reset()
func (*ContainerDependenciesResponseV2) String ¶
func (x *ContainerDependenciesResponseV2) String() string
type ContainerImageDetails ¶
type ContainerImageDetails struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Images []*ContainerImageRef `protobuf:"bytes,3,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
func (*ContainerImageDetails) Descriptor
deprecated
func (*ContainerImageDetails) Descriptor() ([]byte, []int)
Deprecated: Use ContainerImageDetails.ProtoReflect.Descriptor instead.
func (*ContainerImageDetails) GetImages ¶
func (x *ContainerImageDetails) GetImages() []*ContainerImageRef
func (*ContainerImageDetails) GetNamespace ¶
func (x *ContainerImageDetails) GetNamespace() string
func (*ContainerImageDetails) GetTag ¶
func (x *ContainerImageDetails) GetTag() string
func (*ContainerImageDetails) ProtoMessage ¶
func (*ContainerImageDetails) ProtoMessage()
func (*ContainerImageDetails) ProtoReflect ¶
func (x *ContainerImageDetails) ProtoReflect() protoreflect.Message
func (*ContainerImageDetails) Reset ¶
func (x *ContainerImageDetails) Reset()
func (*ContainerImageDetails) String ¶
func (x *ContainerImageDetails) String() string
type ContainerImageRef ¶
type ContainerImageRef struct { Arch string `protobuf:"bytes,1,opt,name=arch,proto3" json:"arch,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*ContainerImageRef) Descriptor
deprecated
func (*ContainerImageRef) Descriptor() ([]byte, []int)
Deprecated: Use ContainerImageRef.ProtoReflect.Descriptor instead.
func (*ContainerImageRef) GetArch ¶
func (x *ContainerImageRef) GetArch() string
func (*ContainerImageRef) GetImage ¶
func (x *ContainerImageRef) GetImage() string
func (*ContainerImageRef) ProtoMessage ¶
func (*ContainerImageRef) ProtoMessage()
func (*ContainerImageRef) ProtoReflect ¶
func (x *ContainerImageRef) ProtoReflect() protoreflect.Message
func (*ContainerImageRef) Reset ¶
func (x *ContainerImageRef) Reset()
func (*ContainerImageRef) String ¶
func (x *ContainerImageRef) String() string
type DownloadSourceZipRequest ¶
type DownloadSourceZipRequest struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // contains filtered or unexported fields }
func (*DownloadSourceZipRequest) Descriptor
deprecated
func (*DownloadSourceZipRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadSourceZipRequest.ProtoReflect.Descriptor instead.
func (*DownloadSourceZipRequest) GetModule ¶
func (x *DownloadSourceZipRequest) GetModule() *Module
func (*DownloadSourceZipRequest) ProtoMessage ¶
func (*DownloadSourceZipRequest) ProtoMessage()
func (*DownloadSourceZipRequest) ProtoReflect ¶
func (x *DownloadSourceZipRequest) ProtoReflect() protoreflect.Message
func (*DownloadSourceZipRequest) Reset ¶
func (x *DownloadSourceZipRequest) Reset()
func (*DownloadSourceZipRequest) String ¶
func (x *DownloadSourceZipRequest) String() string
type EndVersionRequest ¶
type EndVersionRequest struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Action EndVersionRequest_Action `protobuf:"varint,2,opt,name=action,proto3,enum=terrarium.module.EndVersionRequest_Action" json:"action,omitempty"` // contains filtered or unexported fields }
func (*EndVersionRequest) Descriptor
deprecated
func (*EndVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use EndVersionRequest.ProtoReflect.Descriptor instead.
func (*EndVersionRequest) GetAction ¶
func (x *EndVersionRequest) GetAction() EndVersionRequest_Action
func (*EndVersionRequest) GetModule ¶
func (x *EndVersionRequest) GetModule() *Module
func (*EndVersionRequest) ProtoMessage ¶
func (*EndVersionRequest) ProtoMessage()
func (*EndVersionRequest) ProtoReflect ¶
func (x *EndVersionRequest) ProtoReflect() protoreflect.Message
func (*EndVersionRequest) Reset ¶
func (x *EndVersionRequest) Reset()
func (*EndVersionRequest) String ¶
func (x *EndVersionRequest) String() string
type EndVersionRequest_Action ¶
type EndVersionRequest_Action int32
const ( EndVersionRequest_DISCARD EndVersionRequest_Action = 0 EndVersionRequest_PUBLISH EndVersionRequest_Action = 1 )
func (EndVersionRequest_Action) Descriptor ¶
func (EndVersionRequest_Action) Descriptor() protoreflect.EnumDescriptor
func (EndVersionRequest_Action) Enum ¶
func (x EndVersionRequest_Action) Enum() *EndVersionRequest_Action
func (EndVersionRequest_Action) EnumDescriptor
deprecated
func (EndVersionRequest_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use EndVersionRequest_Action.Descriptor instead.
func (EndVersionRequest_Action) Number ¶
func (x EndVersionRequest_Action) Number() protoreflect.EnumNumber
func (EndVersionRequest_Action) String ¶
func (x EndVersionRequest_Action) String() string
func (EndVersionRequest_Action) Type ¶
func (EndVersionRequest_Action) Type() protoreflect.EnumType
type Maturity ¶
type Maturity int32
func (Maturity) Descriptor ¶
func (Maturity) Descriptor() protoreflect.EnumDescriptor
func (Maturity) EnumDescriptor
deprecated
func (Maturity) Number ¶
func (x Maturity) Number() protoreflect.EnumNumber
func (Maturity) Type ¶
func (Maturity) Type() protoreflect.EnumType
type Module ¶
type Module 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"` // contains filtered or unexported fields }
func (*Module) Descriptor
deprecated
func (*Module) GetVersion ¶
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type ModuleDependenciesResponse ¶
type ModuleDependenciesResponse struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Dependencies []*Module `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
func (*ModuleDependenciesResponse) Descriptor
deprecated
func (*ModuleDependenciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModuleDependenciesResponse.ProtoReflect.Descriptor instead.
func (*ModuleDependenciesResponse) GetDependencies ¶
func (x *ModuleDependenciesResponse) GetDependencies() []*Module
func (*ModuleDependenciesResponse) GetModule ¶
func (x *ModuleDependenciesResponse) GetModule() *Module
func (*ModuleDependenciesResponse) ProtoMessage ¶
func (*ModuleDependenciesResponse) ProtoMessage()
func (*ModuleDependenciesResponse) ProtoReflect ¶
func (x *ModuleDependenciesResponse) ProtoReflect() protoreflect.Message
func (*ModuleDependenciesResponse) Reset ¶
func (x *ModuleDependenciesResponse) Reset()
func (*ModuleDependenciesResponse) String ¶
func (x *ModuleDependenciesResponse) String() string
type PublisherClient ¶
type PublisherClient interface { Register(ctx context.Context, in *RegisterModuleRequest, opts ...grpc.CallOption) (*Response, error) BeginVersion(ctx context.Context, in *BeginVersionRequest, opts ...grpc.CallOption) (*Response, error) RegisterModuleDependencies(ctx context.Context, in *RegisterModuleDependenciesRequest, opts ...grpc.CallOption) (*Response, error) RegisterContainerDependencies(ctx context.Context, in *RegisterContainerDependenciesRequest, opts ...grpc.CallOption) (*Response, error) // Register Audit Trail UploadSourceZip(ctx context.Context, opts ...grpc.CallOption) (Publisher_UploadSourceZipClient, error) // Upload Documentation EndVersion(ctx context.Context, in *EndVersionRequest, opts ...grpc.CallOption) (*Response, error) }
PublisherClient is the client API for Publisher service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPublisherClient ¶
func NewPublisherClient(cc grpc.ClientConnInterface) PublisherClient
type PublisherServer ¶
type PublisherServer interface { Register(context.Context, *RegisterModuleRequest) (*Response, error) BeginVersion(context.Context, *BeginVersionRequest) (*Response, error) RegisterModuleDependencies(context.Context, *RegisterModuleDependenciesRequest) (*Response, error) RegisterContainerDependencies(context.Context, *RegisterContainerDependenciesRequest) (*Response, error) // Register Audit Trail UploadSourceZip(Publisher_UploadSourceZipServer) error // Upload Documentation EndVersion(context.Context, *EndVersionRequest) (*Response, error) // contains filtered or unexported methods }
PublisherServer is the server API for Publisher service. All implementations must embed UnimplementedPublisherServer for forward compatibility
type Publisher_UploadSourceZipClient ¶
type Publisher_UploadSourceZipClient interface { Send(*UploadSourceZipRequest) error CloseAndRecv() (*Response, error) grpc.ClientStream }
type Publisher_UploadSourceZipServer ¶
type Publisher_UploadSourceZipServer interface { SendAndClose(*Response) error Recv() (*UploadSourceZipRequest, error) grpc.ServerStream }
type RegisterContainerDependenciesRequest ¶
type RegisterContainerDependenciesRequest struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Images map[string]*ContainerImageDetails `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RegisterContainerDependenciesRequest) Descriptor
deprecated
func (*RegisterContainerDependenciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterContainerDependenciesRequest.ProtoReflect.Descriptor instead.
func (*RegisterContainerDependenciesRequest) GetImages ¶
func (x *RegisterContainerDependenciesRequest) GetImages() map[string]*ContainerImageDetails
func (*RegisterContainerDependenciesRequest) GetModule ¶
func (x *RegisterContainerDependenciesRequest) GetModule() *Module
func (*RegisterContainerDependenciesRequest) ProtoMessage ¶
func (*RegisterContainerDependenciesRequest) ProtoMessage()
func (*RegisterContainerDependenciesRequest) ProtoReflect ¶
func (x *RegisterContainerDependenciesRequest) ProtoReflect() protoreflect.Message
func (*RegisterContainerDependenciesRequest) Reset ¶
func (x *RegisterContainerDependenciesRequest) Reset()
func (*RegisterContainerDependenciesRequest) String ¶
func (x *RegisterContainerDependenciesRequest) String() string
type RegisterModuleDependenciesRequest ¶
type RegisterModuleDependenciesRequest struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Dependencies []*Module `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
func (*RegisterModuleDependenciesRequest) Descriptor
deprecated
func (*RegisterModuleDependenciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterModuleDependenciesRequest.ProtoReflect.Descriptor instead.
func (*RegisterModuleDependenciesRequest) GetDependencies ¶
func (x *RegisterModuleDependenciesRequest) GetDependencies() []*Module
func (*RegisterModuleDependenciesRequest) GetModule ¶
func (x *RegisterModuleDependenciesRequest) GetModule() *Module
func (*RegisterModuleDependenciesRequest) ProtoMessage ¶
func (*RegisterModuleDependenciesRequest) ProtoMessage()
func (*RegisterModuleDependenciesRequest) ProtoReflect ¶
func (x *RegisterModuleDependenciesRequest) ProtoReflect() protoreflect.Message
func (*RegisterModuleDependenciesRequest) Reset ¶
func (x *RegisterModuleDependenciesRequest) Reset()
func (*RegisterModuleDependenciesRequest) String ¶
func (x *RegisterModuleDependenciesRequest) String() string
type RegisterModuleRequest ¶
type RegisterModuleRequest struct { ApiKey string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` Maturity Maturity `protobuf:"varint,5,opt,name=maturity,proto3,enum=terrarium.module.Maturity" json:"maturity,omitempty"` // contains filtered or unexported fields }
func (*RegisterModuleRequest) Descriptor
deprecated
func (*RegisterModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterModuleRequest.ProtoReflect.Descriptor instead.
func (*RegisterModuleRequest) GetApiKey ¶
func (x *RegisterModuleRequest) GetApiKey() string
func (*RegisterModuleRequest) GetDescription ¶
func (x *RegisterModuleRequest) GetDescription() string
func (*RegisterModuleRequest) GetMaturity ¶
func (x *RegisterModuleRequest) GetMaturity() Maturity
func (*RegisterModuleRequest) GetName ¶
func (x *RegisterModuleRequest) GetName() string
func (*RegisterModuleRequest) GetSource ¶
func (x *RegisterModuleRequest) GetSource() string
func (*RegisterModuleRequest) ProtoMessage ¶
func (*RegisterModuleRequest) ProtoMessage()
func (*RegisterModuleRequest) ProtoReflect ¶
func (x *RegisterModuleRequest) ProtoReflect() protoreflect.Message
func (*RegisterModuleRequest) Reset ¶
func (x *RegisterModuleRequest) Reset()
func (*RegisterModuleRequest) String ¶
func (x *RegisterModuleRequest) String() string
type Response ¶
type Response struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetMessage ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type RetrieveContainerDependenciesRequest ¶
type RetrieveContainerDependenciesRequest struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` // contains filtered or unexported fields }
func (*RetrieveContainerDependenciesRequest) Descriptor
deprecated
func (*RetrieveContainerDependenciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RetrieveContainerDependenciesRequest.ProtoReflect.Descriptor instead.
func (*RetrieveContainerDependenciesRequest) GetModule ¶
func (x *RetrieveContainerDependenciesRequest) GetModule() *Module
func (*RetrieveContainerDependenciesRequest) GetRecursive ¶
func (x *RetrieveContainerDependenciesRequest) GetRecursive() bool
func (*RetrieveContainerDependenciesRequest) ProtoMessage ¶
func (*RetrieveContainerDependenciesRequest) ProtoMessage()
func (*RetrieveContainerDependenciesRequest) ProtoReflect ¶
func (x *RetrieveContainerDependenciesRequest) ProtoReflect() protoreflect.Message
func (*RetrieveContainerDependenciesRequest) Reset ¶
func (x *RetrieveContainerDependenciesRequest) Reset()
func (*RetrieveContainerDependenciesRequest) String ¶
func (x *RetrieveContainerDependenciesRequest) String() string
type RetrieveContainerDependenciesRequestV2 ¶
type RetrieveContainerDependenciesRequestV2 struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // contains filtered or unexported fields }
func (*RetrieveContainerDependenciesRequestV2) Descriptor
deprecated
func (*RetrieveContainerDependenciesRequestV2) Descriptor() ([]byte, []int)
Deprecated: Use RetrieveContainerDependenciesRequestV2.ProtoReflect.Descriptor instead.
func (*RetrieveContainerDependenciesRequestV2) GetModule ¶
func (x *RetrieveContainerDependenciesRequestV2) GetModule() *Module
func (*RetrieveContainerDependenciesRequestV2) ProtoMessage ¶
func (*RetrieveContainerDependenciesRequestV2) ProtoMessage()
func (*RetrieveContainerDependenciesRequestV2) ProtoReflect ¶
func (x *RetrieveContainerDependenciesRequestV2) ProtoReflect() protoreflect.Message
func (*RetrieveContainerDependenciesRequestV2) Reset ¶
func (x *RetrieveContainerDependenciesRequestV2) Reset()
func (*RetrieveContainerDependenciesRequestV2) String ¶
func (x *RetrieveContainerDependenciesRequestV2) String() string
type RetrieveModuleDependenciesRequest ¶
type RetrieveModuleDependenciesRequest struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` // contains filtered or unexported fields }
func (*RetrieveModuleDependenciesRequest) Descriptor
deprecated
func (*RetrieveModuleDependenciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RetrieveModuleDependenciesRequest.ProtoReflect.Descriptor instead.
func (*RetrieveModuleDependenciesRequest) GetModule ¶
func (x *RetrieveModuleDependenciesRequest) GetModule() *Module
func (*RetrieveModuleDependenciesRequest) GetRecursive ¶
func (x *RetrieveModuleDependenciesRequest) GetRecursive() bool
func (*RetrieveModuleDependenciesRequest) ProtoMessage ¶
func (*RetrieveModuleDependenciesRequest) ProtoMessage()
func (*RetrieveModuleDependenciesRequest) ProtoReflect ¶
func (x *RetrieveModuleDependenciesRequest) ProtoReflect() protoreflect.Message
func (*RetrieveModuleDependenciesRequest) Reset ¶
func (x *RetrieveModuleDependenciesRequest) Reset()
func (*RetrieveModuleDependenciesRequest) String ¶
func (x *RetrieveModuleDependenciesRequest) String() string
type SourceZipResponse ¶
type SourceZipResponse struct { ZipDataChunk []byte `protobuf:"bytes,1,opt,name=zip_data_chunk,json=zipDataChunk,proto3" json:"zip_data_chunk,omitempty"` // contains filtered or unexported fields }
func (*SourceZipResponse) Descriptor
deprecated
func (*SourceZipResponse) Descriptor() ([]byte, []int)
Deprecated: Use SourceZipResponse.ProtoReflect.Descriptor instead.
func (*SourceZipResponse) GetZipDataChunk ¶
func (x *SourceZipResponse) GetZipDataChunk() []byte
func (*SourceZipResponse) ProtoMessage ¶
func (*SourceZipResponse) ProtoMessage()
func (*SourceZipResponse) ProtoReflect ¶
func (x *SourceZipResponse) ProtoReflect() protoreflect.Message
func (*SourceZipResponse) Reset ¶
func (x *SourceZipResponse) Reset()
func (*SourceZipResponse) String ¶
func (x *SourceZipResponse) String() string
type UnimplementedConsumerServer ¶
type UnimplementedConsumerServer struct { }
UnimplementedConsumerServer must be embedded to have forward compatible implementations.
func (UnimplementedConsumerServer) DownloadSourceZip ¶
func (UnimplementedConsumerServer) DownloadSourceZip(*DownloadSourceZipRequest, Consumer_DownloadSourceZipServer) error
func (UnimplementedConsumerServer) RetrieveContainerDependencies ¶
func (UnimplementedConsumerServer) RetrieveContainerDependencies(*RetrieveContainerDependenciesRequest, Consumer_RetrieveContainerDependenciesServer) error
func (UnimplementedConsumerServer) RetrieveContainerDependenciesV2 ¶
func (UnimplementedConsumerServer) RetrieveContainerDependenciesV2(*RetrieveContainerDependenciesRequestV2, Consumer_RetrieveContainerDependenciesV2Server) error
func (UnimplementedConsumerServer) RetrieveModuleDependencies ¶
func (UnimplementedConsumerServer) RetrieveModuleDependencies(*RetrieveModuleDependenciesRequest, Consumer_RetrieveModuleDependenciesServer) error
type UnimplementedPublisherServer ¶
type UnimplementedPublisherServer struct { }
UnimplementedPublisherServer must be embedded to have forward compatible implementations.
func (UnimplementedPublisherServer) BeginVersion ¶
func (UnimplementedPublisherServer) BeginVersion(context.Context, *BeginVersionRequest) (*Response, error)
func (UnimplementedPublisherServer) EndVersion ¶
func (UnimplementedPublisherServer) EndVersion(context.Context, *EndVersionRequest) (*Response, error)
func (UnimplementedPublisherServer) Register ¶
func (UnimplementedPublisherServer) Register(context.Context, *RegisterModuleRequest) (*Response, error)
func (UnimplementedPublisherServer) RegisterContainerDependencies ¶
func (UnimplementedPublisherServer) RegisterContainerDependencies(context.Context, *RegisterContainerDependenciesRequest) (*Response, error)
func (UnimplementedPublisherServer) RegisterModuleDependencies ¶
func (UnimplementedPublisherServer) RegisterModuleDependencies(context.Context, *RegisterModuleDependenciesRequest) (*Response, error)
func (UnimplementedPublisherServer) UploadSourceZip ¶
func (UnimplementedPublisherServer) UploadSourceZip(Publisher_UploadSourceZipServer) error
type UnsafeConsumerServer ¶
type UnsafeConsumerServer interface {
// contains filtered or unexported methods
}
UnsafeConsumerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConsumerServer will result in compilation errors.
type UnsafePublisherServer ¶
type UnsafePublisherServer interface {
// contains filtered or unexported methods
}
UnsafePublisherServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PublisherServer will result in compilation errors.
type UploadSourceZipRequest ¶
type UploadSourceZipRequest struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` ZipDataChunk []byte `protobuf:"bytes,2,opt,name=zip_data_chunk,json=zipDataChunk,proto3" json:"zip_data_chunk,omitempty"` // contains filtered or unexported fields }
func (*UploadSourceZipRequest) Descriptor
deprecated
func (*UploadSourceZipRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadSourceZipRequest.ProtoReflect.Descriptor instead.
func (*UploadSourceZipRequest) GetModule ¶
func (x *UploadSourceZipRequest) GetModule() *Module
func (*UploadSourceZipRequest) GetZipDataChunk ¶
func (x *UploadSourceZipRequest) GetZipDataChunk() []byte
func (*UploadSourceZipRequest) ProtoMessage ¶
func (*UploadSourceZipRequest) ProtoMessage()
func (*UploadSourceZipRequest) ProtoReflect ¶
func (x *UploadSourceZipRequest) ProtoReflect() protoreflect.Message
func (*UploadSourceZipRequest) Reset ¶
func (x *UploadSourceZipRequest) Reset()
func (*UploadSourceZipRequest) String ¶
func (x *UploadSourceZipRequest) String() string