pullsecrets

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSRegistry

type AWSRegistry struct{ Registry }

func (*AWSRegistry) PrivateImageName

func (r *AWSRegistry) PrivateImageName() string

func (*AWSRegistry) PublicImageName

func (r *AWSRegistry) PublicImageName() string

type ContainerRegistry

type ContainerRegistry interface {
	Login()
	Logout()

	PublicImageName() string
	PrivateImageName() string

	Username() string
	Password() string
	Server() string
}

func RegistryFromEnv

func RegistryFromEnv() (ContainerRegistry, error)

type DockerHubRegistry

type DockerHubRegistry struct{ Registry }

func (*DockerHubRegistry) PrivateImageName

func (r *DockerHubRegistry) PrivateImageName() string

func (*DockerHubRegistry) PublicImageName

func (r *DockerHubRegistry) PublicImageName() string

type GithubRegistry

type GithubRegistry struct{ Registry }

func (*GithubRegistry) PrivateImageName

func (r *GithubRegistry) PrivateImageName() string

func (*GithubRegistry) PublicImageName

func (r *GithubRegistry) PublicImageName() string

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func (*Registry) Login

func (r *Registry) Login()

func (*Registry) Logout

func (r *Registry) Logout()

func (*Registry) Password

func (r *Registry) Password() string

func (*Registry) Server

func (r *Registry) Server() string

func (*Registry) Username

func (r *Registry) Username() string

Jump to

Keyboard shortcuts

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