Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeJenkinsV1
- type FakeSSOs
- func (c *FakeSSOs) Create(sSO *jenkinsiov1.SSO) (result *jenkinsiov1.SSO, err error)
- func (c *FakeSSOs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSSOs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSSOs) Get(name string, options v1.GetOptions) (result *jenkinsiov1.SSO, err error)
- func (c *FakeSSOs) List(opts v1.ListOptions) (result *jenkinsiov1.SSOList, err error)
- func (c *FakeSSOs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.SSO, err error)
- func (c *FakeSSOs) Update(sSO *jenkinsiov1.SSO) (result *jenkinsiov1.SSO, err error)
- func (c *FakeSSOs) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeJenkinsV1 ¶
func (*FakeJenkinsV1) RESTClient ¶
func (c *FakeJenkinsV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeJenkinsV1) SSOs ¶
func (c *FakeJenkinsV1) SSOs(namespace string) v1.SSOInterface
type FakeSSOs ¶
type FakeSSOs struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeSSOs implements SSOInterface
func (*FakeSSOs) Create ¶
func (c *FakeSSOs) Create(sSO *jenkinsiov1.SSO) (result *jenkinsiov1.SSO, err error)
Create takes the representation of a sSO and creates it. Returns the server's representation of the sSO, and an error, if there is any.
func (*FakeSSOs) Delete ¶
func (c *FakeSSOs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the sSO and deletes it. Returns an error if one occurs.
func (*FakeSSOs) DeleteCollection ¶
func (c *FakeSSOs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSSOs) Get ¶
func (c *FakeSSOs) Get(name string, options v1.GetOptions) (result *jenkinsiov1.SSO, err error)
Get takes name of the sSO, and returns the corresponding sSO object, and an error if there is any.
func (*FakeSSOs) List ¶
func (c *FakeSSOs) List(opts v1.ListOptions) (result *jenkinsiov1.SSOList, err error)
List takes label and field selectors, and returns the list of SSOs that match those selectors.
func (*FakeSSOs) Patch ¶
func (c *FakeSSOs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.SSO, err error)
Patch applies the patch and returns the patched sSO.
func (*FakeSSOs) Update ¶
func (c *FakeSSOs) Update(sSO *jenkinsiov1.SSO) (result *jenkinsiov1.SSO, err error)
Update takes the representation of a sSO and updates it. Returns the server's representation of the sSO, and an error, if there is any.