config

package
v3.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessKey

func GetAccessKey(ctx *pulumi.Context) string

API Key used to authenticate with the rancher server

func GetApiUrl

func GetApiUrl(ctx *pulumi.Context) string

The URL to the rancher API

func GetBootstrap

func GetBootstrap(ctx *pulumi.Context) bool

Bootstrap rancher server

func GetCaCerts

func GetCaCerts(ctx *pulumi.Context) string

CA certificates used to sign rancher server tls certificates. Mandatory if self signed tls and insecure option false

func GetInsecure

func GetInsecure(ctx *pulumi.Context) bool

Allow insecure connections to Rancher. Mandatory if self signed tls and not ca_certs provided

func GetRetries deprecated

func GetRetries(ctx *pulumi.Context) int

Rancher connection retries

Deprecated: Use timeout instead

func GetSecretKey

func GetSecretKey(ctx *pulumi.Context) string

API secret used to authenticate with the rancher server

func GetTimeout added in v3.2.0

func GetTimeout(ctx *pulumi.Context) string

Rancher connection timeout (retry every 5s). Golang duration format, ex: "60s"

func GetTokenKey

func GetTokenKey(ctx *pulumi.Context) string

API token used to authenticate with the rancher server

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