Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeFetcher ¶
type NodeFetcher interface {
// Run starts the preparing logic to collect node metadata.
Run(ctx context.Context)
// GetNode returns those latest node metadata.
GetNode(ctx context.Context) (*v1.Node, error)
}
NodeFetcher is used to get K8S Node information.
func NewRemoteNodeFetcher ¶
func NewRemoteNodeFetcher(baseConf *global.BaseConfiguration, nodeConf *metaserver.NodeConfiguration, client corev1.NodeInterface) NodeFetcher
Click to show internal directories.
Click to hide internal directories.