reconciler

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Configures whether Tekton CRD objects should be updated with Result
	// annotations during reconcile. Useful to enable for dry run modes.
	DisableAnnotationUpdate bool

	// CompletedResourceGracePeriod is the time to wait before deleting completed resources.
	// 0 implies the duration
	CompletedResourceGracePeriod time.Duration
}

Config defines shared reconciler configuration options.

func (*Config) GetCompletedResourceGracePeriod added in v0.3.0

func (c *Config) GetCompletedResourceGracePeriod() time.Duration

GetCompletedResourceGracePeriod returns the grace period to wait for deleting Run objects. If value < 0, objects will be deleted immediately. If value = 0 (or not explicitly set), then objects will not be deleted. If value > 0, objects will be deleted with a grace period option of the duration.

func (*Config) GetDisableAnnotationUpdate

func (c *Config) GetDisableAnnotationUpdate() bool

GetDisableAnnotationupdate returns whether annotation updates should be disabled. This is safe to call for missing configs.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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