misc

package
v0.0.0-...-ec6b881 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLITableJSON

type CLITableJSON struct {
	Rows []CreateReleaseResultRowJSON
}

type CreateReleaseResultJSON

type CreateReleaseResultJSON struct {
	Tables []CLITableJSON
}

type CreateReleaseResultRowJSON

type CreateReleaseResultRowJSON struct {
	Name    string
	Version string
}

type File

type File struct {
	Path    string
	Name    string
	Version string
}

type Meta4

type Meta4 struct {
	Dst string
}

func (Meta4) Create

func (m Meta4) Create(file File) (string, error)

type Release

type Release struct {
	DirPath string
	MFPath  string
	// contains filtered or unexported fields
}

func (Release) NameVersion

func (r Release) NameVersion() string

func (Release) Process

func (r Release) Process() (bprel.Release, []bpreljob.Job, File, error)

func (Release) Version

func (r Release) Version() (semver.Version, error)

type ReleaseDef

type ReleaseDef struct {
	URL        string `yaml:"url"`
	MinVersion string `yaml:"min_version"`
}

func (ReleaseDef) IndexDirectory

func (d ReleaseDef) IndexDirectory() string

func (ReleaseDef) PipelineSlug

func (d ReleaseDef) PipelineSlug() string

type ReleaseFactory

type ReleaseFactory struct{}

func (ReleaseFactory) New

func (f ReleaseFactory) New(releaseDirPath, mfPath string) Release

type ReleaseIndex

type ReleaseIndex struct {
	DirPath    string
	MinVersion semver.Version
	// contains filtered or unexported fields
}

func (ReleaseIndex) Commit

func (i ReleaseIndex) Commit(release Release, relMeta bprel.Release, jobsMeta []bpreljob.Job, meta4Path string) error

func (*ReleaseIndex) Load

func (i *ReleaseIndex) Load() error

func (ReleaseIndex) Missing

func (i ReleaseIndex) Missing(release Release) (bool, error)

type ReleaseManifest

type ReleaseManifest struct {
	Version string
}

type Releases

type Releases struct {
	IndexPath string
}

func (Releases) Releases

func (r Releases) Releases() ([]ReleaseDef, error)

Jump to

Keyboard shortcuts

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