resid

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

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