instance

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedSuffix = errors.New("unsupported digital information unit suffix")

Functions

func GuessPlatform added in v0.15.0

func GuessPlatform(anyInstance *anypb.Any, descriptor protoreflect.MessageDescriptor) string

func GuessPlatformOfProtoMessage added in v0.33.0

func GuessPlatformOfProtoMessage(message protoreflect.Message, descriptor protoreflect.MessageDescriptor) string

func ParseMegaBytes

func ParseMegaBytes(s string) (int64, error)

Types

type AdditionalContainer

type AdditionalContainer struct {
	parseable.DefaultParser
	// contains filtered or unexported fields
}

func NewAdditionalContainer

func NewAdditionalContainer(mergedEnv map[string]string, boolevator *boolevator.Boolevator) *AdditionalContainer

nolint:gocognit

func (*AdditionalContainer) Parse

func (*AdditionalContainer) Schema added in v0.18.0

func (ac *AdditionalContainer) Schema() *jsschema.Schema

type Container

type Container struct {
	parseable.DefaultParser
	// contains filtered or unexported fields
}

func NewCommunityContainer

func NewCommunityContainer(mergedEnv map[string]string, boolevator *boolevator.Boolevator) *Container

func (*Container) Parse

func (container *Container) Parse(node *node.Node) (*api.ContainerInstance, error)

func (*Container) Schema added in v0.18.0

func (container *Container) Schema() *jsschema.Schema

type PersistentWorker added in v0.16.0

type PersistentWorker struct {
	parseable.DefaultParser
	// contains filtered or unexported fields
}

func NewPersistentWorker added in v0.16.0

func NewPersistentWorker(mergedEnv map[string]string) *PersistentWorker

func (*PersistentWorker) Parse added in v0.16.0

func (pworker *PersistentWorker) Parse(node *node.Node) (*api.PersistentWorkerInstance, error)

func (*PersistentWorker) Schema added in v0.31.0

func (pworker *PersistentWorker) Schema() *jsschema.Schema

type ProtoInstance added in v0.9.0

type ProtoInstance struct {
	parseable.DefaultParser
	// contains filtered or unexported fields
}

func NewProtoParser added in v0.9.0

func NewProtoParser(
	desc protoreflect.MessageDescriptor,
	mergedEnv map[string]string,
	boolevator *boolevator.Boolevator,
) *ProtoInstance

func (*ProtoInstance) Parse added in v0.9.0

func (p *ProtoInstance) Parse(node *node.Node) (*dynamicpb.Message, error)

func (*ProtoInstance) Schema added in v0.18.0

func (p *ProtoInstance) Schema() *jsschema.Schema

type WindowsContainer added in v0.22.0

type WindowsContainer struct {
	parseable.DefaultParser
	// contains filtered or unexported fields
}

func NewWindowsCommunityContainer added in v0.22.0

func NewWindowsCommunityContainer(mergedEnv map[string]string, boolevator *boolevator.Boolevator) *WindowsContainer

func (*WindowsContainer) Parse added in v0.22.0

func (container *WindowsContainer) Parse(node *node.Node) (*api.ContainerInstance, error)

func (*WindowsContainer) Schema added in v0.22.0

func (container *WindowsContainer) Schema() *jsschema.Schema

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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