ipconfig

package
v1.13.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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.

Jump to

Keyboard shortcuts

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