Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigurations
- func (c *FakeConfigurations) Create(configuration *v1beta1.Configuration) (result *v1beta1.Configuration, err error)
- func (c *FakeConfigurations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeConfigurations) Get(name string, options v1.GetOptions) (result *v1beta1.Configuration, err error)
- func (c *FakeConfigurations) List(opts v1.ListOptions) (result *v1beta1.ConfigurationList, err error)
- func (c *FakeConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Configuration, err error)
- func (c *FakeConfigurations) Update(configuration *v1beta1.Configuration) (result *v1beta1.Configuration, err error)
- func (c *FakeConfigurations) UpdateStatus(configuration *v1beta1.Configuration) (*v1beta1.Configuration, error)
- func (c *FakeConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRevisions
- func (c *FakeRevisions) Create(revision *v1beta1.Revision) (result *v1beta1.Revision, err error)
- func (c *FakeRevisions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRevisions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRevisions) Get(name string, options v1.GetOptions) (result *v1beta1.Revision, err error)
- func (c *FakeRevisions) List(opts v1.ListOptions) (result *v1beta1.RevisionList, err error)
- func (c *FakeRevisions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Revision, err error)
- func (c *FakeRevisions) Update(revision *v1beta1.Revision) (result *v1beta1.Revision, err error)
- func (c *FakeRevisions) UpdateStatus(revision *v1beta1.Revision) (*v1beta1.Revision, error)
- func (c *FakeRevisions) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRoutes
- func (c *FakeRoutes) Create(route *v1beta1.Route) (result *v1beta1.Route, err error)
- func (c *FakeRoutes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRoutes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRoutes) Get(name string, options v1.GetOptions) (result *v1beta1.Route, err error)
- func (c *FakeRoutes) List(opts v1.ListOptions) (result *v1beta1.RouteList, err error)
- func (c *FakeRoutes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Route, err error)
- func (c *FakeRoutes) Update(route *v1beta1.Route) (result *v1beta1.Route, err error)
- func (c *FakeRoutes) UpdateStatus(route *v1beta1.Route) (*v1beta1.Route, error)
- func (c *FakeRoutes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServices
- func (c *FakeServices) Create(service *v1beta1.Service) (result *v1beta1.Service, err error)
- func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServices) Get(name string, options v1.GetOptions) (result *v1beta1.Service, err error)
- func (c *FakeServices) List(opts v1.ListOptions) (result *v1beta1.ServiceList, err error)
- func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Service, err error)
- func (c *FakeServices) Update(service *v1beta1.Service) (result *v1beta1.Service, err error)
- func (c *FakeServices) UpdateStatus(service *v1beta1.Service) (*v1beta1.Service, error)
- func (c *FakeServices) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServingV1beta1
- func (c *FakeServingV1beta1) Configurations(namespace string) v1beta1.ConfigurationInterface
- func (c *FakeServingV1beta1) RESTClient() rest.Interface
- func (c *FakeServingV1beta1) Revisions(namespace string) v1beta1.RevisionInterface
- func (c *FakeServingV1beta1) Routes(namespace string) v1beta1.RouteInterface
- func (c *FakeServingV1beta1) Services(namespace string) v1beta1.ServiceInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConfigurations ¶
type FakeConfigurations struct { Fake *FakeServingV1beta1 // contains filtered or unexported fields }
FakeConfigurations implements ConfigurationInterface
func (*FakeConfigurations) Create ¶
func (c *FakeConfigurations) Create(configuration *v1beta1.Configuration) (result *v1beta1.Configuration, err error)
Create takes the representation of a configuration and creates it. Returns the server's representation of the configuration, and an error, if there is any.
func (*FakeConfigurations) Delete ¶
func (c *FakeConfigurations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the configuration and deletes it. Returns an error if one occurs.
func (*FakeConfigurations) DeleteCollection ¶
func (c *FakeConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigurations) Get ¶
func (c *FakeConfigurations) Get(name string, options v1.GetOptions) (result *v1beta1.Configuration, err error)
Get takes name of the configuration, and returns the corresponding configuration object, and an error if there is any.
func (*FakeConfigurations) List ¶
func (c *FakeConfigurations) List(opts v1.ListOptions) (result *v1beta1.ConfigurationList, err error)
List takes label and field selectors, and returns the list of Configurations that match those selectors.
func (*FakeConfigurations) Patch ¶
func (c *FakeConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Configuration, err error)
Patch applies the patch and returns the patched configuration.
func (*FakeConfigurations) Update ¶
func (c *FakeConfigurations) Update(configuration *v1beta1.Configuration) (result *v1beta1.Configuration, err error)
Update takes the representation of a configuration and updates it. Returns the server's representation of the configuration, and an error, if there is any.
func (*FakeConfigurations) UpdateStatus ¶
func (c *FakeConfigurations) UpdateStatus(configuration *v1beta1.Configuration) (*v1beta1.Configuration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigurations) Watch ¶
func (c *FakeConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configurations.
type FakeRevisions ¶
type FakeRevisions struct { Fake *FakeServingV1beta1 // contains filtered or unexported fields }
FakeRevisions implements RevisionInterface
func (*FakeRevisions) Create ¶
Create takes the representation of a revision and creates it. Returns the server's representation of the revision, and an error, if there is any.
func (*FakeRevisions) Delete ¶
func (c *FakeRevisions) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the revision and deletes it. Returns an error if one occurs.
func (*FakeRevisions) DeleteCollection ¶
func (c *FakeRevisions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRevisions) Get ¶
func (c *FakeRevisions) Get(name string, options v1.GetOptions) (result *v1beta1.Revision, err error)
Get takes name of the revision, and returns the corresponding revision object, and an error if there is any.
func (*FakeRevisions) List ¶
func (c *FakeRevisions) List(opts v1.ListOptions) (result *v1beta1.RevisionList, err error)
List takes label and field selectors, and returns the list of Revisions that match those selectors.
func (*FakeRevisions) Patch ¶
func (c *FakeRevisions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Revision, err error)
Patch applies the patch and returns the patched revision.
func (*FakeRevisions) Update ¶
Update takes the representation of a revision and updates it. Returns the server's representation of the revision, and an error, if there is any.
func (*FakeRevisions) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRevisions) Watch ¶
func (c *FakeRevisions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested revisions.
type FakeRoutes ¶
type FakeRoutes struct { Fake *FakeServingV1beta1 // contains filtered or unexported fields }
FakeRoutes implements RouteInterface
func (*FakeRoutes) Create ¶
Create takes the representation of a route and creates it. Returns the server's representation of the route, and an error, if there is any.
func (*FakeRoutes) Delete ¶
func (c *FakeRoutes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the route and deletes it. Returns an error if one occurs.
func (*FakeRoutes) DeleteCollection ¶
func (c *FakeRoutes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRoutes) Get ¶
func (c *FakeRoutes) Get(name string, options v1.GetOptions) (result *v1beta1.Route, err error)
Get takes name of the route, and returns the corresponding route object, and an error if there is any.
func (*FakeRoutes) List ¶
func (c *FakeRoutes) List(opts v1.ListOptions) (result *v1beta1.RouteList, err error)
List takes label and field selectors, and returns the list of Routes that match those selectors.
func (*FakeRoutes) Patch ¶
func (c *FakeRoutes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Route, err error)
Patch applies the patch and returns the patched route.
func (*FakeRoutes) Update ¶
Update takes the representation of a route and updates it. Returns the server's representation of the route, and an error, if there is any.
func (*FakeRoutes) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRoutes) Watch ¶
func (c *FakeRoutes) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested routes.
type FakeServices ¶
type FakeServices struct { Fake *FakeServingV1beta1 // contains filtered or unexported fields }
FakeServices implements ServiceInterface
func (*FakeServices) Create ¶
Create takes the representation of a service and creates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) Delete ¶
func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the service and deletes it. Returns an error if one occurs.
func (*FakeServices) DeleteCollection ¶
func (c *FakeServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServices) Get ¶
func (c *FakeServices) Get(name string, options v1.GetOptions) (result *v1beta1.Service, err error)
Get takes name of the service, and returns the corresponding service object, and an error if there is any.
func (*FakeServices) List ¶
func (c *FakeServices) List(opts v1.ListOptions) (result *v1beta1.ServiceList, err error)
List takes label and field selectors, and returns the list of Services that match those selectors.
func (*FakeServices) Patch ¶
func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Service, err error)
Patch applies the patch and returns the patched service.
func (*FakeServices) Update ¶
Update takes the representation of a service and updates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServices) Watch ¶
func (c *FakeServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested services.
type FakeServingV1beta1 ¶
func (*FakeServingV1beta1) Configurations ¶
func (c *FakeServingV1beta1) Configurations(namespace string) v1beta1.ConfigurationInterface
func (*FakeServingV1beta1) RESTClient ¶
func (c *FakeServingV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeServingV1beta1) Revisions ¶
func (c *FakeServingV1beta1) Revisions(namespace string) v1beta1.RevisionInterface
func (*FakeServingV1beta1) Routes ¶
func (c *FakeServingV1beta1) Routes(namespace string) v1beta1.RouteInterface
func (*FakeServingV1beta1) Services ¶
func (c *FakeServingV1beta1) Services(namespace string) v1beta1.ServiceInterface