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 APIResources
- type Options
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 ¶
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 ¶
func (r *APIResource) GroupVersionResource() schema.GroupVersionResource
func (*APIResource) HasSubresource ¶
func (r *APIResource) HasSubresource(subresourceKey string) bool
type APIResources ¶
type APIResources interface { Refresh() HasSynced() bool Get(apiVersion, resource string) (result *APIResource) GetKind(apiVersion, resource string) (result *APIResource) PrintKinds() PrintResources() }
func New ¶
func New(discoveryClient *discovery.DiscoveryClient, opt *Options) APIResources
Click to show internal directories.
Click to hide internal directories.