client-go: kmodules.xyz/client-go/dynamic/discovery Index | Files

package discovery

import "kmodules.xyz/client-go/dynamic/discovery"

Index

Package Files

discovery.go

type APIResource Uses

type APIResource struct {
    metav1.APIResource
    APIVersion string
}

func (*APIResource) GroupVersion Uses

func (r *APIResource) GroupVersion() schema.GroupVersion

func (*APIResource) GroupVersionKind Uses

func (r *APIResource) GroupVersionKind() schema.GroupVersionKind

type ResourceMap Uses

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

func NewResourceMap Uses

func NewResourceMap(discoveryClient discovery.DiscoveryInterface) *ResourceMap

func (*ResourceMap) Get Uses

func (rm *ResourceMap) Get(apiVersion, resource string) (result *APIResource)

func (*ResourceMap) GetKind Uses

func (rm *ResourceMap) GetKind(apiVersion, kind string) (result *APIResource)

func (*ResourceMap) HasSynced Uses

func (rm *ResourceMap) HasSynced() bool

func (*ResourceMap) Start Uses

func (rm *ResourceMap) Start(refreshInterval time.Duration)

func (*ResourceMap) Stop Uses

func (rm *ResourceMap) Stop()

Package discovery imports 8 packages (graph) and is imported by 2 packages. Updated 2020-09-30. Refresh now. Tools for package owners.