cli

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package cli provides CLI implementation for operator.

Index

Constants

View Source
const (
	// DefaultConfigFilePath is a path from where operator binary reads the configuration.
	DefaultConfigFilePath = "/etc/newrelic/newrelic-infra-operator/operator.yaml"

	// EnvLicenseKey is an environment variable, from which license key will be read.
	EnvLicenseKey = "NRIA_LICENSE_KEY"

	// EnvClusterName is an environment variable from which cluster name will be read if not set in configuration file.
	EnvClusterName = "CLUSTER_NAME"
)

Variables

This section is empty.

Functions

func Options

func Options(path string) (*operator.Options, error)

Options tries to read configuration from a given path and later fills missing configuration using environment variables.

If configuration file is not found, only environment variables will be read.

Types

This section is empty.

Jump to

Keyboard shortcuts

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