Documentation ¶
Index ¶
- type Clientset
- type ResourceClient
- func (rc *ResourceClient) APIResource() *dynamicdiscovery.APIResource
- func (rc *ResourceClient) GroupResource() schema.GroupResource
- func (rc *ResourceClient) GroupVersion() schema.GroupVersion
- func (rc *ResourceClient) GroupVersionKind() schema.GroupVersionKind
- func (rc *ResourceClient) Kind() string
- func (rc *ResourceClient) UpdateWithRetries(orig *unstructured.Unstructured, ...) (result *unstructured.Unstructured, err error)
- func (rc *ResourceClient) WithNamespace(namespace string) *ResourceClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clientset ¶
type Clientset struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *rest.Config, resources *dynamicdiscovery.ResourceMap) *Clientset
func (*Clientset) Kind ¶
func (cs *Clientset) Kind(apiVersion, kind, namespace string) (*ResourceClient, error)
func (*Clientset) Resource ¶
func (cs *Clientset) Resource(apiVersion, resource, namespace string) (*ResourceClient, error)
type ResourceClient ¶
type ResourceClient struct { dynamic.ResourceInterface // contains filtered or unexported fields }
func (*ResourceClient) APIResource ¶
func (rc *ResourceClient) APIResource() *dynamicdiscovery.APIResource
func (*ResourceClient) GroupResource ¶
func (rc *ResourceClient) GroupResource() schema.GroupResource
func (*ResourceClient) GroupVersion ¶
func (rc *ResourceClient) GroupVersion() schema.GroupVersion
func (*ResourceClient) GroupVersionKind ¶
func (rc *ResourceClient) GroupVersionKind() schema.GroupVersionKind
func (*ResourceClient) Kind ¶
func (rc *ResourceClient) Kind() string
func (*ResourceClient) UpdateWithRetries ¶
func (rc *ResourceClient) UpdateWithRetries(orig *unstructured.Unstructured, update func(obj *unstructured.Unstructured) bool) (result *unstructured.Unstructured, err error)
func (*ResourceClient) WithNamespace ¶
func (rc *ResourceClient) WithNamespace(namespace string) *ResourceClient
Click to show internal directories.
Click to hide internal directories.