hoststoml

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostsToml

type HostsToml struct {
	CA         string                    `toml:"ca,omitempty"`
	SkipVerify bool                      `toml:"skip_verify,omitempty"`
	Client     [][]string                `toml:"client,omitempty"`
	Headers    map[string]string         `toml:"header,omitempty"`
	Server     string                    `toml:"server,omitempty"`
	Endpoints  map[string]*hostsTomlHost `toml:"host,omitempty"`
}

See https://github.com/containerd/containerd/blob/main/docs/hosts.md

func (*HostsToml) Save

func (ht *HostsToml) Save(dir string, hostIP string, port int) error

Jump to

Keyboard shortcuts

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