Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster represents the Cluster
type Option ¶
type Option interface { // Apply sets the Option value of a config. Apply(cluster *Cluster) }
Option is the interface that applies a configuration option.
type OptionFunc ¶
type OptionFunc func(cluster *Cluster)
OptionFunc implements the Option interface.
func (OptionFunc) Apply ¶
func (f OptionFunc) Apply(c *Cluster)
Click to show internal directories.
Click to hide internal directories.