Directories ¶
Path | Synopsis |
---|---|
Package auth provides common types and functions for aiding in authentication within Juju.
|
Package auth provides common types and functions for aiding in authentication within Juju. |
bundle
|
|
changestream
|
|
Package charm represents the wire protocol for the charm.
|
Package charm represents the wire protocol for the charm. |
charmdownloader
Package charmdownloader is responsible for downloading charms and bundles from the charm store.
|
Package charmdownloader is responsible for downloading charms and bundles from the charm store. |
downloader
Package downloader is deprecated use charmdownloader instead.
|
Package downloader is deprecated use charmdownloader instead. |
downloader/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
repository/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package charmhub is an HTTP client for sending requests to the Charmhub API.
|
Package charmhub is an HTTP client for sending requests to the Charmhub API. |
path
Package path defines helpers for constructing Charmhub API URL paths.
|
Package path defines helpers for constructing Charmhub API URL paths. |
transport
Package transport defines the request and response structs for use with the Charmhub API client.
|
Package transport defines the request and response structs for use with the Charmhub API client. |
cloudinit
Package cloudinit implements a way of creating a cloud-init configuration file.
|
Package cloudinit implements a way of creating a cloud-init configuration file. |
providerinit
Package providerinit offers userdata in a gzipped format to be used by different cloud providers.
|
Package providerinit offers userdata in a gzipped format to be used by different cloud providers. |
providerinit/renderers
Package renderers implements a way to encode the userdata depending on the OS and the provider.
|
Package renderers implements a way to encode the userdata depending on the OS and the provider. |
broker/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
lxd/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
lxd/testing
Package testing contains the testing infrastructure to mock out the LXD API.
|
Package testing contains the testing infrastructure to mock out the LXD API. |
testing
Code generated by MockGen.
|
Code generated by MockGen. |
registry/internal/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
registry/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package errors implements a set of error helpers and proxies on to standard go errors for use within Juju.
|
Package errors implements a set of error helpers and proxies on to standard go errors for use within Juju. |
Package featureflag gives other parts of Juju the ability to easily check to see if a feature flag has been defined.
|
Package featureflag gives other parts of Juju the ability to easily check to see if a feature flag has been defined. |
mongometrics
Package mongometrics contains MongodB-related Prometheus metric collectors.
|
Package mongometrics contains MongodB-related Prometheus metric collectors. |
mongotest
Package mongotest is a generated GoMock package.
|
Package mongotest is a generated GoMock package. |
observability
|
|
probe
Package probe provides a common set of interfaces and default implementations to facilitate probe support over many packages in Juju.
|
Package probe provides a common set of interfaces and default implementations to facilitate probe support over many packages in Juju. |
commands
Package commands contains an interface which returns common package-manager related commands and the reference implementation for apt and yum-based systems.
|
Package commands contains an interface which returns common package-manager related commands and the reference implementation for apt and yum-based systems. |
config
Package config defines an interface which returns packaging-related configuration options and operations depending on the desired package-management system.
|
Package config defines an interface which returns packaging-related configuration options and operations depending on the desired package-management system. |
manager
Package manager defines an interface which can carry out numerous package-management related operations on the local system and the respective implementations on apt and yum-based systems.
|
Package manager defines an interface which can carry out numerous package-management related operations on the local system and the respective implementations on apt and yum-based systems. |
manager/testing
Package testing contains a mock implementation of the manager.PackageManager interface which always returns positive outcomes and a nil error.
|
Package testing contains a mock implementation of the manager.PackageManager interface which always returns positive outcomes and a nil error. |
provider
|
|
azure
Package azure implements the Azure provider, registered with the environs registry under the name "azure".
|
Package azure implements the Azure provider, registered with the environs registry under the name "azure". |
common/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
dummy
Package dummy implements an environment provider for testing purposes, registered with environs under the name "dummy".
|
Package dummy implements an environment provider for testing purposes, registered with environs under the name "dummy". |
equinix/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
lxd/lxdnames
Package lxdnames provides names for the LXD provider.
|
Package lxdnames provides names for the LXD provider. |
oci/testing
Code generated by MockGen.
|
Code generated by MockGen. |
openstack
Package openstack implements the OpenStack provider, registered with environs under the name "openstack".
|
Package openstack implements the OpenStack provider, registered with environs under the name "openstack". |
vsphere/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
pubsub
|
|
agent
Package agent contains messages for all agents rather than controllers.
|
Package agent contains messages for all agents rather than controllers. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package secrets provides the service layer for the various secrets backends.
|
Package secrets provides the service layer for the various secrets backends. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
provider/juju
Package juju provides the juju secrets backend.
|
Package juju provides the juju secrets backend. |
provider/kubernetes
Package kubernetes provides the kubernetes secrets backend.
|
Package kubernetes provides the kubernetes secrets backend. |
provider/kubernetes/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
provider/vault
Package vault provides the vault secrets backend.
|
Package vault provides the vault secrets backend. |
provider/vault/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
pebble/identity
Package identity defines the various types to work with the Pebble identities file.
|
Package identity defines the various types to work with the Pebble identities file. |
pebble/plan
Package plan defines the various types to work with the Pebble plan and layers.
|
Package plan defines the various types to work with the Pebble plan and layers. |
snap
Package snap manages installing and running snaps.
|
Package snap manages installing and running snaps. |
Package socketlistener provides a worker that will listen on a specified unix socket identified by a file descriptor.
|
Package socketlistener provides a worker that will listen on a specified unix socket identified by a file descriptor. |
importer
Package importer provides a means for importing public ssh keys from a well known internet based location such as Github or Launchpad.
|
Package importer provides a means for importing public ssh keys from a well known internet based location such as Github or Launchpad. |
Package storage defines structures and functions relating to charm storage.
|
Package storage defines structures and functions relating to charm storage. |
Package upgrades provides infrastructure to upgrade previous Juju deployments to the current Juju version.
|
Package upgrades provides infrastructure to upgrade previous Juju deployments to the current Juju version. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
upgradevalidation/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
apiaddressupdater/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
authenticationworker/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
bootstrap
Package bootstrap ensures that when the initial bootstrap process has started that we seed the following:
|
Package bootstrap ensures that when the initial bootstrap process has started that we seed the following: |
caasadmission
Package caasadmission defines the caasadmission worker.
|
Package caasadmission defines the caasadmission worker. |
caasapplicationprovisioner
Package caasapplicationprovisioner defines two types of worker:
|
Package caasapplicationprovisioner defines two types of worker: |
caasapplicationprovisioner/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
caasfirewaller/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
caasmodelconfigmanager/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
caasunitsmanager/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
charmdownloader/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
charmrevision
Package charmrevision defines the charm revision updater worker.
|
Package charmrevision defines the charm revision updater worker. |
computeprovisioner
Package computeprovisioner defines the compute provisioner worker.
|
Package computeprovisioner defines the compute provisioner worker. |
containerbroker
Package containerbroker worker sole responsibility is to manage the lifecycle of a instance-broker.
|
Package containerbroker worker sole responsibility is to manage the lifecycle of a instance-broker. |
containerbroker/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
containerprovisioner
Package containerprovisioner defines the container provisioner worker.
|
Package containerprovisioner defines the container provisioner worker. |
controlleragentconfig
Package controlleragentconfig provides a worker that listens on the "/reload" endpoint of the config change socket and restarts any workers that have requested to watch the config.
|
Package controlleragentconfig provides a worker that listens on the "/reload" endpoint of the config change socket and restarts any workers that have requested to watch the config. |
controlsocket
Package controlsocket defines the controlsocket worker, which exposes a Unix socket that the juju-controller charm can use to affect Juju state.
|
Package controlsocket defines the controlsocket worker, which exposes a Unix socket that the juju-controller charm can use to affect Juju state. |
deployer/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
diskmanager
Package diskmanager defines a worker that periodically lists block devices on the machine it runs on.
|
Package diskmanager defines a worker that periodically lists block devices on the machine it runs on. |
firewaller/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
fortress
Package fortress implements a convenient metaphor for an RWLock.
|
Package fortress implements a convenient metaphor for an RWLock. |
gate
Package gate provides a mechanism by which independent workers can wait for one another to finish a task, without introducing explicit dependencies between those workers.
|
Package gate provides a mechanism by which independent workers can wait for one another to finish a task, without introducing explicit dependencies between those workers. |
httpclient
Package httpclient provides a worker that manages http clients.
|
Package httpclient provides a worker that manages http clients. |
instancemutater
Package instancemutater defines workers that compares the list of lxd profiles applied to a machine with the list of expected profiles based on the application versions which should be running on the machine.
|
Package instancemutater defines workers that compares the list of lxd profiles applied to a machine with the list of expected profiles based on the application versions which should be running on the machine. |
instancemutater/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
instancepoller/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
introspection
Package introspection defines the worker that can report internal agent state through the use of a machine local socket.
|
Package introspection defines the worker that can report internal agent state through the use of a machine local socket. |
introspection/pprof
Package pprof is a fork of net/http/pprof modified to communicate over a unix socket.
|
Package pprof is a fork of net/http/pprof modified to communicate over a unix socket. |
lease
Package lease, also known as the manager, manages the leases used by individual Juju workers.
|
Package lease, also known as the manager, manages the leases used by individual Juju workers. |
logsender/logsendertest
Package logsendertest provides testing utilities related to the logsender package.
|
Package logsendertest provides testing utilities related to the logsender package. |
logsender/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
machineactions/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
pruner/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
reboot/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
remoterelations
Package remoterelations defines workers which manage the operation of cross model relations.
|
Package remoterelations defines workers which manage the operation of cross model relations. |
secretbackendrotate
Package secretbackendrotate provides a worker for tracking and rotating a secret backend token.
|
Package secretbackendrotate provides a worker for tracking and rotating a secret backend token. |
secretbackendrotate/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
secretexpire
Package secretexpire provides a worker for tracking and notifying when a secret revision should expire.
|
Package secretexpire provides a worker for tracking and notifying when a secret revision should expire. |
secretexpire/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
secretrotate
Package secretrotate provides a worker for tracking and notifying when a secret should be rotated.
|
Package secretrotate provides a worker for tracking and notifying when a secret should be rotated. |
secretrotate/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
secretsdrainworker
Package secretsdrainworker provides a worker running on the agent for draining secrets to the new active backend when the model changed secret backend.
|
Package secretsdrainworker provides a worker running on the agent for draining secrets to the new active backend when the model changed secret backend. |
secretsdrainworker/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
secretspruner
Package secretspruner provides a worker for tracking and pruning when a user supplied secret revision is obsolote.
|
Package secretspruner provides a worker for tracking and pruning when a user supplied secret revision is obsolote. |
secretspruner/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
simplesignalhandler
Package simplesignalhandler provides a worker that responds to os signals and returns a pre-defined error from this worker when the signal is received.
|
Package simplesignalhandler provides a worker that responds to os signals and returns a pre-defined error from this worker when the signal is received. |
stateconverter/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
storageprovisioner
Package storageprovisioner provides a worker that manages the provisioning and deprovisioning of storage volumes and filesystems, and attaching them to and detaching them from machines.
|
Package storageprovisioner provides a worker that manages the provisioning and deprovisioning of storage volumes and filesystems, and attaching them to and detaching them from machines. |
uniter
Package uniter is the "uniter" worker which implements the capabilities of the unit agent, for example running a charm's hooks in response to model events.
|
Package uniter is the "uniter" worker which implements the capabilities of the unit agent, for example running a charm's hooks in response to model events. |
uniter/api
Package api defines the api client interfaces used by the uniter and the gomock mocks used in testing.
|
Package api defines the api client interfaces used by the uniter and the gomock mocks used in testing. |
uniter/charm/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
uniter/hook
Package hook provides types that define the hooks known to the Uniter.
|
Package hook provides types that define the hooks known to the Uniter. |
uniter/operation/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
uniter/relation
Package relation implements persistent local storage of a unit's relation state, and translation of relation changes into hooks that need to be run.
|
Package relation implements persistent local storage of a unit's relation state, and translation of relation changes into hooks that need to be run. |
uniter/relation/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
uniter/runner/context
Package context contains the ContextFactory and Context definitions.
|
Package context contains the ContextFactory and Context definitions. |
uniter/runner/context/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
uniter/runner/jujuc
Package jujuc implements the server side of the jujuc proxy tool, which forwards command invocations to the unit agent process so that they can be executed against specific state.
|
Package jujuc implements the server side of the jujuc proxy tool, which forwards command invocations to the unit agent process so that they can be executed against specific state. |
uniter/runner/jujuc/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
uniter/runner/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
uniter/secrets/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
uniter/storage
Package storage contains the storage subsystem for the uniter, responding to changes in storage attachments (lifecycle, volume/filesystem details) by queuing hooks and managing the storage attachments' lifecycle.
|
Package storage contains the storage subsystem for the uniter, responding to changes in storage attachments (lifecycle, volume/filesystem details) by queuing hooks and managing the storage attachments' lifecycle. |
upgrader/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.