coredns

package
v0.58.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: GPL-3.0 Imports: 12 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart = module.Chart

Chart is an alias for module.Chart

type Charts

type Charts = module.Charts

Charts is an alias for module.Charts

type Config

type Config struct {
	web.HTTP       `yaml:",inline"`
	PerServerStats matcher.SimpleExpr `yaml:"per_server_stats"`
	PerZoneStats   matcher.SimpleExpr `yaml:"per_zone_stats"`
}

Config is the CoreDNS module configuration.

type CoreDNS

type CoreDNS struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

CoreDNS CoreDNS module.

func New

func New() *CoreDNS

New creates CoreDNS with default values.

func (*CoreDNS) Charts

func (cd *CoreDNS) Charts() *Charts

Charts creates Charts.

func (*CoreDNS) Check

func (cd *CoreDNS) Check() bool

Check makes check.

func (CoreDNS) Cleanup

func (CoreDNS) Cleanup()

Cleanup makes cleanup.

func (*CoreDNS) Collect

func (cd *CoreDNS) Collect() map[string]int64

Collect collects metrics.

func (*CoreDNS) Init

func (cd *CoreDNS) Init() bool

Init makes initialization.

type Dim

type Dim = module.Dim

Dim is an alias for module.Dim

type Dims

type Dims = module.Dims

Dims is an alias for module.Dims

Jump to

Keyboard shortcuts

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