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(s2iBinary *v1alpha1.S2iBinary) (result *v1alpha1.S2iBinary, err error)
- func (c *FakeS2iBinaries) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeS2iBinaries) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeS2iBinaries) Get(name string, options v1.GetOptions) (result *v1alpha1.S2iBinary, err error)
- func (c *FakeS2iBinaries) List(opts v1.ListOptions) (result *v1alpha1.S2iBinaryList, err error)
- func (c *FakeS2iBinaries) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.S2iBinary, err error)
- func (c *FakeS2iBinaries) Update(s2iBinary *v1alpha1.S2iBinary) (result *v1alpha1.S2iBinary, err error)
- func (c *FakeS2iBinaries) UpdateStatus(s2iBinary *v1alpha1.S2iBinary) (*v1alpha1.S2iBinary, error)
- func (c *FakeS2iBinaries) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeS2iBuilderTemplates
- func (c *FakeS2iBuilderTemplates) Create(s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate) (result *v1alpha1.S2iBuilderTemplate, err error)
- func (c *FakeS2iBuilderTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeS2iBuilderTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeS2iBuilderTemplates) Get(name string, options v1.GetOptions) (result *v1alpha1.S2iBuilderTemplate, err error)
- func (c *FakeS2iBuilderTemplates) List(opts v1.ListOptions) (result *v1alpha1.S2iBuilderTemplateList, err error)
- func (c *FakeS2iBuilderTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.S2iBuilderTemplate, err error)
- func (c *FakeS2iBuilderTemplates) Update(s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate) (result *v1alpha1.S2iBuilderTemplate, err error)
- func (c *FakeS2iBuilderTemplates) UpdateStatus(s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate) (*v1alpha1.S2iBuilderTemplate, error)
- func (c *FakeS2iBuilderTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeS2iBuilders
- func (c *FakeS2iBuilders) Create(s2iBuilder *v1alpha1.S2iBuilder) (result *v1alpha1.S2iBuilder, err error)
- func (c *FakeS2iBuilders) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeS2iBuilders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeS2iBuilders) Get(name string, options v1.GetOptions) (result *v1alpha1.S2iBuilder, err error)
- func (c *FakeS2iBuilders) List(opts v1.ListOptions) (result *v1alpha1.S2iBuilderList, err error)
- func (c *FakeS2iBuilders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.S2iBuilder, err error)
- func (c *FakeS2iBuilders) Update(s2iBuilder *v1alpha1.S2iBuilder) (result *v1alpha1.S2iBuilder, err error)
- func (c *FakeS2iBuilders) UpdateStatus(s2iBuilder *v1alpha1.S2iBuilder) (*v1alpha1.S2iBuilder, error)
- func (c *FakeS2iBuilders) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeS2iRuns
- func (c *FakeS2iRuns) Create(s2iRun *v1alpha1.S2iRun) (result *v1alpha1.S2iRun, err error)
- func (c *FakeS2iRuns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeS2iRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeS2iRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.S2iRun, err error)
- func (c *FakeS2iRuns) List(opts v1.ListOptions) (result *v1alpha1.S2iRunList, err error)
- func (c *FakeS2iRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.S2iRun, err error)
- func (c *FakeS2iRuns) Update(s2iRun *v1alpha1.S2iRun) (result *v1alpha1.S2iRun, err error)
- func (c *FakeS2iRuns) UpdateStatus(s2iRun *v1alpha1.S2iRun) (*v1alpha1.S2iRun, error)
- func (c *FakeS2iRuns) Watch(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(s2iBinary *v1alpha1.S2iBinary) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeS2iBinaries) Get ¶
func (c *FakeS2iBinaries) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.S2iBinary, err error)
Patch applies the patch and returns the patched s2iBinary.
func (*FakeS2iBinaries) Update ¶
func (c *FakeS2iBinaries) Update(s2iBinary *v1alpha1.S2iBinary) (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 ¶
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(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(s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeS2iBuilderTemplates) Get ¶
func (c *FakeS2iBuilderTemplates) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.S2iBuilderTemplate, err error)
Patch applies the patch and returns the patched s2iBuilderTemplate.
func (*FakeS2iBuilderTemplates) Update ¶
func (c *FakeS2iBuilderTemplates) Update(s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate) (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(s2iBuilderTemplate *v1alpha1.S2iBuilderTemplate) (*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(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(s2iBuilder *v1alpha1.S2iBuilder) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeS2iBuilders) Get ¶
func (c *FakeS2iBuilders) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.S2iBuilder, err error)
Patch applies the patch and returns the patched s2iBuilder.
func (*FakeS2iBuilders) Update ¶
func (c *FakeS2iBuilders) Update(s2iBuilder *v1alpha1.S2iBuilder) (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(s2iBuilder *v1alpha1.S2iBuilder) (*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(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 ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeS2iRuns) Get ¶
func (c *FakeS2iRuns) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.S2iRun, err error)
Patch applies the patch and returns the patched s2iRun.
func (*FakeS2iRuns) Update ¶
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 ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested s2iRuns.