Documentation ¶
Index ¶
- type DockerBuilder
- func (_m *DockerBuilder) BuildSource(ctx context.Context, srcPath string) error
- func (_m *DockerBuilder) PullBuilderImage(ctx context.Context) error
- func (_m *DockerBuilder) RenameCodeWasm(name string) error
- func (_m *DockerBuilder) Setup(client docker.DockerClient, language string, dest string) error
- type DockerShell
- func (_m *DockerShell) ComposeDown(ctx context.Context, composeFilePath string) error
- func (_m *DockerShell) ComposeList(ctx context.Context) ([]string, error)
- func (_m *DockerShell) ComposeUp(ctx context.Context, composeFilePath string) error
- func (_m *DockerShell) LogTokens(ctx context.Context) error
- type FnHandler
- func (_m *FnHandler) Create(ctx context.Context, fnName string, fnMod string, code *os.File) error
- func (_m *FnHandler) Delete(ctx context.Context, fnName string, fnMod string) error
- func (_m *FnHandler) Invoke(ctx context.Context, fnName string, fnMod string, ...) (pkg.IvkResult, error)
- func (_m *FnHandler) Update(ctx context.Context, fnName string, fnMod string, code *os.File, ...) error
- type InputValidatorHandler
- type KubernetesDeployer
- func (_m *KubernetesDeployer) CreateCoreSecrets(ctx context.Context) error
- func (_m *KubernetesDeployer) CreateNamespace(ctx context.Context) error
- func (_m *KubernetesDeployer) CreatePrometheusConfigMap(ctx context.Context) error
- func (_m *KubernetesDeployer) CreateRole(ctx context.Context) error
- func (_m *KubernetesDeployer) CreateRoleBinding(ctx context.Context) error
- func (_m *KubernetesDeployer) CreateSvcAccount(ctx context.Context) error
- func (_m *KubernetesDeployer) DeployCore(ctx context.Context) error
- func (_m *KubernetesDeployer) DeployCoreService(ctx context.Context) error
- func (_m *KubernetesDeployer) DeployPostgres(ctx context.Context) error
- func (_m *KubernetesDeployer) DeployPostgresService(ctx context.Context) error
- func (_m *KubernetesDeployer) DeployPrometheus(ctx context.Context) error
- func (_m *KubernetesDeployer) DeployPrometheusService(ctx context.Context) error
- func (_m *KubernetesDeployer) DeployWorker(ctx context.Context) error
- func (_m *KubernetesDeployer) ExtractTokens(ctx context.Context, stdout *bytes.Buffer, stderr *bytes.Buffer) error
- func (_m *KubernetesDeployer) StartInitPostgres(ctx context.Context) error
- func (_m *KubernetesDeployer) WithConfig(config string) error
- type KubernetesRemover
- type ModHandler
- func (_m *ModHandler) Create(ctx context.Context, modName string) error
- func (_m *ModHandler) Delete(ctx context.Context, modName string) error
- func (_m *ModHandler) Get(ctx context.Context, modName string) (pkg.SingleModule, error)
- func (_m *ModHandler) List(ctx context.Context) (pkg.ModuleNameList, error)
- func (_m *ModHandler) Update(ctx context.Context, modName string, newName string) error
- type UserHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerBuilder ¶ added in v0.2.0
DockerBuilder is an autogenerated mock type for the DockerBuilder type
func NewDockerBuilder ¶ added in v0.2.0
func NewDockerBuilder(t mockConstructorTestingTNewDockerBuilder) *DockerBuilder
NewDockerBuilder creates a new instance of DockerBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DockerBuilder) BuildSource ¶ added in v0.2.0
func (_m *DockerBuilder) BuildSource(ctx context.Context, srcPath string) error
BuildSource provides a mock function with given fields: ctx, srcPath
func (*DockerBuilder) PullBuilderImage ¶ added in v0.2.0
func (_m *DockerBuilder) PullBuilderImage(ctx context.Context) error
PullBuilderImage provides a mock function with given fields: ctx
func (*DockerBuilder) RenameCodeWasm ¶ added in v0.3.0
func (_m *DockerBuilder) RenameCodeWasm(name string) error
RenameCodeWasm provides a mock function with given fields: name
func (*DockerBuilder) Setup ¶ added in v0.2.0
func (_m *DockerBuilder) Setup(client docker.DockerClient, language string, dest string) error
Setup provides a mock function with given fields: client, language, dest
type DockerShell ¶ added in v0.3.0
DockerShell is an autogenerated mock type for the DockerShell type
func NewDockerShell ¶ added in v0.3.0
func NewDockerShell(t mockConstructorTestingTNewDockerShell) *DockerShell
NewDockerShell creates a new instance of DockerShell. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DockerShell) ComposeDown ¶ added in v0.3.0
func (_m *DockerShell) ComposeDown(ctx context.Context, composeFilePath string) error
ComposeDown provides a mock function with given fields: ctx, composeFilePath
func (*DockerShell) ComposeList ¶ added in v0.4.0
func (_m *DockerShell) ComposeList(ctx context.Context) ([]string, error)
ComposeList provides a mock function with given fields: ctx
type FnHandler ¶
FnHandler is an autogenerated mock type for the FnHandler type
func NewFnHandler ¶
func NewFnHandler(t mockConstructorTestingTNewFnHandler) *FnHandler
NewFnHandler creates a new instance of FnHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FnHandler) Create ¶
Create provides a mock function with given fields: ctx, fnName, fnMod, code
type InputValidatorHandler ¶ added in v0.3.0
InputValidatorHandler is an autogenerated mock type for the InputValidatorHandler type
func NewInputValidatorHandler ¶ added in v0.3.0
func NewInputValidatorHandler(t mockConstructorTestingTNewInputValidatorHandler) *InputValidatorHandler
NewInputValidatorHandler creates a new instance of InputValidatorHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*InputValidatorHandler) ValidateName ¶ added in v0.3.0
func (_m *InputValidatorHandler) ValidateName(name string, entity string) error
ValidateName provides a mock function with given fields: name, entity
type KubernetesDeployer ¶ added in v0.3.0
KubernetesDeployer is an autogenerated mock type for the KubernetesDeployer type
func NewKubernetesDeployer ¶ added in v0.3.0
func NewKubernetesDeployer(t mockConstructorTestingTNewKubernetesDeployer) *KubernetesDeployer
NewKubernetesDeployer creates a new instance of KubernetesDeployer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*KubernetesDeployer) CreateCoreSecrets ¶ added in v0.4.0
func (_m *KubernetesDeployer) CreateCoreSecrets(ctx context.Context) error
CreateCoreSecrets provides a mock function with given fields: ctx
func (*KubernetesDeployer) CreateNamespace ¶ added in v0.3.0
func (_m *KubernetesDeployer) CreateNamespace(ctx context.Context) error
CreateNamespace provides a mock function with given fields: ctx
func (*KubernetesDeployer) CreatePrometheusConfigMap ¶ added in v0.3.0
func (_m *KubernetesDeployer) CreatePrometheusConfigMap(ctx context.Context) error
CreatePrometheusConfigMap provides a mock function with given fields: ctx
func (*KubernetesDeployer) CreateRole ¶ added in v0.3.0
func (_m *KubernetesDeployer) CreateRole(ctx context.Context) error
CreateRole provides a mock function with given fields: ctx
func (*KubernetesDeployer) CreateRoleBinding ¶ added in v0.3.0
func (_m *KubernetesDeployer) CreateRoleBinding(ctx context.Context) error
CreateRoleBinding provides a mock function with given fields: ctx
func (*KubernetesDeployer) CreateSvcAccount ¶ added in v0.3.0
func (_m *KubernetesDeployer) CreateSvcAccount(ctx context.Context) error
CreateSvcAccount provides a mock function with given fields: ctx
func (*KubernetesDeployer) DeployCore ¶ added in v0.3.0
func (_m *KubernetesDeployer) DeployCore(ctx context.Context) error
DeployCore provides a mock function with given fields: ctx
func (*KubernetesDeployer) DeployCoreService ¶ added in v0.3.0
func (_m *KubernetesDeployer) DeployCoreService(ctx context.Context) error
DeployCoreService provides a mock function with given fields: ctx
func (*KubernetesDeployer) DeployPostgres ¶ added in v0.4.0
func (_m *KubernetesDeployer) DeployPostgres(ctx context.Context) error
DeployPostgres provides a mock function with given fields: ctx
func (*KubernetesDeployer) DeployPostgresService ¶ added in v0.4.0
func (_m *KubernetesDeployer) DeployPostgresService(ctx context.Context) error
DeployPostgresService provides a mock function with given fields: ctx
func (*KubernetesDeployer) DeployPrometheus ¶ added in v0.3.0
func (_m *KubernetesDeployer) DeployPrometheus(ctx context.Context) error
DeployPrometheus provides a mock function with given fields: ctx
func (*KubernetesDeployer) DeployPrometheusService ¶ added in v0.3.0
func (_m *KubernetesDeployer) DeployPrometheusService(ctx context.Context) error
DeployPrometheusService provides a mock function with given fields: ctx
func (*KubernetesDeployer) DeployWorker ¶ added in v0.3.0
func (_m *KubernetesDeployer) DeployWorker(ctx context.Context) error
DeployWorker provides a mock function with given fields: ctx
func (*KubernetesDeployer) ExtractTokens ¶ added in v0.4.0
func (_m *KubernetesDeployer) ExtractTokens(ctx context.Context, stdout *bytes.Buffer, stderr *bytes.Buffer) error
ExtractTokens provides a mock function with given fields: ctx, stdout, stderr
func (*KubernetesDeployer) StartInitPostgres ¶ added in v0.4.0
func (_m *KubernetesDeployer) StartInitPostgres(ctx context.Context) error
StartInitPostgres provides a mock function with given fields: ctx
func (*KubernetesDeployer) WithConfig ¶ added in v0.3.0
func (_m *KubernetesDeployer) WithConfig(config string) error
WithConfig provides a mock function with given fields: config
type KubernetesRemover ¶ added in v0.3.0
KubernetesRemover is an autogenerated mock type for the KubernetesRemover type
func NewKubernetesRemover ¶ added in v0.3.0
func NewKubernetesRemover(t mockConstructorTestingTNewKubernetesRemover) *KubernetesRemover
NewKubernetesRemover creates a new instance of KubernetesRemover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*KubernetesRemover) RemoveNamespace ¶ added in v0.3.0
func (_m *KubernetesRemover) RemoveNamespace(ctx context.Context) error
RemoveNamespace provides a mock function with given fields: ctx
func (*KubernetesRemover) WithConfig ¶ added in v0.3.0
func (_m *KubernetesRemover) WithConfig(config string) error
WithConfig provides a mock function with given fields: config
type ModHandler ¶ added in v0.3.0
ModHandler is an autogenerated mock type for the ModHandler type
func NewModHandler ¶ added in v0.3.0
func NewModHandler(t mockConstructorTestingTNewModHandler) *ModHandler
NewModHandler creates a new instance of ModHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ModHandler) Create ¶ added in v0.3.0
func (_m *ModHandler) Create(ctx context.Context, modName string) error
Create provides a mock function with given fields: ctx, modName
func (*ModHandler) Delete ¶ added in v0.3.0
func (_m *ModHandler) Delete(ctx context.Context, modName string) error
Delete provides a mock function with given fields: ctx, modName
func (*ModHandler) Get ¶ added in v0.3.0
func (_m *ModHandler) Get(ctx context.Context, modName string) (pkg.SingleModule, error)
Get provides a mock function with given fields: ctx, modName
func (*ModHandler) List ¶ added in v0.3.0
func (_m *ModHandler) List(ctx context.Context) (pkg.ModuleNameList, error)
List provides a mock function with given fields: ctx
type UserHandler ¶ added in v0.4.0
UserHandler is an autogenerated mock type for the UserHandler type
func NewUserHandler ¶ added in v0.4.0
func NewUserHandler(t mockConstructorTestingTNewUserHandler) *UserHandler
NewUserHandler creates a new instance of UserHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*UserHandler) Create ¶ added in v0.4.0
func (_m *UserHandler) Create(ctx context.Context, name string) (pkg.UserNameToken, error)
Create provides a mock function with given fields: ctx, name
func (*UserHandler) List ¶ added in v0.4.0
func (_m *UserHandler) List(ctx context.Context) (pkg.UserNamesList, error)
List provides a mock function with given fields: ctx