github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/worker/caasapplicationprovisioner/doc.go (about)

     1  // Copyright 2023 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  // Package caasapplicationprovisioner defines two types of worker:
     5  //   - provisioner: Watches a Kubernetes model and starts a new worker
     6  //     of the appWorker type whenever an application is created.
     7  //   - appWorker: Drives the Kubernetes provider to create, manage,
     8  //     and destroy Kubernetes resources to match a requested state. Also
     9  //     writes the state of created resources (application/unit status,
    10  //     application/unit IP addresses & ports, filesystem info, etc.)
    11  //     back into the database.
    12  package caasapplicationprovisioner