Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeHTTPProxies
- func (c *FakeHTTPProxies) Create(hTTPProxy *projectcontourv1.HTTPProxy) (result *projectcontourv1.HTTPProxy, err error)
- func (c *FakeHTTPProxies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeHTTPProxies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeHTTPProxies) Get(name string, options v1.GetOptions) (result *projectcontourv1.HTTPProxy, err error)
- func (c *FakeHTTPProxies) List(opts v1.ListOptions) (result *projectcontourv1.HTTPProxyList, err error)
- func (c *FakeHTTPProxies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *projectcontourv1.HTTPProxy, err error)
- func (c *FakeHTTPProxies) Update(hTTPProxy *projectcontourv1.HTTPProxy) (result *projectcontourv1.HTTPProxy, err error)
- func (c *FakeHTTPProxies) UpdateStatus(hTTPProxy *projectcontourv1.HTTPProxy) (*projectcontourv1.HTTPProxy, error)
- func (c *FakeHTTPProxies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeProjectcontourV1
- type FakeTLSCertificateDelegations
- func (c *FakeTLSCertificateDelegations) Create(tLSCertificateDelegation *projectcontourv1.TLSCertificateDelegation) (result *projectcontourv1.TLSCertificateDelegation, err error)
- func (c *FakeTLSCertificateDelegations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTLSCertificateDelegations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTLSCertificateDelegations) Get(name string, options v1.GetOptions) (result *projectcontourv1.TLSCertificateDelegation, err error)
- func (c *FakeTLSCertificateDelegations) List(opts v1.ListOptions) (result *projectcontourv1.TLSCertificateDelegationList, err error)
- func (c *FakeTLSCertificateDelegations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *projectcontourv1.TLSCertificateDelegation, err error)
- func (c *FakeTLSCertificateDelegations) Update(tLSCertificateDelegation *projectcontourv1.TLSCertificateDelegation) (result *projectcontourv1.TLSCertificateDelegation, err error)
- func (c *FakeTLSCertificateDelegations) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHTTPProxies ¶
type FakeHTTPProxies struct { Fake *FakeProjectcontourV1 // contains filtered or unexported fields }
FakeHTTPProxies implements HTTPProxyInterface
func (*FakeHTTPProxies) Create ¶
func (c *FakeHTTPProxies) Create(hTTPProxy *projectcontourv1.HTTPProxy) (result *projectcontourv1.HTTPProxy, err error)
Create takes the representation of a hTTPProxy and creates it. Returns the server's representation of the hTTPProxy, and an error, if there is any.
func (*FakeHTTPProxies) Delete ¶
func (c *FakeHTTPProxies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the hTTPProxy and deletes it. Returns an error if one occurs.
func (*FakeHTTPProxies) DeleteCollection ¶
func (c *FakeHTTPProxies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHTTPProxies) Get ¶
func (c *FakeHTTPProxies) Get(name string, options v1.GetOptions) (result *projectcontourv1.HTTPProxy, err error)
Get takes name of the hTTPProxy, and returns the corresponding hTTPProxy object, and an error if there is any.
func (*FakeHTTPProxies) List ¶
func (c *FakeHTTPProxies) List(opts v1.ListOptions) (result *projectcontourv1.HTTPProxyList, err error)
List takes label and field selectors, and returns the list of HTTPProxies that match those selectors.
func (*FakeHTTPProxies) Patch ¶
func (c *FakeHTTPProxies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *projectcontourv1.HTTPProxy, err error)
Patch applies the patch and returns the patched hTTPProxy.
func (*FakeHTTPProxies) Update ¶
func (c *FakeHTTPProxies) Update(hTTPProxy *projectcontourv1.HTTPProxy) (result *projectcontourv1.HTTPProxy, err error)
Update takes the representation of a hTTPProxy and updates it. Returns the server's representation of the hTTPProxy, and an error, if there is any.
func (*FakeHTTPProxies) UpdateStatus ¶
func (c *FakeHTTPProxies) UpdateStatus(hTTPProxy *projectcontourv1.HTTPProxy) (*projectcontourv1.HTTPProxy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHTTPProxies) Watch ¶
func (c *FakeHTTPProxies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hTTPProxies.
type FakeProjectcontourV1 ¶
func (*FakeProjectcontourV1) HTTPProxies ¶
func (c *FakeProjectcontourV1) HTTPProxies(namespace string) v1.HTTPProxyInterface
func (*FakeProjectcontourV1) RESTClient ¶
func (c *FakeProjectcontourV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeProjectcontourV1) TLSCertificateDelegations ¶
func (c *FakeProjectcontourV1) TLSCertificateDelegations(namespace string) v1.TLSCertificateDelegationInterface
type FakeTLSCertificateDelegations ¶
type FakeTLSCertificateDelegations struct { Fake *FakeProjectcontourV1 // contains filtered or unexported fields }
FakeTLSCertificateDelegations implements TLSCertificateDelegationInterface
func (*FakeTLSCertificateDelegations) Create ¶
func (c *FakeTLSCertificateDelegations) Create(tLSCertificateDelegation *projectcontourv1.TLSCertificateDelegation) (result *projectcontourv1.TLSCertificateDelegation, err error)
Create takes the representation of a tLSCertificateDelegation and creates it. Returns the server's representation of the tLSCertificateDelegation, and an error, if there is any.
func (*FakeTLSCertificateDelegations) Delete ¶
func (c *FakeTLSCertificateDelegations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the tLSCertificateDelegation and deletes it. Returns an error if one occurs.
func (*FakeTLSCertificateDelegations) DeleteCollection ¶
func (c *FakeTLSCertificateDelegations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTLSCertificateDelegations) Get ¶
func (c *FakeTLSCertificateDelegations) Get(name string, options v1.GetOptions) (result *projectcontourv1.TLSCertificateDelegation, err error)
Get takes name of the tLSCertificateDelegation, and returns the corresponding tLSCertificateDelegation object, and an error if there is any.
func (*FakeTLSCertificateDelegations) List ¶
func (c *FakeTLSCertificateDelegations) List(opts v1.ListOptions) (result *projectcontourv1.TLSCertificateDelegationList, err error)
List takes label and field selectors, and returns the list of TLSCertificateDelegations that match those selectors.
func (*FakeTLSCertificateDelegations) Patch ¶
func (c *FakeTLSCertificateDelegations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *projectcontourv1.TLSCertificateDelegation, err error)
Patch applies the patch and returns the patched tLSCertificateDelegation.
func (*FakeTLSCertificateDelegations) Update ¶
func (c *FakeTLSCertificateDelegations) Update(tLSCertificateDelegation *projectcontourv1.TLSCertificateDelegation) (result *projectcontourv1.TLSCertificateDelegation, err error)
Update takes the representation of a tLSCertificateDelegation and updates it. Returns the server's representation of the tLSCertificateDelegation, and an error, if there is any.
func (*FakeTLSCertificateDelegations) Watch ¶
func (c *FakeTLSCertificateDelegations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tLSCertificateDelegations.