ds

package
v0.0.0-...-a746158 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

ds implements kube.Coder interface for deployment of daemon set

Index

Constants

View Source
const (
	PackageName       = "kube/ds"
	DefaultConfigDir  = ".config/" + PackageName
	DefaultConfigFile = "config.json"
	Kind              = "DaemonSet"
	APIVersion        = "apps/v1"
)

Variables

This section is empty.

Functions

func NewCoder

func NewCoder(ctx context.Context, configReader configio.ConfigReader, key string, clientset *kubernetes.Clientset, namespace string) (kube.Coder, error)

Types

type Config

type Config struct {
	DaemonSet *apps_v1beta2.DaemonSet
	// contains filtered or unexported fields
}

Config wraps v1.ClusterRoleBinding so that it can be managed using configio

func (*Config) Init

func (conf *Config) Init(key string) *Config

func (*Config) Key

func (conf *Config) Key() string

func (*Config) Marshal

func (conf *Config) Marshal() ([]byte, error)

func (*Config) Unmarshal

func (conf *Config) Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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