clientset

package
v0.0.0-...-e5f2c3d Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

type Clientset struct {
	*kubernetes.Clientset

	CachedDiscoveryClient discovery.CachedDiscoveryInterface
	// contains filtered or unexported fields
}

func NewForConfig

func NewForConfig(c *rest.Config) (*Clientset, error)

NewForConfig creates a new Clientset for the given config.

func (*Clientset) CachedDiscovery

func (c *Clientset) CachedDiscovery() discovery.CachedDiscoveryInterface

CachedDiscovery returns a complete CachedDiscovery config

func (*Clientset) ClientConfig

func (c *Clientset) ClientConfig() *rest.Config

ClientConfig returns a complete client config

func (*Clientset) Metadata

func (c *Clientset) Metadata() metadata.Interface

Metadata return metadata client

func (*Clientset) Resource

Resource implement kuberentes dynamic interface

type Interface

type Interface interface {
	kubernetes.Interface
	Metadata() metadata.Interface
	dynamic.Interface
	ClientConfig() *rest.Config
	CachedDiscovery() discovery.CachedDiscoveryInterface
}

Jump to

Keyboard shortcuts

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