stack

package
v1.11.4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Overview

Copyright 2021, Pulumi Corporation. All rights reserved.

Index

Constants

View Source
const (
	// envInsecureNoNamespaceIsolation is the name of the environment entry which, when set to a
	// truthy value (1|true), shall allow multiple namespaces to be watched, and cross-namespace
	// references to be accepted.
	EnvInsecureNoNamespaceIsolation = "INSECURE_NO_NAMESPACE_ISOLATION"
)
View Source
const INFERNS = "PULUMI_INFER_NAMESPACE"

Environment variable to toggle namespace behavior

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Stack Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func IsNamespaceIsolationWaived added in v1.9.0

func IsNamespaceIsolationWaived() bool

Types

type ProjectFile added in v1.10.0

type ProjectFile struct {
	Name    string `json:"name"`
	Runtime string `json:"runtime"`
	pulumiv1.ProgramSpec
}

ProjectFile adds required Pulumi 'project' fields to the Program spec, making it valid to be given to Pulumi.

type ReconcileStack

type ReconcileStack struct {
	// contains filtered or unexported fields
}

ReconcileStack reconciles a Stack object

func (*ReconcileStack) Reconcile

func (r *ReconcileStack) Reconcile(ctx context.Context, request reconcile.Request) (retres reconcile.Result, reterr error)

Reconcile reads that state of the cluster for a Stack object and makes changes based on the state read and what is in the Stack.Spec

type StallError added in v1.9.0

type StallError struct {
	// contains filtered or unexported fields
}

StallError represents a problem that makes a Stack spec unprocessable, while otherwise being valid. For example: the spec refers to a secret in another namespace. This is used to signal "stall" failures within helpers -- that is, when the operator cannot process the object as it is specified.

Jump to

Keyboard shortcuts

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