module

package
v0.0.75-CIEDEV-2731.6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Publisher_Register_FullMethodName                      = "/terrarium.module.Publisher/Register"
	Publisher_BeginVersion_FullMethodName                  = "/terrarium.module.Publisher/BeginVersion"
	Publisher_RegisterModuleDependencies_FullMethodName    = "/terrarium.module.Publisher/RegisterModuleDependencies"
	Publisher_RegisterContainerDependencies_FullMethodName = "/terrarium.module.Publisher/RegisterContainerDependencies"
	Publisher_UploadSourceZip_FullMethodName               = "/terrarium.module.Publisher/UploadSourceZip"
	Publisher_EndVersion_FullMethodName                    = "/terrarium.module.Publisher/EndVersion"
	Publisher_PublishTag_FullMethodName                    = "/terrarium.module.Publisher/PublishTag"
)
View Source
const (
	Consumer_DownloadSourceZip_FullMethodName               = "/terrarium.module.Consumer/DownloadSourceZip"
	Consumer_RetrieveContainerDependencies_FullMethodName   = "/terrarium.module.Consumer/RetrieveContainerDependencies"
	Consumer_RetrieveModuleDependencies_FullMethodName      = "/terrarium.module.Consumer/RetrieveModuleDependencies"
	Consumer_RetrieveContainerDependenciesV2_FullMethodName = "/terrarium.module.Consumer/RetrieveContainerDependenciesV2"
)

Variables

View Source
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.

View Source
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.

View Source
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)

View Source
var File_pb_terrarium_module_module_proto protoreflect.FileDescriptor
View Source
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,
		},
		{
			MethodName: "PublishTag",
			Handler:    _Publisher_PublishTag_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

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

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 (*ContainerDependenciesResponse) Reset

func (x *ContainerDependenciesResponse) Reset()

func (*ContainerDependenciesResponse) 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 (*ContainerDependenciesResponseV2) GetModule

func (x *ContainerDependenciesResponseV2) GetModule() *Module

func (*ContainerDependenciesResponseV2) ProtoMessage

func (*ContainerDependenciesResponseV2) ProtoMessage()

func (*ContainerDependenciesResponseV2) ProtoReflect

func (*ContainerDependenciesResponseV2) Reset

func (*ContainerDependenciesResponseV2) 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 (*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) Enum

func (EndVersionRequest_Action) EnumDescriptor deprecated

func (EndVersionRequest_Action) EnumDescriptor() ([]byte, []int)

Deprecated: Use EndVersionRequest_Action.Descriptor instead.

func (EndVersionRequest_Action) Number

func (EndVersionRequest_Action) String

func (x EndVersionRequest_Action) String() string

func (EndVersionRequest_Action) Type

type Maturity

type Maturity int32
const (
	Maturity_IDEA        Maturity = 0
	Maturity_PLANNING    Maturity = 1
	Maturity_DEVELOPING  Maturity = 2
	Maturity_ALPHA       Maturity = 3
	Maturity_BETA        Maturity = 4
	Maturity_STABLE      Maturity = 5
	Maturity_DEPRECATED  Maturity = 6
	Maturity_END_OF_LIFE Maturity = 7
)

func (Maturity) Descriptor

func (Maturity) Descriptor() protoreflect.EnumDescriptor

func (Maturity) Enum

func (x Maturity) Enum() *Maturity

func (Maturity) EnumDescriptor deprecated

func (Maturity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Maturity.Descriptor instead.

func (Maturity) Number

func (x Maturity) Number() protoreflect.EnumNumber

func (Maturity) String

func (x Maturity) String() string

func (Maturity) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetName

func (x *Module) GetName() string

func (*Module) GetVersion

func (x *Module) GetVersion() string

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

func (x *Module) ProtoReflect() protoreflect.Message

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

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 (*ModuleDependenciesResponse) Reset

func (x *ModuleDependenciesResponse) Reset()

func (*ModuleDependenciesResponse) String

func (x *ModuleDependenciesResponse) String() string

type PublishTagRequest added in v0.0.32

type PublishTagRequest 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"`
	Tags   []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishTagRequest) Descriptor deprecated added in v0.0.32

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

Deprecated: Use PublishTagRequest.ProtoReflect.Descriptor instead.

func (*PublishTagRequest) GetApiKey added in v0.0.32

func (x *PublishTagRequest) GetApiKey() string

func (*PublishTagRequest) GetName added in v0.0.32

func (x *PublishTagRequest) GetName() string

func (*PublishTagRequest) GetTags added in v0.0.32

func (x *PublishTagRequest) GetTags() []string

func (*PublishTagRequest) ProtoMessage added in v0.0.32

func (*PublishTagRequest) ProtoMessage()

func (*PublishTagRequest) ProtoReflect added in v0.0.32

func (x *PublishTagRequest) ProtoReflect() protoreflect.Message

func (*PublishTagRequest) Reset added in v0.0.32

func (x *PublishTagRequest) Reset()

func (*PublishTagRequest) String added in v0.0.32

func (x *PublishTagRequest) 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)
	PublishTag(ctx context.Context, in *PublishTagRequest, 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)
	PublishTag(context.Context, *PublishTagRequest) (*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 (*RegisterContainerDependenciesRequest) GetModule

func (*RegisterContainerDependenciesRequest) ProtoMessage

func (*RegisterContainerDependenciesRequest) ProtoMessage()

func (*RegisterContainerDependenciesRequest) ProtoReflect

func (*RegisterContainerDependenciesRequest) Reset

func (*RegisterContainerDependenciesRequest) 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 (*RegisterModuleDependenciesRequest) Reset

func (*RegisterModuleDependenciesRequest) 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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetMessage

func (x *Response) GetMessage() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

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 (*RetrieveContainerDependenciesRequest) GetRecursive

func (x *RetrieveContainerDependenciesRequest) GetRecursive() bool

func (*RetrieveContainerDependenciesRequest) ProtoMessage

func (*RetrieveContainerDependenciesRequest) ProtoMessage()

func (*RetrieveContainerDependenciesRequest) ProtoReflect

func (*RetrieveContainerDependenciesRequest) Reset

func (*RetrieveContainerDependenciesRequest) 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 (*RetrieveContainerDependenciesRequestV2) ProtoMessage

func (*RetrieveContainerDependenciesRequestV2) ProtoReflect

func (*RetrieveContainerDependenciesRequestV2) Reset

func (*RetrieveContainerDependenciesRequestV2) 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 (*RetrieveModuleDependenciesRequest) Reset

func (*RetrieveModuleDependenciesRequest) 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.

type UnimplementedPublisherServer

type UnimplementedPublisherServer struct {
}

UnimplementedPublisherServer must be embedded to have forward compatible implementations.

func (UnimplementedPublisherServer) BeginVersion

func (UnimplementedPublisherServer) EndVersion

func (UnimplementedPublisherServer) PublishTag added in v0.0.32

func (UnimplementedPublisherServer) Register

func (UnimplementedPublisherServer) RegisterContainerDependencies

func (UnimplementedPublisherServer) RegisterModuleDependencies

func (UnimplementedPublisherServer) UploadSourceZip

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

Jump to

Keyboard shortcuts

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