storage

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPPool

type IPPool struct {
	ClusterID string   `json:"cluster"`
	Net       string   `json:"net"`
	Mask      int      `json:"mask"`
	Gateway   string   `json:"gateway"`
	Created   string   `json:"created"`
	Hosts     []string `json:"hosts"`
	Reserved  []string `json:"reserved"`
	Available []string `json:"available"`
	Active    []string `json:"active"`
}

IPPool information for cluster underlay ip resource

type IPPoolDetailResponse

type IPPoolDetailResponse struct {
	ID         string    `json:"_id"`
	ClusterID  string    `json:"clusterId"`
	CreateTime string    `json:"createTime"`
	Datas      []*IPPool `json:"data"`
}

IPPoolDetailResponse response from storage

type Pod

type Pod struct {
	ID           string    `json:"_id"`
	ResourceName string    `json:"resourceName"`
	ResourceType string    `json:"resourceType"`
	Namespace    string    `json:"namespace"`
	ClusterID    string    `json:"clusterId"`
	CreateTime   string    `json:"createTime"`
	UpdateTime   string    `json:"updateTime"`
	Data         *core.Pod `json:"data"`
}

Pod definition in mongodb

type Taskgroup

type Taskgroup struct {
	ID           string                  `json:"_id"`
	ResourceName string                  `json:"resourceName"`
	ResourceType string                  `json:"resourceType"`
	Namespace    string                  `json:"namespace"`
	ClusterID    string                  `json:"clusterId"`
	CreateTime   string                  `json:"create_time"`
	UpdateTime   string                  `json:"update_time"`
	Data         *mesostype.BcsPodStatus `json:"data"`
}

Taskgroup bcs-storage taskgroup data of mesos

Jump to

Keyboard shortcuts

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