hostconfig

package
v1.25.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteHost

func DeleteHost(req *restful.Request, resp *restful.Response)

DeleteHost delete host

func GetHost

func GetHost(req *restful.Request, resp *restful.Response)

GetHost get host

func ListHost

func ListHost(req *restful.Request, resp *restful.Response)

ListHost list host

func PostClusterRelation

func PostClusterRelation(req *restful.Request, resp *restful.Response)

PostClusterRelation post cluster relation

func PutClusterRelation

func PutClusterRelation(req *restful.Request, resp *restful.Response)

PutClusterRelation put cluster relation

func PutHost

func PutHost(req *restful.Request, resp *restful.Response)

PutHost put host

Types

type HostConfig

type HostConfig struct {
	IP        string `json:"ip"`
	ClusterID string `json:"clusterId"`
	Data      string `json:"data"`
}

HostConfig host config

Jump to

Keyboard shortcuts

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