Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCostManagementExports
- func (c *FakeCostManagementExports) Create(ctx context.Context, costManagementExport *v1alpha1.CostManagementExport, ...) (result *v1alpha1.CostManagementExport, err error)
- func (c *FakeCostManagementExports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCostManagementExports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCostManagementExports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CostManagementExport, err error)
- func (c *FakeCostManagementExports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CostManagementExportList, err error)
- func (c *FakeCostManagementExports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CostManagementExport, err error)
- func (c *FakeCostManagementExports) Update(ctx context.Context, costManagementExport *v1alpha1.CostManagementExport, ...) (result *v1alpha1.CostManagementExport, err error)
- func (c *FakeCostManagementExports) UpdateStatus(ctx context.Context, costManagementExport *v1alpha1.CostManagementExport, ...) (*v1alpha1.CostManagementExport, error)
- func (c *FakeCostManagementExports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicyAssignments
- func (c *FakePolicyAssignments) Create(ctx context.Context, policyAssignment *v1alpha1.PolicyAssignment, ...) (result *v1alpha1.PolicyAssignment, err error)
- func (c *FakePolicyAssignments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePolicyAssignments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePolicyAssignments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PolicyAssignment, err error)
- func (c *FakePolicyAssignments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyAssignmentList, err error)
- func (c *FakePolicyAssignments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PolicyAssignment, err error)
- func (c *FakePolicyAssignments) Update(ctx context.Context, policyAssignment *v1alpha1.PolicyAssignment, ...) (result *v1alpha1.PolicyAssignment, err error)
- func (c *FakePolicyAssignments) UpdateStatus(ctx context.Context, policyAssignment *v1alpha1.PolicyAssignment, ...) (*v1alpha1.PolicyAssignment, error)
- func (c *FakePolicyAssignments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSubscriptionV1alpha1
- func (c *FakeSubscriptionV1alpha1) CostManagementExports(namespace string) v1alpha1.CostManagementExportInterface
- func (c *FakeSubscriptionV1alpha1) PolicyAssignments(namespace string) v1alpha1.PolicyAssignmentInterface
- func (c *FakeSubscriptionV1alpha1) RESTClient() rest.Interface
- func (c *FakeSubscriptionV1alpha1) Subscriptions(namespace string) v1alpha1.SubscriptionInterface
- func (c *FakeSubscriptionV1alpha1) TemplateDeployments(namespace string) v1alpha1.TemplateDeploymentInterface
- type FakeSubscriptions
- func (c *FakeSubscriptions) Create(ctx context.Context, subscription *v1alpha1.Subscription, ...) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSubscriptions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSubscriptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubscriptionList, err error)
- func (c *FakeSubscriptions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) Update(ctx context.Context, subscription *v1alpha1.Subscription, ...) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) UpdateStatus(ctx context.Context, subscription *v1alpha1.Subscription, ...) (*v1alpha1.Subscription, error)
- func (c *FakeSubscriptions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTemplateDeployments
- func (c *FakeTemplateDeployments) Create(ctx context.Context, templateDeployment *v1alpha1.TemplateDeployment, ...) (result *v1alpha1.TemplateDeployment, err error)
- func (c *FakeTemplateDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTemplateDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTemplateDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TemplateDeployment, err error)
- func (c *FakeTemplateDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TemplateDeploymentList, err error)
- func (c *FakeTemplateDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TemplateDeployment, err error)
- func (c *FakeTemplateDeployments) Update(ctx context.Context, templateDeployment *v1alpha1.TemplateDeployment, ...) (result *v1alpha1.TemplateDeployment, err error)
- func (c *FakeTemplateDeployments) UpdateStatus(ctx context.Context, templateDeployment *v1alpha1.TemplateDeployment, ...) (*v1alpha1.TemplateDeployment, error)
- func (c *FakeTemplateDeployments) 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 FakeCostManagementExports ¶ added in v0.5.0
type FakeCostManagementExports struct { Fake *FakeSubscriptionV1alpha1 // contains filtered or unexported fields }
FakeCostManagementExports implements CostManagementExportInterface
func (*FakeCostManagementExports) Create ¶ added in v0.5.0
func (c *FakeCostManagementExports) Create(ctx context.Context, costManagementExport *v1alpha1.CostManagementExport, opts v1.CreateOptions) (result *v1alpha1.CostManagementExport, err error)
Create takes the representation of a costManagementExport and creates it. Returns the server's representation of the costManagementExport, and an error, if there is any.
func (*FakeCostManagementExports) Delete ¶ added in v0.5.0
func (c *FakeCostManagementExports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the costManagementExport and deletes it. Returns an error if one occurs.
func (*FakeCostManagementExports) DeleteCollection ¶ added in v0.5.0
func (c *FakeCostManagementExports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCostManagementExports) Get ¶ added in v0.5.0
func (c *FakeCostManagementExports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CostManagementExport, err error)
Get takes name of the costManagementExport, and returns the corresponding costManagementExport object, and an error if there is any.
func (*FakeCostManagementExports) List ¶ added in v0.5.0
func (c *FakeCostManagementExports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CostManagementExportList, err error)
List takes label and field selectors, and returns the list of CostManagementExports that match those selectors.
func (*FakeCostManagementExports) Patch ¶ added in v0.5.0
func (c *FakeCostManagementExports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CostManagementExport, err error)
Patch applies the patch and returns the patched costManagementExport.
func (*FakeCostManagementExports) Update ¶ added in v0.5.0
func (c *FakeCostManagementExports) Update(ctx context.Context, costManagementExport *v1alpha1.CostManagementExport, opts v1.UpdateOptions) (result *v1alpha1.CostManagementExport, err error)
Update takes the representation of a costManagementExport and updates it. Returns the server's representation of the costManagementExport, and an error, if there is any.
func (*FakeCostManagementExports) UpdateStatus ¶ added in v0.5.0
func (c *FakeCostManagementExports) UpdateStatus(ctx context.Context, costManagementExport *v1alpha1.CostManagementExport, opts v1.UpdateOptions) (*v1alpha1.CostManagementExport, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCostManagementExports) Watch ¶ added in v0.5.0
func (c *FakeCostManagementExports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested costManagementExports.
type FakePolicyAssignments ¶
type FakePolicyAssignments struct { Fake *FakeSubscriptionV1alpha1 // contains filtered or unexported fields }
FakePolicyAssignments implements PolicyAssignmentInterface
func (*FakePolicyAssignments) Create ¶
func (c *FakePolicyAssignments) Create(ctx context.Context, policyAssignment *v1alpha1.PolicyAssignment, opts v1.CreateOptions) (result *v1alpha1.PolicyAssignment, err error)
Create takes the representation of a policyAssignment and creates it. Returns the server's representation of the policyAssignment, and an error, if there is any.
func (*FakePolicyAssignments) Delete ¶
func (c *FakePolicyAssignments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the policyAssignment and deletes it. Returns an error if one occurs.
func (*FakePolicyAssignments) DeleteCollection ¶
func (c *FakePolicyAssignments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicyAssignments) Get ¶
func (c *FakePolicyAssignments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PolicyAssignment, err error)
Get takes name of the policyAssignment, and returns the corresponding policyAssignment object, and an error if there is any.
func (*FakePolicyAssignments) List ¶
func (c *FakePolicyAssignments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyAssignmentList, err error)
List takes label and field selectors, and returns the list of PolicyAssignments that match those selectors.
func (*FakePolicyAssignments) Patch ¶
func (c *FakePolicyAssignments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PolicyAssignment, err error)
Patch applies the patch and returns the patched policyAssignment.
func (*FakePolicyAssignments) Update ¶
func (c *FakePolicyAssignments) Update(ctx context.Context, policyAssignment *v1alpha1.PolicyAssignment, opts v1.UpdateOptions) (result *v1alpha1.PolicyAssignment, err error)
Update takes the representation of a policyAssignment and updates it. Returns the server's representation of the policyAssignment, and an error, if there is any.
func (*FakePolicyAssignments) UpdateStatus ¶
func (c *FakePolicyAssignments) UpdateStatus(ctx context.Context, policyAssignment *v1alpha1.PolicyAssignment, opts v1.UpdateOptions) (*v1alpha1.PolicyAssignment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicyAssignments) Watch ¶
func (c *FakePolicyAssignments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policyAssignments.
type FakeSubscriptionV1alpha1 ¶
func (*FakeSubscriptionV1alpha1) CostManagementExports ¶ added in v0.5.0
func (c *FakeSubscriptionV1alpha1) CostManagementExports(namespace string) v1alpha1.CostManagementExportInterface
func (*FakeSubscriptionV1alpha1) PolicyAssignments ¶
func (c *FakeSubscriptionV1alpha1) PolicyAssignments(namespace string) v1alpha1.PolicyAssignmentInterface
func (*FakeSubscriptionV1alpha1) RESTClient ¶
func (c *FakeSubscriptionV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSubscriptionV1alpha1) Subscriptions ¶
func (c *FakeSubscriptionV1alpha1) Subscriptions(namespace string) v1alpha1.SubscriptionInterface
func (*FakeSubscriptionV1alpha1) TemplateDeployments ¶
func (c *FakeSubscriptionV1alpha1) TemplateDeployments(namespace string) v1alpha1.TemplateDeploymentInterface
type FakeSubscriptions ¶
type FakeSubscriptions struct { Fake *FakeSubscriptionV1alpha1 // contains filtered or unexported fields }
FakeSubscriptions implements SubscriptionInterface
func (*FakeSubscriptions) Create ¶
func (c *FakeSubscriptions) Create(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.CreateOptions) (result *v1alpha1.Subscription, err error)
Create takes the representation of a subscription and creates it. Returns the server's representation of the subscription, and an error, if there is any.
func (*FakeSubscriptions) Delete ¶
func (c *FakeSubscriptions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the subscription and deletes it. Returns an error if one occurs.
func (*FakeSubscriptions) DeleteCollection ¶
func (c *FakeSubscriptions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubscriptions) Get ¶
func (c *FakeSubscriptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Subscription, err error)
Get takes name of the subscription, and returns the corresponding subscription object, and an error if there is any.
func (*FakeSubscriptions) List ¶
func (c *FakeSubscriptions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubscriptionList, err error)
List takes label and field selectors, and returns the list of Subscriptions that match those selectors.
func (*FakeSubscriptions) Patch ¶
func (c *FakeSubscriptions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Subscription, err error)
Patch applies the patch and returns the patched subscription.
func (*FakeSubscriptions) Update ¶
func (c *FakeSubscriptions) Update(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.UpdateOptions) (result *v1alpha1.Subscription, err error)
Update takes the representation of a subscription and updates it. Returns the server's representation of the subscription, and an error, if there is any.
func (*FakeSubscriptions) UpdateStatus ¶
func (c *FakeSubscriptions) UpdateStatus(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.UpdateOptions) (*v1alpha1.Subscription, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSubscriptions) Watch ¶
func (c *FakeSubscriptions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested subscriptions.
type FakeTemplateDeployments ¶
type FakeTemplateDeployments struct { Fake *FakeSubscriptionV1alpha1 // contains filtered or unexported fields }
FakeTemplateDeployments implements TemplateDeploymentInterface
func (*FakeTemplateDeployments) Create ¶
func (c *FakeTemplateDeployments) Create(ctx context.Context, templateDeployment *v1alpha1.TemplateDeployment, opts v1.CreateOptions) (result *v1alpha1.TemplateDeployment, err error)
Create takes the representation of a templateDeployment and creates it. Returns the server's representation of the templateDeployment, and an error, if there is any.
func (*FakeTemplateDeployments) Delete ¶
func (c *FakeTemplateDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the templateDeployment and deletes it. Returns an error if one occurs.
func (*FakeTemplateDeployments) DeleteCollection ¶
func (c *FakeTemplateDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemplateDeployments) Get ¶
func (c *FakeTemplateDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TemplateDeployment, err error)
Get takes name of the templateDeployment, and returns the corresponding templateDeployment object, and an error if there is any.
func (*FakeTemplateDeployments) List ¶
func (c *FakeTemplateDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TemplateDeploymentList, err error)
List takes label and field selectors, and returns the list of TemplateDeployments that match those selectors.
func (*FakeTemplateDeployments) Patch ¶
func (c *FakeTemplateDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TemplateDeployment, err error)
Patch applies the patch and returns the patched templateDeployment.
func (*FakeTemplateDeployments) Update ¶
func (c *FakeTemplateDeployments) Update(ctx context.Context, templateDeployment *v1alpha1.TemplateDeployment, opts v1.UpdateOptions) (result *v1alpha1.TemplateDeployment, err error)
Update takes the representation of a templateDeployment and updates it. Returns the server's representation of the templateDeployment, and an error, if there is any.
func (*FakeTemplateDeployments) UpdateStatus ¶
func (c *FakeTemplateDeployments) UpdateStatus(ctx context.Context, templateDeployment *v1alpha1.TemplateDeployment, opts v1.UpdateOptions) (*v1alpha1.TemplateDeployment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTemplateDeployments) Watch ¶
func (c *FakeTemplateDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested templateDeployments.