caps

package
v3.0.0-beta-rc.1+incom... Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Caps

type Caps struct {
	API          []string
	OwnerVOL     []string
	NoneOwnerVOL []string
}

Caps defines the capability type

func (*Caps) ContainCaps

func (c *Caps) ContainCaps(cat string, cap string) (r bool)

ContainCaps whether contain a capability with kind

func (*Caps) Delete

func (c *Caps) Delete(caps *Caps)

Delete delete caps

func (*Caps) Dump

func (c *Caps) Dump() (d string)

Dump dump the content of Caps

func (*Caps) Init

func (c *Caps) Init(b []byte) (err error)

Init init a Caps instance

func (*Caps) Union

func (c *Caps) Union(caps *Caps)

Union union caps

Jump to

Keyboard shortcuts

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