ibm

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBMPluginServer

type IBMPluginServer struct {
	paragliderpb.UnimplementedCloudPluginServer
	// contains filtered or unexported fields
}

func Setup

func Setup(port int, orchestratorServerAddr string) *IBMPluginServer

Setup starts up the plugin server and stores the orchestrator server address.

func (*IBMPluginServer) AddPermitListRules

AddPermitListRules attaches security group rules to the specified resource in PermitList.AssociatedResource.

func (*IBMPluginServer) CreateResource

CreateResource creates the specified resource (instance and cluster).

func (*IBMPluginServer) DeletePermitListRules

DeletePermitListRules deletes security group rules matching the attributes of the rules contained in the relevant Security group

func (*IBMPluginServer) GetPermitList

GetPermitList returns security rules of security groups associated with the specified resource.

func (*IBMPluginServer) GetUsedAddressSpaces

GetUsedAddressSpaces returns a list of address spaces used by either user's or paraglider' subnets, for each paraglider vpc.

type ResourceIDInfo

type ResourceIDInfo struct {
	ResourceGroup string `json:"resourcegroup"`
	Zone          string `json:"zone"`
	ResourceID    string `json:"resourceid"`
}

ResourceIDInfo defines the necessary fields of a resource sent in a request

Jump to

Keyboard shortcuts

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