Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClient ¶
func GetClient( serverAddress string, credential string, insecureTLS bool, ) svcv1alpha1connect.KargoServiceClient
GetClient returns a new client for the Kargo API server located at the specified address. If the provided credential is non-empty, the client will be decorated with an interceptor that adds the credential to outbound requests.
func GetClientFromConfig ¶
func GetClientFromConfig( ctx context.Context, cfg config.CLIConfig, opts Options, ) ( svcv1alpha1connect.KargoServiceClient, error, )
GetClientFromConfig returns a new client for the Kargo API server located at the address specified in local configuration, using credentials also specified in the local configuration.
func IsConfigNotFoundErr ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.