servicestatetest

package
v0.0.0-...-20647f5 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: GPL-3.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, services []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