Help us shape the future of Go! Take the 2026 Go Developer Survey

fixtures

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 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
	UserPatch       bool
	UserList        bool
	UserDelete      bool
	UserGet         bool
	GroupList       bool
	AvailDomainList bool
}

Jump to

Keyboard shortcuts

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