instance

package
v0.108.3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GuessArchitecture added in v0.92.0

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

func GuessArchitectureOfProtoMessage added in v0.60.0

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

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

Types

type AdditionalContainer

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

func NewAdditionalContainer

func NewAdditionalContainer(mergedEnv map[string]string, parserKit *parserkit.ParserKit) *AdditionalContainer

func (*AdditionalContainer) Parse

func (ac *AdditionalContainer) Parse(
	node *node.Node,
	parserKit *parserkit.ParserKit,
) (*api.AdditionalContainer, error)

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,
	architecture api.Architecture,
	parserKit *parserkit.ParserKit,
) *Container

func (*Container) Parse

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

func (*Container) Schema added in v0.18.0

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

type MacOSInstance added in v0.76.0

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

func NewMacOSInstance added in v0.76.0

func NewMacOSInstance(mergedEnv map[string]string, parserKit *parserkit.ParserKit) *MacOSInstance

func (*MacOSInstance) Parse added in v0.76.0

func (instance *MacOSInstance) Parse(node *node.Node, parserKit *parserkit.ParserKit) (*api.MacOSInstance, error)

func (*MacOSInstance) Schema added in v0.76.0

func (instance *MacOSInstance) 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, parserKit *parserkit.ParserKit) *PersistentWorker

func (*PersistentWorker) Parse added in v0.16.0

func (pworker *PersistentWorker) Parse(
	node *node.Node,
	parserKit *parserkit.ParserKit,
) (*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,
	parserKit *parserkit.ParserKit,
) *ProtoInstance

func (*ProtoInstance) Parse added in v0.9.0

func (p *ProtoInstance) Parse(node *node.Node, parserKit *parserkit.ParserKit) (*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, parserKit *parserkit.ParserKit) *WindowsContainer

func (*WindowsContainer) Parse added in v0.22.0

func (container *WindowsContainer) Parse(
	node *node.Node,
	parserKit *parserkit.ParserKit,
) (*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