Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ConfigurationExpansion
- type ConfigurationInterface
- type ConfigurationsGetter
- type RevisionExpansion
- type RevisionInterface
- type RevisionsGetter
- type RouteExpansion
- type RouteInterface
- type RoutesGetter
- type ServiceExpansion
- type ServiceInterface
- type ServicesGetter
- type ServingV1beta1Client
- func (c *ServingV1beta1Client) Configurations(namespace string) ConfigurationInterface
- func (c *ServingV1beta1Client) RESTClient() rest.Interface
- func (c *ServingV1beta1Client) Revisions(namespace string) RevisionInterface
- func (c *ServingV1beta1Client) Routes(namespace string) RouteInterface
- func (c *ServingV1beta1Client) Services(namespace string) ServiceInterface
- type ServingV1beta1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationExpansion ¶
type ConfigurationExpansion interface{}
type ConfigurationInterface ¶
type ConfigurationInterface interface { Create(*v1beta1.Configuration) (*v1beta1.Configuration, error) Update(*v1beta1.Configuration) (*v1beta1.Configuration, error) UpdateStatus(*v1beta1.Configuration) (*v1beta1.Configuration, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1beta1.Configuration, error) List(opts v1.ListOptions) (*v1beta1.ConfigurationList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Configuration, err error) ConfigurationExpansion }
ConfigurationInterface has methods to work with Configuration resources.
type ConfigurationsGetter ¶
type ConfigurationsGetter interface {
Configurations(namespace string) ConfigurationInterface
}
ConfigurationsGetter has a method to return a ConfigurationInterface. A group's client should implement this interface.
type RevisionExpansion ¶
type RevisionExpansion interface{}
type RevisionInterface ¶
type RevisionInterface interface { Create(*v1beta1.Revision) (*v1beta1.Revision, error) Update(*v1beta1.Revision) (*v1beta1.Revision, error) UpdateStatus(*v1beta1.Revision) (*v1beta1.Revision, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1beta1.Revision, error) List(opts v1.ListOptions) (*v1beta1.RevisionList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Revision, err error) RevisionExpansion }
RevisionInterface has methods to work with Revision resources.
type RevisionsGetter ¶
type RevisionsGetter interface {
Revisions(namespace string) RevisionInterface
}
RevisionsGetter has a method to return a RevisionInterface. A group's client should implement this interface.
type RouteExpansion ¶
type RouteExpansion interface{}
type RouteInterface ¶
type RouteInterface interface { Create(*v1beta1.Route) (*v1beta1.Route, error) Update(*v1beta1.Route) (*v1beta1.Route, error) UpdateStatus(*v1beta1.Route) (*v1beta1.Route, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1beta1.Route, error) List(opts v1.ListOptions) (*v1beta1.RouteList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Route, err error) RouteExpansion }
RouteInterface has methods to work with Route resources.
type RoutesGetter ¶
type RoutesGetter interface {
Routes(namespace string) RouteInterface
}
RoutesGetter has a method to return a RouteInterface. A group's client should implement this interface.
type ServiceExpansion ¶
type ServiceExpansion interface{}
type ServiceInterface ¶
type ServiceInterface interface { Create(*v1beta1.Service) (*v1beta1.Service, error) Update(*v1beta1.Service) (*v1beta1.Service, error) UpdateStatus(*v1beta1.Service) (*v1beta1.Service, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1beta1.Service, error) List(opts v1.ListOptions) (*v1beta1.ServiceList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Service, err error) ServiceExpansion }
ServiceInterface has methods to work with Service resources.
type ServicesGetter ¶
type ServicesGetter interface {
Services(namespace string) ServiceInterface
}
ServicesGetter has a method to return a ServiceInterface. A group's client should implement this interface.
type ServingV1beta1Client ¶
type ServingV1beta1Client struct {
// contains filtered or unexported fields
}
ServingV1beta1Client is used to interact with features provided by the serving.knative.dev group.
func New ¶
func New(c rest.Interface) *ServingV1beta1Client
New creates a new ServingV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ServingV1beta1Client, error)
NewForConfig creates a new ServingV1beta1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ServingV1beta1Client
NewForConfigOrDie creates a new ServingV1beta1Client for the given config and panics if there is an error in the config.
func (*ServingV1beta1Client) Configurations ¶
func (c *ServingV1beta1Client) Configurations(namespace string) ConfigurationInterface
func (*ServingV1beta1Client) RESTClient ¶
func (c *ServingV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ServingV1beta1Client) Revisions ¶
func (c *ServingV1beta1Client) Revisions(namespace string) RevisionInterface
func (*ServingV1beta1Client) Routes ¶
func (c *ServingV1beta1Client) Routes(namespace string) RouteInterface
func (*ServingV1beta1Client) Services ¶
func (c *ServingV1beta1Client) Services(namespace string) ServiceInterface
type ServingV1beta1Interface ¶
type ServingV1beta1Interface interface { RESTClient() rest.Interface ConfigurationsGetter RevisionsGetter RoutesGetter ServicesGetter }