dbrole

package
Version: 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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodRole

type PodRole struct {
}

func (PodRole) Delete

func (this PodRole) Delete(cniParam *cni.CniParam)

func (PodRole) DeleteLogicPodDir

func (this PodRole) DeleteLogicPodDir(tanantID, podNs, podName string) error

func (PodRole) GetAllPortJSONList

func (this PodRole) GetAllPortJSONList(tenantID, podNs, podName string, db dbaccessor.DbAccessor) ([]string, error)

func (PodRole) GetAllPorts

func (this PodRole) GetAllPorts(tenantID, podNs, podName string, db dbaccessor.DbAccessor) ([]*client.Node, error)

func (PodRole) Insert

func (this PodRole) Insert(podObj *podobj.PodObj) error

func (PodRole) IsMigration

func (this PodRole) IsMigration(cniParam *cni.CniParam) bool

func (PodRole) IsRestarted

func (this PodRole) IsRestarted(cniParam *cni.CniParam) bool

func (PodRole) SaveLogicPortInfoForPod

func (this PodRole) SaveLogicPortInfoForPod(tanantID, podNs, podName string, ports []*portobj.LogicPortObj) error

Source Files

Jump to

Keyboard shortcuts

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