package etchosts

import "github.com/docker/docker/pkg/networkfs/etchosts"

Index

Functions

func Build

func Build(path, IP, hostname, domainname string, extraContent []Record) error

func Update

func Update(path, IP, hostname string) error

Types

type Record

type Record struct {
	Hosts string
	IP    string
}

func (Record) WriteTo

func (r Record) WriteTo(w io.Writer) (int64, error)

Source Files

etchosts.go

Version
v1.5.0-rc2
Published
Jan 28, 2015
Platform
js/wasm
Imports
5 packages
Last checked
8 minutes ago

Tools for package owners.