Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDevopsV1alpha1
- func (c *FakeDevopsV1alpha1) RESTClient() rest.Interface
- func (c *FakeDevopsV1alpha1) S2iBinaries(namespace string) v1alpha1.S2iBinaryInterface
- func (c *FakeDevopsV1alpha1) S2iBuilderTemplates() v1alpha1.S2iBuilderTemplateInterface
- func (c *FakeDevopsV1alpha1) S2iBuilders(namespace string) v1alpha1.S2iBuilderInterface
- func (c *FakeDevopsV1alpha1) S2iRuns(namespace string) v1alpha1.S2iRunInterface
- type FakeS2iBinaries
- func (c *FakeS2iBinaries) Create(ctx context.Context, s2iBinary *v1alpha1.S2iBinary, opts v1.CreateOptions) (result *v1alpha1.S2iBinary, err error)
- func (c *FakeS2iBinaries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeS2iBinaries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeS2iBinaries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.S2iBinary, err error)
- func (c *FakeS2iBinaries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.S2iBinaryList, err error)
- func (c *FakeS2iBinaries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.S2iBinary, err error)
- func (c *FakeS2iBinaries) Update(ctx context.Context, s2iBinary *v1alpha1.S2iBinary, opts v1.UpdateOptions) (result *v1alpha1.S2iBinary, err error)
- func (c *FakeS2iBinaries) UpdateStatus(ctx context.Context, s2iBinary *v1alpha1.S2iBinary, opts v1.UpdateOptions) (*v1alpha1.S2iBinary, error)
- func (c *FakeS2iBinaries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeS2iBuilderTemplates
- func (c *FakeS2iBuilderTemplates) Create(ctx context.Context, s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate, ...) (result *v1alpha1.S2iBuilderTemplate, err error)
- func (c *FakeS2iBuilderTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeS2iBuilderTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeS2iBuilderTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.S2iBuilderTemplate, err error)
- func (c *FakeS2iBuilderTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.S2iBuilderTemplateList, err error)
- func (c *FakeS2iBuilderTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.S2iBuilderTemplate, err error)
- func (c *FakeS2iBuilderTemplates) Update(ctx context.Context, s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate, ...) (result *v1alpha1.S2iBuilderTemplate, err error)
- func (c *FakeS2iBuilderTemplates) UpdateStatus(ctx context.Context, s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate, ...) (*v1alpha1.S2iBuilderTemplate, error)
- func (c *FakeS2iBuilderTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeS2iBuilders
- func (c *FakeS2iBuilders) Create(ctx context.Context, s2iBuilder *v1alpha1.S2iBuilder, opts v1.CreateOptions) (result *v1alpha1.S2iBuilder, err error)
- func (c *FakeS2iBuilders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeS2iBuilders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeS2iBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.S2iBuilder, err error)
- func (c *FakeS2iBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.S2iBuilderList, err error)
- func (c *FakeS2iBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.S2iBuilder, err error)
- func (c *FakeS2iBuilders) Update(ctx context.Context, s2iBuilder *v1alpha1.S2iBuilder, opts v1.UpdateOptions) (result *v1alpha1.S2iBuilder, err error)
- func (c *FakeS2iBuilders) UpdateStatus(ctx context.Context, s2iBuilder *v1alpha1.S2iBuilder, opts v1.UpdateOptions) (*v1alpha1.S2iBuilder, error)
- func (c *FakeS2iBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeS2iRuns
- func (c *FakeS2iRuns) Create(ctx context.Context, s2iRun *v1alpha1.S2iRun, opts v1.CreateOptions) (result *v1alpha1.S2iRun, err error)
- func (c *FakeS2iRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeS2iRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeS2iRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.S2iRun, err error)
- func (c *FakeS2iRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.S2iRunList, err error)
- func (c *FakeS2iRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.S2iRun, err error)
- func (c *FakeS2iRuns) Update(ctx context.Context, s2iRun *v1alpha1.S2iRun, opts v1.UpdateOptions) (result *v1alpha1.S2iRun, err error)
- func (c *FakeS2iRuns) UpdateStatus(ctx context.Context, s2iRun *v1alpha1.S2iRun, opts v1.UpdateOptions) (*v1alpha1.S2iRun, error)
- func (c *FakeS2iRuns) 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 FakeDevopsV1alpha1 ¶
func (*FakeDevopsV1alpha1) RESTClient ¶
func (c *FakeDevopsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeDevopsV1alpha1) S2iBinaries ¶
func (c *FakeDevopsV1alpha1) S2iBinaries(namespace string) v1alpha1.S2iBinaryInterface
func (*FakeDevopsV1alpha1) S2iBuilderTemplates ¶
func (c *FakeDevopsV1alpha1) S2iBuilderTemplates() v1alpha1.S2iBuilderTemplateInterface
func (*FakeDevopsV1alpha1) S2iBuilders ¶
func (c *FakeDevopsV1alpha1) S2iBuilders(namespace string) v1alpha1.S2iBuilderInterface
func (*FakeDevopsV1alpha1) S2iRuns ¶
func (c *FakeDevopsV1alpha1) S2iRuns(namespace string) v1alpha1.S2iRunInterface
type FakeS2iBinaries ¶
type FakeS2iBinaries struct { Fake *FakeDevopsV1alpha1 // contains filtered or unexported fields }
FakeS2iBinaries implements S2iBinaryInterface
func (*FakeS2iBinaries) Create ¶
func (c *FakeS2iBinaries) Create(ctx context.Context, s2iBinary *v1alpha1.S2iBinary, opts v1.CreateOptions) (result *v1alpha1.S2iBinary, err error)
Create takes the representation of a s2iBinary and creates it. Returns the server's representation of the s2iBinary, and an error, if there is any.
func (*FakeS2iBinaries) Delete ¶
func (c *FakeS2iBinaries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the s2iBinary and deletes it. Returns an error if one occurs.
func (*FakeS2iBinaries) DeleteCollection ¶
func (c *FakeS2iBinaries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeS2iBinaries) Get ¶
func (c *FakeS2iBinaries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.S2iBinary, err error)
Get takes name of the s2iBinary, and returns the corresponding s2iBinary object, and an error if there is any.
func (*FakeS2iBinaries) List ¶
func (c *FakeS2iBinaries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.S2iBinaryList, err error)
List takes label and field selectors, and returns the list of S2iBinaries that match those selectors.
func (*FakeS2iBinaries) Patch ¶
func (c *FakeS2iBinaries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.S2iBinary, err error)
Patch applies the patch and returns the patched s2iBinary.
func (*FakeS2iBinaries) Update ¶
func (c *FakeS2iBinaries) Update(ctx context.Context, s2iBinary *v1alpha1.S2iBinary, opts v1.UpdateOptions) (result *v1alpha1.S2iBinary, err error)
Update takes the representation of a s2iBinary and updates it. Returns the server's representation of the s2iBinary, and an error, if there is any.
func (*FakeS2iBinaries) UpdateStatus ¶
func (c *FakeS2iBinaries) UpdateStatus(ctx context.Context, s2iBinary *v1alpha1.S2iBinary, opts v1.UpdateOptions) (*v1alpha1.S2iBinary, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeS2iBinaries) Watch ¶
func (c *FakeS2iBinaries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested s2iBinaries.
type FakeS2iBuilderTemplates ¶
type FakeS2iBuilderTemplates struct {
Fake *FakeDevopsV1alpha1
}
FakeS2iBuilderTemplates implements S2iBuilderTemplateInterface
func (*FakeS2iBuilderTemplates) Create ¶
func (c *FakeS2iBuilderTemplates) Create(ctx context.Context, s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate, opts v1.CreateOptions) (result *v1alpha1.S2iBuilderTemplate, err error)
Create takes the representation of a s2iBuilderTemplate and creates it. Returns the server's representation of the s2iBuilderTemplate, and an error, if there is any.
func (*FakeS2iBuilderTemplates) Delete ¶
func (c *FakeS2iBuilderTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the s2iBuilderTemplate and deletes it. Returns an error if one occurs.
func (*FakeS2iBuilderTemplates) DeleteCollection ¶
func (c *FakeS2iBuilderTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeS2iBuilderTemplates) Get ¶
func (c *FakeS2iBuilderTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.S2iBuilderTemplate, err error)
Get takes name of the s2iBuilderTemplate, and returns the corresponding s2iBuilderTemplate object, and an error if there is any.
func (*FakeS2iBuilderTemplates) List ¶
func (c *FakeS2iBuilderTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.S2iBuilderTemplateList, err error)
List takes label and field selectors, and returns the list of S2iBuilderTemplates that match those selectors.
func (*FakeS2iBuilderTemplates) Patch ¶
func (c *FakeS2iBuilderTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.S2iBuilderTemplate, err error)
Patch applies the patch and returns the patched s2iBuilderTemplate.
func (*FakeS2iBuilderTemplates) Update ¶
func (c *FakeS2iBuilderTemplates) Update(ctx context.Context, s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate, opts v1.UpdateOptions) (result *v1alpha1.S2iBuilderTemplate, err error)
Update takes the representation of a s2iBuilderTemplate and updates it. Returns the server's representation of the s2iBuilderTemplate, and an error, if there is any.
func (*FakeS2iBuilderTemplates) UpdateStatus ¶
func (c *FakeS2iBuilderTemplates) UpdateStatus(ctx context.Context, s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate, opts v1.UpdateOptions) (*v1alpha1.S2iBuilderTemplate, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeS2iBuilderTemplates) Watch ¶
func (c *FakeS2iBuilderTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested s2iBuilderTemplates.
type FakeS2iBuilders ¶
type FakeS2iBuilders struct { Fake *FakeDevopsV1alpha1 // contains filtered or unexported fields }
FakeS2iBuilders implements S2iBuilderInterface
func (*FakeS2iBuilders) Create ¶
func (c *FakeS2iBuilders) Create(ctx context.Context, s2iBuilder *v1alpha1.S2iBuilder, opts v1.CreateOptions) (result *v1alpha1.S2iBuilder, err error)
Create takes the representation of a s2iBuilder and creates it. Returns the server's representation of the s2iBuilder, and an error, if there is any.
func (*FakeS2iBuilders) Delete ¶
func (c *FakeS2iBuilders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the s2iBuilder and deletes it. Returns an error if one occurs.
func (*FakeS2iBuilders) DeleteCollection ¶
func (c *FakeS2iBuilders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeS2iBuilders) Get ¶
func (c *FakeS2iBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.S2iBuilder, err error)
Get takes name of the s2iBuilder, and returns the corresponding s2iBuilder object, and an error if there is any.
func (*FakeS2iBuilders) List ¶
func (c *FakeS2iBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.S2iBuilderList, err error)
List takes label and field selectors, and returns the list of S2iBuilders that match those selectors.
func (*FakeS2iBuilders) Patch ¶
func (c *FakeS2iBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.S2iBuilder, err error)
Patch applies the patch and returns the patched s2iBuilder.
func (*FakeS2iBuilders) Update ¶
func (c *FakeS2iBuilders) Update(ctx context.Context, s2iBuilder *v1alpha1.S2iBuilder, opts v1.UpdateOptions) (result *v1alpha1.S2iBuilder, err error)
Update takes the representation of a s2iBuilder and updates it. Returns the server's representation of the s2iBuilder, and an error, if there is any.
func (*FakeS2iBuilders) UpdateStatus ¶
func (c *FakeS2iBuilders) UpdateStatus(ctx context.Context, s2iBuilder *v1alpha1.S2iBuilder, opts v1.UpdateOptions) (*v1alpha1.S2iBuilder, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeS2iBuilders) Watch ¶
func (c *FakeS2iBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested s2iBuilders.
type FakeS2iRuns ¶
type FakeS2iRuns struct { Fake *FakeDevopsV1alpha1 // contains filtered or unexported fields }
FakeS2iRuns implements S2iRunInterface
func (*FakeS2iRuns) Create ¶
func (c *FakeS2iRuns) Create(ctx context.Context, s2iRun *v1alpha1.S2iRun, opts v1.CreateOptions) (result *v1alpha1.S2iRun, err error)
Create takes the representation of a s2iRun and creates it. Returns the server's representation of the s2iRun, and an error, if there is any.
func (*FakeS2iRuns) Delete ¶
func (c *FakeS2iRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the s2iRun and deletes it. Returns an error if one occurs.
func (*FakeS2iRuns) DeleteCollection ¶
func (c *FakeS2iRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeS2iRuns) Get ¶
func (c *FakeS2iRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.S2iRun, err error)
Get takes name of the s2iRun, and returns the corresponding s2iRun object, and an error if there is any.
func (*FakeS2iRuns) List ¶
func (c *FakeS2iRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.S2iRunList, err error)
List takes label and field selectors, and returns the list of S2iRuns that match those selectors.
func (*FakeS2iRuns) Patch ¶
func (c *FakeS2iRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.S2iRun, err error)
Patch applies the patch and returns the patched s2iRun.
func (*FakeS2iRuns) Update ¶
func (c *FakeS2iRuns) Update(ctx context.Context, s2iRun *v1alpha1.S2iRun, opts v1.UpdateOptions) (result *v1alpha1.S2iRun, err error)
Update takes the representation of a s2iRun and updates it. Returns the server's representation of the s2iRun, and an error, if there is any.
func (*FakeS2iRuns) UpdateStatus ¶
func (c *FakeS2iRuns) UpdateStatus(ctx context.Context, s2iRun *v1alpha1.S2iRun, opts v1.UpdateOptions) (*v1alpha1.S2iRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeS2iRuns) Watch ¶
func (c *FakeS2iRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested s2iRuns.