resid

package
v0.0.0-...-9d45c48 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

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

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