testclient

package
v0.98.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteBucket

func DeleteBucket(t *testing.T, loc location.ProjectLocation, name string) error

func InsertBuild

func InsertBuild(t *testing.T, loc location.VersionLocation, optionsPtr *UpsertBuildOptions) *packerv2.Build

func RevokeVersion

func RevokeVersion(t *testing.T, loc location.BucketLocation, fingerprint string) *packerv2.Version

func ScheduleRevokeVersion

func ScheduleRevokeVersion(t *testing.T, loc location.BucketLocation, fingerprint string, revokeAt strfmt.DateTime) *packerv2.Version

func UpsertBucket

func UpsertBucket(t *testing.T, loc location.ProjectLocation, name string) *packerv2.Bucket

func UpsertChannel

func UpsertChannel(t *testing.T, loc location.BucketLocation, name string, versionFingerprint string) *packerv2.Channel

func UpsertCompleteVersion

func UpsertCompleteVersion(t *testing.T, loc location.BucketLocation, fingerprint string, buildOpts *UpsertBuildOptions) (*packerv2.Version, *packerv2.Build)

func UpsertRegistry

func UpsertRegistry(t *testing.T, loc location.ProjectLocation, featureTier *packerv2.RegistryFeatureTier) *packerv2.Registry

func UpsertVersion

func UpsertVersion(t *testing.T, loc location.BucketLocation, fingerprint string) *packerv2.Version

func WaitForOperation

func WaitForOperation(
	t *testing.T,
	loc location.ProjectLocation,
	operationName string,
	operationID string,
)

Types

type UpsertBuildOptions

type UpsertBuildOptions struct {
	Labels        map[string]string
	Platform      string
	ComponentType string
	Artifacts     []*packerv2.CreateArtifactBody
	Complete      bool
}

Jump to

Keyboard shortcuts

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