types

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 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 PlsRequest added in v0.2.46

type PlsRequest struct {
	Name           string
	VpcId          string
	Subnets        []string
	GeneralPort    int32
	InstancesPorts map[string]int32
	Tags           map[string]string
}

type PlsResource added in v0.2.46

type PlsResource struct {
	Type PlsResourceType
	Id   string
}

type PlsResourceType added in v0.2.46

type PlsResourceType string
const (
	PlsResourceSubnet   PlsResourceType = "subnet"
	PlsResourceLB       PlsResourceType = "loadBalancer"
	PlsResourceNic      PlsResourceType = "networkInterface"
	PlsResourcePls      PlsResourceType = "privateLinkService"
	PlsResourceTg       PlsResourceType = "targetGroup"
	PlsResourceListener PlsResourceType = "listener"
)

type PlsResourcesResponse added in v0.2.46

type PlsResourcesResponse struct {
	Resources []PlsResource
}

func (*PlsResourcesResponse) AddResource added in v0.2.46

func (r *PlsResourcesResponse) AddResource(rType PlsResourceType, id string)

type PlsResponse added in v0.2.46

type PlsResponse struct {
	Id   string
	Name 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