Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type GatewayExpansion
- type GatewayInterface
- type GatewayV1Client
- func (c *GatewayV1Client) Gateways(namespace string) GatewayInterface
- func (c *GatewayV1Client) HttpListenerOptions(namespace string) HttpListenerOptionInterface
- func (c *GatewayV1Client) ListenerOptions(namespace string) ListenerOptionInterface
- func (c *GatewayV1Client) MatchableHttpGateways(namespace string) MatchableHttpGatewayInterface
- func (c *GatewayV1Client) MatchableTcpGateways(namespace string) MatchableTcpGatewayInterface
- func (c *GatewayV1Client) RESTClient() rest.Interface
- func (c *GatewayV1Client) RouteOptions(namespace string) RouteOptionInterface
- func (c *GatewayV1Client) RouteTables(namespace string) RouteTableInterface
- func (c *GatewayV1Client) VirtualHostOptions(namespace string) VirtualHostOptionInterface
- func (c *GatewayV1Client) VirtualServices(namespace string) VirtualServiceInterface
- type GatewayV1Interface
- type GatewaysGetter
- type HttpListenerOptionExpansion
- type HttpListenerOptionInterface
- type HttpListenerOptionsGetter
- type ListenerOptionExpansion
- type ListenerOptionInterface
- type ListenerOptionsGetter
- type MatchableHttpGatewayExpansion
- type MatchableHttpGatewayInterface
- type MatchableHttpGatewaysGetter
- type MatchableTcpGatewayExpansion
- type MatchableTcpGatewayInterface
- type MatchableTcpGatewaysGetter
- type RouteOptionExpansion
- type RouteOptionInterface
- type RouteOptionsGetter
- type RouteTableExpansion
- type RouteTableInterface
- type RouteTablesGetter
- type VirtualHostOptionExpansion
- type VirtualHostOptionInterface
- type VirtualHostOptionsGetter
- type VirtualServiceExpansion
- type VirtualServiceInterface
- type VirtualServicesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayExpansion ¶
type GatewayExpansion interface{}
type GatewayInterface ¶
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) UpdateStatus(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 *gatewaysoloiov1.GatewayApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Gateway, err error) ApplyStatus(ctx context.Context, gateway *gatewaysoloiov1.GatewayApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Gateway, err error) GatewayExpansion }
GatewayInterface has methods to work with Gateway resources.
type GatewayV1Client ¶
type GatewayV1Client struct {
// contains filtered or unexported fields
}
GatewayV1Client is used to interact with features provided by the gateway.solo.io group.
func New ¶
func New(c rest.Interface) *GatewayV1Client
New creates a new GatewayV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*GatewayV1Client, error)
NewForConfig creates a new GatewayV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v1.14.4
NewForConfigAndClient creates a new GatewayV1Client 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) *GatewayV1Client
NewForConfigOrDie creates a new GatewayV1Client for the given config and panics if there is an error in the config.
func (*GatewayV1Client) Gateways ¶
func (c *GatewayV1Client) Gateways(namespace string) GatewayInterface
func (*GatewayV1Client) HttpListenerOptions ¶ added in v1.17.0
func (c *GatewayV1Client) HttpListenerOptions(namespace string) HttpListenerOptionInterface
func (*GatewayV1Client) ListenerOptions ¶ added in v1.17.0
func (c *GatewayV1Client) ListenerOptions(namespace string) ListenerOptionInterface
func (*GatewayV1Client) MatchableHttpGateways ¶ added in v1.9.25
func (c *GatewayV1Client) MatchableHttpGateways(namespace string) MatchableHttpGatewayInterface
func (*GatewayV1Client) MatchableTcpGateways ¶ added in v1.14.4
func (c *GatewayV1Client) MatchableTcpGateways(namespace string) MatchableTcpGatewayInterface
func (*GatewayV1Client) RESTClient ¶
func (c *GatewayV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*GatewayV1Client) RouteOptions ¶ added in v1.8.0
func (c *GatewayV1Client) RouteOptions(namespace string) RouteOptionInterface
func (*GatewayV1Client) RouteTables ¶
func (c *GatewayV1Client) RouteTables(namespace string) RouteTableInterface
func (*GatewayV1Client) VirtualHostOptions ¶ added in v1.8.0
func (c *GatewayV1Client) VirtualHostOptions(namespace string) VirtualHostOptionInterface
func (*GatewayV1Client) VirtualServices ¶
func (c *GatewayV1Client) VirtualServices(namespace string) VirtualServiceInterface
type GatewayV1Interface ¶
type GatewayV1Interface interface { RESTClient() rest.Interface GatewaysGetter HttpListenerOptionsGetter ListenerOptionsGetter MatchableHttpGatewaysGetter MatchableTcpGatewaysGetter RouteOptionsGetter RouteTablesGetter VirtualHostOptionsGetter VirtualServicesGetter }
type GatewaysGetter ¶
type GatewaysGetter interface {
Gateways(namespace string) GatewayInterface
}
GatewaysGetter has a method to return a GatewayInterface. A group's client should implement this interface.
type HttpListenerOptionExpansion ¶ added in v1.17.0
type HttpListenerOptionExpansion interface{}
type HttpListenerOptionInterface ¶ added in v1.17.0
type HttpListenerOptionInterface interface { Create(ctx context.Context, httpListenerOption *v1.HttpListenerOption, opts metav1.CreateOptions) (*v1.HttpListenerOption, error) Update(ctx context.Context, httpListenerOption *v1.HttpListenerOption, opts metav1.UpdateOptions) (*v1.HttpListenerOption, 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.HttpListenerOption, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.HttpListenerOptionList, 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.HttpListenerOption, err error) Apply(ctx context.Context, httpListenerOption *gatewaysoloiov1.HttpListenerOptionApplyConfiguration, opts metav1.ApplyOptions) (result *v1.HttpListenerOption, err error) HttpListenerOptionExpansion }
HttpListenerOptionInterface has methods to work with HttpListenerOption resources.
type HttpListenerOptionsGetter ¶ added in v1.17.0
type HttpListenerOptionsGetter interface {
HttpListenerOptions(namespace string) HttpListenerOptionInterface
}
HttpListenerOptionsGetter has a method to return a HttpListenerOptionInterface. A group's client should implement this interface.
type ListenerOptionExpansion ¶ added in v1.17.0
type ListenerOptionExpansion interface{}
type ListenerOptionInterface ¶ added in v1.17.0
type ListenerOptionInterface interface { Create(ctx context.Context, listenerOption *v1.ListenerOption, opts metav1.CreateOptions) (*v1.ListenerOption, error) Update(ctx context.Context, listenerOption *v1.ListenerOption, opts metav1.UpdateOptions) (*v1.ListenerOption, 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.ListenerOption, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ListenerOptionList, 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.ListenerOption, err error) Apply(ctx context.Context, listenerOption *gatewaysoloiov1.ListenerOptionApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ListenerOption, err error) ListenerOptionExpansion }
ListenerOptionInterface has methods to work with ListenerOption resources.
type ListenerOptionsGetter ¶ added in v1.17.0
type ListenerOptionsGetter interface {
ListenerOptions(namespace string) ListenerOptionInterface
}
ListenerOptionsGetter has a method to return a ListenerOptionInterface. A group's client should implement this interface.
type MatchableHttpGatewayExpansion ¶ added in v1.9.25
type MatchableHttpGatewayExpansion interface{}
type MatchableHttpGatewayInterface ¶ added in v1.9.25
type MatchableHttpGatewayInterface interface { Create(ctx context.Context, matchableHttpGateway *v1.MatchableHttpGateway, opts metav1.CreateOptions) (*v1.MatchableHttpGateway, error) Update(ctx context.Context, matchableHttpGateway *v1.MatchableHttpGateway, opts metav1.UpdateOptions) (*v1.MatchableHttpGateway, error) UpdateStatus(ctx context.Context, matchableHttpGateway *v1.MatchableHttpGateway, opts metav1.UpdateOptions) (*v1.MatchableHttpGateway, 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.MatchableHttpGateway, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.MatchableHttpGatewayList, 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.MatchableHttpGateway, err error) Apply(ctx context.Context, matchableHttpGateway *gatewaysoloiov1.MatchableHttpGatewayApplyConfiguration, opts metav1.ApplyOptions) (result *v1.MatchableHttpGateway, err error) ApplyStatus(ctx context.Context, matchableHttpGateway *gatewaysoloiov1.MatchableHttpGatewayApplyConfiguration, opts metav1.ApplyOptions) (result *v1.MatchableHttpGateway, err error) MatchableHttpGatewayExpansion }
MatchableHttpGatewayInterface has methods to work with MatchableHttpGateway resources.
type MatchableHttpGatewaysGetter ¶ added in v1.9.25
type MatchableHttpGatewaysGetter interface {
MatchableHttpGateways(namespace string) MatchableHttpGatewayInterface
}
MatchableHttpGatewaysGetter has a method to return a MatchableHttpGatewayInterface. A group's client should implement this interface.
type MatchableTcpGatewayExpansion ¶ added in v1.14.4
type MatchableTcpGatewayExpansion interface{}
type MatchableTcpGatewayInterface ¶ added in v1.14.4
type MatchableTcpGatewayInterface interface { Create(ctx context.Context, matchableTcpGateway *v1.MatchableTcpGateway, opts metav1.CreateOptions) (*v1.MatchableTcpGateway, error) Update(ctx context.Context, matchableTcpGateway *v1.MatchableTcpGateway, opts metav1.UpdateOptions) (*v1.MatchableTcpGateway, error) UpdateStatus(ctx context.Context, matchableTcpGateway *v1.MatchableTcpGateway, opts metav1.UpdateOptions) (*v1.MatchableTcpGateway, 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.MatchableTcpGateway, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.MatchableTcpGatewayList, 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.MatchableTcpGateway, err error) Apply(ctx context.Context, matchableTcpGateway *gatewaysoloiov1.MatchableTcpGatewayApplyConfiguration, opts metav1.ApplyOptions) (result *v1.MatchableTcpGateway, err error) ApplyStatus(ctx context.Context, matchableTcpGateway *gatewaysoloiov1.MatchableTcpGatewayApplyConfiguration, opts metav1.ApplyOptions) (result *v1.MatchableTcpGateway, err error) MatchableTcpGatewayExpansion }
MatchableTcpGatewayInterface has methods to work with MatchableTcpGateway resources.
type MatchableTcpGatewaysGetter ¶ added in v1.14.4
type MatchableTcpGatewaysGetter interface {
MatchableTcpGateways(namespace string) MatchableTcpGatewayInterface
}
MatchableTcpGatewaysGetter has a method to return a MatchableTcpGatewayInterface. A group's client should implement this interface.
type RouteOptionExpansion ¶ added in v1.8.0
type RouteOptionExpansion interface{}
type RouteOptionInterface ¶ added in v1.8.0
type RouteOptionInterface interface { Create(ctx context.Context, routeOption *v1.RouteOption, opts metav1.CreateOptions) (*v1.RouteOption, error) Update(ctx context.Context, routeOption *v1.RouteOption, opts metav1.UpdateOptions) (*v1.RouteOption, error) UpdateStatus(ctx context.Context, routeOption *v1.RouteOption, opts metav1.UpdateOptions) (*v1.RouteOption, 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.RouteOption, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.RouteOptionList, 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.RouteOption, err error) Apply(ctx context.Context, routeOption *gatewaysoloiov1.RouteOptionApplyConfiguration, opts metav1.ApplyOptions) (result *v1.RouteOption, err error) ApplyStatus(ctx context.Context, routeOption *gatewaysoloiov1.RouteOptionApplyConfiguration, opts metav1.ApplyOptions) (result *v1.RouteOption, err error) RouteOptionExpansion }
RouteOptionInterface has methods to work with RouteOption resources.
type RouteOptionsGetter ¶ added in v1.8.0
type RouteOptionsGetter interface {
RouteOptions(namespace string) RouteOptionInterface
}
RouteOptionsGetter has a method to return a RouteOptionInterface. A group's client should implement this interface.
type RouteTableExpansion ¶
type RouteTableExpansion interface{}
type RouteTableInterface ¶
type RouteTableInterface interface { Create(ctx context.Context, routeTable *v1.RouteTable, opts metav1.CreateOptions) (*v1.RouteTable, error) Update(ctx context.Context, routeTable *v1.RouteTable, opts metav1.UpdateOptions) (*v1.RouteTable, error) UpdateStatus(ctx context.Context, routeTable *v1.RouteTable, opts metav1.UpdateOptions) (*v1.RouteTable, 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.RouteTable, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.RouteTableList, 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.RouteTable, err error) Apply(ctx context.Context, routeTable *gatewaysoloiov1.RouteTableApplyConfiguration, opts metav1.ApplyOptions) (result *v1.RouteTable, err error) ApplyStatus(ctx context.Context, routeTable *gatewaysoloiov1.RouteTableApplyConfiguration, opts metav1.ApplyOptions) (result *v1.RouteTable, err error) RouteTableExpansion }
RouteTableInterface has methods to work with RouteTable resources.
type RouteTablesGetter ¶
type RouteTablesGetter interface {
RouteTables(namespace string) RouteTableInterface
}
RouteTablesGetter has a method to return a RouteTableInterface. A group's client should implement this interface.
type VirtualHostOptionExpansion ¶ added in v1.8.0
type VirtualHostOptionExpansion interface{}
type VirtualHostOptionInterface ¶ added in v1.8.0
type VirtualHostOptionInterface interface { Create(ctx context.Context, virtualHostOption *v1.VirtualHostOption, opts metav1.CreateOptions) (*v1.VirtualHostOption, error) Update(ctx context.Context, virtualHostOption *v1.VirtualHostOption, opts metav1.UpdateOptions) (*v1.VirtualHostOption, error) UpdateStatus(ctx context.Context, virtualHostOption *v1.VirtualHostOption, opts metav1.UpdateOptions) (*v1.VirtualHostOption, 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.VirtualHostOption, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.VirtualHostOptionList, 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.VirtualHostOption, err error) Apply(ctx context.Context, virtualHostOption *gatewaysoloiov1.VirtualHostOptionApplyConfiguration, opts metav1.ApplyOptions) (result *v1.VirtualHostOption, err error) ApplyStatus(ctx context.Context, virtualHostOption *gatewaysoloiov1.VirtualHostOptionApplyConfiguration, opts metav1.ApplyOptions) (result *v1.VirtualHostOption, err error) VirtualHostOptionExpansion }
VirtualHostOptionInterface has methods to work with VirtualHostOption resources.
type VirtualHostOptionsGetter ¶ added in v1.8.0
type VirtualHostOptionsGetter interface {
VirtualHostOptions(namespace string) VirtualHostOptionInterface
}
VirtualHostOptionsGetter has a method to return a VirtualHostOptionInterface. A group's client should implement this interface.
type VirtualServiceExpansion ¶
type VirtualServiceExpansion interface{}
type VirtualServiceInterface ¶
type VirtualServiceInterface interface { Create(ctx context.Context, virtualService *v1.VirtualService, opts metav1.CreateOptions) (*v1.VirtualService, error) Update(ctx context.Context, virtualService *v1.VirtualService, opts metav1.UpdateOptions) (*v1.VirtualService, error) UpdateStatus(ctx context.Context, virtualService *v1.VirtualService, opts metav1.UpdateOptions) (*v1.VirtualService, 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.VirtualService, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.VirtualServiceList, 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.VirtualService, err error) Apply(ctx context.Context, virtualService *gatewaysoloiov1.VirtualServiceApplyConfiguration, opts metav1.ApplyOptions) (result *v1.VirtualService, err error) ApplyStatus(ctx context.Context, virtualService *gatewaysoloiov1.VirtualServiceApplyConfiguration, opts metav1.ApplyOptions) (result *v1.VirtualService, err error) VirtualServiceExpansion }
VirtualServiceInterface has methods to work with VirtualService resources.
type VirtualServicesGetter ¶
type VirtualServicesGetter interface {
VirtualServices(namespace string) VirtualServiceInterface
}
VirtualServicesGetter has a method to return a VirtualServiceInterface. A group's client should implement this interface.