heroku

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MPL-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPostAppCreateDelay    = int64(5)
	DefaultPostSpaceCreateDelay  = int64(5)
	DefaultPostDomainCreateDelay = int64(5)

	// Default custom timeouts
	DefaultAddonCreateTimeout = int64(20)
)

Variables

This section is empty.

Functions

func AddOnStateRefreshFunc

func AddOnStateRefreshFunc(client *heroku.Service, appID, addOnID string) resource.StateRefreshFunc

AddOnStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch an AddOn.

func BuildStateRefreshFunc

func BuildStateRefreshFunc(client *heroku.Service, app, id string) resource.StateRefreshFunc

Returns a resource.StateRefreshFunc that is used to watch a Build.

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

func SpacePeeringConnAccepterStateRefreshFunc

func SpacePeeringConnAccepterStateRefreshFunc(client *heroku.Service, spaceIdentity string, pcxID string) resource.StateRefreshFunc

SpaceStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Space peering connection. Connections go through a provisioning process.

func SpaceStateRefreshFunc

func SpaceStateRefreshFunc(client *heroku.Service, id string) resource.StateRefreshFunc

SpaceStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Space.

Types

type Config

type Config struct {
	Api                   *heroku.Service
	APIKey                string
	DebugHTTP             bool
	Email                 string
	Headers               http.Header
	PostAppCreateDelay    int64
	PostDomainCreateDelay int64
	PostSpaceCreateDelay  int64
	URL                   string

	// Custom Timeouts
	AddonCreateTimeout int64
}

func NewConfig

func NewConfig() *Config

func (Config) String

func (c Config) String() string

Jump to

Keyboard shortcuts

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