Documentation ¶
Index ¶
- Constants
- Variables
- func CheckRepo(id string, request *resty.Request) (*resty.Response, error)
- func CompareArtifactoryVersions(t *testing.T, instanceVersions string) (bool, error)
- func CompositeCheckDestroy(funcs ...func(state *terraform.State) error) func(state *terraform.State) error
- func CreateProject(t *testing.T, projectKey string)
- func CreateProxy(t *testing.T, proxyKey string)
- func CreateRepo(t *testing.T, repo string, rclass string, packageType string, ...)
- func CreateUserUpdatable(t *testing.T, name string, email string)
- func DeleteProject(t *testing.T, projectKey string)
- func DeleteProxy(t *testing.T, proxyKey string)
- func DeleteRepo(t *testing.T, repo string)
- func DeleteUser(t *testing.T, name string) error
- func GetArtifactoryUrl(t *testing.T) string
- func GetTestResty(t *testing.T) *resty.Client
- func GetValidRandomDefaultRepoLayoutRef() string
- func PreCheck(t *testing.T)
- func VerifyDeleted(id, identifierAttribute string, check CheckFun) func(*terraform.State) error
- type CheckFun
Constants ¶
View Source
const RtDefaultUser = "admin"
Variables ¶
View Source
var ProtoV6MuxProviderFactories map[string]func() (tfprotov6.ProviderServer, error)
ProtoV6MuxProviderFactories is used to instantiate both SDK v2 and Framework providers during acceptance tests. Use it only if you need to combine resources from SDK v2 and the Framework in the same test.
View Source
var ProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){ "artifactory": providerserver.NewProtocol6WithError(provider.Framework()()), }
View Source
var Provider *schema.Provider
Provider PreCheck(t) must be called before using this provider instance.
View Source
var ProviderFactories map[string]func() (*schema.Provider, error)
Functions ¶
func CompositeCheckDestroy ¶
func CreateProject ¶
func CreateProxy ¶
CreateProxy creates a new proxy on Artifactory with the given key
func CreateRepo ¶
func CreateRepo(t *testing.T, repo string, rclass string, packageType string, handleReleases bool, handleSnapshots bool)
CreateRepo Create a local repository with Xray indexing enabled. It will be used in the tests
func DeleteProject ¶
func DeleteProxy ¶
DeleteProxy deletes an existing proxy on Artifactory with the given key
func DeleteRepo ¶
func GetArtifactoryUrl ¶
func GetTestResty ¶
func GetValidRandomDefaultRepoLayoutRef ¶
func GetValidRandomDefaultRepoLayoutRef() string
GetValidRandomDefaultRepoLayoutRef Usage of the function is strictly restricted to Test Cases
Types ¶
Click to show internal directories.
Click to hide internal directories.