Documentation ¶
Index ¶
- type RuntimeContext
- func (c *RuntimeContext) AppDir() string
- func (c *RuntimeContext) GetRunCmd() (*exec.Cmd, error)
- func (c *RuntimeContext) GetSpiceAppRelativePath(absolutePath string) string
- func (c *RuntimeContext) HttpEndpoint() string
- func (c *RuntimeContext) Init() error
- func (c *RuntimeContext) InstallOrUpgradeRuntime() error
- func (c *RuntimeContext) IsRuntimeInstallRequired() bool
- func (c *RuntimeContext) IsRuntimeUpgradeAvailable() (string, error)
- func (c *RuntimeContext) PodsDir() string
- func (c *RuntimeContext) RuntimeUnavailableError() error
- func (c *RuntimeContext) SpiceRuntimeDir() string
- func (c *RuntimeContext) Version() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuntimeContext ¶
type RuntimeContext struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext() *RuntimeContext
func (*RuntimeContext) AppDir ¶
func (c *RuntimeContext) AppDir() string
func (*RuntimeContext) GetSpiceAppRelativePath ¶
func (c *RuntimeContext) GetSpiceAppRelativePath(absolutePath string) string
func (*RuntimeContext) HttpEndpoint ¶
func (c *RuntimeContext) HttpEndpoint() string
func (*RuntimeContext) Init ¶
func (c *RuntimeContext) Init() error
func (*RuntimeContext) InstallOrUpgradeRuntime ¶
func (c *RuntimeContext) InstallOrUpgradeRuntime() error
func (*RuntimeContext) IsRuntimeInstallRequired ¶
func (c *RuntimeContext) IsRuntimeInstallRequired() bool
func (*RuntimeContext) IsRuntimeUpgradeAvailable ¶
func (c *RuntimeContext) IsRuntimeUpgradeAvailable() (string, error)
func (*RuntimeContext) PodsDir ¶
func (c *RuntimeContext) PodsDir() string
func (*RuntimeContext) RuntimeUnavailableError ¶
func (c *RuntimeContext) RuntimeUnavailableError() error
func (*RuntimeContext) SpiceRuntimeDir ¶
func (c *RuntimeContext) SpiceRuntimeDir() string
func (*RuntimeContext) Version ¶
func (c *RuntimeContext) Version() (string, error)
Click to show internal directories.
Click to hide internal directories.