manager

package
v0.0.0-...-4efd522 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(live client.Object) client.Patch

func PatchFor

func PatchFor(gvk schema.GroupVersionKind, live client.Object) client.Patch

Types

type MergePatch

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

customer patch

func (*MergePatch) Data

func (patch *MergePatch) Data(obj client.Object) ([]byte, error)

func (*MergePatch) Type

func (j *MergePatch) Type() types.PatchType

type Tunnel

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

func NewTunnel

func NewTunnel(cluster, protocol, proxyHost string, timeout int) *Tunnel

func (*Tunnel) GetClient

func (tunnel *Tunnel) GetClient() (client.Client, error)

func (*Tunnel) GetClientSet

func (tunnel *Tunnel) GetClientSet() (*kubernetes.Clientset, error)

func (*Tunnel) GetProxyConfig

func (tunnel *Tunnel) GetProxyConfig() (config *rest.Config, err error)

func (*Tunnel) SetClient

func (tunnel *Tunnel) SetClient(cli client.Client)

Jump to

Keyboard shortcuts

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