Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeIndicatorDocuments
- func (c *FakeIndicatorDocuments) Create(indicatorDocument *indicatordocumentv1.IndicatorDocument) (result *indicatordocumentv1.IndicatorDocument, err error)
- func (c *FakeIndicatorDocuments) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeIndicatorDocuments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeIndicatorDocuments) Get(name string, options v1.GetOptions) (result *indicatordocumentv1.IndicatorDocument, err error)
- func (c *FakeIndicatorDocuments) List(opts v1.ListOptions) (result *indicatordocumentv1.IndicatorDocumentList, err error)
- func (c *FakeIndicatorDocuments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *indicatordocumentv1.IndicatorDocument, err error)
- func (c *FakeIndicatorDocuments) Update(indicatorDocument *indicatordocumentv1.IndicatorDocument) (result *indicatordocumentv1.IndicatorDocument, err error)
- func (c *FakeIndicatorDocuments) UpdateStatus(indicatorDocument *indicatordocumentv1.IndicatorDocument) (*indicatordocumentv1.IndicatorDocument, error)
- func (c *FakeIndicatorDocuments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeIndicatorprotocolV1
- type FakeIndicators
- func (c *FakeIndicators) Create(indicator *indicatordocumentv1.Indicator) (result *indicatordocumentv1.Indicator, err error)
- func (c *FakeIndicators) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeIndicators) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeIndicators) Get(name string, options v1.GetOptions) (result *indicatordocumentv1.Indicator, err error)
- func (c *FakeIndicators) List(opts v1.ListOptions) (result *indicatordocumentv1.IndicatorList, err error)
- func (c *FakeIndicators) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *indicatordocumentv1.Indicator, err error)
- func (c *FakeIndicators) Update(indicator *indicatordocumentv1.Indicator) (result *indicatordocumentv1.Indicator, err error)
- func (c *FakeIndicators) UpdateStatus(indicator *indicatordocumentv1.Indicator) (*indicatordocumentv1.Indicator, error)
- func (c *FakeIndicators) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIndicatorDocuments ¶
type FakeIndicatorDocuments struct { Fake *FakeIndicatorprotocolV1 // contains filtered or unexported fields }
FakeIndicatorDocuments implements IndicatorDocumentInterface
func (*FakeIndicatorDocuments) Create ¶
func (c *FakeIndicatorDocuments) Create(indicatorDocument *indicatordocumentv1.IndicatorDocument) (result *indicatordocumentv1.IndicatorDocument, err error)
Create takes the representation of a indicatorDocument and creates it. Returns the server's representation of the indicatorDocument, and an error, if there is any.
func (*FakeIndicatorDocuments) Delete ¶
func (c *FakeIndicatorDocuments) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the indicatorDocument and deletes it. Returns an error if one occurs.
func (*FakeIndicatorDocuments) DeleteCollection ¶
func (c *FakeIndicatorDocuments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIndicatorDocuments) Get ¶
func (c *FakeIndicatorDocuments) Get(name string, options v1.GetOptions) (result *indicatordocumentv1.IndicatorDocument, err error)
Get takes name of the indicatorDocument, and returns the corresponding indicatorDocument object, and an error if there is any.
func (*FakeIndicatorDocuments) List ¶
func (c *FakeIndicatorDocuments) List(opts v1.ListOptions) (result *indicatordocumentv1.IndicatorDocumentList, err error)
List takes label and field selectors, and returns the list of IndicatorDocuments that match those selectors.
func (*FakeIndicatorDocuments) Patch ¶
func (c *FakeIndicatorDocuments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *indicatordocumentv1.IndicatorDocument, err error)
Patch applies the patch and returns the patched indicatorDocument.
func (*FakeIndicatorDocuments) Update ¶
func (c *FakeIndicatorDocuments) Update(indicatorDocument *indicatordocumentv1.IndicatorDocument) (result *indicatordocumentv1.IndicatorDocument, err error)
Update takes the representation of a indicatorDocument and updates it. Returns the server's representation of the indicatorDocument, and an error, if there is any.
func (*FakeIndicatorDocuments) UpdateStatus ¶
func (c *FakeIndicatorDocuments) UpdateStatus(indicatorDocument *indicatordocumentv1.IndicatorDocument) (*indicatordocumentv1.IndicatorDocument, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIndicatorDocuments) Watch ¶
func (c *FakeIndicatorDocuments) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested indicatorDocuments.
type FakeIndicatorprotocolV1 ¶ added in v0.8.3
func (*FakeIndicatorprotocolV1) IndicatorDocuments ¶ added in v0.8.3
func (c *FakeIndicatorprotocolV1) IndicatorDocuments(namespace string) v1.IndicatorDocumentInterface
func (*FakeIndicatorprotocolV1) Indicators ¶ added in v0.8.3
func (c *FakeIndicatorprotocolV1) Indicators(namespace string) v1.IndicatorInterface
func (*FakeIndicatorprotocolV1) RESTClient ¶ added in v0.8.3
func (c *FakeIndicatorprotocolV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeIndicators ¶
type FakeIndicators struct { Fake *FakeIndicatorprotocolV1 // contains filtered or unexported fields }
FakeIndicators implements IndicatorInterface
func (*FakeIndicators) Create ¶
func (c *FakeIndicators) Create(indicator *indicatordocumentv1.Indicator) (result *indicatordocumentv1.Indicator, err error)
Create takes the representation of a indicator and creates it. Returns the server's representation of the indicator, and an error, if there is any.
func (*FakeIndicators) Delete ¶
func (c *FakeIndicators) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the indicator and deletes it. Returns an error if one occurs.
func (*FakeIndicators) DeleteCollection ¶
func (c *FakeIndicators) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIndicators) Get ¶
func (c *FakeIndicators) Get(name string, options v1.GetOptions) (result *indicatordocumentv1.Indicator, err error)
Get takes name of the indicator, and returns the corresponding indicator object, and an error if there is any.
func (*FakeIndicators) List ¶
func (c *FakeIndicators) List(opts v1.ListOptions) (result *indicatordocumentv1.IndicatorList, err error)
List takes label and field selectors, and returns the list of Indicators that match those selectors.
func (*FakeIndicators) Patch ¶
func (c *FakeIndicators) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *indicatordocumentv1.Indicator, err error)
Patch applies the patch and returns the patched indicator.
func (*FakeIndicators) Update ¶
func (c *FakeIndicators) Update(indicator *indicatordocumentv1.Indicator) (result *indicatordocumentv1.Indicator, err error)
Update takes the representation of a indicator and updates it. Returns the server's representation of the indicator, and an error, if there is any.
func (*FakeIndicators) UpdateStatus ¶
func (c *FakeIndicators) UpdateStatus(indicator *indicatordocumentv1.Indicator) (*indicatordocumentv1.Indicator, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIndicators) Watch ¶
func (c *FakeIndicators) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested indicators.