environmentscleanup

package
v0.0.0-...-fb2c256 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerClient

type BrokerClient interface {
	Deprovision(instance internal.Instance) (string, error)
}

type GardenerClient

type GardenerClient interface {
	List(opts v1.ListOptions) (*v1beta1.ShootList, error)
}

type Service

type Service struct {
	MaxShootAge   time.Duration
	LabelSelector string
	// contains filtered or unexported fields
}

func NewService

func NewService(gardenerClient GardenerClient, brokerClient BrokerClient, instanceStorage storage.Instances, logger *log.Logger, maxShootAge time.Duration, labelSelector string) *Service

func (*Service) PerformCleanup

func (s *Service) PerformCleanup() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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