platformCachePartitions

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "PlatformCachePartition"

Variables

This section is empty.

Functions

This section is empty.

Types

type PlatformCachePartition

type PlatformCachePartition struct {
	metadata.MetadataInfo
	XMLName                     xml.Name                     `xml:"PlatformCachePartition"`
	Xmlns                       string                       `xml:"xmlns,attr"`
	Description                 *TextLiteral                 `xml:"description"`
	IsDefaultPartition          *BooleanText                 `xml:"isDefaultPartition"`
	MasterLabel                 TextLiteral                  `xml:"masterLabel"`
	PlatformCachePartitionTypes []PlatformCachePartitionType `xml:"platformCachePartitionTypes"`
}

func Open

func Open(path string) (*PlatformCachePartition, error)

func (*PlatformCachePartition) SetMetadata

func (c *PlatformCachePartition) SetMetadata(m metadata.MetadataInfo)

func (*PlatformCachePartition) Type

type PlatformCachePartitionType

type PlatformCachePartitionType struct {
	AllocatedCapacity          *IntegerText `xml:"allocatedCapacity"`
	AllocatedPartnerCapacity   *IntegerText `xml:"allocatedPartnerCapacity"`
	AllocatedPurchasedCapacity *IntegerText `xml:"allocatedPurchasedCapacity"`
	AllocatedTrialCapacity     *IntegerText `xml:"allocatedTrialCapacity"`
	CacheType                  TextLiteral  `xml:"cacheType"`
}

PlatformCachePartitionType allocates the partition's capacity for one cache type (Session or Organization).

Jump to

Keyboard shortcuts

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