Documentation ¶
Index ¶
- func DecodeContinue(continueStr string) (string, string, error)
- func EncodeContinue(lastName, lastUID string) (string, error)
- func GetCustomResourceColumnDefinitions(name, version string) []apiextensionsv1.CustomResourceColumnDefinition
- func ParseLabelSelector(labelSelector string) (string, error)
- func SendWatchEvent(watchEvent *metav1.WatchEvent, writer io.Writer) error
- func ShouldReturnAsTable(ginCtx *gin.Context) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeContinue ¶ added in v0.7.0
DecodeContinue decodes the continue token and get last resoource name and uid
func EncodeContinue ¶ added in v0.7.0
EncodeContinue encodes the continue token with last resource name and uid
func GetCustomResourceColumnDefinitions ¶
func GetCustomResourceColumnDefinitions(name, version string) []apiextensionsv1.CustomResourceColumnDefinition
GetCustomResourceColumnDefinitions return the column definitions for CRD `name`, version `version`.
func ParseLabelSelector ¶ added in v0.7.0
func SendWatchEvent ¶ added in v0.7.0
func SendWatchEvent(watchEvent *metav1.WatchEvent, writer io.Writer) error
func ShouldReturnAsTable ¶ added in v0.7.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.