loader

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 32 Imported by: 7

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 ContentFromURL added in v0.8.2

func ContentFromURL(url string) (string, error)

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)

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, 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