versioned

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 12 Imported by: 16

Documentation

Overview

This package has the automatically generated clientset.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

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

Clientset contains the clients for groups. Each group has exactly one version included in a Clientset.

func New

func New(c rest.Interface) *Clientset

New creates a new Clientset for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new Clientset for the given config. If config's RateLimiter is not set and QPS and Burst are acceptable, NewForConfig will generate a rate-limiter in configShallowCopy. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, httpClient *http.Client) (*Clientset, error)

NewForConfigAndClient creates a new Clientset for the given config and http client. Note the http client provided takes precedence over the configured transport values. If config's RateLimiter is not set and QPS and Burst are acceptable, NewForConfigAndClient will generate a rate-limiter in configShallowCopy.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *Clientset

NewForConfigOrDie creates a new Clientset for the given config and panics if there is an error in the config.

func (*Clientset) ApiresourceV1alpha1

ApiresourceV1alpha1 retrieves the ApiresourceV1alpha1Client

func (*Clientset) ApisV1alpha1 added in v0.6.0

func (c *Clientset) ApisV1alpha1() apisv1alpha1.ApisV1alpha1Interface

ApisV1alpha1 retrieves the ApisV1alpha1Client

func (*Clientset) Discovery

func (c *Clientset) Discovery() discovery.DiscoveryInterface

Discovery retrieves the DiscoveryClient

func (*Clientset) SchedulingV1alpha1 added in v0.6.0

SchedulingV1alpha1 retrieves the SchedulingV1alpha1Client

func (*Clientset) TenancyV1alpha1

func (c *Clientset) TenancyV1alpha1() tenancyv1alpha1.TenancyV1alpha1Interface

TenancyV1alpha1 retrieves the TenancyV1alpha1Client

func (*Clientset) TenancyV1beta1 added in v0.6.0

func (c *Clientset) TenancyV1beta1() tenancyv1beta1.TenancyV1beta1Interface

TenancyV1beta1 retrieves the TenancyV1beta1Client

func (*Clientset) WorkloadV1alpha1 added in v0.6.0

WorkloadV1alpha1 retrieves the WorkloadV1alpha1Client

type Cluster

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

func NewClusterForConfig

func NewClusterForConfig(c *rest.Config) (*Cluster, error)

NewClusterForConfig creates a new Cluster for the given config. If config's RateLimiter is not set and QPS and Burst are acceptable, NewClusterForConfig will generate a rate-limiter in configShallowCopy.

func (*Cluster) Cluster

func (c *Cluster) Cluster(name v2.Name) Interface

Cluster sets the cluster for a Clientset.

type ClusterInterface

type ClusterInterface interface {
	Cluster(name v2.Name) Interface
}

Directories

Path Synopsis
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
typed
apiresource/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
apiresource/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
apis/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
apis/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
scheduling/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
scheduling/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
tenancy/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
tenancy/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
tenancy/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
tenancy/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
workload/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
workload/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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