Documentation ¶
Index ¶
- func MustNormalizeRef(ref string) string
- func MustParseNamed(s string) reference.Named
- func MustParseNamedTagged(s string) reference.NamedTagged
- func NormalizeRef(ref string) (string, error)
- func ParseNamed(s string) (reference.Named, error)
- func ParseNamedTagged(s string) (reference.NamedTagged, error)
- func ReplaceRegistry(defaultRegistry string, rs RefSelector) (reference.Named, error)
- type ID
- type MatchType
- type Name
- type RefSelector
- func (s RefSelector) AsNamedOnly() reference.Named
- func (s RefSelector) Empty() bool
- func (s RefSelector) Matches(toMatch reference.Named) bool
- func (s RefSelector) RefFamiliarName() string
- func (s RefSelector) RefFamiliarString() string
- func (s RefSelector) RefName() string
- func (s RefSelector) RefsEqual(other RefSelector) bool
- func (s RefSelector) String() string
- func (s RefSelector) WithExactMatch() RefSelector
- func (s RefSelector) WithNameMatch() RefSelector
- type Runtime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustNormalizeRef ¶ added in v0.7.11
func MustParseNamed ¶
func MustParseNamedTagged ¶
func MustParseNamedTagged(s string) reference.NamedTagged
func NormalizeRef ¶ added in v0.7.11
func ParseNamedTagged ¶
func ParseNamedTagged(s string) (reference.NamedTagged, error)
func ReplaceRegistry ¶ added in v0.7.11
func ReplaceRegistry(defaultRegistry string, rs RefSelector) (reference.Named, error)
Produces a new image name that is in the specified registry. The name might be ugly, favoring uniqueness and simplicity and assuming that the prettiness of ephemeral dev image names is not that important.
Types ¶
type RefSelector ¶ added in v0.7.11
type RefSelector struct {
// contains filtered or unexported fields
}
func MustParseSelector ¶ added in v0.7.11
func MustParseSelector(s string) RefSelector
func MustParseTaggedSelector ¶ added in v0.7.11
func MustParseTaggedSelector(s string) RefSelector
func NameSelector ¶ added in v0.7.11
func NameSelector(ref reference.Named) RefSelector
func NewRefSelector ¶ added in v0.7.11
func NewRefSelector(ref reference.Named) RefSelector
func (RefSelector) AsNamedOnly ¶ added in v0.7.11
func (s RefSelector) AsNamedOnly() reference.Named
AsNamedOnly returns the Ref as a Named, REMOVING THE TAG if one exists
func (RefSelector) Empty ¶ added in v0.7.11
func (s RefSelector) Empty() bool
func (RefSelector) Matches ¶ added in v0.7.11
func (s RefSelector) Matches(toMatch reference.Named) bool
func (RefSelector) RefFamiliarName ¶ added in v0.7.11
func (s RefSelector) RefFamiliarName() string
func (RefSelector) RefFamiliarString ¶ added in v0.7.11
func (s RefSelector) RefFamiliarString() string
func (RefSelector) RefName ¶ added in v0.7.11
func (s RefSelector) RefName() string
func (RefSelector) RefsEqual ¶ added in v0.7.11
func (s RefSelector) RefsEqual(other RefSelector) bool
func (RefSelector) String ¶ added in v0.7.11
func (s RefSelector) String() string
func (RefSelector) WithExactMatch ¶ added in v0.7.11
func (s RefSelector) WithExactMatch() RefSelector
func (RefSelector) WithNameMatch ¶ added in v0.7.11
func (s RefSelector) WithNameMatch() RefSelector
type Runtime ¶ added in v0.7.11
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
func RuntimeFromVersionString ¶ added in v0.7.11
Click to show internal directories.
Click to hide internal directories.