Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistryLoginCmd ¶
func NewRegistryLoginCmd(name string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
New logs you in to a docker registry locally.
Types ¶
type Credentials ¶
type Credentials struct { Auth []byte `json:"auth"` Username string `json:"-"` Password string `json:"-"` }
func (Credentials) Empty ¶
func (c Credentials) Empty() bool
type LoginOptions ¶
type LoginOptions struct { ConfigFile string Credentials Credentials HostPort string SkipCheck bool Insecure bool CreateDirectory bool ServiceAccount string genericclioptions.IOStreams }
func NewRegistryLoginOptions ¶
func NewRegistryLoginOptions(streams genericclioptions.IOStreams) *LoginOptions
func (*LoginOptions) Complete ¶
func (o *LoginOptions) Complete(f kcmdutil.Factory, args []string) error
func (*LoginOptions) Run ¶
func (o *LoginOptions) Run() error
func (*LoginOptions) Validate ¶
func (o *LoginOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.