Documentation ¶
Index ¶
- type Memory
- func (m *Memory) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (m *Memory) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
- func (m *Memory) NamespaceScoped() bool
- func (m *Memory) New() runtime.Object
- func (m *Memory) NewList() runtime.Object
- func (m *Memory) Watch(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct{}
func (*Memory) Get ¶
func (m *Memory) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
Get finds a resource in the storage by name and returns it. Although it can return an arbitrary error value, IsNotFound(err) is true for the returned error value err when the specified resource is not found.
func (*Memory) List ¶
func (m *Memory) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
List selects resources in the storage which match to the selector. 'options' can be nil.
func (*Memory) NamespaceScoped ¶
NamespaceScoped returns true if the storage is namespaced
func (*Memory) New ¶
New returns an empty object that can be used with Create and Update after request data has been put into it. This object must be a pointer type for use with Codec.DecodeInto([]byte, runtime.Object)
func (*Memory) NewList ¶
NewList returns an empty object that can be used with the List call. This object must be a pointer type for use with Codec.DecodeInto([]byte, runtime.Object)
func (*Memory) Watch ¶
func (m *Memory) Watch(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
'label' selects on labels; 'field' selects on the object's fields. Not all fields are supported; an error should be returned if 'field' tries to select on a field that isn't supported. 'resourceVersion' allows for continuing/starting a watch at a particular version.