utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Overview

Package utils contains utility and printer functions for cli.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DereferencePointer

func DereferencePointer(value interface{}) interface{}

DereferencePointer dereferences pointer.

func GetAccountID

func GetAccountID(ctx context.Context) (string, error)

GetAccountID returns IBM cloud account ID of API key used.

func GetResourceGroupID

func GetResourceGroupID(ctx context.Context, resourceGroup string, accountID string) (string, error)

GetResourceGroupID returns ID of given resource group name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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