Versions in this module Expand all Collapse all v0 v0.2.1 Jul 13, 2021 v0.2.0 Mar 30, 2021 Changes in this version + const DeleteOperation + const HelpOperation + const ListOperation + const ReadOperation + const TestEnvVar + const UpdateOperation + const WriteOperation + func CompilePlugin(name, pluginName, srcDir, tmpDir string) (string, string, string, error) + func Run(tt TestT, c Case) + type AssertionFunc func(*api.Secret, error) error + type Case struct + Environment Environment + Precheck func() + SkipTeardown bool + Steps []Step + type CertificateGetter struct + func NewCertificateGetter(certFile, keyFile, passphrase string) *CertificateGetter + func (cg *CertificateGetter) GetCertificate(clientHello *tls.ClientHelloInfo) (*tls.Certificate, error) + func (cg *CertificateGetter) Reload() error + type Environment interface + Client func() (*api.Client, error) + MountPath func() string + Name func() string + RootToken func() string + Setup func() error + Teardown func() error + type MountOptions struct + MountPathPrefix string + PluginName string + PluginType PluginType + RegistryName string + type Operation string + type PluginType consts.PluginType + const PluginTypeCredential + const PluginTypeDatabase + const PluginTypeSecrets + const PluginTypeUnknown + func (p PluginType) String() string + type ReloadFunc func() error + type Step struct + Assert AssertionFunc + Data map[string]interface{} + Operation Operation + Path string + Unauthenticated bool + type TestT interface + Error func(args ...interface{}) + Fatal func(args ...interface{}) + Helper func() + Skip func(args ...interface{})