Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapConfig ¶
type BootstrapConfig struct { Components []string Owner string Repository string FromFile string Registry string Hostname string Path string Interval string CommitMessageAppendix string Private bool GenerateSelfSigned bool CaFile string }
BootstrapConfig is the configuration shared by the bootstrap commands.
func (*BootstrapConfig) AddFlags ¶
func (m *BootstrapConfig) AddFlags(flags *pflag.FlagSet)
AddFlags adds the bootstrap flags to the given flag set.
type GiteaConfig ¶
type GiteaConfig struct { BootstrapConfig Personal bool }
GiteaConfig is the configuration for the Github bootstrap command.
func (*GiteaConfig) AddFlags ¶
func (g *GiteaConfig) AddFlags(flags *pflag.FlagSet)
AddFlags adds the Gitea bootstrap flags to the given flag set.
type GithubConfig ¶
type GithubConfig struct { BootstrapConfig Personal bool }
GithubConfig is the configuration for the Github bootstrap command.
func (*GithubConfig) AddFlags ¶
func (g *GithubConfig) AddFlags(flags *pflag.FlagSet)
AddFlags adds the Github bootstrap flags to the given flag set.
type MpasConfig ¶
type MpasConfig struct { // Printer is the printer to use for output. Printer *printer.Printer // Timeout is the timeout to use for operations. Timeout string // DockerconfigPath is the path to the docker config file. DockerconfigPath string // KubeConfigArgs are the kubeconfig arguments. KubeConfigArgs *genericclioptions.ConfigFlags // PlainHTTP indicates whether to use plain HTTP instead of HTTPS. PlainHTTP bool // Export indicates whether to export to a file. Export bool // ExportPath is the path to export to. ExportPath string }
MpasConfig is the global configuration for the mpas CLI.
func (*MpasConfig) AddFlags ¶
func (m *MpasConfig) AddFlags(flags *pflag.FlagSet)
AddFlags adds the global flags to the given flag set.
Click to show internal directories.
Click to hide internal directories.