cluster

package
v0.0.0-...-15bfe54 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(group *gin.RouterGroup, cluster cluster.Cluster) error

Types

type ResourceRequest

type ResourceRequest struct {
	APIVersion string `query:"apiVersion"`
	Kind       string `query:"kind"`
	Namespace  string `query:"namespace"`
	Name       string `query:"name"`
}

type SearchRequest

type SearchRequest struct {
	APIVersion string            `query:"apiVersion"`
	Kind       string            `query:"kind"`
	Namespace  string            `query:"namespace"`
	Selector   map[string]string `query:"selector"`
}

type SearchResponse

type SearchResponse = []cluster.SearchResult

Jump to

Keyboard shortcuts

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