container

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNormalizeRef added in v0.7.7

func MustNormalizeRef(ref string) string

func MustParseNamed

func MustParseNamed(s string) reference.Named

func MustParseNamedTagged

func MustParseNamedTagged(s string) reference.NamedTagged

func NormalizeRef added in v0.7.7

func NormalizeRef(ref string) (string, error)

func ParseNamed added in v0.7.7

func ParseNamed(s string) (reference.Named, error)

func ParseNamedTagged

func ParseNamedTagged(s string) (reference.NamedTagged, error)

Types

type ID

type ID string

func (ID) Empty

func (id ID) Empty() bool

func (ID) ShortStr

func (id ID) ShortStr() string

func (ID) String

func (id ID) String() string

type Name

type Name string

func (Name) String

func (n Name) String() string

type RefSelector added in v0.7.7

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

func MustParseSelector added in v0.7.7

func MustParseSelector(s string) RefSelector

func MustParseTaggedSelector added in v0.7.7

func MustParseTaggedSelector(s string) RefSelector

func NewRefSelector added in v0.7.7

func NewRefSelector(ref reference.Named) RefSelector

func (RefSelector) AsNamedOnly added in v0.7.7

func (s RefSelector) AsNamedOnly() reference.Named

func (RefSelector) AsRef added in v0.7.7

func (s RefSelector) AsRef() reference.Named

TODO(nick): This method is only provided for legacy compatibility. All uses of this really should not be using the full ref.

func (RefSelector) Empty added in v0.7.7

func (s RefSelector) Empty() bool

func (RefSelector) Matches added in v0.7.7

func (s RefSelector) Matches(toMatch reference.Named) bool

func (RefSelector) Name added in v0.7.7

func (s RefSelector) Name() string

func (RefSelector) String added in v0.7.7

func (s RefSelector) String() string

type Runtime added in v0.7.6

type Runtime string

A good way to manually test different container runtimes is with minikube. https://github.com/kubernetes/minikube/blob/master/docs/alternative_runtimes.md

const (
	RuntimeDocker     Runtime = "docker"
	RuntimeContainerd Runtime = "containerd"
	RuntimeCrio       Runtime = "cri-o"
	RuntimeUnknown    Runtime = "unknown"
)

func RuntimeFromVersionString added in v0.7.6

func RuntimeFromVersionString(s string) Runtime

Jump to

Keyboard shortcuts

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