Documentation ¶
Index ¶
- func NewCmdRegistry(streams options.IOStreams) *cobra.Command
- func NewCmdRegistryClean(o *RegistryOptions) *cobra.Command
- func NewCmdRegistryDelete(o *RegistryOptions) *cobra.Command
- func NewCmdRegistryDeploy(o *RegistryOptions) *cobra.Command
- func NewCmdRegistryList(o *RegistryOptions) *cobra.Command
- func NewCmdRegistryPush(o *RegistryOptions) *cobra.Command
- type Configuration
- type Image
- type RegistryOptions
- func (o *RegistryOptions) Delete() error
- func (o *RegistryOptions) GetKcRegistryConfigTemplateContent() (string, error)
- func (o *RegistryOptions) Install() error
- func (o *RegistryOptions) List() error
- func (o *RegistryOptions) Push() error
- func (o *RegistryOptions) Uninstall() error
- func (o *RegistryOptions) ValidateArgs() error
- func (o *RegistryOptions) ValidateArgsDelete(cmd *cobra.Command) error
- func (o *RegistryOptions) ValidateArgsDeploy() error
- func (o *RegistryOptions) ValidateArgsList() error
- func (o *RegistryOptions) ValidateArgsPush() error
- type Repositories
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRegistryClean ¶
func NewCmdRegistryClean(o *RegistryOptions) *cobra.Command
func NewCmdRegistryDelete ¶
func NewCmdRegistryDelete(o *RegistryOptions) *cobra.Command
func NewCmdRegistryDeploy ¶
func NewCmdRegistryDeploy(o *RegistryOptions) *cobra.Command
func NewCmdRegistryList ¶
func NewCmdRegistryList(o *RegistryOptions) *cobra.Command
func NewCmdRegistryPush ¶
func NewCmdRegistryPush(o *RegistryOptions) *cobra.Command
Types ¶
type Configuration ¶ added in v1.4.0
type Configuration struct { // Version is the version which defines the format of the rest of the configuration Version string `yaml:"version"` // Storage is the configuration for the registry's storage driver Storage struct { Filesystem struct { Rootdirectory string `yaml:"rootdirectory"` } `yaml:"filesystem"` } `yaml:"storage"` }
type Image ¶
func (*Image) TablePrint ¶
type RegistryOptions ¶
type RegistryOptions struct { options.IOStreams PrintFlags *printer.PrintFlags SSHConfig *sshutils.SSH Node string Pkg string DataRoot string RegistryPort int Type string Name string Tag string Number int }
func NewRegistryOptions ¶
func NewRegistryOptions(streams options.IOStreams) *RegistryOptions
func (*RegistryOptions) Delete ¶
func (o *RegistryOptions) Delete() error
func (*RegistryOptions) GetKcRegistryConfigTemplateContent ¶ added in v1.4.0
func (o *RegistryOptions) GetKcRegistryConfigTemplateContent() (string, error)
func (*RegistryOptions) Install ¶
func (o *RegistryOptions) Install() error
func (*RegistryOptions) List ¶
func (o *RegistryOptions) List() error
func (*RegistryOptions) Push ¶
func (o *RegistryOptions) Push() error
func (*RegistryOptions) Uninstall ¶
func (o *RegistryOptions) Uninstall() error
func (*RegistryOptions) ValidateArgs ¶
func (o *RegistryOptions) ValidateArgs() error
func (*RegistryOptions) ValidateArgsDelete ¶
func (o *RegistryOptions) ValidateArgsDelete(cmd *cobra.Command) error
func (*RegistryOptions) ValidateArgsDeploy ¶
func (o *RegistryOptions) ValidateArgsDeploy() error
func (*RegistryOptions) ValidateArgsList ¶
func (o *RegistryOptions) ValidateArgsList() error
func (*RegistryOptions) ValidateArgsPush ¶
func (o *RegistryOptions) ValidateArgsPush() error
type Repositories ¶
type Repositories struct {
Repositories []string `json:"repositories" yaml:"repositories"`
}
func (*Repositories) JSONPrint ¶
func (i *Repositories) JSONPrint() ([]byte, error)
func (*Repositories) TablePrint ¶
func (i *Repositories) TablePrint() ([]string, [][]string)
func (*Repositories) YAMLPrint ¶
func (i *Repositories) YAMLPrint() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.