common

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NodeNameFromCtx added in v1.4.1

func NodeNameFromCtx(ctx context.Context) string

func NodeNameWithCtx added in v1.4.1

func NodeNameWithCtx(ctx context.Context, name string) context.Context

func UpdatePodENI added in v1.2.1

func UpdatePodENI(ctx context.Context, c client.Client, update *v1beta1.PodENI) (*v1beta1.PodENI, error)

UpdatePodENI update cr

func UpdatePodENIStatus added in v1.2.1

func UpdatePodENIStatus(ctx context.Context, c client.Client, update *v1beta1.PodENI) (*v1beta1.PodENI, error)

UpdatePodENIStatus set cr status

Types

type NodeInfo added in v1.1.1

type NodeInfo struct {
	NodeName   string
	InstanceID string
	ZoneID     string
	TrunkENIID string
}

NodeInfo is the type describe the eni config for this pod

Jump to

Keyboard shortcuts

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