decider

package
v0.0.0-...-fb356ce Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decider

type Decider struct{}

func (Decider) CanProvision

func (d Decider) CanProvision(catalog []domain.Service, planID string, maintenanceInfo *domain.MaintenanceInfo, logger *log.Logger) error

func (Decider) DecideOperation

func (d Decider) DecideOperation(catalog []domain.Service, details domain.UpdateDetails, logger *log.Logger) (Operation, error)

type Operation

type Operation int
const (
	Update Operation = iota
	Upgrade
	Failed
)

Jump to

Keyboard shortcuts

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