Documentation ¶
Index ¶
- Constants
- func DisableStatus(getCM func(name string) (v1alpha1.ConfigMap, error), ...) (result v1alpha1.DisableState, reason string, err error)
- func InTriggerQueue(cm *v1alpha1.ConfigMap, nn types.NamespacedName) bool
- func MaybeNewDisableStatus(ctx context.Context, client client.Client, ...) (*v1alpha1.DisableStatus, error)
- func NamesInTriggerQueue(cm *v1alpha1.ConfigMap) []string
- func TriggerQueue(ctx context.Context, client client.Client) (*v1alpha1.ConfigMap, error)
- func TriggerQueueCreate(entries []TriggerQueueEntry) v1alpha1.ConfigMap
- func TriggerQueueReason(cm *v1alpha1.ConfigMap, nn types.NamespacedName) model.BuildReason
- type DisableResult
- type TriggerQueueEntry
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 TriggerQueue ¶
func TriggerQueueCreate ¶ added in v0.24.0
func TriggerQueueCreate(entries []TriggerQueueEntry) v1alpha1.ConfigMap
func TriggerQueueReason ¶
func TriggerQueueReason(cm *v1alpha1.ConfigMap, nn types.NamespacedName) model.BuildReason
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 }
Click to show internal directories.
Click to hide internal directories.