configmap

package
v0.33.15 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 11 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) (result v1alpha1.DisableState, 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)

func TriggerQueueCreate added in v0.24.0

func TriggerQueueCreate(entries []TriggerQueueEntry) v1alpha1.ConfigMap

Types

type DisableResult added in v0.23.9

type DisableResult int

type TriggerQueueEntry added in v0.24.0

type TriggerQueueEntry struct {
	Name   model.ManifestName
	Reason model.BuildReason
}

Jump to

Keyboard shortcuts

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