Documentation ¶
Index ¶
- type ConfigMapConverter
- type ResourceClient
- func (rc *ResourceClient) ApplyStatus(statusClient resources.StatusClient, inputResource resources.InputResource, ...) (resources.Resource, error)
- func (rc *ResourceClient) Delete(namespace, name string, opts clients.DeleteOpts) error
- func (rc *ResourceClient) List(namespace string, opts clients.ListOpts) (resources.ResourceList, error)
- func (rc *ResourceClient) Read(namespace, name string, opts clients.ReadOpts) (resources.Resource, error)
- func (rc *ResourceClient) Watch(namespace string, opts clients.WatchOpts) (<-chan resources.ResourceList, <-chan error, error)
- func (rc *ResourceClient) Write(resource resources.Resource, opts clients.WriteOpts) (resources.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapConverter ¶
type ResourceClient ¶
type ResourceClient struct { Kube kubernetes.Interface common.KubeCoreResourceClient // contains filtered or unexported fields }
func NewResourceClient ¶
func NewResourceClient(kube kubernetes.Interface, resourceType resources.Resource, kubeCache cache.KubeCoreCache, plainConfigMaps bool) (*ResourceClient, error)
func NewResourceClientWithConverter ¶
func NewResourceClientWithConverter(kube kubernetes.Interface, resourceType resources.Resource, kubeCache cache.KubeCoreCache, configMapConverter ConfigMapConverter) (*ResourceClient, error)
func (*ResourceClient) ApplyStatus ¶ added in v0.30.3
func (rc *ResourceClient) ApplyStatus(statusClient resources.StatusClient, inputResource resources.InputResource, opts clients.ApplyStatusOpts) (resources.Resource, error)
func (*ResourceClient) Delete ¶
func (rc *ResourceClient) Delete(namespace, name string, opts clients.DeleteOpts) error
func (*ResourceClient) List ¶
func (rc *ResourceClient) List(namespace string, opts clients.ListOpts) (resources.ResourceList, error)
func (*ResourceClient) Watch ¶
func (rc *ResourceClient) Watch(namespace string, opts clients.WatchOpts) (<-chan resources.ResourceList, <-chan error, error)
Click to show internal directories.
Click to hide internal directories.