Documentation
¶
Index ¶
- func ClusterMetadata(c client.Reader) (*kmapi.ClusterMetadata, error)
- func ClusterUID(c client.Reader) (string, error)
- func CreateOrPatch(ctx context.Context, c client.Client, obj client.Object, ...) (kutil.VerbType, error)
- func GetForGVK(ctx context.Context, c client.Client, gvk schema.GroupVersionKind, ...) (client.Object, error)
- func GetForGVR(ctx context.Context, c client.Client, gvr schema.GroupVersionResource, ...) (client.Object, error)
- func NewClient(cache cache.Cache, config *restclient.Config, options client.Options, ...) (client.Client, error)
- func NewDelegatingClient(in NewDelegatingClientInput) (client.Client, error)
- func NewUncachedClient(cfg *rest.Config, funcs ...func(*runtime.Scheme) error) (client.Client, error)
- func PatchStatus(ctx context.Context, c client.Client, obj client.Object, ...) (kutil.VerbType, error)
- type NewDelegatingClientInput
- type TransformFunc
- type TransformStatusFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterMetadata ¶
func ClusterMetadata(c client.Reader) (*kmapi.ClusterMetadata, error)
func CreateOrPatch ¶
func NewDelegatingClient ¶
func NewDelegatingClient(in NewDelegatingClientInput) (client.Client, error)
NewDelegatingClient creates a new delegating client.
A delegating client forms a Client by composing separate reader, writer and statusclient interfaces. This way, you can have an Client that reads from a cache and writes to the API server.
func NewUncachedClient ¶
func PatchStatus ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.