kubernetesk8s.io/kubernetes/pkg/registry/core/event/storage Index | Files

package storage

import "k8s.io/kubernetes/pkg/registry/core/event/storage"

Index

Types

type REST

type REST struct {
	*genericregistry.Store
}

REST implements a RESTStorage for events.

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter, ttl uint64) (*REST, error)

NewREST returns a RESTStorage object that will work against events.

func (*REST) ShortNames

func (r *REST) ShortNames() []string

ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.

Source Files

storage.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
3 hours ago

Tools for package owners.