configmap

package
v0.23.7 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const TriggerQueueName = "tilt-trigger-queue"

Variables

This section is empty.

Functions

func DisableStatus added in v0.22.15

func DisableStatus(getCM func(name string) (v1alpha1.ConfigMap, error), disableSource *v1alpha1.DisableSource) (isDisabled bool, reason string, err error)

func InTriggerQueue

func InTriggerQueue(cm *v1alpha1.ConfigMap, nn types.NamespacedName) bool

func MaybeNewDisableStatus added in v0.22.10

func MaybeNewDisableStatus(ctx context.Context, client client.Client, disableSource *v1alpha1.DisableSource, prevStatus *v1alpha1.DisableStatus) (*v1alpha1.DisableStatus, error)

Returns a new DisableStatus if the disable status has changed, or the prev status if it hasn't.

func NamesInTriggerQueue added in v0.22.8

func NamesInTriggerQueue(cm *v1alpha1.ConfigMap) []string

func TriggerQueue

func TriggerQueue(ctx context.Context, client client.Client) (*v1alpha1.ConfigMap, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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