headless

package
v0.0.4-pre6 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientOrDie

func NewClientOrDie(opts *apiclient.ClientOptions) 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

func StartLocalServer(ctx context.Context, clientOpts *apiclient.ClientOptions, ctxStr string, port *int, address *string) 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