instance

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GuessPlatform added in v0.15.0

func GuessPlatform(anyInstance *anypb.Any, 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() *PersistentWorker

func (*PersistentWorker) Parse added in v0.16.0

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

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

Jump to

Keyboard shortcuts

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