apinet

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(nodeName string, client client.Client) networkinterface.Plugin

Types

type Plugin

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

func (*Plugin) APInetNicName

func (p *Plugin) APInetNicName(machineID string, networkInterfaceName string) string

func (*Plugin) Apply

func (p *Plugin) Apply(
	ctx context.Context,
	spec *api.NetworkInterfaceSpec,
	machineID string,
) (*api.NetworkInterfaceStatus, error)

func (*Plugin) Delete

func (p *Plugin) Delete(ctx context.Context, computeNicName string, machineID string) error

func (*Plugin) Init

func (p *Plugin) Init(host host.Paths) error

func (*Plugin) Name

func (p *Plugin) Name() string

Jump to

Keyboard shortcuts

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