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.
func NewClient ¶ added in v1.33.0
func NewClient(client v1.ServiceClient) *Client
NewClient for konfig.
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 Config *v1.Config Client *Client OutputConfig *OutputConfig }
RunCommandParams for client.
Click to show internal directories.
Click to hide internal directories.