Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCore
- func (c *FakeCore) Events(namespace string) unversioned.EventInterface
- func (c *FakeCore) GetRESTClient() *restclient.RESTClient
- func (c *FakeCore) Namespaces() unversioned.NamespaceInterface
- func (c *FakeCore) Secrets(namespace string) unversioned.SecretInterface
- func (c *FakeCore) Services(namespace string) unversioned.ServiceInterface
- type FakeEvents
- func (c *FakeEvents) Create(event *api.Event) (result *api.Event, err error)
- func (c *FakeEvents) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeEvents) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeEvents) Get(name string) (result *api.Event, err error)
- func (c *FakeEvents) List(opts api.ListOptions) (result *api.EventList, err error)
- func (c *FakeEvents) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Event, err error)
- func (c *FakeEvents) Update(event *api.Event) (result *api.Event, err error)
- func (c *FakeEvents) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeNamespaces
- func (c *FakeNamespaces) Create(namespace *api.Namespace) (result *api.Namespace, err error)
- func (c *FakeNamespaces) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeNamespaces) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeNamespaces) Finalize(namespace *api.Namespace) (*api.Namespace, error)
- func (c *FakeNamespaces) Get(name string) (result *api.Namespace, err error)
- func (c *FakeNamespaces) List(opts api.ListOptions) (result *api.NamespaceList, err error)
- func (c *FakeNamespaces) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Namespace, err error)
- func (c *FakeNamespaces) Update(namespace *api.Namespace) (result *api.Namespace, err error)
- func (c *FakeNamespaces) UpdateStatus(namespace *api.Namespace) (*api.Namespace, error)
- func (c *FakeNamespaces) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeSecrets
- func (c *FakeSecrets) Create(secret *api.Secret) (result *api.Secret, err error)
- func (c *FakeSecrets) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeSecrets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeSecrets) Get(name string) (result *api.Secret, err error)
- func (c *FakeSecrets) List(opts api.ListOptions) (result *api.SecretList, err error)
- func (c *FakeSecrets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Secret, err error)
- func (c *FakeSecrets) Update(secret *api.Secret) (result *api.Secret, err error)
- func (c *FakeSecrets) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeServices
- func (c *FakeServices) Create(service *api.Service) (result *api.Service, err error)
- func (c *FakeServices) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeServices) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeServices) Get(name string) (result *api.Service, err error)
- func (c *FakeServices) List(opts api.ListOptions) (result *api.ServiceList, err error)
- func (c *FakeServices) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Service, err error)
- func (c *FakeServices) Update(service *api.Service) (result *api.Service, err error)
- func (c *FakeServices) UpdateStatus(service *api.Service) (*api.Service, error)
- func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCore ¶
func (*FakeCore) Events ¶ added in v1.4.2
func (c *FakeCore) Events(namespace string) unversioned.EventInterface
func (*FakeCore) GetRESTClient ¶
func (c *FakeCore) GetRESTClient() *restclient.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCore) Namespaces ¶ added in v1.4.2
func (c *FakeCore) Namespaces() unversioned.NamespaceInterface
func (*FakeCore) Secrets ¶ added in v1.4.2
func (c *FakeCore) Secrets(namespace string) unversioned.SecretInterface
func (*FakeCore) Services ¶
func (c *FakeCore) Services(namespace string) unversioned.ServiceInterface
type FakeEvents ¶ added in v1.4.2
type FakeEvents struct { Fake *FakeCore // contains filtered or unexported fields }
FakeEvents implements EventInterface
func (*FakeEvents) Delete ¶ added in v1.4.2
func (c *FakeEvents) Delete(name string, options *api.DeleteOptions) error
func (*FakeEvents) DeleteCollection ¶ added in v1.4.2
func (c *FakeEvents) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeEvents) Get ¶ added in v1.4.2
func (c *FakeEvents) Get(name string) (result *api.Event, err error)
func (*FakeEvents) List ¶ added in v1.4.2
func (c *FakeEvents) List(opts api.ListOptions) (result *api.EventList, err error)
func (*FakeEvents) Patch ¶ added in v1.4.2
func (c *FakeEvents) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Event, err error)
Patch applies the patch and returns the patched event.
func (*FakeEvents) Watch ¶ added in v1.4.2
func (c *FakeEvents) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested events.
type FakeNamespaces ¶ added in v1.4.2
type FakeNamespaces struct {
Fake *FakeCore
}
FakeNamespaces implements NamespaceInterface
func (*FakeNamespaces) Delete ¶ added in v1.4.2
func (c *FakeNamespaces) Delete(name string, options *api.DeleteOptions) error
func (*FakeNamespaces) DeleteCollection ¶ added in v1.4.2
func (c *FakeNamespaces) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeNamespaces) Get ¶ added in v1.4.2
func (c *FakeNamespaces) Get(name string) (result *api.Namespace, err error)
func (*FakeNamespaces) List ¶ added in v1.4.2
func (c *FakeNamespaces) List(opts api.ListOptions) (result *api.NamespaceList, err error)
func (*FakeNamespaces) Patch ¶ added in v1.4.2
func (c *FakeNamespaces) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Namespace, err error)
Patch applies the patch and returns the patched namespace.
func (*FakeNamespaces) UpdateStatus ¶ added in v1.4.2
func (*FakeNamespaces) Watch ¶ added in v1.4.2
func (c *FakeNamespaces) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested namespaces.
type FakeSecrets ¶ added in v1.4.2
type FakeSecrets struct { Fake *FakeCore // contains filtered or unexported fields }
FakeSecrets implements SecretInterface
func (*FakeSecrets) Delete ¶ added in v1.4.2
func (c *FakeSecrets) Delete(name string, options *api.DeleteOptions) error
func (*FakeSecrets) DeleteCollection ¶ added in v1.4.2
func (c *FakeSecrets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeSecrets) Get ¶ added in v1.4.2
func (c *FakeSecrets) Get(name string) (result *api.Secret, err error)
func (*FakeSecrets) List ¶ added in v1.4.2
func (c *FakeSecrets) List(opts api.ListOptions) (result *api.SecretList, err error)
func (*FakeSecrets) Patch ¶ added in v1.4.2
func (c *FakeSecrets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Secret, err error)
Patch applies the patch and returns the patched secret.
func (*FakeSecrets) Watch ¶ added in v1.4.2
func (c *FakeSecrets) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested secrets.
type FakeServices ¶
type FakeServices struct { Fake *FakeCore // contains filtered or unexported fields }
FakeServices implements ServiceInterface
func (*FakeServices) Delete ¶
func (c *FakeServices) Delete(name string, options *api.DeleteOptions) error
func (*FakeServices) DeleteCollection ¶
func (c *FakeServices) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeServices) List ¶
func (c *FakeServices) List(opts api.ListOptions) (result *api.ServiceList, err error)
func (*FakeServices) Patch ¶ added in v1.4.2
func (c *FakeServices) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Service, err error)
Patch applies the patch and returns the patched service.
func (*FakeServices) UpdateStatus ¶
func (*FakeServices) Watch ¶
func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested services.