knitterrole

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: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParamBuilderRole

type ParamBuilderRole struct {
}

func (*ParamBuilderRole) Transform

func (this *ParamBuilderRole) Transform(reqBody []byte) (*cni.CniParam, *skel.CmdArgs, error)

type PodProtectionRole

type PodProtectionRole struct {
	PodNs       string
	PodName     string
	ContainerID string
}

func (PodProtectionRole) IsDetaching

func (this PodProtectionRole) IsDetaching() bool

func (PodProtectionRole) RemoveDetachingTag

func (this PodProtectionRole) RemoveDetachingTag()

func (PodProtectionRole) TryAddDetachingTag

func (this PodProtectionRole) TryAddDetachingTag() bool

type PodTableRole

type PodTableRole struct {
	// contains filtered or unexported fields
}

func GetPodTableSingleton

func GetPodTableSingleton() *PodTableRole

func (*PodTableRole) Delete

func (this *PodTableRole) Delete(podNs, podName, containerID string)

func (*PodTableRole) IsExisted

func (this *PodTableRole) IsExisted(podNs, podName, containerID string) bool

func (*PodTableRole) TryInsert

func (this *PodTableRole) TryInsert(podNs, podName, containerID string) bool

Jump to

Keyboard shortcuts

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