environmentvariables

package
v1.14.3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package environmentvariables is a generated GoMock package.

Package environmentvariables is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEnvVarsController

func NewEnvVarsController() models.Controller

NewEnvVarsController Constructor

Types

type EnvVarsHandler

type EnvVarsHandler interface {
	GetComponentEnvVars(appName string, envName string, componentName string) ([]envvarsmodels.EnvVar, error)
	ChangeEnvVar(appName, envName, componentName string, envVarsParams []envvarsmodels.EnvVarParameter) error
}

func Init

Init Constructor. Use the WithAccounts configuration function to configure a 'ready to use' EnvVarsHandler. EnvVarsHandlerOptions are processed in the sequence they are passed to this function.

type EnvVarsHandlerOptions

type EnvVarsHandlerOptions func(*envVarsHandler)

EnvVarsHandlerOptions defines a configuration function

func WithAccounts

func WithAccounts(accounts models.Accounts) EnvVarsHandlerOptions

WithAccounts configures all EnvVarsHandler fields

type MockEnvVarsHandler

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

MockEnvVarsHandler is a mock of EnvVarsHandler interface.

func NewMockEnvVarsHandler

func NewMockEnvVarsHandler(ctrl *gomock.Controller) *MockEnvVarsHandler

NewMockEnvVarsHandler creates a new mock instance.

func (*MockEnvVarsHandler) ChangeEnvVar

func (m *MockEnvVarsHandler) ChangeEnvVar(appName, envName, componentName string, envVarsParams []models.EnvVarParameter) error

ChangeEnvVar mocks base method.

func (*MockEnvVarsHandler) EXPECT

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

func (*MockEnvVarsHandler) GetComponentEnvVars

func (m *MockEnvVarsHandler) GetComponentEnvVars(appName, envName, componentName string) ([]models.EnvVar, error)

GetComponentEnvVars mocks base method.

type MockEnvVarsHandlerMockRecorder

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

MockEnvVarsHandlerMockRecorder is the mock recorder for MockEnvVarsHandler.

func (*MockEnvVarsHandlerMockRecorder) ChangeEnvVar

func (mr *MockEnvVarsHandlerMockRecorder) ChangeEnvVar(appName, envName, componentName, envVarsParams interface{}) *gomock.Call

ChangeEnvVar indicates an expected call of ChangeEnvVar.

func (*MockEnvVarsHandlerMockRecorder) GetComponentEnvVars

func (mr *MockEnvVarsHandlerMockRecorder) GetComponentEnvVars(appName, envName, componentName interface{}) *gomock.Call

GetComponentEnvVars indicates an expected call of GetComponentEnvVars.

type MockenvVarsHandlerFactory

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

MockenvVarsHandlerFactory is a mock of envVarsHandlerFactory interface.

func NewMockenvVarsHandlerFactory

func NewMockenvVarsHandlerFactory(ctrl *gomock.Controller) *MockenvVarsHandlerFactory

NewMockenvVarsHandlerFactory creates a new mock instance.

func (*MockenvVarsHandlerFactory) EXPECT

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

type MockenvVarsHandlerFactoryMockRecorder

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

MockenvVarsHandlerFactoryMockRecorder is the mock recorder for MockenvVarsHandlerFactory.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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