Documentation ¶
Index ¶
- Constants
- func NewDefaultKappCmd(ui *ui.ConfUI) *cobra.Command
- func NewKappCmd(o *KappOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewVersionCmd(o *VersionOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewWebsiteCmd(o *WebsiteOptions) *cobra.Command
- type KappOptions
- type LoggerFlags
- type UIFlags
- type VersionOptions
- type WebsiteOptions
Constants ¶
View Source
const (
Version = "0.17.0"
)
Variables ¶
This section is empty.
Functions ¶
func NewKappCmd ¶
func NewKappCmd(o *KappOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewVersionCmd ¶
func NewVersionCmd(o *VersionOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewWebsiteCmd ¶
func NewWebsiteCmd(o *WebsiteOptions) *cobra.Command
Types ¶
type KappOptions ¶
type KappOptions struct { UIFlags UIFlags LoggerFlags LoggerFlags KubeconfigFlags cmdcore.KubeconfigFlags // contains filtered or unexported fields }
func NewKappOptions ¶
func NewKappOptions(ui *ui.ConfUI, configFactory cmdcore.ConfigFactory, depsFactory cmdcore.DepsFactory) *KappOptions
type LoggerFlags ¶ added in v0.14.0
type LoggerFlags struct {
Debug bool
}
func (*LoggerFlags) Configure ¶ added in v0.14.0
func (f *LoggerFlags) Configure(logger *logger.UILogger)
func (*LoggerFlags) Set ¶ added in v0.14.0
func (f *LoggerFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
type UIFlags ¶
func (*UIFlags) ConfigureUI ¶
type VersionOptions ¶
type VersionOptions struct {
// contains filtered or unexported fields
}
func NewVersionOptions ¶
func NewVersionOptions(ui ui.UI) *VersionOptions
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error
type WebsiteOptions ¶
type WebsiteOptions struct {
ListenAddr string
}
func NewWebsiteOptions ¶
func NewWebsiteOptions() *WebsiteOptions
func (*WebsiteOptions) Run ¶
func (o *WebsiteOptions) Run() error
func (*WebsiteOptions) Server ¶
func (o *WebsiteOptions) Server() *website.Server
Click to show internal directories.
Click to hide internal directories.