Documentation ¶
Index ¶
Constants ¶
View Source
const ( RepoURL = "https://github.com/redhat-appstudio-qe/private-quarkus-devfile-sample" SPIAccessTokenBindingPrefixName = "spi-access-token-binding-" SPIAccessCheckPrefixName = "spi-access-check-" SPITokenBindingName = "spi-token-binding-rest-" QuayPrivateRepoURL = "quay.io/redhat-appstudio-qe/quay-private-test" GithubPrivateRepoURL = "https://github.com/redhat-appstudio-qe/private-quarkus-devfile-sample" GithubPrivateRepoFilePath = "README.md" )
Variables ¶
View Source
var ( AccessCheckTests = []AccessCheckTest{ { TestName: "public GitHub repository", Accessibility: v1beta1.SPIAccessCheckAccessibilityPublic, RepoURL: "https://github.com/devfile-samples/devfile-sample-code-with-quarkus", RepoType: v1beta1.SPIRepoTypeGit, ServiceProvider: v1beta1.ServiceProviderTypeGitHub, }, { TestName: "private GitHub repository", Accessibility: v1beta1.SPIAccessCheckAccessibilityPrivate, RepoURL: GithubPrivateRepoURL, RepoType: v1beta1.SPIRepoTypeGit, ServiceProvider: v1beta1.ServiceProviderTypeGitHub, }, } ServiceAccountTests = []ServiceAccountTest{ { TestName: "link a secret to an existing service account", IsImagePullSecret: false, IsManagedServiceAccount: false, }, { TestName: "link a secret to an existing service account as image pull secret", IsImagePullSecret: true, IsManagedServiceAccount: false, }, { TestName: "link a secret to a managed service account", IsImagePullSecret: false, IsManagedServiceAccount: true, }, } )
Functions ¶
This section is empty.
Types ¶
type AccessCheckTest ¶
type AccessCheckTest struct { TestName string Accessibility v1beta1.SPIAccessCheckAccessibility RepoURL string RepoType v1beta1.SPIRepoType ServiceProvider v1beta1.ServiceProviderType }
type ServiceAccountTest ¶
Click to show internal directories.
Click to hide internal directories.