Documentation ¶
Index ¶
- Constants
- Variables
- func By(format string, args ...interface{})
- func DumpEventsInNamespace(ctx context.Context, c kubernetes.Interface, namespace string)
- func DumpNamespace(ctx context.Context, discoveryClient discovery.DiscoveryInterface, ...) error
- func Errorf(format string, args ...interface{})
- func Failf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func Skipf(format string, args ...interface{})
- func WaitForObjectDeletion(ctx context.Context, dynamicClient dynamic.Interface, ...) error
- func WaitForServiceAccount(ctx context.Context, c corev1client.CoreV1Interface, namespace, name string) (*corev1.ServiceAccount, error)
- func WaitForServiceAccountTokenSecret(ctx context.Context, c corev1client.CoreV1Interface, namespace, name string) (*corev1.Secret, error)
- func Warnf(format string, args ...interface{})
- type DeleteTestingNSPolicyType
- type ExposeOptions
- type Framework
- func (f *Framework) AdminClientConfig() *restclient.Config
- func (f *Framework) ClientConfig() *restclient.Config
- func (f *Framework) CommonLabels() map[string]string
- func (f *Framework) DiscoveryClient() *discovery.DiscoveryClient
- func (f *Framework) DynamicAdminClient() dynamic.Interface
- func (f *Framework) DynamicClient() dynamic.Interface
- func (f *Framework) FieldManager() string
- func (f *Framework) GetDefaultScyllaCluster() *scyllav1.ScyllaCluster
- func (f *Framework) GetIngressAddress(hostname string) string
- func (f *Framework) KubeAdminClient() *kubernetes.Clientset
- func (f *Framework) KubeClient() *kubernetes.Clientset
- func (f *Framework) Namespace() string
- func (f *Framework) ScyllaAdminClient() *scyllaclientset.Clientset
- func (f *Framework) ScyllaClient() *scyllaclientset.Clientset
- func (f *Framework) Username() string
- type IngressController
- type ScyllaClusterOptions
- type TestContextType
Constants ¶
View Source
const ( ServiceAccountName = "e2e-user" ServiceAccountTokenSecretName = "e2e-user-token" )
View Source
const ( SerialLabelName = "Serial" RequiresClusterIPLabelName = "RequiresClusterIP" )
Variables ¶
View Source
var ( Serial = []interface{}{ g.Serial, g.Label(SerialLabelName), } RequiresClusterIP = g.Label(RequiresClusterIPLabelName) )
Functions ¶
func DumpEventsInNamespace ¶
func DumpEventsInNamespace(ctx context.Context, c kubernetes.Interface, namespace string)
func DumpNamespace ¶ added in v1.3.0
func DumpNamespace(ctx context.Context, discoveryClient discovery.DiscoveryInterface, dynamicClient dynamic.Interface, corev1Client corev1client.CoreV1Interface, artifactsDir, namespace string) error
func WaitForObjectDeletion ¶
func WaitForServiceAccount ¶
func WaitForServiceAccount(ctx context.Context, c corev1client.CoreV1Interface, namespace, name string) (*corev1.ServiceAccount, error)
func WaitForServiceAccountTokenSecret ¶ added in v1.9.0
func WaitForServiceAccountTokenSecret(ctx context.Context, c corev1client.CoreV1Interface, namespace, name string) (*corev1.Secret, error)
Types ¶
type DeleteTestingNSPolicyType ¶
type DeleteTestingNSPolicyType string
var ( DeleteTestingNSPolicyAlways DeleteTestingNSPolicyType = "Always" DeleteTestingNSPolicyOnSuccess DeleteTestingNSPolicyType = "OnSuccess" DeleteTestingNSPolicyNever DeleteTestingNSPolicyType = "Never" )
type ExposeOptions ¶ added in v1.12.0
type ExposeOptions struct { NodeServiceType scyllav1.NodeServiceType NodesBroadcastAddressType scyllav1.BroadcastAddressType ClientsBroadcastAddressType scyllav1.BroadcastAddressType }
type Framework ¶
type Framework struct {
// contains filtered or unexported fields
}
func NewFramework ¶
func (*Framework) AdminClientConfig ¶
func (f *Framework) AdminClientConfig() *restclient.Config
func (*Framework) ClientConfig ¶
func (f *Framework) ClientConfig() *restclient.Config
func (*Framework) CommonLabels ¶ added in v1.9.0
func (*Framework) DiscoveryClient ¶
func (f *Framework) DiscoveryClient() *discovery.DiscoveryClient
func (*Framework) DynamicAdminClient ¶
func (*Framework) DynamicClient ¶
func (*Framework) FieldManager ¶ added in v1.8.0
func (*Framework) GetDefaultScyllaCluster ¶ added in v1.12.0
func (f *Framework) GetDefaultScyllaCluster() *scyllav1.ScyllaCluster
func (*Framework) GetIngressAddress ¶ added in v1.9.0
func (*Framework) KubeAdminClient ¶
func (f *Framework) KubeAdminClient() *kubernetes.Clientset
func (*Framework) KubeClient ¶
func (f *Framework) KubeClient() *kubernetes.Clientset
func (*Framework) ScyllaAdminClient ¶ added in v1.6.0
func (f *Framework) ScyllaAdminClient() *scyllaclientset.Clientset
func (*Framework) ScyllaClient ¶
func (f *Framework) ScyllaClient() *scyllaclientset.Clientset
type IngressController ¶ added in v1.11.0
type ScyllaClusterOptions ¶ added in v1.12.0
type ScyllaClusterOptions struct {
ExposeOptions ExposeOptions
}
type TestContextType ¶
type TestContextType struct { RestConfig *restclient.Config ArtifactsDir string DeleteTestingNSPolicy DeleteTestingNSPolicyType IngressController *IngressController ScyllaClusterOptions *ScyllaClusterOptions }
var TestContext *TestContextType
Click to show internal directories.
Click to hide internal directories.