testchangeset

package
v0.50.0-beta-2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 6 Imported by: 0 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

This section is empty.

Types

type ChangeSetAsserter

type ChangeSetAsserter interface {
	Assert(t *testing.T, cs *history.ChangeSet)
}

ChangeSetAsserter is an interface to assert if the given changeset with rules of implementations.

type HasAlias added in v0.50.0

type HasAlias struct {
	Source      string
	Destination string
}

func (*HasAlias) Assert added in v0.50.0

func (h *HasAlias) Assert(t *testing.T, cs *history.ChangeSet)

Assert implements ChangeSetAsserter.

type HasEvent

type HasEvent struct {
	ResourcePath string
}

func (*HasEvent) Assert

func (h *HasEvent) Assert(t *testing.T, cs *history.ChangeSet)

Assert implements ChangeSetAsserter.

type HasLogSummary

type HasLogSummary struct {
	WantLogSummary string
}

func (*HasLogSummary) Assert

func (h *HasLogSummary) Assert(t *testing.T, cs *history.ChangeSet)

Assert implements ChangeSetAsserter.

type HasNoRevision added in v0.50.0

type HasNoRevision struct {
	ResourcePath string
}

func (*HasNoRevision) Assert added in v0.50.0

func (r *HasNoRevision) Assert(t *testing.T, cs *history.ChangeSet)

Assert implements ChangeSetAsserter.

type HasRevision

type HasRevision struct {
	ResourcePath string
	WantRevision history.StagingResourceRevision
	CmpOpts      []cmp.Option
}

func (*HasRevision) Assert

func (r *HasRevision) Assert(t *testing.T, cs *history.ChangeSet)

Assert implements ChangeSetAsserter.

type MatchResourcePathSet

type MatchResourcePathSet struct {
	WantResourcePaths []string
}

func (*MatchResourcePathSet) Assert

func (r *MatchResourcePathSet) Assert(t *testing.T, cs *history.ChangeSet)

type MatchRevisionCount added in v0.50.0

type MatchRevisionCount struct {
	ResourcePath string
	WantCount    int
}

func (*MatchRevisionCount) Assert added in v0.50.0

func (c *MatchRevisionCount) Assert(t *testing.T, cs *history.ChangeSet)

Jump to

Keyboard shortcuts

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