types

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	StatehubTopologyPrefix             = "topology.statehub.csi"
	StatehubProviderTopologyLabel      = "topology.statehub.csi/provider"
	StatehubProviderScopeTopologyLabel = "topology.statehub.csi/providerScope"
	StatehubRegionTopologyLabel        = "topology.statehub.csi/region"
	StatehubVnetTopologyLabel          = "topology.statehub.csi/vnet"
	StatehubSubnetTopologyLabel        = "topology.statehub.csi/subnet"
	StatehubStatusTopologyLabel        = "topology.statehub.csi/status"
	StatehubResourceGroupTopologyLabel = "topology.statehub.csi/resourceGroup"
)

constants for statehub topology labels

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateEndpointRequest

type CreateEndpointRequest struct {
	StateID          string
	StateName        string
	DryRun           bool
	Region           string
	AvailabilityZone string
	Vnet             string
	Subnet           string
	ProviderScope    string
	ServiceURI       string
	ResourceGroup    string
}

type Endpoint added in v0.1.1

type Endpoint struct {
	Address         string `json:"address"`
	Ready           bool   `json:"ready"`
	SecurityGroupID string `json:"security_group_id"`
	ID              string `json:"id"`
}

type Metadata

type Metadata struct {
	InstanceID       string
	Region           string
	AvailabilityZone string
	Vnet             string
	Subnet           string
	CloudProvider    string
	ProviderScope    string
	ResourceGroup    string
}

type Vendor

type Vendor string

Vendor definition

const (
	Aws     Vendor = "aws"
	Azure   Vendor = "azure"
	Unknown Vendor = "unknown"
)

Typed constants

Jump to

Keyboard shortcuts

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