proxy

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(parent iris.Party)

Types

type Handler

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

func NewHandler

func NewHandler() *Handler

func (*Handler) KubernetesAPIProxy

func (h *Handler) KubernetesAPIProxy() iris.Handler

type Item

type Item struct {
	Metadata metav1.ObjectMeta `json:"metadata"`
}

type ItemList

type ItemList []interface{}

func (ItemList) Len

func (a ItemList) Len() int

func (ItemList) Less

func (a ItemList) Less(i, j int) bool

func (ItemList) Swap

func (a ItemList) Swap(i, j int)

type K8sListObj

type K8sListObj struct {
	Kind       string      `json:"kind"`
	ApiVersion string      `json:"apiVersion"`
	Metadata   interface{} `json:"metadata"`
	Items      ItemList    `json:"items"`
}

func (K8sListObj) Sort

func (k K8sListObj) Sort()

type NamespaceResourceContainer

type NamespaceResourceContainer struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []interface{} `json:"items"`
	Namespaces      []string      `json:"namespaces"`
}

Jump to

Keyboard shortcuts

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