Documentation ¶
Index ¶
- Variables
- func NewPrivateRegistryCmd(p *pkg.AdminParams) *cobra.Command
- func NewRegistryAddCommand(p *pkg.AdminParams) *cobra.Command
- func NewRegistryListCommand(p *pkg.AdminParams) *cobra.Command
- func NewRegistryRmCommand(p *pkg.AdminParams) *cobra.Command
- func RegistryListHandlers(h hprinters.PrintHandler)
- type Auths
- type Registry
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AdminRegistryCmdName is used in the labels to mark the resource this command created AdminRegistryCmdName = "kn-admin-registry" // DockerJSONName is used to represent ".dockerconfigjson" in secret data DockerJSONName = ".dockerconfigjson" // ImagePullServiceAccount is used to store service account name which use this secret // as ImagePullSecret in this secret's label ImagePullServiceAccount = "image-pull-service-account" )
View Source
var AdminRegistryLabels = map[string]string{ pkg.LabelManagedBy: AdminRegistryCmdName, }
AdminRegistryLabels is a set of labels which will be added to the registry resources to indicate that these resources are managed by admin registry command.
Functions ¶
func NewPrivateRegistryCmd ¶
func NewPrivateRegistryCmd(p *pkg.AdminParams) *cobra.Command
NewPrivateRegistryCmd represents the privateRegistry command
func NewRegistryAddCommand ¶
func NewRegistryAddCommand(p *pkg.AdminParams) *cobra.Command
NewRegistryAddCommand represents the add command
func NewRegistryListCommand ¶
func NewRegistryListCommand(p *pkg.AdminParams) *cobra.Command
NewRegistryListCommand represents the list command
func NewRegistryRmCommand ¶
func NewRegistryRmCommand(p *pkg.AdminParams) *cobra.Command
NewRegistryRmCommand represents the remove command
func RegistryListHandlers ¶
func RegistryListHandlers(h hprinters.PrintHandler)
RegistryListHandlers adds print handlers for registry list command
Types ¶
Click to show internal directories.
Click to hide internal directories.