entities

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClusterAllocationIndexes = []repos.IndexField{
	{
		Field: []repos.IndexKey{
			{Key: fc.Id, Value: repos.IndexAsc},
		},
		Unique: true,
	},
	{
		Field: []repos.IndexKey{
			{Key: fc.ClusterAllocationTo, Value: repos.IndexAsc},
			{Key: fc.ClusterAllocationClusterName, Value: repos.IndexAsc},
		},
		Unique: true,
	},
	{
		Field: []repos.IndexKey{
			{Key: fc.ClusterAllocationClusterRegion, Value: repos.IndexAsc},
		},
	},
}
View Source
var PlatformEdgeClusterIndexes = []repos.IndexField{
	{
		Field: []repos.IndexKey{
			{Key: fc.Id, Value: repos.IndexAsc},
		},
		Unique: true,
	},
	{
		Field: []repos.IndexKey{
			{Key: fc.PlatformEdgeClusterName, Value: repos.IndexAsc},
		},
		Unique: true,
	},
	{
		Field: []repos.IndexKey{
			{Key: fc.PlatformEdgeClusterOwnedByAccount, Value: repos.IndexAsc},
		},
	},
}

Functions

This section is empty.

Types

type ClusterAllocation

type ClusterAllocation struct {
	repos.BaseEntity `json:",inline"`
	To               string                      `json:"to"`
	Cluster          ClusterAllocationClusterRef `json:"cluster"`
}

type ClusterAllocationClusterRef

type ClusterAllocationClusterRef struct {
	Name           string `json:"name"`
	Region         string `json:"region"`
	OwnedByAccount string `json:"owned_by_account"`
	PublicDNSHost  string `json:"public_dns_host"`
}

type PlatformEdgeCluster

type PlatformEdgeCluster struct {
	repos.BaseEntity  `json:",inline"`
	OwnedByAccount    string `json:"owned_by_account"`
	Name              string `json:"name"`
	Region            string `json:"region"`
	CloudProvider     string `json:"cloud_provider"`
	PublicDNSHostname string `json:"public_dns_hostname"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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