reference

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Overview

Package reference contains an image reference parser

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Name   string
	Tag    string
	Digest string
}

Data is the main data type

func New

func New(name string) *Data

New parses the image name and returns a Data object.

func (*Data) GetNormalizedName

func (r *Data) GetNormalizedName() (name string)

GetNormalizedName returns the normalized name of a reference

Jump to

Keyboard shortcuts

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