kube

package
v0.0.0-...-890e07e Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRestConfig

func NewRestConfig(config *Config) (*rest.Config, error)

func ParseObject

func ParseObject(data []byte) ([]unstructured.Unstructured, error)

Types

type Config

type Config struct {
	Server  string `json:"server"`
	SkipTLS bool   `json:"skip_tls"`
	CaCrt   string `json:"ca_crt"`
	Token   string `json:"token"`
}

Jump to

Keyboard shortcuts

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