Documentation
¶
Overview ¶
Package core contains structs and functions to aggregate built-in kube clients for use elsewhere
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeClients ¶
InitializeClients initializes a list of clients, collecting all errors.
Types ¶
type Clients ¶
type Clients struct {
Dynamic dynamic.Interface
Discovery discovery.DiscoveryInterface
Tree *xrm.Client
// Kube is the generated, typed clientset. Most of this tool works in
// Unstructured because it deals in arbitrary user-defined GVKs, but a few
// built-in APIs have a fixed shape that is worth having checked at compile
// time -- SelfSubjectAccessReview (see kubernetes.AccessChecker) is one,
// where an untyped round-trip meant hand-writing the request's keys and
// reading the response back with NestedBool/NestedString.
Kube kubeclient.Interface
}
Clients aggregates the root level of built-in kube clients that we use to initialize our wrapper interfaces.
type Initializable ¶
Initializable is an interface for any client that can be initialized.
Click to show internal directories.
Click to hide internal directories.