Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeEndpointsV1alpha1
- func (c *FakeEndpointsV1alpha1) RESTClient() rest.Interface
- func (c *FakeEndpointsV1alpha1) ServiceIamBindings(namespace string) v1alpha1.ServiceIamBindingInterface
- func (c *FakeEndpointsV1alpha1) ServiceIamMembers(namespace string) v1alpha1.ServiceIamMemberInterface
- func (c *FakeEndpointsV1alpha1) ServiceIamPolicies(namespace string) v1alpha1.ServiceIamPolicyInterface
- func (c *FakeEndpointsV1alpha1) Services(namespace string) v1alpha1.ServiceInterface
- type FakeServiceIamBindings
- func (c *FakeServiceIamBindings) Create(ctx context.Context, serviceIamBinding *v1alpha1.ServiceIamBinding, ...) (result *v1alpha1.ServiceIamBinding, err error)
- func (c *FakeServiceIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceIamBinding, err error)
- func (c *FakeServiceIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceIamBindingList, err error)
- func (c *FakeServiceIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServiceIamBinding, err error)
- func (c *FakeServiceIamBindings) Update(ctx context.Context, serviceIamBinding *v1alpha1.ServiceIamBinding, ...) (result *v1alpha1.ServiceIamBinding, err error)
- func (c *FakeServiceIamBindings) UpdateStatus(ctx context.Context, serviceIamBinding *v1alpha1.ServiceIamBinding, ...) (*v1alpha1.ServiceIamBinding, error)
- func (c *FakeServiceIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceIamMembers
- func (c *FakeServiceIamMembers) Create(ctx context.Context, serviceIamMember *v1alpha1.ServiceIamMember, ...) (result *v1alpha1.ServiceIamMember, err error)
- func (c *FakeServiceIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceIamMember, err error)
- func (c *FakeServiceIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceIamMemberList, err error)
- func (c *FakeServiceIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServiceIamMember, err error)
- func (c *FakeServiceIamMembers) Update(ctx context.Context, serviceIamMember *v1alpha1.ServiceIamMember, ...) (result *v1alpha1.ServiceIamMember, err error)
- func (c *FakeServiceIamMembers) UpdateStatus(ctx context.Context, serviceIamMember *v1alpha1.ServiceIamMember, ...) (*v1alpha1.ServiceIamMember, error)
- func (c *FakeServiceIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceIamPolicies
- func (c *FakeServiceIamPolicies) Create(ctx context.Context, serviceIamPolicy *v1alpha1.ServiceIamPolicy, ...) (result *v1alpha1.ServiceIamPolicy, err error)
- func (c *FakeServiceIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceIamPolicy, err error)
- func (c *FakeServiceIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceIamPolicyList, err error)
- func (c *FakeServiceIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServiceIamPolicy, err error)
- func (c *FakeServiceIamPolicies) Update(ctx context.Context, serviceIamPolicy *v1alpha1.ServiceIamPolicy, ...) (result *v1alpha1.ServiceIamPolicy, err error)
- func (c *FakeServiceIamPolicies) UpdateStatus(ctx context.Context, serviceIamPolicy *v1alpha1.ServiceIamPolicy, ...) (*v1alpha1.ServiceIamPolicy, error)
- func (c *FakeServiceIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServices
- func (c *FakeServices) Create(ctx context.Context, service *v1alpha1.Service, opts v1.CreateOptions) (result *v1alpha1.Service, err error)
- func (c *FakeServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Service, err error)
- func (c *FakeServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceList, err error)
- func (c *FakeServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Service, err error)
- func (c *FakeServices) Update(ctx context.Context, service *v1alpha1.Service, opts v1.UpdateOptions) (result *v1alpha1.Service, err error)
- func (c *FakeServices) UpdateStatus(ctx context.Context, service *v1alpha1.Service, opts v1.UpdateOptions) (*v1alpha1.Service, error)
- func (c *FakeServices) 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 FakeEndpointsV1alpha1 ¶
func (*FakeEndpointsV1alpha1) RESTClient ¶
func (c *FakeEndpointsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeEndpointsV1alpha1) ServiceIamBindings ¶
func (c *FakeEndpointsV1alpha1) ServiceIamBindings(namespace string) v1alpha1.ServiceIamBindingInterface
func (*FakeEndpointsV1alpha1) ServiceIamMembers ¶
func (c *FakeEndpointsV1alpha1) ServiceIamMembers(namespace string) v1alpha1.ServiceIamMemberInterface
func (*FakeEndpointsV1alpha1) ServiceIamPolicies ¶
func (c *FakeEndpointsV1alpha1) ServiceIamPolicies(namespace string) v1alpha1.ServiceIamPolicyInterface
func (*FakeEndpointsV1alpha1) Services ¶
func (c *FakeEndpointsV1alpha1) Services(namespace string) v1alpha1.ServiceInterface
type FakeServiceIamBindings ¶
type FakeServiceIamBindings struct { Fake *FakeEndpointsV1alpha1 // contains filtered or unexported fields }
FakeServiceIamBindings implements ServiceIamBindingInterface
func (*FakeServiceIamBindings) Create ¶
func (c *FakeServiceIamBindings) Create(ctx context.Context, serviceIamBinding *v1alpha1.ServiceIamBinding, opts v1.CreateOptions) (result *v1alpha1.ServiceIamBinding, err error)
Create takes the representation of a serviceIamBinding and creates it. Returns the server's representation of the serviceIamBinding, and an error, if there is any.
func (*FakeServiceIamBindings) Delete ¶
func (c *FakeServiceIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceIamBinding and deletes it. Returns an error if one occurs.
func (*FakeServiceIamBindings) DeleteCollection ¶
func (c *FakeServiceIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceIamBindings) Get ¶
func (c *FakeServiceIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceIamBinding, err error)
Get takes name of the serviceIamBinding, and returns the corresponding serviceIamBinding object, and an error if there is any.
func (*FakeServiceIamBindings) List ¶
func (c *FakeServiceIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceIamBindingList, err error)
List takes label and field selectors, and returns the list of ServiceIamBindings that match those selectors.
func (*FakeServiceIamBindings) Patch ¶
func (c *FakeServiceIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServiceIamBinding, err error)
Patch applies the patch and returns the patched serviceIamBinding.
func (*FakeServiceIamBindings) Update ¶
func (c *FakeServiceIamBindings) Update(ctx context.Context, serviceIamBinding *v1alpha1.ServiceIamBinding, opts v1.UpdateOptions) (result *v1alpha1.ServiceIamBinding, err error)
Update takes the representation of a serviceIamBinding and updates it. Returns the server's representation of the serviceIamBinding, and an error, if there is any.
func (*FakeServiceIamBindings) UpdateStatus ¶
func (c *FakeServiceIamBindings) UpdateStatus(ctx context.Context, serviceIamBinding *v1alpha1.ServiceIamBinding, opts v1.UpdateOptions) (*v1alpha1.ServiceIamBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceIamBindings) Watch ¶
func (c *FakeServiceIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceIamBindings.
type FakeServiceIamMembers ¶
type FakeServiceIamMembers struct { Fake *FakeEndpointsV1alpha1 // contains filtered or unexported fields }
FakeServiceIamMembers implements ServiceIamMemberInterface
func (*FakeServiceIamMembers) Create ¶
func (c *FakeServiceIamMembers) Create(ctx context.Context, serviceIamMember *v1alpha1.ServiceIamMember, opts v1.CreateOptions) (result *v1alpha1.ServiceIamMember, err error)
Create takes the representation of a serviceIamMember and creates it. Returns the server's representation of the serviceIamMember, and an error, if there is any.
func (*FakeServiceIamMembers) Delete ¶
func (c *FakeServiceIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceIamMember and deletes it. Returns an error if one occurs.
func (*FakeServiceIamMembers) DeleteCollection ¶
func (c *FakeServiceIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceIamMembers) Get ¶
func (c *FakeServiceIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceIamMember, err error)
Get takes name of the serviceIamMember, and returns the corresponding serviceIamMember object, and an error if there is any.
func (*FakeServiceIamMembers) List ¶
func (c *FakeServiceIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceIamMemberList, err error)
List takes label and field selectors, and returns the list of ServiceIamMembers that match those selectors.
func (*FakeServiceIamMembers) Patch ¶
func (c *FakeServiceIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServiceIamMember, err error)
Patch applies the patch and returns the patched serviceIamMember.
func (*FakeServiceIamMembers) Update ¶
func (c *FakeServiceIamMembers) Update(ctx context.Context, serviceIamMember *v1alpha1.ServiceIamMember, opts v1.UpdateOptions) (result *v1alpha1.ServiceIamMember, err error)
Update takes the representation of a serviceIamMember and updates it. Returns the server's representation of the serviceIamMember, and an error, if there is any.
func (*FakeServiceIamMembers) UpdateStatus ¶
func (c *FakeServiceIamMembers) UpdateStatus(ctx context.Context, serviceIamMember *v1alpha1.ServiceIamMember, opts v1.UpdateOptions) (*v1alpha1.ServiceIamMember, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceIamMembers) Watch ¶
func (c *FakeServiceIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceIamMembers.
type FakeServiceIamPolicies ¶
type FakeServiceIamPolicies struct { Fake *FakeEndpointsV1alpha1 // contains filtered or unexported fields }
FakeServiceIamPolicies implements ServiceIamPolicyInterface
func (*FakeServiceIamPolicies) Create ¶
func (c *FakeServiceIamPolicies) Create(ctx context.Context, serviceIamPolicy *v1alpha1.ServiceIamPolicy, opts v1.CreateOptions) (result *v1alpha1.ServiceIamPolicy, err error)
Create takes the representation of a serviceIamPolicy and creates it. Returns the server's representation of the serviceIamPolicy, and an error, if there is any.
func (*FakeServiceIamPolicies) Delete ¶
func (c *FakeServiceIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceIamPolicy and deletes it. Returns an error if one occurs.
func (*FakeServiceIamPolicies) DeleteCollection ¶
func (c *FakeServiceIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceIamPolicies) Get ¶
func (c *FakeServiceIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceIamPolicy, err error)
Get takes name of the serviceIamPolicy, and returns the corresponding serviceIamPolicy object, and an error if there is any.
func (*FakeServiceIamPolicies) List ¶
func (c *FakeServiceIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceIamPolicyList, err error)
List takes label and field selectors, and returns the list of ServiceIamPolicies that match those selectors.
func (*FakeServiceIamPolicies) Patch ¶
func (c *FakeServiceIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServiceIamPolicy, err error)
Patch applies the patch and returns the patched serviceIamPolicy.
func (*FakeServiceIamPolicies) Update ¶
func (c *FakeServiceIamPolicies) Update(ctx context.Context, serviceIamPolicy *v1alpha1.ServiceIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.ServiceIamPolicy, err error)
Update takes the representation of a serviceIamPolicy and updates it. Returns the server's representation of the serviceIamPolicy, and an error, if there is any.
func (*FakeServiceIamPolicies) UpdateStatus ¶
func (c *FakeServiceIamPolicies) UpdateStatus(ctx context.Context, serviceIamPolicy *v1alpha1.ServiceIamPolicy, opts v1.UpdateOptions) (*v1alpha1.ServiceIamPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceIamPolicies) Watch ¶
func (c *FakeServiceIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceIamPolicies.
type FakeServices ¶
type FakeServices struct { Fake *FakeEndpointsV1alpha1 // contains filtered or unexported fields }
FakeServices implements ServiceInterface
func (*FakeServices) Create ¶
func (c *FakeServices) Create(ctx context.Context, service *v1alpha1.Service, opts v1.CreateOptions) (result *v1alpha1.Service, err error)
Create takes the representation of a service and creates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) Delete ¶
func (c *FakeServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the service and deletes it. Returns an error if one occurs.
func (*FakeServices) DeleteCollection ¶
func (c *FakeServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServices) Get ¶
func (c *FakeServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Service, err error)
Get takes name of the service, and returns the corresponding service object, and an error if there is any.
func (*FakeServices) List ¶
func (c *FakeServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceList, err error)
List takes label and field selectors, and returns the list of Services that match those selectors.
func (*FakeServices) Patch ¶
func (c *FakeServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Service, err error)
Patch applies the patch and returns the patched service.
func (*FakeServices) Update ¶
func (c *FakeServices) Update(ctx context.Context, service *v1alpha1.Service, opts v1.UpdateOptions) (result *v1alpha1.Service, err error)
Update takes the representation of a service and updates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) UpdateStatus ¶
func (c *FakeServices) UpdateStatus(ctx context.Context, service *v1alpha1.Service, opts v1.UpdateOptions) (*v1alpha1.Service, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServices) Watch ¶
func (c *FakeServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested services.