local

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environments

type Environments map[string]Prefab

type Names

type Names map[string]Versions

type Prefab

type Prefab struct {
	BlueprintPath string
	PrefabPath    string
}

type Repo

type Repo struct {
	// contains filtered or unexported fields
}

func (*Repo) Download

func (r *Repo) Download(prefabURL string, blueprintURL string) (prefabPath string, blueprint prefab.Blueprint, err error)

func (*Repo) Fabricate

func (r *Repo) Fabricate(specSheet repointerface.SpecSheet) (prefabPath string, blueprintPath string, err error)

func (*Repo) FabricateDepend

func (r *Repo) FabricateDepend(item *prefab.Prefab, existVersions []string) (prefabPaths []string, blueprintPaths []string, err error)

func (*Repo) GenerateSpecSheet

func (r *Repo) GenerateSpecSheet(name string, specifier string) (specSheet repointerface.SpecSheet, err error)

func (*Repo) GetBlueprint

func (r *Repo) GetBlueprint(blueprintURL string) (blueprint prefab.Blueprint, err error)

func (*Repo) GetEnvs

func (r *Repo) GetEnvs(specSheet repointerface.SpecSheet) (envs []string, err error)

func (*Repo) GetVersions

func (r *Repo) GetVersions(specSheet repointerface.SpecSheet) (versions []string, err error)

func (*Repo) Init

func (r *Repo) Init(ctx *dcontext.DeployContext) (err error)

func (*Repo) New

func (r *Repo) New(workDir string, tmpDir string) (err error)

func (*Repo) WaitDownload

func (r *Repo) WaitDownload() (derr error)

type Versions

type Versions map[string]Environments

Jump to

Keyboard shortcuts

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