ast

package
v3.54.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Remote added in v3.45.0

type Remote struct {
	Insecure     *bool           `yaml:"insecure"`
	Offline      *bool           `yaml:"offline"`
	Timeout      *time.Duration  `yaml:"timeout"`
	CacheExpiry  *time.Duration  `yaml:"cache-expiry"`
	CacheDir     *string         `yaml:"cache-dir"`
	TrustedHosts []string        `yaml:"trusted-hosts"`
	Headers      []RemoteHeaders `yaml:"headers"`
	CACert       *string         `yaml:"cacert"`
	Cert         *string         `yaml:"cert"`
	CertKey      *string         `yaml:"cert-key"`
}

type RemoteHeaders added in v3.54.0

type RemoteHeaders struct {
	Host    string            `yaml:"host"`
	Headers map[string]string `yaml:"headers"`
}

RemoteHeaders configures HTTP headers for a single host.

type TaskRC

type TaskRC struct {
	Version      *semver.Version `yaml:"version"`
	Verbose      *bool           `yaml:"verbose"`
	Silent       *bool           `yaml:"silent"`
	Color        *bool           `yaml:"color"`
	DisableFuzzy *bool           `yaml:"disable-fuzzy"`
	Concurrency  *int            `yaml:"concurrency"`
	Interactive  *bool           `yaml:"interactive"`
	Remote       Remote          `yaml:"remote"`
	Failfast     bool            `yaml:"failfast"`
	TempDir      *string         `yaml:"temp-dir"`
	Experiments  map[string]int  `yaml:"experiments"`
}

func (*TaskRC) Merge added in v3.45.0

func (t *TaskRC) Merge(other *TaskRC)

Merge combines the current TaskRC with another TaskRC, prioritizing non-nil fields from the other TaskRC.

Jump to

Keyboard shortcuts

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