Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consul ¶
type Consul interface { // SyncIntetions will update the list of intentions in Consul to match // the provided source and destinations SyncIntentions(source []string, destination string) error }
Consul defines an interface for a Consul client
type ConsulImpl ¶
type ConsulImpl struct {
// contains filtered or unexported fields
}
ConsulImpl concrete implementation of the Consul client interface
func (*ConsulImpl) SyncIntentions ¶
func (c *ConsulImpl) SyncIntentions(source []string, destination string) error
SyncIntentions will update the list of intentions in Consul to match the provided source and destinations
type ConsulMock ¶
ConsulMock is a mock implementation of the Consul client
func (*ConsulMock) SyncIntentions ¶
func (c *ConsulMock) SyncIntentions(source []string, destination string) error
SyncIntentions syncs the intentions in Consul
Click to show internal directories.
Click to hide internal directories.