Documentation ¶
Index ¶
- type Provisioner
- func (_m *Provisioner) DeprovisionCluster(cluster model.Cluster, operationId string) (model.Operation, apperrors.AppError)
- func (_m *Provisioner) ProvisionCluster(cluster model.Cluster, operationId string) apperrors.AppError
- func (_m *Provisioner) UpgradeCluster(clusterID string, upgradeConfig model.GardenerConfig) apperrors.AppError
- type Service
- func (_m *Service) DeprovisionRuntime(id string) (string, apperrors.AppError)
- func (_m *Service) ProvisionRuntime(config gqlschema.ProvisionRuntimeInput, tenant string, subAccount string) (*gqlschema.OperationStatus, apperrors.AppError)
- func (_m *Service) ReconnectRuntimeAgent(id string) (string, apperrors.AppError)
- func (_m *Service) RuntimeOperationStatus(id string) (*gqlschema.OperationStatus, apperrors.AppError)
- func (_m *Service) RuntimeStatus(id string) (*gqlschema.RuntimeStatus, apperrors.AppError)
- func (_m *Service) UpgradeGardenerShoot(id string, input gqlschema.UpgradeShootInput) (*gqlschema.OperationStatus, apperrors.AppError)
- type ShootProvider
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 NewProvisioner ¶
func NewProvisioner(t interface { mock.TestingT Cleanup(func()) }) *Provisioner
NewProvisioner creates a new instance of Provisioner. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Provisioner) DeprovisionCluster ¶
func (_m *Provisioner) DeprovisionCluster(cluster model.Cluster, operationId string) (model.Operation, apperrors.AppError)
DeprovisionCluster provides a mock function with given fields: cluster, operationId
func (*Provisioner) ProvisionCluster ¶
func (_m *Provisioner) ProvisionCluster(cluster model.Cluster, operationId string) apperrors.AppError
ProvisionCluster provides a mock function with given fields: cluster, operationId
func (*Provisioner) UpgradeCluster ¶
func (_m *Provisioner) UpgradeCluster(clusterID string, upgradeConfig model.GardenerConfig) apperrors.AppError
UpgradeCluster provides a mock function with given fields: clusterID, upgradeConfig
type Service ¶
Service is an autogenerated mock type for the Service type
func NewService ¶
NewService creates a new instance of Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Service) DeprovisionRuntime ¶
DeprovisionRuntime provides a mock function with given fields: id
func (*Service) ProvisionRuntime ¶
func (_m *Service) ProvisionRuntime(config gqlschema.ProvisionRuntimeInput, tenant string, subAccount string) (*gqlschema.OperationStatus, apperrors.AppError)
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) RuntimeOperationStatus ¶
func (_m *Service) RuntimeOperationStatus(id string) (*gqlschema.OperationStatus, apperrors.AppError)
RuntimeOperationStatus provides a mock function with given fields: id
func (*Service) RuntimeStatus ¶
RuntimeStatus provides a mock function with given fields: id
func (*Service) UpgradeGardenerShoot ¶
func (_m *Service) UpgradeGardenerShoot(id string, input gqlschema.UpgradeShootInput) (*gqlschema.OperationStatus, apperrors.AppError)
UpgradeGardenerShoot provides a mock function with given fields: id, input
type ShootProvider ¶
ShootProvider is an autogenerated mock type for the ShootProvider type
func NewShootProvider ¶
func NewShootProvider(t interface { mock.TestingT Cleanup(func()) }) *ShootProvider
NewShootProvider creates a new instance of ShootProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.