source

package
v0.7.12 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSourceNotSupported = errors.New("source not supported")

Functions

This section is empty.

Types

type Git

type Git struct {
	Remote     string
	RefValue   *string
	RemotePath *string
}

type Registry

type Registry struct {
	Hostname   string
	Namespace  string
	Name       string
	Provider   string
	Normalized string
}

type RegistryProvider added in v0.4.3

type RegistryProvider struct {
	Type       string
	Namespace  string
	Hostname   svchost.Hostname
	Normalized string
}

type Source

type Source struct {
	Git              *Git
	Registry         *Registry
	RegistryProvider *RegistryProvider
	Local            *string
}

func Parse

func Parse(raw string) (*Source, error)

func ParseProviderSourceString added in v0.4.3

func ParseProviderSourceString(str string) (*Source, error)

func (Source) Type

func (s Source) Type() string

func (Source) URI

func (s Source) URI() string

Jump to

Keyboard shortcuts

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