test

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(
	stop chan struct{},
	phase string,
	t *testing.T,
	desiredFile string,
	desire func(map[string]interface{})) (iterations chan *IterationResult, cleanup func() error, logger logging.Logger, err error)

Types

type Current

type Current struct {
	Deps map[string]struct {
		Current struct {
			Kind  string
			State struct {
				Status   string
				Computes map[string]struct {
					Status   string
					Metadata struct {
						Tier string
					}
					Software struct {
						Current struct {
							State struct {
								Version  string
								Ready    bool
								Software struct {
									Kubelet struct {
										Version string
										Config  map[string]string
									}
								}
							}
						}
					}
				}
			}
		}
	}
}

type Desire

type Desire func(map[string]interface{})

func (Desire) Chain

func (d Desire) Chain(prioritized Desire) Desire

type IterationResult

type IterationResult struct {
	Error   error
	Current *Current
	Secrets map[string]interface{}
}

func MapIteration

func MapIteration(it *operator.IterationDone) *IterationResult

Jump to

Keyboard shortcuts

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