mocks

package
v0.0.0-...-1c44903 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provisioner

type Provisioner struct {
	mock.Mock
}

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

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) DeprovisionRuntime

func (_m *Service) DeprovisionRuntime(id string, tenant string) (string, error)

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

func (_m *Service) ReconnectRuntimeAgent(id string) (string, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL