isolationSegment

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: 18

Documentation

Index

Constants

View Source
const DefaultIsolationSegmentGuid = "-1"
View Source
const SharedIsolationSegmentName = "shared"
View Source
const UnknownIsolationSegmentGuid = ""
View Source
const UnknownIsolationSegmentName = "unknown"

Variables

View Source
var (
	DefaultIsolationSegment = NewIsolationSegmentMetadata(IsolationSegment{EntityCommon: common.EntityCommon{Guid: DefaultIsolationSegmentGuid}, Name: "default"})
	UnknownIsolationSegment = NewIsolationSegmentMetadata(IsolationSegment{EntityCommon: common.EntityCommon{Guid: UnknownIsolationSegmentGuid}, Name: UnknownIsolationSegmentName})
	SharedIsolationSegment  *IsolationSegmentMetadata //= NewIsolationSegmentMetadata(IsolationSegment{})
)

Functions

This section is empty.

Types

type IsolationSegment

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

type IsolationSegmentMetadata added in v0.9.0

type IsolationSegmentMetadata struct {
	*common.Metadata
	*IsolationSegment
}

func GetDefault

func GetDefault() *IsolationSegmentMetadata

func NewIsolationSegmentMetadata added in v0.9.0

func NewIsolationSegmentMetadata(isoSeg IsolationSegment) *IsolationSegmentMetadata

func NewIsolationSegmentMetadataById added in v0.9.0

func NewIsolationSegmentMetadataById(id string) *IsolationSegmentMetadata

func (*IsolationSegmentMetadata) GetName added in v0.9.0

func (metadataItem *IsolationSegmentMetadata) GetName() string

type IsolationSegmentMetadataManager added in v0.9.0

type IsolationSegmentMetadataManager struct {
	*common.CommonV2ResponseManager
}

func NewIsolationSegmentMetadataManager added in v0.9.0

func NewIsolationSegmentMetadataManager(mdGlobalManager common.MdGlobalManagerInterface) *IsolationSegmentMetadataManager

func (*IsolationSegmentMetadataManager) CreateMetadataEntityObject added in v0.9.0

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

func (*IsolationSegmentMetadataManager) CreateResourceObject added in v0.9.0

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

func (*IsolationSegmentMetadataManager) CreateResponseObject added in v0.9.0

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

func (*IsolationSegmentMetadataManager) FindItem added in v0.9.0

func (*IsolationSegmentMetadataManager) GetAll added in v0.9.0

func (*IsolationSegmentMetadataManager) GetNextUrl added in v0.9.0

func (mdMgr *IsolationSegmentMetadataManager) GetNextUrl(response common.IResponse) string

func (*IsolationSegmentMetadataManager) LoadAllItems added in v0.9.0

func (mdMgr *IsolationSegmentMetadataManager) LoadAllItems()

func (*IsolationSegmentMetadataManager) NewItemById added in v0.9.0

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

func (*IsolationSegmentMetadataManager) ProcessResource added in v0.9.0

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

func (*IsolationSegmentMetadataManager) ProcessResponse added in v0.9.0

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

type IsolationSegmentResponse

type IsolationSegmentResponse struct {
	Pagination Pagination         `json:"pagination"`
	Resources  []IsolationSegment `json:"resources"`
}

func (*IsolationSegmentResponse) GetPagination added in v0.9.0

func (resp *IsolationSegmentResponse) GetPagination() Pagination
type Link struct {
	Href string `json:"href"`
}

type Pagination

type Pagination struct {
	Count int  `json:"total_results"`
	Pages int  `json:"total_pages"`
	Next  Link `json:"next"`
}

Jump to

Keyboard shortcuts

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