providerrollout

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	SchemaVersion int      `json:"schema_version"`
	OrderedPhases []string `json:"ordered_phases"`
	RestartUnits  []string `json:"restart_units"`
	Convergence   struct {
		HealthRequired                    bool `json:"health_required"`
		FreshSampleRequired               bool `json:"fresh_sample_required"`
		CollectionErrorsMustEqual         int  `json:"collection_errors_must_equal"`
		VisibleInventoryMustMatchProvider bool `json:"visible_inventory_must_match_provider"`
		QueueIdentityMustBePreserved      bool `json:"queue_identity_must_be_preserved"`
		NaturalJobRequired                bool `json:"natural_job_required"`
	} `json:"convergence"`
}

func Load

func Load(path string) (Contract, error)

func (Contract) Validate

func (contract Contract) Validate() error

Jump to

Keyboard shortcuts

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