structs

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	Source      string               `json:"source" yaml:"source"`
	Targets     []string             `json:"targets" yaml:"targets"`
	MutableTags []string             `json:"mutableTags" yaml:"mutableTags"`
	IgnoredTags []string             `json:"ignoredTags" yaml:"ignoredTags"`
	Tags        []string             `json:"tags" yaml:"tags"`
	SrcRef      types.ImageReference `json:"-" yaml:"-"`
}

func (*Image) GetName added in v0.0.18

func (i *Image) GetName() string

func (*Image) GetRegistry

func (i *Image) GetRegistry(url string) string

func (*Image) GetRepository

func (i *Image) GetRepository(url string) string

func (*Image) GetSource

func (i *Image) GetSource() string

func (*Image) GetSourceRegistry

func (i *Image) GetSourceRegistry() string

func (*Image) GetSourceRepository

func (i *Image) GetSourceRepository() string

func (*Image) GetTargets

func (i *Image) GetTargets() []string

type Repository

type Repository struct {
	Name string         `json:"name" yaml:"name"`
	URL  string         `json:"url" yaml:"url"`
	Auth RepositoryAuth `json:"auth" yaml:"auth"`
}

type RepositoryAuth

type RepositoryAuth struct {
	Username string `json:"username" yaml:"username"`
	Password string `json:"password" yaml:"password"`
	Token    string `json:"token" yaml:"token"`
	Helper   string `json:"helper" yaml:"helper"`
}

Jump to

Keyboard shortcuts

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