Documentation ¶
Index ¶
- func AnyMatch(toMatch []reference.Named, selectors []RefSelector) bool
- func FamiliarString(ref reference.Reference) string
- func MustParseNamed(s string) reference.Named
- func MustParseNamedTagged(s string) reference.NamedTagged
- func NewIDSet(ids ...ID) map[ID]bool
- func ParseNamed(s string) (reference.Named, error)
- func ParseNamedMulti(strs []string) ([]reference.Named, error)
- func ParseNamedTagged(s string) (reference.NamedTagged, error)
- func ReplaceRegistry(defaultRegistry Registry, rs RefSelector) (reference.Named, error)
- func ShortStrs(ids []ID) string
- 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 Registry
- type Runtime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnyMatch ¶ added in v0.10.14
func AnyMatch(toMatch []reference.Named, selectors []RefSelector) bool
func FamiliarString ¶ added in v0.10.19
func MustParseNamed ¶
func MustParseNamedTagged ¶
func MustParseNamedTagged(s string) reference.NamedTagged
func ParseNamedMulti ¶ added in v0.10.14
func ParseNamedTagged ¶
func ParseNamedTagged(s string) (reference.NamedTagged, error)
func ReplaceRegistry ¶ added in v0.7.11
func ReplaceRegistry(defaultRegistry Registry, 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 Registry ¶ added in v0.8.9
type Registry string
The Host of a container registry where we can push images. ex) localhost:32000 gcr.io/windmill-public-containers
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.