Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterColocationProfiles
- func (c *FakeClusterColocationProfiles) Create(ctx context.Context, ...) (result *v1alpha1.ClusterColocationProfile, err error)
- func (c *FakeClusterColocationProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterColocationProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterColocationProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterColocationProfile, err error)
- func (c *FakeClusterColocationProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterColocationProfileList, err error)
- func (c *FakeClusterColocationProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterColocationProfile, err error)
- func (c *FakeClusterColocationProfiles) Update(ctx context.Context, ...) (result *v1alpha1.ClusterColocationProfile, err error)
- func (c *FakeClusterColocationProfiles) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ClusterColocationProfile, error)
- func (c *FakeClusterColocationProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterColocationProfiles ¶
type FakeClusterColocationProfiles struct {
Fake *FakeConfigV1alpha1
}
FakeClusterColocationProfiles implements ClusterColocationProfileInterface
func (*FakeClusterColocationProfiles) Create ¶
func (c *FakeClusterColocationProfiles) Create(ctx context.Context, clusterColocationProfile *v1alpha1.ClusterColocationProfile, opts v1.CreateOptions) (result *v1alpha1.ClusterColocationProfile, err error)
Create takes the representation of a clusterColocationProfile and creates it. Returns the server's representation of the clusterColocationProfile, and an error, if there is any.
func (*FakeClusterColocationProfiles) Delete ¶
func (c *FakeClusterColocationProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterColocationProfile and deletes it. Returns an error if one occurs.
func (*FakeClusterColocationProfiles) DeleteCollection ¶
func (c *FakeClusterColocationProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterColocationProfiles) Get ¶
func (c *FakeClusterColocationProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterColocationProfile, err error)
Get takes name of the clusterColocationProfile, and returns the corresponding clusterColocationProfile object, and an error if there is any.
func (*FakeClusterColocationProfiles) List ¶
func (c *FakeClusterColocationProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterColocationProfileList, err error)
List takes label and field selectors, and returns the list of ClusterColocationProfiles that match those selectors.
func (*FakeClusterColocationProfiles) Patch ¶
func (c *FakeClusterColocationProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterColocationProfile, err error)
Patch applies the patch and returns the patched clusterColocationProfile.
func (*FakeClusterColocationProfiles) Update ¶
func (c *FakeClusterColocationProfiles) Update(ctx context.Context, clusterColocationProfile *v1alpha1.ClusterColocationProfile, opts v1.UpdateOptions) (result *v1alpha1.ClusterColocationProfile, err error)
Update takes the representation of a clusterColocationProfile and updates it. Returns the server's representation of the clusterColocationProfile, and an error, if there is any.
func (*FakeClusterColocationProfiles) UpdateStatus ¶
func (c *FakeClusterColocationProfiles) UpdateStatus(ctx context.Context, clusterColocationProfile *v1alpha1.ClusterColocationProfile, opts v1.UpdateOptions) (*v1alpha1.ClusterColocationProfile, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterColocationProfiles) Watch ¶
func (c *FakeClusterColocationProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterColocationProfiles.
type FakeConfigV1alpha1 ¶
func (*FakeConfigV1alpha1) ClusterColocationProfiles ¶
func (c *FakeConfigV1alpha1) ClusterColocationProfiles() v1alpha1.ClusterColocationProfileInterface
func (*FakeConfigV1alpha1) RESTClient ¶
func (c *FakeConfigV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.