Documentation ¶
Index ¶
- type Provisioner
- type Service
- func (_m *Service) DeprovisionRuntime(id string, tenant string) (string, error)
- func (_m *Service) ProvisionRuntime(config gqlschema.ProvisionRuntimeInput, tenant string, subAccount string) (*gqlschema.OperationStatus, error)
- func (_m *Service) ReconnectRuntimeAgent(id string) (string, error)
- func (_m *Service) RollBackLastUpgrade(runtimeID string) (*gqlschema.RuntimeStatus, error)
- func (_m *Service) RuntimeOperationStatus(id string) (*gqlschema.OperationStatus, error)
- func (_m *Service) RuntimeStatus(id string) (*gqlschema.RuntimeStatus, error)
- func (_m *Service) UpgradeRuntime(id string, config gqlschema.UpgradeRuntimeInput) (*gqlschema.OperationStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provisioner ¶
Provisioner is an autogenerated mock type for the Provisioner type
func (*Provisioner) DeprovisionCluster ¶
func (_m *Provisioner) DeprovisionCluster(cluster model.Cluster, operationId string) (model.Operation, error)
DeprovisionCluster provides a mock function with given fields: cluster, operationId
func (*Provisioner) ProvisionCluster ¶
func (_m *Provisioner) ProvisionCluster(cluster model.Cluster, operationId string) error
ProvisionCluster provides a mock function with given fields: cluster, operationId
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) DeprovisionRuntime ¶
DeprovisionRuntime provides a mock function with given fields: id, tenant
func (*Service) ProvisionRuntime ¶
func (_m *Service) ProvisionRuntime(config gqlschema.ProvisionRuntimeInput, tenant string, subAccount string) (*gqlschema.OperationStatus, error)
ProvisionRuntime provides a mock function with given fields: config, tenant, subAccount
func (*Service) ReconnectRuntimeAgent ¶
ReconnectRuntimeAgent provides a mock function with given fields: id
func (*Service) RollBackLastUpgrade ¶
func (_m *Service) RollBackLastUpgrade(runtimeID string) (*gqlschema.RuntimeStatus, error)
RollBackLastUpgrade provides a mock function with given fields: runtimeID
func (*Service) RuntimeOperationStatus ¶
func (_m *Service) RuntimeOperationStatus(id string) (*gqlschema.OperationStatus, error)
RuntimeOperationStatus provides a mock function with given fields: id
func (*Service) RuntimeStatus ¶
func (_m *Service) RuntimeStatus(id string) (*gqlschema.RuntimeStatus, error)
RuntimeStatus provides a mock function with given fields: id
func (*Service) UpgradeRuntime ¶
func (_m *Service) UpgradeRuntime(id string, config gqlschema.UpgradeRuntimeInput) (*gqlschema.OperationStatus, error)
UpgradeRuntime provides a mock function with given fields: id, config