Skip to content

Commit

Permalink
Adds mock for InstanceConfigurator.
Browse files Browse the repository at this point in the history
  • Loading branch information
manadart committed Jun 5, 2019
1 parent e60ebd1 commit 2eedf9e
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
1 change: 1 addition & 0 deletions provider/common/instance_configurator.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const (

// Implementations of this interface should provide a way to configure external
// IP allocation and add firewall functionality.
//go:generate mockgen -package mocks -destination mocks/instance_configurator.go github.com/juju/juju/provider/common InstanceConfigurator
type InstanceConfigurator interface {

// Close all ports.
Expand Down
83 changes: 83 additions & 0 deletions provider/common/mocks/instance_configurator.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2eedf9e

Please sign in to comment.