meta

package
v0.0.5-beta2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOptions

type CreateOptions struct {
	Namespace string `uri:"namespace" binding:"required"`
}

type DeleteOptions

type DeleteOptions struct {
	Namespace  string `uri:"namespace" binding:"required"`
	ObjectName string `uri:"object_name" binding:"required"`
}

type GetOptions

type GetOptions struct {
	Namespace  string `uri:"namespace" binding:"required"`
	ObjectName string `uri:"object_name" binding:"required"`
}

type ListOptions

type ListOptions struct {
	Namespace    string `uri:"namespace" binding:"required"`
	ListSelector `json:",inline"`
}

type ListSelector

type ListSelector struct {
	Field    string            `form:"field"`
	Label    string            `form:"label"`
	IndexMap map[string]string `form:"index_map"`

	Page     int `form:"page"`      // 页数
	PageSize int `form:"page_size"` // 每页数量
}

type LogOptions

type LogOptions struct {
	Namespace     string `uri:"namespace" binding:"required"`
	ObjectName    string `uri:"object_name" binding:"required"`
	ContainerName string `form:"container_name"`
}

type RestartOptions

type RestartOptions struct {
	Namespace  string `uri:"namespace" binding:"required"`
	ObjectName string `uri:"object_name" binding:"required"`
}

type TerminalOptions

type TerminalOptions struct {
	Namespace  string `uri:"namespace" binding:"required"`
	ObjectName string `uri:"object_name" binding:"required"`
	Container  string `form:"container"`
}

type TopOptions

type TopOptions struct {
	Namespace     string `uri:"namespace" binding:"required"`
	ObjectName    string `uri:"object_name" binding:"required"`
	ContainerName string `form:"container_name"`
}

type UpdateOptions

type UpdateOptions struct {
	Namespace  string `uri:"namespace" binding:"required"`
	ObjectName string `uri:"object_name" binding:"required"`
}

Jump to

Keyboard shortcuts

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