node

package
v1.4.1-policy Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v1.4.1

type Client struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func GetPoolManager added in v1.4.1

func GetPoolManager(nodeName string) (*Client, error)

func (*Client) GetClient added in v1.4.1

func (c *Client) GetClient() *eni_pool.Manager

func (*Client) GetSynced added in v1.4.1

func (c *Client) GetSynced() bool

func (*Client) SetClient added in v1.4.1

func (c *Client) SetClient(client *eni_pool.Manager)

type ReconcileNode

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

ReconcileNode reconciles node

func NewReconcileNode

func NewReconcileNode(mgr manager.Manager, aliyunClient register.Interface, swPool *vswitch.SwitchPool) *ReconcileNode

func (*ReconcileNode) Reconcile

func (m *ReconcileNode) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

type Wrapper added in v1.4.1

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

func (*Wrapper) Start added in v1.4.1

func (w *Wrapper) Start(ctx context.Context) error

Start the controller

Jump to

Keyboard shortcuts

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