hostsfile

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHostsFileProvider

func NewHostsFileProvider(
	providerConfig HostsFileProviderConfig,
	forwardLookupFilter configtypes.EndpointFilterFunc,
) (provider.Provider, error)

Types

type HostsFileProviderConfig

type HostsFileProviderConfig struct {
	RecordSuffix string
	File         string
	Permissions  string
	SSH          HostsFileProviderConfigSSH
}

type HostsFileProviderConfigSSH

type HostsFileProviderConfigSSH struct {
	Host     string
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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