registry

package
v0.0.0-...-881e6dc Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupGlobalRegistry

func SetupGlobalRegistry(reg RegistryConfig)

Types

type ProjectVersion

type ProjectVersion struct {
	ReleaseType string
	Version     string
	Description string
	ReleaseTime time.Time
	RunnerId    string
	RunnerData  interface{}
}

type RegistryConfig

type RegistryConfig []types.Registry

Upstream configuration

var GlobalRegistry RegistryConfig

func (*RegistryConfig) GetVersionToRun

func (c *RegistryConfig) GetVersionToRun(projectName string, updatePolicyOverride string, versionOverride string) (ProjectVersion, error)

func (*RegistryConfig) GetVersions

func (c *RegistryConfig) GetVersions(project string, subscriptions []string, currentVersion string, updatePolicy string, runtime string) ([]ProjectVersion, error)

func (*RegistryConfig) PrettyPrintProjectVersions

func (c *RegistryConfig) PrettyPrintProjectVersions(versions []ProjectVersion)

func (*RegistryConfig) Sync

func (c *RegistryConfig) Sync() error

Download upstream VCS to Home Clone location

Jump to

Keyboard shortcuts

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