Documentation ¶
Index ¶
- Constants
- type Framework
- func (f *Framework) CreateDroplet(obj *v1alpha1.Droplet) error
- func (f *Framework) CreateInstance(obj *v1alpha1.Instance) error
- func (f *Framework) CreateModuleServiceAccount(obj *v1alpha1.GoogleServiceAccount) error
- func (f *Framework) CreateNamespace() error
- func (f *Framework) CreateResourceGroup(obj *v1alpha1.ResourceGroup) error
- func (f *Framework) CreateS3Bucket(obj *v1alpha1.S3Bucket) error
- func (f *Framework) CreateSecret(obj *core.Secret) error
- func (f *Framework) CreateServiceAccount(obj *v1alpha1.ServiceAccount) error
- func (f *Framework) DeleteDroplet(meta metav1.ObjectMeta) error
- func (f *Framework) DeleteInstance(meta metav1.ObjectMeta) error
- func (f *Framework) DeleteModuleServiceAccount(meta metav1.ObjectMeta) error
- func (f *Framework) DeleteNamespace() error
- func (f *Framework) DeleteResourceGroup(meta metav1.ObjectMeta) error
- func (f *Framework) DeleteS3Bucket(meta metav1.ObjectMeta) error
- func (f *Framework) DeleteSecret(obj v1.ObjectMeta) error
- func (f *Framework) DeleteServiceAccount(meta metav1.ObjectMeta) error
- func (f *Framework) EventuallyCRD() GomegaAsyncAssertion
- func (f *Framework) EventuallyDropletDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyDropletRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyInstanceDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyInstanceRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyModuleServiceAccountDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyModuleServiceAccountRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyResourceGroupDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyResourceGroupRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyS3BucketDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyS3BucketRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyServiceAccountDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyServiceAccountRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) Invoke() *Invocation
- func (f *Framework) Namespace() string
- type Invocation
- func (i *Invocation) AwsProviderRef(name string) *core.Secret
- func (i *Invocation) AzureProviderRef(name string) *core.Secret
- func (i *Invocation) DBInstanceSensitiveData() *core.Secret
- func (i *Invocation) DigitalOceanProviderRef(name string) *core.Secret
- func (i *Invocation) Droplets(name string, secretName string) *v1alpha1.Droplet
- func (fi *Invocation) GetRandomName(extraSuffix string) string
- func (i *Invocation) GoogleProviderRef(name string) *core.Secret
- func (i *Invocation) Instance(name string, secretName string) *v1alpha1.Instance
- func (i *Invocation) InstanceSensitiveData() *core.Secret
- func (fi *Invocation) KubeClient() kubernetes.Interface
- func (fi *Invocation) KubeformClient() kfclient.Interface
- func (i *Invocation) LinodeProviderRef(name string) *core.Secret
- func (i *Invocation) ModuleServiceAccount(name string, secretName string) *v1alpha1.GoogleServiceAccount
- func (i *Invocation) ResourceGroup(name string, secretName string) *v1alpha1.ResourceGroup
- func (fi *Invocation) RestConfig() *rest.Config
- func (i *Invocation) S3Bucket(name, secretName string) *v1alpha1.S3Bucket
- func (i *Invocation) ServiceAccount(name string, secretName string) *v1alpha1.ServiceAccount
Constants ¶
View Source
const ( DBInstanceSecretName = "dbinstance-secret" InstanceSecretName = "instance-secret" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct {
// contains filtered or unexported fields
}
func New ¶
func (*Framework) CreateDroplet ¶ added in v0.1.0
func (*Framework) CreateModuleServiceAccount ¶
func (f *Framework) CreateModuleServiceAccount(obj *v1alpha1.GoogleServiceAccount) error
func (*Framework) CreateResourceGroup ¶ added in v0.1.0
func (f *Framework) CreateResourceGroup(obj *v1alpha1.ResourceGroup) error
func (*Framework) CreateS3Bucket ¶ added in v0.1.0
func (*Framework) CreateServiceAccount ¶
func (f *Framework) CreateServiceAccount(obj *v1alpha1.ServiceAccount) error
func (*Framework) DeleteDroplet ¶ added in v0.1.0
func (f *Framework) DeleteDroplet(meta metav1.ObjectMeta) error
func (*Framework) DeleteInstance ¶
func (f *Framework) DeleteInstance(meta metav1.ObjectMeta) error
func (*Framework) DeleteModuleServiceAccount ¶
func (f *Framework) DeleteModuleServiceAccount(meta metav1.ObjectMeta) error
func (*Framework) DeleteResourceGroup ¶ added in v0.1.0
func (f *Framework) DeleteResourceGroup(meta metav1.ObjectMeta) error
func (*Framework) DeleteS3Bucket ¶ added in v0.1.0
func (f *Framework) DeleteS3Bucket(meta metav1.ObjectMeta) error
func (*Framework) DeleteSecret ¶
func (f *Framework) DeleteSecret(obj v1.ObjectMeta) error
func (*Framework) DeleteServiceAccount ¶
func (f *Framework) DeleteServiceAccount(meta metav1.ObjectMeta) error
func (*Framework) EventuallyDropletDeleted ¶ added in v0.1.0
func (f *Framework) EventuallyDropletDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyDropletRunning ¶ added in v0.1.0
func (f *Framework) EventuallyDropletRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyInstanceDeleted ¶
func (f *Framework) EventuallyInstanceDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyInstanceRunning ¶
func (f *Framework) EventuallyInstanceRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyModuleServiceAccountDeleted ¶
func (f *Framework) EventuallyModuleServiceAccountDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyModuleServiceAccountRunning ¶
func (f *Framework) EventuallyModuleServiceAccountRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyResourceGroupDeleted ¶ added in v0.1.0
func (f *Framework) EventuallyResourceGroupDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyResourceGroupRunning ¶ added in v0.1.0
func (f *Framework) EventuallyResourceGroupRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyS3BucketDeleted ¶ added in v0.1.0
func (f *Framework) EventuallyS3BucketDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyS3BucketRunning ¶ added in v0.1.0
func (f *Framework) EventuallyS3BucketRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyServiceAccountDeleted ¶
func (f *Framework) EventuallyServiceAccountDeleted(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyServiceAccountRunning ¶
func (f *Framework) EventuallyServiceAccountRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) Invoke ¶
func (f *Framework) Invoke() *Invocation
type Invocation ¶
type Invocation struct { *Framework // contains filtered or unexported fields }
func (*Invocation) AwsProviderRef ¶
func (i *Invocation) AwsProviderRef(name string) *core.Secret
func (*Invocation) AzureProviderRef ¶
func (i *Invocation) AzureProviderRef(name string) *core.Secret
func (*Invocation) DBInstanceSensitiveData ¶
func (i *Invocation) DBInstanceSensitiveData() *core.Secret
func (*Invocation) DigitalOceanProviderRef ¶
func (i *Invocation) DigitalOceanProviderRef(name string) *core.Secret
func (*Invocation) Droplets ¶ added in v0.1.0
func (i *Invocation) Droplets(name string, secretName string) *v1alpha1.Droplet
func (*Invocation) GetRandomName ¶ added in v0.2.0
func (fi *Invocation) GetRandomName(extraSuffix string) string
func (*Invocation) GoogleProviderRef ¶
func (i *Invocation) GoogleProviderRef(name string) *core.Secret
func (*Invocation) Instance ¶
func (i *Invocation) Instance(name string, secretName string) *v1alpha1.Instance
func (*Invocation) InstanceSensitiveData ¶
func (i *Invocation) InstanceSensitiveData() *core.Secret
func (*Invocation) KubeClient ¶
func (fi *Invocation) KubeClient() kubernetes.Interface
func (*Invocation) KubeformClient ¶
func (fi *Invocation) KubeformClient() kfclient.Interface
func (*Invocation) LinodeProviderRef ¶
func (i *Invocation) LinodeProviderRef(name string) *core.Secret
func (*Invocation) ModuleServiceAccount ¶
func (i *Invocation) ModuleServiceAccount(name string, secretName string) *v1alpha1.GoogleServiceAccount
func (*Invocation) ResourceGroup ¶ added in v0.1.0
func (i *Invocation) ResourceGroup(name string, secretName string) *v1alpha1.ResourceGroup
func (*Invocation) RestConfig ¶
func (fi *Invocation) RestConfig() *rest.Config
func (*Invocation) S3Bucket ¶ added in v0.1.0
func (i *Invocation) S3Bucket(name, secretName string) *v1alpha1.S3Bucket
func (*Invocation) ServiceAccount ¶
func (i *Invocation) ServiceAccount(name string, secretName string) *v1alpha1.ServiceAccount
Click to show internal directories.
Click to hide internal directories.