loader

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 26 Imported by: 6

Documentation

Index

Constants

View Source
const CacheTimeout = time.Hour

Variables

This section is empty.

Functions

func AddVSC added in v0.1.5

func AddVSC(lookup VCSLookup)

func Program

func Program(ctx context.Context, name, subToolName string, opts ...Options) (types.Program, error)

func ProgramFromSource

func ProgramFromSource(ctx context.Context, content, subToolName string, opts ...Options) (types.Program, error)

func SplitToolRef added in v0.3.0

func SplitToolRef(targetToolName string) (toolName, subTool string)

Types

type Options added in v0.6.0

type Options struct {
	Cache *cache.Client
}

type VCSLookup added in v0.1.5

type VCSLookup func(context.Context, *cache.Client, string) (string, *types.Repo, bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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