wipeout

package
v0.6.16 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wipeout

func Wipeout(ctx context.Context, client connection.RegistryClient, projectID string, jobs int)

Wipeout deletes all resources in a project using the specified number of parallel worker jobs. Errors are currently not returned but are logged by the task queue as fatal errors.

Types

type DeleteApiTask

type DeleteApiTask struct {
	// contains filtered or unexported fields
}

DeleteApiTask deletes a specified API.

func NewDeleteApiTask

func NewDeleteApiTask(client connection.RegistryClient, name string) *DeleteApiTask

func (*DeleteApiTask) Run

func (task *DeleteApiTask) Run(ctx context.Context) error

func (*DeleteApiTask) String

func (task *DeleteApiTask) String() string

type DeleteArtifactTask

type DeleteArtifactTask struct {
	// contains filtered or unexported fields
}

DeleteArtifactTask deletes a specified artifact.

func NewDeleteArtifactTask

func NewDeleteArtifactTask(client connection.RegistryClient, name string) *DeleteArtifactTask

func (*DeleteArtifactTask) Run

func (task *DeleteArtifactTask) Run(ctx context.Context) error

func (*DeleteArtifactTask) String

func (task *DeleteArtifactTask) String() string

type DeleteDeploymentTask

type DeleteDeploymentTask struct {
	// contains filtered or unexported fields
}

DeleteDeploymentTask deletes a specified deployment.

func NewDeleteDeploymentTask

func NewDeleteDeploymentTask(client connection.RegistryClient, name string) *DeleteDeploymentTask

func (*DeleteDeploymentTask) Run

func (task *DeleteDeploymentTask) Run(ctx context.Context) error

func (*DeleteDeploymentTask) String

func (task *DeleteDeploymentTask) String() string

type DeleteSpecTask

type DeleteSpecTask struct {
	// contains filtered or unexported fields
}

DeleteSpecTask deletes a specified spec.

func NewDeleteSpecTask

func NewDeleteSpecTask(client connection.RegistryClient, name string) *DeleteSpecTask

func (*DeleteSpecTask) Run

func (task *DeleteSpecTask) Run(ctx context.Context) error

func (*DeleteSpecTask) String

func (task *DeleteSpecTask) String() string

type DeleteVersionTask

type DeleteVersionTask struct {
	// contains filtered or unexported fields
}

DeleteVersionTask deletes a specified version.

func NewDeleteVersionTask

func NewDeleteVersionTask(client connection.RegistryClient, name string) *DeleteVersionTask

func (*DeleteVersionTask) Run

func (task *DeleteVersionTask) Run(ctx context.Context) error

func (*DeleteVersionTask) String

func (task *DeleteVersionTask) String() string

Jump to

Keyboard shortcuts

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