headless

package
v2.7.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 30 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientOrDie added in v2.4.0

func NewClientOrDie(opts *apiclient.ClientOptions, c *cobra.Command) apiclient.Client

NewClientOrDie creates a new API client from a set of config options, or fails fatally if the new client creation fails.

func StartLocalServer added in v2.4.0

func StartLocalServer(ctx context.Context, clientOpts *apiclient.ClientOptions, ctxStr string, port *int, address *string, compression cache.RedisCompressionType) error

StartLocalServer allows executing command in a headless mode: on the fly starts Argo CD API server and changes provided client options to use started API server port

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL