config

package
v0.0.0-...-44aab49 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApi

func GetApi(ctx *pulumi.Context) string

The api endpoint is https://api.contabo.com.

func GetOauth2ClientId

func GetOauth2ClientId(ctx *pulumi.Context) string

Your oauth2 client id can be found in the [Customer Control Panel](https://new.contabo.com/account/security) under the menu item account secret.

func GetOauth2ClientSecret

func GetOauth2ClientSecret(ctx *pulumi.Context) string

Your oauth2 client secret can be found in the [Customer Control Panel](https://new.contabo.com/account/security) under the menu item account secret.

func GetOauth2Pass

func GetOauth2Pass(ctx *pulumi.Context) string

API Password (this is a new password which you'll set or change in the [Customer Control Panel](https://new.contabo.com/account/security) under the menu item account secret.)

func GetOauth2User

func GetOauth2User(ctx *pulumi.Context) string

API User (your email address to login to the [Customer Control Panel](https://new.contabo.com/account/security) under the menu item account secret.

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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