stubs

package
v0.0.0-...-ba09527 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StubAttachRolePolicy

func StubAttachRolePolicy(roleName string, policyArn string, raiseErr *testtools.StubError) testtools.Stub

func StubCreateFunction

func StubCreateFunction(funcName string, zipBytes []byte, roleArn string, handler string,
	publish bool, runtime types.Runtime, state types.State, raiseErr *testtools.StubError) testtools.Stub

func StubCreateRole

func StubCreateRole(roleName string, trustPol string, roleArn string, raiseErr *testtools.StubError) testtools.Stub

func StubDeleteFunction

func StubDeleteFunction(funcName string, raiseErr *testtools.StubError) testtools.Stub

func StubDeleteRole

func StubDeleteRole(roleName string, raiseErr *testtools.StubError) testtools.Stub

func StubDetachRolePolicy

func StubDetachRolePolicy(roleName string, policyArn string, raiseErr *testtools.StubError) testtools.Stub

func StubGetFunction

func StubGetFunction(funcName string, state types.State, updateStatus types.LastUpdateStatus,
	raiseErr *testtools.StubError) testtools.Stub

func StubGetRole

func StubGetRole(roleName string, roleArn string, raiseErr *testtools.StubError) testtools.Stub

func StubInvoke

func StubInvoke(funcName string, logType types.LogType, inputPayload []byte, resultPayload []byte, logResult string,
	raiseErr *testtools.StubError) testtools.Stub

func StubListAttachedRolePolicies

func StubListAttachedRolePolicies(roleName string, policyArns []string, raiseErr *testtools.StubError) testtools.Stub

func StubListFunctions

func StubListFunctions(maxItems int, funcNames []string, raiseErr *testtools.StubError) testtools.Stub

func StubUpdateFunctionCode

func StubUpdateFunctionCode(funcName string, zipBytes []byte, state types.State, raiseErr *testtools.StubError) testtools.Stub

func StubUpdateFunctionConfiguration

func StubUpdateFunctionConfiguration(funcName string, envVars map[string]string, raiseErr *testtools.StubError) testtools.Stub

Types

This section is empty.

Jump to

Keyboard shortcuts

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