stack

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack struct {
	common.EntityCommon
	//Guid        string `json:"guid"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type StackGroup added in v0.9.4

type StackGroup struct {
	Guid        string
	Name        string // cflinuxfs  (note the missing "2" / "3" suffix)
	Description string
	MatchNames  string   // regex that matches any stack that is in the group.  E.g.  "cflinuxfs.*"
	StackIds    []string // list of stack GUIDs that are in this group
}

type StackMetadata added in v0.9.0

type StackMetadata struct {
	*common.Metadata
	*Stack
}

func NewStackMetadata added in v0.9.0

func NewStackMetadata(stack Stack) *StackMetadata

func NewStackMetadataById added in v0.9.0

func NewStackMetadataById(id string) *StackMetadata

func (*StackMetadata) GetName added in v0.9.4

func (metadataItem *StackMetadata) GetName() string

type StackMetadataManager added in v0.9.0

type StackMetadataManager struct {
	*common.CommonV2ResponseManager
	// contains filtered or unexported fields
}

func NewStackMetadataManager added in v0.9.0

func NewStackMetadataManager(mdGlobalManager common.MdGlobalManagerInterface) *StackMetadataManager

func (*StackMetadataManager) CreateMetadataEntityObject added in v0.9.0

func (mdMgr *StackMetadataManager) CreateMetadataEntityObject(guid string) common.IMetadata

func (*StackMetadataManager) CreateResourceObject added in v0.9.0

func (mdMgr *StackMetadataManager) CreateResourceObject() common.IResource

func (*StackMetadataManager) CreateResponseObject added in v0.9.0

func (mdMgr *StackMetadataManager) CreateResponseObject() common.IResponse

func (*StackMetadataManager) FindItem added in v0.9.0

func (mdMgr *StackMetadataManager) FindItem(guid string) *StackMetadata

func (*StackMetadataManager) FindStackGroup added in v0.9.4

func (mdMgr *StackMetadataManager) FindStackGroup(stackGroupId string) *StackGroup

func (*StackMetadataManager) FindStackGroupByStackGuid added in v0.9.4

func (mdMgr *StackMetadataManager) FindStackGroupByStackGuid(stackGuid string) *StackGroup

func (*StackMetadataManager) GetAll added in v0.9.0

func (mdMgr *StackMetadataManager) GetAll() []*StackMetadata

func (*StackMetadataManager) GetAllStackGroups added in v0.9.4

func (mdMgr *StackMetadataManager) GetAllStackGroups() []*StackGroup

func (*StackMetadataManager) NewItemById added in v0.9.0

func (mdMgr *StackMetadataManager) NewItemById(guid string) common.IMetadata

func (*StackMetadataManager) PostProcessLoad added in v0.9.4

func (mdMgr *StackMetadataManager) PostProcessLoad(metadataArray []common.IMetadata, err error)

func (*StackMetadataManager) ProcessResource added in v0.9.0

func (mdMgr *StackMetadataManager) ProcessResource(resource common.IResource) common.IMetadata

func (*StackMetadataManager) ProcessResponse added in v0.9.0

func (mdMgr *StackMetadataManager) ProcessResponse(response common.IResponse, metadataArray []common.IMetadata) []common.IMetadata

type StackResource

type StackResource struct {
	Meta   common.Meta `json:"metadata"`
	Entity Stack       `json:"entity"`
}

type StackResponse

type StackResponse struct {
	Count     int             `json:"total_results"`
	Pages     int             `json:"total_pages"`
	NextUrl   string          `json:"next_url"`
	Resources []StackResource `json:"resources"`
}

Jump to

Keyboard shortcuts

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