agent

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package agent to manage Kubernetes storage attach events.

Package agent to manage Kubernetes storage attach events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

Agent reference to be deployed

func New

func New(clientset kubernetes.Interface) *Agent

New creates an instance of Agent

func (*Agent) Start

func (a *Agent) Start(namespace, agentImage, serviceAccount string) error

Start the agent

type KubeletConfiguration

type KubeletConfiguration struct {
	KubeletConfig struct {
		VolumePluginDir string `json:"volumePluginDir"`
	} `json:"kubeletconfig"`
}

KubeletConfiguration represents the response from the node config URI (configz) in Kubernetes 1.8+

type NodeConfigControllerManager

type NodeConfigControllerManager struct {
	ComponentConfig componentconfig.KubeControllerManagerConfiguration `json:"componentconfig"`
}

NodeConfigControllerManager is a reference of all the configuration for the K8S node from the controllermanager

type NodeConfigKubelet

type NodeConfigKubelet struct {
	ComponentConfig kubeletconfig.KubeletConfiguration `json:"componentconfig"`
}

NodeConfigKubelet is a reference of all the configuration for the K8S node from kubelet

Jump to

Keyboard shortcuts

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