Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application interface { AllUnits() ([]Unit, error) Constraints() (constraints.Value, error) IsPrincipal() bool }
Application defines a subset of the functionality provided by the state.Application type, as required by the application facade. For details on the methods, see the methods on state.Application with the same names.
type BackendModel ¶
type BackendState ¶
type BackendState interface { AllCharms() ([]*state.Charm, error) Application(string) (Application, error) Charm(curl *charm.URL) (*state.Charm, error) ControllerConfig() (controller.Config, error) ControllerTag() names.ControllerTag CharmState Machine(string) (Machine, error) state.MongoSessioner ModelUUID() string ModelConstraints() (constraints.Value, error) }
type CharmState ¶
type CharmState interface { UpdateUploadedCharm(info state.CharmInfo) (*state.Charm, error) PrepareCharmUpload(curl *charm.URL) (corecharm.StateCharm, error) }
CharmState represents directives for accessing charm methods
type Machine ¶
type Machine interface { HardwareCharacteristics() (*instance.HardwareCharacteristics, error) Constraints() (constraints.Value, error) }
Machine defines a subset of the functionality provided by the state.Machine type, as required by the application facade. For details on the methods, see the methods on state.Machine with the same names.
Click to show internal directories.
Click to hide internal directories.