Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterExpansion
- type ClusterGlobalEgressIPExpansion
- type ClusterGlobalEgressIPInterface
- type ClusterGlobalEgressIPsGetter
- type ClusterInterface
- type ClustersGetter
- type EndpointExpansion
- type EndpointInterface
- type EndpointsGetter
- type GatewayExpansion
- type GatewayInterface
- type GatewayRouteExpansion
- type GatewayRouteInterface
- type GatewayRoutesGetter
- type GatewaysGetter
- type GlobalEgressIPExpansion
- type GlobalEgressIPInterface
- type GlobalEgressIPsGetter
- type GlobalIngressIPExpansion
- type GlobalIngressIPInterface
- type GlobalIngressIPsGetter
- type NonGatewayRouteExpansion
- type NonGatewayRouteInterface
- type NonGatewayRoutesGetter
- type SubmarinerV1Client
- func (c *SubmarinerV1Client) ClusterGlobalEgressIPs(namespace string) ClusterGlobalEgressIPInterface
- func (c *SubmarinerV1Client) Clusters(namespace string) ClusterInterface
- func (c *SubmarinerV1Client) Endpoints(namespace string) EndpointInterface
- func (c *SubmarinerV1Client) GatewayRoutes(namespace string) GatewayRouteInterface
- func (c *SubmarinerV1Client) Gateways(namespace string) GatewayInterface
- func (c *SubmarinerV1Client) GlobalEgressIPs(namespace string) GlobalEgressIPInterface
- func (c *SubmarinerV1Client) GlobalIngressIPs(namespace string) GlobalIngressIPInterface
- func (c *SubmarinerV1Client) NonGatewayRoutes(namespace string) NonGatewayRouteInterface
- func (c *SubmarinerV1Client) RESTClient() rest.Interface
- type SubmarinerV1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterExpansion ¶
type ClusterExpansion interface{}
type ClusterGlobalEgressIPExpansion ¶ added in v0.10.1
type ClusterGlobalEgressIPExpansion interface{}
type ClusterGlobalEgressIPInterface ¶ added in v0.10.1
type ClusterGlobalEgressIPInterface interface { Create(ctx context.Context, clusterGlobalEgressIP *v1.ClusterGlobalEgressIP, opts metav1.CreateOptions) (*v1.ClusterGlobalEgressIP, error) Update(ctx context.Context, clusterGlobalEgressIP *v1.ClusterGlobalEgressIP, opts metav1.UpdateOptions) (*v1.ClusterGlobalEgressIP, error) UpdateStatus(ctx context.Context, clusterGlobalEgressIP *v1.ClusterGlobalEgressIP, opts metav1.UpdateOptions) (*v1.ClusterGlobalEgressIP, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ClusterGlobalEgressIP, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterGlobalEgressIPList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterGlobalEgressIP, err error) Apply(ctx context.Context, clusterGlobalEgressIP *submarineriov1.ClusterGlobalEgressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ClusterGlobalEgressIP, err error) ApplyStatus(ctx context.Context, clusterGlobalEgressIP *submarineriov1.ClusterGlobalEgressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ClusterGlobalEgressIP, err error) ClusterGlobalEgressIPExpansion }
ClusterGlobalEgressIPInterface has methods to work with ClusterGlobalEgressIP resources.
type ClusterGlobalEgressIPsGetter ¶ added in v0.10.1
type ClusterGlobalEgressIPsGetter interface {
ClusterGlobalEgressIPs(namespace string) ClusterGlobalEgressIPInterface
}
ClusterGlobalEgressIPsGetter has a method to return a ClusterGlobalEgressIPInterface. A group's client should implement this interface.
type ClusterInterface ¶
type ClusterInterface interface { Create(ctx context.Context, cluster *v1.Cluster, opts metav1.CreateOptions) (*v1.Cluster, error) Update(ctx context.Context, cluster *v1.Cluster, opts metav1.UpdateOptions) (*v1.Cluster, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Cluster, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Cluster, err error) Apply(ctx context.Context, cluster *submarineriov1.ClusterApplyConfiguration, opts metav1.ApplyOptions) (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(ctx context.Context, endpoint *v1.Endpoint, opts metav1.CreateOptions) (*v1.Endpoint, error) Update(ctx context.Context, endpoint *v1.Endpoint, opts metav1.UpdateOptions) (*v1.Endpoint, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Endpoint, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.EndpointList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Endpoint, err error) Apply(ctx context.Context, endpoint *submarineriov1.EndpointApplyConfiguration, opts metav1.ApplyOptions) (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(ctx context.Context, gateway *v1.Gateway, opts metav1.CreateOptions) (*v1.Gateway, error) Update(ctx context.Context, gateway *v1.Gateway, opts metav1.UpdateOptions) (*v1.Gateway, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Gateway, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.GatewayList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Gateway, err error) Apply(ctx context.Context, gateway *submarineriov1.GatewayApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Gateway, err error) GatewayExpansion }
GatewayInterface has methods to work with Gateway resources.
type GatewayRouteExpansion ¶ added in v0.16.0
type GatewayRouteExpansion interface{}
type GatewayRouteInterface ¶ added in v0.16.0
type GatewayRouteInterface interface { Create(ctx context.Context, gatewayRoute *v1.GatewayRoute, opts metav1.CreateOptions) (*v1.GatewayRoute, error) Update(ctx context.Context, gatewayRoute *v1.GatewayRoute, opts metav1.UpdateOptions) (*v1.GatewayRoute, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.GatewayRoute, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.GatewayRouteList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GatewayRoute, err error) Apply(ctx context.Context, gatewayRoute *submarineriov1.GatewayRouteApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GatewayRoute, err error) GatewayRouteExpansion }
GatewayRouteInterface has methods to work with GatewayRoute resources.
type GatewayRoutesGetter ¶ added in v0.16.0
type GatewayRoutesGetter interface {
GatewayRoutes(namespace string) GatewayRouteInterface
}
GatewayRoutesGetter has a method to return a GatewayRouteInterface. A group's client should implement this interface.
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 GlobalEgressIPExpansion ¶ added in v0.10.1
type GlobalEgressIPExpansion interface{}
type GlobalEgressIPInterface ¶ added in v0.10.1
type GlobalEgressIPInterface interface { Create(ctx context.Context, globalEgressIP *v1.GlobalEgressIP, opts metav1.CreateOptions) (*v1.GlobalEgressIP, error) Update(ctx context.Context, globalEgressIP *v1.GlobalEgressIP, opts metav1.UpdateOptions) (*v1.GlobalEgressIP, error) UpdateStatus(ctx context.Context, globalEgressIP *v1.GlobalEgressIP, opts metav1.UpdateOptions) (*v1.GlobalEgressIP, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.GlobalEgressIP, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.GlobalEgressIPList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GlobalEgressIP, err error) Apply(ctx context.Context, globalEgressIP *submarineriov1.GlobalEgressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GlobalEgressIP, err error) ApplyStatus(ctx context.Context, globalEgressIP *submarineriov1.GlobalEgressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GlobalEgressIP, err error) GlobalEgressIPExpansion }
GlobalEgressIPInterface has methods to work with GlobalEgressIP resources.
type GlobalEgressIPsGetter ¶ added in v0.10.1
type GlobalEgressIPsGetter interface {
GlobalEgressIPs(namespace string) GlobalEgressIPInterface
}
GlobalEgressIPsGetter has a method to return a GlobalEgressIPInterface. A group's client should implement this interface.
type GlobalIngressIPExpansion ¶ added in v0.10.1
type GlobalIngressIPExpansion interface{}
type GlobalIngressIPInterface ¶ added in v0.10.1
type GlobalIngressIPInterface interface { Create(ctx context.Context, globalIngressIP *v1.GlobalIngressIP, opts metav1.CreateOptions) (*v1.GlobalIngressIP, error) Update(ctx context.Context, globalIngressIP *v1.GlobalIngressIP, opts metav1.UpdateOptions) (*v1.GlobalIngressIP, error) UpdateStatus(ctx context.Context, globalIngressIP *v1.GlobalIngressIP, opts metav1.UpdateOptions) (*v1.GlobalIngressIP, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.GlobalIngressIP, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.GlobalIngressIPList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GlobalIngressIP, err error) Apply(ctx context.Context, globalIngressIP *submarineriov1.GlobalIngressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GlobalIngressIP, err error) ApplyStatus(ctx context.Context, globalIngressIP *submarineriov1.GlobalIngressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GlobalIngressIP, err error) GlobalIngressIPExpansion }
GlobalIngressIPInterface has methods to work with GlobalIngressIP resources.
type GlobalIngressIPsGetter ¶ added in v0.10.1
type GlobalIngressIPsGetter interface {
GlobalIngressIPs(namespace string) GlobalIngressIPInterface
}
GlobalIngressIPsGetter has a method to return a GlobalIngressIPInterface. A group's client should implement this interface.
type NonGatewayRouteExpansion ¶ added in v0.16.0
type NonGatewayRouteExpansion interface{}
type NonGatewayRouteInterface ¶ added in v0.16.0
type NonGatewayRouteInterface interface { Create(ctx context.Context, nonGatewayRoute *v1.NonGatewayRoute, opts metav1.CreateOptions) (*v1.NonGatewayRoute, error) Update(ctx context.Context, nonGatewayRoute *v1.NonGatewayRoute, opts metav1.UpdateOptions) (*v1.NonGatewayRoute, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.NonGatewayRoute, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.NonGatewayRouteList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.NonGatewayRoute, err error) Apply(ctx context.Context, nonGatewayRoute *submarineriov1.NonGatewayRouteApplyConfiguration, opts metav1.ApplyOptions) (result *v1.NonGatewayRoute, err error) NonGatewayRouteExpansion }
NonGatewayRouteInterface has methods to work with NonGatewayRoute resources.
type NonGatewayRoutesGetter ¶ added in v0.16.0
type NonGatewayRoutesGetter interface {
NonGatewayRoutes(namespace string) NonGatewayRouteInterface
}
NonGatewayRoutesGetter has a method to return a NonGatewayRouteInterface. 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. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v0.15.0
NewForConfigAndClient creates a new SubmarinerV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
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) ClusterGlobalEgressIPs ¶ added in v0.10.1
func (c *SubmarinerV1Client) ClusterGlobalEgressIPs(namespace string) ClusterGlobalEgressIPInterface
func (*SubmarinerV1Client) Clusters ¶
func (c *SubmarinerV1Client) Clusters(namespace string) ClusterInterface
func (*SubmarinerV1Client) Endpoints ¶
func (c *SubmarinerV1Client) Endpoints(namespace string) EndpointInterface
func (*SubmarinerV1Client) GatewayRoutes ¶ added in v0.16.0
func (c *SubmarinerV1Client) GatewayRoutes(namespace string) GatewayRouteInterface
func (*SubmarinerV1Client) Gateways ¶ added in v0.3.0
func (c *SubmarinerV1Client) Gateways(namespace string) GatewayInterface
func (*SubmarinerV1Client) GlobalEgressIPs ¶ added in v0.10.1
func (c *SubmarinerV1Client) GlobalEgressIPs(namespace string) GlobalEgressIPInterface
func (*SubmarinerV1Client) GlobalIngressIPs ¶ added in v0.10.1
func (c *SubmarinerV1Client) GlobalIngressIPs(namespace string) GlobalIngressIPInterface
func (*SubmarinerV1Client) NonGatewayRoutes ¶ added in v0.16.0
func (c *SubmarinerV1Client) NonGatewayRoutes(namespace string) NonGatewayRouteInterface
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 ClusterGlobalEgressIPsGetter EndpointsGetter GatewaysGetter GatewayRoutesGetter GlobalEgressIPsGetter GlobalIngressIPsGetter NonGatewayRoutesGetter }