Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBundleDeployments
- func (c *FakeBundleDeployments) Create(ctx context.Context, bundleDeployment *v1alpha1.BundleDeployment, ...) (result *v1alpha1.BundleDeployment, err error)
- func (c *FakeBundleDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBundleDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBundleDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BundleDeployment, err error)
- func (c *FakeBundleDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BundleDeploymentList, err error)
- func (c *FakeBundleDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BundleDeployment, err error)
- func (c *FakeBundleDeployments) Update(ctx context.Context, bundleDeployment *v1alpha1.BundleDeployment, ...) (result *v1alpha1.BundleDeployment, err error)
- func (c *FakeBundleDeployments) UpdateStatus(ctx context.Context, bundleDeployment *v1alpha1.BundleDeployment, ...) (*v1alpha1.BundleDeployment, error)
- func (c *FakeBundleDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBundleNamespaceMappings
- func (c *FakeBundleNamespaceMappings) Create(ctx context.Context, bundleNamespaceMapping *v1alpha1.BundleNamespaceMapping, ...) (result *v1alpha1.BundleNamespaceMapping, err error)
- func (c *FakeBundleNamespaceMappings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBundleNamespaceMappings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBundleNamespaceMappings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BundleNamespaceMapping, err error)
- func (c *FakeBundleNamespaceMappings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BundleNamespaceMappingList, err error)
- func (c *FakeBundleNamespaceMappings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BundleNamespaceMapping, err error)
- func (c *FakeBundleNamespaceMappings) Update(ctx context.Context, bundleNamespaceMapping *v1alpha1.BundleNamespaceMapping, ...) (result *v1alpha1.BundleNamespaceMapping, err error)
- func (c *FakeBundleNamespaceMappings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBundles
- func (c *FakeBundles) Create(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.CreateOptions) (result *v1alpha1.Bundle, err error)
- func (c *FakeBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Bundle, err error)
- func (c *FakeBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BundleList, err error)
- func (c *FakeBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Bundle, err error)
- func (c *FakeBundles) Update(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.UpdateOptions) (result *v1alpha1.Bundle, err error)
- func (c *FakeBundles) UpdateStatus(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.UpdateOptions) (*v1alpha1.Bundle, error)
- func (c *FakeBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterGroups
- func (c *FakeClusterGroups) Create(ctx context.Context, clusterGroup *v1alpha1.ClusterGroup, ...) (result *v1alpha1.ClusterGroup, err error)
- func (c *FakeClusterGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterGroup, err error)
- func (c *FakeClusterGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterGroupList, err error)
- func (c *FakeClusterGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterGroup, err error)
- func (c *FakeClusterGroups) Update(ctx context.Context, clusterGroup *v1alpha1.ClusterGroup, ...) (result *v1alpha1.ClusterGroup, err error)
- func (c *FakeClusterGroups) UpdateStatus(ctx context.Context, clusterGroup *v1alpha1.ClusterGroup, ...) (*v1alpha1.ClusterGroup, error)
- func (c *FakeClusterGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterRegistrationTokens
- func (c *FakeClusterRegistrationTokens) Create(ctx context.Context, ...) (result *v1alpha1.ClusterRegistrationToken, err error)
- func (c *FakeClusterRegistrationTokens) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterRegistrationTokens) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterRegistrationTokens) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterRegistrationToken, err error)
- func (c *FakeClusterRegistrationTokens) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterRegistrationTokenList, err error)
- func (c *FakeClusterRegistrationTokens) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterRegistrationToken, err error)
- func (c *FakeClusterRegistrationTokens) Update(ctx context.Context, ...) (result *v1alpha1.ClusterRegistrationToken, err error)
- func (c *FakeClusterRegistrationTokens) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ClusterRegistrationToken, error)
- func (c *FakeClusterRegistrationTokens) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterRegistrations
- func (c *FakeClusterRegistrations) Create(ctx context.Context, clusterRegistration *v1alpha1.ClusterRegistration, ...) (result *v1alpha1.ClusterRegistration, err error)
- func (c *FakeClusterRegistrations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterRegistrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterRegistrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterRegistration, err error)
- func (c *FakeClusterRegistrations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterRegistrationList, err error)
- func (c *FakeClusterRegistrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterRegistration, err error)
- func (c *FakeClusterRegistrations) Update(ctx context.Context, clusterRegistration *v1alpha1.ClusterRegistration, ...) (result *v1alpha1.ClusterRegistration, err error)
- func (c *FakeClusterRegistrations) UpdateStatus(ctx context.Context, clusterRegistration *v1alpha1.ClusterRegistration, ...) (*v1alpha1.ClusterRegistration, error)
- func (c *FakeClusterRegistrations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusters
- func (c *FakeClusters) Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
- func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error)
- func (c *FakeClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeContents
- func (c *FakeContents) Create(ctx context.Context, content *v1alpha1.Content, opts v1.CreateOptions) (result *v1alpha1.Content, err error)
- func (c *FakeContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Content, err error)
- func (c *FakeContents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContentList, err error)
- func (c *FakeContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Content, err error)
- func (c *FakeContents) Update(ctx context.Context, content *v1alpha1.Content, opts v1.UpdateOptions) (result *v1alpha1.Content, err error)
- func (c *FakeContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFleetV1alpha1
- func (c *FakeFleetV1alpha1) BundleDeployments(namespace string) v1alpha1.BundleDeploymentInterface
- func (c *FakeFleetV1alpha1) BundleNamespaceMappings(namespace string) v1alpha1.BundleNamespaceMappingInterface
- func (c *FakeFleetV1alpha1) Bundles(namespace string) v1alpha1.BundleInterface
- func (c *FakeFleetV1alpha1) ClusterGroups(namespace string) v1alpha1.ClusterGroupInterface
- func (c *FakeFleetV1alpha1) ClusterRegistrationTokens(namespace string) v1alpha1.ClusterRegistrationTokenInterface
- func (c *FakeFleetV1alpha1) ClusterRegistrations(namespace string) v1alpha1.ClusterRegistrationInterface
- func (c *FakeFleetV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
- func (c *FakeFleetV1alpha1) Contents() v1alpha1.ContentInterface
- func (c *FakeFleetV1alpha1) GitRepoRestrictions(namespace string) v1alpha1.GitRepoRestrictionInterface
- func (c *FakeFleetV1alpha1) GitRepos(namespace string) v1alpha1.GitRepoInterface
- func (c *FakeFleetV1alpha1) RESTClient() rest.Interface
- type FakeGitRepoRestrictions
- func (c *FakeGitRepoRestrictions) Create(ctx context.Context, gitRepoRestriction *v1alpha1.GitRepoRestriction, ...) (result *v1alpha1.GitRepoRestriction, err error)
- func (c *FakeGitRepoRestrictions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGitRepoRestrictions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGitRepoRestrictions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GitRepoRestriction, err error)
- func (c *FakeGitRepoRestrictions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GitRepoRestrictionList, err error)
- func (c *FakeGitRepoRestrictions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GitRepoRestriction, err error)
- func (c *FakeGitRepoRestrictions) Update(ctx context.Context, gitRepoRestriction *v1alpha1.GitRepoRestriction, ...) (result *v1alpha1.GitRepoRestriction, err error)
- func (c *FakeGitRepoRestrictions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGitRepos
- func (c *FakeGitRepos) Create(ctx context.Context, gitRepo *v1alpha1.GitRepo, opts v1.CreateOptions) (result *v1alpha1.GitRepo, err error)
- func (c *FakeGitRepos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGitRepos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGitRepos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GitRepo, err error)
- func (c *FakeGitRepos) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GitRepoList, err error)
- func (c *FakeGitRepos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GitRepo, err error)
- func (c *FakeGitRepos) Update(ctx context.Context, gitRepo *v1alpha1.GitRepo, opts v1.UpdateOptions) (result *v1alpha1.GitRepo, err error)
- func (c *FakeGitRepos) UpdateStatus(ctx context.Context, gitRepo *v1alpha1.GitRepo, opts v1.UpdateOptions) (*v1alpha1.GitRepo, error)
- func (c *FakeGitRepos) 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 FakeBundleDeployments ¶
type FakeBundleDeployments struct { Fake *FakeFleetV1alpha1 // contains filtered or unexported fields }
FakeBundleDeployments implements BundleDeploymentInterface
func (*FakeBundleDeployments) Create ¶
func (c *FakeBundleDeployments) Create(ctx context.Context, bundleDeployment *v1alpha1.BundleDeployment, opts v1.CreateOptions) (result *v1alpha1.BundleDeployment, err error)
Create takes the representation of a bundleDeployment and creates it. Returns the server's representation of the bundleDeployment, and an error, if there is any.
func (*FakeBundleDeployments) Delete ¶
func (c *FakeBundleDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the bundleDeployment and deletes it. Returns an error if one occurs.
func (*FakeBundleDeployments) DeleteCollection ¶
func (c *FakeBundleDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBundleDeployments) Get ¶
func (c *FakeBundleDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BundleDeployment, err error)
Get takes name of the bundleDeployment, and returns the corresponding bundleDeployment object, and an error if there is any.
func (*FakeBundleDeployments) List ¶
func (c *FakeBundleDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BundleDeploymentList, err error)
List takes label and field selectors, and returns the list of BundleDeployments that match those selectors.
func (*FakeBundleDeployments) Patch ¶
func (c *FakeBundleDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BundleDeployment, err error)
Patch applies the patch and returns the patched bundleDeployment.
func (*FakeBundleDeployments) Update ¶
func (c *FakeBundleDeployments) Update(ctx context.Context, bundleDeployment *v1alpha1.BundleDeployment, opts v1.UpdateOptions) (result *v1alpha1.BundleDeployment, err error)
Update takes the representation of a bundleDeployment and updates it. Returns the server's representation of the bundleDeployment, and an error, if there is any.
func (*FakeBundleDeployments) UpdateStatus ¶
func (c *FakeBundleDeployments) UpdateStatus(ctx context.Context, bundleDeployment *v1alpha1.BundleDeployment, opts v1.UpdateOptions) (*v1alpha1.BundleDeployment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBundleDeployments) Watch ¶
func (c *FakeBundleDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested bundleDeployments.
type FakeBundleNamespaceMappings ¶
type FakeBundleNamespaceMappings struct { Fake *FakeFleetV1alpha1 // contains filtered or unexported fields }
FakeBundleNamespaceMappings implements BundleNamespaceMappingInterface
func (*FakeBundleNamespaceMappings) Create ¶
func (c *FakeBundleNamespaceMappings) Create(ctx context.Context, bundleNamespaceMapping *v1alpha1.BundleNamespaceMapping, opts v1.CreateOptions) (result *v1alpha1.BundleNamespaceMapping, err error)
Create takes the representation of a bundleNamespaceMapping and creates it. Returns the server's representation of the bundleNamespaceMapping, and an error, if there is any.
func (*FakeBundleNamespaceMappings) Delete ¶
func (c *FakeBundleNamespaceMappings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the bundleNamespaceMapping and deletes it. Returns an error if one occurs.
func (*FakeBundleNamespaceMappings) DeleteCollection ¶
func (c *FakeBundleNamespaceMappings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBundleNamespaceMappings) Get ¶
func (c *FakeBundleNamespaceMappings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BundleNamespaceMapping, err error)
Get takes name of the bundleNamespaceMapping, and returns the corresponding bundleNamespaceMapping object, and an error if there is any.
func (*FakeBundleNamespaceMappings) List ¶
func (c *FakeBundleNamespaceMappings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BundleNamespaceMappingList, err error)
List takes label and field selectors, and returns the list of BundleNamespaceMappings that match those selectors.
func (*FakeBundleNamespaceMappings) Patch ¶
func (c *FakeBundleNamespaceMappings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BundleNamespaceMapping, err error)
Patch applies the patch and returns the patched bundleNamespaceMapping.
func (*FakeBundleNamespaceMappings) Update ¶
func (c *FakeBundleNamespaceMappings) Update(ctx context.Context, bundleNamespaceMapping *v1alpha1.BundleNamespaceMapping, opts v1.UpdateOptions) (result *v1alpha1.BundleNamespaceMapping, err error)
Update takes the representation of a bundleNamespaceMapping and updates it. Returns the server's representation of the bundleNamespaceMapping, and an error, if there is any.
func (*FakeBundleNamespaceMappings) Watch ¶
func (c *FakeBundleNamespaceMappings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested bundleNamespaceMappings.
type FakeBundles ¶
type FakeBundles struct { Fake *FakeFleetV1alpha1 // contains filtered or unexported fields }
FakeBundles implements BundleInterface
func (*FakeBundles) Create ¶
func (c *FakeBundles) Create(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.CreateOptions) (result *v1alpha1.Bundle, err error)
Create takes the representation of a bundle and creates it. Returns the server's representation of the bundle, and an error, if there is any.
func (*FakeBundles) Delete ¶
func (c *FakeBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the bundle and deletes it. Returns an error if one occurs.
func (*FakeBundles) DeleteCollection ¶
func (c *FakeBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBundles) Get ¶
func (c *FakeBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Bundle, err error)
Get takes name of the bundle, and returns the corresponding bundle object, and an error if there is any.
func (*FakeBundles) List ¶
func (c *FakeBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BundleList, err error)
List takes label and field selectors, and returns the list of Bundles that match those selectors.
func (*FakeBundles) Patch ¶
func (c *FakeBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Bundle, err error)
Patch applies the patch and returns the patched bundle.
func (*FakeBundles) Update ¶
func (c *FakeBundles) Update(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.UpdateOptions) (result *v1alpha1.Bundle, err error)
Update takes the representation of a bundle and updates it. Returns the server's representation of the bundle, and an error, if there is any.
func (*FakeBundles) UpdateStatus ¶
func (c *FakeBundles) UpdateStatus(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.UpdateOptions) (*v1alpha1.Bundle, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBundles) Watch ¶
func (c *FakeBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested bundles.
type FakeClusterGroups ¶
type FakeClusterGroups struct { Fake *FakeFleetV1alpha1 // contains filtered or unexported fields }
FakeClusterGroups implements ClusterGroupInterface
func (*FakeClusterGroups) Create ¶
func (c *FakeClusterGroups) Create(ctx context.Context, clusterGroup *v1alpha1.ClusterGroup, opts v1.CreateOptions) (result *v1alpha1.ClusterGroup, err error)
Create takes the representation of a clusterGroup and creates it. Returns the server's representation of the clusterGroup, and an error, if there is any.
func (*FakeClusterGroups) Delete ¶
func (c *FakeClusterGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterGroup and deletes it. Returns an error if one occurs.
func (*FakeClusterGroups) DeleteCollection ¶
func (c *FakeClusterGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterGroups) Get ¶
func (c *FakeClusterGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterGroup, err error)
Get takes name of the clusterGroup, and returns the corresponding clusterGroup object, and an error if there is any.
func (*FakeClusterGroups) List ¶
func (c *FakeClusterGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterGroupList, err error)
List takes label and field selectors, and returns the list of ClusterGroups that match those selectors.
func (*FakeClusterGroups) Patch ¶
func (c *FakeClusterGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterGroup, err error)
Patch applies the patch and returns the patched clusterGroup.
func (*FakeClusterGroups) Update ¶
func (c *FakeClusterGroups) Update(ctx context.Context, clusterGroup *v1alpha1.ClusterGroup, opts v1.UpdateOptions) (result *v1alpha1.ClusterGroup, err error)
Update takes the representation of a clusterGroup and updates it. Returns the server's representation of the clusterGroup, and an error, if there is any.
func (*FakeClusterGroups) UpdateStatus ¶
func (c *FakeClusterGroups) UpdateStatus(ctx context.Context, clusterGroup *v1alpha1.ClusterGroup, opts v1.UpdateOptions) (*v1alpha1.ClusterGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterGroups) Watch ¶
func (c *FakeClusterGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterGroups.
type FakeClusterRegistrationTokens ¶
type FakeClusterRegistrationTokens struct { Fake *FakeFleetV1alpha1 // contains filtered or unexported fields }
FakeClusterRegistrationTokens implements ClusterRegistrationTokenInterface
func (*FakeClusterRegistrationTokens) Create ¶
func (c *FakeClusterRegistrationTokens) Create(ctx context.Context, clusterRegistrationToken *v1alpha1.ClusterRegistrationToken, opts v1.CreateOptions) (result *v1alpha1.ClusterRegistrationToken, err error)
Create takes the representation of a clusterRegistrationToken and creates it. Returns the server's representation of the clusterRegistrationToken, and an error, if there is any.
func (*FakeClusterRegistrationTokens) Delete ¶
func (c *FakeClusterRegistrationTokens) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterRegistrationToken and deletes it. Returns an error if one occurs.
func (*FakeClusterRegistrationTokens) DeleteCollection ¶
func (c *FakeClusterRegistrationTokens) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterRegistrationTokens) Get ¶
func (c *FakeClusterRegistrationTokens) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterRegistrationToken, err error)
Get takes name of the clusterRegistrationToken, and returns the corresponding clusterRegistrationToken object, and an error if there is any.
func (*FakeClusterRegistrationTokens) List ¶
func (c *FakeClusterRegistrationTokens) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterRegistrationTokenList, err error)
List takes label and field selectors, and returns the list of ClusterRegistrationTokens that match those selectors.
func (*FakeClusterRegistrationTokens) Patch ¶
func (c *FakeClusterRegistrationTokens) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterRegistrationToken, err error)
Patch applies the patch and returns the patched clusterRegistrationToken.
func (*FakeClusterRegistrationTokens) Update ¶
func (c *FakeClusterRegistrationTokens) Update(ctx context.Context, clusterRegistrationToken *v1alpha1.ClusterRegistrationToken, opts v1.UpdateOptions) (result *v1alpha1.ClusterRegistrationToken, err error)
Update takes the representation of a clusterRegistrationToken and updates it. Returns the server's representation of the clusterRegistrationToken, and an error, if there is any.
func (*FakeClusterRegistrationTokens) UpdateStatus ¶
func (c *FakeClusterRegistrationTokens) UpdateStatus(ctx context.Context, clusterRegistrationToken *v1alpha1.ClusterRegistrationToken, opts v1.UpdateOptions) (*v1alpha1.ClusterRegistrationToken, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterRegistrationTokens) Watch ¶
func (c *FakeClusterRegistrationTokens) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterRegistrationTokens.
type FakeClusterRegistrations ¶
type FakeClusterRegistrations struct { Fake *FakeFleetV1alpha1 // contains filtered or unexported fields }
FakeClusterRegistrations implements ClusterRegistrationInterface
func (*FakeClusterRegistrations) Create ¶
func (c *FakeClusterRegistrations) Create(ctx context.Context, clusterRegistration *v1alpha1.ClusterRegistration, opts v1.CreateOptions) (result *v1alpha1.ClusterRegistration, err error)
Create takes the representation of a clusterRegistration and creates it. Returns the server's representation of the clusterRegistration, and an error, if there is any.
func (*FakeClusterRegistrations) Delete ¶
func (c *FakeClusterRegistrations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterRegistration and deletes it. Returns an error if one occurs.
func (*FakeClusterRegistrations) DeleteCollection ¶
func (c *FakeClusterRegistrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterRegistrations) Get ¶
func (c *FakeClusterRegistrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterRegistration, err error)
Get takes name of the clusterRegistration, and returns the corresponding clusterRegistration object, and an error if there is any.
func (*FakeClusterRegistrations) List ¶
func (c *FakeClusterRegistrations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterRegistrationList, err error)
List takes label and field selectors, and returns the list of ClusterRegistrations that match those selectors.
func (*FakeClusterRegistrations) Patch ¶
func (c *FakeClusterRegistrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterRegistration, err error)
Patch applies the patch and returns the patched clusterRegistration.
func (*FakeClusterRegistrations) Update ¶
func (c *FakeClusterRegistrations) Update(ctx context.Context, clusterRegistration *v1alpha1.ClusterRegistration, opts v1.UpdateOptions) (result *v1alpha1.ClusterRegistration, err error)
Update takes the representation of a clusterRegistration and updates it. Returns the server's representation of the clusterRegistration, and an error, if there is any.
func (*FakeClusterRegistrations) UpdateStatus ¶
func (c *FakeClusterRegistrations) UpdateStatus(ctx context.Context, clusterRegistration *v1alpha1.ClusterRegistration, opts v1.UpdateOptions) (*v1alpha1.ClusterRegistration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterRegistrations) Watch ¶
func (c *FakeClusterRegistrations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterRegistrations.
type FakeClusters ¶
type FakeClusters struct { Fake *FakeFleetV1alpha1 // contains filtered or unexported fields }
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
func (c *FakeClusters) Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (result *v1alpha1.Cluster, err error)
Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.
func (*FakeClusters) List ¶
func (c *FakeClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
List takes label and field selectors, and returns the list of Clusters that match those selectors.
func (*FakeClusters) Patch ¶
func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
func (c *FakeClusters) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (result *v1alpha1.Cluster, err error)
Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) UpdateStatus ¶
func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeContents ¶
type FakeContents struct {
Fake *FakeFleetV1alpha1
}
FakeContents implements ContentInterface
func (*FakeContents) Create ¶
func (c *FakeContents) Create(ctx context.Context, content *v1alpha1.Content, opts v1.CreateOptions) (result *v1alpha1.Content, err error)
Create takes the representation of a content and creates it. Returns the server's representation of the content, and an error, if there is any.
func (*FakeContents) Delete ¶
func (c *FakeContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the content and deletes it. Returns an error if one occurs.
func (*FakeContents) DeleteCollection ¶
func (c *FakeContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContents) Get ¶
func (c *FakeContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Content, err error)
Get takes name of the content, and returns the corresponding content object, and an error if there is any.
func (*FakeContents) List ¶
func (c *FakeContents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContentList, err error)
List takes label and field selectors, and returns the list of Contents that match those selectors.
func (*FakeContents) Patch ¶
func (c *FakeContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Content, err error)
Patch applies the patch and returns the patched content.
func (*FakeContents) Update ¶
func (c *FakeContents) Update(ctx context.Context, content *v1alpha1.Content, opts v1.UpdateOptions) (result *v1alpha1.Content, err error)
Update takes the representation of a content and updates it. Returns the server's representation of the content, and an error, if there is any.
func (*FakeContents) Watch ¶
func (c *FakeContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested contents.
type FakeFleetV1alpha1 ¶
func (*FakeFleetV1alpha1) BundleDeployments ¶
func (c *FakeFleetV1alpha1) BundleDeployments(namespace string) v1alpha1.BundleDeploymentInterface
func (*FakeFleetV1alpha1) BundleNamespaceMappings ¶
func (c *FakeFleetV1alpha1) BundleNamespaceMappings(namespace string) v1alpha1.BundleNamespaceMappingInterface
func (*FakeFleetV1alpha1) Bundles ¶
func (c *FakeFleetV1alpha1) Bundles(namespace string) v1alpha1.BundleInterface
func (*FakeFleetV1alpha1) ClusterGroups ¶
func (c *FakeFleetV1alpha1) ClusterGroups(namespace string) v1alpha1.ClusterGroupInterface
func (*FakeFleetV1alpha1) ClusterRegistrationTokens ¶
func (c *FakeFleetV1alpha1) ClusterRegistrationTokens(namespace string) v1alpha1.ClusterRegistrationTokenInterface
func (*FakeFleetV1alpha1) ClusterRegistrations ¶
func (c *FakeFleetV1alpha1) ClusterRegistrations(namespace string) v1alpha1.ClusterRegistrationInterface
func (*FakeFleetV1alpha1) Clusters ¶
func (c *FakeFleetV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
func (*FakeFleetV1alpha1) Contents ¶
func (c *FakeFleetV1alpha1) Contents() v1alpha1.ContentInterface
func (*FakeFleetV1alpha1) GitRepoRestrictions ¶
func (c *FakeFleetV1alpha1) GitRepoRestrictions(namespace string) v1alpha1.GitRepoRestrictionInterface
func (*FakeFleetV1alpha1) GitRepos ¶
func (c *FakeFleetV1alpha1) GitRepos(namespace string) v1alpha1.GitRepoInterface
func (*FakeFleetV1alpha1) RESTClient ¶
func (c *FakeFleetV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeGitRepoRestrictions ¶
type FakeGitRepoRestrictions struct { Fake *FakeFleetV1alpha1 // contains filtered or unexported fields }
FakeGitRepoRestrictions implements GitRepoRestrictionInterface
func (*FakeGitRepoRestrictions) Create ¶
func (c *FakeGitRepoRestrictions) Create(ctx context.Context, gitRepoRestriction *v1alpha1.GitRepoRestriction, opts v1.CreateOptions) (result *v1alpha1.GitRepoRestriction, err error)
Create takes the representation of a gitRepoRestriction and creates it. Returns the server's representation of the gitRepoRestriction, and an error, if there is any.
func (*FakeGitRepoRestrictions) Delete ¶
func (c *FakeGitRepoRestrictions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gitRepoRestriction and deletes it. Returns an error if one occurs.
func (*FakeGitRepoRestrictions) DeleteCollection ¶
func (c *FakeGitRepoRestrictions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGitRepoRestrictions) Get ¶
func (c *FakeGitRepoRestrictions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GitRepoRestriction, err error)
Get takes name of the gitRepoRestriction, and returns the corresponding gitRepoRestriction object, and an error if there is any.
func (*FakeGitRepoRestrictions) List ¶
func (c *FakeGitRepoRestrictions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GitRepoRestrictionList, err error)
List takes label and field selectors, and returns the list of GitRepoRestrictions that match those selectors.
func (*FakeGitRepoRestrictions) Patch ¶
func (c *FakeGitRepoRestrictions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GitRepoRestriction, err error)
Patch applies the patch and returns the patched gitRepoRestriction.
func (*FakeGitRepoRestrictions) Update ¶
func (c *FakeGitRepoRestrictions) Update(ctx context.Context, gitRepoRestriction *v1alpha1.GitRepoRestriction, opts v1.UpdateOptions) (result *v1alpha1.GitRepoRestriction, err error)
Update takes the representation of a gitRepoRestriction and updates it. Returns the server's representation of the gitRepoRestriction, and an error, if there is any.
func (*FakeGitRepoRestrictions) Watch ¶
func (c *FakeGitRepoRestrictions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gitRepoRestrictions.
type FakeGitRepos ¶
type FakeGitRepos struct { Fake *FakeFleetV1alpha1 // contains filtered or unexported fields }
FakeGitRepos implements GitRepoInterface
func (*FakeGitRepos) Create ¶
func (c *FakeGitRepos) Create(ctx context.Context, gitRepo *v1alpha1.GitRepo, opts v1.CreateOptions) (result *v1alpha1.GitRepo, err error)
Create takes the representation of a gitRepo and creates it. Returns the server's representation of the gitRepo, and an error, if there is any.
func (*FakeGitRepos) Delete ¶
func (c *FakeGitRepos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gitRepo and deletes it. Returns an error if one occurs.
func (*FakeGitRepos) DeleteCollection ¶
func (c *FakeGitRepos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGitRepos) Get ¶
func (c *FakeGitRepos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GitRepo, err error)
Get takes name of the gitRepo, and returns the corresponding gitRepo object, and an error if there is any.
func (*FakeGitRepos) List ¶
func (c *FakeGitRepos) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GitRepoList, err error)
List takes label and field selectors, and returns the list of GitRepos that match those selectors.
func (*FakeGitRepos) Patch ¶
func (c *FakeGitRepos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GitRepo, err error)
Patch applies the patch and returns the patched gitRepo.
func (*FakeGitRepos) Update ¶
func (c *FakeGitRepos) Update(ctx context.Context, gitRepo *v1alpha1.GitRepo, opts v1.UpdateOptions) (result *v1alpha1.GitRepo, err error)
Update takes the representation of a gitRepo and updates it. Returns the server's representation of the gitRepo, and an error, if there is any.
func (*FakeGitRepos) UpdateStatus ¶
func (c *FakeGitRepos) UpdateStatus(ctx context.Context, gitRepo *v1alpha1.GitRepo, opts v1.UpdateOptions) (*v1alpha1.GitRepo, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGitRepos) Watch ¶
func (c *FakeGitRepos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gitRepos.