cmd

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupVersionResourceNsPair

type GroupVersionResourceNsPair struct {
	schema.GroupVersionResource
	metav1.APIResource
}

func (GroupVersionResourceNsPair) Listable

func (p GroupVersionResourceNsPair) Listable() bool

func (GroupVersionResourceNsPair) Namespaced

func (p GroupVersionResourceNsPair) Namespaced() bool

type ObjectRef

type ObjectRef struct {
	ResourceRef
	Name string
}

type PartialResourceRef

type PartialResourceRef struct {
	schema.GroupVersionResource
}

func (PartialResourceRef) Matches

type ResourceRef

type ResourceRef struct {
	schema.GroupVersionResource
}

type ResourceTypes

type ResourceTypes struct {
	// contains filtered or unexported fields
}

func NewResourceTypes

func NewResourceTypes(coreClient kubernetes.Interface) ResourceTypes

func (ResourceTypes) All

type Resources

type Resources struct {
	// contains filtered or unexported fields
}

func NewResources

func NewResources(coreClient kubernetes.Interface, dynamicClient dynamic.Interface) Resources

func (Resources) All

func (Resources) Delete

func (c Resources) Delete(ref ObjectRef, ns string) error

func (Resources) Get

type ResourcesAllOpts

type ResourcesAllOpts struct {
	IncludeNonNamespaced bool
	IncludeAllNamespaces bool
	IncludeNamespaces    []string
}

func (ResourcesAllOpts) IncludesNamespace

func (o ResourcesAllOpts) IncludesNamespace(ns string) bool

type UnstructuredResourceNsItemsPair

type UnstructuredResourceNsItemsPair struct {
	Items []unstructured.Unstructured
	schema.GroupVersionResource
	Namespace string
}

type UnstructuredResourceNsPair

type UnstructuredResourceNsPair struct {
	Item unstructured.Unstructured
	schema.GroupVersionResource
	Namespace string
}

Jump to

Keyboard shortcuts

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