Documentation
¶
Index ¶
- func GetClient(serverAddress string, credential string, insecureTLS bool) (*client.KargoAPI, error)
- func GetClientFromConfig(ctx context.Context, cfg config.CLIConfig, opts Options) (*client.KargoAPI, error)
- func GetWatchClient(serverAddress string, credential string, insecureTLS bool) *watch.Client
- func GetWatchClientFromConfig(ctx context.Context, cfg config.CLIConfig, opts Options) (*watch.Client, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientFromConfig ¶
func GetWatchClient ¶ added in v1.8.8
GetWatchClient returns a new watch client for the Kargo API server located at the specified address.
func GetWatchClientFromConfig ¶ added in v1.8.8
func GetWatchClientFromConfig( ctx context.Context, cfg config.CLIConfig, opts Options, ) (*watch.Client, error)
GetWatchClientFromConfig returns a new watch client for the Kargo API server located at the address specified in local configuration, using credentials also specified in the local configuration.
Types ¶
Click to show internal directories.
Click to hide internal directories.