Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCatalogs
- func (c *FakeCatalogs) Create(ctx context.Context, catalog *v1alpha1.Catalog, opts v1.CreateOptions) (result *v1alpha1.Catalog, err error)
- func (c *FakeCatalogs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCatalogs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCatalogs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Catalog, err error)
- func (c *FakeCatalogs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CatalogList, err error)
- func (c *FakeCatalogs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Catalog, err error)
- func (c *FakeCatalogs) Update(ctx context.Context, catalog *v1alpha1.Catalog, opts v1.UpdateOptions) (result *v1alpha1.Catalog, err error)
- func (c *FakeCatalogs) UpdateStatus(ctx context.Context, catalog *v1alpha1.Catalog, opts v1.UpdateOptions) (*v1alpha1.Catalog, error)
- func (c *FakeCatalogs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDeviceTemplateRevisions
- func (c *FakeDeviceTemplateRevisions) Create(ctx context.Context, deviceTemplateRevision *v1alpha1.DeviceTemplateRevision, ...) (result *v1alpha1.DeviceTemplateRevision, err error)
- func (c *FakeDeviceTemplateRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDeviceTemplateRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDeviceTemplateRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeviceTemplateRevision, err error)
- func (c *FakeDeviceTemplateRevisions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeviceTemplateRevisionList, err error)
- func (c *FakeDeviceTemplateRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DeviceTemplateRevision, err error)
- func (c *FakeDeviceTemplateRevisions) Update(ctx context.Context, deviceTemplateRevision *v1alpha1.DeviceTemplateRevision, ...) (result *v1alpha1.DeviceTemplateRevision, err error)
- func (c *FakeDeviceTemplateRevisions) UpdateStatus(ctx context.Context, deviceTemplateRevision *v1alpha1.DeviceTemplateRevision, ...) (*v1alpha1.DeviceTemplateRevision, error)
- func (c *FakeDeviceTemplateRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDeviceTemplates
- func (c *FakeDeviceTemplates) Create(ctx context.Context, deviceTemplate *v1alpha1.DeviceTemplate, ...) (result *v1alpha1.DeviceTemplate, err error)
- func (c *FakeDeviceTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDeviceTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDeviceTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeviceTemplate, err error)
- func (c *FakeDeviceTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeviceTemplateList, err error)
- func (c *FakeDeviceTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DeviceTemplate, err error)
- func (c *FakeDeviceTemplates) Update(ctx context.Context, deviceTemplate *v1alpha1.DeviceTemplate, ...) (result *v1alpha1.DeviceTemplate, err error)
- func (c *FakeDeviceTemplates) UpdateStatus(ctx context.Context, deviceTemplate *v1alpha1.DeviceTemplate, ...) (*v1alpha1.DeviceTemplate, error)
- func (c *FakeDeviceTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOctopusapiV1alpha1
- func (c *FakeOctopusapiV1alpha1) Catalogs(namespace string) v1alpha1.CatalogInterface
- func (c *FakeOctopusapiV1alpha1) DeviceTemplateRevisions(namespace string) v1alpha1.DeviceTemplateRevisionInterface
- func (c *FakeOctopusapiV1alpha1) DeviceTemplates(namespace string) v1alpha1.DeviceTemplateInterface
- func (c *FakeOctopusapiV1alpha1) RESTClient() rest.Interface
- func (c *FakeOctopusapiV1alpha1) Settings() v1alpha1.SettingInterface
- type FakeSettings
- func (c *FakeSettings) Create(ctx context.Context, setting *v1alpha1.Setting, opts v1.CreateOptions) (result *v1alpha1.Setting, err error)
- func (c *FakeSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Setting, err error)
- func (c *FakeSettings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SettingList, err error)
- func (c *FakeSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Setting, err error)
- func (c *FakeSettings) Update(ctx context.Context, setting *v1alpha1.Setting, opts v1.UpdateOptions) (result *v1alpha1.Setting, err error)
- func (c *FakeSettings) 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 FakeCatalogs ¶
type FakeCatalogs struct { Fake *FakeOctopusapiV1alpha1 // contains filtered or unexported fields }
FakeCatalogs implements CatalogInterface
func (*FakeCatalogs) Create ¶
func (c *FakeCatalogs) Create(ctx context.Context, catalog *v1alpha1.Catalog, opts v1.CreateOptions) (result *v1alpha1.Catalog, err error)
Create takes the representation of a catalog and creates it. Returns the server's representation of the catalog, and an error, if there is any.
func (*FakeCatalogs) Delete ¶
func (c *FakeCatalogs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the catalog and deletes it. Returns an error if one occurs.
func (*FakeCatalogs) DeleteCollection ¶
func (c *FakeCatalogs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCatalogs) Get ¶
func (c *FakeCatalogs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Catalog, err error)
Get takes name of the catalog, and returns the corresponding catalog object, and an error if there is any.
func (*FakeCatalogs) List ¶
func (c *FakeCatalogs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CatalogList, err error)
List takes label and field selectors, and returns the list of Catalogs that match those selectors.
func (*FakeCatalogs) Patch ¶
func (c *FakeCatalogs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Catalog, err error)
Patch applies the patch and returns the patched catalog.
func (*FakeCatalogs) Update ¶
func (c *FakeCatalogs) Update(ctx context.Context, catalog *v1alpha1.Catalog, opts v1.UpdateOptions) (result *v1alpha1.Catalog, err error)
Update takes the representation of a catalog and updates it. Returns the server's representation of the catalog, and an error, if there is any.
func (*FakeCatalogs) UpdateStatus ¶
func (c *FakeCatalogs) UpdateStatus(ctx context.Context, catalog *v1alpha1.Catalog, opts v1.UpdateOptions) (*v1alpha1.Catalog, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCatalogs) Watch ¶
func (c *FakeCatalogs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested catalogs.
type FakeDeviceTemplateRevisions ¶
type FakeDeviceTemplateRevisions struct { Fake *FakeOctopusapiV1alpha1 // contains filtered or unexported fields }
FakeDeviceTemplateRevisions implements DeviceTemplateRevisionInterface
func (*FakeDeviceTemplateRevisions) Create ¶
func (c *FakeDeviceTemplateRevisions) Create(ctx context.Context, deviceTemplateRevision *v1alpha1.DeviceTemplateRevision, opts v1.CreateOptions) (result *v1alpha1.DeviceTemplateRevision, err error)
Create takes the representation of a deviceTemplateRevision and creates it. Returns the server's representation of the deviceTemplateRevision, and an error, if there is any.
func (*FakeDeviceTemplateRevisions) Delete ¶
func (c *FakeDeviceTemplateRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the deviceTemplateRevision and deletes it. Returns an error if one occurs.
func (*FakeDeviceTemplateRevisions) DeleteCollection ¶
func (c *FakeDeviceTemplateRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeviceTemplateRevisions) Get ¶
func (c *FakeDeviceTemplateRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeviceTemplateRevision, err error)
Get takes name of the deviceTemplateRevision, and returns the corresponding deviceTemplateRevision object, and an error if there is any.
func (*FakeDeviceTemplateRevisions) List ¶
func (c *FakeDeviceTemplateRevisions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeviceTemplateRevisionList, err error)
List takes label and field selectors, and returns the list of DeviceTemplateRevisions that match those selectors.
func (*FakeDeviceTemplateRevisions) Patch ¶
func (c *FakeDeviceTemplateRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DeviceTemplateRevision, err error)
Patch applies the patch and returns the patched deviceTemplateRevision.
func (*FakeDeviceTemplateRevisions) Update ¶
func (c *FakeDeviceTemplateRevisions) Update(ctx context.Context, deviceTemplateRevision *v1alpha1.DeviceTemplateRevision, opts v1.UpdateOptions) (result *v1alpha1.DeviceTemplateRevision, err error)
Update takes the representation of a deviceTemplateRevision and updates it. Returns the server's representation of the deviceTemplateRevision, and an error, if there is any.
func (*FakeDeviceTemplateRevisions) UpdateStatus ¶
func (c *FakeDeviceTemplateRevisions) UpdateStatus(ctx context.Context, deviceTemplateRevision *v1alpha1.DeviceTemplateRevision, opts v1.UpdateOptions) (*v1alpha1.DeviceTemplateRevision, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDeviceTemplateRevisions) Watch ¶
func (c *FakeDeviceTemplateRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deviceTemplateRevisions.
type FakeDeviceTemplates ¶
type FakeDeviceTemplates struct { Fake *FakeOctopusapiV1alpha1 // contains filtered or unexported fields }
FakeDeviceTemplates implements DeviceTemplateInterface
func (*FakeDeviceTemplates) Create ¶
func (c *FakeDeviceTemplates) Create(ctx context.Context, deviceTemplate *v1alpha1.DeviceTemplate, opts v1.CreateOptions) (result *v1alpha1.DeviceTemplate, err error)
Create takes the representation of a deviceTemplate and creates it. Returns the server's representation of the deviceTemplate, and an error, if there is any.
func (*FakeDeviceTemplates) Delete ¶
func (c *FakeDeviceTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the deviceTemplate and deletes it. Returns an error if one occurs.
func (*FakeDeviceTemplates) DeleteCollection ¶
func (c *FakeDeviceTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeviceTemplates) Get ¶
func (c *FakeDeviceTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeviceTemplate, err error)
Get takes name of the deviceTemplate, and returns the corresponding deviceTemplate object, and an error if there is any.
func (*FakeDeviceTemplates) List ¶
func (c *FakeDeviceTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeviceTemplateList, err error)
List takes label and field selectors, and returns the list of DeviceTemplates that match those selectors.
func (*FakeDeviceTemplates) Patch ¶
func (c *FakeDeviceTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DeviceTemplate, err error)
Patch applies the patch and returns the patched deviceTemplate.
func (*FakeDeviceTemplates) Update ¶
func (c *FakeDeviceTemplates) Update(ctx context.Context, deviceTemplate *v1alpha1.DeviceTemplate, opts v1.UpdateOptions) (result *v1alpha1.DeviceTemplate, err error)
Update takes the representation of a deviceTemplate and updates it. Returns the server's representation of the deviceTemplate, and an error, if there is any.
func (*FakeDeviceTemplates) UpdateStatus ¶
func (c *FakeDeviceTemplates) UpdateStatus(ctx context.Context, deviceTemplate *v1alpha1.DeviceTemplate, opts v1.UpdateOptions) (*v1alpha1.DeviceTemplate, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDeviceTemplates) Watch ¶
func (c *FakeDeviceTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deviceTemplates.
type FakeOctopusapiV1alpha1 ¶
func (*FakeOctopusapiV1alpha1) Catalogs ¶
func (c *FakeOctopusapiV1alpha1) Catalogs(namespace string) v1alpha1.CatalogInterface
func (*FakeOctopusapiV1alpha1) DeviceTemplateRevisions ¶
func (c *FakeOctopusapiV1alpha1) DeviceTemplateRevisions(namespace string) v1alpha1.DeviceTemplateRevisionInterface
func (*FakeOctopusapiV1alpha1) DeviceTemplates ¶
func (c *FakeOctopusapiV1alpha1) DeviceTemplates(namespace string) v1alpha1.DeviceTemplateInterface
func (*FakeOctopusapiV1alpha1) RESTClient ¶
func (c *FakeOctopusapiV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeOctopusapiV1alpha1) Settings ¶
func (c *FakeOctopusapiV1alpha1) Settings() v1alpha1.SettingInterface
type FakeSettings ¶
type FakeSettings struct {
Fake *FakeOctopusapiV1alpha1
}
FakeSettings implements SettingInterface
func (*FakeSettings) Create ¶
func (c *FakeSettings) Create(ctx context.Context, setting *v1alpha1.Setting, opts v1.CreateOptions) (result *v1alpha1.Setting, err error)
Create takes the representation of a setting and creates it. Returns the server's representation of the setting, and an error, if there is any.
func (*FakeSettings) Delete ¶
func (c *FakeSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the setting and deletes it. Returns an error if one occurs.
func (*FakeSettings) DeleteCollection ¶
func (c *FakeSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSettings) Get ¶
func (c *FakeSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Setting, err error)
Get takes name of the setting, and returns the corresponding setting object, and an error if there is any.
func (*FakeSettings) List ¶
func (c *FakeSettings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SettingList, err error)
List takes label and field selectors, and returns the list of Settings that match those selectors.
func (*FakeSettings) Patch ¶
func (c *FakeSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Setting, err error)
Patch applies the patch and returns the patched setting.
func (*FakeSettings) Update ¶
func (c *FakeSettings) Update(ctx context.Context, setting *v1alpha1.Setting, opts v1.UpdateOptions) (result *v1alpha1.Setting, err error)
Update takes the representation of a setting and updates it. Returns the server's representation of the setting, and an error, if there is any.
func (*FakeSettings) Watch ¶
func (c *FakeSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested settings.