Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeOrganizations
- func (c *FakeOrganizations) Create(organization *v1alpha1.Organization) (result *v1alpha1.Organization, err error)
- func (c *FakeOrganizations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeOrganizations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeOrganizations) Get(name string, options v1.GetOptions) (result *v1alpha1.Organization, err error)
- func (c *FakeOrganizations) List(opts v1.ListOptions) (result *v1alpha1.OrganizationList, err error)
- func (c *FakeOrganizations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Organization, err error)
- func (c *FakeOrganizations) Update(organization *v1alpha1.Organization) (result *v1alpha1.Organization, err error)
- func (c *FakeOrganizations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSecurityV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeOrganizations ¶
type FakeOrganizations struct {
Fake *FakeSecurityV1alpha1
}
FakeOrganizations implements OrganizationInterface
func (*FakeOrganizations) Create ¶
func (c *FakeOrganizations) Create(organization *v1alpha1.Organization) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOrganizations) Get ¶
func (c *FakeOrganizations) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Organization, err error)
Patch applies the patch and returns the patched organization.
func (*FakeOrganizations) Update ¶
func (c *FakeOrganizations) Update(organization *v1alpha1.Organization) (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) Watch ¶
func (c *FakeOrganizations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested organizations.
type FakeSecurityV1alpha1 ¶
func (*FakeSecurityV1alpha1) Organizations ¶
func (c *FakeSecurityV1alpha1) Organizations() v1alpha1.OrganizationInterface
func (*FakeSecurityV1alpha1) RESTClient ¶
func (c *FakeSecurityV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.