cachetest

package
v0.0.0-...-8ff1004 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ModelChange

func ModelChange(c *gc.C, model *state.Model) cache.ModelChange

ModelChange returns a ModelChange representing the current state of the model.

func ModelChangeErr

func ModelChangeErr(model *state.Model) (cache.ModelChange, error)

ModelChangeErr returns a ModelChange representing the current state of the model. May return an error if unable to load config or status.

func ModelChangeFromState

func ModelChangeFromState(c *gc.C, st *state.State) cache.ModelChange

ModelChangeFromState returns a ModelChange representing the current model for the state object.

func ModelChangeFromStateErr

func ModelChangeFromStateErr(st *state.State) (cache.ModelChange, error)

ModelChangeFromStateErr returns a ModelChange representing the current model for the state object. May return an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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