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")
Functions ¶
func NewHandler ¶
func NewHandler(controller *ENIConfigController) sdk.Handler
NewHandler creates a new handler for sdk
Types ¶
type ENIConfig ¶
type ENIConfig interface { MyENIConfig() (*v1alpha1.ENIConfigSpec, error) Getter() *ENIConfigInfo }
type ENIConfigController ¶
type ENIConfigController struct {
// contains filtered or unexported fields
}
ENIConfigController defines global context for ENIConfig controller
func NewENIConfigController ¶
func NewENIConfigController() *ENIConfigController
NewENIConfigController creates a new ENIConfig controller
func (*ENIConfigController) Getter ¶
func (eniCfg *ENIConfigController) Getter() *ENIConfigInfo
func (*ENIConfigController) MyENIConfig ¶
func (eniCfg *ENIConfigController) MyENIConfig() (*v1alpha1.ENIConfigSpec, error)
MyENIConfig returns the security
func (*ENIConfigController) Start ¶
func (eniCfg *ENIConfigController) Start()
Start kicks off ENIConfig controller
type ENIConfigInfo ¶
type ENIConfigInfo struct { ENI map[string]v1alpha1.ENIConfigSpec MyENI string }
ENIConfigInfo returns locally cached ENIConfigs
Click to show internal directories.
Click to hide internal directories.