Documentation ¶
Index ¶
- func GetSkupperDataHome() string
- func GetSystemdUserHome() string
- func IsDockerContainerRunning(containerName string) (bool, error)
- func IsPodmanContainerRunning(containerName string) (bool, error)
- func SystemdUnitAvailable(gatewayName string) bool
- func SystemdUnitEnabled(gatewayName string) bool
- type BindTester
- type DeleteTester
- type ForwardTester
- type InitTester
- type UnbindTester
- type UnforwardTester
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSkupperDataHome ¶
func GetSkupperDataHome() string
func GetSystemdUserHome ¶
func GetSystemdUserHome() string
func SystemdUnitAvailable ¶
func SystemdUnitEnabled ¶
Types ¶
type BindTester ¶
BindTester runs `skupper gateway bind` and asserts that the gateway service is bound to a cluster service
func (*BindTester) Command ¶
func (b *BindTester) Command(cluster *base.ClusterContext) []string
func (*BindTester) Run ¶
func (b *BindTester) Run(cluster *base.ClusterContext) (stdout string, stderr string, err error)
type DeleteTester ¶
type DeleteTester struct { }
func (*DeleteTester) Command ¶
func (d *DeleteTester) Command(cluster *base.ClusterContext) []string
func (*DeleteTester) Run ¶
func (d *DeleteTester) Run(cluster *base.ClusterContext) (stdout string, stderr string, err error)
type ForwardTester ¶
ForwardTester runs `skupper gateway forward` and asserts that the a local port is now forwarding requests to the cluster
func (*ForwardTester) Command ¶
func (f *ForwardTester) Command(cluster *base.ClusterContext) []string
func (*ForwardTester) Run ¶
func (f *ForwardTester) Run(cluster *base.ClusterContext) (stdout string, stderr string, err error)
type InitTester ¶
InitTester runs `skupper gateway init` and asserts that the gateway is defined accordingly
func (*InitTester) Command ¶
func (i *InitTester) Command(cluster *base.ClusterContext) []string
func (*InitTester) Run ¶
func (i *InitTester) Run(cluster *base.ClusterContext) (stdout string, stderr string, err error)
type UnbindTester ¶
type UnbindTester struct {
Address string
}
UnbindTester runs `skupper gateway unbind` and asserts that the gateway service is no longer bound to a cluster service
func (*UnbindTester) Command ¶
func (b *UnbindTester) Command(cluster *base.ClusterContext) []string
func (*UnbindTester) Run ¶
func (b *UnbindTester) Run(cluster *base.ClusterContext) (stdout string, stderr string, err error)
type UnforwardTester ¶
type UnforwardTester struct {
Address string
}
UnforwardTester runs `skupper gateway unforward` and asserts that the a local port is no longer forwarding requests to the cluster
func (*UnforwardTester) Command ¶
func (f *UnforwardTester) Command(cluster *base.ClusterContext) []string
func (*UnforwardTester) Run ¶
func (f *UnforwardTester) Run(cluster *base.ClusterContext) (stdout string, stderr string, err error)
Click to show internal directories.
Click to hide internal directories.