Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewComponentDiscoverer ¶
func NewComponentDiscoverer( component controlplane.Component, logger *logrus.Logger, nodeIP string, podsFetcher data.FetchFunc, k8sClient client.Kubernetes, ) client.Discoverer
NewComponentDiscoverer returns a `Discoverer` that will find the control plane components that are running on this node.
Types ¶
type ControlPlaneComponentClient ¶
type ControlPlaneComponentClient struct { IsComponentRunningOnNode bool PodName string InsecureFallback bool // contains filtered or unexported fields }
ControlPlaneComponentClient implements Client interface.
func (*ControlPlaneComponentClient) Do ¶
func (c *ControlPlaneComponentClient) Do(method, urlPath string) (*http.Response, error)
func (*ControlPlaneComponentClient) NodeIP ¶
func (c *ControlPlaneComponentClient) NodeIP() string
Click to show internal directories.
Click to hide internal directories.