Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrClusterNodeCacheEmpty = fmt.Errorf("cluster nodes cache is empty (unreadable cluster config or not a cluster node)")
)
Functions ¶
func WithClient ¶
WithClient is the api client to use when a clientcontext is set.
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
func (*T) Expand ¶
Expand resolves a selector expression into a list of nodes.
First try to resolve using the daemon (remote or local), as the daemons know all cluster objects, even remote ones. If executed on a cluster node, fallback to a local selector, which looks up knownNodes state files.
func (T) KnownLocalNodes ¶
func (T) KnownNodes ¶
func (T) KnownRemoteNodes ¶
Click to show internal directories.
Click to hide internal directories.