ibmcloud

package
v0.0.0-...-445d89e Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceInstanceID = "service-instance-id"
	APIKey            = "api-key"
	Region            = "region"
	Zone              = "zone"
	ResourceGroup     = "resource-group"
)

Variables

This section is empty.

Functions

func UpdateResource

func UpdateResource(r *common.Resource, apikey string)

Updates user data of the resource

Types

type PowerVSResourceData

type PowerVSResourceData struct {
	ServiceInstanceID string
	Zone              string
}

func GetPowerVSResourceData

func GetPowerVSResourceData(r *common.Resource) (*PowerVSResourceData, error)

Fetches the resource user data for type powervs-service

type VPCResourceData

type VPCResourceData struct {
	Region        string
	ResourceGroup string
}

func GetVPCResourceData

func GetVPCResourceData(r *common.Resource) (*VPCResourceData, error)

Fetches the resource user data for type vpc-service

Jump to

Keyboard shortcuts

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