planner

package
v0.1.1-master-4 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package planner is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockService) LoadConfig

func (m *MockService) LoadConfig(ctx context.Context) (*network.Config, error)

LoadConfig mocks base method

func (*MockService) Suggest

func (m *MockService) Suggest(ctx context.Context, filter string) ([]network.RangeConfig, error)

Suggest mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) LoadConfig

func (mr *MockServiceMockRecorder) LoadConfig(ctx interface{}) *gomock.Call

LoadConfig indicates an expected call of LoadConfig

func (*MockServiceMockRecorder) Suggest

func (mr *MockServiceMockRecorder) Suggest(ctx, filter interface{}) *gomock.Call

Suggest indicates an expected call of Suggest

type Service

type Service interface {
	LoadConfig(ctx context.Context) (config *networkv1.Config, err error)
	Suggest(ctx context.Context, filter string) (rangeConfigs []networkv1.RangeConfig, err error)
}

func NewService

func NewService(ctx context.Context, gcpClient gcp.Client, configPath string) (Service, error)

Jump to

Keyboard shortcuts

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