secrets

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReveal

func NewReveal(c kclient.WithWatch) rest.Storage

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 (t *Translator) FromPublic(ctx context.Context, obj runtime.Object) (types.Object, error)

func (*Translator) FromPublicName

func (t *Translator) FromPublicName(ctx context.Context, namespace, name string) (string, string, error)

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

func (*Translator) ToPublic

func (t *Translator) ToPublic(ctx context.Context, objs ...runtime.Object) (result []types.Object, _ error)

type Validator

type Validator struct {
}

func (*Validator) Validate

func (v *Validator) Validate(ctx context.Context, obj runtime.Object) (result field.ErrorList)

func (*Validator) ValidateUpdate

func (v *Validator) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL