Documentation
¶
Index ¶
- Constants
- type Framework
- func (f *Framework) CreateNamespace(ns *core.Namespace) error
- func (f *Framework) CreateSecret(obj *core.Secret) (*core.Secret, error)
- func (f *Framework) DeleteNamespace(name string) error
- func (f *Framework) DeleteSecret(meta metav1.ObjectMeta) error
- func (f *Framework) EnsureNamespace() error
- func (f *Framework) EventuallyNamespaceDeleted(ns string) GomegaAsyncAssertion
- func (f *Framework) Invoke() *Invocation
- func (f *Framework) Namespace() string
- func (f *Framework) NewNamespace(name string) *core.Namespace
- type Invocation
- func (fi *Invocation) App() string
- func (fi *Invocation) CreateConfigMap(configMap *core.ConfigMap) (*core.ConfigMap, error)
- func (fi *Invocation) DeleteAllConfigmaps()
- func (fi *Invocation) DeleteAllSecrets()
- func (fi *Invocation) DeleteConfigMap(meta metav1.ObjectMeta) error
- func (fi *Invocation) DeleteEndpoints(meta metav1.ObjectMeta) error
- func (fi *Invocation) DeleteNamespaceForContext(kubeConfigPath string, ctx string)
- func (fi *Invocation) DeleteService(meta metav1.ObjectMeta) error
- func (fi *Invocation) EnsureNamespaceForContext(kubeConfigPath string, ctx string)
- func (fi *Invocation) EventuallyConfigMapNotSynced(source *core.ConfigMap) GomegaAsyncAssertion
- func (fi *Invocation) EventuallyConfigMapSynced(source *core.ConfigMap) GomegaAsyncAssertion
- func (fi *Invocation) EventuallyConfigMapSyncedToNamespace(source *core.ConfigMap, namespace string) GomegaAsyncAssertion
- func (fi *Invocation) EventuallyNumOfConfigmaps(namespace string) GomegaAsyncAssertion
- func (fi *Invocation) EventuallyNumOfConfigmapsForClient(client kubernetes.Interface, namespace string) GomegaAsyncAssertion
- func (fi *Invocation) EventuallyNumOfConfigmapsForContext(kubeConfigPath string, context string) GomegaAsyncAssertion
- func (fi *Invocation) EventuallyNumOfSecrets(namespace string) GomegaAsyncAssertion
- func (fi *Invocation) EventuallyNumOfSecretsForClient(client kubernetes.Interface, namespace string) GomegaAsyncAssertion
- func (fi *Invocation) EventuallyNumOfSecretsForContext(kubeConfigPath string, context string) GomegaAsyncAssertion
- func (fi *Invocation) EventuallySecretNotSynced(source *core.Secret) GomegaAsyncAssertion
- func (fi *Invocation) EventuallySecretSynced(source *core.Secret) GomegaAsyncAssertion
- func (fi *Invocation) EventuallySecretSyncedToNamespace(source *core.Secret, namespace string) GomegaAsyncAssertion
- func (fi *Invocation) EventuallySyncedConfigMapsDeleted(source *core.ConfigMap) GomegaAsyncAssertion
- func (fi *Invocation) EventuallySyncedConfigMapsUpdated(source *core.ConfigMap) GomegaAsyncAssertion
- func (fi *Invocation) EventuallySyncedSecretsDeleted(source *core.Secret) GomegaAsyncAssertion
- func (fi *Invocation) EventuallySyncedSecretsUpdated(source *core.Secret) GomegaAsyncAssertion
- func (fi *Invocation) NewConfigMap() *core.ConfigMap
- func (fi *Invocation) NewNamespaceWithLabel() *core.Namespace
- func (fi *Invocation) NewSecret() *core.Secret
- func (fi *Invocation) NumberOfNameSpace() int
- func (fi *Invocation) OperatorPod() (*core.Pod, error)
- func (fi *Invocation) ReadConfigMapFromRecycleBin(recycleBinLocation string, cm *core.ConfigMap) (*core.ConfigMap, error)
- func (fi *Invocation) RemoveFromOperatorPod(dir string) error
- func (fi *Invocation) SecretForWebhookNotifier() *core.Secret
- func (fi *Invocation) WaitUntilDeploymentReady(meta metav1.ObjectMeta) error
- func (fi *Invocation) WaitUntilDeploymentTerminated(meta metav1.ObjectMeta) error
- func (fi *Invocation) WaitUntilSecretCreated(meta metav1.ObjectMeta) error
- func (fi *Invocation) WaitUntilSecretDeleted(meta metav1.ObjectMeta) error
Constants ¶
View Source
const ( OperatorNamespace = "kube-system" ContainerOperator = "operator" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { KubeClient clientset.Interface Mutex sync.Mutex CertStore *certstore.CertStore KubeConfigPath string ClientConfig *rest.Config // contains filtered or unexported fields }
func (*Framework) CreateSecret ¶
func (*Framework) DeleteNamespace ¶
func (*Framework) DeleteSecret ¶
func (f *Framework) DeleteSecret(meta metav1.ObjectMeta) error
func (*Framework) EnsureNamespace ¶
func (*Framework) EventuallyNamespaceDeleted ¶
func (*Framework) Invoke ¶
func (f *Framework) Invoke() *Invocation
type Invocation ¶
type Invocation struct { *Framework // contains filtered or unexported fields }
func (*Invocation) App ¶
func (fi *Invocation) App() string
func (*Invocation) CreateConfigMap ¶
func (*Invocation) DeleteAllConfigmaps ¶
func (fi *Invocation) DeleteAllConfigmaps()
func (*Invocation) DeleteAllSecrets ¶
func (fi *Invocation) DeleteAllSecrets()
func (*Invocation) DeleteConfigMap ¶
func (fi *Invocation) DeleteConfigMap(meta metav1.ObjectMeta) error
func (*Invocation) DeleteEndpoints ¶
func (fi *Invocation) DeleteEndpoints(meta metav1.ObjectMeta) error
func (*Invocation) DeleteNamespaceForContext ¶
func (fi *Invocation) DeleteNamespaceForContext(kubeConfigPath string, ctx string)
func (*Invocation) DeleteService ¶
func (fi *Invocation) DeleteService(meta metav1.ObjectMeta) error
func (*Invocation) EnsureNamespaceForContext ¶
func (fi *Invocation) EnsureNamespaceForContext(kubeConfigPath string, ctx string)
func (*Invocation) EventuallyConfigMapNotSynced ¶
func (fi *Invocation) EventuallyConfigMapNotSynced(source *core.ConfigMap) GomegaAsyncAssertion
func (*Invocation) EventuallyConfigMapSynced ¶
func (fi *Invocation) EventuallyConfigMapSynced(source *core.ConfigMap) GomegaAsyncAssertion
func (*Invocation) EventuallyConfigMapSyncedToNamespace ¶
func (fi *Invocation) EventuallyConfigMapSyncedToNamespace(source *core.ConfigMap, namespace string) GomegaAsyncAssertion
func (*Invocation) EventuallyNumOfConfigmaps ¶
func (fi *Invocation) EventuallyNumOfConfigmaps(namespace string) GomegaAsyncAssertion
func (*Invocation) EventuallyNumOfConfigmapsForClient ¶
func (fi *Invocation) EventuallyNumOfConfigmapsForClient(client kubernetes.Interface, namespace string) GomegaAsyncAssertion
func (*Invocation) EventuallyNumOfConfigmapsForContext ¶
func (fi *Invocation) EventuallyNumOfConfigmapsForContext(kubeConfigPath string, context string) GomegaAsyncAssertion
func (*Invocation) EventuallyNumOfSecrets ¶
func (fi *Invocation) EventuallyNumOfSecrets(namespace string) GomegaAsyncAssertion
func (*Invocation) EventuallyNumOfSecretsForClient ¶
func (fi *Invocation) EventuallyNumOfSecretsForClient(client kubernetes.Interface, namespace string) GomegaAsyncAssertion
func (*Invocation) EventuallyNumOfSecretsForContext ¶
func (fi *Invocation) EventuallyNumOfSecretsForContext(kubeConfigPath string, context string) GomegaAsyncAssertion
func (*Invocation) EventuallySecretNotSynced ¶
func (fi *Invocation) EventuallySecretNotSynced(source *core.Secret) GomegaAsyncAssertion
func (*Invocation) EventuallySecretSynced ¶
func (fi *Invocation) EventuallySecretSynced(source *core.Secret) GomegaAsyncAssertion
func (*Invocation) EventuallySecretSyncedToNamespace ¶
func (fi *Invocation) EventuallySecretSyncedToNamespace(source *core.Secret, namespace string) GomegaAsyncAssertion
func (*Invocation) EventuallySyncedConfigMapsDeleted ¶
func (fi *Invocation) EventuallySyncedConfigMapsDeleted(source *core.ConfigMap) GomegaAsyncAssertion
func (*Invocation) EventuallySyncedConfigMapsUpdated ¶
func (fi *Invocation) EventuallySyncedConfigMapsUpdated(source *core.ConfigMap) GomegaAsyncAssertion
func (*Invocation) EventuallySyncedSecretsDeleted ¶
func (fi *Invocation) EventuallySyncedSecretsDeleted(source *core.Secret) GomegaAsyncAssertion
func (*Invocation) EventuallySyncedSecretsUpdated ¶
func (fi *Invocation) EventuallySyncedSecretsUpdated(source *core.Secret) GomegaAsyncAssertion
func (*Invocation) NewConfigMap ¶
func (fi *Invocation) NewConfigMap() *core.ConfigMap
func (*Invocation) NewNamespaceWithLabel ¶
func (fi *Invocation) NewNamespaceWithLabel() *core.Namespace
func (*Invocation) NewSecret ¶
func (fi *Invocation) NewSecret() *core.Secret
func (*Invocation) NumberOfNameSpace ¶
func (fi *Invocation) NumberOfNameSpace() int
func (*Invocation) OperatorPod ¶
func (fi *Invocation) OperatorPod() (*core.Pod, error)
func (*Invocation) ReadConfigMapFromRecycleBin ¶
func (*Invocation) RemoveFromOperatorPod ¶
func (fi *Invocation) RemoveFromOperatorPod(dir string) error
func (*Invocation) SecretForWebhookNotifier ¶
func (fi *Invocation) SecretForWebhookNotifier() *core.Secret
func (*Invocation) WaitUntilDeploymentReady ¶
func (fi *Invocation) WaitUntilDeploymentReady(meta metav1.ObjectMeta) error
func (*Invocation) WaitUntilDeploymentTerminated ¶
func (fi *Invocation) WaitUntilDeploymentTerminated(meta metav1.ObjectMeta) error
func (*Invocation) WaitUntilSecretCreated ¶
func (fi *Invocation) WaitUntilSecretCreated(meta metav1.ObjectMeta) error
func (*Invocation) WaitUntilSecretDeleted ¶
func (fi *Invocation) WaitUntilSecretDeleted(meta metav1.ObjectMeta) error
Click to show internal directories.
Click to hide internal directories.