network

package
v1.2.49-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: network.go

Generated by this command:

mockgen -source=network.go -package=network -destination=network_mock.go

Package network is a generated GoMock package.

Index

Constants

View Source
const (
	ColorReset  = "\033[0m"
	ColorRed    = "\033[31m"
	ColorGreen  = "\033[32m"
	ColorYellow = "\033[33m"
	ColorBlue   = "\033[34m"
)

Variables

This section is empty.

Functions

func ManualModeHelperMessage

func ManualModeHelperMessage(params map[string]string, tags map[string]string) string

func ParseParams

func ParseParams(params []string) (map[string]string, map[string]string, error)

ParseParams converts the list of parameter strings into a map and sets default values

func SelectTemplate

func SelectTemplate(templateDir, command string) string

SelectTemplate selects the appropriate template file based on the template name

Types

type MockNetworkService

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

MockNetworkService is a mock of NetworkService interface.

func NewMockNetworkService

func NewMockNetworkService(ctrl *gomock.Controller) *MockNetworkService

NewMockNetworkService creates a new mock instance.

func (*MockNetworkService) CreateStack

func (m *MockNetworkService) CreateStack(templateFile *string, templateBody *[]byte, params, tags map[string]string) error

CreateStack mocks base method.

func (*MockNetworkService) EXPECT

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

type MockNetworkServiceMockRecorder

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

MockNetworkServiceMockRecorder is the mock recorder for MockNetworkService.

func (*MockNetworkServiceMockRecorder) CreateStack

func (mr *MockNetworkServiceMockRecorder) CreateStack(templateFile, templateBody, params, tags any) *gomock.Call

CreateStack indicates an expected call of CreateStack.

type NetworkService

type NetworkService interface {
	CreateStack(templateFile *string, templateBody *[]byte, params map[string]string, tags map[string]string) error
}

func NewNetworkService

func NewNetworkService() NetworkService

Jump to

Keyboard shortcuts

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