juju: github.com/juju/juju/worker/fanconfigurer Index | Files

package fanconfigurer

import "github.com/juju/juju/worker/fanconfigurer"

Index

Package Files

fanconfigurer.go manifold.go

func Manifold Uses

func Manifold(config ManifoldConfig) dependency.Manifold

Manifold returns a dependency manifold that runs a fan configurer worker, using the resource names defined in the supplied config.

type FanConfigurer Uses

type FanConfigurer struct {
    // contains filtered or unexported fields
}

func NewFanConfigurer Uses

func NewFanConfigurer(config FanConfigurerConfig, clock clock.Clock) (*FanConfigurer, error)

func (*FanConfigurer) Kill Uses

func (fc *FanConfigurer) Kill()

Kill implements Worker.Kill()

func (*FanConfigurer) Wait Uses

func (fc *FanConfigurer) Wait() error

Wait implements Worker.Wait()

type FanConfigurerConfig Uses

type FanConfigurerConfig struct {
    Facade FanConfigurerFacade
}

type FanConfigurerFacade Uses

type FanConfigurerFacade interface {
    FanConfig() (network.FanConfig, error)
    WatchForFanConfigChanges() (watcher.NotifyWatcher, error)
}

type ManifoldConfig Uses

type ManifoldConfig struct {
    // These are the dependency resource names.
    APICallerName string
    Clock         clock.Clock
}

ManifoldConfig defines the names of the manifolds on which a Manifold will depend.

Package fanconfigurer imports 15 packages (graph) and is imported by 3 packages. Updated 2018-08-22. Refresh now. Tools for package owners.