foundation

package
v0.10.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Name      string
	CfHomeDir string
	CF        func(cfHomeDir string, args ...string) (string, error)
}

func New

func New(name, cfHomeDir string) Handler

func (Handler) CreateCredentialsKey

func (h Handler) CreateCredentialsKey(instanceName string) (key string, err error)

func (Handler) CreateHostInfoKey

func (h Handler) CreateHostInfoKey(instanceName string) (key string, err error)

func (Handler) ID

func (h Handler) ID() string

func (Handler) InstanceExists

func (h Handler) InstanceExists(instanceName string) error

func (Handler) InstancePlanName

func (h Handler) InstancePlanName(instanceName string) (string, error)

func (Handler) PlanExists

func (h Handler) PlanExists(planName string) (err error)

func (Handler) UpdateServiceAndWait

func (h Handler) UpdateServiceAndWait(instanceName string, arbitraryParams string, planName *string) error

Jump to

Keyboard shortcuts

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