v1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterExpansion

type ClusterExpansion interface{}

type ClusterInterface

type ClusterInterface interface {
	Create(*v1.Cluster) (*v1.Cluster, error)
	Update(*v1.Cluster) (*v1.Cluster, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Cluster, error)
	List(opts metav1.ListOptions) (*v1.ClusterList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Cluster, err error)
	ClusterExpansion
}

ClusterInterface has methods to work with Cluster resources.

type ClustersGetter

type ClustersGetter interface {
	Clusters(namespace string) ClusterInterface
}

ClustersGetter has a method to return a ClusterInterface. A group's client should implement this interface.

type EndpointExpansion

type EndpointExpansion interface{}

type EndpointInterface

type EndpointInterface interface {
	Create(*v1.Endpoint) (*v1.Endpoint, error)
	Update(*v1.Endpoint) (*v1.Endpoint, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Endpoint, error)
	List(opts metav1.ListOptions) (*v1.EndpointList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Endpoint, err error)
	EndpointExpansion
}

EndpointInterface has methods to work with Endpoint resources.

type EndpointsGetter

type EndpointsGetter interface {
	Endpoints(namespace string) EndpointInterface
}

EndpointsGetter has a method to return a EndpointInterface. A group's client should implement this interface.

type SubmarinerV1Client

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

SubmarinerV1Client is used to interact with features provided by the submariner.io group.

func New

New creates a new SubmarinerV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new SubmarinerV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *SubmarinerV1Client

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

func (*SubmarinerV1Client) Clusters

func (c *SubmarinerV1Client) Clusters(namespace string) ClusterInterface

func (*SubmarinerV1Client) Endpoints

func (c *SubmarinerV1Client) Endpoints(namespace string) EndpointInterface

func (*SubmarinerV1Client) RESTClient

func (c *SubmarinerV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type SubmarinerV1Interface

type SubmarinerV1Interface interface {
	RESTClient() rest.Interface
	ClustersGetter
	EndpointsGetter
}

Directories

Path Synopsis
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