model

package
v0.0.0-...-4d08361 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppHistory

type AppHistory struct {
	Metadata                      `json:",inline"`
	ID                            string `json:"id"`
	dao.ApplicationHistoryDAOInfo `json:",inline"`
}

func (*AppHistory) MergeFromAppHistory

func (h *AppHistory) MergeFromAppHistory(other *dao.ApplicationHistoryDAOInfo)

type Application

type Application struct {
	Metadata               `json:",inline"`
	dao.ApplicationDAOInfo `json:",inline"`
}

func (*Application) MergeFrom

func (app *Application) MergeFrom(appInfo *dao.ApplicationDAOInfo)

type ContainerHistory

type ContainerHistory struct {
	Metadata                    `json:",inline"`
	ID                          string `json:"id"`
	dao.ContainerHistoryDAOInfo `json:",inline"`
}

func (*ContainerHistory) MergeFromContainerHistory

func (h *ContainerHistory) MergeFromContainerHistory(other *dao.ContainerHistoryDAOInfo)

type Metadata

type Metadata struct {
	CreatedAtNano int64  `json:"createdAtNano"`
	DeletedAtNano *int64 `json:"deletedAtNano,omitempty"`
}

type Node

type Node struct {
	Metadata        `json:",inline"`
	dao.NodeDAOInfo `json:",inline"`
}

func (*Node) MergeFrom

func (n *Node) MergeFrom(nodeInfo *dao.NodeDAOInfo)

type Partition

type Partition struct {
	Metadata          `json:",inline"`
	dao.PartitionInfo `json:",inline"`
}

func (*Partition) MergeFrom

func (p *Partition) MergeFrom(other *dao.PartitionInfo)

type Queue

type Queue struct {
	Metadata `json:",inline"`
	// This field should be used instead of the dao.Children
	Children                  []*Queue `json:"children,omitempty"`
	dao.PartitionQueueDAOInfo `json:",inline"`
}

func (*Queue) MergeFrom

func (q *Queue) MergeFrom(qInfo *dao.PartitionQueueDAOInfo)

Jump to

Keyboard shortcuts

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