k8apply

package
v0.0.0-...-b3db260 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToApplyQueue

func AddToApplyQueue(data []byte, c chan error)

AddToApplyQueue adds raw manifest to applyChan

func Apply

func Apply(data []byte) error

Apply like kubectl apply, tries to create new object, if it exists tries to replace

func InitKubeClient

func InitKubeClient() error

InitKubeClient initializes kubernetes client with CLUSTER_TYPE choose

Types

type ApplyWithChan

type ApplyWithChan struct {
	Data []byte
	C    chan error
}

Jump to

Keyboard shortcuts

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