Documentation ¶
Index ¶
- Constants
- func FindDriverLogs(command []string) (string, error)
- func GetSnapshotClient(namespace string, client *k8sclient.KubeClient) (*snapv1client.SnapshotClient, *snapbetaclient.SnapshotClient, error)
- type BlockSnapSuite
- func (bss *BlockSnapSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (bss *BlockSnapSuite) GetName() string
- func (*BlockSnapSuite) GetNamespace() string
- func (*BlockSnapSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (bss *BlockSnapSuite) Parameters() string
- func (bss *BlockSnapSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type CapacityTrackingSuite
- func (cts *CapacityTrackingSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (cts *CapacityTrackingSuite) GetName() string
- func (cts *CapacityTrackingSuite) GetNamespace() string
- func (cts *CapacityTrackingSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (cts *CapacityTrackingSuite) Parameters() string
- func (cts *CapacityTrackingSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type CloneVolumeSuite
- func (cs *CloneVolumeSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (cs *CloneVolumeSuite) GetName() string
- func (*CloneVolumeSuite) GetNamespace() string
- func (cs *CloneVolumeSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (cs *CloneVolumeSuite) Parameters() string
- func (cs *CloneVolumeSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type ClonedVolDeletionSuite
- func (pds *ClonedVolDeletionSuite) GetClients(_ string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (pds *ClonedVolDeletionSuite) GetName() string
- func (pds *ClonedVolDeletionSuite) GetNamespace() string
- func (*ClonedVolDeletionSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (pds *ClonedVolDeletionSuite) Parameters() string
- func (pds *ClonedVolDeletionSuite) Run(ctx context.Context, _ string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type DeletionStruct
- type EphemeralVolumeSuite
- func (*EphemeralVolumeSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (ep *EphemeralVolumeSuite) GetName() string
- func (*EphemeralVolumeSuite) GetNamespace() string
- func (*EphemeralVolumeSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (ep *EphemeralVolumeSuite) Parameters() string
- func (ep *EphemeralVolumeSuite) Run(ctx context.Context, _ string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type Interface
- type MultiAttachSuite
- func (mas *MultiAttachSuite) GenerateTopologySpreadConstraints(nodeCount int, labels map[string]string) []v1.TopologySpreadConstraint
- func (mas *MultiAttachSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (mas *MultiAttachSuite) GetName() string
- func (*MultiAttachSuite) GetNamespace() string
- func (mas *MultiAttachSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (mas *MultiAttachSuite) Parameters() string
- func (mas *MultiAttachSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type NodeDrainSuite
- func (nds *NodeDrainSuite) GetClients(_ string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (nds *NodeDrainSuite) GetName() string
- func (nds *NodeDrainSuite) GetNamespace() string
- func (*NodeDrainSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (nds *NodeDrainSuite) Parameters() string
- func (nds *NodeDrainSuite) Run(ctx context.Context, _ string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type NodeUncordonSuite
- func (nds *NodeUncordonSuite) GetClients(_ string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (nds *NodeUncordonSuite) GetName() string
- func (nds *NodeUncordonSuite) GetNamespace() string
- func (*NodeUncordonSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (nds *NodeUncordonSuite) Parameters() string
- func (nds *NodeUncordonSuite) Run(ctx context.Context, _ string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type PodDeletionSuite
- func (pds *PodDeletionSuite) GetClients(_ string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (pds *PodDeletionSuite) GetName() string
- func (pds *PodDeletionSuite) GetNamespace() string
- func (*PodDeletionSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (pds *PodDeletionSuite) Parameters() string
- func (pds *PodDeletionSuite) Run(ctx context.Context, _ string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type PostgresqlSuite
- func (*PostgresqlSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (ps *PostgresqlSuite) GetName() string
- func (*PostgresqlSuite) GetNamespace() string
- func (*PostgresqlSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (ps *PostgresqlSuite) Parameters() string
- func (ps *PostgresqlSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type ProvisioningSuite
- func (*ProvisioningSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (ps *ProvisioningSuite) GetName() string
- func (*ProvisioningSuite) GetNamespace() string
- func (*ProvisioningSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (ps *ProvisioningSuite) Parameters() string
- func (ps *ProvisioningSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type RemoteReplicationProvisioningSuite
- func (*RemoteReplicationProvisioningSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (rrps *RemoteReplicationProvisioningSuite) GetName() string
- func (*RemoteReplicationProvisioningSuite) GetNamespace() string
- func (*RemoteReplicationProvisioningSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (rrps *RemoteReplicationProvisioningSuite) Parameters() string
- func (rrps *RemoteReplicationProvisioningSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type ReplicationSuite
- func (rs *ReplicationSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (*ReplicationSuite) GetName() string
- func (*ReplicationSuite) GetNamespace() string
- func (rs *ReplicationSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (rs *ReplicationSuite) Parameters() string
- func (rs *ReplicationSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type ScalingSuite
- func (ss *ScalingSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (ss *ScalingSuite) GetName() string
- func (ss *ScalingSuite) GetNamespace() string
- func (ss *ScalingSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (ss *ScalingSuite) Parameters() string
- func (ss *ScalingSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type SnapSuite
- func (ss *SnapSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (ss *SnapSuite) GetName() string
- func (*SnapSuite) GetNamespace() string
- func (*SnapSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (ss *SnapSuite) Parameters() string
- func (ss *SnapSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type SnapshotDeletionSuite
- func (sds *SnapshotDeletionSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (sds *SnapshotDeletionSuite) GetName() string
- func (sds *SnapshotDeletionSuite) GetNamespace() string
- func (*SnapshotDeletionSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (sds *SnapshotDeletionSuite) Parameters() string
- func (sds *SnapshotDeletionSuite) Run(ctx context.Context, _ string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type VolumeCreationSuite
- func (*VolumeCreationSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (vcs *VolumeCreationSuite) GetName() string
- func (*VolumeCreationSuite) GetNamespace() string
- func (*VolumeCreationSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (vcs *VolumeCreationSuite) Parameters() string
- func (vcs *VolumeCreationSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type VolumeDeletionSuite
- func (vds *VolumeDeletionSuite) GetClients(_ string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (vds *VolumeDeletionSuite) GetName() string
- func (vds *VolumeDeletionSuite) GetNamespace() string
- func (*VolumeDeletionSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (vds *VolumeDeletionSuite) Parameters() string
- func (vds *VolumeDeletionSuite) Run(ctx context.Context, _ string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type VolumeExpansionSuite
- func (*VolumeExpansionSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (ves *VolumeExpansionSuite) GetName() string
- func (*VolumeExpansionSuite) GetNamespace() string
- func (*VolumeExpansionSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (ves *VolumeExpansionSuite) Parameters() string
- func (ves *VolumeExpansionSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type VolumeGroupSnapSuite
- func (vgs *VolumeGroupSnapSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (vgs *VolumeGroupSnapSuite) GetName() string
- func (*VolumeGroupSnapSuite) GetNamespace() string
- func (*VolumeGroupSnapSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (vgs *VolumeGroupSnapSuite) Parameters() string
- func (vgs *VolumeGroupSnapSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type VolumeHealthMetricsSuite
- func (*VolumeHealthMetricsSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (vh *VolumeHealthMetricsSuite) GetName() string
- func (*VolumeHealthMetricsSuite) GetNamespace() string
- func (*VolumeHealthMetricsSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (vh *VolumeHealthMetricsSuite) Parameters() string
- func (vh *VolumeHealthMetricsSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type VolumeIoSuite
- func (*VolumeIoSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (*VolumeIoSuite) GetName() string
- func (*VolumeIoSuite) GetNamespace() string
- func (*VolumeIoSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (vis *VolumeIoSuite) Parameters() string
- func (vis *VolumeIoSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
- type VolumeMigrateSuite
- func (vms *VolumeMigrateSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
- func (vms *VolumeMigrateSuite) GetName() string
- func (*VolumeMigrateSuite) GetNamespace() string
- func (*VolumeMigrateSuite) GetObservers(obsType observer.Type) []observer.Interface
- func (vms *VolumeMigrateSuite) Parameters() string
- func (vms *VolumeMigrateSuite) Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error)
Constants ¶
const ( // DefaultSnapPrefix is snapshot prefix DefaultSnapPrefix = "snap" // ControllerLogsSleepTime is controller logs sleep time ControllerLogsSleepTime = 20 )
Variables ¶
This section is empty.
Functions ¶
func FindDriverLogs ¶
FindDriverLogs executes command and returns the output
func GetSnapshotClient ¶
func GetSnapshotClient(namespace string, client *k8sclient.KubeClient) (*snapv1client.SnapshotClient, *snapbetaclient.SnapshotClient, error)
GetSnapshotClient returns snapshot client
Types ¶
type BlockSnapSuite ¶
type BlockSnapSuite struct { SnapClass string VolumeSize string Description string AccessMode string Image string }
BlockSnapSuite is used to manage block snapshot test suite
func (*BlockSnapSuite) GetClients ¶
func (bss *BlockSnapSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, va, metrics, snapshot clients
func (*BlockSnapSuite) GetName ¶
func (bss *BlockSnapSuite) GetName() string
GetName returns block snap test suite name
func (*BlockSnapSuite) GetNamespace ¶
func (*BlockSnapSuite) GetNamespace() string
GetNamespace returns block snap test suite namespace
func (*BlockSnapSuite) GetObservers ¶
func (*BlockSnapSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*BlockSnapSuite) Parameters ¶
func (bss *BlockSnapSuite) Parameters() string
Parameters returns formatted string of parameters
type CapacityTrackingSuite ¶
type CapacityTrackingSuite struct { DriverNamespace string StorageClass string VolumeSize string Image string PollInterval time.Duration }
CapacityTrackingSuite is used to manage storage capacity tracking test suite
func (*CapacityTrackingSuite) GetClients ¶
func (cts *CapacityTrackingSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, va, metrics, storage class, CSI storage capacity clients
func (*CapacityTrackingSuite) GetName ¶
func (cts *CapacityTrackingSuite) GetName() string
GetName returns storage capacity tracking suite name
func (*CapacityTrackingSuite) GetNamespace ¶
func (cts *CapacityTrackingSuite) GetNamespace() string
GetNamespace returns storage capacity tracking suite namespace
func (*CapacityTrackingSuite) GetObservers ¶
func (cts *CapacityTrackingSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*CapacityTrackingSuite) Parameters ¶
func (cts *CapacityTrackingSuite) Parameters() string
Parameters returns formatted string of parameters
type CloneVolumeSuite ¶
type CloneVolumeSuite struct { VolumeNumber int VolumeSize string PodNumber int CustomPvcName string CustomPodName string Description string AccessMode string Image string }
CloneVolumeSuite is used to manage clone volume suite test suite
func (*CloneVolumeSuite) GetClients ¶
func (cs *CloneVolumeSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, va, metrics clients
func (*CloneVolumeSuite) GetName ¶
func (cs *CloneVolumeSuite) GetName() string
GetName returns clone volume suite test name
func (*CloneVolumeSuite) GetNamespace ¶
func (*CloneVolumeSuite) GetNamespace() string
GetNamespace returns clone volume suite test namespace
func (*CloneVolumeSuite) GetObservers ¶
func (cs *CloneVolumeSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*CloneVolumeSuite) Parameters ¶
func (cs *CloneVolumeSuite) Parameters() string
Parameters returns formatted string of parameters
type ClonedVolDeletionSuite ¶
type ClonedVolDeletionSuite struct { *DeletionStruct PodName string }
ClonedVolDeletionSuite is used to manage cloned volume deletion test suite
func (*ClonedVolDeletionSuite) GetClients ¶
func (pds *ClonedVolDeletionSuite) GetClients(_ string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pod, pvc, metrics, va clients
func (*ClonedVolDeletionSuite) GetName ¶
func (pds *ClonedVolDeletionSuite) GetName() string
GetName returns cloned volume deletion test suite name
func (*ClonedVolDeletionSuite) GetNamespace ¶
func (pds *ClonedVolDeletionSuite) GetNamespace() string
GetNamespace returns cloned volume deletion suite namespace
func (*ClonedVolDeletionSuite) GetObservers ¶
func (*ClonedVolDeletionSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns pod, pvc, va, entitynumber, containermetrics observers
func (*ClonedVolDeletionSuite) Parameters ¶
func (pds *ClonedVolDeletionSuite) Parameters() string
Parameters returns format string
type DeletionStruct ¶
DeletionStruct is used by volume deletion suite
type EphemeralVolumeSuite ¶
type EphemeralVolumeSuite struct { PodCustomName string Description string PodNumber int Driver string FSType string Image string VolumeAttributes map[string]string }
EphemeralVolumeSuite is used to manage ephemeral volume test suite
func (*EphemeralVolumeSuite) GetClients ¶
func (*EphemeralVolumeSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pod, va, metrics clients
func (*EphemeralVolumeSuite) GetName ¶
func (ep *EphemeralVolumeSuite) GetName() string
GetName returns ephemeral volume suite name
func (*EphemeralVolumeSuite) GetNamespace ¶
func (*EphemeralVolumeSuite) GetNamespace() string
GetNamespace returns ephemeral volume suite namespace
func (*EphemeralVolumeSuite) GetObservers ¶
func (*EphemeralVolumeSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns pod, va, containermetrics observers
func (*EphemeralVolumeSuite) Parameters ¶
func (ep *EphemeralVolumeSuite) Parameters() string
Parameters returns parameters string
type Interface ¶
type Interface interface { Run(ctx context.Context, storageClass string, clients *k8sclient.Clients) (delFunc func() error, e error) GetName() string GetObservers(obsType observer.Type) []observer.Interface GetClients(string, *k8sclient.KubeClient) (*k8sclient.Clients, error) GetNamespace() string Parameters() string }
Interface contains common function specifications
type MultiAttachSuite ¶
type MultiAttachSuite struct { PodNumber int RawBlock bool Description string AccessMode string VolumeSize string Image string }
MultiAttachSuite is used to manage multi attach test suite
func (*MultiAttachSuite) GenerateTopologySpreadConstraints ¶
func (mas *MultiAttachSuite) GenerateTopologySpreadConstraints(nodeCount int, labels map[string]string) []v1.TopologySpreadConstraint
GenerateTopologySpreadConstraints creates and returns topology spread constraints
func (*MultiAttachSuite) GetClients ¶
func (mas *MultiAttachSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, va, metrics (and node) clients
func (*MultiAttachSuite) GetName ¶
func (mas *MultiAttachSuite) GetName() string
GetName returns multi attach suite name
func (*MultiAttachSuite) GetNamespace ¶
func (*MultiAttachSuite) GetNamespace() string
GetNamespace returns multi attach suite namespace
func (*MultiAttachSuite) GetObservers ¶
func (mas *MultiAttachSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*MultiAttachSuite) Parameters ¶
func (mas *MultiAttachSuite) Parameters() string
Parameters returns formatted string of parameters
type NodeDrainSuite ¶
type NodeDrainSuite struct { Name string Namespace string Description string DisableEviction bool GracePeriodSeconds int }
NodeDrainSuite is used to manage node drain test suite
func (*NodeDrainSuite) GetClients ¶
func (nds *NodeDrainSuite) GetClients(_ string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns node, pod, pvc, va, statefulset, metrics clients
func (*NodeDrainSuite) GetName ¶
func (nds *NodeDrainSuite) GetName() string
GetName returns node drain suite name
func (*NodeDrainSuite) GetNamespace ¶
func (nds *NodeDrainSuite) GetNamespace() string
GetNamespace returns node drain suite namespace
func (*NodeDrainSuite) GetObservers ¶
func (*NodeDrainSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns pod, pvc, va, entitynumber, containermetrics observers
func (*NodeDrainSuite) Parameters ¶
func (nds *NodeDrainSuite) Parameters() string
Parameters returns format string
type NodeUncordonSuite ¶
NodeUncordonSuite is used to manage node uncordon test suite
func (*NodeUncordonSuite) GetClients ¶
func (nds *NodeUncordonSuite) GetClients(_ string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns node, pod, pvc, va, metrics clients
func (*NodeUncordonSuite) GetName ¶
func (nds *NodeUncordonSuite) GetName() string
GetName returns node uncordon test suite name
func (*NodeUncordonSuite) GetNamespace ¶
func (nds *NodeUncordonSuite) GetNamespace() string
GetNamespace returns node uncordon suite namespace
func (*NodeUncordonSuite) GetObservers ¶
func (*NodeUncordonSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns pod, pvc, va, entitynumber, containermetrics observers
func (*NodeUncordonSuite) Parameters ¶
func (nds *NodeUncordonSuite) Parameters() string
Parameters returns format string
type PodDeletionSuite ¶
type PodDeletionSuite struct {
*DeletionStruct
}
PodDeletionSuite is used for managing pod deletion test suite
func (*PodDeletionSuite) GetClients ¶
func (pds *PodDeletionSuite) GetClients(_ string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pod, pvc, va, metrics clients
func (*PodDeletionSuite) GetName ¶
func (pds *PodDeletionSuite) GetName() string
GetName returns pod deletion suite name
func (*PodDeletionSuite) GetNamespace ¶
func (pds *PodDeletionSuite) GetNamespace() string
GetNamespace returns pod deletion suite namespace
func (*PodDeletionSuite) GetObservers ¶
func (*PodDeletionSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns pod, pvc, va, entitynumber, containermetrics observers
func (*PodDeletionSuite) Parameters ¶
func (pds *PodDeletionSuite) Parameters() string
Parameters returns format string
type PostgresqlSuite ¶
type PostgresqlSuite struct { ConfigPath string VolumeSize string EnableReplication bool Image string SlaveReplicas int }
PostgresqlSuite configuration struct
func (*PostgresqlSuite) GetClients ¶
func (*PostgresqlSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, va, metrics clients
func (*PostgresqlSuite) GetName ¶
func (ps *PostgresqlSuite) GetName() string
GetName returns PostgresqlSuite name
func (*PostgresqlSuite) GetNamespace ¶
func (*PostgresqlSuite) GetNamespace() string
GetNamespace returns PostgresqlSuite namespace
func (*PostgresqlSuite) GetObservers ¶
func (*PostgresqlSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*PostgresqlSuite) Parameters ¶
func (ps *PostgresqlSuite) Parameters() string
Parameters returns formatted string of parameters
type ProvisioningSuite ¶
type ProvisioningSuite struct { VolumeNumber int VolumeSize string PodCustomName string Description string PodNumber int RawBlock bool VolAccessMode string ROFlag bool Image string }
ProvisioningSuite is used to manage provisioning test suite
func (*ProvisioningSuite) GetClients ¶
func (*ProvisioningSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients returns pvc, pod, va, metrics clients
func (*ProvisioningSuite) GetName ¶
func (ps *ProvisioningSuite) GetName() string
GetName returns provisioning suite name
func (*ProvisioningSuite) GetNamespace ¶
func (*ProvisioningSuite) GetNamespace() string
GetNamespace returns provisioning suite namespace
func (*ProvisioningSuite) GetObservers ¶
func (*ProvisioningSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*ProvisioningSuite) Parameters ¶
func (ps *ProvisioningSuite) Parameters() string
Parameters returns formatted string of parameters
type RemoteReplicationProvisioningSuite ¶
type RemoteReplicationProvisioningSuite struct { VolumeNumber int VolumeSize string Description string VolAccessMode string RemoteConfigPath string NoFailover bool Image string }
RemoteReplicationProvisioningSuite is used to manage remote replication provisioning test suite
func (*RemoteReplicationProvisioningSuite) GetClients ¶
func (*RemoteReplicationProvisioningSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, pv, va, metrics, sc, rg clients
func (*RemoteReplicationProvisioningSuite) GetName ¶
func (rrps *RemoteReplicationProvisioningSuite) GetName() string
GetName returns remote replication provisioning suite name
func (*RemoteReplicationProvisioningSuite) GetNamespace ¶
func (*RemoteReplicationProvisioningSuite) GetNamespace() string
GetNamespace returns remote replication provisioning suite namespace
func (*RemoteReplicationProvisioningSuite) GetObservers ¶
func (*RemoteReplicationProvisioningSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*RemoteReplicationProvisioningSuite) Parameters ¶
func (rrps *RemoteReplicationProvisioningSuite) Parameters() string
Parameters returns formatted string of parameters
type ReplicationSuite ¶
type ReplicationSuite struct { VolumeNumber int VolumeSize string PodNumber int SnapClass string Image string }
ReplicationSuite is used to manage replication test suite
func (*ReplicationSuite) GetClients ¶
func (rs *ReplicationSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, va, metrics, snapshot clients
func (*ReplicationSuite) GetName ¶
func (*ReplicationSuite) GetName() string
GetName returns replication suite name
func (*ReplicationSuite) GetNamespace ¶
func (*ReplicationSuite) GetNamespace() string
GetNamespace returns replication suite namespace
func (*ReplicationSuite) GetObservers ¶
func (rs *ReplicationSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*ReplicationSuite) Parameters ¶
func (rs *ReplicationSuite) Parameters() string
Parameters returns formatted string of parameters
type ScalingSuite ¶
type ScalingSuite struct { ReplicaNumber int VolumeNumber int GradualScaleDown bool PodPolicy string VolumeSize string Image string }
ScalingSuite is used to manage scaling test suite
func (*ScalingSuite) GetClients ¶
func (ss *ScalingSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, va, statefulset, metrics clients
func (*ScalingSuite) GetName ¶
func (ss *ScalingSuite) GetName() string
GetName returns scaling test suite name
func (*ScalingSuite) GetNamespace ¶
func (ss *ScalingSuite) GetNamespace() string
GetNamespace returns scaling test suite namespace
func (*ScalingSuite) GetObservers ¶
func (ss *ScalingSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*ScalingSuite) Parameters ¶
func (ss *ScalingSuite) Parameters() string
Parameters returns formatted string of parameters
type SnapSuite ¶
type SnapSuite struct { SnapAmount int SnapClass string VolumeSize string Description string CustomSnapName string AccessModeOriginal string AccessModeRestored string Image string }
SnapSuite is used to manage snap test suite
func (*SnapSuite) GetClients ¶
func (ss *SnapSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, va, metrics, snapsnot clients
func (*SnapSuite) GetNamespace ¶
GetNamespace returns snap suite namespaces
func (*SnapSuite) GetObservers ¶
GetObservers returns all observers
func (*SnapSuite) Parameters ¶
Parameters returns formatted string of paramters
type SnapshotDeletionSuite ¶
type SnapshotDeletionSuite struct {
*DeletionStruct
}
SnapshotDeletionSuite is used for managing snapshot deletion test suite
func (*SnapshotDeletionSuite) GetClients ¶
func (sds *SnapshotDeletionSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pod, pvc, va, metrics, snapshot clients
func (*SnapshotDeletionSuite) GetName ¶
func (sds *SnapshotDeletionSuite) GetName() string
GetName returns snapshot deletion suite name
func (*SnapshotDeletionSuite) GetNamespace ¶
func (sds *SnapshotDeletionSuite) GetNamespace() string
GetNamespace returns snapshot deletion suite namespace
func (*SnapshotDeletionSuite) GetObservers ¶
func (*SnapshotDeletionSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns pod, pvc, va, entitynumber and containermetrics observers
func (*SnapshotDeletionSuite) Parameters ¶
func (sds *SnapshotDeletionSuite) Parameters() string
Parameters returns format string
type VolumeCreationSuite ¶
type VolumeCreationSuite struct { VolumeNumber int Description string VolumeSize string CustomName string AccessMode string RawBlock bool }
VolumeCreationSuite is used to manage volume creation test suite
func (*VolumeCreationSuite) GetClients ¶
func (*VolumeCreationSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc and metrics clients
func (*VolumeCreationSuite) GetName ¶
func (vcs *VolumeCreationSuite) GetName() string
GetName returns volume creation suite name
func (*VolumeCreationSuite) GetNamespace ¶
func (*VolumeCreationSuite) GetNamespace() string
GetNamespace returns volume creation suite name
func (*VolumeCreationSuite) GetObservers ¶
func (*VolumeCreationSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns pvc, entity number, container metrics observers
func (*VolumeCreationSuite) Parameters ¶
func (vcs *VolumeCreationSuite) Parameters() string
Parameters returns formatted string of parameters
type VolumeDeletionSuite ¶
type VolumeDeletionSuite struct {
*DeletionStruct
}
VolumeDeletionSuite is used for managing volume deletion test suite
func (*VolumeDeletionSuite) GetClients ¶
func (vds *VolumeDeletionSuite) GetClients(_ string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns PVC and Metrics clients
func (*VolumeDeletionSuite) GetName ¶
func (vds *VolumeDeletionSuite) GetName() string
GetName returns volume deletion suite name
func (*VolumeDeletionSuite) GetNamespace ¶
func (vds *VolumeDeletionSuite) GetNamespace() string
GetNamespace returns volume deletion suite namespace
func (*VolumeDeletionSuite) GetObservers ¶
func (*VolumeDeletionSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns pvc, entitynumber and container observers
func (*VolumeDeletionSuite) Parameters ¶
func (vds *VolumeDeletionSuite) Parameters() string
Parameters is returns format string
type VolumeExpansionSuite ¶
type VolumeExpansionSuite struct { VolumeNumber int PodNumber int IsBlock bool InitialSize string ExpandedSize string Description string AccessMode string Image string }
VolumeExpansionSuite is used to manage volume expansion test suite
func (*VolumeExpansionSuite) GetClients ¶
func (*VolumeExpansionSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, va, metrics clients
func (*VolumeExpansionSuite) GetName ¶
func (ves *VolumeExpansionSuite) GetName() string
GetName returns volume expansion suite name
func (*VolumeExpansionSuite) GetNamespace ¶
func (*VolumeExpansionSuite) GetNamespace() string
GetNamespace returns volume expansion suite namespace
func (*VolumeExpansionSuite) GetObservers ¶
func (*VolumeExpansionSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*VolumeExpansionSuite) Parameters ¶
func (ves *VolumeExpansionSuite) Parameters() string
Parameters returns formatted string of parameters
type VolumeGroupSnapSuite ¶
type VolumeGroupSnapSuite struct { SnapClass string VolumeSize string AccessMode string VolumeGroupName string VolumeLabel string ReclaimPolicy string VolumeNumber int Driver string Image string }
VolumeGroupSnapSuite is used to manage volume group snap test suite
func (*VolumeGroupSnapSuite) GetClients ¶
func (vgs *VolumeGroupSnapSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, va, vgs clients
func (*VolumeGroupSnapSuite) GetName ¶
func (vgs *VolumeGroupSnapSuite) GetName() string
GetName returns volume group snap test suite name
func (*VolumeGroupSnapSuite) GetNamespace ¶
func (*VolumeGroupSnapSuite) GetNamespace() string
GetNamespace returns volume group snap test suite namespace
func (*VolumeGroupSnapSuite) GetObservers ¶
func (*VolumeGroupSnapSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*VolumeGroupSnapSuite) Parameters ¶
func (vgs *VolumeGroupSnapSuite) Parameters() string
Parameters returns formatted string of parameters
type VolumeHealthMetricsSuite ¶
type VolumeHealthMetricsSuite struct { VolumeNumber int PodNumber int VolumeSize string Description string AccessMode string Namespace string Image string }
VolumeHealthMetricsSuite is used to manage volume health metrics test suite
func (*VolumeHealthMetricsSuite) GetClients ¶
func (*VolumeHealthMetricsSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pod, pv, va, metrics clients
func (*VolumeHealthMetricsSuite) GetName ¶
func (vh *VolumeHealthMetricsSuite) GetName() string
GetName returns volume health metrics suite name
func (*VolumeHealthMetricsSuite) GetNamespace ¶
func (*VolumeHealthMetricsSuite) GetNamespace() string
GetNamespace returns volume health metrics test suite namespace
func (*VolumeHealthMetricsSuite) GetObservers ¶
func (*VolumeHealthMetricsSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*VolumeHealthMetricsSuite) Parameters ¶
func (vh *VolumeHealthMetricsSuite) Parameters() string
Parameters returns formatted string of parameters
type VolumeIoSuite ¶
type VolumeIoSuite struct { VolumeNumber int VolumeSize string ChainNumber int ChainLength int Image string }
VolumeIoSuite is used to manage volume IO test suite
func (*VolumeIoSuite) GetClients ¶
func (*VolumeIoSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients returns pvc, pod, va, metrics clients
func (*VolumeIoSuite) GetName ¶
func (*VolumeIoSuite) GetName() string
GetName returns volume IO test suite name
func (*VolumeIoSuite) GetNamespace ¶
func (*VolumeIoSuite) GetNamespace() string
GetNamespace returns volume IO test suite namespace
func (*VolumeIoSuite) GetObservers ¶
func (*VolumeIoSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*VolumeIoSuite) Parameters ¶
func (vis *VolumeIoSuite) Parameters() string
Parameters returns formatted string of parameters
type VolumeMigrateSuite ¶
type VolumeMigrateSuite struct { TargetSC string Description string VolumeNumber int PodNumber int Flag bool Image string }
VolumeMigrateSuite is used to manage volume migrate test suite
func (*VolumeMigrateSuite) GetClients ¶
func (vms *VolumeMigrateSuite) GetClients(namespace string, client *k8sclient.KubeClient) (*k8sclient.Clients, error)
GetClients creates and returns pvc, pv, sc, pod, statefulset, va, metrics clients
func (*VolumeMigrateSuite) GetName ¶
func (vms *VolumeMigrateSuite) GetName() string
GetName returns volume migrate test suite name
func (*VolumeMigrateSuite) GetNamespace ¶
func (*VolumeMigrateSuite) GetNamespace() string
GetNamespace returns volume migrate test suite namespace
func (*VolumeMigrateSuite) GetObservers ¶
func (*VolumeMigrateSuite) GetObservers(obsType observer.Type) []observer.Interface
GetObservers returns all observers
func (*VolumeMigrateSuite) Parameters ¶
func (vms *VolumeMigrateSuite) Parameters() string
Parameters returns formatted string of parameters