app

package
v1.7.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotMatchRevision = errors.Errorf("failed to find revision matching the application")

ErrNotMatchRevision -

View Source
var ErrPublishVersionNotChange = errors.Errorf("the PublishVersion is not changed")

ErrPublishVersionNotChange -

View Source
var ErrRevisionNotChange = errors.Errorf("the revision is not changed")

ErrRevisionNotChange -

Functions

func RollbackApplicationWithRevision

func RollbackApplicationWithRevision(ctx context.Context, cli client.Client, appName, appNamespace, revisionName, publishVersion string) (*v1beta1.ApplicationRevision, *v1beta1.Application, error)

RollbackApplicationWithRevision make the exist application rollback to specified revision.

Types

This section is empty.

Jump to

Keyboard shortcuts

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