package
3.5.4+incompatible
Repository: https://github.com/juju/juju.git
Documentation: pkg.go.dev

# Functions

BuildDiff returns a BundleDiff with the differences between the passed in bundle and model.
FromData generates and returns the list of changes required to deploy the given bundle data.

# Constants

No description provided by the author
BundleSide represents the bundle side of a diff.
No description provided by the author
ModelSide represents the model side of a diff.
None represents neither the bundle or model side (used when neither is missing).

# Structs

AddApplicationChange holds a change for deploying a Juju application.
AddApplicationParams holds parameters for deploying a Juju application.
AddCharmChange holds a change for adding a charm to the environment.
AddCharmParams holds parameters for adding a charm to the environment.
AddMachineChange holds a change for adding a machine or container.
AddMachineOptions holds GUI options for adding a machine or container.
AddMachineParams holds parameters for adding a machine or container.
AddRelationChange holds a change for adding a relation between two applications.
AddRelationParams holds parameters for adding a relation between two applications.
AddUnitChange holds a change for adding an application unit.
AddUnitParams holds parameters for adding an application unit.
Application represents an existing charm deployed in the model.
ApplicationDiff stores differences between an application in a bundle and a model.
BoolDiff stores different bundle and model values for some bool.
BundleDiff stores differences between a bundle and a model.
ChangesConfig is used to provide the required data for determining changes.
ConsumeOfferChange holds a change for consuming a offer.
ConsumeOfferParams holds the parameters for consuming an offer.
CreateOfferChange holds a change for creating a new application endpoint offer.
CreateOfferParams holds parameters for creating an application offer.
DiffConfig provides the values and configuration needed to diff the bundle and model.
ExposeChange holds a change for exposing an application.
ExposedEndpoint encapsulates the expose-related parameters for a particular endpoint.
ExposedEndpointDiff stores different bundle and model values for the expose settings for a particular endpoint.
ExposedEndpointDiffEntry stores the exposed endpoint parameters for an ExposedEndpointDiff entry.
ExposedEndpointParams encapsulates the expose-related parameters for a particular endpoint.
ExposeParams holds parameters for exposing an application.
GrantOfferAccessChange holds a change for granting a user access to an offer.
GrantOfferAccessParams holds the parameters for granting access to a user.
InconsistentMachineMapError indicates that there is a mismatch between the bundle machines and the machine map which should be resolved with explicit entries.
IntDiff stores different bundle and model values for some int.
Machine represents an existing machine in the model.
MachineDiff stores differences between a machine in a bundle and a model.
Model represents the existing deployment if any.
OptionDiff stores different bundle and model values for some configuration value.
Relation holds the information between two releations.
RelationsDiff stores differences between relations in a bundle and model.
ScaleChange holds a change for scaling an application.
ScaleParams holds parameters for scaling an application.
SetAnnotationsChange holds a change for setting application and machine annotations.
SetAnnotationsParams holds parameters for setting annotations.
SetConstraintsChange holds a change for setting application constraints.
SetConstraintsParams holds parameters for setting constraints.
SetOptionsChange holds a change for setting application options.
SetOptionsParams holds parameters for setting options.
StringDiff stores different bundle and model values for some string.
Unit represents a unit in the model.
UpgradeCharmChange holds a change for adding a charm to the environment.
UpgradeCharmParams holds parameters for adding a charm to the environment.

# Interfaces

ArchConstraint defines an architecture constraint.
Change holds a single change required to deploy a bundle.
Logger defines the logging methods needed.

# Type aliases

CharmResolver resolves the channel and revision of a charm from the list of parameters.
ConstraintGetter represents a architecture constraint parser.
DiffSide represents one side of a bundle-model diff.
EntityType holds entity types ("application" or "machine").