graalsystems

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider(config *ProviderConfig) plugin.ProviderFunc

Provider returns a terraform.ResourceProvider.

func TitleFirstWord added in v1.0.5

func TitleFirstWord(s string) string

TitleFirstWord upper case the first letter of a string.

func ToBashArg added in v1.0.5

func ToBashArg(s string) string

ToBashArg returns the Bash public name of the given string.

func ToPrivateGoName added in v1.0.5

func ToPrivateGoName(s string) string

ToPrivateGoName returns the Go private name of the given string.

func ToPublicGoName added in v1.0.5

func ToPublicGoName(s string) string

ToPrivateGoName returns the Go public name of the given string.

func UntitleFirstWord added in v1.0.5

func UntitleFirstWord(s string) string

UntitleFirstWord lower case the first letter of a string.

Types

type Meta

type Meta struct {
	// contains filtered or unexported fields
}

Meta contains config and SDK clients used by resources.

This meta value is passed into all resources.

type ProviderConfig

type ProviderConfig struct {
	// Meta can be used to override Meta that will be used by the provider.
	// This is useful for tests.
	Meta *Meta
}

ProviderConfig config can be used to provide additional config when creating provider.

func DefaultProviderConfig

func DefaultProviderConfig() *ProviderConfig

DefaultProviderConfig return default ProviderConfig struct

Jump to

Keyboard shortcuts

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