ipconfig

package
v1.12.2-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 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