package clientset
import "github.com/docker/compose-on-kubernetes/api/client/clientset"
Index ¶
- type Clientset
- func New(c rest.Interface) *Clientset
- func NewForConfig(c *rest.Config) (*Clientset, error)
- func NewForConfigOrDie(c *rest.Config) *Clientset
- func (c *Clientset) Compose() composev1beta1.ComposeV1beta1Interface
- func (c *Clientset) ComposeV1beta1() composev1beta1.ComposeV1beta1Interface
- func (c *Clientset) ComposeV1beta2() composev1beta2.ComposeV1beta2Interface
- func (c *Clientset) Discovery() discovery.DiscoveryInterface
- type Interface
Types ¶
type Clientset ¶
type Clientset struct { *discovery.DiscoveryClient *composev1beta2.ComposeV1beta2Client *composev1beta1.ComposeV1beta1Client }
Clientset contains the clients for groups. Each group has exactly one version included in a Clientset.
func New ¶
New creates a new Clientset for the given RESTClient.
func NewForConfig ¶
NewForConfig creates a new Clientset for the given config.
func NewForConfigOrDie ¶
NewForConfigOrDie creates a new Clientset for the given config and panics if there is an error in the config.
func (*Clientset) Compose ¶
func (c *Clientset) Compose() composev1beta1.ComposeV1beta1Interface
Compose retrieves the default version of ComposeClient. deprecated: please explicitly pick a version.
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 ComposeV1beta2() composev1beta2.ComposeV1beta2Interface ComposeV1beta1() composev1beta1.ComposeV1beta1Interface // Deprecated: please explicitly pick a version if possible. Compose() composev1beta1.ComposeV1beta1Interface }
Interface defines the methods a compose kube client should have FIXME(vdemeester) is it required ?
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
api/client/clientset/scheme | |
api/client/clientset/typed | |
api/client/clientset/typed/compose | |
api/client/clientset/typed/compose/v1beta1 | |
api/client/clientset/typed/compose/v1beta2 |
- Version
- v0.4.16
- Published
- Dec 7, 2018
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 9 hours ago –
Tools for package owners.