models

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptAwsPeeringInput added in v1.1.0

type AcceptAwsPeeringInput struct {
	ClusterId           string                            `json:"clusterId"`
	VpcId               string                            `json:"vpcId"`
	VpcCidr             string                            `json:"vpcCidr"`
	PeeringConnectionId string                            `json:"peeringConnectionId"`
	Subnets             []AcceptAwsVpcPeeringInputSubnets `json:"subnets"`
}

Type of AcceptAwsPeeringInput input to initiate peering connection from Hazelcast to your Project

type AcceptAwsVpcPeeringInputSubnets added in v1.1.0

type AcceptAwsVpcPeeringInputSubnets struct {
	SubnetId   string `json:"subnetId"`
	SubnetCidr string `json:"subnetCidr"`
}

Type of AcceptAwsVpcPeeringInputSubnets input to initiate peering connection subnets field.

type AcceptGcpPeeringInput added in v1.1.0

type AcceptGcpPeeringInput struct {
	ClusterId   string `json:"clusterId"`
	ProjectId   string `json:"projectId"`
	NetworkName string `json:"networkName"`
}

Type of AcceptGcpPeeringInput input to initiate peering connection from Hazelcast to your Project

type AvailabilityZone

type AvailabilityZone struct {
	Name string `json:"name"`
}

Type of availability zone

type AvailabilityZoneInput

type AvailabilityZoneInput struct {
	CloudProvider string `json:"cloudProvider"`
	Region        string `json:"region"`
	InstanceType  string `json:"instanceType"`
	InstanceCount int    `json:"instanceCount"`
}

Type of availability zone input

type AwsPeering added in v1.1.0

type AwsPeering struct {
	Id         string `json:"id"`
	VpcId      string `json:"vpcId"`
	VpcCidr    string `json:"vpcCidr"`
	SubnetId   string `json:"subnetId"`
	SubnetCidr string `json:"subnetCidr"`
}

Type of AwsPeering list object

type AwsPeeringProperties added in v1.1.0

type AwsPeeringProperties struct {
	VpcId   string `json:"vpcId"`
	VpcCidr string `json:"vpcCidr"`
	OwnerId string `json:"ownerId"`
	Region  string `json:"region"`
}

Type of AwsPeeringProperties to collect needed information for AWS VPC Peering Connection

type AzurePeering added in v1.1.0

type AzurePeering struct {
	Id      string `json:"id"`
	VpcId   string `json:"VpcId"`
	VpcCidr string `json:"VpcCidr"`
}

Type of AzurePeering list object

type AzurePeeringProperties added in v1.1.0

type AzurePeeringProperties struct {
	AppRegistrationId  string `json:"appRegistrationId"`
	AppRegistrationKey string `json:"appRegistrationKey"`
	TenantId           string `json:"tenantId"`
	VnetName           string `json:"vnetName"`
	SubscriptionId     string `json:"subscriptionId"`
	ResourceGroupName  string `json:"resourceGroupName"`
}

Type of AzurePeeringProperties to collect needed information for Azure vNet Peering Connection

type CloudProvider

type CloudProvider struct {
	Name                   string `json:"name"`
	IsEnabledForStarter    bool   `json:"isEnabledForStarter"`
	IsEnabledForEnterprise bool   `json:"isEnabledForEnterprise"`
}

Type of cloud provider

type Cluster

type Cluster struct {
	//Unique identifier of cluster.
	Id string `json:"id"`
	//Unique identifier of the cluster owner.
	CustomerId int `json:"customerId"`
	//Name of the cluster.
	Name string `json:"name"`
	//ReleaseName of the cluster than you can use for group name.
	ReleaseName string `json:"releaseName"`
	//Password of the cluster.
	Password string `json:"password"`
	//Port of the Hazelcast IMDG on the cluster.
	Port int `json:"port"`
	//Hazelcast IMDG version of the cluster.
	HazelcastVersion string `json:"hazelcastVersion"`
	//Shows if auto scaling feature enabled or not.
	IsAutoScalingEnabled bool `json:"isAutoScalingEnabled"`
	//Shows if hot backup feature is enabled or not.
	IsHotBackupEnabled bool `json:"isHotBackupEnabled"`
	//Shows if hot restart feature is enabled or not.
	IsHotRestartEnabled bool `json:"isHotRestartEnabled"`
	//Shows if Ip whitelisting is enabled to restrict connection to the cluster or not.
	IsIpWhitelistEnabled bool `json:"isIpWhitelistEnabled"`
	//Shows if TLS(Transport Layer Security) is enabled while connecting to the cluster or not.
	IsTlsEnabled bool `json:"isTlsEnabled"`
	//Type of the product for the cluster.
	ProductType struct {
		//Name of the Product Type.
		Name ProductTypeName `json:"name"`
		//This field shows that if the product is free to use.
		IsFree bool `json:"isFree"`
	} `json:"productType"`
	// ClusterType represents the type of the cluster.
	ClusterType struct {
		// Name of the cluster type.
		Name ClusterType `json:"name"`
	} `json:"clusterType"`
	//State of the cluster that show current status.
	State State `json:"state"`
	//Date that shows when cluster was created.
	CreatedAt string `json:"createdAt"`
	//Date that shows when cluster was started after the creation.
	StartedAt string `json:"startedAt"`
	//Date that shows when cluster was stopped.
	StoppedAt string `json:"stoppedAt"`
	//Progress of the cluster.
	Progress struct {
		//Status of progress.
		Status string `json:"status"`
		//Total item count of progress.
		TotalItemCount int `json:"totalItemCount"`
		//Completed item count of progress.
		CompletedItemCount int `json:"completedItemCount"`
	}
	//Cloud provider of the cluster.
	CloudProvider struct {
		//Name of the cloud provider.
		Name string `json:"name"`
		//Name of the region.
		Region string `json:"region"`
		//Availability zones of the region.
		AvailabilityZones []string `json:"availabilityZones"`
	} `json:"cloudProvider"`
	//Discovery tokens of the cluster to connect Hazelcast.
	DiscoveryTokens []DiscoveryToken `json:"discoveryTokens"`
	//Specs of the cluster.
	Specs struct {
		//Total memory of the cluster.
		TotalMemory float64 `json:"totalMemory"`
		//Heap memory of the cluster.
		HeapMemory int `json:"heapMemory"`
		//Native memory of the cluster.
		NativeMemory int `json:"nativeMemory"`
		//Number of cpu of the cluster.
		Cpu int `json:"cpu"`
		//Instance type of the cluster.
		InstanceType string `json:"instanceType"`
		//Number of Hazelcast cluster members per zone.
		InstancePerZone int `json:"instancePerZone"`
	} `json:"specs"`
	//Networking configuration of the cluster.
	Networking struct {
		//Type of the network. It determines that cluster is publicly accessible or not.
		Type string `json:"type"`
		//CIDR Range of the cluster network.
		CidrBlock string `json:"cidrBlock"`
		//Peering information of the cluster networking.
		Peering struct {
			//This field is true if at least one peering connection established, false otherwise.
			IsEnabled bool `json:"is_enabled"`
		} `json:"peering"`
		//Peering information of the cluster networking.
		PrivateLink struct {
			//State of the private link connection.
			Url string `json:"url"`
			//Url to cloud formation template that you can use for Private Link. For more information, see [AWS Private Link](https
			State string `json:"state"`
		} `json:"privateLink"`
	} `json:"networking"`
	//Data structure configuration of the cluster.
	DataStructures DataStructureResponse `json:"dataStructures"`
}

This response for Cluster

type ClusterDeleteInput

type ClusterDeleteInput struct {
	ClusterId string `json:"ClusterId"`
}

Type of Cluster Delete Input

type ClusterId

type ClusterId struct {
	ClusterId int `json:"clusterId"`
}

This response id of the Cluster Response

type ClusterListInput

type ClusterListInput struct {
	ProductType ProductTypeName `json:"productType"`
}

Type of Cluster List Input

type ClusterResumeInput

type ClusterResumeInput struct {
	ClusterId string `json:"ClusterId"`
}

Type of Cluster Resume Input

type ClusterStopInput

type ClusterStopInput struct {
	ClusterId string `json:"ClusterId"`
}

Type of Cluster Stop Input

type ClusterType added in v1.3.0

type ClusterType string

ClusterType represents the type of the cluster.

const (
	// Free cluster type.
	Free ClusterType = "FREE"
	// Small cluster type.
	Small ClusterType = "SMALL"
	// Medium cluster type.
	Medium ClusterType = "MEDIUM"
	// Large cluster type.
	Large ClusterType = "LARGE"
	// Serverless cluster type.
	Serverless ClusterType = "SERVERLESS"
	// Devmode cluster type.
	Devmode ClusterType = "DEVMODE"
)

type CreateEnterpriseClusterInput

type CreateEnterpriseClusterInput struct {
	//Name of the cluster.
	Name string `json:"name"`
	//Cloud provider of the cluster.
	CloudProvider string `json:"cloudProvider"`
	//Name of the region.
	Region string `json:"region"`
	//Zone type of the cluster.
	ZoneType ZoneType `json:"zoneType"`
	//Instance type of the cluster
	InstanceType string `json:"instanceType"`
	//Number of Hazelcast cluster members per zone.
	InstancePerZone int `json:"instancePerZone"`
	//Hazelcast IMDG version of the cluster.
	HazelcastVersion string `json:"hazelcastVersion"`
	//Public access enabled flag of the cluster
	IsPublicAccessEnabled bool `json:"isPublicAccessEnabled"`
	//CIDR Range of the cluster network.
	CidrBlock string `json:"cidrBlock"`
	//Native memory of the cluster.
	NativeMemory int `json:"nativeMemory"`
	//Shows if auto scaling feature enabled or not.
	IsAutoScalingEnabled bool `json:"isAutoScalingEnabled"`
	//Shows if hot restart feature is enabled or not.
	IsHotRestartEnabled bool `json:"isHotRestartEnabled"`
	//Shows if hot backup feature is enabled or not.
	IsHotBackupEnabled bool `json:"isHotBackupEnabled"`
	//Shows if TLS(Transport Layer Security) is enabled while connecting to the cluster or not.
	IsTLSEnabled bool `json:"isTlsEnabled"`
	//Data structure configuration of the cluster.
	DataStructure DataStructureInput `json:"dataStructures"`
}

The input for Create Enterprise Cluster.

type CreateServerlessClusterInput added in v1.3.0

type CreateServerlessClusterInput struct {
	// Name of the cluster.
	Name string `json:"name"`
	// Name of the region.
	Region string `json:"region"`
	// Type of the cluster
	ClusterType ClusterType `json:"clusterType"`
}

CreateServerlessClusterInput represents input parameters set for serverless cluster creation.

type CreateStarterClusterInput

type CreateStarterClusterInput struct {
	//Name of the cluster.
	Name string `json:"name"`
	//Cloud provider of the cluster.
	CloudProvider string `json:"cloudProvider"`
	//Name of the region.
	Region string `json:"region"`
	//Cluster type of the cluster
	ClusterType ClusterType `json:"clusterType"`
	//Hazelcast IMDG version of the cluster.
	HazelcastVersion string `json:"hazelcastVersion"`
	//Total memory of the cluster.
	TotalMemory float64 `json:"totalMemory"`
	//Shows if auto scaling feature enabled or not.
	IsAutoScalingEnabled bool `json:"isAutoScalingEnabled"`
	//Shows if hot backup feature is enabled or not.
	IsHotBackupEnabled bool `json:"isHotBackupEnabled"`
	//Shows if hot restart feature is enabled or not.
	IsHotRestartEnabled bool `json:"isHotRestartEnabled"`
	//Shows if Ip whitelisting is enabled to restrict connection to the cluster or not.
	IsIPWhitelistEnabled bool `json:"isIpWhitelistEnabled"`
	//Shows if TLS(Transport Layer Security) is enabled while connecting to the cluster or not.
	IsTLSEnabled bool `json:"isTlsEnabled"`
	//Shows if Ip whitelisting is enabled to restrict connection to the cluster or not.
	IPWhitelist []string `json:"ipWhitelist"`
	//Data structure configuration of the cluster.
	DataStructure DataStructureInput `json:"dataStructures"`
}

The input for Create Starter Cluster.

type DataStructureInput

type DataStructureInput struct {
	//List of map config for the cluster. For more information, see [Map Configuration](https://docs.cloud.hazelcast.com/docs/map-configurations)
	MapConfigs []MapConfigInput `json:"mapConfigs,omitempty"`
	//List of JCache config for the cluster. For more information, see [JCache](https://docs.cloud.hazelcast.com/docs/jcache)
	JcacheConfigs []JCacheConfigInput `json:"jcacheConfigs,omitempty"`
	//List of Replicated Map config for the cluster. For more information, see [Replicated Map](https://docs.cloud.hazelcast.com/docs/replicated-map)
	ReplicatedMapConfigs []ReplicatedMapConfigInput `json:"replicatedMapConfigs,omitempty"`
	//List of Queue config for the cluster. For more information, see [Queue](https://docs.cloud.hazelcast.com/docs/queue)
	QueueConfigs []QueueConfigInput `json:"queueConfigs,omitempty"`
	//List of Set config for the cluster. For more information, see [Set](https://docs.cloud.hazelcast.com/docs/set)
	SetConfigs []SetConfigInput `json:"setConfigs,omitempty"`
	//List of List config for the cluster. For more information, see [List Configuration](https://docs.cloud.hazelcast.com/docs/list)
	ListConfigs []ListConfigInput `json:"listConfigs,omitempty"`
	//List of Topic config for the cluster. For more information, see [Topic](https://docs.cloud.hazelcast.com/docs/topic)
	TopicConfigs []TopicConfigInput `json:"topicConfigs,omitempty"`
	//List of Multi Map config for the cluster. For more information, see [MultiMap](https://docs.cloud.hazelcast.com/docs/multimap)
	MultiMapConfigs []MultiMapConfigInput `json:"multiMapConfigs,omitempty"`
	//List of Ring Buffer config for the cluster. For more information, see [RingBuffer](https://docs.cloud.hazelcast.com/docs/ringbuffer)
	RingBufferConfigs []RingBufferConfigInput `json:"ringBufferConfigs,omitempty"`
	//List of Reliable Topic config for the cluster. For more information, see [ReliableTopic](https://docs.cloud.hazelcast.com/docs/reliable-topic)
	ReliableTopicConfigs []ReliableTopicConfigInput `json:"reliableTopicConfigs,omitempty"`
}

Type of all data structure input

type DataStructureResponse

type DataStructureResponse struct {
	//List of map config for the cluster. For more information, see [Map Configuration](https://docs.cloud.hazelcast.com/docs/map-configurations)
	MapConfigs []MapConfigResponse `json:"mapConfigs"`
	//List of JCache config for the cluster. For more information, see [JCache](https://docs.cloud.hazelcast.com/docs/jcache)
	JCacheConfigs []JCacheConfigResponse `json:"jCacheConfigs"`
	//List of Replicated Map config for the cluster. For more information, see [Replicated Map](https://docs.cloud.hazelcast.com/docs/replicated-map)
	ReplicatedMapConfigs []ReplicatedMapConfigResponse `json:"replicatedMapConfigs"`
	//List of Queue config for the cluster. For more information, see [Queue](https://docs.cloud.hazelcast.com/docs/queue)
	QueueConfigs []QueueConfigResponse `json:"queueConfigs"`
	//List of Set config for the cluster. For more information, see [Set](https://docs.cloud.hazelcast.com/docs/set)
	SetConfigs []SetConfigResponse `json:"setConfigs"`
	//List of List config for the cluster. For more information, see [List Configuration](https://docs.cloud.hazelcast.com/docs/list)
	ListConfigs []ListConfigResponse `json:"listConfigs"`
	//List of Topic config for the cluster. For more information, see [Topic](https://docs.cloud.hazelcast.com/docs/topic)
	TopicConfigs []TopicConfigResponse `json:"topicConfigs"`
	//List of Multi Map config for the cluster. For more information, see [MultiMap](https://docs.cloud.hazelcast.com/docs/multimap)
	MultiMapConfigs []MultiMapConfigResponse `json:"multiMapConfigs"`
	//List of Ring Buffer config for the cluster. For more information, see [RingBuffer](https://docs.cloud.hazelcast.com/docs/ringbuffer)
	RingBufferConfigs []RingBufferConfigResponse `json:"ringBufferConfigs"`
	//List of Reliable Topic config for the cluster. For more information, see [ReliableTopic](https://docs.cloud.hazelcast.com/docs/reliable-topic)
	ReliableTopicConfigs []ReliableTopicConfigResponse `json:"reliableTopicConfigs"`
}

Type of all data structure response

type DeleteArtifactInput added in v1.3.1

type DeleteArtifactInput struct {
	ClusterId       string
	CustomClassesId string
}

type DeleteAwsPeeringInput added in v1.1.0

type DeleteAwsPeeringInput struct {
	Id string `json:"id"`
}

Type of DeleteAwsPeeringInput Input

type DeleteAzurePeeringInput added in v1.1.0

type DeleteAzurePeeringInput struct {
	Id string `json:"id"`
}

Type of DeleteAzurePeeringInput Input

type DeleteGcpPeeringInput added in v1.1.0

type DeleteGcpPeeringInput struct {
	Id string `json:"id"`
}

Type of DeleteGcpPeeringInput Input

type DiscoveryToken

type DiscoveryToken struct {
	Source string `json:"source"`
	Token  string `json:"token"`
}

Discovery token of the cluster to connect Hazelcast.

type DownloadArtifactInput added in v1.3.2

type DownloadArtifactInput struct {
	ClusterId       string
	CustomClassesId string
}

type EnterpriseHazelcastVersion

type EnterpriseHazelcastVersion struct {
	Version             string   `json:"version"`
	UpgradeableVersions []string `json:"upgradeableVersions"`
}

The Hazelcast versions for Enterprise Hazelcast Version.

type EvictionPolicy

type EvictionPolicy string

Eviction policy to be applied when the size of map grows larger than the value specified by the Max Size element described below. For more information, see [Eviction Policy](https://docs.cloud.hazelcast.com/docs/map-configurations#eviction-policy)

const (
	Lru    EvictionPolicy = "LRU"
	Lfu    EvictionPolicy = "LFU"
	None   EvictionPolicy = "NONE"
	Random EvictionPolicy = "RANDOM"
)

type GcpPeering added in v1.1.0

type GcpPeering struct {
	Id          string `json:"id"`
	ProjectId   string `json:"projectId"`
	NetworkName string `json:"networkName"`
}

Type of GcpPeering list object

type GcpPeeringProperties added in v1.1.0

type GcpPeeringProperties struct {
	ProjectId   string `json:"projectId"`
	NetworkName string `json:"networkName"`
}

Type of GcpPeeringProperties to collect needed information for GCP VPC Peering Connection

type GetAwsPeeringPropertiesInput added in v1.1.0

type GetAwsPeeringPropertiesInput struct {
	ClusterId string `json:"clusterId"`
}

Type of AwsPeeringPropertiesInput to get properties

type GetAzurePeeringPropertiesInput added in v1.1.0

type GetAzurePeeringPropertiesInput struct {
	ClusterId string `json:"clusterId"`
}

Type of GetAzurePeeringPropertiesInput to get properties

type GetEnterpriseClusterInput

type GetEnterpriseClusterInput struct {
	ClusterId string `json:"clusterId"`
}

The input for Get Enterprise Cluster Input.

type GetGcpPeeringPropertiesInput added in v1.1.0

type GetGcpPeeringPropertiesInput struct {
	ClusterId string `json:"clusterId"`
}

Type of GcpPeeringPropertiesInput to get properties

type GetServerlessClusterInput added in v1.3.0

type GetServerlessClusterInput struct {
	ClusterId string `json:"clusterId"`
}

GetServerlessClusterInput represents input parameters set for serverless cluster retrieval.

type GetStarterClusterInput

type GetStarterClusterInput struct {
	ClusterId string `json:"clusterId"`
}

The input for Get Cluster.

type GraphQLError

type GraphQLError struct {
	Message   string `json:"message"`
	Locations []struct {
		Line   int `json:"line"`
		Column int `json:"column"`
	} `json:"locations"`
}

Type of graphql error

type GraphQLResponse

type GraphQLResponse interface {
	Data() interface{}
	Errors() []*GraphQLError
}

Type of graphql response

type GraphqlOperation

type GraphqlOperation string

Type of graphql operation

const (
	Mutation GraphqlOperation = "mutation"
	Query    GraphqlOperation = "query"
)

type GraphqlRequest

type GraphqlRequest struct {
	Operation  GraphqlOperation
	Name       string
	Input      interface{}
	Args       interface{}
	Response   interface{}
	UploadFile UploadFile
}

Type of graphql request

type InMemoryFormat

type InMemoryFormat string

Internal storage format. For more information, see [In Memory Format](https://docs.cloud.hazelcast.com/docs/replicated-map#in-memory-format)

const (
	Object InMemoryFormat = "OBJECT"
	Binary InMemoryFormat = "BINARY"
	Native InMemoryFormat = "NATIVE"
)

type InitialLoadMode

type InitialLoadMode string

Sets the initial load mode. For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)

const (
	Lazy  InitialLoadMode = "LAZY"
	Eager InitialLoadMode = "EAGER"
)

type InstanceType

type InstanceType struct {
	Name        string `json:"name"`
	TotalMemory int    `json:"totalMemory"`
}

Type of Instance type

type InstanceTypeInput

type InstanceTypeInput struct {
	CloudProvider string `json:"cloudProvider"`
}

Type of Instance types input

type JCacheConfigInput

type JCacheConfigInput struct {
	//Name of the JCache config.
	Name string `json:"name"`
	//Number of asynchronous backups/replications. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/jcache#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//Number of synchronous backups/replications. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/jcache#backup-count)
	BackupCount int `json:"backupCount"`
	//Eviction policy that compares values to find the best matching eviction candidate. For more information, see [Eviction Policy](https://docs.cloud.hazelcast.com/docs/jcache#eviction-policy)
	EvictionPolicy EvictionPolicy `json:"evictionPolicy"`
	//Fully qualified class name of the cache key type. For more information, see [Key Type](https://docs.cloud.hazelcast.com/docs/jcache#key-type)
	KeyType string `json:"keyType"`
	//Maximum free/used percentage or maximum size in bytes depending on the selected maxSizePolicy. For more information, see [Maximum Size](https://docs.cloud.hazelcast.com/docs/jcache#maximum-size)
	MaxSize int `json:"maxSize"`
	//Maximum size policy. If maximum size is reached, the cache is evicted based on the eviction policy. For more information, see [Max Size Policy](https://docs.cloud.hazelcast.com/docs/jcache#max-size-policy)
	MaxSizePolicy MaxSizePolicy `json:"maxSizePolicy"`
	//Time-to-live for cache entries, in seconds. For more information, see [TTL](https://docs.cloud.hazelcast.com/docs/jcache#time-to-live)
	TtlSeconds int `json:"ttlSeconds"`
	//Fully qualified class name of the cache value type. For more information, see [Value Type](https://docs.cloud.hazelcast.com/docs/jcache#value-type)
	ValueType string `json:"valueType"`
}

Type of JCache Data Structure Input

type JCacheConfigResponse

type JCacheConfigResponse struct {
	//Unique Identifier of the JCache config.
	Id string `json:"id"`
	//Name of the JCache config.
	Name string `json:"name"`
	//Number of asynchronous backups/replications. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/jcache#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//Number of synchronous backups/replications. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/jcache#backup-count)
	BackupCount int `json:"backupCount"`
	//Eviction policy that compares values to find the best matching eviction candidate. For more information, see [Eviction Policy](https://docs.cloud.hazelcast.com/docs/jcache#eviction-policy)
	EvictionPolicy string `json:"evictionPolicy"`
	//Shows that if this config is ready to use.
	IsReady bool `json:"isReady"`
	//Fully qualified class name of the cache key type. For more information, see [Key Type](https://docs.cloud.hazelcast.com/docs/jcache#key-type)
	KeyType string `json:"keyType"`
	//Maximum free/used percentage or maximum size in bytes depending on the selected maxSizePolicy. For more information, see [Maximum Size](https://docs.cloud.hazelcast.com/docs/jcache#maximum-size)
	MaxSize int `json:"maxSize"`
	//Maximum size policy. If maximum size is reached, the cache is evicted based on the eviction policy. For more information, see [Max Size Policy](https://docs.cloud.hazelcast.com/docs/jcache#max-size-policy)
	MaxSizePolicy string `json:"maxSizePolicy"`
	//Time-to-live for cache entries, in seconds. For more information, see [TTL](https://docs.cloud.hazelcast.com/docs/jcache#time-to-live)
	TtlSeconds int `json:"ttlSeconds"`
	//Fully qualified class name of the cache value type. For more information, see [Value Type](https://docs.cloud.hazelcast.com/docs/jcache#value-type)
	ValueType string `json:"valueType"`
}

Type of JCache Data Structure Response

type ListAwsPeeringsInput added in v1.1.0

type ListAwsPeeringsInput struct {
	ClusterId string `json:"clusterId"`
}

Type of Peering list Input

type ListAzurePeeringsInput added in v1.1.0

type ListAzurePeeringsInput struct {
	ClusterId string `json:"clusterId"`
}

Type of ListAzurePeeringsInput to list connections

type ListConfigInput

type ListConfigInput struct {
	//Name of the list config.
	Name string `json:"name"`
	//This value sets how many asynchronous backup will be. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/list#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//This value sets that how many synchronous backup will be. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/list#backup-count)
	BackupCount int `json:"backupCount"`
	//You can set maximum number of entries for the List you are creating with setting this value. For more information, see [Maximum Size](https://docs.cloud.hazelcast.com/docs/list#maximum-size)
	MaxSize int `json:"maxSize"`
}

Type of List Data Structure Input

type ListConfigResponse

type ListConfigResponse struct {
	//Unique Identifier of the list config.
	Id string `json:"id"`
	//Name of the list config.
	Name string `json:"name"`
	//This value sets how many asynchronous backup will be. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/list#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//This value sets that how many synchronous backup will be. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/list#backup-count)
	BackupCount int `json:"backupCount"`
	//Shows that if this config is ready to use.
	IsReady bool `json:"isReady"`
	//You can set maximum number of entries for the List you are creating with setting this value. For more information, see [Maximum Size](https://docs.cloud.hazelcast.com/docs/list#maximum-size)
	MaxSize int `json:"maxSize"`
}

Type of List Data Structure Response

type ListGcpPeeringsInput added in v1.1.0

type ListGcpPeeringsInput struct {
	ClusterId string `json:"clusterId"`
}

Type of Peering list Input

type ListUploadedArtifactsInput added in v1.3.1

type ListUploadedArtifactsInput struct {
	ClusterId string
}

type Login

type Login struct {
	Token string `json:"token"`
}

Type of login response that has token

type LoginInput

type LoginInput struct {
	ApiKey    string `json:"apiKey"`
	ApiSecret string `json:"apiSecret"`
}

Type of login input with apiKey and apiSecret

type MapConfigInput

type MapConfigInput struct {
	//Name of the map config. For more information, see [Map Name](https://docs.cloud.hazelcast.com/docs/map-configurations#map-name)
	Name string `json:"name"`
	//Number of asynchronous backups/replications. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/map-configurations#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//Number of backups/replications. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/map-configurations#backup-count)
	BackupCount int `json:"backupCount"`
	//Eviction policy to be applied when the size of map grows larger than the value specified by the Max Size element described below. For more information, see [Eviction Policy](https://docs.cloud.hazelcast.com/docs/map-configurations#eviction-policy)
	EvictionPolicy EvictionPolicy `json:"evictionPolicy"`
	//Hazelcast iterates through all the owned entries and finds the matching ones. This can be made faster by indexing the most frequently queried fields.
	MapIndices *[]string `json:"indexes,omitempty"`
	//Unique Identifier of the map store.
	MapStore *MapStoreInput `json:"mapStore,omitempty"`
	//Maximum time in seconds for each entry to stay idle in the map. For more information, see [Title](https://docs.cloud.hazelcast.com/docs/map-configurations#max-idle-seconds)
	MaxIdleSeconds int `json:"maxIdleSeconds"`
	//The percentage value when the eviction will start depending on the selected Max Size Policy. For more information, see [Max Size](https://docs.cloud.hazelcast.com/docs/map-configurations#max-size)
	MaxSize int `json:"maxSize"`
	//Policy on how to define the map's maximum size. For more information, see [Maz Size Policy](https://docs.cloud.hazelcast.com/docs/map-configurations#max-size-policy)
	MaxSizePolicy MaxSizePolicy `json:"maxSizePolicy"`
	//It is the maximum time in seconds for each entry to stay in the map. For more information, see [TTL](https://docs.cloud.hazelcast.com/docs/map-configurations#time-to-live)
	TtlSeconds int `json:"ttlSeconds"`
}

Type of Map Data Structures Input

type MapConfigResponse

type MapConfigResponse struct {
	//Unique Identifier of the map config.
	Id string `json:"id"`
	//Name of the map config. For more information, see [Map Name](https://docs.cloud.hazelcast.com/docs/map-configurations#map-name)
	Name string `json:"name"`
	//Number of asynchronous backups/replications. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/map-configurations#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//Number of backups/replications. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/map-configurations#backup-count)
	BackupCount int `json:"backupCount"`
	//Eviction policy to be applied when the size of map grows larger than the value specified by the Max Size element described below. For more information, see [Eviction Policy](https://docs.cloud.hazelcast.com/docs/map-configurations#eviction-policy)
	EvictionPolicy string `json:"evictionPolicy"`
	//Shows that if this config is ready to use.
	IsReady bool `json:"isReady"`
	//Hazelcast iterates through all the owned entries and finds the matching ones. This can be made faster by indexing the most frequently queried fields.
	MapIndices []struct {
		//Unique Identifier of the map index.
		Id string `json:"id"`
		//Name of the map index.
		Name string `json:"name"`
	} `json:"mapIndices"`
	//Unique Identifier of the map store.
	MapStore struct {
		//Name of the class implementing MapLoader and/or MapStore. For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)
		ClassName string `json:"class_name"`
		//Used to create batch chunks when writing map store. For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)
		WriteBatchSize int `json:"write_batch_size"`
		//In write-behind mode, Hazelcast coalesces updates on a specific key by default; it applies only the last update on it. For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)
		WriteCoalescing bool `json:"write_coalescing"`
		//Sets the initial load mode. For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)
		InitialLoadMode string `json:"initial_load_mode"`
		//Number of seconds to delay to call the MapStore.store(key, value). For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)
		WriteDelaySeconds int `json:"write_delay_seconds"`
	} `json:"mapStore"`
	//Maximum time in seconds for each entry to stay idle in the map. For more information, see [Title](https://docs.cloud.hazelcast.com/docs/map-configurations#max-idle-seconds)
	MaxIdleSeconds int `json:"maxIdleSeconds"`
	//The percentage value when the eviction will start depending on the selected Max Size Policy. For more information, see [Max Size](https://docs.cloud.hazelcast.com/docs/map-configurations#max-size)
	MaxSize int `json:"maxSize"`
	//Policy on how to define the map's maximum size. For more information, see [Maz Size Policy](https://docs.cloud.hazelcast.com/docs/map-configurations#max-size-policy)
	MaxSizePolicy string `json:"maxSizePolicy"`
	//It is the maximum time in seconds for each entry to stay in the map. For more information, see [TTL](https://docs.cloud.hazelcast.com/docs/map-configurations#time-to-live)
	TtlSeconds int `json:"ttlSeconds"`
}

Type of Map Config Response

type MapStoreInput

type MapStoreInput struct {
	//Name of the class implementing MapLoader and/or MapStore. For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)
	ClassName string `json:"className"`
	//Used to create batch chunks when writing map store. For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)
	WriteBatchSize int `json:"writeBatchSize"`
	//In write-behind mode, Hazelcast coalesces updates on a specific key by default; it applies only the last update on it. For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)
	WriteCoalescing bool `json:"writeCoalescing"`
	//Sets the initial load mode. For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)
	InitialLoadMode InitialLoadMode `json:"initialLoadMode"`
	//Number of seconds to delay to call the MapStore.store(key, value). For more information, see [MapLoader and MapStore](https://docs.cloud.hazelcast.com/docs/maploader-and-mapstore)
	WriteDelaySeconds int                `json:"writeDelaySeconds"`
	Properties        []MapStoreProperty `json:"properties"`
}

Type of Map Store Data Structures Input

type MapStoreProperty

type MapStoreProperty struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Type of Map Store Property Data Structures Input

type MaxSizePolicy

type MaxSizePolicy string

Policy on how to define the map's maximum size. For more information, see [Maz Size Policy](https://docs.cloud.hazelcast.com/docs/map-configurations#max-size-policy)

const (
	UsedNativeMemoryPercentage MaxSizePolicy = "USED_NATIVE_MEMORY_PERCENTAGE"
	FreeNativeMemoryPercentage MaxSizePolicy = "FREE_NATIVE_MEMORY_PERCENTAGE"
)

type MultiMapConfigInput

type MultiMapConfigInput struct {
	//Name of the MultiMap config.
	Name string `json:"name"`
	//The number of asynchronous backups. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/multimap#asynchronous-backups-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//The number of synchronous backups. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/multimap#backup-count)
	BackupCount int `json:"backupCount"`
	//Type of the value collection. For more information, see [Value Collection Type](https://docs.cloud.hazelcast.com/docs/multimap#value-collection-type)
	ValueCollectionType ValueCollectionType `json:"valueCollectionType"`
}

Type of MultiMap Data Structure Input

type MultiMapConfigResponse

type MultiMapConfigResponse struct {
	//Unique Identifier of the MultiMap config.
	Id string `json:"id"`
	//Name of the MultiMap config.
	Name string `json:"name"`
	//The number of asynchronous backups. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/multimap#asynchronous-backups-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//The number of synchronous backups. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/multimap#backup-count)
	BackupCount int `json:"backupCount"`
	//Shows that if this config is ready to use.
	IsReady bool `json:"isReady"`
	//Type of the value collection. For more information, see [Value Collection Type](https://docs.cloud.hazelcast.com/docs/multimap#value-collection-type)
	ValueCollectionType string `json:"valueCollectionType"`
}

Type of MultiMap Data Structure Response

type ProductTypeName

type ProductTypeName string

Product type Hazelcast Cloud clusters

const (
	Starter    ProductTypeName = "STARTER"
	Enterprise ProductTypeName = "ENTERPRISE"
)

type QueueConfigInput

type QueueConfigInput struct {
	//Name of the Queue config.
	Name string `json:"name"`
	//Number of asynchronous backups. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/queue#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//Number of synchronous backups. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/queue#backup-count)
	BackupCount int `json:"backupCount"`
	//Used to purge unused or empty queues. For more information, see [TTL](https://docs.cloud.hazelcast.com/docs/queue#time-to-live)
	EmptyQueueTtl int `json:"emptyQueueTtl"`
	//Maximum number of items in the queue. For more information, see [Maximum Size](https://docs.cloud.hazelcast.com/docs/queue#maximum-size)
	MaxSize int `json:"maxSize"`
}

Type of Queue Data Structure Input

type QueueConfigResponse

type QueueConfigResponse struct {
	//Unique Identifier of the Queue config.
	Id string `json:"id"`
	//Name of the Queue config.
	Name string `json:"name"`
	//Number of asynchronous backups. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/queue#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//Number of synchronous backups. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/queue#backup-count)
	BackupCount int `json:"backupCount"`
	//Used to purge unused or empty queues. For more information, see [TTL](https://docs.cloud.hazelcast.com/docs/queue#time-to-live)
	EmptyQueueTtl int `json:"emptyQueueTtl"`
	//Shows that if this config is ready to use.
	IsReady bool `json:"isReady"`
	//Maximum number of items in the queue. For more information, see [Maximum Size](https://docs.cloud.hazelcast.com/docs/queue#maximum-size)
	MaxSize int `json:"maxSize"`
}

Type of Queue Data Structure Response

type Region

type Region struct {
	Name                   string `json:"name"`
	IsEnabledForStarter    bool   `json:"isEnabledForStarter"`
	IsEnabledForEnterprise bool   `json:"isEnabledForEnterprise"`
}

Type of region

type RegionInput

type RegionInput struct {
	CloudProvider string `json:"cloudProvider"`
}

Type of region input

type ReliableTopicConfigInput

type ReliableTopicConfigInput struct {
	//Name of the ReliableTopic config.
	Name string `json:"name"`
	//The minimum number of messages that Reliable Topic tries to read in batches. For more information, see [Batch Size](https://docs.cloud.hazelcast.com/docs/reliable-topic#reliable-topic-batch-size)
	ReadBatchSize int `json:"readBatchSize"`
	//A policy to deal with an overloaded topic; so topic where there is no place to store new messages. For more information, see [Overload Policy](https://docs.cloud.hazelcast.com/docs/reliable-topic#reliable-topic-overload-policy )
	TopicOverloadPolicy TopicOverloadPolicy `json:"topicOverloadPolicy"`
}

Type of Reliable Topic Data Structure Input

type ReliableTopicConfigResponse

type ReliableTopicConfigResponse struct {
	//Unique Identifier of the ReliableTopic config.
	Id string `json:"id"`
	//Name of the ReliableTopic config.
	Name string `json:"name"`
	//Shows that if this config is ready to use.
	IsReady bool `json:"isReady"`
	//The minimum number of messages that Reliable Topic tries to read in batches. For more information, see [Batch Size](https://docs.cloud.hazelcast.com/docs/reliable-topic#reliable-topic-batch-size)
	ReadBatchSize int `json:"readBatchSize"`
	//A policy to deal with an overloaded topic; so topic where there is no place to store new messages. For more information, see [Overload Policy](https://docs.cloud.hazelcast.com/docs/reliable-topic#reliable-topic-overload-policy )
	TopicOverloadPolicy string `json:"topicOverloadPolicy"`
}

Type of Reliable Topic Data Structure Response

type ReplicatedMapConfigInput

type ReplicatedMapConfigInput struct {
	//Name of the Replicated Map config.
	Name string `json:"name"`
	//Specifies whether the Replicated Map is available for reads before the initial replication is completed. For more information, see [Asynchronous Fillup](https://docs.cloud.hazelcast.com/docs/replicated-map#asynchronous-fillup)
	AsyncFillUp bool `json:"asyncFillUp"`
	//Internal storage format. For more information, see [In Memory Format](https://docs.cloud.hazelcast.com/docs/replicated-map#in-memory-format)
	InMemoryFormat InMemoryFormat `json:"inMemoryFormat"`
}

Type of Replicated Map Data Structure Input

type ReplicatedMapConfigResponse

type ReplicatedMapConfigResponse struct {
	//Unique Identifier of the Replicated Map config.
	Id string `json:"id"`
	//Name of the Replicated Map config.
	Name string `json:"name"`
	//Shows that if this config is ready to use.
	IsReady bool `json:"isReady"`
	//Specifies whether the Replicated Map is available for reads before the initial replication is completed. For more information, see [Asynchronous Fillup](https://docs.cloud.hazelcast.com/docs/replicated-map#asynchronous-fillup)
	AsyncFillUp bool `json:"asyncFillUp"`
	//Internal storage format. For more information, see [In Memory Format](https://docs.cloud.hazelcast.com/docs/replicated-map#in-memory-format)
	InMemoryFormat string `json:"inMemoryFormat"`
}

Type of Replicated Map Data Structure Response

type Result added in v1.1.0

type Result struct {
	Status string `json:"status"`
}

Type of result for showing result of actions.

type RingBufferConfigInput

type RingBufferConfigInput struct {
	//Name of the RingBuffer config.
	Name string `json:"name"`
	//The number of asynchronous backups. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/ringbuffer#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//The number of synchronous backups. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/ringbuffer#backup-count)
	BackupCount int `json:"backupCount"`
	//Capacity of the RingBuffer. For more information, see [Capacity](https://docs.cloud.hazelcast.com/docs/ringbuffer#capacity)
	Capacity int `json:"capacity"`
	//In-memory format that controls the format of the RingBuffer’s stored items. For more information, see [In Memory Format](https://docs.cloud.hazelcast.com/docs/ringbuffer#in-memory-format)
	InMemoryFormat InMemoryFormat `json:"inMemoryFormat"`
	//The value that controls how long the items remain in the RingBuffer before they are expired. For more information, see [TTL](https://docs.cloud.hazelcast.com/docs/ringbuffer#time-to-live)
	TtlSeconds int `json:"ttlSeconds"`
}

Type of Ring Buffer Data Structure Input

type RingBufferConfigResponse

type RingBufferConfigResponse struct {
	//Unique Identifier of the RingBuffer config.
	Id string `json:"id"`
	//Name of the RingBuffer config.
	Name string `json:"name"`
	//The number of asynchronous backups. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/ringbuffer#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//The number of synchronous backups. For more information, see [Backup Count](https://docs.cloud.hazelcast.com/docs/ringbuffer#backup-count)
	BackupCount int `json:"backupCount"`
	//Shows that if this config is ready to use.
	IsReady bool `json:"isReady"`
	//Capacity of the RingBuffer. For more information, see [Capacity](https://docs.cloud.hazelcast.com/docs/ringbuffer#capacity)
	Capacity int `json:"capacity"`
	//In-memory format that controls the format of the RingBuffer’s stored items. For more information, see [In Memory Format](https://docs.cloud.hazelcast.com/docs/ringbuffer#in-memory-format)
	InMemoryFormat string `json:"inMemoryFormat"`
	//The value that controls how long the items remain in the RingBuffer before they are expired. For more information, see [TTL](https://docs.cloud.hazelcast.com/docs/ringbuffer#time-to-live)
	TtlSeconds int `json:"ttlSeconds"`
}

Type of Ring Buffer Data Structure Response

type SetConfigInput

type SetConfigInput struct {
	//Name of the Set config.
	Name string `json:"name"`
	//This value sets how many asynchronous backup will be. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/set#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//This value sets that how many synchronous backup will be. For more information, see [Backup Count]( https
	BackupCount int `json:"backupCount"`
	//You can set maximum number of entries for the set you are creating with setting this value. For more information, see [Maximum Size](https://docs.cloud.hazelcast.com/docs/set#maximum-size)
	MaxSize int `json:"maxSize"`
}

Type of Set Data Structure Input

type SetConfigResponse

type SetConfigResponse struct {
	//Unique Identifier of the Set config.
	Id string `json:"id"`
	//Name of the Set config.
	Name string `json:"name"`
	//This value sets how many asynchronous backup will be. For more information, see [Asynchronous Backup Count](https://docs.cloud.hazelcast.com/docs/set#asynchronous-backup-count)
	AsyncBackupCount int `json:"asyncBackupCount"`
	//This value sets that how many synchronous backup will be. For more information, see [Backup Count]( https
	BackupCount int `json:"backupCount"`
	//Shows that if this config is ready to use.
	IsReady bool `json:"isReady"`
	//You can set maximum number of entries for the set you are creating with setting this value. For more information, see [Maximum Size](https://docs.cloud.hazelcast.com/docs/set#maximum-size)
	MaxSize int `json:"maxSize"`
}

Type of Set Data Structure Response

type State

type State string

State of the cluster that show current status.

const (
	Running                  State = "RUNNING"
	Pending                  State = "PENDING"
	StopInProgress           State = "STOP_IN_PROGRESS"
	Stopped                  State = "STOPPED"
	DeleteInProgress         State = "DELETE_IN_PROGRESS"
	Deleted                  State = "DELETED"
	ScaleUpInProgress        State = "SCALE_UP_IN_PROGRESS"
	ScaleDownInProgress      State = "SCALE_DOWN_IN_PROGRESS"
	ScaleUp                  State = "SCALE_UP"
	ScaleDown                State = "SCALE_DOWN"
	ResumeInProgress         State = "RESUME_IN_PROGRESS"
	UpdatingClusterConfig    State = "UPDATING_CLUSTER_CONFIG"
	UpdatingInstancePerZone  State = "UPDATING_INSTANCE_PER_ZONE"
	UpdatingZones            State = "UPDATING_ZONES"
	UpdatingHazelcastVersion State = "UPDATING_HAZELCAST_VERSION"
	UpdatingInstanceType     State = "UPDATING_INSTANCE_TYPE"
	Failed                   State = "FAILED"
)

type TopicConfigInput

type TopicConfigInput struct {
	//Name of the Topic config.
	Name string `json:"name"`
	//Global ordering enables, all receivers will receive all messages from all sources with the same order. For more information, see [Global Ordering](https://docs.cloud.hazelcast.com/docs/topic#global-ordering)
	GlobalOrdering bool `json:"globalOrdering"`
}

Type of Topic Data Structure Input

type TopicConfigResponse

type TopicConfigResponse struct {
	//Unique Identifier of the Topic config.
	Id string `json:"id"`
	//Name of the Topic config.
	Name string `json:"name"`
	//Global ordering enables, all receivers will receive all messages from all sources with the same order. For more information, see [Global Ordering](https://docs.cloud.hazelcast.com/docs/topic#global-ordering)
	GlobalOrdering bool `json:"globalOrdering"`
	//Shows that if this config is ready to use.
	IsReady bool `json:"isReady"`
}

Type of Topic Data Structure Response

type TopicOverloadPolicy

type TopicOverloadPolicy string

A policy to deal with an overloaded topic; so topic where there is no place to store new messages. For more information, see [Overload Policy](https://docs.cloud.hazelcast.com/docs/reliable-topic#reliable-topic-overload-policy

const (
	DiscardOldest TopicOverloadPolicy = "DISCARD_OLDEST"
	DiscardNewest TopicOverloadPolicy = "DISCARD_NEWEST"
	Block         TopicOverloadPolicy = "BLOCK"
	Error         TopicOverloadPolicy = "ERROR"
)

type UploadArtifactArgs added in v1.3.1

type UploadArtifactArgs struct {
	ClusterId string
}

type UploadArtifactInput added in v1.3.1

type UploadArtifactInput struct {
	ClusterId string
	FileName  string
	Content   io.Reader
}

type UploadFile added in v1.3.1

type UploadFile struct {
	FileName string
	Content  io.Reader
}

type UploadedArtifact added in v1.3.1

type UploadedArtifact struct {
	Id     int    `json:"id"`
	Name   string `json:"name"`
	Status string `json:"status"`
}
type UploadedArtifactLink struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
	Url  string `json:"url"`
}

type ValueCollectionType

type ValueCollectionType string

Type of the value collection. For more information, see [Value Collection Type](https://docs.cloud.hazelcast.com/docs/multimap#value-collection-type)

const (
	Set  ValueCollectionType = "SET"
	List ValueCollectionType = "LIST"
)

type ZoneType added in v1.2.0

type ZoneType string

Zone topology type for enterprise Hazelcast Cloud clusters

const (
	ZoneTypeSingle   ZoneType = "SINGLE"
	ZoneTypeMultiple ZoneType = "MULTI"
)

Jump to

Keyboard shortcuts

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