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
- func ManualModeHelperMessage(params map[string]string, tags map[string]string) string
- func ParseParams(params []string) (map[string]string, map[string]string, error)
- func SelectTemplate(templateDir, command string) string
- type MockNetworkService
- type MockNetworkServiceMockRecorder
- type NetworkService
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 ParseParams ¶
ParseParams converts the list of parameter strings into a map and sets default values
func SelectTemplate ¶
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 ¶
func (m *MockNetworkService) EXPECT() *MockNetworkServiceMockRecorder
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
Click to show internal directories.
Click to hide internal directories.