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 GatewayExpansion ¶ added in v0.3.0
type GatewayExpansion interface{}
type GatewayInterface ¶ added in v0.3.0
type GatewayInterface interface { Create(*v1.Gateway) (*v1.Gateway, error) Update(*v1.Gateway) (*v1.Gateway, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.Gateway, error) List(opts metav1.ListOptions) (*v1.GatewayList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Gateway, err error) GatewayExpansion }
GatewayInterface has methods to work with Gateway resources.
type GatewaysGetter ¶ added in v0.3.0
type GatewaysGetter interface {
Gateways(namespace string) GatewayInterface
}
GatewaysGetter has a method to return a GatewayInterface. 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 ¶
func New(c rest.Interface) *SubmarinerV1Client
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) Gateways ¶ added in v0.3.0
func (c *SubmarinerV1Client) Gateways(namespace string) GatewayInterface
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 GatewaysGetter }