podobj

package
v0.0.0-...-9649b88 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodObj

type PodObj struct {
	PortRole podrole.PortRole
	podrole.PodDataRole
	BuildPodRole podrole.PodBuilderRole

	MangerClient manager.ManagerClient
	PortObjs     []*portobj.PortObj
}

func CreatePodObj

func CreatePodObj(cniParam *cni.CniParam, pod *monitor.Pod) (*PodObj, error)

func (*PodObj) TransformAgtPodReq

func (self *PodObj) TransformAgtPodReq() (*agtmgr.AgentPodReq, error)

type PodObjRepo

type PodObjRepo struct {
}

func GetPodObjRepoSingleton

func GetPodObjRepoSingleton() *PodObjRepo

func (*PodObjRepo) Add

func (this *PodObjRepo) Add(podObj *PodObj) error

func (*PodObjRepo) Get

func (this *PodObjRepo) Get(key string) *PodObj

func (*PodObjRepo) Remove

func (this *PodObjRepo) Remove(cniParam *cni.CniParam)

func (*PodObjRepo) Update

func (this *PodObjRepo) Update(key string, value *PodObj)

Jump to

Keyboard shortcuts

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