Documentation ¶
Index ¶
- type APIResource
- func (r *APIResource) GroupResource() schema.GroupResource
- func (r *APIResource) GroupVersion() schema.GroupVersion
- func (r *APIResource) GroupVersionKind() schema.GroupVersionKind
- func (r *APIResource) GroupVersionResource() schema.GroupVersionResource
- func (r *APIResource) HasSubresource(subresourceKey string) bool
- type ResourceMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResource ¶
type APIResource struct { metav1.APIResource APIVersion string // contains filtered or unexported fields }
func (*APIResource) GroupResource ¶ added in v0.3.0
func (r *APIResource) GroupResource() schema.GroupResource
func (*APIResource) GroupVersion ¶
func (r *APIResource) GroupVersion() schema.GroupVersion
func (*APIResource) GroupVersionKind ¶
func (r *APIResource) GroupVersionKind() schema.GroupVersionKind
func (*APIResource) GroupVersionResource ¶ added in v0.3.0
func (r *APIResource) GroupVersionResource() schema.GroupVersionResource
func (*APIResource) HasSubresource ¶ added in v0.3.0
func (r *APIResource) HasSubresource(subresourceKey string) bool
type ResourceMap ¶
type ResourceMap struct {
// contains filtered or unexported fields
}
func NewResourceMap ¶
func NewResourceMap(discoveryClient discovery.DiscoveryInterface) *ResourceMap
func (*ResourceMap) Get ¶
func (rm *ResourceMap) Get(apiVersion, resource string) (result *APIResource)
func (*ResourceMap) GetKind ¶
func (rm *ResourceMap) GetKind(apiVersion, kind string) (result *APIResource)
func (*ResourceMap) HasSynced ¶
func (rm *ResourceMap) HasSynced() bool
func (*ResourceMap) Start ¶
func (rm *ResourceMap) Start(refreshInterval time.Duration)
func (*ResourceMap) Stop ¶
func (rm *ResourceMap) Stop()
Click to show internal directories.
Click to hide internal directories.