Documentation ¶
Index ¶
- type Framework
- func (f *Framework) CreateNamespace() error
- func (f *Framework) CreateServiceAccount(serviceAccountName string, namespace string) (*corev1.ServiceAccount, error)
- func (f *Framework) CreateTestNamespace() (*corev1.Namespace, error)
- func (f *Framework) CreateTestNamespaceWithAnnotation(annotations map[string]string) (*corev1.Namespace, error)
- func (f *Framework) DeleteAll() error
- func (f *Framework) WaitDefaultServiceAccountCreated(ns string, timeout time.Duration) error
- func (f *Framework) WaitNetworkPolicyCreated(ns string, name string, timeout time.Duration) error
- func (f *Framework) WaitPodRunning(namespace, name string, timeout time.Duration) error
- func (f *Framework) WaitRunning(timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { KubeClientset kubernetes.Interface ApiExtClientset apiextension.Interface KarydiaClientset versioned.Interface Namespace string }
func (*Framework) CreateNamespace ¶
func (*Framework) CreateServiceAccount ¶
func (*Framework) CreateTestNamespace ¶
func (*Framework) CreateTestNamespaceWithAnnotation ¶
func (*Framework) WaitDefaultServiceAccountCreated ¶
func (*Framework) WaitNetworkPolicyCreated ¶
func (*Framework) WaitPodRunning ¶
Click to show internal directories.
Click to hide internal directories.