Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ClientModule for fx. ClientModule = fx.Options( v1.Module, fx.Provide(NewClient), ) // CommandModule for fx. CommandModule = fx.Options( ClientModule, fx.Provide(NewOutputConfig), fx.Invoke(RunCommand), ) )
View Source
var OutputFlag string
OutputFlag for client.
Functions ¶
Types ¶
type Client ¶ added in v1.33.0
type Client struct {
// contains filtered or unexported fields
}
Client for konfig.
type Config ¶
type Config struct {
V1 *config.Config `yaml:"v1,omitempty" json:"v1,omitempty" toml:"v1,omitempty"`
}
Config for client.
type OutputConfig ¶ added in v1.33.0
OutputConfig for client.
func NewOutputConfig ¶ added in v1.33.0
func NewOutputConfig(factory *marshaller.Factory) (*OutputConfig, error)
NewOutputConfig for client.
type RunCommandParams ¶ added in v1.33.0
type RunCommandParams struct { fx.In Lifecycle fx.Lifecycle Client *Client OutputConfig *OutputConfig Config *v1.Config }
RunCommandParams for client.
Click to show internal directories.
Click to hide internal directories.