simulationrep

package
v0.0.0-...-16b1a22 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cellID string, cellIndex int, stack string, zone string, totalResources rep.Resources, volumeDrivers []string) rep.SimClient

Types

type SimulationRep

type SimulationRep struct {
	// contains filtered or unexported fields
}

func (*SimulationRep) CancelTask

func (rep *SimulationRep) CancelTask(lager.Logger, string) error

func (*SimulationRep) Perform

func (r *SimulationRep) Perform(_ lager.Logger, work rep.Work) (rep.Work, error)

func (*SimulationRep) Reset

func (r *SimulationRep) Reset() error

func (*SimulationRep) SetStateClient

func (rep *SimulationRep) SetStateClient(client *http.Client)

func (*SimulationRep) State

func (r *SimulationRep) State(_ lager.Logger) (rep.CellState, error)

func (*SimulationRep) StateClientTimeout

func (rep *SimulationRep) StateClientTimeout() time.Duration

func (*SimulationRep) StopLRPInstance

func (rep *SimulationRep) StopLRPInstance(lager.Logger, models.ActualLRPKey, models.ActualLRPInstanceKey) error

func (*SimulationRep) UpdateLRPInstance

func (rep *SimulationRep) UpdateLRPInstance(lager.Logger, rep.LRPUpdate) error

Jump to

Keyboard shortcuts

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