watches

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watch

type Watch struct {
	schema.GroupVersionKind `json:",inline"`
	ChartPath               string `json:"chart"`

	WatchDependentResources *bool                 `json:"watchDependentResources,omitempty"`
	OverrideValues          map[string]string     `json:"overrideValues,omitempty"`
	ReconcilePeriod         *metav1.Duration      `json:"reconcilePeriod,omitempty"`
	MaxConcurrentReconciles *int                  `json:"maxConcurrentReconciles,omitempty"`
	Selector                *metav1.LabelSelector `json:"selector,omitempty"`
	Chart                   *chart.Chart          `json:"-"`
}

func Load

func Load(path string) ([]Watch, error)

Load loads a slice of Watches from the watch file at `path`. For each entry in the watches file, it verifies the configuration. If an error is encountered loading the file or verifying the configuration, it will be returned.

func LoadReader

func LoadReader(reader io.Reader) ([]Watch, error)

Jump to

Keyboard shortcuts

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