agent

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 13 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