Skip to content

canonical/juju-interface-basic-auth-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Juju interface for basic-auth-service

This is a Juju interface interface for the basic-auth-service application.

It can be used to relate an application with the with the basic-auth-service charm, and it provides hostnames and ports for the related units.

The interface provides the following states:

  • basic-auth-check.available: the relation has been established
  • basic-auth-check.changed: relation configuration has changed

An example of use in a service related to basic-auth-service is

@when('basic-auth-check.changed')
def basic_auth_check_available(basic_auth_check):
    for hostname, port in basic_auth_check.backends():
        configure_my_service(hostname, int(port))

About

Juju interface for basic-auth-service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages