package clientset

import "github.com/docker/compose-on-kubernetes/api/client/clientset"

Index

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

ComposeLatest retrieves the latest version of the client

func (*Clientset) ComposeV1alpha3

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 ?

Source Files

clientset.go

Directories

PathSynopsis
api/client/clientset/scheme
api/client/clientset/typed
api/client/clientset/typed/compose
api/client/clientset/typed/compose/v1alpha3
api/client/clientset/typed/compose/v1beta1
api/client/clientset/typed/compose/v1beta2
Version
v0.5.0 (latest)
Published
Jan 28, 2022
Platform
linux/amd64
Imports
6 packages
Last checked
2 months ago

Tools for package owners.