Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFolders
- func (c *FakeFolders) Create(ctx context.Context, folder *v1beta1.Folder, opts v1.CreateOptions) (result *v1beta1.Folder, err error)
- func (c *FakeFolders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFolders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFolders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Folder, err error)
- func (c *FakeFolders) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.FolderList, err error)
- func (c *FakeFolders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Folder, err error)
- func (c *FakeFolders) Update(ctx context.Context, folder *v1beta1.Folder, opts v1.UpdateOptions) (result *v1beta1.Folder, err error)
- func (c *FakeFolders) UpdateStatus(ctx context.Context, folder *v1beta1.Folder, opts v1.UpdateOptions) (*v1beta1.Folder, error)
- func (c *FakeFolders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProjects
- func (c *FakeProjects) Create(ctx context.Context, project *v1beta1.Project, opts v1.CreateOptions) (result *v1beta1.Project, err error)
- func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Project, err error)
- func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ProjectList, err error)
- func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Project, err error)
- func (c *FakeProjects) Update(ctx context.Context, project *v1beta1.Project, opts v1.UpdateOptions) (result *v1beta1.Project, err error)
- func (c *FakeProjects) UpdateStatus(ctx context.Context, project *v1beta1.Project, opts v1.UpdateOptions) (*v1beta1.Project, error)
- func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceManagerLiens
- func (c *FakeResourceManagerLiens) Create(ctx context.Context, resourceManagerLien *v1beta1.ResourceManagerLien, ...) (result *v1beta1.ResourceManagerLien, err error)
- func (c *FakeResourceManagerLiens) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceManagerLiens) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceManagerLiens) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ResourceManagerLien, err error)
- func (c *FakeResourceManagerLiens) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ResourceManagerLienList, err error)
- func (c *FakeResourceManagerLiens) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ResourceManagerLien, err error)
- func (c *FakeResourceManagerLiens) Update(ctx context.Context, resourceManagerLien *v1beta1.ResourceManagerLien, ...) (result *v1beta1.ResourceManagerLien, err error)
- func (c *FakeResourceManagerLiens) UpdateStatus(ctx context.Context, resourceManagerLien *v1beta1.ResourceManagerLien, ...) (*v1beta1.ResourceManagerLien, error)
- func (c *FakeResourceManagerLiens) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceManagerPolicies
- func (c *FakeResourceManagerPolicies) Create(ctx context.Context, resourceManagerPolicy *v1beta1.ResourceManagerPolicy, ...) (result *v1beta1.ResourceManagerPolicy, err error)
- func (c *FakeResourceManagerPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceManagerPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceManagerPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ResourceManagerPolicy, err error)
- func (c *FakeResourceManagerPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ResourceManagerPolicyList, err error)
- func (c *FakeResourceManagerPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ResourceManagerPolicy, err error)
- func (c *FakeResourceManagerPolicies) Update(ctx context.Context, resourceManagerPolicy *v1beta1.ResourceManagerPolicy, ...) (result *v1beta1.ResourceManagerPolicy, err error)
- func (c *FakeResourceManagerPolicies) UpdateStatus(ctx context.Context, resourceManagerPolicy *v1beta1.ResourceManagerPolicy, ...) (*v1beta1.ResourceManagerPolicy, error)
- func (c *FakeResourceManagerPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourcemanagerV1beta1
- func (c *FakeResourcemanagerV1beta1) Folders(namespace string) v1beta1.FolderInterface
- func (c *FakeResourcemanagerV1beta1) Projects(namespace string) v1beta1.ProjectInterface
- func (c *FakeResourcemanagerV1beta1) RESTClient() rest.Interface
- func (c *FakeResourcemanagerV1beta1) ResourceManagerLiens(namespace string) v1beta1.ResourceManagerLienInterface
- func (c *FakeResourcemanagerV1beta1) ResourceManagerPolicies(namespace string) v1beta1.ResourceManagerPolicyInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFolders ¶
type FakeFolders struct { Fake *FakeResourcemanagerV1beta1 // contains filtered or unexported fields }
FakeFolders implements FolderInterface
func (*FakeFolders) Create ¶
func (c *FakeFolders) Create(ctx context.Context, folder *v1beta1.Folder, opts v1.CreateOptions) (result *v1beta1.Folder, err error)
Create takes the representation of a folder and creates it. Returns the server's representation of the folder, and an error, if there is any.
func (*FakeFolders) Delete ¶
func (c *FakeFolders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the folder and deletes it. Returns an error if one occurs.
func (*FakeFolders) DeleteCollection ¶
func (c *FakeFolders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFolders) Get ¶
func (c *FakeFolders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Folder, err error)
Get takes name of the folder, and returns the corresponding folder object, and an error if there is any.
func (*FakeFolders) List ¶
func (c *FakeFolders) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.FolderList, err error)
List takes label and field selectors, and returns the list of Folders that match those selectors.
func (*FakeFolders) Patch ¶
func (c *FakeFolders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Folder, err error)
Patch applies the patch and returns the patched folder.
func (*FakeFolders) Update ¶
func (c *FakeFolders) Update(ctx context.Context, folder *v1beta1.Folder, opts v1.UpdateOptions) (result *v1beta1.Folder, err error)
Update takes the representation of a folder and updates it. Returns the server's representation of the folder, and an error, if there is any.
func (*FakeFolders) UpdateStatus ¶
func (c *FakeFolders) UpdateStatus(ctx context.Context, folder *v1beta1.Folder, opts v1.UpdateOptions) (*v1beta1.Folder, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFolders) Watch ¶
func (c *FakeFolders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested folders.
type FakeProjects ¶
type FakeProjects struct { Fake *FakeResourcemanagerV1beta1 // contains filtered or unexported fields }
FakeProjects implements ProjectInterface
func (*FakeProjects) Create ¶
func (c *FakeProjects) Create(ctx context.Context, project *v1beta1.Project, opts v1.CreateOptions) (result *v1beta1.Project, err error)
Create takes the representation of a project and creates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) Delete ¶
func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the project and deletes it. Returns an error if one occurs.
func (*FakeProjects) DeleteCollection ¶
func (c *FakeProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProjects) Get ¶
func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Project, err error)
Get takes name of the project, and returns the corresponding project object, and an error if there is any.
func (*FakeProjects) List ¶
func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ProjectList, err error)
List takes label and field selectors, and returns the list of Projects that match those selectors.
func (*FakeProjects) Patch ¶
func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) Update ¶
func (c *FakeProjects) Update(ctx context.Context, project *v1beta1.Project, opts v1.UpdateOptions) (result *v1beta1.Project, err error)
Update takes the representation of a project and updates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) UpdateStatus ¶
func (c *FakeProjects) UpdateStatus(ctx context.Context, project *v1beta1.Project, opts v1.UpdateOptions) (*v1beta1.Project, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProjects) Watch ¶
func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projects.
type FakeResourceManagerLiens ¶
type FakeResourceManagerLiens struct { Fake *FakeResourcemanagerV1beta1 // contains filtered or unexported fields }
FakeResourceManagerLiens implements ResourceManagerLienInterface
func (*FakeResourceManagerLiens) Create ¶
func (c *FakeResourceManagerLiens) Create(ctx context.Context, resourceManagerLien *v1beta1.ResourceManagerLien, opts v1.CreateOptions) (result *v1beta1.ResourceManagerLien, err error)
Create takes the representation of a resourceManagerLien and creates it. Returns the server's representation of the resourceManagerLien, and an error, if there is any.
func (*FakeResourceManagerLiens) Delete ¶
func (c *FakeResourceManagerLiens) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceManagerLien and deletes it. Returns an error if one occurs.
func (*FakeResourceManagerLiens) DeleteCollection ¶
func (c *FakeResourceManagerLiens) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceManagerLiens) Get ¶
func (c *FakeResourceManagerLiens) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ResourceManagerLien, err error)
Get takes name of the resourceManagerLien, and returns the corresponding resourceManagerLien object, and an error if there is any.
func (*FakeResourceManagerLiens) List ¶
func (c *FakeResourceManagerLiens) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ResourceManagerLienList, err error)
List takes label and field selectors, and returns the list of ResourceManagerLiens that match those selectors.
func (*FakeResourceManagerLiens) Patch ¶
func (c *FakeResourceManagerLiens) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ResourceManagerLien, err error)
Patch applies the patch and returns the patched resourceManagerLien.
func (*FakeResourceManagerLiens) Update ¶
func (c *FakeResourceManagerLiens) Update(ctx context.Context, resourceManagerLien *v1beta1.ResourceManagerLien, opts v1.UpdateOptions) (result *v1beta1.ResourceManagerLien, err error)
Update takes the representation of a resourceManagerLien and updates it. Returns the server's representation of the resourceManagerLien, and an error, if there is any.
func (*FakeResourceManagerLiens) UpdateStatus ¶
func (c *FakeResourceManagerLiens) UpdateStatus(ctx context.Context, resourceManagerLien *v1beta1.ResourceManagerLien, opts v1.UpdateOptions) (*v1beta1.ResourceManagerLien, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceManagerLiens) Watch ¶
func (c *FakeResourceManagerLiens) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceManagerLiens.
type FakeResourceManagerPolicies ¶
type FakeResourceManagerPolicies struct { Fake *FakeResourcemanagerV1beta1 // contains filtered or unexported fields }
FakeResourceManagerPolicies implements ResourceManagerPolicyInterface
func (*FakeResourceManagerPolicies) Create ¶
func (c *FakeResourceManagerPolicies) Create(ctx context.Context, resourceManagerPolicy *v1beta1.ResourceManagerPolicy, opts v1.CreateOptions) (result *v1beta1.ResourceManagerPolicy, err error)
Create takes the representation of a resourceManagerPolicy and creates it. Returns the server's representation of the resourceManagerPolicy, and an error, if there is any.
func (*FakeResourceManagerPolicies) Delete ¶
func (c *FakeResourceManagerPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceManagerPolicy and deletes it. Returns an error if one occurs.
func (*FakeResourceManagerPolicies) DeleteCollection ¶
func (c *FakeResourceManagerPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceManagerPolicies) Get ¶
func (c *FakeResourceManagerPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ResourceManagerPolicy, err error)
Get takes name of the resourceManagerPolicy, and returns the corresponding resourceManagerPolicy object, and an error if there is any.
func (*FakeResourceManagerPolicies) List ¶
func (c *FakeResourceManagerPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ResourceManagerPolicyList, err error)
List takes label and field selectors, and returns the list of ResourceManagerPolicies that match those selectors.
func (*FakeResourceManagerPolicies) Patch ¶
func (c *FakeResourceManagerPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ResourceManagerPolicy, err error)
Patch applies the patch and returns the patched resourceManagerPolicy.
func (*FakeResourceManagerPolicies) Update ¶
func (c *FakeResourceManagerPolicies) Update(ctx context.Context, resourceManagerPolicy *v1beta1.ResourceManagerPolicy, opts v1.UpdateOptions) (result *v1beta1.ResourceManagerPolicy, err error)
Update takes the representation of a resourceManagerPolicy and updates it. Returns the server's representation of the resourceManagerPolicy, and an error, if there is any.
func (*FakeResourceManagerPolicies) UpdateStatus ¶
func (c *FakeResourceManagerPolicies) UpdateStatus(ctx context.Context, resourceManagerPolicy *v1beta1.ResourceManagerPolicy, opts v1.UpdateOptions) (*v1beta1.ResourceManagerPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceManagerPolicies) Watch ¶
func (c *FakeResourceManagerPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceManagerPolicies.
type FakeResourcemanagerV1beta1 ¶
func (*FakeResourcemanagerV1beta1) Folders ¶
func (c *FakeResourcemanagerV1beta1) Folders(namespace string) v1beta1.FolderInterface
func (*FakeResourcemanagerV1beta1) Projects ¶
func (c *FakeResourcemanagerV1beta1) Projects(namespace string) v1beta1.ProjectInterface
func (*FakeResourcemanagerV1beta1) RESTClient ¶
func (c *FakeResourcemanagerV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeResourcemanagerV1beta1) ResourceManagerLiens ¶
func (c *FakeResourcemanagerV1beta1) ResourceManagerLiens(namespace string) v1beta1.ResourceManagerLienInterface
func (*FakeResourcemanagerV1beta1) ResourceManagerPolicies ¶
func (c *FakeResourcemanagerV1beta1) ResourceManagerPolicies(namespace string) v1beta1.ResourceManagerPolicyInterface