store

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EgressGroupKeyFunc

func EgressGroupKeyFunc(obj interface{}) (string, error)

EgressGroupKeyFunc knows how to get the key of an EgressGroup.

func NewEgressGroupStore

func NewEgressGroupStore() storage.Interface

NewEgressGroupStore creates a store of EgressGroup.

func ToEgressGroupMsg

func ToEgressGroupMsg(in *types.EgressGroup, out *controlplane.EgressGroup, includeBody bool, nodeName *string)

ToEgressGroupMsg converts the stored EgressGroup to its message form. If includeBody is true, GroupMembers will be copied. If nodeName is provided, only GroupMembers that hosted by the Node will be copied.

Types

This section is empty.

Jump to

Keyboard shortcuts

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