imagerefs

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

imagerefs

import "code.byted.org/epscp/common/imagerefs"

Package imagerefs ...

Index

func Normalized

func Normalized(name string) (string, error)

Normalized ...

func Parse

func Parse(name string) (string, string, string, string, error)

Parse ...

type NamespacedRepo

NamespacedRepo consist of Namespace and Repository, usually representing a concrete form of TargetItem

type NamespacedRepo struct {
    Namespace  string `json:"namespace"`
    Repository string `json:"repository"`
}
func MakeNRFromString
func MakeNRFromString(s string) *NamespacedRepo

MakeNRFromString make a namespaced repo from a string. string should be in a format as "{namespace}/{repo}"

func (*NamespacedRepo) String
func (nr *NamespacedRepo) String() string

String ...

Generated by gomarkdoc

Documentation

Overview

Package imagerefs ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(name string) (string, string, string, string, error)

Parse ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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