klient

package
v0.0.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CtrRuntimeClient

func CtrRuntimeClient(config *rest.Config) (ctrClient.Client, error)

Types

type ClusterClients

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

func NewClusterClients

func NewClusterClients(cfg *rest.Config) (*ClusterClients, error)

func (*ClusterClients) ClientSet

func (cc *ClusterClients) ClientSet() *kubernetes.Clientset

func (*ClusterClients) Informer

func (*ClusterClients) InformerStart

func (cc *ClusterClients) InformerStart(ctx context.Context)

type LocalClients

type LocalClients struct {
	K8sCs   *kubernetes.Clientset
	VelaCs  *vela.Clientset
	KpackCs *kpack.Clientset

	RuntimeClient ctrClient.Client
}

type Proxy

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

func NewProxy

func NewProxy(cfg *rest.Config) *Proxy

func (*Proxy) ServeHTTP

func (p *Proxy) ServeHTTP(rw http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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