Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
A client to get resources and namespaces from a Kubernetes cluster
func NewClient ¶
func NewClient(dynamicClient dynamic.Interface, clientset kubernetes.Interface, kubewardenNamespace string, skippedNs []string, pageSize int64) (*Client, error)
NewClient returns a new client
func (*Client) GetAuditedNamespaces ¶
GetAuditedNamespaces gets all namespaces besides the ones in skippedNs
func (*Client) GetNamespace ¶
func (*Client) GetResources ¶
Click to show internal directories.
Click to hide internal directories.