Documentation ¶
Overview ¶
Package eniconfig handles eniconfig CRD
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoENIConfig = errors.New("eniconfig: eniconfig is not available")
ErrNoENIConfig is the missing ENIConfig error
Functions ¶
func GetNodeSpecificENIConfigName ¶ added in v1.8.0
func MyENIConfig ¶ added in v1.8.0
MyENIConfig returns the ENIConfig applicable to the particular node
Types ¶
type ENIConfig ¶
type ENIConfig interface { MyENIConfig(client.Client) (*v1alpha1.ENIConfigSpec, error) GetENIConfigName(context.Context, client.Client) (string, error) }
ENIConfig interface
type ENIConfigInfo ¶
type ENIConfigInfo struct { ENI map[string]v1alpha1.ENIConfigSpec MyENI string EniConfigAnnotationDef string EniConfigLabelDef string }
ENIConfigInfo returns locally cached ENIConfigs
Click to show internal directories.
Click to hide internal directories.