Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClaimFailure ¶
type ClaimFailure string
const ( ClaimInvalid ClaimFailure = "No such claim" ClaimRefused ClaimFailure = "Claim refused" )
type CreateTester ¶
CreateTester runs `skupper link create` and asserts output contains what is expected by the user.
func (*CreateTester) Command ¶
func (l *CreateTester) Command(platform types.Platform, cluster *base.ClusterContext) []string
func (*CreateTester) Run ¶
func (l *CreateTester) Run(platform types.Platform, cluster *base.ClusterContext) (stdout string, stderr string, err error)
type DeleteTester ¶
type DeleteTester struct {
Name string
}
DeleteTester runs `skupper link delete` and asserts output contains what is expected by the user.
func (*DeleteTester) Command ¶
func (l *DeleteTester) Command(platform types.Platform, cluster *base.ClusterContext) []string
func (*DeleteTester) Run ¶
func (l *DeleteTester) Run(platform types.Platform, cluster *base.ClusterContext) (stdout string, stderr string, err error)
type StatusTester ¶
type StatusTester struct { Name string Wait int Active bool Failure ClaimFailure }
StatusTester runs `skupper link status` based on given attributes and waits till output matches expected content or until it times out
func (*StatusTester) Command ¶
func (l *StatusTester) Command(platform types.Platform, cluster *base.ClusterContext) []string
func (*StatusTester) Run ¶
func (l *StatusTester) Run(platform types.Platform, cluster *base.ClusterContext) (stdout string, stderr string, err error)
Click to show internal directories.
Click to hide internal directories.