resid

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

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) KindNameString added in v0.9.0

func (r *ResourceID) KindNameString() string

func (*ResourceID) Namespaced

func (r *ResourceID) Namespaced(mapper meta.RESTMapper) (bool, error)

func (*ResourceID) String

func (r *ResourceID) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL