Documentation ¶
Index ¶
- type ComponentInfo
- type ComponentInfoImpl
- type InstanceInfo
- type InstanceInfoImpl
- func (i *InstanceInfoImpl) GetInstanceInfo(req apistructs.InstanceInfoRequest) (apistructs.InstanceInfoDataList, error)
- func (i *InstanceInfoImpl) GetPodInfo(req apistructs.PodInfoRequest) (apistructs.PodInfoDataList, error)
- func (i *InstanceInfoImpl) QueryInstance(cond QueryInstanceConditions) (apistructs.InstanceInfoDataList, error)
- func (i *InstanceInfoImpl) QueryPod(cond QueryPodConditions) (apistructs.PodInfoDataList, error)
- func (i *InstanceInfoImpl) QueryService(cond QueryServiceConditions) (apistructs.ServiceInfoDataList, error)
- type QueryInstanceConditions
- type QueryPodConditions
- type QueryServiceConditions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentInfo ¶
type ComponentInfo interface {
Get() (apistructs.ComponentInfoDataList, error)
}
type ComponentInfoImpl ¶
type ComponentInfoImpl struct {
// contains filtered or unexported fields
}
func NewComponentInfoImpl ¶
func NewComponentInfoImpl() *ComponentInfoImpl
func (*ComponentInfoImpl) Get ¶
func (c *ComponentInfoImpl) Get() (apistructs.ComponentInfoDataList, error)
type InstanceInfo ¶
type InstanceInfo interface { QueryPod(QueryPodConditions) (apistructs.PodInfoDataList, error) QueryInstance(QueryInstanceConditions) (apistructs.InstanceInfoDataList, error) QueryService(QueryServiceConditions) (apistructs.ServiceInfoDataList, error) }
type InstanceInfoImpl ¶
type InstanceInfoImpl struct {
// contains filtered or unexported fields
}
func NewInstanceInfoImpl ¶
func NewInstanceInfoImpl() *InstanceInfoImpl
func (*InstanceInfoImpl) GetInstanceInfo ¶
func (i *InstanceInfoImpl) GetInstanceInfo(req apistructs.InstanceInfoRequest) (apistructs.InstanceInfoDataList, error)
func (*InstanceInfoImpl) GetPodInfo ¶
func (i *InstanceInfoImpl) GetPodInfo(req apistructs.PodInfoRequest) (apistructs.PodInfoDataList, error)
func (*InstanceInfoImpl) QueryInstance ¶
func (i *InstanceInfoImpl) QueryInstance(cond QueryInstanceConditions) (apistructs.InstanceInfoDataList, error)
func (*InstanceInfoImpl) QueryPod ¶
func (i *InstanceInfoImpl) QueryPod(cond QueryPodConditions) (apistructs.PodInfoDataList, error)
func (*InstanceInfoImpl) QueryService ¶
func (i *InstanceInfoImpl) QueryService(cond QueryServiceConditions) (apistructs.ServiceInfoDataList, error)
type QueryInstanceConditions ¶
type QueryInstanceConditions struct { Cluster string OrgName string OrgID string ProjectName string ProjectID string ApplicationName string EdgeApplicationName string EdgeSite string ApplicationID string RuntimeName string RuntimeID string ServiceName string Workspace string ContainerID string ServiceType string AddonID string InstanceIP string HostIP string Phases []string Limit int }
func (*QueryInstanceConditions) IsEmpty ¶
func (q *QueryInstanceConditions) IsEmpty() bool
type QueryPodConditions ¶
type QueryPodConditions struct { Cluster string OrgName string OrgID string ProjectName string ProjectID string ApplicationName string ApplicationID string RuntimeName string RuntimeID string ServiceName string Workspace string ServiceType string AddonID string Phases []string Limit int }
func (*QueryPodConditions) IsEmpty ¶
func (q *QueryPodConditions) IsEmpty() bool
type QueryServiceConditions ¶
type QueryServiceConditions struct { OrgName string OrgID string ProjectName string ProjectID string ApplicationName string ApplicationID string RuntimeName string RuntimeID string ServiceName string Workspace string ServiceType string }
func (*QueryServiceConditions) IsEmpty ¶
func (q *QueryServiceConditions) IsEmpty() bool
Click to show internal directories.
Click to hide internal directories.