memcache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterSpec

type ClusterSpec struct {
	NodeCount   float32            `json:"nodeCount"`
	NodeSizeGiB float32            `json:"nodeSizeGiB"`
	Version     ClusterSpecVersion `json:"version,omitempty"`
	Options     ClusterSpecOptions `json:"options,omitempty"`
	Locations   []string           `json:"locations,omitempty"`
}

type ClusterSpecOptions

type ClusterSpecOptions struct {
	EvictionsDisabled  bool    `json:"evictionsDisabled,omitempty"`
	IdleTimeoutSeconds float32 `json:"idleTimeoutSeconds"`
	MaxItemSizeKiB     float32 `json:"maxItemSizeKiB"`
	MaxConnections     float32 `json:"maxConnections"`
}

type ClusterSpecVersion

type ClusterSpecVersion string
const (
	ClusterSpecVersion1617 ClusterSpecVersion = "1.6.17"
	ClusterSpecVersion1522 ClusterSpecVersion = "1.5.22"
)

type ClusterStatus

type ClusterStatus map[string]any

type MemcacheCluster

type MemcacheCluster struct {
	Id           string              `json:"id,omitempty"`
	Name         base.Name           `json:"name,omitempty"`
	Kind         base.Kind           `json:"kind,omitempty"`
	Version      float32             `json:"version"`
	Description  string              `json:"description,omitempty"`
	Tags         MemcacheClusterTags `json:"tags,omitempty"`
	Created      string              `json:"created,omitempty"`
	LastModified string              `json:"lastModified,omitempty"`
	Links        base.Links          `json:"links,omitempty"`
	Spec         MemcacheClusterSpec `json:"spec"`
	Status       ClusterStatus       `json:"status,omitempty"`
}

type MemcacheClusterSpec

type MemcacheClusterSpec struct {
	NodeCount   float32                    `json:"nodeCount"`
	NodeSizeGiB float32                    `json:"nodeSizeGiB"`
	Version     MemcacheClusterSpecVersion `json:"version,omitempty"`
	Options     MemcacheClusterSpecOptions `json:"options,omitempty"`
	Locations   []string                   `json:"locations,omitempty"`
}

type MemcacheClusterSpecOptions

type MemcacheClusterSpecOptions struct {
	EvictionsDisabled  bool    `json:"evictionsDisabled,omitempty"`
	IdleTimeoutSeconds float32 `json:"idleTimeoutSeconds"`
	MaxItemSizeKiB     float32 `json:"maxItemSizeKiB"`
	MaxConnections     float32 `json:"maxConnections"`
}

type MemcacheClusterSpecVersion

type MemcacheClusterSpecVersion string
const (
	MemcacheClusterSpecVersion1617 MemcacheClusterSpecVersion = "1.6.17"
	MemcacheClusterSpecVersion1522 MemcacheClusterSpecVersion = "1.5.22"
)

type MemcacheClusterTags added in v1.0.0

type MemcacheClusterTags map[string]any

type MemcacheOptions

type MemcacheOptions struct {
	EvictionsDisabled  bool    `json:"evictionsDisabled,omitempty"`
	IdleTimeoutSeconds float32 `json:"idleTimeoutSeconds"`
	MaxItemSizeKiB     float32 `json:"maxItemSizeKiB"`
	MaxConnections     float32 `json:"maxConnections"`
}

Jump to

Keyboard shortcuts

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