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
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 ¶
GetDisableAnnotationupdate returns whether annotation updates should be disabled. This is safe to call for missing configs.
Click to show internal directories.
Click to hide internal directories.