github.com/juju/juju@v0.0.0-20240327075706-a90865de2538/worker/caasfirewaller/broker.go (about)

     1  // Copyright 2017 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package caasfirewaller
     5  
     6  import "github.com/juju/juju/core/config"
     7  
     8  type ServiceExposer interface {
     9  	ExposeService(appName string, resourceTags map[string]string, config config.ConfigAttributes) error
    10  	UnexposeService(appName string) error
    11  }