Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterGitTrackObjects
- func (c *FakeClusterGitTrackObjects) Create(clusterGitTrackObject *v1alpha1.ClusterGitTrackObject) (result *v1alpha1.ClusterGitTrackObject, err error)
- func (c *FakeClusterGitTrackObjects) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterGitTrackObjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterGitTrackObjects) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterGitTrackObject, err error)
- func (c *FakeClusterGitTrackObjects) List(opts v1.ListOptions) (result *v1alpha1.ClusterGitTrackObjectList, err error)
- func (c *FakeClusterGitTrackObjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterGitTrackObject, err error)
- func (c *FakeClusterGitTrackObjects) Update(clusterGitTrackObject *v1alpha1.ClusterGitTrackObject) (result *v1alpha1.ClusterGitTrackObject, err error)
- func (c *FakeClusterGitTrackObjects) UpdateStatus(clusterGitTrackObject *v1alpha1.ClusterGitTrackObject) (*v1alpha1.ClusterGitTrackObject, error)
- func (c *FakeClusterGitTrackObjects) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterGitTracks
- func (c *FakeClusterGitTracks) Create(clusterGitTrack *v1alpha1.ClusterGitTrack) (result *v1alpha1.ClusterGitTrack, err error)
- func (c *FakeClusterGitTracks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterGitTracks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterGitTracks) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterGitTrack, err error)
- func (c *FakeClusterGitTracks) List(opts v1.ListOptions) (result *v1alpha1.ClusterGitTrackList, err error)
- func (c *FakeClusterGitTracks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterGitTrack, err error)
- func (c *FakeClusterGitTracks) Update(clusterGitTrack *v1alpha1.ClusterGitTrack) (result *v1alpha1.ClusterGitTrack, err error)
- func (c *FakeClusterGitTracks) UpdateStatus(clusterGitTrack *v1alpha1.ClusterGitTrack) (*v1alpha1.ClusterGitTrack, error)
- func (c *FakeClusterGitTracks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeFarosV1alpha1
- func (c *FakeFarosV1alpha1) ClusterGitTrackObjects() v1alpha1.ClusterGitTrackObjectInterface
- func (c *FakeFarosV1alpha1) ClusterGitTracks() v1alpha1.ClusterGitTrackInterface
- func (c *FakeFarosV1alpha1) GitTrackObjects(namespace string) v1alpha1.GitTrackObjectInterface
- func (c *FakeFarosV1alpha1) GitTracks(namespace string) v1alpha1.GitTrackInterface
- func (c *FakeFarosV1alpha1) RESTClient() rest.Interface
- type FakeGitTrackObjects
- func (c *FakeGitTrackObjects) Create(gitTrackObject *v1alpha1.GitTrackObject) (result *v1alpha1.GitTrackObject, err error)
- func (c *FakeGitTrackObjects) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGitTrackObjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGitTrackObjects) Get(name string, options v1.GetOptions) (result *v1alpha1.GitTrackObject, err error)
- func (c *FakeGitTrackObjects) List(opts v1.ListOptions) (result *v1alpha1.GitTrackObjectList, err error)
- func (c *FakeGitTrackObjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GitTrackObject, err error)
- func (c *FakeGitTrackObjects) Update(gitTrackObject *v1alpha1.GitTrackObject) (result *v1alpha1.GitTrackObject, err error)
- func (c *FakeGitTrackObjects) UpdateStatus(gitTrackObject *v1alpha1.GitTrackObject) (*v1alpha1.GitTrackObject, error)
- func (c *FakeGitTrackObjects) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGitTracks
- func (c *FakeGitTracks) Create(gitTrack *v1alpha1.GitTrack) (result *v1alpha1.GitTrack, err error)
- func (c *FakeGitTracks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGitTracks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGitTracks) Get(name string, options v1.GetOptions) (result *v1alpha1.GitTrack, err error)
- func (c *FakeGitTracks) List(opts v1.ListOptions) (result *v1alpha1.GitTrackList, err error)
- func (c *FakeGitTracks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GitTrack, err error)
- func (c *FakeGitTracks) Update(gitTrack *v1alpha1.GitTrack) (result *v1alpha1.GitTrack, err error)
- func (c *FakeGitTracks) UpdateStatus(gitTrack *v1alpha1.GitTrack) (*v1alpha1.GitTrack, error)
- func (c *FakeGitTracks) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterGitTrackObjects ¶
type FakeClusterGitTrackObjects struct {
Fake *FakeFarosV1alpha1
}
FakeClusterGitTrackObjects implements ClusterGitTrackObjectInterface
func (*FakeClusterGitTrackObjects) Create ¶
func (c *FakeClusterGitTrackObjects) Create(clusterGitTrackObject *v1alpha1.ClusterGitTrackObject) (result *v1alpha1.ClusterGitTrackObject, err error)
Create takes the representation of a clusterGitTrackObject and creates it. Returns the server's representation of the clusterGitTrackObject, and an error, if there is any.
func (*FakeClusterGitTrackObjects) Delete ¶
func (c *FakeClusterGitTrackObjects) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterGitTrackObject and deletes it. Returns an error if one occurs.
func (*FakeClusterGitTrackObjects) DeleteCollection ¶
func (c *FakeClusterGitTrackObjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterGitTrackObjects) Get ¶
func (c *FakeClusterGitTrackObjects) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterGitTrackObject, err error)
Get takes name of the clusterGitTrackObject, and returns the corresponding clusterGitTrackObject object, and an error if there is any.
func (*FakeClusterGitTrackObjects) List ¶
func (c *FakeClusterGitTrackObjects) List(opts v1.ListOptions) (result *v1alpha1.ClusterGitTrackObjectList, err error)
List takes label and field selectors, and returns the list of ClusterGitTrackObjects that match those selectors.
func (*FakeClusterGitTrackObjects) Patch ¶
func (c *FakeClusterGitTrackObjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterGitTrackObject, err error)
Patch applies the patch and returns the patched clusterGitTrackObject.
func (*FakeClusterGitTrackObjects) Update ¶
func (c *FakeClusterGitTrackObjects) Update(clusterGitTrackObject *v1alpha1.ClusterGitTrackObject) (result *v1alpha1.ClusterGitTrackObject, err error)
Update takes the representation of a clusterGitTrackObject and updates it. Returns the server's representation of the clusterGitTrackObject, and an error, if there is any.
func (*FakeClusterGitTrackObjects) UpdateStatus ¶
func (c *FakeClusterGitTrackObjects) UpdateStatus(clusterGitTrackObject *v1alpha1.ClusterGitTrackObject) (*v1alpha1.ClusterGitTrackObject, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterGitTrackObjects) Watch ¶
func (c *FakeClusterGitTrackObjects) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterGitTrackObjects.
type FakeClusterGitTracks ¶ added in v0.7.0
type FakeClusterGitTracks struct {
Fake *FakeFarosV1alpha1
}
FakeClusterGitTracks implements ClusterGitTrackInterface
func (*FakeClusterGitTracks) Create ¶ added in v0.7.0
func (c *FakeClusterGitTracks) Create(clusterGitTrack *v1alpha1.ClusterGitTrack) (result *v1alpha1.ClusterGitTrack, err error)
Create takes the representation of a clusterGitTrack and creates it. Returns the server's representation of the clusterGitTrack, and an error, if there is any.
func (*FakeClusterGitTracks) Delete ¶ added in v0.7.0
func (c *FakeClusterGitTracks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterGitTrack and deletes it. Returns an error if one occurs.
func (*FakeClusterGitTracks) DeleteCollection ¶ added in v0.7.0
func (c *FakeClusterGitTracks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterGitTracks) Get ¶ added in v0.7.0
func (c *FakeClusterGitTracks) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterGitTrack, err error)
Get takes name of the clusterGitTrack, and returns the corresponding clusterGitTrack object, and an error if there is any.
func (*FakeClusterGitTracks) List ¶ added in v0.7.0
func (c *FakeClusterGitTracks) List(opts v1.ListOptions) (result *v1alpha1.ClusterGitTrackList, err error)
List takes label and field selectors, and returns the list of ClusterGitTracks that match those selectors.
func (*FakeClusterGitTracks) Patch ¶ added in v0.7.0
func (c *FakeClusterGitTracks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterGitTrack, err error)
Patch applies the patch and returns the patched clusterGitTrack.
func (*FakeClusterGitTracks) Update ¶ added in v0.7.0
func (c *FakeClusterGitTracks) Update(clusterGitTrack *v1alpha1.ClusterGitTrack) (result *v1alpha1.ClusterGitTrack, err error)
Update takes the representation of a clusterGitTrack and updates it. Returns the server's representation of the clusterGitTrack, and an error, if there is any.
func (*FakeClusterGitTracks) UpdateStatus ¶ added in v0.7.0
func (c *FakeClusterGitTracks) UpdateStatus(clusterGitTrack *v1alpha1.ClusterGitTrack) (*v1alpha1.ClusterGitTrack, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterGitTracks) Watch ¶ added in v0.7.0
func (c *FakeClusterGitTracks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterGitTracks.
type FakeFarosV1alpha1 ¶
func (*FakeFarosV1alpha1) ClusterGitTrackObjects ¶
func (c *FakeFarosV1alpha1) ClusterGitTrackObjects() v1alpha1.ClusterGitTrackObjectInterface
func (*FakeFarosV1alpha1) ClusterGitTracks ¶ added in v0.7.0
func (c *FakeFarosV1alpha1) ClusterGitTracks() v1alpha1.ClusterGitTrackInterface
func (*FakeFarosV1alpha1) GitTrackObjects ¶
func (c *FakeFarosV1alpha1) GitTrackObjects(namespace string) v1alpha1.GitTrackObjectInterface
func (*FakeFarosV1alpha1) GitTracks ¶
func (c *FakeFarosV1alpha1) GitTracks(namespace string) v1alpha1.GitTrackInterface
func (*FakeFarosV1alpha1) RESTClient ¶
func (c *FakeFarosV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeGitTrackObjects ¶
type FakeGitTrackObjects struct { Fake *FakeFarosV1alpha1 // contains filtered or unexported fields }
FakeGitTrackObjects implements GitTrackObjectInterface
func (*FakeGitTrackObjects) Create ¶
func (c *FakeGitTrackObjects) Create(gitTrackObject *v1alpha1.GitTrackObject) (result *v1alpha1.GitTrackObject, err error)
Create takes the representation of a gitTrackObject and creates it. Returns the server's representation of the gitTrackObject, and an error, if there is any.
func (*FakeGitTrackObjects) Delete ¶
func (c *FakeGitTrackObjects) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the gitTrackObject and deletes it. Returns an error if one occurs.
func (*FakeGitTrackObjects) DeleteCollection ¶
func (c *FakeGitTrackObjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGitTrackObjects) Get ¶
func (c *FakeGitTrackObjects) Get(name string, options v1.GetOptions) (result *v1alpha1.GitTrackObject, err error)
Get takes name of the gitTrackObject, and returns the corresponding gitTrackObject object, and an error if there is any.
func (*FakeGitTrackObjects) List ¶
func (c *FakeGitTrackObjects) List(opts v1.ListOptions) (result *v1alpha1.GitTrackObjectList, err error)
List takes label and field selectors, and returns the list of GitTrackObjects that match those selectors.
func (*FakeGitTrackObjects) Patch ¶
func (c *FakeGitTrackObjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GitTrackObject, err error)
Patch applies the patch and returns the patched gitTrackObject.
func (*FakeGitTrackObjects) Update ¶
func (c *FakeGitTrackObjects) Update(gitTrackObject *v1alpha1.GitTrackObject) (result *v1alpha1.GitTrackObject, err error)
Update takes the representation of a gitTrackObject and updates it. Returns the server's representation of the gitTrackObject, and an error, if there is any.
func (*FakeGitTrackObjects) UpdateStatus ¶
func (c *FakeGitTrackObjects) UpdateStatus(gitTrackObject *v1alpha1.GitTrackObject) (*v1alpha1.GitTrackObject, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGitTrackObjects) Watch ¶
func (c *FakeGitTrackObjects) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gitTrackObjects.
type FakeGitTracks ¶
type FakeGitTracks struct { Fake *FakeFarosV1alpha1 // contains filtered or unexported fields }
FakeGitTracks implements GitTrackInterface
func (*FakeGitTracks) Create ¶
Create takes the representation of a gitTrack and creates it. Returns the server's representation of the gitTrack, and an error, if there is any.
func (*FakeGitTracks) Delete ¶
func (c *FakeGitTracks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the gitTrack and deletes it. Returns an error if one occurs.
func (*FakeGitTracks) DeleteCollection ¶
func (c *FakeGitTracks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGitTracks) Get ¶
func (c *FakeGitTracks) Get(name string, options v1.GetOptions) (result *v1alpha1.GitTrack, err error)
Get takes name of the gitTrack, and returns the corresponding gitTrack object, and an error if there is any.
func (*FakeGitTracks) List ¶
func (c *FakeGitTracks) List(opts v1.ListOptions) (result *v1alpha1.GitTrackList, err error)
List takes label and field selectors, and returns the list of GitTracks that match those selectors.
func (*FakeGitTracks) Patch ¶
func (c *FakeGitTracks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GitTrack, err error)
Patch applies the patch and returns the patched gitTrack.
func (*FakeGitTracks) Update ¶
Update takes the representation of a gitTrack and updates it. Returns the server's representation of the gitTrack, and an error, if there is any.
func (*FakeGitTracks) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGitTracks) Watch ¶
func (c *FakeGitTracks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gitTracks.