types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldComparisonSuccessDefinition

type FieldComparisonSuccessDefinition struct {
	Name    string                `json:"name"`
	Path    string                `json:"path"`
	Default interface{}           `json:"default"`
	Value   *FieldComparisonValue `json:"value"`
}

type FieldComparisonValue

type FieldComparisonValue struct {
	Path   string      `json:"path"`
	Static interface{} `json:"static"`
}

type Metadata

type Metadata struct {
	Name string `json:"name"`
}

type Rollout

type Rollout struct {
	APIVersion string       `json:"apiVersion"`
	Kind       string       `json:"kind"`
	Metadata   *Metadata    `json:"metadata"`
	Spec       *RolloutSpec `json:"spec"`
}

type RolloutGroup

type RolloutGroup struct {
	Name  string  `json:"name"`
	Steps []*Step `json:"steps"`
}

type RolloutSpec

type RolloutSpec struct {
	Groups []*RolloutGroup `json:"groups"`
}

type Step

type Step struct {
	Object  string               `json:"object"`
	Action  string               `json:"action"`
	Success []*SuccessDefinition `json:"success"`
}

type SuccessDefinition

type SuccessDefinition struct {
	FieldComparisons []*FieldComparisonSuccessDefinition `json:"fieldComparisons"`
}

Jump to

Keyboard shortcuts

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