Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotStopped is an error that is thrown when an instance is attempted // to be stopped but is found to be not running ErrNotStopped = errors.New("not stopped") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a gcs client
func (*Client) ShouldTerminate ¶
ShouldTerminate checks the current instance's status to see if it's being preempted or terminated. If so, it returns true.
Click to show internal directories.
Click to hide internal directories.