Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeArtifacts
- func (c *FakeArtifacts) Create(ctx context.Context, artifact *gloosoloiov1.Artifact, opts v1.CreateOptions) (result *gloosoloiov1.Artifact, err error)
- func (c *FakeArtifacts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeArtifacts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeArtifacts) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Artifact, err error)
- func (c *FakeArtifacts) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.ArtifactList, err error)
- func (c *FakeArtifacts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *gloosoloiov1.Artifact, err error)
- func (c *FakeArtifacts) Update(ctx context.Context, artifact *gloosoloiov1.Artifact, opts v1.UpdateOptions) (result *gloosoloiov1.Artifact, err error)
- func (c *FakeArtifacts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEndpoints
- func (c *FakeEndpoints) Create(ctx context.Context, endpoint *gloosoloiov1.Endpoint, opts v1.CreateOptions) (result *gloosoloiov1.Endpoint, err error)
- func (c *FakeEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Endpoint, err error)
- func (c *FakeEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.EndpointList, err error)
- func (c *FakeEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *gloosoloiov1.Endpoint, err error)
- func (c *FakeEndpoints) Update(ctx context.Context, endpoint *gloosoloiov1.Endpoint, opts v1.UpdateOptions) (result *gloosoloiov1.Endpoint, err error)
- func (c *FakeEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGlooV1
- func (c *FakeGlooV1) Artifacts(namespace string) v1.ArtifactInterface
- func (c *FakeGlooV1) Endpoints(namespace string) v1.EndpointInterface
- func (c *FakeGlooV1) Proxies(namespace string) v1.ProxyInterface
- func (c *FakeGlooV1) RESTClient() rest.Interface
- func (c *FakeGlooV1) Secrets(namespace string) v1.SecretInterface
- func (c *FakeGlooV1) Settingses(namespace string) v1.SettingsInterface
- func (c *FakeGlooV1) UpstreamGroups(namespace string) v1.UpstreamGroupInterface
- func (c *FakeGlooV1) Upstreams(namespace string) v1.UpstreamInterface
- type FakeProxies
- func (c *FakeProxies) Create(ctx context.Context, proxy *gloosoloiov1.Proxy, opts v1.CreateOptions) (result *gloosoloiov1.Proxy, err error)
- func (c *FakeProxies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProxies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProxies) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Proxy, err error)
- func (c *FakeProxies) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.ProxyList, err error)
- func (c *FakeProxies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *gloosoloiov1.Proxy, err error)
- func (c *FakeProxies) Update(ctx context.Context, proxy *gloosoloiov1.Proxy, opts v1.UpdateOptions) (result *gloosoloiov1.Proxy, err error)
- func (c *FakeProxies) UpdateStatus(ctx context.Context, proxy *gloosoloiov1.Proxy, opts v1.UpdateOptions) (*gloosoloiov1.Proxy, error)
- func (c *FakeProxies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSecrets
- func (c *FakeSecrets) Create(ctx context.Context, secret *gloosoloiov1.Secret, opts v1.CreateOptions) (result *gloosoloiov1.Secret, err error)
- func (c *FakeSecrets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSecrets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Secret, err error)
- func (c *FakeSecrets) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.SecretList, err error)
- func (c *FakeSecrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *gloosoloiov1.Secret, err error)
- func (c *FakeSecrets) Update(ctx context.Context, secret *gloosoloiov1.Secret, opts v1.UpdateOptions) (result *gloosoloiov1.Secret, err error)
- func (c *FakeSecrets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSettingses
- func (c *FakeSettingses) Create(ctx context.Context, settings *gloosoloiov1.Settings, opts v1.CreateOptions) (result *gloosoloiov1.Settings, err error)
- func (c *FakeSettingses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSettingses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSettingses) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Settings, err error)
- func (c *FakeSettingses) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.SettingsList, err error)
- func (c *FakeSettingses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *gloosoloiov1.Settings, err error)
- func (c *FakeSettingses) Update(ctx context.Context, settings *gloosoloiov1.Settings, opts v1.UpdateOptions) (result *gloosoloiov1.Settings, err error)
- func (c *FakeSettingses) UpdateStatus(ctx context.Context, settings *gloosoloiov1.Settings, opts v1.UpdateOptions) (*gloosoloiov1.Settings, error)
- func (c *FakeSettingses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUpstreamGroups
- func (c *FakeUpstreamGroups) Create(ctx context.Context, upstreamGroup *gloosoloiov1.UpstreamGroup, ...) (result *gloosoloiov1.UpstreamGroup, err error)
- func (c *FakeUpstreamGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUpstreamGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUpstreamGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.UpstreamGroup, err error)
- func (c *FakeUpstreamGroups) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.UpstreamGroupList, err error)
- func (c *FakeUpstreamGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *gloosoloiov1.UpstreamGroup, err error)
- func (c *FakeUpstreamGroups) Update(ctx context.Context, upstreamGroup *gloosoloiov1.UpstreamGroup, ...) (result *gloosoloiov1.UpstreamGroup, err error)
- func (c *FakeUpstreamGroups) UpdateStatus(ctx context.Context, upstreamGroup *gloosoloiov1.UpstreamGroup, ...) (*gloosoloiov1.UpstreamGroup, error)
- func (c *FakeUpstreamGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUpstreams
- func (c *FakeUpstreams) Create(ctx context.Context, upstream *gloosoloiov1.Upstream, opts v1.CreateOptions) (result *gloosoloiov1.Upstream, err error)
- func (c *FakeUpstreams) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUpstreams) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUpstreams) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Upstream, err error)
- func (c *FakeUpstreams) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.UpstreamList, err error)
- func (c *FakeUpstreams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *gloosoloiov1.Upstream, err error)
- func (c *FakeUpstreams) Update(ctx context.Context, upstream *gloosoloiov1.Upstream, opts v1.UpdateOptions) (result *gloosoloiov1.Upstream, err error)
- func (c *FakeUpstreams) UpdateStatus(ctx context.Context, upstream *gloosoloiov1.Upstream, opts v1.UpdateOptions) (*gloosoloiov1.Upstream, error)
- func (c *FakeUpstreams) 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 FakeArtifacts ¶
type FakeArtifacts struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeArtifacts implements ArtifactInterface
func (*FakeArtifacts) Create ¶
func (c *FakeArtifacts) Create(ctx context.Context, artifact *gloosoloiov1.Artifact, opts v1.CreateOptions) (result *gloosoloiov1.Artifact, err error)
Create takes the representation of a artifact and creates it. Returns the server's representation of the artifact, and an error, if there is any.
func (*FakeArtifacts) Delete ¶
func (c *FakeArtifacts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the artifact and deletes it. Returns an error if one occurs.
func (*FakeArtifacts) DeleteCollection ¶
func (c *FakeArtifacts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeArtifacts) Get ¶
func (c *FakeArtifacts) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Artifact, err error)
Get takes name of the artifact, and returns the corresponding artifact object, and an error if there is any.
func (*FakeArtifacts) List ¶
func (c *FakeArtifacts) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.ArtifactList, err error)
List takes label and field selectors, and returns the list of Artifacts that match those selectors.
func (*FakeArtifacts) Patch ¶
func (c *FakeArtifacts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gloosoloiov1.Artifact, err error)
Patch applies the patch and returns the patched artifact.
func (*FakeArtifacts) Update ¶
func (c *FakeArtifacts) Update(ctx context.Context, artifact *gloosoloiov1.Artifact, opts v1.UpdateOptions) (result *gloosoloiov1.Artifact, err error)
Update takes the representation of a artifact and updates it. Returns the server's representation of the artifact, and an error, if there is any.
func (*FakeArtifacts) Watch ¶
func (c *FakeArtifacts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested artifacts.
type FakeEndpoints ¶
type FakeEndpoints struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeEndpoints implements EndpointInterface
func (*FakeEndpoints) Create ¶
func (c *FakeEndpoints) Create(ctx context.Context, endpoint *gloosoloiov1.Endpoint, opts v1.CreateOptions) (result *gloosoloiov1.Endpoint, err error)
Create takes the representation of a endpoint and creates it. Returns the server's representation of the endpoint, and an error, if there is any.
func (*FakeEndpoints) Delete ¶
func (c *FakeEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the endpoint and deletes it. Returns an error if one occurs.
func (*FakeEndpoints) DeleteCollection ¶
func (c *FakeEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEndpoints) Get ¶
func (c *FakeEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Endpoint, err error)
Get takes name of the endpoint, and returns the corresponding endpoint object, and an error if there is any.
func (*FakeEndpoints) List ¶
func (c *FakeEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.EndpointList, err error)
List takes label and field selectors, and returns the list of Endpoints that match those selectors.
func (*FakeEndpoints) Patch ¶
func (c *FakeEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gloosoloiov1.Endpoint, err error)
Patch applies the patch and returns the patched endpoint.
func (*FakeEndpoints) Update ¶
func (c *FakeEndpoints) Update(ctx context.Context, endpoint *gloosoloiov1.Endpoint, opts v1.UpdateOptions) (result *gloosoloiov1.Endpoint, err error)
Update takes the representation of a endpoint and updates it. Returns the server's representation of the endpoint, and an error, if there is any.
func (*FakeEndpoints) Watch ¶
func (c *FakeEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested endpoints.
type FakeGlooV1 ¶
func (*FakeGlooV1) Artifacts ¶
func (c *FakeGlooV1) Artifacts(namespace string) v1.ArtifactInterface
func (*FakeGlooV1) Endpoints ¶
func (c *FakeGlooV1) Endpoints(namespace string) v1.EndpointInterface
func (*FakeGlooV1) Proxies ¶
func (c *FakeGlooV1) Proxies(namespace string) v1.ProxyInterface
func (*FakeGlooV1) RESTClient ¶
func (c *FakeGlooV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeGlooV1) Secrets ¶
func (c *FakeGlooV1) Secrets(namespace string) v1.SecretInterface
func (*FakeGlooV1) Settingses ¶
func (c *FakeGlooV1) Settingses(namespace string) v1.SettingsInterface
func (*FakeGlooV1) UpstreamGroups ¶
func (c *FakeGlooV1) UpstreamGroups(namespace string) v1.UpstreamGroupInterface
func (*FakeGlooV1) Upstreams ¶
func (c *FakeGlooV1) Upstreams(namespace string) v1.UpstreamInterface
type FakeProxies ¶
type FakeProxies struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeProxies implements ProxyInterface
func (*FakeProxies) Create ¶
func (c *FakeProxies) Create(ctx context.Context, proxy *gloosoloiov1.Proxy, opts v1.CreateOptions) (result *gloosoloiov1.Proxy, err error)
Create takes the representation of a proxy and creates it. Returns the server's representation of the proxy, and an error, if there is any.
func (*FakeProxies) Delete ¶
func (c *FakeProxies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the proxy and deletes it. Returns an error if one occurs.
func (*FakeProxies) DeleteCollection ¶
func (c *FakeProxies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProxies) Get ¶
func (c *FakeProxies) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Proxy, err error)
Get takes name of the proxy, and returns the corresponding proxy object, and an error if there is any.
func (*FakeProxies) List ¶
func (c *FakeProxies) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.ProxyList, err error)
List takes label and field selectors, and returns the list of Proxies that match those selectors.
func (*FakeProxies) Patch ¶
func (c *FakeProxies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gloosoloiov1.Proxy, err error)
Patch applies the patch and returns the patched proxy.
func (*FakeProxies) Update ¶
func (c *FakeProxies) Update(ctx context.Context, proxy *gloosoloiov1.Proxy, opts v1.UpdateOptions) (result *gloosoloiov1.Proxy, err error)
Update takes the representation of a proxy and updates it. Returns the server's representation of the proxy, and an error, if there is any.
func (*FakeProxies) UpdateStatus ¶
func (c *FakeProxies) UpdateStatus(ctx context.Context, proxy *gloosoloiov1.Proxy, opts v1.UpdateOptions) (*gloosoloiov1.Proxy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProxies) Watch ¶
func (c *FakeProxies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested proxies.
type FakeSecrets ¶
type FakeSecrets struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeSecrets implements SecretInterface
func (*FakeSecrets) Create ¶
func (c *FakeSecrets) Create(ctx context.Context, secret *gloosoloiov1.Secret, opts v1.CreateOptions) (result *gloosoloiov1.Secret, err error)
Create takes the representation of a secret and creates it. Returns the server's representation of the secret, and an error, if there is any.
func (*FakeSecrets) Delete ¶
func (c *FakeSecrets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the secret and deletes it. Returns an error if one occurs.
func (*FakeSecrets) DeleteCollection ¶
func (c *FakeSecrets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSecrets) Get ¶
func (c *FakeSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Secret, err error)
Get takes name of the secret, and returns the corresponding secret object, and an error if there is any.
func (*FakeSecrets) List ¶
func (c *FakeSecrets) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.SecretList, err error)
List takes label and field selectors, and returns the list of Secrets that match those selectors.
func (*FakeSecrets) Patch ¶
func (c *FakeSecrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gloosoloiov1.Secret, err error)
Patch applies the patch and returns the patched secret.
func (*FakeSecrets) Update ¶
func (c *FakeSecrets) Update(ctx context.Context, secret *gloosoloiov1.Secret, opts v1.UpdateOptions) (result *gloosoloiov1.Secret, err error)
Update takes the representation of a secret and updates it. Returns the server's representation of the secret, and an error, if there is any.
func (*FakeSecrets) Watch ¶
func (c *FakeSecrets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested secrets.
type FakeSettingses ¶
type FakeSettingses struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeSettingses implements SettingsInterface
func (*FakeSettingses) Create ¶
func (c *FakeSettingses) Create(ctx context.Context, settings *gloosoloiov1.Settings, opts v1.CreateOptions) (result *gloosoloiov1.Settings, err error)
Create takes the representation of a settings and creates it. Returns the server's representation of the settings, and an error, if there is any.
func (*FakeSettingses) Delete ¶
func (c *FakeSettingses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the settings and deletes it. Returns an error if one occurs.
func (*FakeSettingses) DeleteCollection ¶
func (c *FakeSettingses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSettingses) Get ¶
func (c *FakeSettingses) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Settings, err error)
Get takes name of the settings, and returns the corresponding settings object, and an error if there is any.
func (*FakeSettingses) List ¶
func (c *FakeSettingses) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.SettingsList, err error)
List takes label and field selectors, and returns the list of Settingses that match those selectors.
func (*FakeSettingses) Patch ¶
func (c *FakeSettingses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gloosoloiov1.Settings, err error)
Patch applies the patch and returns the patched settings.
func (*FakeSettingses) Update ¶
func (c *FakeSettingses) Update(ctx context.Context, settings *gloosoloiov1.Settings, opts v1.UpdateOptions) (result *gloosoloiov1.Settings, err error)
Update takes the representation of a settings and updates it. Returns the server's representation of the settings, and an error, if there is any.
func (*FakeSettingses) UpdateStatus ¶
func (c *FakeSettingses) UpdateStatus(ctx context.Context, settings *gloosoloiov1.Settings, opts v1.UpdateOptions) (*gloosoloiov1.Settings, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSettingses) Watch ¶
func (c *FakeSettingses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested settingses.
type FakeUpstreamGroups ¶
type FakeUpstreamGroups struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeUpstreamGroups implements UpstreamGroupInterface
func (*FakeUpstreamGroups) Create ¶
func (c *FakeUpstreamGroups) Create(ctx context.Context, upstreamGroup *gloosoloiov1.UpstreamGroup, opts v1.CreateOptions) (result *gloosoloiov1.UpstreamGroup, err error)
Create takes the representation of a upstreamGroup and creates it. Returns the server's representation of the upstreamGroup, and an error, if there is any.
func (*FakeUpstreamGroups) Delete ¶
func (c *FakeUpstreamGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the upstreamGroup and deletes it. Returns an error if one occurs.
func (*FakeUpstreamGroups) DeleteCollection ¶
func (c *FakeUpstreamGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUpstreamGroups) Get ¶
func (c *FakeUpstreamGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.UpstreamGroup, err error)
Get takes name of the upstreamGroup, and returns the corresponding upstreamGroup object, and an error if there is any.
func (*FakeUpstreamGroups) List ¶
func (c *FakeUpstreamGroups) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.UpstreamGroupList, err error)
List takes label and field selectors, and returns the list of UpstreamGroups that match those selectors.
func (*FakeUpstreamGroups) Patch ¶
func (c *FakeUpstreamGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gloosoloiov1.UpstreamGroup, err error)
Patch applies the patch and returns the patched upstreamGroup.
func (*FakeUpstreamGroups) Update ¶
func (c *FakeUpstreamGroups) Update(ctx context.Context, upstreamGroup *gloosoloiov1.UpstreamGroup, opts v1.UpdateOptions) (result *gloosoloiov1.UpstreamGroup, err error)
Update takes the representation of a upstreamGroup and updates it. Returns the server's representation of the upstreamGroup, and an error, if there is any.
func (*FakeUpstreamGroups) UpdateStatus ¶
func (c *FakeUpstreamGroups) UpdateStatus(ctx context.Context, upstreamGroup *gloosoloiov1.UpstreamGroup, opts v1.UpdateOptions) (*gloosoloiov1.UpstreamGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUpstreamGroups) Watch ¶
func (c *FakeUpstreamGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested upstreamGroups.
type FakeUpstreams ¶
type FakeUpstreams struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeUpstreams implements UpstreamInterface
func (*FakeUpstreams) Create ¶
func (c *FakeUpstreams) Create(ctx context.Context, upstream *gloosoloiov1.Upstream, opts v1.CreateOptions) (result *gloosoloiov1.Upstream, err error)
Create takes the representation of a upstream and creates it. Returns the server's representation of the upstream, and an error, if there is any.
func (*FakeUpstreams) Delete ¶
func (c *FakeUpstreams) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the upstream and deletes it. Returns an error if one occurs.
func (*FakeUpstreams) DeleteCollection ¶
func (c *FakeUpstreams) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUpstreams) Get ¶
func (c *FakeUpstreams) Get(ctx context.Context, name string, options v1.GetOptions) (result *gloosoloiov1.Upstream, err error)
Get takes name of the upstream, and returns the corresponding upstream object, and an error if there is any.
func (*FakeUpstreams) List ¶
func (c *FakeUpstreams) List(ctx context.Context, opts v1.ListOptions) (result *gloosoloiov1.UpstreamList, err error)
List takes label and field selectors, and returns the list of Upstreams that match those selectors.
func (*FakeUpstreams) Patch ¶
func (c *FakeUpstreams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gloosoloiov1.Upstream, err error)
Patch applies the patch and returns the patched upstream.
func (*FakeUpstreams) Update ¶
func (c *FakeUpstreams) Update(ctx context.Context, upstream *gloosoloiov1.Upstream, opts v1.UpdateOptions) (result *gloosoloiov1.Upstream, err error)
Update takes the representation of a upstream and updates it. Returns the server's representation of the upstream, and an error, if there is any.
func (*FakeUpstreams) UpdateStatus ¶
func (c *FakeUpstreams) UpdateStatus(ctx context.Context, upstream *gloosoloiov1.Upstream, opts v1.UpdateOptions) (*gloosoloiov1.Upstream, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUpstreams) Watch ¶
func (c *FakeUpstreams) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested upstreams.