Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type GatewayClassExpansion
- type GatewayClassInterface
- type GatewayClassesGetter
- type GatewayExpansion
- type GatewayInterface
- type GatewayV1beta1Client
- func (c *GatewayV1beta1Client) GatewayClasses() GatewayClassInterface
- func (c *GatewayV1beta1Client) Gateways(namespace string) GatewayInterface
- func (c *GatewayV1beta1Client) HTTPRoutes(namespace string) HTTPRouteInterface
- func (c *GatewayV1beta1Client) RESTClient() rest.Interface
- func (c *GatewayV1beta1Client) ReferenceGrants(namespace string) ReferenceGrantInterface
- type GatewayV1beta1Interface
- type GatewaysGetter
- type HTTPRouteExpansion
- type HTTPRouteInterface
- type HTTPRoutesGetter
- type ReferenceGrantExpansion
- type ReferenceGrantInterface
- type ReferenceGrantsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayClassExpansion ¶
type GatewayClassExpansion interface{}
type GatewayClassInterface ¶
type GatewayClassInterface interface { Create(ctx context.Context, gatewayClass *v1beta1.GatewayClass, opts v1.CreateOptions) (*v1beta1.GatewayClass, error) Update(ctx context.Context, gatewayClass *v1beta1.GatewayClass, opts v1.UpdateOptions) (*v1beta1.GatewayClass, error) UpdateStatus(ctx context.Context, gatewayClass *v1beta1.GatewayClass, opts v1.UpdateOptions) (*v1beta1.GatewayClass, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.GatewayClass, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.GatewayClassList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.GatewayClass, err error) Apply(ctx context.Context, gatewayClass *apisv1beta1.GatewayClassApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.GatewayClass, err error) ApplyStatus(ctx context.Context, gatewayClass *apisv1beta1.GatewayClassApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.GatewayClass, err error) GatewayClassExpansion }
GatewayClassInterface has methods to work with GatewayClass resources.
type GatewayClassesGetter ¶
type GatewayClassesGetter interface {
GatewayClasses() GatewayClassInterface
}
GatewayClassesGetter has a method to return a GatewayClassInterface. A group's client should implement this interface.
type GatewayExpansion ¶
type GatewayExpansion interface{}
type GatewayInterface ¶
type GatewayInterface interface { Create(ctx context.Context, gateway *v1beta1.Gateway, opts v1.CreateOptions) (*v1beta1.Gateway, error) Update(ctx context.Context, gateway *v1beta1.Gateway, opts v1.UpdateOptions) (*v1beta1.Gateway, error) UpdateStatus(ctx context.Context, gateway *v1beta1.Gateway, opts v1.UpdateOptions) (*v1beta1.Gateway, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Gateway, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.GatewayList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Gateway, err error) Apply(ctx context.Context, gateway *apisv1beta1.GatewayApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Gateway, err error) ApplyStatus(ctx context.Context, gateway *apisv1beta1.GatewayApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Gateway, err error) GatewayExpansion }
GatewayInterface has methods to work with Gateway resources.
type GatewayV1beta1Client ¶
type GatewayV1beta1Client struct {
// contains filtered or unexported fields
}
GatewayV1beta1Client is used to interact with features provided by the gateway.networking.k8s.io group.
func New ¶
func New(c rest.Interface) *GatewayV1beta1Client
New creates a new GatewayV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*GatewayV1beta1Client, error)
NewForConfig creates a new GatewayV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new GatewayV1beta1Client 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) *GatewayV1beta1Client
NewForConfigOrDie creates a new GatewayV1beta1Client for the given config and panics if there is an error in the config.
func (*GatewayV1beta1Client) GatewayClasses ¶
func (c *GatewayV1beta1Client) GatewayClasses() GatewayClassInterface
func (*GatewayV1beta1Client) Gateways ¶
func (c *GatewayV1beta1Client) Gateways(namespace string) GatewayInterface
func (*GatewayV1beta1Client) HTTPRoutes ¶
func (c *GatewayV1beta1Client) HTTPRoutes(namespace string) HTTPRouteInterface
func (*GatewayV1beta1Client) RESTClient ¶
func (c *GatewayV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*GatewayV1beta1Client) ReferenceGrants ¶ added in v0.6.0
func (c *GatewayV1beta1Client) ReferenceGrants(namespace string) ReferenceGrantInterface
type GatewayV1beta1Interface ¶
type GatewayV1beta1Interface interface { RESTClient() rest.Interface GatewaysGetter GatewayClassesGetter HTTPRoutesGetter ReferenceGrantsGetter }
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 HTTPRouteExpansion ¶
type HTTPRouteExpansion interface{}
type HTTPRouteInterface ¶
type HTTPRouteInterface interface { Create(ctx context.Context, hTTPRoute *v1beta1.HTTPRoute, opts v1.CreateOptions) (*v1beta1.HTTPRoute, error) Update(ctx context.Context, hTTPRoute *v1beta1.HTTPRoute, opts v1.UpdateOptions) (*v1beta1.HTTPRoute, error) UpdateStatus(ctx context.Context, hTTPRoute *v1beta1.HTTPRoute, opts v1.UpdateOptions) (*v1beta1.HTTPRoute, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.HTTPRoute, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.HTTPRouteList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.HTTPRoute, err error) Apply(ctx context.Context, hTTPRoute *apisv1beta1.HTTPRouteApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.HTTPRoute, err error) ApplyStatus(ctx context.Context, hTTPRoute *apisv1beta1.HTTPRouteApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.HTTPRoute, err error) HTTPRouteExpansion }
HTTPRouteInterface has methods to work with HTTPRoute resources.
type HTTPRoutesGetter ¶
type HTTPRoutesGetter interface {
HTTPRoutes(namespace string) HTTPRouteInterface
}
HTTPRoutesGetter has a method to return a HTTPRouteInterface. A group's client should implement this interface.
type ReferenceGrantExpansion ¶ added in v0.6.0
type ReferenceGrantExpansion interface{}
type ReferenceGrantInterface ¶ added in v0.6.0
type ReferenceGrantInterface interface { Create(ctx context.Context, referenceGrant *v1beta1.ReferenceGrant, opts v1.CreateOptions) (*v1beta1.ReferenceGrant, error) Update(ctx context.Context, referenceGrant *v1beta1.ReferenceGrant, opts v1.UpdateOptions) (*v1beta1.ReferenceGrant, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.ReferenceGrant, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ReferenceGrantList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ReferenceGrant, err error) Apply(ctx context.Context, referenceGrant *apisv1beta1.ReferenceGrantApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ReferenceGrant, err error) ReferenceGrantExpansion }
ReferenceGrantInterface has methods to work with ReferenceGrant resources.
type ReferenceGrantsGetter ¶ added in v0.6.0
type ReferenceGrantsGetter interface {
ReferenceGrants(namespace string) ReferenceGrantInterface
}
ReferenceGrantsGetter has a method to return a ReferenceGrantInterface. A group's client should implement this interface.