agent

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// QueryServerSocket tag, used for queryserver socket
	QueryServerSocket = "/var/run/node-extender-server/volume-query-server.sock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
}

Agent for node server

func NewAgent

func NewAgent() *Agent

NewAgent new Agent object

func (*Agent) RunAgent

func (ag *Agent) RunAgent()

RunAgent run agent

type QueryRequest

type QueryRequest struct {
	Identity     string `json:"identity"`
	PodName      string `json:"podName"`
	PodNameSpace string `json:"podNameSpace"`
}

QueryRequest struct Identity: for volumeInfo Request PodName/PodNameSpace: PodRunTime Request

type QueryServer

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

QueryServer Kata Server

func NewQueryServer

func NewQueryServer() *QueryServer

NewQueryServer new server

func (*QueryServer) RunQueryServer

func (ks *QueryServer) RunQueryServer()

RunQueryServer Routers

Jump to

Keyboard shortcuts

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