Sha256: 62c7b62c7a5d504463dc932b1ea4b5ea3f8b0ce40522345fd70ecd3399f58b87
Contents?: true
Size: 900 Bytes
Versions: 36
Compression:
Stored size: 900 Bytes
Contents
package <%= package %> import ( "strconv" ) type ProgressCallbackReturn int const ( ContinueWatching = iota StopWatching = iota ) type OperationProgressCallback func(*ActionActionStatePollOutput) ProgressCallbackReturn type BlockingOperationWatcher interface { IsBlocking() bool OperationStatus() (*ActionActionStateShowResponse, error) WaitForOperation(timeout float64) (*ActionActionStatePollResponse, error) WatchOperation(timeout float64, updateIn float64, callback OperationProgressCallback) (*ActionActionStatePollResponse, error) } func convertInt64ToString(v int64) string { return strconv.FormatInt(v, 10) } func convertFloat64ToString(v float64) string { return strconv.FormatFloat(v, 'f', -1, 64) } func convertBoolToString(v bool) string { if v { return "1" } else { return "0" } } func convertResourceToString(v int64) string { return convertInt64ToString(v) }
Version data entries
36 entries across 36 versions & 1 rubygems