operatorparams

package
v0.0.0-...-ace5db1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithHelmValues

func WithHelmValues(values string) func(*Params) error

WithHelmValues adds helm values to the operator installation. If used several times, the helm values are merged together If the same values is defined several times the latter call will override the previous one. Accepts a string for single-line values (e.g. installCRDs: true) or a string literal in yaml format for multi-line values

func WithNamespace

func WithNamespace(namespace string) func(*Params) error

WithNamespace sets the namespace to deploy the agent to.

func WithOperatorFullImagePath

func WithOperatorFullImagePath(path string) func(*Params) error

WithOperatorFullImagePath sets the namespace to deploy the agent to.

func WithPulumiResourceOptions

func WithPulumiResourceOptions(resources ...pulumi.ResourceOption) func(*Params) error

WithPulumiResourceOptions sets the resources to depend on.

Types

type Option

type Option = func(*Params) error

type Params

type Params struct {
	// OperatorFullImagePath is the full path of the operator image to use.
	OperatorFullImagePath string
	// Namespace is the namespace to deploy the operator to.
	Namespace string
	// HelmValues is the Helm values to use for the operator installation.
	HelmValues pulumi.AssetOrArchiveArray
	// PulumiResourceOptions is a list of resources to depend on.
	PulumiResourceOptions []pulumi.ResourceOption
}

func NewParams

func NewParams(e config.Env, options ...Option) (*Params, error)

Jump to

Keyboard shortcuts

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