v1

package
v0.0.0-...-1e5aeb1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetworkPolicies = "netpol"
)

Variables

View Source
var NetPolManager = &NetPolMgr{
	staticList:   &k8sNetworkingV1.NetworkPolicyList{},
	elemTemplate: &k8sNetworkingV1.NetworkPolicy{},
}

Functions

Types

type NetPolConfig

type NetPolConfig struct {
	Name string
	UUID string
}

type NetPolMgr

type NetPolMgr struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*NetPolMgr) AddElements

func (n *NetPolMgr) AddElements(elem int64) int64

func (*NetPolMgr) List

func (n *NetPolMgr) List(start, limit int64) (k8sRuntime.Object, error)

func (*NetPolMgr) NewInterface

func (*NetPolMgr) NewInterface() k8sRuntime.Object

func (*NetPolMgr) NewListInterface

func (*NetPolMgr) NewListInterface() k8sRuntime.Object

func (*NetPolMgr) SetList

func (n *NetPolMgr) SetList(obj k8sRuntime.Object) error

func (*NetPolMgr) SetObj

func (n *NetPolMgr) SetObj(obj k8sRuntime.Object) error

Jump to

Keyboard shortcuts

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