util

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteResourceFromConfig

func DeleteResourceFromConfig(c *config.Config, resourceId string) error

func ExtractCloudCredentials added in v0.1.13

func ExtractCloudCredentials(ctx context.Context) (*creds.CloudCredentials, error)

func ExtractUserId

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

func InsertIntoConfig

func InsertIntoConfig[Arg proto.Message](in []Arg, c *config.Config) (*config.Resource, error)

func UpdateInConfig

func UpdateInConfig[Arg proto.Message](c *config.Config, resourceId string, in []Arg) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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