objects

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 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 Handler

type Handler struct {
	api.Handler
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(clientPool *kubeclient.ClientPool, logger *logrus.Entry) *Handler

func (*Handler) Delete

func (h *Handler) Delete(c *gin.Context)

DELETE kube/v1/contexts/<ctx>/resources/<group>/<version>/<resource>/<name> DELETE kube/v1/contexts/<ctx>/resources/<group>/<version>/namespaces/<ns>/<resource>/<name>

func (*Handler) Get

func (h *Handler) Get(c *gin.Context)

GET kube/v1/contexts/<ctx>/resources/<group>/<version>/<resource>/<name> GET kube/v1/contexts/<ctx>/resources/<group>/<version>/namespaces/<ns>/<resource>/<name>

func (*Handler) List

func (h *Handler) List(c *gin.Context)

GET kube/v1/contexts/<ctx>/resources/<group>/<version>/<resource> GET kube/v1/contexts/<ctx>/resources/<group>/<version>/namespaces/<ns>/<resource>

func (*Handler) Update

func (h *Handler) Update(c *gin.Context)

PUT kube/v1/contexts/<ctx>/resources/<group>/<version>/<resource>/<name> PUT kube/v1/contexts/<ctx>/resources/<group>/<version>/namespaces/<ns>/<resource>/<name>

Jump to

Keyboard shortcuts

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