orchestrator

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GetPermitListRulesURL    string = "/namespaces/:namespace/clouds/:cloud/resources/:resourceName/rules"
	PermitListRulePOSTURL    string = "/namespaces/:namespace/clouds/:cloud/resources/:resourceName/rules"
	PermitListRulePUTURL     string = "/namespaces/:namespace/clouds/:cloud/resources/:resourceName/rules/:ruleName"
	AddPermitListRulesURL    string = "/namespaces/:namespace/clouds/:cloud/resources/:resourceName/applyRules"
	DeletePermitListRulesURL string = "/namespaces/:namespace/clouds/:cloud/resources/:resourceName/deleteRules"
	CreateResourcePUTURL     string = "/namespaces/:namespace/clouds/:cloud/resources/:resourceName"
	CreateResourcePOSTURL    string = "/namespaces/:namespace/clouds/:cloud/resources"
	ListTagURL               string = "/tags"
	GetTagURL                string = "/tags/:tag"
	ResolveTagURL            string = "/tags/:tag/resolveMembers"
	SetTagURL                string = "/tags/:tag/applyMembers"
	DeleteTagURL             string = "/tags/:tag"
	DeleteTagMemberURL       string = "/tags/:tag/members/:member"
	ListNamespacesURL        string = "/namespaces"
)
View Source
const (
	MIN_PRIVATE_ASN_2BYTE uint32 = 64512
	MAX_PRIVATE_ASN_2BYTE uint32 = 65534
	MIN_PRIVATE_ASN_4BYTE uint32 = 4200000000
	MAX_PRIVATE_ASN_4BYTE uint32 = 4294967294
)

Private ASN ranges (RFC 6996)

Variables

This section is empty.

Functions

func GetFormatterString

func GetFormatterString(url string) string

Return a string usable with Sprintf for inserting URL params

func Setup

func Setup(cfg config.Config, background bool)

Setup and run the server

func SetupWithFile

func SetupWithFile(configPath string, background bool)

Setup with config file

Types

type ControllerServer

type ControllerServer struct {
	paragliderpb.UnimplementedControllerServer
	// contains filtered or unexported fields
}

func (*ControllerServer) ConnectClouds

Connects two clouds with VPN gateways

func (*ControllerServer) DeleteValue

Delete a value in the KV store

func (*ControllerServer) FindUnusedAddressSpaces

Get a new address block for a new virtual network TODO @smcclure20: Later, this should allocate more efficiently and with different size address blocks (eg, GCP needs larger than Azure since a VPC will span all regions)

func (*ControllerServer) GetUsedAddressSpaces

Gets unused address spaces across all clouds

func (*ControllerServer) GetValue

Get a value from the KV store

func (*ControllerServer) SetValue

Set a value in the KV store

type ResourceInfo

type ResourceInfo struct {
	// contains filtered or unexported fields
}

type Warning

type Warning struct {
	Message string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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