fake

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeApigeeV1alpha1

type FakeApigeeV1alpha1 struct {
	*testing.Fake
}

func (*FakeApigeeV1alpha1) EndpointAttachments added in v0.5.0

func (c *FakeApigeeV1alpha1) EndpointAttachments(namespace string) v1alpha1.EndpointAttachmentInterface

func (*FakeApigeeV1alpha1) EnvgroupAttachments

func (c *FakeApigeeV1alpha1) EnvgroupAttachments(namespace string) v1alpha1.EnvgroupAttachmentInterface

func (*FakeApigeeV1alpha1) Envgroups

func (c *FakeApigeeV1alpha1) Envgroups(namespace string) v1alpha1.EnvgroupInterface

func (*FakeApigeeV1alpha1) EnvironmentIamBindings added in v0.5.0

func (c *FakeApigeeV1alpha1) EnvironmentIamBindings(namespace string) v1alpha1.EnvironmentIamBindingInterface

func (*FakeApigeeV1alpha1) EnvironmentIamMembers added in v0.5.0

func (c *FakeApigeeV1alpha1) EnvironmentIamMembers(namespace string) v1alpha1.EnvironmentIamMemberInterface

func (*FakeApigeeV1alpha1) EnvironmentIamPolicies added in v0.5.0

func (c *FakeApigeeV1alpha1) EnvironmentIamPolicies(namespace string) v1alpha1.EnvironmentIamPolicyInterface

func (*FakeApigeeV1alpha1) Environments

func (c *FakeApigeeV1alpha1) Environments(namespace string) v1alpha1.EnvironmentInterface

func (*FakeApigeeV1alpha1) InstanceAttachments

func (c *FakeApigeeV1alpha1) InstanceAttachments(namespace string) v1alpha1.InstanceAttachmentInterface

func (*FakeApigeeV1alpha1) Instances

func (c *FakeApigeeV1alpha1) Instances(namespace string) v1alpha1.InstanceInterface

func (*FakeApigeeV1alpha1) Organizations

func (c *FakeApigeeV1alpha1) Organizations(namespace string) v1alpha1.OrganizationInterface

func (*FakeApigeeV1alpha1) RESTClient

func (c *FakeApigeeV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type FakeEndpointAttachments added in v0.5.0

type FakeEndpointAttachments struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeEndpointAttachments implements EndpointAttachmentInterface

func (*FakeEndpointAttachments) Create added in v0.5.0

func (c *FakeEndpointAttachments) Create(ctx context.Context, endpointAttachment *v1alpha1.EndpointAttachment, opts v1.CreateOptions) (result *v1alpha1.EndpointAttachment, err error)

Create takes the representation of a endpointAttachment and creates it. Returns the server's representation of the endpointAttachment, and an error, if there is any.

func (*FakeEndpointAttachments) Delete added in v0.5.0

func (c *FakeEndpointAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the endpointAttachment and deletes it. Returns an error if one occurs.

func (*FakeEndpointAttachments) DeleteCollection added in v0.5.0

func (c *FakeEndpointAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEndpointAttachments) Get added in v0.5.0

func (c *FakeEndpointAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EndpointAttachment, err error)

Get takes name of the endpointAttachment, and returns the corresponding endpointAttachment object, and an error if there is any.

func (*FakeEndpointAttachments) List added in v0.5.0

List takes label and field selectors, and returns the list of EndpointAttachments that match those selectors.

func (*FakeEndpointAttachments) Patch added in v0.5.0

func (c *FakeEndpointAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EndpointAttachment, err error)

Patch applies the patch and returns the patched endpointAttachment.

func (*FakeEndpointAttachments) Update added in v0.5.0

func (c *FakeEndpointAttachments) Update(ctx context.Context, endpointAttachment *v1alpha1.EndpointAttachment, opts v1.UpdateOptions) (result *v1alpha1.EndpointAttachment, err error)

Update takes the representation of a endpointAttachment and updates it. Returns the server's representation of the endpointAttachment, and an error, if there is any.

func (*FakeEndpointAttachments) UpdateStatus added in v0.5.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEndpointAttachments) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested endpointAttachments.

type FakeEnvgroupAttachments

type FakeEnvgroupAttachments struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeEnvgroupAttachments implements EnvgroupAttachmentInterface

func (*FakeEnvgroupAttachments) Create

func (c *FakeEnvgroupAttachments) Create(ctx context.Context, envgroupAttachment *v1alpha1.EnvgroupAttachment, opts v1.CreateOptions) (result *v1alpha1.EnvgroupAttachment, err error)

Create takes the representation of a envgroupAttachment and creates it. Returns the server's representation of the envgroupAttachment, and an error, if there is any.

func (*FakeEnvgroupAttachments) Delete

func (c *FakeEnvgroupAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the envgroupAttachment and deletes it. Returns an error if one occurs.

func (*FakeEnvgroupAttachments) DeleteCollection

func (c *FakeEnvgroupAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEnvgroupAttachments) Get

func (c *FakeEnvgroupAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EnvgroupAttachment, err error)

Get takes name of the envgroupAttachment, and returns the corresponding envgroupAttachment object, and an error if there is any.

func (*FakeEnvgroupAttachments) List

List takes label and field selectors, and returns the list of EnvgroupAttachments that match those selectors.

func (*FakeEnvgroupAttachments) Patch

func (c *FakeEnvgroupAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EnvgroupAttachment, err error)

Patch applies the patch and returns the patched envgroupAttachment.

func (*FakeEnvgroupAttachments) Update

func (c *FakeEnvgroupAttachments) Update(ctx context.Context, envgroupAttachment *v1alpha1.EnvgroupAttachment, opts v1.UpdateOptions) (result *v1alpha1.EnvgroupAttachment, err error)

Update takes the representation of a envgroupAttachment and updates it. Returns the server's representation of the envgroupAttachment, and an error, if there is any.

func (*FakeEnvgroupAttachments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEnvgroupAttachments) Watch

Watch returns a watch.Interface that watches the requested envgroupAttachments.

type FakeEnvgroups

type FakeEnvgroups struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeEnvgroups implements EnvgroupInterface

func (*FakeEnvgroups) Create

func (c *FakeEnvgroups) Create(ctx context.Context, envgroup *v1alpha1.Envgroup, opts v1.CreateOptions) (result *v1alpha1.Envgroup, err error)

Create takes the representation of a envgroup and creates it. Returns the server's representation of the envgroup, and an error, if there is any.

func (*FakeEnvgroups) Delete

func (c *FakeEnvgroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the envgroup and deletes it. Returns an error if one occurs.

func (*FakeEnvgroups) DeleteCollection

func (c *FakeEnvgroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEnvgroups) Get

func (c *FakeEnvgroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Envgroup, err error)

Get takes name of the envgroup, and returns the corresponding envgroup object, and an error if there is any.

func (*FakeEnvgroups) List

func (c *FakeEnvgroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EnvgroupList, err error)

List takes label and field selectors, and returns the list of Envgroups that match those selectors.

func (*FakeEnvgroups) Patch

func (c *FakeEnvgroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Envgroup, err error)

Patch applies the patch and returns the patched envgroup.

func (*FakeEnvgroups) Update

func (c *FakeEnvgroups) Update(ctx context.Context, envgroup *v1alpha1.Envgroup, opts v1.UpdateOptions) (result *v1alpha1.Envgroup, err error)

Update takes the representation of a envgroup and updates it. Returns the server's representation of the envgroup, and an error, if there is any.

func (*FakeEnvgroups) UpdateStatus

func (c *FakeEnvgroups) UpdateStatus(ctx context.Context, envgroup *v1alpha1.Envgroup, opts v1.UpdateOptions) (*v1alpha1.Envgroup, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEnvgroups) Watch

Watch returns a watch.Interface that watches the requested envgroups.

type FakeEnvironmentIamBindings added in v0.5.0

type FakeEnvironmentIamBindings struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeEnvironmentIamBindings implements EnvironmentIamBindingInterface

func (*FakeEnvironmentIamBindings) Create added in v0.5.0

Create takes the representation of a environmentIamBinding and creates it. Returns the server's representation of the environmentIamBinding, and an error, if there is any.

func (*FakeEnvironmentIamBindings) Delete added in v0.5.0

Delete takes name of the environmentIamBinding and deletes it. Returns an error if one occurs.

func (*FakeEnvironmentIamBindings) DeleteCollection added in v0.5.0

func (c *FakeEnvironmentIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEnvironmentIamBindings) Get added in v0.5.0

Get takes name of the environmentIamBinding, and returns the corresponding environmentIamBinding object, and an error if there is any.

func (*FakeEnvironmentIamBindings) List added in v0.5.0

List takes label and field selectors, and returns the list of EnvironmentIamBindings that match those selectors.

func (*FakeEnvironmentIamBindings) Patch added in v0.5.0

func (c *FakeEnvironmentIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EnvironmentIamBinding, err error)

Patch applies the patch and returns the patched environmentIamBinding.

func (*FakeEnvironmentIamBindings) Update added in v0.5.0

Update takes the representation of a environmentIamBinding and updates it. Returns the server's representation of the environmentIamBinding, and an error, if there is any.

func (*FakeEnvironmentIamBindings) UpdateStatus added in v0.5.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEnvironmentIamBindings) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested environmentIamBindings.

type FakeEnvironmentIamMembers added in v0.5.0

type FakeEnvironmentIamMembers struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeEnvironmentIamMembers implements EnvironmentIamMemberInterface

func (*FakeEnvironmentIamMembers) Create added in v0.5.0

func (c *FakeEnvironmentIamMembers) Create(ctx context.Context, environmentIamMember *v1alpha1.EnvironmentIamMember, opts v1.CreateOptions) (result *v1alpha1.EnvironmentIamMember, err error)

Create takes the representation of a environmentIamMember and creates it. Returns the server's representation of the environmentIamMember, and an error, if there is any.

func (*FakeEnvironmentIamMembers) Delete added in v0.5.0

Delete takes name of the environmentIamMember and deletes it. Returns an error if one occurs.

func (*FakeEnvironmentIamMembers) DeleteCollection added in v0.5.0

func (c *FakeEnvironmentIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEnvironmentIamMembers) Get added in v0.5.0

Get takes name of the environmentIamMember, and returns the corresponding environmentIamMember object, and an error if there is any.

func (*FakeEnvironmentIamMembers) List added in v0.5.0

List takes label and field selectors, and returns the list of EnvironmentIamMembers that match those selectors.

func (*FakeEnvironmentIamMembers) Patch added in v0.5.0

func (c *FakeEnvironmentIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EnvironmentIamMember, err error)

Patch applies the patch and returns the patched environmentIamMember.

func (*FakeEnvironmentIamMembers) Update added in v0.5.0

func (c *FakeEnvironmentIamMembers) Update(ctx context.Context, environmentIamMember *v1alpha1.EnvironmentIamMember, opts v1.UpdateOptions) (result *v1alpha1.EnvironmentIamMember, err error)

Update takes the representation of a environmentIamMember and updates it. Returns the server's representation of the environmentIamMember, and an error, if there is any.

func (*FakeEnvironmentIamMembers) UpdateStatus added in v0.5.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEnvironmentIamMembers) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested environmentIamMembers.

type FakeEnvironmentIamPolicies added in v0.5.0

type FakeEnvironmentIamPolicies struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeEnvironmentIamPolicies implements EnvironmentIamPolicyInterface

func (*FakeEnvironmentIamPolicies) Create added in v0.5.0

Create takes the representation of a environmentIamPolicy and creates it. Returns the server's representation of the environmentIamPolicy, and an error, if there is any.

func (*FakeEnvironmentIamPolicies) Delete added in v0.5.0

Delete takes name of the environmentIamPolicy and deletes it. Returns an error if one occurs.

func (*FakeEnvironmentIamPolicies) DeleteCollection added in v0.5.0

func (c *FakeEnvironmentIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEnvironmentIamPolicies) Get added in v0.5.0

Get takes name of the environmentIamPolicy, and returns the corresponding environmentIamPolicy object, and an error if there is any.

func (*FakeEnvironmentIamPolicies) List added in v0.5.0

List takes label and field selectors, and returns the list of EnvironmentIamPolicies that match those selectors.

func (*FakeEnvironmentIamPolicies) Patch added in v0.5.0

func (c *FakeEnvironmentIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EnvironmentIamPolicy, err error)

Patch applies the patch and returns the patched environmentIamPolicy.

func (*FakeEnvironmentIamPolicies) Update added in v0.5.0

Update takes the representation of a environmentIamPolicy and updates it. Returns the server's representation of the environmentIamPolicy, and an error, if there is any.

func (*FakeEnvironmentIamPolicies) UpdateStatus added in v0.5.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEnvironmentIamPolicies) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested environmentIamPolicies.

type FakeEnvironments

type FakeEnvironments struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeEnvironments implements EnvironmentInterface

func (*FakeEnvironments) Create

func (c *FakeEnvironments) Create(ctx context.Context, environment *v1alpha1.Environment, opts v1.CreateOptions) (result *v1alpha1.Environment, err error)

Create takes the representation of a environment and creates it. Returns the server's representation of the environment, and an error, if there is any.

func (*FakeEnvironments) Delete

func (c *FakeEnvironments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the environment and deletes it. Returns an error if one occurs.

func (*FakeEnvironments) DeleteCollection

func (c *FakeEnvironments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEnvironments) Get

func (c *FakeEnvironments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Environment, err error)

Get takes name of the environment, and returns the corresponding environment object, and an error if there is any.

func (*FakeEnvironments) List

func (c *FakeEnvironments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EnvironmentList, err error)

List takes label and field selectors, and returns the list of Environments that match those selectors.

func (*FakeEnvironments) Patch

func (c *FakeEnvironments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Environment, err error)

Patch applies the patch and returns the patched environment.

func (*FakeEnvironments) Update

func (c *FakeEnvironments) Update(ctx context.Context, environment *v1alpha1.Environment, opts v1.UpdateOptions) (result *v1alpha1.Environment, err error)

Update takes the representation of a environment and updates it. Returns the server's representation of the environment, and an error, if there is any.

func (*FakeEnvironments) UpdateStatus

func (c *FakeEnvironments) UpdateStatus(ctx context.Context, environment *v1alpha1.Environment, opts v1.UpdateOptions) (*v1alpha1.Environment, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEnvironments) Watch

Watch returns a watch.Interface that watches the requested environments.

type FakeInstanceAttachments

type FakeInstanceAttachments struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeInstanceAttachments implements InstanceAttachmentInterface

func (*FakeInstanceAttachments) Create

func (c *FakeInstanceAttachments) Create(ctx context.Context, instanceAttachment *v1alpha1.InstanceAttachment, opts v1.CreateOptions) (result *v1alpha1.InstanceAttachment, err error)

Create takes the representation of a instanceAttachment and creates it. Returns the server's representation of the instanceAttachment, and an error, if there is any.

func (*FakeInstanceAttachments) Delete

func (c *FakeInstanceAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the instanceAttachment and deletes it. Returns an error if one occurs.

func (*FakeInstanceAttachments) DeleteCollection

func (c *FakeInstanceAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeInstanceAttachments) Get

func (c *FakeInstanceAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstanceAttachment, err error)

Get takes name of the instanceAttachment, and returns the corresponding instanceAttachment object, and an error if there is any.

func (*FakeInstanceAttachments) List

List takes label and field selectors, and returns the list of InstanceAttachments that match those selectors.

func (*FakeInstanceAttachments) Patch

func (c *FakeInstanceAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.InstanceAttachment, err error)

Patch applies the patch and returns the patched instanceAttachment.

func (*FakeInstanceAttachments) Update

func (c *FakeInstanceAttachments) Update(ctx context.Context, instanceAttachment *v1alpha1.InstanceAttachment, opts v1.UpdateOptions) (result *v1alpha1.InstanceAttachment, err error)

Update takes the representation of a instanceAttachment and updates it. Returns the server's representation of the instanceAttachment, and an error, if there is any.

func (*FakeInstanceAttachments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeInstanceAttachments) Watch

Watch returns a watch.Interface that watches the requested instanceAttachments.

type FakeInstances

type FakeInstances struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeInstances implements InstanceInterface

func (*FakeInstances) Create

func (c *FakeInstances) Create(ctx context.Context, instance *v1alpha1.Instance, opts v1.CreateOptions) (result *v1alpha1.Instance, err error)

Create takes the representation of a instance and creates it. Returns the server's representation of the instance, and an error, if there is any.

func (*FakeInstances) Delete

func (c *FakeInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the instance and deletes it. Returns an error if one occurs.

func (*FakeInstances) DeleteCollection

func (c *FakeInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeInstances) Get

func (c *FakeInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Instance, err error)

Get takes name of the instance, and returns the corresponding instance object, and an error if there is any.

func (*FakeInstances) List

func (c *FakeInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceList, err error)

List takes label and field selectors, and returns the list of Instances that match those selectors.

func (*FakeInstances) Patch

func (c *FakeInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Instance, err error)

Patch applies the patch and returns the patched instance.

func (*FakeInstances) Update

func (c *FakeInstances) Update(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (result *v1alpha1.Instance, err error)

Update takes the representation of a instance and updates it. Returns the server's representation of the instance, and an error, if there is any.

func (*FakeInstances) UpdateStatus

func (c *FakeInstances) UpdateStatus(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeInstances) Watch

Watch returns a watch.Interface that watches the requested instances.

type FakeOrganizations

type FakeOrganizations struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeOrganizations implements OrganizationInterface

func (*FakeOrganizations) Create

func (c *FakeOrganizations) Create(ctx context.Context, organization *v1alpha1.Organization, opts v1.CreateOptions) (result *v1alpha1.Organization, err error)

Create takes the representation of a organization and creates it. Returns the server's representation of the organization, and an error, if there is any.

func (*FakeOrganizations) Delete

func (c *FakeOrganizations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the organization and deletes it. Returns an error if one occurs.

func (*FakeOrganizations) DeleteCollection

func (c *FakeOrganizations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeOrganizations) Get

func (c *FakeOrganizations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Organization, err error)

Get takes name of the organization, and returns the corresponding organization object, and an error if there is any.

func (*FakeOrganizations) List

func (c *FakeOrganizations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OrganizationList, err error)

List takes label and field selectors, and returns the list of Organizations that match those selectors.

func (*FakeOrganizations) Patch

func (c *FakeOrganizations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Organization, err error)

Patch applies the patch and returns the patched organization.

func (*FakeOrganizations) Update

func (c *FakeOrganizations) Update(ctx context.Context, organization *v1alpha1.Organization, opts v1.UpdateOptions) (result *v1alpha1.Organization, err error)

Update takes the representation of a organization and updates it. Returns the server's representation of the organization, and an error, if there is any.

func (*FakeOrganizations) UpdateStatus

func (c *FakeOrganizations) UpdateStatus(ctx context.Context, organization *v1alpha1.Organization, opts v1.UpdateOptions) (*v1alpha1.Organization, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeOrganizations) Watch

Watch returns a watch.Interface that watches the requested organizations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL