Documentation ¶
Index ¶
- type Platform
- func (p *Platform) DeleteFunction(deleteOptions *platform.DeleteOptions) error
- func (p *Platform) DeployFunction(deployOptions *platform.DeployOptions) (*platform.DeployResult, error)
- func (p *Platform) GetDeployRequiresRegistry() bool
- func (p *Platform) GetFunctions(getOptions *platform.GetOptions) ([]platform.Function, error)
- func (p *Platform) GetName() string
- func (p *Platform) UpdateFunction(updateOptions *platform.UpdateOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Platform ¶
type Platform struct { *platform.AbstractPlatform // contains filtered or unexported fields }
func NewPlatform ¶
NewPlatform instantiates a new local platform
func (*Platform) DeleteFunction ¶
func (p *Platform) DeleteFunction(deleteOptions *platform.DeleteOptions) error
DeleteFunction will delete a previously deployed function
func (*Platform) DeployFunction ¶
func (p *Platform) DeployFunction(deployOptions *platform.DeployOptions) (*platform.DeployResult, error)
DeployFunction will simply run a docker image
func (*Platform) GetDeployRequiresRegistry ¶
GetDeployRequiresRegistry returns true if a registry is required for deploy, false otherwise
func (*Platform) GetFunctions ¶
GetFunctions will return deployed functions
func (*Platform) UpdateFunction ¶
func (p *Platform) UpdateFunction(updateOptions *platform.UpdateOptions) error
UpdateFunction will update a previously deployed function
Click to show internal directories.
Click to hide internal directories.