apigroups

package
v0.0.0-...-435e220 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseSchema = types.APISchema{
	Schema: &wschemas.Schema{
		ID: "apigroup",
		Attributes: map[string]interface{}{
			"group":   "",
			"kind":    "APIGroup",
			"version": "v1",
		},
	},
}

Functions

func NewStore

func NewStore(discovery discovery.DiscoveryInterface) types.Store

func Template

func Template(discovery discovery.DiscoveryInterface) schema.Template

Types

type Store

type Store struct {
	empty.Store
	// contains filtered or unexported fields
}

func (*Store) ByID

func (e *Store) ByID(apiOp *types.APIRequest, schema *types.APISchema, id string) (types.APIObject, error)

func (*Store) List

func (e *Store) List(apiOp *types.APIRequest, schema *types.APISchema) (types.APIObjectList, error)

Jump to

Keyboard shortcuts

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