repo stringlengths 6 47 | file_url stringlengths 77 269 | file_path stringlengths 5 186 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-07 08:35:43 2026-01-07 08:55:24 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/disableProductVerifiersService.go | commands/fakes/disableProductVerifiersService.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type DisableProductVerifiersService struct {
DisableProductVerifiersStub func([]string, string) error
disableProductVerifiersMutex sync.RWMutex
disableProductVerifiersArgsForCall []struct... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/available_products_service.go | commands/fakes/available_products_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type AvailableProductsService struct {
ListAvailableProductsStub func() (api.AvailableProductsOutput, error)
listAvailableProductsMutex sync.RWMutex
listAvailableProductsArgsForCall []str... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/assign_multi_stemcell_service.go | commands/fakes/assign_multi_stemcell_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type AssignMultiStemcellService struct {
AssignMultiStemcellStub func(api.ProductMultiStemcells) error
assignMultiStemcellMutex sync.RWMutex
assignMultiStemcellArgsForCall []struct {
ar... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/export_installation_service.go | commands/fakes/export_installation_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
)
type ExportInstallationService struct {
DownloadInstallationAssetCollectionStub func(string) error
downloadInstallationAssetCollectionMutex sync.RWMutex
downloadInstallationAssetCollectionArgsForCall []struct {
arg1 st... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/multipart.go | commands/fakes/multipart.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/formcontent"
)
type Multipart struct {
AddFieldStub func(string, string) error
addFieldMutex sync.RWMutex
addFieldArgsForCall []struct {
arg1 string
arg2 string
}
addFieldReturns struct {
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/certificate_authorities_service.go | commands/fakes/certificate_authorities_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type CertificateAuthoritiesService struct {
ListCertificateAuthoritiesStub func() (api.CertificateAuthoritiesOutput, error)
listCertificateAuthoritiesMutex sync.RWMutex
listCertificateAut... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/deployed_products_service.go | commands/fakes/deployed_products_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type DeployedProductsService struct {
GetDiagnosticReportStub func() (api.DiagnosticReport, error)
getDiagnosticReportMutex sync.RWMutex
getDiagnosticReportArgsForCall []struct {
}
getD... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/generate_certificate_authority_service.go | commands/fakes/generate_certificate_authority_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type GenerateCertificateAuthorityService struct {
GenerateCertificateAuthorityStub func() (api.GenerateCAResponse, error)
generateCertificateAuthorityMutex sync.RWMutex
generateCertificat... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/import_installation_service.go | commands/fakes/import_installation_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ImportInstallationService struct {
EnsureAvailabilityStub func(api.EnsureAvailabilityInput) (api.EnsureAvailabilityOutput, error)
ensureAvailabilityMutex sync.RWMutex
ensureAvailabil... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/download_product_service.go | commands/fakes/download_product_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
)
type DownloadProductService struct {
CheckProductAvailabilityStub func(string, string) (bool, error)
checkProductAvailabilityMutex sync.RWMutex
checkProductAvailabilityArgsForCall []struct {
arg1 string
arg2 string
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/configure_opsman_service.go | commands/fakes/configure_opsman_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ConfigureOpsmanService struct {
EnableRBACStub func(api.RBACSettings) error
enableRBACMutex sync.RWMutex
enableRBACArgsForCall []struct {
arg1 api.RBACSettings
}
enableRBACReturn... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/logger.go | commands/fakes/logger.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
)
type Logger struct {
PrintStub func(...interface{})
printMutex sync.RWMutex
printArgsForCall []struct {
arg1 []interface{}
}
PrintfStub func(string, ...interface{})
printfMutex sync.RWMutex
printfArgsF... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/credential_references_service.go | commands/fakes/credential_references_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type CredentialReferencesService struct {
ListDeployedProductCredentialsStub func(string) (api.CredentialReferencesOutput, error)
listDeployedProductCredentialsMutex sync.RWMutex
listDepl... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/bosh_environment_service.go | commands/fakes/bosh_environment_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type BoshEnvironmentService struct {
GetBoshEnvironmentStub func() (api.GetBoshEnvironmentOutput, error)
getBoshEnvironmentMutex sync.RWMutex
getBoshEnvironmentArgsForCall []struct {
}
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/diff_service.go | commands/fakes/diff_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type BoshDiffService struct {
DirectorDiffStub func() (api.DirectorDiff, error)
directorDiffMutex sync.RWMutex
directorDiffArgsForCall []struct {
}
directorDiffReturns struct {
result... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/get_certificates_service.go | commands/fakes/get_certificates_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type GetCertificatesService struct {
GetDeployedProductCredentialStub func(api.GetDeployedProductCredentialInput) (api.GetDeployedProductCredentialOutput, error)
getDeployedProductCredentialMute... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/delete_installation_service.go | commands/fakes/delete_installation_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type DeleteInstallationService struct {
DeleteInstallationAssetCollectionStub func() (api.InstallationsServiceOutput, error)
deleteInstallationAssetCollectionMutex sync.RWMutex
deleteInst... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/credentials_service.go | commands/fakes/credentials_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type CredentialsService struct {
GetDeployedProductCredentialStub func(api.GetDeployedProductCredentialInput) (api.GetDeployedProductCredentialOutput, error)
getDeployedProductCredentialMutex ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/installations_service.go | commands/fakes/installations_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type InstallationsService struct {
ListInstallationsStub func() ([]api.InstallationsServiceOutput, error)
listInstallationsMutex sync.RWMutex
listInstallationsArgsForCall []struct {
}
l... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/posix.go | renderers/posix.go | package renderers
import (
"fmt"
"strings"
)
type posix struct {
}
// NewPosix defines a new posix renderer
func NewPosix() Renderer {
return &posix{}
}
func (renderer *posix) RenderEnvironmentVariable(variable string, value string) string {
if strings.ContainsAny(value, "\n") {
suffix := ""
if !strings.Has... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/renderer.go | renderers/renderer.go | package renderers
// Renderer defines a rendering interface
type Renderer interface {
RenderEnvironmentVariable(variable string, value string) string
RenderUnsetVariable(variable string) string
Type() string
}
| go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/init_test.go | renderers/init_test.go | package renderers_test
import (
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestRenderers(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "renderers")
}
| go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/powershell_test.go | renderers/powershell_test.go | package renderers_test
import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/renderers"
)
var _ = Describe(renderers.ShellTypePowershell, func() {
var (
renderer renderers.Renderer
)
BeforeEach(func() {
renderer = renderers.NewPowershell()
})
Describe("RenderEnviro... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/factory_test.go | renderers/factory_test.go | package renderers_test
import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/renderers"
"github.com/pivotal-cf/om/renderers/fakes"
)
var _ = Describe("Factory", func() {
Describe("Create", func() {
var (
factory renderers.Factory
envGetter *fakes.EnvGetter
)
C... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/env_getter.go | renderers/env_getter.go | package renderers
import "os"
type envGetter struct {
}
// EnvGetter defines fetching environment variables
//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate
//counterfeiter:generate -o ./fakes/env_getter.go --fake-name EnvGetter . EnvGetter
type EnvGetter interface {
Get(name string) string
}... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/factory.go | renderers/factory.go | package renderers
import (
"fmt"
)
type factory struct {
envGetter EnvGetter
}
// Factory defines a new renderer factory
type Factory interface {
Create(shellType string) (Renderer, error)
}
// NewFactory creates a new factory
func NewFactory(envGetter EnvGetter) Factory {
return &factory{
envGetter: envGette... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/posix_test.go | renderers/posix_test.go | package renderers_test
import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/renderers"
)
var _ = Describe(renderers.ShellTypePosix, func() {
var (
renderer renderers.Renderer
)
BeforeEach(func() {
renderer = renderers.NewPosix()
})
Describe("RenderEnvironmentVaria... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/powershell.go | renderers/powershell.go | package renderers
import (
"fmt"
"strings"
)
type powershell struct {
}
// NewPowershell creates a new Powershell Renderer
func NewPowershell() Renderer {
return &powershell{}
}
func (renderer *powershell) RenderEnvironmentVariable(variable string, value string) string {
if strings.ContainsAny(value, "\n") {
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/shell_types.go | renderers/shell_types.go | package renderers
const (
ShellTypePowershell = "powershell"
ShellTypePosix = "posix"
)
| go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/renderers/fakes/env_getter.go | renderers/fakes/env_getter.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/renderers"
)
type EnvGetter struct {
GetStub func(string) string
getMutex sync.RWMutex
getArgsForCall []struct {
arg1 string
}
getReturns struct {
result1 string
}
getReturnsOnCall map[i... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/formcontent/formcontent.go | formcontent/formcontent.go | package formcontent
import (
"bytes"
"errors"
"io"
"mime/multipart"
"os"
"path/filepath"
)
type Form struct {
contentType string
boundary string
length int64
pr *io.PipeReader
pw *io.PipeWriter
formFields *bytes.Buffer
formWriter *multipart.Writer
files []string
fileKe... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/formcontent/formcontent_test.go | formcontent/formcontent_test.go | package formcontent_test
import (
"io"
"os"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/formcontent"
)
var _ = Describe("Formcontent", func() {
var form *formcontent.Form
Describe("Reset", func() {
var fileWithContent string
BeforeEach(func() {
handle, err := o... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/formcontent/formcontent_suite_test.go | formcontent/formcontent_suite_test.go | package formcontent_test
import (
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestFormcontent(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Formcontent Suite")
}
| go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/configparser/configparser_test.go | configparser/configparser_test.go | package configparser_test
import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/configparser"
)
var _ = Describe("Config Parser", func() {
var (
properties map[string]api.ResponseProperty
)
getOutput := func(handler co... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/configparser/configparser_suite_test.go | configparser/configparser_suite_test.go | package configparser_test
import (
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestConfigparser(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Configparser Suite")
}
| go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/configparser/configparser.go | configparser/configparser.go | package configparser
import (
"fmt"
"github.com/pivotal-cf/om/api"
"strconv"
"strings"
)
type getCredential interface {
GetDeployedProductCredential(input api.GetDeployedProductCredentialInput) (api.GetDeployedProductCredentialOutput, error)
}
type CredentialHandler func(name PropertyName, property api.Response... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/interpolate/execute.go | interpolate/execute.go | package interpolate
import (
"fmt"
"os"
"strings"
"github.com/cloudfoundry/bosh-cli/director/template"
"github.com/cppforlife/go-patch/patch"
"gopkg.in/yaml.v2"
)
type Options struct {
TemplateFile string
VarsEnvs []string
VarsFiles []string
Vars []string
OpsFiles []string
Environ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/interpolate/interpolate_suite_test.go | interpolate/interpolate_suite_test.go | package interpolate_test
import (
"os"
"testing"
"github.com/pivotal-cf/om/interpolate"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestInterpolate(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Interpolate Suite")
}
var _ = Describe("Execute", func() {
It("errors when the templ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/models/models.go | models/models.go | package models
import "time"
type Installation struct {
FinishedAt *time.Time `json:"finished_at,omitempty"`
Id int `json:"id"`
StartedAt *time.Time `json:"started_at"`
Status string `json:"status"`
User string `json:"user"`
}
type Product struct {
Name string `json:"name"`... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/download_product_azure_test.go | acceptance/download_product_azure_test.go | package acceptance
import (
"os"
"os/exec"
"path/filepath"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("download-product command", func() {
When("downloading from azure", func() {
var (
bucketName string
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/credential_references_test.go | acceptance/credential_references_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("credential references command", func() {
const tableOutput = `+------------------------------+
| CREDENTIALS ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/stage_product_test.go | acceptance/stage_product_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("stage-product command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/delete_product_test.go | acceptance/delete_product_test.go | package acceptance
import (
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("delete-product command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServer()
server.AppendH... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/configure_saml_authentication_test.go | acceptance/configure_saml_authentication_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("configure-saml-authentication command", func() {
var (
server *ghttp.Server
)
Befo... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/assign_multi_stemcell_test.go | acceptance/assign_multi_stemcell_test.go | package acceptance
import (
"net/http"
"os/exec"
"time"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("assign-multi-stemcell command", func() {
var (
server *ghttp.Server
)
Befo... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/credentials_test.go | acceptance/credentials_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("credentials command", func() {
const tableOutput = `+-----------------------+
| some-credential-key |
+---------------... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/create_vm_extension_test.go | acceptance/create_vm_extension_test.go | package acceptance
import (
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("create VM extension", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServer()
server.AppendHand... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/upload_stemcell_test.go | acceptance/upload_stemcell_test.go | package acceptance
import (
"fmt"
"net/http"
"os"
"os/exec"
"path/filepath"
"time"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("upload-stemcell command", func() {
var (
stemce... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/handle_config_file_test.go | acceptance/handle_config_file_test.go | package acceptance
import (
"net/http"
"os/exec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
"github.com/onsi/gomega/ghttp"
)
var _ = Describe("When passing a config file to a command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = create... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/pending_changes_test.go | acceptance/pending_changes_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("pending_changes command", func() {
const tableOutput = `+----------------+---------+--------------------+
| PRODUCT ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/certificate_authority_test.go | acceptance/certificate_authority_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("certificate-authority", func() {
const tableOutput = `+------------+----------+--------+------------+------------+------... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/global_flag_test.go | acceptance/global_flag_test.go | package acceptance
import (
"crypto/x509"
"encoding/pem"
"os"
"os/exec"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("global flags", func() {
When("provided an unknown global flag", func() {
It("prints the usage", func() {
cmd := exec.Comman... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/configure_authentication_test.go | acceptance/configure_authentication_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("configure-authentication command", func() {
var (
server *ghttp.Server
)
BeforeEac... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/installation_log_test.go | acceptance/installation_log_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("installation-log command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServer()
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/import_installation_test.go | acceptance/import_installation_test.go | package acceptance
import (
"archive/zip"
"net/http"
"os"
"os/exec"
"path/filepath"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("import-installation command", func() {
var (
in... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/configure_director_test.go | acceptance/configure_director_test.go | package acceptance
import (
"net/http"
"os"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("configure-director command", func() {
var (
server *ghttp.Server
)
BeforeEach... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/export_installation_test.go | acceptance/export_installation_test.go | package acceptance
import (
"net/http"
"os"
"os/exec"
"time"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("export-installation command", func() {
var (
server *ghttp.Serve... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/pre_deploy_check_test.go | acceptance/pre_deploy_check_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("pre_deploy_check command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServer()
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/delete_installation_test.go | acceptance/delete_installation_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("delete-installation command", func() {
var (
server *ghttp.Server
)
BeforeEach(fun... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/disable_director_verifiers_test.go | acceptance/disable_director_verifiers_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("disable_director_verifiers command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLS... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/init_test.go | acceptance/init_test.go | package acceptance
import (
"fmt"
"net/http"
"os"
"os/exec"
"regexp"
"strings"
"testing"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var (
pathToMain string
minio *gexec.Session
)
var _ =... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/errands_test.go | acceptance/errands_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("errands command", func() {
const tableOutput = `+---------------+---------------------+--------------------+
| NAME ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/staged_config_test.go | acceptance/staged_config_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("staged-config command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServer()
ser... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/unknown_command_test.go | acceptance/unknown_command_test.go | package acceptance
import (
"os/exec"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("unknown command", func() {
It("prints the usage", func() {
cmd := exec.Command(pathToMain, "-t", "pcf.foo.cf-app.com", "banana")
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/delete_unused_products_test.go | acceptance/delete_unused_products_test.go | package acceptance
import (
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("delete-unused-products command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
se... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/interpolate_test.go | acceptance/interpolate_test.go | package acceptance
import (
"fmt"
"os"
"os/exec"
"strings"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("interpolate command", func() {
When("given a valid YAML file", func() {
createFile := func(contents string)... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/delete_certificate_authority_test.go | acceptance/delete_certificate_authority_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("delete certificate authority", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServer(... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/configure_product_test.go | acceptance/configure_product_test.go | package acceptance
import (
"fmt"
"net/http"
"os"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("configure-product command", func() {
var (
server *ghttp.Server
con... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/curl_test.go | acceptance/curl_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("curl command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServer()
server.Appen... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/download_product_s3_test.go | acceptance/download_product_s3_test.go | package acceptance
import (
"fmt"
"os"
"os/exec"
"path/filepath"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("download-product command", func() {
When("downloading from s3", func() {
var (
bucketName string
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/config_template_test.go | acceptance/config_template_test.go | package acceptance
import (
"bytes"
"fmt"
"net/http"
"os"
"os/exec"
"path/filepath"
"time"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("config-template command", func() {
var server *ghttp.Server
AfterEach(f... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/revert_staged_changes_test.go | acceptance/revert_staged_changes_test.go | package acceptance
import (
"net/http"
"os/exec"
"regexp"
. "github.com/onsi/ginkgo/v2"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/gomega"
)
var _ = Describe("revert-staged-changes command", func() {
var (
server *ghttp.Server
)
Bef... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/upload_product_test.go | acceptance/upload_product_test.go | package acceptance
import (
"archive/zip"
"fmt"
"io"
"net/http"
"os"
"os/exec"
"path/filepath"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/extractor"
"github.com/pivotal-c... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/global_env_file_test.go | acceptance/global_env_file_test.go | package acceptance
import (
"crypto/x509"
"encoding/pem"
"fmt"
"os"
"os/exec"
"regexp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
const validConfigFile = `
---
password: some-env-provided-password
username: some-env-provided-u... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/configure_ldap_authentication_test.go | acceptance/configure_ldap_authentication_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("configure-ldap-authentication command", func() {
var (
server *ghttp.Server
)
Befo... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/generate_certificate_authority_test.go | acceptance/generate_certificate_authority_test.go | package acceptance
import (
"net/http"
"os/exec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
"github.com/onsi/gomega/ghttp"
)
var _ = Describe("generate certificate authority", func() {
const tableOutput = `+----------------------+-------------+--------+------------... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/trace_test.go | acceptance/trace_test.go | package acceptance
import (
"archive/zip"
"io"
"net/http"
"os"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("global trace flag", func() {
const tableOutput = `+--------------+---------+
| NAME |... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/help_test.go | acceptance/help_test.go | package acceptance
import (
"os/exec"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("help", func() {
When("given no command at all", func() {
It("prints the global usage", func() {
command := exec.Command(pathToMain)
session, err := gexec.Sta... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/unstage_product_test.go | acceptance/unstage_product_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("unstage-product command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/create_certificate_authority_test.go | acceptance/create_certificate_authority_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("create certificate authority", func() {
const tableOutput = `+----------------------+-------------+--------+------------+... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/products_test.go | acceptance/products_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("products command", func() {
const defaultTableOutput = `+----------------+-----------+--------+----------+
| NAME ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/global_env_var_test.go | acceptance/global_env_var_test.go | package acceptance
import (
"fmt"
"net/http"
"net/http/httptest"
"net/http/httputil"
"os"
"os/exec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("using env vars for Ops Man target information", func() {
It("authe... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/staged_products_test.go | acceptance/staged_products_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("staged-products command", func() {
const tableOutput = `+----------------+------------------+
| NAME | VER... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/version_test.go | acceptance/version_test.go | package acceptance
import (
"fmt"
"time"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/cmd"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("version command", func() {
var version string
var buffer *gbytes.Buffer
BeforeEach(func() {
version = fmt.Sprintf("v0.0.0-... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/disable_product_verifiers_test.go | acceptance/disable_product_verifiers_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("disable_product_verifiers command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSS... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/generate_certificate_test.go | acceptance/generate_certificate_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("generate certificate", func() {
const output = `{
"certificate": "-----BEGIN CERTIFICATE-----\nfake-cert\n-----END CERT... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/diagnostic_report_test.go | acceptance/diagnostic_report_test.go | package acceptance
import (
"net/http"
"os/exec"
"time"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
"github.com/onsi/gomega/ghttp"
)
var _ = Describe("diagnostic-report command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSSer... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/regenerate_certificates_test.go | acceptance/regenerate_certificates_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("regenerate certificates", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServer()
s... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/apply_changes_test.go | acceptance/apply_changes_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("apply-changes command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/available_products_test.go | acceptance/available_products_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("available-products command", func() {
const tableOutput = `+--------------+---------+
|... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/activate_certificate_authority_test.go | acceptance/activate_certificate_authority_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("activate certificate authority", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServe... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/deployed_manifest_test.go | acceptance/deployed_manifest_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("deployed-manifest command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServer()
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/download_product_pivnet_test.go | acceptance/download_product_pivnet_test.go | package acceptance
import (
"archive/zip"
"bytes"
"context"
"fmt"
"io"
"net/http"
"os"
"os/exec"
"path/filepath"
"strings"
"time"
"cloud.google.com/go/storage"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
"github.com/onsi/gome... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/certificate_authorities_test.go | acceptance/certificate_authorities_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("certificate-authorities", func() {
const tableOutput = `+------------+----------+--------+------------+------------+----... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/installations_test.go | acceptance/installations_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("installations command", func() {
const tableOutput = `+----+-------------+-----------+--------------------------+--------... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/download_product_gcs_test.go | acceptance/download_product_gcs_test.go | package acceptance
import (
"encoding/json"
"fmt"
"os"
"os/exec"
"path/filepath"
"time"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("download-product command", func() {
When("downloading from gcs", func() {
v... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/product_metadata_test.go | acceptance/product_metadata_test.go | package acceptance
import (
"archive/zip"
"bytes"
"fmt"
"net/http"
"os"
"os/exec"
"time"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("product-metadata command", func() {
Context... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/deployed_products_test.go | acceptance/deployed_products_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("deployed-products command", func() {
const tableOutput = `+----------------+------------------+
| NAME | VE... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/assign_stemcell_test.go | acceptance/assign_stemcell_test.go | package acceptance
import (
"net/http"
"os/exec"
"time"
"github.com/onsi/gomega/ghttp"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("assign-stemcell command", func() {
var (
server *ghttp.Server
)
BeforeEach... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/acceptance/staged_manifest_test.go | acceptance/staged_manifest_test.go | package acceptance
import (
"net/http"
"os/exec"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("staged-manifest command", func() {
var (
server *ghttp.Server
)
BeforeEach(func() {
server = createTLSServer()
s... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.