kubernetesk8s.io/kubernetes/pkg/util/ipconfig Index | Files

package ipconfig

import "k8s.io/kubernetes/pkg/util/ipconfig"

Package ipconfig provides an interface and implementations for running Windows ipconfig commands.

Index

Types

type Interface

type Interface interface {
	// GetDNSSuffixSearchList returns the list of DNS suffix to search
	GetDNSSuffixSearchList() ([]string, error)
}

Interface is an injectable interface for running ipconfig commands. Implementations must be goroutine-safe.

func New

func New(exec utilexec.Interface) Interface

New returns a new Interface which will exec ipconfig.

Source Files

doc.go ipconfig.go

Version
v1.13.9
Published
Aug 1, 2019
Platform
js/wasm
Imports
5 packages
Last checked
8 minutes ago

Tools for package owners.