clientset

package
v0.4.24 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 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 Clientset

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.

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) Compose

Compose retrieves the default version of ComposeClient. deprecated: please explicitly pick a version.

func (*Clientset) ComposeLatest added in v0.4.19

ComposeLatest retrieves the latest version of the client

func (*Clientset) ComposeV1alpha3 added in v0.4.19

func (c *Clientset) ComposeV1alpha3() composev1alpha3.ComposeV1alpha3Interface

ComposeV1alpha3 retrieves the ComposeV1alpha3Client

func (*Clientset) ComposeV1beta1

func (c *Clientset) ComposeV1beta1() composev1beta1.ComposeV1beta1Interface

ComposeV1beta1 retrieves the ComposeV1beta1Client

func (*Clientset) ComposeV1beta2

func (c *Clientset) ComposeV1beta2() composev1beta2.ComposeV1beta2Interface

ComposeV1beta2 retrieves the ComposeV1beta2Client

func (*Clientset) Discovery

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

Discovery retrieves the DiscoveryClient

type Interface

type Interface interface {
	Discovery() discovery.DiscoveryInterface
	ComposeV1alpha3() composev1alpha3.ComposeV1alpha3Interface
	ComposeV1beta2() composev1beta2.ComposeV1beta2Interface
	ComposeV1beta1() composev1beta1.ComposeV1beta1Interface
	// Deprecated: please explicitly pick a version if possible.
	Compose() composev1beta1.ComposeV1beta1Interface
	ComposeLatest() composev1alpha3.ComposeV1alpha3Interface
}

Interface defines the methods a compose kube client should have FIXME(vdemeester) is it required ?

Directories

Path Synopsis
typed

Jump to

Keyboard shortcuts

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