Documentation ¶
Index ¶
- type Client
- type State
- type Synchronized
- func (s *Synchronized) ConnectionDetails() (*types.ConnectionDetails, error)
- func (s *Synchronized) CurrentState() State
- func (s *Synchronized) Delete() error
- func (s *Synchronized) Exists() (bool, error)
- func (s *Synchronized) GenerateBundle(forceStop bool) error
- func (s *Synchronized) GetConsoleURL() (*types.ConsoleResult, error)
- func (s *Synchronized) GetName() string
- func (s *Synchronized) IsRunning() (bool, error)
- func (s *Synchronized) PowerOff() error
- func (s *Synchronized) Start(ctx context.Context, startConfig types.StartConfig) (*types.StartResult, error)
- func (s *Synchronized) Status() (*types.ClusterStatusResult, error)
- func (s *Synchronized) Stop() (state.State, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v1.15.0
type Client interface { GetName() string GetConsoleURL() (*types.ConsoleResult, error) ConnectionDetails() (*types.ConnectionDetails, error) Delete() error Exists() (bool, error) PowerOff() error Start(ctx context.Context, startConfig types.StartConfig) (*types.StartResult, error) Status() (*types.ClusterStatusResult, error) Stop() (state.State, error) IsRunning() (bool, error) GenerateBundle(forceStop bool) error }
type Synchronized ¶ added in v1.25.0
type Synchronized struct {
// contains filtered or unexported fields
}
func NewSynchronizedMachine ¶ added in v1.25.0
func NewSynchronizedMachine(machine Client) *Synchronized
func (*Synchronized) ConnectionDetails ¶ added in v1.26.0
func (s *Synchronized) ConnectionDetails() (*types.ConnectionDetails, error)
func (*Synchronized) CurrentState ¶ added in v1.25.0
func (s *Synchronized) CurrentState() State
func (*Synchronized) Delete ¶ added in v1.25.0
func (s *Synchronized) Delete() error
func (*Synchronized) Exists ¶ added in v1.25.0
func (s *Synchronized) Exists() (bool, error)
func (*Synchronized) GenerateBundle ¶ added in v1.26.0
func (s *Synchronized) GenerateBundle(forceStop bool) error
func (*Synchronized) GetConsoleURL ¶ added in v1.25.0
func (s *Synchronized) GetConsoleURL() (*types.ConsoleResult, error)
func (*Synchronized) GetName ¶ added in v1.25.0
func (s *Synchronized) GetName() string
func (*Synchronized) IsRunning ¶ added in v1.25.0
func (s *Synchronized) IsRunning() (bool, error)
func (*Synchronized) PowerOff ¶ added in v1.25.0
func (s *Synchronized) PowerOff() error
func (*Synchronized) Start ¶ added in v1.25.0
func (s *Synchronized) Start(ctx context.Context, startConfig types.StartConfig) (*types.StartResult, error)
func (*Synchronized) Status ¶ added in v1.25.0
func (s *Synchronized) Status() (*types.ClusterStatusResult, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.