servicestatetest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: Apache-2.0 Imports: 4 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, resourceLimits quota.Resources) 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