2022-12-22 17:56:47 +03:00
|
|
|
// API Actor for managing Compute. This actor is a final API for admin to manage Compute
|
|
|
|
|
package compute
|
|
|
|
|
|
2023-03-17 12:54:34 +03:00
|
|
|
import "repository.basistech.ru/BASIS/decort-golang-sdk/interfaces"
|
2022-12-22 17:56:47 +03:00
|
|
|
|
|
|
|
|
// Structure for creating request to compute
|
|
|
|
|
type Compute struct {
|
|
|
|
|
client interfaces.Caller
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Builder for compute endpoints
|
|
|
|
|
func New(client interfaces.Caller) *Compute {
|
|
|
|
|
return &Compute{
|
|
|
|
|
client: client,
|
|
|
|
|
}
|
|
|
|
|
}
|