Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedDiscoveryClient ¶
type CachedDiscoveryClient struct {
discovery.DiscoveryInterface
}
func (*CachedDiscoveryClient) Fresh ¶
func (c *CachedDiscoveryClient) Fresh() bool
Fresh returns true if no cached data was used that had been retrieved before the instantiation.
func (*CachedDiscoveryClient) Invalidate ¶
func (c *CachedDiscoveryClient) Invalidate()
Invalidate enforces that no cached data is used in the future that is older than the current time.
type DynamicClient ¶
type DynamicClient struct {
CoreDynamic, ScDynamic dynamic.ClientPool
Mapper, ScMapper Mapper
}
func NewClient ¶
func NewClient(config, scConfig *rest.Config, clientset kubernetes.Interface, scClient scClientset.Interface) *DynamicClient
func (*DynamicClient) ForGVK ¶
func (c *DynamicClient) ForGVK(gvk schema.GroupVersionKind, namespace string) (*dynamic.ResourceClient, error)
Click to show internal directories.
Click to hide internal directories.