servicestatetest

package
v0.0.0-...-c7fba9c Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockQuotaInState

func MockQuotaInState(st *state.State, quotaName string, parentName string, snaps []string, memoryLimit quantity.Size) error

func PatchQuotas

func PatchQuotas(st *state.State, grps ...*quota.Group) (map[string]*quota.Group, error)

PatchQuotas will update the state quota group map with the provided quota groups. It exposes internal.PatchQuotas for use in tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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