Documentation ¶
Index ¶
- type NewResourceIDOptions
- type ResourceID
- func (r *ResourceID) GroupVersionKindNameString() string
- func (r *ResourceID) GroupVersionKindNamespaceNameString() string
- func (r *ResourceID) GroupVersionKindNamespaceString() string
- func (r *ResourceID) GroupVersionKindString() string
- func (r *ResourceID) GroupVersionResource(mapper meta.RESTMapper) (*schema.GroupVersionResource, error)
- func (r *ResourceID) Namespaced(mapper meta.RESTMapper) (bool, error)
- func (r *ResourceID) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewResourceIDOptions ¶
type NewResourceIDOptions struct {
Namespace string
}
type ResourceID ¶
type ResourceID struct { Name string Namespace string GroupVersionKind schema.GroupVersionKind }
func NewResourceID ¶
func NewResourceID(name string, gvk schema.GroupVersionKind, options NewResourceIDOptions) *ResourceID
func (*ResourceID) GroupVersionKindNameString ¶
func (r *ResourceID) GroupVersionKindNameString() string
func (*ResourceID) GroupVersionKindNamespaceNameString ¶
func (r *ResourceID) GroupVersionKindNamespaceNameString() string
func (*ResourceID) GroupVersionKindNamespaceString ¶
func (r *ResourceID) GroupVersionKindNamespaceString() string
func (*ResourceID) GroupVersionKindString ¶
func (r *ResourceID) GroupVersionKindString() string
func (*ResourceID) GroupVersionResource ¶
func (r *ResourceID) GroupVersionResource(mapper meta.RESTMapper) (*schema.GroupVersionResource, error)
func (*ResourceID) Namespaced ¶
func (r *ResourceID) Namespaced(mapper meta.RESTMapper) (bool, error)
func (*ResourceID) String ¶
func (r *ResourceID) String() string
Click to show internal directories.
Click to hide internal directories.