Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwaitResourceClient ¶
type AwaitResourceClient struct { Log *logrus.Logger K8RestConfig *rest.Config // contains filtered or unexported fields }
AwaitResourceClient watches for specified resources
func NewClientForConfigResource ¶
func NewClientForConfigResource(conf *rest.Config, res *metav1.APIResource) (*AwaitResourceClient, error)
NewClientForConfigResource returns a new client based on the passed in kubernetes config
func (*AwaitResourceClient) AwaitResource ¶
func (cl *AwaitResourceClient) AwaitResource(res *metav1.APIResource, namespace string, filters []string)
AwaitResource awaits the given resource based on given filters
func (*AwaitResourceClient) Namespace ¶
func (rc *AwaitResourceClient) Namespace(ns string) dynamic.ResourceInterface
Namespace to be watched by the client
Click to show internal directories.
Click to hide internal directories.