kubernetes

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: Apache-2.0 Imports: 10 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrApplyManifest

func ErrApplyManifest(err error) error

Types

type ApplyOptions

type ApplyOptions struct {
	Namespace string
	Update    bool
	Delete    bool
}

type Config

type Config struct {
	RestConfig rest.Config          `json:"restconfig,omitempty"`
	Clientset  kubernetes.Interface `json:"clientset,omitempty"`
}

func New

func New(clientset kubernetes.Interface, cfg rest.Config) (*Config, error)

func (*Config) ApplyManifest

func (cfg *Config) ApplyManifest(contents []byte, options ApplyOptions) error

func (*Config) ParseYamlObjects

func (cfg *Config) ParseYamlObjects() error

Jump to

Keyboard shortcuts

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