ipam

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPProvider

type IPProvider interface {
	WithIP(configFunc func(ipamResult *current.Result) error) (err error)
	DeleteIP() error
}

func New

func New(pluginType string, netConf []byte) IPProvider

func NewFakeIPProvider

func NewFakeIPProvider(ipamResult *current.Result) IPProvider

type IPWrapper

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

func (*IPWrapper) DeleteIP

func (wrapper *IPWrapper) DeleteIP() error

func (*IPWrapper) WithIP

func (wrapper *IPWrapper) WithIP(configFunc func(ipamResult *current.Result) error) (err error)

Jump to

Keyboard shortcuts

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