Documentation ¶
Index ¶
- func NewReveal(c kclient.WithWatch) rest.Storage
- func NewStorage(c kclient.WithWatch, middlewares ...middleware.CompleteStrategy) rest.Storage
- type Translator
- func (t *Translator) FromPublic(ctx context.Context, obj runtime.Object) (types.Object, error)
- func (t *Translator) FromPublicName(ctx context.Context, namespace, name string) (string, string, error)
- func (t *Translator) ListOpts(ctx context.Context, namespace string, opts storage.ListOptions) (string, storage.ListOptions, error)
- func (t *Translator) NewPublic() types.Object
- func (t *Translator) NewPublicList() types.ObjectList
- func (t *Translator) ToPublic(ctx context.Context, objs ...runtime.Object) (result []types.Object, _ error)
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorage ¶
func NewStorage(c kclient.WithWatch, middlewares ...middleware.CompleteStrategy) rest.Storage
Types ¶
type Translator ¶
type Translator struct {
// contains filtered or unexported fields
}
func (*Translator) FromPublic ¶
func (*Translator) FromPublicName ¶
func (*Translator) ListOpts ¶
func (t *Translator) ListOpts(ctx context.Context, namespace string, opts storage.ListOptions) (string, storage.ListOptions, error)
func (*Translator) NewPublic ¶
func (t *Translator) NewPublic() types.Object
func (*Translator) NewPublicList ¶
func (t *Translator) NewPublicList() types.ObjectList
Click to show internal directories.
Click to hide internal directories.