parse

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const RegexString = "A-Za-z0-9._~!:@,;+-"

Variables

View Source
var DefaultOutputSpec = model.StorageSpec{
	StorageSource: model.StorageSourceIPFS,
	Name:          "outputs",
	Path:          "/outputs",
}

Functions

func JobOutputs

func JobOutputs(ctx context.Context, outputVolumes []string) ([]model.StorageSpec, error)

func Labels

func Labels(ctx context.Context, labels []string) ([]string, error)

func NodeSelector

func NodeSelector(nodeSelector string) ([]model.LabelSelectorRequirement, error)

func NodeSelectorV2 added in v1.4.0

func NodeSelectorV2(nodeSelector string) ([]*models.LabelSelectorRequirement, error)

func StringSliceToMap added in v1.2.1

func StringSliceToMap(slice []string) (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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