Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePodSchedulings
- func (c *FakePodSchedulings) Apply(ctx context.Context, ...) (result *v1alpha1.PodScheduling, err error)
- func (c *FakePodSchedulings) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.PodScheduling, err error)
- func (c *FakePodSchedulings) Create(ctx context.Context, podScheduling *v1alpha1.PodScheduling, ...) (result *v1alpha1.PodScheduling, err error)
- func (c *FakePodSchedulings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePodSchedulings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePodSchedulings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodScheduling, err error)
- func (c *FakePodSchedulings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PodSchedulingList, err error)
- func (c *FakePodSchedulings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PodScheduling, err error)
- func (c *FakePodSchedulings) Update(ctx context.Context, podScheduling *v1alpha1.PodScheduling, ...) (result *v1alpha1.PodScheduling, err error)
- func (c *FakePodSchedulings) UpdateStatus(ctx context.Context, podScheduling *v1alpha1.PodScheduling, ...) (*v1alpha1.PodScheduling, error)
- func (c *FakePodSchedulings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceClaimTemplates
- func (c *FakeResourceClaimTemplates) Apply(ctx context.Context, ...) (result *v1alpha1.ResourceClaimTemplate, err error)
- func (c *FakeResourceClaimTemplates) Create(ctx context.Context, resourceClaimTemplate *v1alpha1.ResourceClaimTemplate, ...) (result *v1alpha1.ResourceClaimTemplate, err error)
- func (c *FakeResourceClaimTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceClaimTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceClaimTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceClaimTemplate, err error)
- func (c *FakeResourceClaimTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceClaimTemplateList, err error)
- func (c *FakeResourceClaimTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceClaimTemplate, err error)
- func (c *FakeResourceClaimTemplates) Update(ctx context.Context, resourceClaimTemplate *v1alpha1.ResourceClaimTemplate, ...) (result *v1alpha1.ResourceClaimTemplate, err error)
- func (c *FakeResourceClaimTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceClaims
- func (c *FakeResourceClaims) Apply(ctx context.Context, ...) (result *v1alpha1.ResourceClaim, err error)
- func (c *FakeResourceClaims) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.ResourceClaim, err error)
- func (c *FakeResourceClaims) Create(ctx context.Context, resourceClaim *v1alpha1.ResourceClaim, ...) (result *v1alpha1.ResourceClaim, err error)
- func (c *FakeResourceClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceClaim, err error)
- func (c *FakeResourceClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceClaimList, err error)
- func (c *FakeResourceClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceClaim, err error)
- func (c *FakeResourceClaims) Update(ctx context.Context, resourceClaim *v1alpha1.ResourceClaim, ...) (result *v1alpha1.ResourceClaim, err error)
- func (c *FakeResourceClaims) UpdateStatus(ctx context.Context, resourceClaim *v1alpha1.ResourceClaim, ...) (*v1alpha1.ResourceClaim, error)
- func (c *FakeResourceClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceClasses
- func (c *FakeResourceClasses) Apply(ctx context.Context, ...) (result *v1alpha1.ResourceClass, err error)
- func (c *FakeResourceClasses) Create(ctx context.Context, resourceClass *v1alpha1.ResourceClass, ...) (result *v1alpha1.ResourceClass, err error)
- func (c *FakeResourceClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceClass, err error)
- func (c *FakeResourceClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceClassList, err error)
- func (c *FakeResourceClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceClass, err error)
- func (c *FakeResourceClasses) Update(ctx context.Context, resourceClass *v1alpha1.ResourceClass, ...) (result *v1alpha1.ResourceClass, err error)
- func (c *FakeResourceClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceV1alpha1
- func (c *FakeResourceV1alpha1) PodSchedulings(namespace string) v1alpha1.PodSchedulingInterface
- func (c *FakeResourceV1alpha1) RESTClient() rest.Interface
- func (c *FakeResourceV1alpha1) ResourceClaimTemplates(namespace string) v1alpha1.ResourceClaimTemplateInterface
- func (c *FakeResourceV1alpha1) ResourceClaims(namespace string) v1alpha1.ResourceClaimInterface
- func (c *FakeResourceV1alpha1) ResourceClasses() v1alpha1.ResourceClassInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePodSchedulings ¶
type FakePodSchedulings struct { Fake *FakeResourceV1alpha1 // contains filtered or unexported fields }
FakePodSchedulings implements PodSchedulingInterface
func (*FakePodSchedulings) Apply ¶
func (c *FakePodSchedulings) Apply(ctx context.Context, podScheduling *resourcev1alpha1.PodSchedulingApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.PodScheduling, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied podScheduling.
func (*FakePodSchedulings) ApplyStatus ¶
func (c *FakePodSchedulings) ApplyStatus(ctx context.Context, podScheduling *resourcev1alpha1.PodSchedulingApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.PodScheduling, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakePodSchedulings) Create ¶
func (c *FakePodSchedulings) Create(ctx context.Context, podScheduling *v1alpha1.PodScheduling, opts v1.CreateOptions) (result *v1alpha1.PodScheduling, err error)
Create takes the representation of a podScheduling and creates it. Returns the server's representation of the podScheduling, and an error, if there is any.
func (*FakePodSchedulings) Delete ¶
func (c *FakePodSchedulings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the podScheduling and deletes it. Returns an error if one occurs.
func (*FakePodSchedulings) DeleteCollection ¶
func (c *FakePodSchedulings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodSchedulings) Get ¶
func (c *FakePodSchedulings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodScheduling, err error)
Get takes name of the podScheduling, and returns the corresponding podScheduling object, and an error if there is any.
func (*FakePodSchedulings) List ¶
func (c *FakePodSchedulings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PodSchedulingList, err error)
List takes label and field selectors, and returns the list of PodSchedulings that match those selectors.
func (*FakePodSchedulings) Patch ¶
func (c *FakePodSchedulings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PodScheduling, err error)
Patch applies the patch and returns the patched podScheduling.
func (*FakePodSchedulings) Update ¶
func (c *FakePodSchedulings) Update(ctx context.Context, podScheduling *v1alpha1.PodScheduling, opts v1.UpdateOptions) (result *v1alpha1.PodScheduling, err error)
Update takes the representation of a podScheduling and updates it. Returns the server's representation of the podScheduling, and an error, if there is any.
func (*FakePodSchedulings) UpdateStatus ¶
func (c *FakePodSchedulings) UpdateStatus(ctx context.Context, podScheduling *v1alpha1.PodScheduling, opts v1.UpdateOptions) (*v1alpha1.PodScheduling, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePodSchedulings) Watch ¶
func (c *FakePodSchedulings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podSchedulings.
type FakeResourceClaimTemplates ¶
type FakeResourceClaimTemplates struct { Fake *FakeResourceV1alpha1 // contains filtered or unexported fields }
FakeResourceClaimTemplates implements ResourceClaimTemplateInterface
func (*FakeResourceClaimTemplates) Apply ¶
func (c *FakeResourceClaimTemplates) Apply(ctx context.Context, resourceClaimTemplate *resourcev1alpha1.ResourceClaimTemplateApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ResourceClaimTemplate, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied resourceClaimTemplate.
func (*FakeResourceClaimTemplates) Create ¶
func (c *FakeResourceClaimTemplates) Create(ctx context.Context, resourceClaimTemplate *v1alpha1.ResourceClaimTemplate, opts v1.CreateOptions) (result *v1alpha1.ResourceClaimTemplate, err error)
Create takes the representation of a resourceClaimTemplate and creates it. Returns the server's representation of the resourceClaimTemplate, and an error, if there is any.
func (*FakeResourceClaimTemplates) Delete ¶
func (c *FakeResourceClaimTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceClaimTemplate and deletes it. Returns an error if one occurs.
func (*FakeResourceClaimTemplates) DeleteCollection ¶
func (c *FakeResourceClaimTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceClaimTemplates) Get ¶
func (c *FakeResourceClaimTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceClaimTemplate, err error)
Get takes name of the resourceClaimTemplate, and returns the corresponding resourceClaimTemplate object, and an error if there is any.
func (*FakeResourceClaimTemplates) List ¶
func (c *FakeResourceClaimTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceClaimTemplateList, err error)
List takes label and field selectors, and returns the list of ResourceClaimTemplates that match those selectors.
func (*FakeResourceClaimTemplates) Patch ¶
func (c *FakeResourceClaimTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceClaimTemplate, err error)
Patch applies the patch and returns the patched resourceClaimTemplate.
func (*FakeResourceClaimTemplates) Update ¶
func (c *FakeResourceClaimTemplates) Update(ctx context.Context, resourceClaimTemplate *v1alpha1.ResourceClaimTemplate, opts v1.UpdateOptions) (result *v1alpha1.ResourceClaimTemplate, err error)
Update takes the representation of a resourceClaimTemplate and updates it. Returns the server's representation of the resourceClaimTemplate, and an error, if there is any.
func (*FakeResourceClaimTemplates) Watch ¶
func (c *FakeResourceClaimTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceClaimTemplates.
type FakeResourceClaims ¶
type FakeResourceClaims struct { Fake *FakeResourceV1alpha1 // contains filtered or unexported fields }
FakeResourceClaims implements ResourceClaimInterface
func (*FakeResourceClaims) Apply ¶
func (c *FakeResourceClaims) Apply(ctx context.Context, resourceClaim *resourcev1alpha1.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ResourceClaim, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied resourceClaim.
func (*FakeResourceClaims) ApplyStatus ¶
func (c *FakeResourceClaims) ApplyStatus(ctx context.Context, resourceClaim *resourcev1alpha1.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ResourceClaim, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeResourceClaims) Create ¶
func (c *FakeResourceClaims) Create(ctx context.Context, resourceClaim *v1alpha1.ResourceClaim, opts v1.CreateOptions) (result *v1alpha1.ResourceClaim, err error)
Create takes the representation of a resourceClaim and creates it. Returns the server's representation of the resourceClaim, and an error, if there is any.
func (*FakeResourceClaims) Delete ¶
func (c *FakeResourceClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceClaim and deletes it. Returns an error if one occurs.
func (*FakeResourceClaims) DeleteCollection ¶
func (c *FakeResourceClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceClaims) Get ¶
func (c *FakeResourceClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceClaim, err error)
Get takes name of the resourceClaim, and returns the corresponding resourceClaim object, and an error if there is any.
func (*FakeResourceClaims) List ¶
func (c *FakeResourceClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceClaimList, err error)
List takes label and field selectors, and returns the list of ResourceClaims that match those selectors.
func (*FakeResourceClaims) Patch ¶
func (c *FakeResourceClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceClaim, err error)
Patch applies the patch and returns the patched resourceClaim.
func (*FakeResourceClaims) Update ¶
func (c *FakeResourceClaims) Update(ctx context.Context, resourceClaim *v1alpha1.ResourceClaim, opts v1.UpdateOptions) (result *v1alpha1.ResourceClaim, err error)
Update takes the representation of a resourceClaim and updates it. Returns the server's representation of the resourceClaim, and an error, if there is any.
func (*FakeResourceClaims) UpdateStatus ¶
func (c *FakeResourceClaims) UpdateStatus(ctx context.Context, resourceClaim *v1alpha1.ResourceClaim, opts v1.UpdateOptions) (*v1alpha1.ResourceClaim, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceClaims) Watch ¶
func (c *FakeResourceClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceClaims.
type FakeResourceClasses ¶
type FakeResourceClasses struct {
Fake *FakeResourceV1alpha1
}
FakeResourceClasses implements ResourceClassInterface
func (*FakeResourceClasses) Apply ¶
func (c *FakeResourceClasses) Apply(ctx context.Context, resourceClass *resourcev1alpha1.ResourceClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ResourceClass, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied resourceClass.
func (*FakeResourceClasses) Create ¶
func (c *FakeResourceClasses) Create(ctx context.Context, resourceClass *v1alpha1.ResourceClass, opts v1.CreateOptions) (result *v1alpha1.ResourceClass, err error)
Create takes the representation of a resourceClass and creates it. Returns the server's representation of the resourceClass, and an error, if there is any.
func (*FakeResourceClasses) Delete ¶
func (c *FakeResourceClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceClass and deletes it. Returns an error if one occurs.
func (*FakeResourceClasses) DeleteCollection ¶
func (c *FakeResourceClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceClasses) Get ¶
func (c *FakeResourceClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceClass, err error)
Get takes name of the resourceClass, and returns the corresponding resourceClass object, and an error if there is any.
func (*FakeResourceClasses) List ¶
func (c *FakeResourceClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceClassList, err error)
List takes label and field selectors, and returns the list of ResourceClasses that match those selectors.
func (*FakeResourceClasses) Patch ¶
func (c *FakeResourceClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceClass, err error)
Patch applies the patch and returns the patched resourceClass.
func (*FakeResourceClasses) Update ¶
func (c *FakeResourceClasses) Update(ctx context.Context, resourceClass *v1alpha1.ResourceClass, opts v1.UpdateOptions) (result *v1alpha1.ResourceClass, err error)
Update takes the representation of a resourceClass and updates it. Returns the server's representation of the resourceClass, and an error, if there is any.
func (*FakeResourceClasses) Watch ¶
func (c *FakeResourceClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceClasses.
type FakeResourceV1alpha1 ¶
func (*FakeResourceV1alpha1) PodSchedulings ¶
func (c *FakeResourceV1alpha1) PodSchedulings(namespace string) v1alpha1.PodSchedulingInterface
func (*FakeResourceV1alpha1) RESTClient ¶
func (c *FakeResourceV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeResourceV1alpha1) ResourceClaimTemplates ¶
func (c *FakeResourceV1alpha1) ResourceClaimTemplates(namespace string) v1alpha1.ResourceClaimTemplateInterface
func (*FakeResourceV1alpha1) ResourceClaims ¶
func (c *FakeResourceV1alpha1) ResourceClaims(namespace string) v1alpha1.ResourceClaimInterface
func (*FakeResourceV1alpha1) ResourceClasses ¶
func (c *FakeResourceV1alpha1) ResourceClasses() v1alpha1.ResourceClassInterface