repo

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Containerd

func Containerd() string

func Docker

func Docker() string

func KubeletImage

func KubeletImage(repo string) string

func Kubernetes

func Kubernetes() string

func QuayIO

func QuayIO(repo string) string

func Suffix

func Suffix(repo string) string

Types

type Repo

type Repo struct {
	Url              string   `flag:"" help:"Choose a container registry to pull images."`
	User             string   `flag:"user" help:"docker registry user"`
	Password         string   `flag:"password" help:"docker registry password"`
	ImagePullSecrets []string `flag:"image-pull-secrets"`

	//输出 Secret kubernetes yaml 定义
	Secret       string `flag:"-"`
	ReduceSecret string `flag:"-"`

	//输出imagePullSecrets定义
	PullSecrets       string `flag:"-"`
	ReducePullSecrets string `flag:"-"`
}

func (*Repo) Default

func (repo *Repo) Default(namespace, def string)

func (*Repo) QuayIO

func (repo *Repo) QuayIO(namespace string)

func (*Repo) Set

func (repo *Repo) Set(namespace string)

func (*Repo) String

func (repo *Repo) String() string

Jump to

Keyboard shortcuts

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