Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClabernetesV1alpha1
- func (c *FakeClabernetesV1alpha1) Configs(namespace string) v1alpha1.ConfigInterface
- func (c *FakeClabernetesV1alpha1) ImageRequests(namespace string) v1alpha1.ImageRequestInterface
- func (c *FakeClabernetesV1alpha1) RESTClient() rest.Interface
- func (c *FakeClabernetesV1alpha1) Topologies(namespace string) v1alpha1.TopologyInterface
- type FakeConfigs
- func (c *FakeConfigs) Create(ctx context.Context, config *v1alpha1.Config, opts v1.CreateOptions) (result *v1alpha1.Config, err error)
- func (c *FakeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Config, err error)
- func (c *FakeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigList, err error)
- func (c *FakeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Config, err error)
- func (c *FakeConfigs) Update(ctx context.Context, config *v1alpha1.Config, opts v1.UpdateOptions) (result *v1alpha1.Config, err error)
- func (c *FakeConfigs) UpdateStatus(ctx context.Context, config *v1alpha1.Config, opts v1.UpdateOptions) (*v1alpha1.Config, error)
- func (c *FakeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeImageRequests
- func (c *FakeImageRequests) Create(ctx context.Context, imageRequest *v1alpha1.ImageRequest, ...) (result *v1alpha1.ImageRequest, err error)
- func (c *FakeImageRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeImageRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeImageRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ImageRequest, err error)
- func (c *FakeImageRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ImageRequestList, err error)
- func (c *FakeImageRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ImageRequest, err error)
- func (c *FakeImageRequests) Update(ctx context.Context, imageRequest *v1alpha1.ImageRequest, ...) (result *v1alpha1.ImageRequest, err error)
- func (c *FakeImageRequests) UpdateStatus(ctx context.Context, imageRequest *v1alpha1.ImageRequest, ...) (*v1alpha1.ImageRequest, error)
- func (c *FakeImageRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTopologies
- func (c *FakeTopologies) Create(ctx context.Context, topology *v1alpha1.Topology, opts v1.CreateOptions) (result *v1alpha1.Topology, err error)
- func (c *FakeTopologies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTopologies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTopologies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Topology, err error)
- func (c *FakeTopologies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TopologyList, err error)
- func (c *FakeTopologies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Topology, err error)
- func (c *FakeTopologies) Update(ctx context.Context, topology *v1alpha1.Topology, opts v1.UpdateOptions) (result *v1alpha1.Topology, err error)
- func (c *FakeTopologies) UpdateStatus(ctx context.Context, topology *v1alpha1.Topology, opts v1.UpdateOptions) (*v1alpha1.Topology, error)
- func (c *FakeTopologies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClabernetesV1alpha1 ¶
func (*FakeClabernetesV1alpha1) Configs ¶
func (c *FakeClabernetesV1alpha1) Configs(namespace string) v1alpha1.ConfigInterface
func (*FakeClabernetesV1alpha1) ImageRequests ¶
func (c *FakeClabernetesV1alpha1) ImageRequests(namespace string) v1alpha1.ImageRequestInterface
func (*FakeClabernetesV1alpha1) RESTClient ¶
func (c *FakeClabernetesV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeClabernetesV1alpha1) Topologies ¶
func (c *FakeClabernetesV1alpha1) Topologies(namespace string) v1alpha1.TopologyInterface
type FakeConfigs ¶
type FakeConfigs struct { Fake *FakeClabernetesV1alpha1 // contains filtered or unexported fields }
FakeConfigs implements ConfigInterface
func (*FakeConfigs) Create ¶
func (c *FakeConfigs) Create( ctx context.Context, config *v1alpha1.Config, opts v1.CreateOptions, ) (result *v1alpha1.Config, err error)
Create takes the representation of a config and creates it. Returns the server's representation of the config, and an error, if there is any.
func (*FakeConfigs) Delete ¶
func (c *FakeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the config and deletes it. Returns an error if one occurs.
func (*FakeConfigs) DeleteCollection ¶
func (c *FakeConfigs) DeleteCollection( ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions, ) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigs) Get ¶
func (c *FakeConfigs) Get( ctx context.Context, name string, options v1.GetOptions, ) (result *v1alpha1.Config, err error)
Get takes name of the config, and returns the corresponding config object, and an error if there is any.
func (*FakeConfigs) List ¶
func (c *FakeConfigs) List( ctx context.Context, opts v1.ListOptions, ) (result *v1alpha1.ConfigList, err error)
List takes label and field selectors, and returns the list of Configs that match those selectors.
func (*FakeConfigs) Patch ¶
func (c *FakeConfigs) Patch( ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string, ) (result *v1alpha1.Config, err error)
Patch applies the patch and returns the patched config.
func (*FakeConfigs) Update ¶
func (c *FakeConfigs) Update( ctx context.Context, config *v1alpha1.Config, opts v1.UpdateOptions, ) (result *v1alpha1.Config, err error)
Update takes the representation of a config and updates it. Returns the server's representation of the config, and an error, if there is any.
func (*FakeConfigs) UpdateStatus ¶
func (c *FakeConfigs) UpdateStatus( ctx context.Context, config *v1alpha1.Config, opts v1.UpdateOptions, ) (*v1alpha1.Config, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigs) Watch ¶
func (c *FakeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configs.
type FakeImageRequests ¶
type FakeImageRequests struct { Fake *FakeClabernetesV1alpha1 // contains filtered or unexported fields }
FakeImageRequests implements ImageRequestInterface
func (*FakeImageRequests) Create ¶
func (c *FakeImageRequests) Create( ctx context.Context, imageRequest *v1alpha1.ImageRequest, opts v1.CreateOptions, ) (result *v1alpha1.ImageRequest, err error)
Create takes the representation of a imageRequest and creates it. Returns the server's representation of the imageRequest, and an error, if there is any.
func (*FakeImageRequests) Delete ¶
func (c *FakeImageRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the imageRequest and deletes it. Returns an error if one occurs.
func (*FakeImageRequests) DeleteCollection ¶
func (c *FakeImageRequests) DeleteCollection( ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions, ) error
DeleteCollection deletes a collection of objects.
func (*FakeImageRequests) Get ¶
func (c *FakeImageRequests) Get( ctx context.Context, name string, options v1.GetOptions, ) (result *v1alpha1.ImageRequest, err error)
Get takes name of the imageRequest, and returns the corresponding imageRequest object, and an error if there is any.
func (*FakeImageRequests) List ¶
func (c *FakeImageRequests) List( ctx context.Context, opts v1.ListOptions, ) (result *v1alpha1.ImageRequestList, err error)
List takes label and field selectors, and returns the list of ImageRequests that match those selectors.
func (*FakeImageRequests) Patch ¶
func (c *FakeImageRequests) Patch( ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string, ) (result *v1alpha1.ImageRequest, err error)
Patch applies the patch and returns the patched imageRequest.
func (*FakeImageRequests) Update ¶
func (c *FakeImageRequests) Update( ctx context.Context, imageRequest *v1alpha1.ImageRequest, opts v1.UpdateOptions, ) (result *v1alpha1.ImageRequest, err error)
Update takes the representation of a imageRequest and updates it. Returns the server's representation of the imageRequest, and an error, if there is any.
func (*FakeImageRequests) UpdateStatus ¶
func (c *FakeImageRequests) UpdateStatus( ctx context.Context, imageRequest *v1alpha1.ImageRequest, opts v1.UpdateOptions, ) (*v1alpha1.ImageRequest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeImageRequests) Watch ¶
func (c *FakeImageRequests) Watch( ctx context.Context, opts v1.ListOptions, ) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imageRequests.
type FakeTopologies ¶
type FakeTopologies struct { Fake *FakeClabernetesV1alpha1 // contains filtered or unexported fields }
FakeTopologies implements TopologyInterface
func (*FakeTopologies) Create ¶
func (c *FakeTopologies) Create( ctx context.Context, topology *v1alpha1.Topology, opts v1.CreateOptions, ) (result *v1alpha1.Topology, err error)
Create takes the representation of a topology and creates it. Returns the server's representation of the topology, and an error, if there is any.
func (*FakeTopologies) Delete ¶
func (c *FakeTopologies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the topology and deletes it. Returns an error if one occurs.
func (*FakeTopologies) DeleteCollection ¶
func (c *FakeTopologies) DeleteCollection( ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions, ) error
DeleteCollection deletes a collection of objects.
func (*FakeTopologies) Get ¶
func (c *FakeTopologies) Get( ctx context.Context, name string, options v1.GetOptions, ) (result *v1alpha1.Topology, err error)
Get takes name of the topology, and returns the corresponding topology object, and an error if there is any.
func (*FakeTopologies) List ¶
func (c *FakeTopologies) List( ctx context.Context, opts v1.ListOptions, ) (result *v1alpha1.TopologyList, err error)
List takes label and field selectors, and returns the list of Topologies that match those selectors.
func (*FakeTopologies) Patch ¶
func (c *FakeTopologies) Patch( ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string, ) (result *v1alpha1.Topology, err error)
Patch applies the patch and returns the patched topology.
func (*FakeTopologies) Update ¶
func (c *FakeTopologies) Update( ctx context.Context, topology *v1alpha1.Topology, opts v1.UpdateOptions, ) (result *v1alpha1.Topology, err error)
Update takes the representation of a topology and updates it. Returns the server's representation of the topology, and an error, if there is any.
func (*FakeTopologies) UpdateStatus ¶
func (c *FakeTopologies) UpdateStatus( ctx context.Context, topology *v1alpha1.Topology, opts v1.UpdateOptions, ) (*v1alpha1.Topology, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTopologies) Watch ¶
func (c *FakeTopologies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested topologies.