customresource

package
v0.0.0-...-184f8a4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 11 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 implements a RESTStorage for API services against etcd

func (*REST) Categories

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

Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of.

func (*REST) ConvertToTable

func (c *REST) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)

func (*REST) List

List retrieves a list of managedCluster that match label.

func (*REST) NewList

func (s *REST) NewList() runtime.Object

func (*REST) Watch

type ResourceStorage

type ResourceStorage struct {
	Resource *REST
}

ResourceStorage includes dummy storage for CustomResources, and their Status and Scale subresources.

func NewStorage

func NewStorage(gvr schema.GroupVersionResource, seachClient search.Client, tableConverter search.ConverterFunc) ResourceStorage

Jump to

Keyboard shortcuts

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