model

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerNodeInfo

type ContainerNodeInfo struct {
	HostId *string `json:"host_id,omitempty"`

	HostName *string `json:"host_name,omitempty"`

	HostStatus *string `json:"host_status,omitempty"`

	AgentStatus *string `json:"agent_status,omitempty"`

	ProtectStatus *string `json:"protect_status,omitempty"`
}

节点(服务器)状态列表

func (ContainerNodeInfo) String

func (o ContainerNodeInfo) String() string

type ListContainerNodesRequest

type ListContainerNodesRequest struct {
	HostName *string `json:"host_name,omitempty"`

	AgentStatus *string `json:"agent_status,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListContainerNodesRequest) String

func (o ListContainerNodesRequest) String() string

type ListContainerNodesResponse

type ListContainerNodesResponse struct {
	TotalNum *int32 `json:"total_num,omitempty"`

	DataList       *[]ContainerNodeInfo `json:"data_list,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListContainerNodesResponse) String

Jump to

Keyboard shortcuts

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