Documentation
¶
Index ¶
- Constants
- func NotOK(c *gin.Context, err error)
- func OK(c *gin.Context, data interface{})
- type ClientRest
- func (h *ClientRest) Create(c *gin.Context)
- func (h *ClientRest) Delete(c *gin.Context)
- func (h *ClientRest) Get(c *gin.Context)
- func (h *ClientRest) List(c *gin.Context)
- func (h *ClientRest) Patch(c *gin.Context)
- func (h *ClientRest) PortForward(c *gin.Context)
- func (h *ClientRest) Proxy(c *gin.Context)
- func (h *ClientRest) Register(r *route.Router)
- func (h *ClientRest) Update(c *gin.Context)
- type GVKN
Constants ¶
View Source
const ( MaxRequestBodyBytes = 3 * 1024 * 1024 RoutePrefix = "/internal" )
https://github.com/kubernetes/apiserver/blob/master/pkg/server/config.go#L362
View Source
const ( ListOptionLabelSelector = "label-selector" ListOptionFieldSelector = "field-selector" ListOptionLimit = "limit" ListOptionContinue = "continue" )
View Source
const ( DeleteOptionDeletionPropagation = "deletion-propagation" DeleteOptionGracePeriod = "grace-period-seconds" )
View Source
const (
PatchOptionForce = "force"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientRest ¶
func (*ClientRest) Create ¶
func (h *ClientRest) Create(c *gin.Context)
func (*ClientRest) Delete ¶
func (h *ClientRest) Delete(c *gin.Context)
func (*ClientRest) Get ¶
func (h *ClientRest) Get(c *gin.Context)
func (*ClientRest) List ¶
func (h *ClientRest) List(c *gin.Context)
func (*ClientRest) Patch ¶
func (h *ClientRest) Patch(c *gin.Context)
func (*ClientRest) PortForward ¶
func (h *ClientRest) PortForward(c *gin.Context)
func (*ClientRest) Proxy ¶
func (h *ClientRest) Proxy(c *gin.Context)
func (*ClientRest) Register ¶
func (h *ClientRest) Register(r *route.Router)
func (*ClientRest) Update ¶
func (h *ClientRest) Update(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.