Documentation ¶
Index ¶
- Constants
- Variables
- func AddFiftyOneOrgs(server *ghttp.Server)
- func AddHandler(ser *ghttp.Server, method string, pathAndQuery string, status int, body []byte)
- func AddLoginRoutes(s *Server)
- func AddMfa(server *Server, password string, mfaToken string)
- func AddOrReplaceEnvironment(env []string, newEnvName string, newEnvVal string) []string
- func AppGUID(appName string) string
- func AppJSON(appName string) string
- func BuildConfigurablePlugin(pluginType string, name string, version string, pluginCommands []PluginCommand) string
- func BuildTokenString(expiration time.Time) string
- func BuildpackWithStack(f func(buildpackArchive string), stackName string)
- func BuildpackWithoutStack(f func(buildpackArchive string))
- func BuildpacksOutputRegex(fields BuildpackFields) string
- func CF(args ...string) *Session
- func CFWithEnv(envVars map[string]string, args ...string) *Session
- func CFWithStdin(stdin io.Reader, args ...string) *Session
- func CheckEnvironmentTargetedCorrectly(targetedOrganizationRequired bool, targetedSpaceRequired bool, testOrg string, ...)
- func ClearTarget()
- func ConfirmStagingLogs(session *Session)
- func ConvertPathToRegularExpression(path string) string
- func CreateAndTargetOrg() string
- func CreateCCV2Client() (*ccv2.Client, error)
- func CreateOrg(org string)
- func CreateOrgAndSpace(org string, space string)
- func CreateSpace(space string)
- func CreateStack(names ...string) string
- func CreateUser() (string, string)
- func CreateUserInOrgRole(org, role string) (string, string)
- func CreateUserInSpaceRole(org, space, role string) (string, string)
- func Curl(obj interface{}, url string, props ...interface{})
- func CustomCF(cfEnv CFEnv, args ...string) *Session
- func DebugCustomCF(cfEnv CFEnv, args ...string) *Session
- func DefaultSharedDomain() string
- func DeleteBuildpackIfOnOldCCAPI(buildpackName string)
- func DeleteStack(name string)
- func DeleteUser(username string)
- func DestroyHomeDir(homeDir string)
- func DisableFeatureFlag(flagName string)
- func DomainName(prefix ...string) string
- func EnableFeatureFlag(flagName string)
- func EnsureMinimumNumberOfStacks(num int) []string
- func EqualPath(format string, path string) types.GomegaMatcher
- func ExpiredAccessToken() string
- func FetchStacks() []string
- func FindOrCreateTCPRouterGroup(node int) string
- func GenerateHigherName(randomNameGenerator func() string, names ...string) string
- func GenerateLowerName(randomNameGenerator func() string, names ...string) string
- func GetAPI() string
- func GetAPIVersionV2() string
- func GetConfig() *configv3.Config
- func GetCredentials() (string, string)
- func GetIsolationSegmentGUID(name string) string
- func GetOrgGUID(orgName string) string
- func GetPRBuilderReporter() ginkgo.Reporter
- func GetSpaceGUID(spaceName string) string
- func InstallConfigurablePlugin(name string, version string, pluginCommands []PluginCommand)
- func InstallConfigurablePluginFailsUninstall(name string, version string, pluginCommands []PluginCommand)
- func IsUAAVersionAtLeast(minVersion string) bool
- func IsVersionMet(minVersion string) bool
- func LoginAs(username, password string)
- func LoginCF() string
- func LoginCFWithClientCredentials() string
- func LogoutCF()
- func MakeBuildpackArchive(stackName string) string
- func ManagedServiceInstanceGUID(managedServiceInstanceName string) string
- func MapRouteToApplication(app string, domain string, host string, path string)
- func NewAppName() string
- func NewBuildpackName() string
- func NewDomainName(prefix ...string) string
- func NewIsolationSegmentName(infix ...string) string
- func NewOrgName() string
- func NewPassword() string
- func NewPlanName() string
- func NewPluginRepositoryServer(pluginRepo PluginRepository) *Server
- func NewPluginRepositoryTLSServer(pluginRepo PluginRepository) *Server
- func NewSecurityGroupName(infix ...string) string
- func NewServiceBrokerName() string
- func NewServiceName() string
- func NewSpaceName() string
- func NewStackName() string
- func NewUsername() string
- func ParseTokenString(token string) jwt.JWT
- func PluginPlatform() string
- func PollLastOperationUntilSuccess(client *ccv2.Client, appName string, serviceInstanceName string)
- func PreferredStack() string
- func PrefixedRandomName(namePrefix string) string
- func QuickDeleteOrg(orgName string)
- func QuickDeleteOrgIfExists(orgName string)
- func QuickDeleteSpace(spaceName string)
- func QuotaName(name ...string) string
- func RandomName() string
- func RandomPort() int
- func SayPath(format string, path string) types.GomegaMatcher
- func SetAPI() (string, bool)
- func SetConfig(cb func(conf *configv3.Config))
- func SetConfigContent(dir string, rawConfig string)
- func SetHomeDir() string
- func SetupBuildpackWithStack(buildpackName, stack string)
- func SetupBuildpackWithoutStack(buildpackName string)
- func SetupCF(org string, space string)
- func SetupReadOnlyOrgAndSpace() (string, string)
- func SetupSynchronizedSuite(setup func())
- func Sha1Sum(path string) string
- func SkipIfClientCredentialsNotSet() (string, string)
- func SkipIfCustomClientCredentialsNotSet() (string, string)
- func SkipIfNoRoutingAPI()
- func SkipIfOIDCCredentialsNotSet() (string, string)
- func SkipIfPrivateDockerInfoNotSet() (string, string, string)
- func SkipIfUAAVersionAtLeast(version string)
- func SkipIfUAAVersionLessThan(version string)
- func SkipIfVersionAtLeast(maxVersion string)
- func SkipIfVersionLessThan(minVersion string)
- func StartAndTargetServerWithAPIVersions(v2Version string, v3Version string) *Server
- func StartServerWithAPIVersions(v2Version string, v3Version string) *Server
- func StartServerWithMinimumCLIVersion(minCLIVersion string) *Server
- func SwitchToNoRole() string
- func SwitchToOrgRole(org, role string) string
- func SwitchToSpaceRole(org, space, role string) string
- func TargetOrg(org string)
- func TargetOrgAndSpace(org string, space string)
- func TempFileWithContent(contents string) string
- func TurnOffColors()
- func TurnOffExperimental()
- func TurnOffExperimentalLogin()
- func TurnOnExperimental()
- func TurnOnExperimentalLogin()
- func UnmapRouteFromApplication(app string, domain string, host string, path string)
- func UnrefactoredCheckEnvironmentTargetedCorrectly(targetedOrganizationRequired bool, targetedSpaceRequired bool, testOrg string, ...)
- func UnsetAPI()
- func UserProvidedServiceInstanceGUID(userProvidedServiceInstanceName string) string
- func VerifyAppPackageContentsV2(appName string, files ...string)
- func VerifyAppPackageContentsV3(appName string, files ...string)
- func WithBananaPantsApp(f func(dir string))
- func WithCrashingApp(f func(dir string))
- func WithHelloWorldApp(f func(dir string))
- func WithMultiBuildpackApp(f func(dir string))
- func WithMultiEndpointApp(f func(dir string))
- func WithNoResourceMatchedApp(f func(dir string))
- func WithProcfileApp(f func(dir string))
- func WriteCommand(workingDir string, env map[string]string, args []string)
- func WriteFailureSummary(outputRoot, filename string)
- func WriteManifest(path string, manifest map[string]interface{})
- func Zipit(source, target, prefix string) error
- type AppInstanceRow
- type AppProcessTable
- type AppTable
- type Assets
- type Binary
- type BuildpackFields
- type CFEnv
- type Domain
- type PRBuilderReporter
- func (reporter *PRBuilderReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
- func (reporter *PRBuilderReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
- func (reporter *PRBuilderReporter) SpecDidComplete(specSummary *types.SpecSummary)
- func (reporter *PRBuilderReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
- func (reporter *PRBuilderReporter) SpecSuiteWillBegin(conf config.GinkgoConfigType, summary *types.SuiteSummary)
- func (reporter *PRBuilderReporter) SpecWillRun(specSummary *types.SpecSummary)
- type Package
- type Plan
- type PlanSchemas
- type Plugin
- type PluginCommand
- type PluginRepository
- type PluginRepositoryServerWithPlugin
- func (pluginRepoServer *PluginRepositoryServerWithPlugin) Cleanup()
- func (pluginRepoServer *PluginRepositoryServerWithPlugin) Init(pluginName string, version string, platform string, ...)
- func (pluginRepoServer *PluginRepositoryServerWithPlugin) PluginSize() int64
- func (pluginRepoServer *PluginRepositoryServerWithPlugin) URL() string
- type Route
- type SecurityGroup
- type ServiceBroker
- type ServiceInstanceGUID
- type UAAVersion
- type User
Examples ¶
Constants ¶
const ( DebugCommandPrefix = "\nCMD>" DebugCommandPrefixWithDir = "\nCMD %s>" DebugOutPrefix = "OUT: " DebugErrPrefix = "ERR: " )
const ( GUIDRegex = `[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}` ISO8601Regex = `\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{1,3}[+-]\d{4}` StaticfileBuildpackStartCommand = `\$HOME/boot.sh|sh boot.sh` ModernStaticfileBuildpackStartCommand = `$HOME/boot.sh` ModernStaticfileBuildpackStartCommandRegex = `\$HOME/boot\.sh` UserFriendlyDateRegex = `[A-Z][a-z]{2} \d{2} [A-Z][a-z]{2} \d{2}:\d{2}:\d{2} [A-Z]+ \d{4}` )
const ( DefaultV2Version string = "2.131.0" DefaultV3Version string = "3.66.0" )
const ( DefaultMemoryLimit = "256M" DefaultDiskLimit = "1G" )
const MaxTestPort = 1034
MaxTestPort should be defined by the CF router group for integration tests.
const MinTestPort = 1024
MinTestPort should be defined by the CF router group for integration tests.
const (
PRBuilderOutputEnvVar = "PR_BUILDER_OUTPUT_DIR"
)
Variables ¶
var CcRootCache *ccRoot
Functions ¶
func AddFiftyOneOrgs ¶
func AddHandler ¶
func AddLoginRoutes ¶
func AddLoginRoutes(s *Server)
func AddOrReplaceEnvironment ¶
func BuildConfigurablePlugin ¶
func BuildConfigurablePlugin(pluginType string, name string, version string, pluginCommands []PluginCommand) string
func BuildTokenString ¶
func BuildpackWithStack ¶
func BuildpackWithoutStack ¶
func BuildpackWithoutStack(f func(buildpackArchive string))
func BuildpacksOutputRegex ¶
func BuildpacksOutputRegex(fields BuildpackFields) string
func CFWithStdin ¶
func CheckEnvironmentTargetedCorrectly ¶
func CheckEnvironmentTargetedCorrectly(targetedOrganizationRequired bool, targetedSpaceRequired bool, testOrg string, command ...string)
CheckEnvironmentTargetedCorrectly will confirm if the command requires an API to be targeted and logged in to run. It can optionally check if the command requires org and space to be targeted.
func ClearTarget ¶
func ClearTarget()
func ConfirmStagingLogs ¶
func ConfirmStagingLogs(session *Session)
func ConvertPathToRegularExpression ¶
ConvertPathToRegularExpression converts a windows file path into a string which may be embedded in a ginkgo-compatible regular expression.
func CreateAndTargetOrg ¶
func CreateAndTargetOrg() string
func CreateCCV2Client ¶
func CreateOrgAndSpace ¶
func CreateSpace ¶
func CreateSpace(space string)
func CreateStack ¶
func CreateUser ¶
func CreateUserInOrgRole ¶
func CreateUserInSpaceRole ¶
func DebugCustomCF ¶
func DefaultSharedDomain ¶
func DefaultSharedDomain() string
func DeleteBuildpackIfOnOldCCAPI ¶
func DeleteBuildpackIfOnOldCCAPI(buildpackName string)
DeleteBuildpackIfOnOldCCAPI deletes the buildpack if the CC API targeted by the current test run is <= 2.80.0. Before this version, some entities would receive and invalid next_url in paginated requests. Since our test run now generally creates more than 50 buildpacks, we need to delete test buildpacks after use if we are targeting and older CC API. see https://github.com/cloudfoundry/capi-release/releases/tag/1.45.0
func DeleteStack ¶
func DeleteStack(name string)
func DeleteUser ¶
func DeleteUser(username string)
func DestroyHomeDir ¶
func DestroyHomeDir(homeDir string)
func DisableFeatureFlag ¶
func DisableFeatureFlag(flagName string)
func DomainName ¶
func EnableFeatureFlag ¶
func EnableFeatureFlag(flagName string)
func ExpiredAccessToken ¶
func ExpiredAccessToken() string
func FetchStacks ¶
func FetchStacks() []string
func GenerateHigherName ¶
TODO: Is this working???
func GenerateLowerName ¶
TODO: Is this working???
func GetAPIVersionV2 ¶
func GetAPIVersionV2() string
func GetCredentials ¶
GetCredentials returns back the username and the password.
func GetIsolationSegmentGUID ¶
func GetOrgGUID ¶
func GetPRBuilderReporter ¶
func GetSpaceGUID ¶
func InstallConfigurablePlugin ¶
func InstallConfigurablePlugin(name string, version string, pluginCommands []PluginCommand)
func InstallConfigurablePluginFailsUninstall ¶
func InstallConfigurablePluginFailsUninstall(name string, version string, pluginCommands []PluginCommand)
func IsUAAVersionAtLeast ¶
func IsVersionMet ¶
func LoginCFWithClientCredentials ¶
func LoginCFWithClientCredentials() string
func MakeBuildpackArchive ¶
func ManagedServiceInstanceGUID ¶
ManagedServiceInstanceGUID returns the GUID for a managed service instance.
func MapRouteToApplication ¶
func NewAppName ¶
func NewAppName() string
func NewBuildpackName ¶
func NewBuildpackName() string
func NewDomainName ¶
func NewIsolationSegmentName ¶
func NewOrgName ¶
func NewOrgName() string
func NewPassword ¶
func NewPassword() string
func NewPlanName ¶
func NewPlanName() string
func NewPluginRepositoryServer ¶
func NewPluginRepositoryServer(pluginRepo PluginRepository) *Server
func NewPluginRepositoryTLSServer ¶
func NewPluginRepositoryTLSServer(pluginRepo PluginRepository) *Server
func NewSecurityGroupName ¶
func NewServiceBrokerName ¶
func NewServiceBrokerName() string
func NewServiceName ¶
func NewServiceName() string
func NewSpaceName ¶
func NewSpaceName() string
func NewStackName ¶
func NewStackName() string
func NewUsername ¶
func NewUsername() string
func ParseTokenString ¶
func PluginPlatform ¶
func PluginPlatform() string
func PreferredStack ¶
func PreferredStack() string
func PrefixedRandomName ¶
func QuickDeleteOrg ¶
func QuickDeleteOrg(orgName string)
func QuickDeleteOrgIfExists ¶
func QuickDeleteOrgIfExists(orgName string)
func QuickDeleteSpace ¶
func QuickDeleteSpace(spaceName string)
func RandomName ¶
func RandomName() string
func RandomPort ¶
func RandomPort() int
func SayPath ¶
func SayPath(format string, path string) types.GomegaMatcher
SayPath is used to assert that a path is printed. On Windows, it uses a case-insensitive match and escapes the path. On non-Windows, it evaluates the base directory of the path for symlniks.
func SetConfigContent ¶
func SetHomeDir ¶
func SetHomeDir() string
func SetupBuildpackWithStack ¶
func SetupBuildpackWithStack(buildpackName, stack string)
func SetupBuildpackWithoutStack ¶
func SetupBuildpackWithoutStack(buildpackName string)
func SetupSynchronizedSuite ¶
func SetupSynchronizedSuite(setup func())
func SkipIfNoRoutingAPI ¶
func SkipIfNoRoutingAPI()
func SkipIfOIDCCredentialsNotSet ¶
SkipIfOIDCCredentialsNotSet returns back the username and the password for OIDC origin, or skips the test if those values are not set.
func SkipIfUAAVersionAtLeast ¶
func SkipIfUAAVersionAtLeast(version string)
func SkipIfUAAVersionLessThan ¶
func SkipIfUAAVersionLessThan(version string)
func SkipIfVersionAtLeast ¶
func SkipIfVersionAtLeast(maxVersion string)
func SkipIfVersionLessThan ¶
func SkipIfVersionLessThan(minVersion string)
func StartServerWithMinimumCLIVersion ¶
func StartServerWithMinimumCLIVersion(minCLIVersion string) *Server
func SwitchToNoRole ¶
func SwitchToNoRole() string
func SwitchToOrgRole ¶
func SwitchToSpaceRole ¶
func TargetOrgAndSpace ¶
func TempFileWithContent ¶
func TurnOffColors ¶
func TurnOffColors()
func TurnOffExperimental ¶
func TurnOffExperimental()
func TurnOffExperimentalLogin ¶
func TurnOffExperimentalLogin()
func TurnOnExperimental ¶
func TurnOnExperimental()
func TurnOnExperimentalLogin ¶
func TurnOnExperimentalLogin()
func UserProvidedServiceInstanceGUID ¶
UserProvidedServiceInstanceGUID returns the GUID for a user provided service instance.
func WithBananaPantsApp ¶
func WithBananaPantsApp(f func(dir string))
WithBananaPantsApp creates a simple application to use with your CLI command (typically CF Push). When pushing, be aware of specifying '-b staticfile_buildpack" so that your app will correctly start up with the proper buildpack.
func WithCrashingApp ¶
func WithCrashingApp(f func(dir string))
WithCrashingApp creates an application to use with your CLI command that will not successfully start its `web` process
func WithHelloWorldApp ¶
func WithHelloWorldApp(f func(dir string))
WithHelloWorldApp creates a simple application to use with your CLI command (typically CF Push). When pushing, be aware of specifying '-b staticfile_buildpack" so that your app will correctly start up with the proper buildpack.
Example ¶
var appName string When("the app exists", func() { BeforeEach(func() { appName = helpers.PrefixedRandomName("app") helpers.WithHelloWorldApp(func(appDir string) { Eventually(helpers.CustomCF(helpers.CFEnv{WorkingDirectory: appDir}, "push", appName)).Should(Exit(0)) }) }) })
Output:
func WithMultiBuildpackApp ¶
func WithMultiBuildpackApp(f func(dir string))
WithMultiBuildpackApp creates a multi-buildpack application to use with the CF push command.
func WithMultiEndpointApp ¶
func WithMultiEndpointApp(f func(dir string))
WithMultiEndpointApp creates a simple application to use with your CLI command (typically CF Push). It has multiple endpoints which are helpful when testing http healthchecks
func WithNoResourceMatchedApp ¶
func WithNoResourceMatchedApp(f func(dir string))
WithNoResourceMatchedApp creates a simple application to use with your CLI command (typically CF Push). When pushing, be aware of specifying '-b staticfile_buildpack" so that your app will correctly start up with the proper buildpack.
func WithProcfileApp ¶
func WithProcfileApp(f func(dir string))
WithProcfileApp creates an application to use with your CLI command that contains Procfile defining web and worker processes.
func WriteFailureSummary ¶
func WriteFailureSummary(outputRoot, filename string)
WriteFailureSummary aggregates test failures from all parallel nodes, sorts them, and writes the result to a file.
func WriteManifest ¶
WriteManifest will write out a YAML manifest file at the specified path.
Types ¶
type AppInstanceRow ¶
type AppProcessTable ¶
type AppProcessTable struct { Type string InstanceCount string MemUsage string Instances []AppInstanceRow }
type BuildpackFields ¶
type Domain ¶
func (Domain) CreateInternal ¶
func (d Domain) CreateInternal()
func (Domain) CreatePrivate ¶
func (d Domain) CreatePrivate()
func (Domain) CreateShared ¶
func (d Domain) CreateShared()
func (Domain) CreateWithRouterGroup ¶
func (Domain) DeleteShared ¶
func (d Domain) DeleteShared()
type PRBuilderReporter ¶
type PRBuilderReporter struct {
// contains filtered or unexported fields
}
func NewPRBuilderReporter ¶
func NewPRBuilderReporter(outputDir string) *PRBuilderReporter
func (*PRBuilderReporter) AfterSuiteDidRun ¶
func (reporter *PRBuilderReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
func (*PRBuilderReporter) BeforeSuiteDidRun ¶
func (reporter *PRBuilderReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
func (*PRBuilderReporter) SpecDidComplete ¶
func (reporter *PRBuilderReporter) SpecDidComplete(specSummary *types.SpecSummary)
func (*PRBuilderReporter) SpecSuiteDidEnd ¶
func (reporter *PRBuilderReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
func (*PRBuilderReporter) SpecSuiteWillBegin ¶
func (reporter *PRBuilderReporter) SpecSuiteWillBegin(conf config.GinkgoConfigType, summary *types.SuiteSummary)
func (*PRBuilderReporter) SpecWillRun ¶
func (reporter *PRBuilderReporter) SpecWillRun(specSummary *types.SpecSummary)
type Plan ¶
type Plan struct { Name string `json:"name"` ID string `json:"id"` Schemas PlanSchemas `json:"schemas"` }
type PlanSchemas ¶
type PlanSchemas struct { ServiceInstance struct { Create struct { Parameters map[string]interface{} `json:"parameters"` } `json:"create"` Update struct { Parameters map[string]interface{} `json:"parameters"` } `json:"update"` } `json:"service_instance"` ServiceBinding struct { Create struct { Parameters map[string]interface{} `json:"parameters"` } `json:"create"` } `json:"service_binding"` }
type PluginCommand ¶
type PluginRepository ¶
type PluginRepository struct {
Plugins []Plugin `json:"plugins"`
}
type PluginRepositoryServerWithPlugin ¶
type PluginRepositoryServerWithPlugin struct {
// contains filtered or unexported fields
}
func NewPluginRepositoryServerWithPlugin ¶
func NewPluginRepositoryServerWithPlugin(pluginName string, version string, platform string, shouldCalculateChecksum bool) *PluginRepositoryServerWithPlugin
func (*PluginRepositoryServerWithPlugin) Cleanup ¶
func (pluginRepoServer *PluginRepositoryServerWithPlugin) Cleanup()
func (*PluginRepositoryServerWithPlugin) Init ¶
func (pluginRepoServer *PluginRepositoryServerWithPlugin) Init(pluginName string, version string, platform string, shouldCalculateChecksum bool)
func (*PluginRepositoryServerWithPlugin) PluginSize ¶
func (pluginRepoServer *PluginRepositoryServerWithPlugin) PluginSize() int64
func (*PluginRepositoryServerWithPlugin) URL ¶
func (pluginRepoServer *PluginRepositoryServerWithPlugin) URL() string
type SecurityGroup ¶
type SecurityGroup struct { Name string `json:"-"` Protocol string `json:"protocol"` Destination string `json:"destination"` Ports string `json:"ports"` Description string `json:"description"` }
func NewSecurityGroup ¶
func (SecurityGroup) Create ¶
func (s SecurityGroup) Create()
type ServiceBroker ¶
type ServiceBroker struct { Name string Path string AppsDomain string Service struct { Name string `json:"name"` ID string `json:"id"` Bindable bool `json:"bindable"` Requires string `json:"-"` DashboardClient struct { ID string `json:"id"` Secret string `json:"secret"` RedirectUri string `json:"redirect_uri"` } } SyncPlans []Plan AsyncPlans []Plan }
func CreateBroker ¶
func CreateBroker(domain, serviceName, planName string) ServiceBroker
func NewAsynchServiceBroker ¶
func NewServiceBroker ¶
func (ServiceBroker) Configure ¶
func (b ServiceBroker) Configure(shareable bool)
func (ServiceBroker) Create ¶
func (b ServiceBroker) Create()
func (ServiceBroker) Delete ¶
func (b ServiceBroker) Delete()
func (ServiceBroker) Destroy ¶
func (b ServiceBroker) Destroy()
func (ServiceBroker) Push ¶
func (b ServiceBroker) Push()
func (ServiceBroker) ToJSON ¶
func (b ServiceBroker) ToJSON(shareable bool) string
func (ServiceBroker) Update ¶
func (b ServiceBroker) Update()
type ServiceInstanceGUID ¶
type ServiceInstanceGUID struct { Resources []struct { Metadata struct { GUID string `json:"guid"` } `json:"metadata"` } `json:"resources"` }
type UAAVersion ¶
type UAAVersion struct { App struct { Version string `json:"version"` } `json:"app"` }
func (UAAVersion) Version ¶
func (v UAAVersion) Version() string
Source Files ¶
- app.go
- app_instance_table.go
- buildpack.go
- buildpack_v6.go
- client.go
- client_credentials.go
- command.go
- config.go
- constants.go
- curl.go
- docker.go
- domains.go
- environment.go
- fake_data.go
- fake_server.go
- feature_flags.go
- file.go
- ginkgo_routing_extension.go
- isolation_segment.go
- login.go
- matchers.go
- name_generator.go
- org_and_space.go
- package.go
- plugin.go
- plugin_repo.go
- plugin_repo_platform_unix.go
- quota.go
- random_port.go
- reporters.go
- route.go
- route_mapping.go
- security_group.go
- service_binding.go
- service_broker.go
- service_instance.go
- sha.go
- skip_experimental.go
- stack.go
- token.go
- user.go
- version.go