manager

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEdgeLBManager

type MockEdgeLBManager struct {
	mock.Mock
}

MockEdgeLBManager is a mock implementation of the "EdgeLBManager" interface.

func (*MockEdgeLBManager) CreatePool

CreatePool creates the specified EdgeLB pool in the EdgeLB API server.

func (*MockEdgeLBManager) DeletePool

func (m *MockEdgeLBManager) DeletePool(ctx context.Context, name string) error

DeletePool deletes the EdgeLB pool with the specified name.

func (*MockEdgeLBManager) GetPool

func (m *MockEdgeLBManager) GetPool(ctx context.Context, name string) (*edgelbmodels.V2Pool, error)

GetPool returns the EdgeLB pool with the specified name.

func (*MockEdgeLBManager) GetPoolMetadata

func (m *MockEdgeLBManager) GetPoolMetadata(ctx context.Context, name string) (*edgelbmodels.V2PoolMetadata, error)

GetPoolMetadata returns the metadata associated with the specified EdgeLB pool

func (*MockEdgeLBManager) GetPools

func (m *MockEdgeLBManager) GetPools(ctx context.Context) ([]*edgelbmodels.V2Pool, error)

GetPools returns the list of EdgeLB pools known to the EdgeLB API server.

func (*MockEdgeLBManager) GetVersion

func (m *MockEdgeLBManager) GetVersion(ctx context.Context) (string, error)

GetVersion returns the current version of EdgeLB.

func (*MockEdgeLBManager) PoolGroup

func (m *MockEdgeLBManager) PoolGroup() string

PoolGroup returns the DC/OS service group in which to create EdgeLB pools.

func (*MockEdgeLBManager) UpdatePool

UpdatePool updates the specified EdgeLB pool in the EdgeLB API server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL