etcd

package
v0.0.0-...-fa1f097 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

type REST struct {
	// contains filtered or unexported fields
}

REST object wraps the kube TokenReviews REST so that we can use it with our own API path

func NewREST

func NewREST(tokenAuthenticator authenticator.Request) (*REST, error)

func (*REST) Create

func (r *REST) Create(ctx context.Context, obj runtime.Object, validateObj rest.ValidateObjectFunc, createOptions *metav1.CreateOptions) (runtime.Object, error)

func (*REST) Destroy

func (r *REST) Destroy()

func (*REST) GetSingularName

func (r *REST) GetSingularName() string

func (*REST) GroupVersionKind

func (r *REST) GroupVersionKind(containingGV schema.GroupVersion) schema.GroupVersionKind

func (*REST) NamespaceScoped

func (r *REST) NamespaceScoped() bool

func (*REST) New

func (r *REST) New() runtime.Object

Jump to

Keyboard shortcuts

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