source

package
v0.0.0-...-63585a5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 6 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 Source

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

func Parse

func Parse(raw string, forceUrl bool) (*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