Documentation
¶
Index ¶
Constants ¶
View Source
const DepSizeWarning = 128
DepSizeWarning is the threshold of dependencies that we warn the user of CTS potentially DDoSing their Consul cluster.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
Resolver describes the interface for hashicat's Resolver structure which does implement any hashicat interface at time of writing https://github.com/hashicorp/hcat
type Template ¶
type Template interface { Render(content []byte) (hcat.RenderResult, error) Execute(hcat.Watcherer) ([]byte, error) ID() string }
Template describes the interface for hashicat's Template structure which implements the interfaces Templater and Renderer https://github.com/hashicorp/hcat
type Watcher ¶
type Watcher interface { WaitCh(context.Context) <-chan error Buffer(tmplID string) bool SetBufferPeriod(min, max time.Duration, tmplIDs ...string) Size() int Stop() // not used but needed to meet the hcat.Watcherer interface Complete(hcat.Notifier) bool Recaller(hcat.Notifier) hcat.Recaller }
Watcher describes the interface for hashicat's Watcher structure used by this project https://github.com/hashicorp/hcat
Click to show internal directories.
Click to hide internal directories.