Documentation ¶
Overview ¶
Package bind provides interfaces and types for use when binding an app to a service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddInstanceArgs ¶
type AddInstanceArgs struct { Envs []bindTypes.ServiceEnvVar Writer io.Writer ShouldRestart bool }
type App ¶
type App interface { // GetAddresses returns the app addresses. GetAddresses() ([]string, error) // GetInternalAddresses returns the app bindable addresses inside the cluster, if any. GetInternalBindableAddresses() ([]string, error) // GetName returns the app name. GetName() string // GetUUID returns the App v4 UUID GetUUID() (string, error) // AddInstance adds an instance to the application. AddInstance(args AddInstanceArgs) error // RemoveInstance removes an instance from the application. RemoveInstance(args RemoveInstanceArgs) error }
type RemoveInstanceArgs ¶
type SetEnvArgs ¶
Click to show internal directories.
Click to hide internal directories.