fixtures

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizedMap

func SanitizedMap(in map[string]interface{}) map[string]interface{}

SanitizedMap removes empty values from map

func SetupKeystoneMock

func SetupKeystoneMock(t *testing.T, userID, projectName string, enabled EnabledMocks)

Types

type EnabledMocks

type EnabledMocks struct {
	TokenPost      bool
	TokenGet       bool
	TokenDelete    bool
	PasswordChange bool
	ProjectList    bool
	UserPost       bool
	UserDelete     bool
}

Jump to

Keyboard shortcuts

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