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/configure_ldap_authentication_test.go | commands/configure_ldap_authentication_test.go | package commands_test
import (
"errors"
"log"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("ConfigureLDAPAuthentication.Execute", func(... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/installation_log.go | commands/installation_log.go | package commands
import (
"github.com/pivotal-cf/om/api"
)
type InstallationLog struct {
service installationLogService
logger logger
Options struct {
Id int `long:"id" required:"true" description:"id of the installation to retrieve logs for"`
}
}
//counterfeiter:generate -o ./fakes/installation_log_service.... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/generate_certificate_authority_test.go | commands/generate_certificate_authority_test.go | package commands_test
import (
"errors"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
)
var _ = Describe("GenerateCertificateAutho... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/generate_certificate.go | commands/generate_certificate.go | package commands
import (
"github.com/pivotal-cf/om/api"
"strings"
)
type GenerateCertificate struct {
service generateCertificateService
logger logger
Options struct {
Domains []string `long:"domains" short:"d" required:"true" description:"domains to generate certificates, can include wildcard domains. Can b... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/delete_products.go | commands/delete_products.go | package commands
import (
"github.com/pivotal-cf/om/api"
)
type DeleteProduct struct {
service deleteProductService
Options struct {
Product string `long:"product-name" short:"p" required:"true" description:"name of product"`
Version string `long:"product-version" short:"v" required:"true" description:"vers... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/unstage_product_test.go | commands/unstage_product_test.go | package commands_test
import (
"errors"
"fmt"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("UnstageProduct", func() {
var (
fakeService *fakes.UnstageProductService
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/delete_unused_products.go | commands/delete_unused_products.go | package commands
import (
"github.com/pivotal-cf/om/api"
)
type DeleteUnusedProducts struct {
service deleteUnusedProductsService
logger logger
}
//counterfeiter:generate -o ./fakes/delete_unused_products_service.go --fake-name DeleteUnusedProductsService . deleteUnusedProductsService
type deleteUnusedProductsSe... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/curl.go | commands/curl.go | package commands
import (
"bytes"
"encoding/json"
"fmt"
"io"
"net/http"
"os"
"strings"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/formcontent"
)
//counterfeiter:generate -o ./fakes/curl_service.go --fake-name CurlService . curlService
type curlService interface {
Curl(api.RequestServiceCurlIn... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/create_certificate_authority_test.go | commands/create_certificate_authority_test.go | package commands_test
import (
"errors"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
)
var _ = Describe("CreateCertificateAuthori... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/products_test.go | commands/products_test.go | package commands_test
import (
"errors"
"github.com/pivotal-cf/om/models"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
)
var _ ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/revert_staged_changes.go | commands/revert_staged_changes.go | package commands
import (
"fmt"
)
type RevertStagedChanges struct {
service revertStagedChangesService
logger logger
}
type revertStagedChangesService interface {
RevertStagedChanges() (bool, error)
}
func NewRevertStagedChanges(service revertStagedChangesService, logger logger) *RevertStagedChanges {
return ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/product_metadata.go | commands/product_metadata.go | package commands
import (
"errors"
"fmt"
"github.com/pivotal-cf/om/configtemplate/generator"
"github.com/pivotal-cf/om/configtemplate/metadata"
)
type ProductMetadata struct {
buildProvider productMetadataBuildProvider
stdout logger
Options struct {
InterpolateOptions interpolateConfigFileOptio... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/bosh_environment_test.go | commands/bosh_environment_test.go | package commands_test
import (
"fmt"
"os"
"path/filepath"
"strings"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
"github.com/pivotal-cf/om/renderers"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("bosh-env", func... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/configure_saml_authentication.go | commands/configure_saml_authentication.go | package commands
import (
"errors"
"fmt"
"github.com/pivotal-cf/om/api"
)
type ConfigureSAMLAuthentication struct {
service configureAuthenticationService
logger logger
environFunc func() []string
Options struct {
InterpolateOptions interpolateConfigFileOptions `group:"config file interpolation"... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/deployed_manifest.go | commands/deployed_manifest.go | package commands
import (
"errors"
"github.com/pivotal-cf/om/api"
)
type DeployedManifest struct {
service deployedManifestService
logger logger
Options struct {
ProductName string `long:"product-name" short:"p" required:"true" description:"name of product"`
}
}
//counterfeiter:generate -o ./fakes/deployed_... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/staged_products_test.go | commands/staged_products_test.go | package commands_test
import (
"errors"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
)
var _ = Describe("StagedProducts", func() ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/certificate_authority.go | commands/certificate_authority.go | package commands
import (
"errors"
"fmt"
"reflect"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/presenters"
)
type CertificateAuthority struct {
service certificateAuthoritiesService
presenter presenters.FormattedPresenter
logger logger
Options struct {
ID string `long:"id" descrip... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/version_test.go | commands/version_test.go | package commands_test
import (
"bytes"
"errors"
"github.com/pivotal-cf/om/commands"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
type badWriter struct{}
func (bw badWriter) Write([]byte) (int, error) {
return 0, errors.New("failed to write")
}
var _ = Describe("Version", func() {
Describe("Ex... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/delete_certificate_authority.go | commands/delete_certificate_authority.go | package commands
import (
"errors"
"github.com/pivotal-cf/om/api"
)
type DeleteCertificateAuthority struct {
service deleteCertificateAuthorityService
logger logger
Options struct {
Id string `long:"id" required:"false" description:"certificate authority id"`
AllInactive bool `long:"all-inactive... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/disable_product_verifiers_test.go | commands/disable_product_verifiers_test.go | package commands_test
import (
"errors"
"log"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
v... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/import_installation.go | commands/import_installation.go | package commands
import (
"archive/zip"
"errors"
"fmt"
"os"
"strings"
"time"
"github.com/pivotal-cf/om/api"
)
const maxRetries = 3
type ImportInstallation struct {
multipart multipart
logger logger
service importInstallationService
passphrase string
Options struct {
InterpolateOptions inter... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/create_certificate_authority.go | commands/create_certificate_authority.go | package commands
import (
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/presenters"
)
type CreateCertificateAuthority struct {
service createCertificateAuthorityService
presenter presenters.FormattedPresenter
Options struct {
CertPem string `long:"certificate-pem" required:"true" description:... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/generate_certificate_test.go | commands/generate_certificate_test.go | package commands_test
import (
"errors"
"fmt"
"strings"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
)
var _ = Describe("GenerateCertificate", func() {
var (
fakeService *fakes.Generat... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/diagnostic_report_test.go | commands/diagnostic_report_test.go | package commands_test
import (
"errors"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
)
var _ = Describe("DiagnosticReport", func(... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/regenerate_certificates_test.go | commands/regenerate_certificates_test.go | package commands_test
import (
"fmt"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
)
var _ = Describe("RegenerateCertificates", func() {
var (
fakeService *fakes.RegenerateCertificatesService
fakeLogger *fakes.Logger... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/interpolate.go | commands/interpolate.go | package commands
import (
"errors"
"fmt"
"io"
"log"
"os"
"github.com/pivotal-cf/om/interpolate"
)
type interpolateOptions struct {
ConfigFile string `long:"config" short:"c" description:"path for file to be interpolated"`
VarsEnv []string `long:"vars-env" env:"OM_VARS_ENV" description:"load va... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/upload_stemcell.go | commands/upload_stemcell.go | package commands
import (
"errors"
"fmt"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/formcontent"
"github.com/pivotal-cf/om/validator"
"os"
"path/filepath"
"regexp"
)
const maxStemcellUploadRetries = 2
type UploadStemcell struct {
multipart multipart
logger logger
service uploadStemcellS... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/apply_changes_test.go | commands/apply_changes_test.go | package commands_test
import (
"errors"
"fmt"
"log"
"os"
"regexp"
"time"
"github.com/onsi/gomega/gbytes"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = De... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/available_products_test.go | commands/available_products_test.go | package commands_test
import (
"errors"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
"github.com/pivotal-cf/om/models"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ =... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/download_product.go | commands/download_product.go | package commands
import (
"encoding/json"
"errors"
"fmt"
"io"
"log"
"os"
"path"
"path/filepath"
"github.com/pivotal-cf/om/download_clients"
"github.com/pivotal-cf/om/extractor"
"github.com/pivotal-cf/om/validator"
)
type PivnetOptions struct {
PivnetProductSlug string `long:"pivnet-product-slug" shor... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/activate_certificate_authority_test.go | commands/activate_certificate_authority_test.go | package commands_test
import (
"errors"
"fmt"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
)
var _ = Describe("ActivateCertificateAuthority", func() {
var (
fakeService *fakes.ActivateC... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/staged_director_config.go | commands/staged_director_config.go | package commands
import (
"fmt"
"reflect"
"strconv"
"strings"
"github.com/pivotal-cf/om/api"
"gopkg.in/yaml.v2"
)
type StagedDirectorConfig struct {
stdout logger
stderr logger
service stagedDirectorConfigService
Options struct {
IncludePlaceholders bool `long:"include-placeholders" short:"r" descripti... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/deployed_manifest_test.go | commands/deployed_manifest_test.go | package commands_test
import (
"errors"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("DeployedManifest", func() {
var (
command *commands.DeployedManifest
logger... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/generate_certificate_authority.go | commands/generate_certificate_authority.go | package commands
import (
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/presenters"
)
type GenerateCertificateAuthority struct {
service generateCertificateAuthorityService
presenter presenters.FormattedPresenter
Options struct {
Format string `long:"format" short:"f" default:"table" description... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/apply_changes.go | commands/apply_changes.go | package commands
import (
"encoding/json"
"errors"
"fmt"
"os"
"sort"
"time"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/api"
)
type ApplyChanges struct {
service applyChangesService
pendingService pendingChangesService
logger logger
logWriter logWriter
waitDuration time.Duration
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/version.go | commands/version.go | package commands
import (
"fmt"
"io"
)
type Version struct {
version []byte
output io.Writer
}
func NewVersion(version string, output io.Writer) *Version {
return &Version{
version: []byte(version + "\n"),
output: output,
}
}
func (v Version) Execute([]string) error {
_, err := v.output.Write(v.version... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/certificate_authorities_test.go | commands/certificate_authorities_test.go | package commands_test
import (
"errors"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("Certificate Authorities"... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/installations_test.go | commands/installations_test.go | package commands_test
import (
"errors"
"time"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
"github.com/pivotal-cf/om/models"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
)
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/expiring_certificates.go | commands/expiring_certificates.go | package commands
import (
"errors"
"fmt"
"regexp"
"sort"
"strings"
"time"
"github.com/fatih/color"
"github.com/pivotal-cf/om/api"
)
//counterfeiter:generate -o ./fakes/expiring_certs_service.go --fake-name ExpiringCertsService . expiringCertsService
type expiringCertsService interface {
ListCertificates(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/certificate_authorities.go | commands/certificate_authorities.go | package commands
import (
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/presenters"
)
type CertificateAuthorities struct {
service certificateAuthoritiesService
presenter presenters.FormattedPresenter
Options struct {
Format string `long:"format" short:"f" default:"table" description:"Format to ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/bosh_environment.go | commands/bosh_environment.go | package commands
import (
"fmt"
"os"
"path/filepath"
"regexp"
"strings"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/renderers"
)
const protocolPrefix = "://"
type BoshEnvironment struct {
service boshEnvironmentService
logger logger
rendererFactory rendererFactory
opsmanHost... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/configure_ldap_authentication.go | commands/configure_ldap_authentication.go | package commands
import (
"errors"
"fmt"
"github.com/pivotal-cf/om/api"
)
type ConfigureLDAPAuthentication struct {
service configureAuthenticationService
logger logger
environFunc func() []string
Options struct {
InterpolateOptions interpolateConfigFileOptions `group:"config file interpolation... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/assign_stemcell.go | commands/assign_stemcell.go | package commands
import (
"fmt"
"strings"
"github.com/pivotal-cf/om/api"
)
type AssignStemcell struct {
logger logger
service assignStemcellService
Options struct {
InterpolateOptions interpolateConfigFileOptions `group:"config file interpolation"`
ProductName string `long:"pr... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/product_metadata_test.go | commands/product_metadata_test.go | package commands_test
import (
"errors"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
)
var _ = Describe("ProductMetadata", func() {
Describe("Execute", func() {
var (
command *commands.ProductMetadata
stdout *fa... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/logger.go | commands/logger.go | package commands
//counterfeiter:generate -o ./fakes/logger.go --fake-name Logger . logger
type logger interface {
Print(v ...interface{})
Printf(format string, v ...interface{})
Println(v ...interface{})
}
| go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/staged_director_config_test.go | commands/staged_director_config_test.go | package commands_test
import (
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
"errors"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("StagedDirectorConfig", func() {
var (
stdout *fakes.Logger
stderr *f... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/configure_authentication.go | commands/configure_authentication.go | package commands
import (
"errors"
"fmt"
"github.com/pivotal-cf/om/api"
)
//counterfeiter:generate -o ./fakes/configure_authentication_service.go --fake-name ConfigureAuthenticationService . configureAuthenticationService
type configureAuthenticationService interface {
Setup(api.SetupInput) (api.SetupOutput, erro... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/get_certificates.go | commands/get_certificates.go | package commands
import (
"crypto/x509"
"encoding/json"
"encoding/pem"
"fmt"
"strings"
"sync"
"github.com/pivotal-cf/om/api"
)
const DEFAULT_CONCURRENCY = 30
//counterfeiter:generate -o ./fakes/get_certificates_service.go --fake-name GetCertificatesService . getCertificatesService
type getCertificatesService... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/deployed_products.go | commands/deployed_products.go | package commands
import (
"fmt"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/presenters"
)
type DeployedProducts struct {
presenter presenters.FormattedPresenter
service deployedProductsService
Options struct {
Format string `long:"format" short:"f" default:"table" description:"Format to prin... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/deployed_products_test.go | commands/deployed_products_test.go | package commands_test
import (
"errors"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
)
var _ = Describe("DeployedProducts", func(... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/assign_stemcell_test.go | commands/assign_stemcell_test.go | package commands_test
import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
)
var _ = Describe("AssignStemcell", func() {
var (
fakeService *fakes.AssignStemcellService
logger *fake... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/diagnostic_report.go | commands/diagnostic_report.go | package commands
import (
"fmt"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/presenters"
)
type DiagnosticReport struct {
presenter presenters.FormattedPresenter
service diagnosticReportService
Options struct {
}
}
//counterfeiter:generate -o ./fakes/diagnostic_report_service.go --fake-name Di... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/expiring_licenses_test.go | commands/expiring_licenses_test.go | package commands_test
import (
"log"
"time"
presenterfakes "github.com/pivotal-cf/om/presenters/fakes"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
)
var... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/available_products.go | commands/available_products.go | package commands
import (
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/models"
"github.com/pivotal-cf/om/presenters"
)
type AvailableProducts struct {
service availableProductsService
presenter presenters.FormattedPresenter
logger logger
Options struct {
Format string `long:"format" short:... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/delete_installation.go | commands/delete_installation.go | package commands
import (
"bufio"
"errors"
"fmt"
"io"
"time"
"github.com/pivotal-cf/om/api"
)
type DeleteInstallation struct {
service deleteInstallationService
logger logger
logWriter logWriter
stdin io.Reader
waitDuration time.Duration
Options struct {
Force bool `long:"forc... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/activate_certificate_authority.go | commands/activate_certificate_authority.go | package commands
//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate
import (
"time"
"github.com/pivotal-cf/om/api"
)
type ActivateCertificateAuthority struct {
service activateCertificateAuthorityService
logger logger
Options struct {
Id string `long:"id" required:"false" description:"c... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/create_vm_extension.go | commands/create_vm_extension.go | package commands
import (
"encoding/json"
"errors"
"fmt"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/config"
"github.com/pivotal-cf/om/interpolate"
"gopkg.in/yaml.v2"
)
//counterfeiter:generate -o ./fakes/create_vm_extension_service.go --fake-name CreateVMExtensionService . createVMExtensionServic... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/staged_manifest_test.go | commands/staged_manifest_test.go | package commands_test
import (
"errors"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/commands"
"github.com/pivotal-cf/om/commands/fakes"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("StagedManifest", func() {
var (
command *commands.StagedManifest
logger ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/download_product_test.go | commands/download_product_test.go | package commands_test
import (
"archive/zip"
"errors"
"fmt"
"log"
"os"
"path"
"path/filepath"
"github.com/pivotal-cf/om/extractor"
"github.com/pivotal-cf/om/download_clients"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/commands"
c... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | true |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/installations.go | commands/installations.go | package commands
import (
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/models"
"github.com/pivotal-cf/om/presenters"
)
type Installations struct {
service installationsService
presenter presenters.FormattedPresenter
Options struct {
Format string `long:"format" short:"f" default:"table" descri... | 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/staged_products_service.go | commands/fakes/staged_products_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
sync "sync"
api "github.com/pivotal-cf/om/api"
)
type StagedProductsService struct {
GetDiagnosticReportStub func() (api.DiagnosticReport, error)
getDiagnosticReportMutex sync.RWMutex
getDiagnosticReportArgsForCall []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/curl_service.go | commands/fakes/curl_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type CurlService struct {
CurlStub func(api.RequestServiceCurlInput) (api.RequestServiceCurlOutput, error)
curlMutex sync.RWMutex
curlArgsForCall []struct {
arg1 api.RequestServiceCurlI... | 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/pending_changes_service.go | commands/fakes/pending_changes_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type PendingChangesService struct {
ListStagedPendingChangesStub func() (api.PendingChangesOutput, error)
listStagedPendingChangesMutex sync.RWMutex
listStagedPendingChangesArgsForCall []... | 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/create_certificate_authority_service.go | commands/fakes/create_certificate_authority_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type CreateCertificateAuthorityService struct {
CreateCertificateAuthorityStub func(api.CertificateAuthorityInput) (api.GenerateCAResponse, error)
createCertificateAuthorityMutex sync.RWMu... | 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/errands_service.go | commands/fakes/errands_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ErrandsService struct {
GetStagedProductByNameStub func(string) (api.StagedProductsFindOutput, error)
getStagedProductByNameMutex sync.RWMutex
getStagedProductByNameArgsForCall []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/table_writer.go | commands/fakes/table_writer.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
)
type TableWriter struct {
AppendStub func([]string)
appendMutex sync.RWMutex
appendArgsForCall []struct {
arg1 []string
}
RenderStub func()
renderMutex sync.RWMutex
renderArgsForCall []struct {
}
Set... | 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_certificate_authority_service.go | commands/fakes/delete_certificate_authority_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type DeleteCertificateAuthorityService struct {
DeleteCertificateAuthorityStub func(api.DeleteCertificateAuthorityInput) error
deleteCertificateAuthorityMutex sync.RWMutex
deleteCertifica... | 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_manifest_service.go | commands/fakes/deployed_manifest_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type DeployedManifestService struct {
GetDeployedProductManifestStub func(string) (string, error)
getDeployedProductManifestMutex sync.RWMutex
getDeployedProductManifestArgsForCall []stru... | 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/log_writer.go | commands/fakes/log_writer.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
)
type LogWriter struct {
FlushStub func(string) error
flushMutex sync.RWMutex
flushArgsForCall []struct {
arg1 string
}
flushReturns struct {
result1 error
}
flushReturnsOnCall map[int]struct {
result1 error
}
... | 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/ssl_certificate_service.go | commands/fakes/ssl_certificate_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type SSLCertificateService struct {
GetSSLCertificateStub func() (api.SSLCertificateOutput, error)
getSSLCertificateMutex sync.RWMutex
getSSLCertificateArgsForCall []struct {
}
getSSLCe... | 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_service.go | commands/fakes/generate_certificate_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type GenerateCertificateService struct {
GenerateCertificateStub func(api.DomainsInput) (string, error)
generateCertificateMutex sync.RWMutex
generateCertificateArgsForCall []struct {
a... | 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/installation_log_service.go | commands/fakes/installation_log_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type InstallationLogService struct {
GetInstallationLogsStub func(int) (api.InstallationsServiceOutput, error)
getInstallationLogsMutex sync.RWMutex
getInstallationLogsArgsForCall []struc... | 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/upload_product_service.go | commands/fakes/upload_product_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type UploadProductService struct {
CheckProductAvailabilityStub func(string, string) (bool, error)
checkProductAvailabilityMutex sync.RWMutex
checkProductAvailabilityArgsForCall []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/upload_stemcell_service.go | commands/fakes/upload_stemcell_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type UploadStemcellService struct {
CheckStemcellAvailabilityStub func(string) (bool, error)
checkStemcellAvailabilityMutex sync.RWMutex
checkStemcellAvailabilityArgsForCall []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/renderer_factory.go | commands/fakes/renderer_factory.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/renderers"
)
type RendererFactory struct {
CreateStub func(string) (renderers.Renderer, error)
createMutex sync.RWMutex
createArgsForCall []struct {
arg1 string
}
createReturns struct {
re... | 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_product_service.go | commands/fakes/delete_product_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type DeleteProductService struct {
DeleteAvailableProductsStub func(api.DeleteAvailableProductsInput) error
deleteAvailableProductsMutex sync.RWMutex
deleteAvailableProductsArgsForCall []... | 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/unstage_product_service.go | commands/fakes/unstage_product_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type UnstageProductService struct {
DeleteStagedProductStub func(api.UnstageProductInput) error
deleteStagedProductMutex sync.RWMutex
deleteStagedProductArgsForCall []struct {
arg1 api.... | 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/regenerate_certificates_service.go | commands/fakes/regenerate_certificates_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
)
type RegenerateCertificatesService struct {
RegenerateCertificatesStub func() error
regenerateCertificatesMutex sync.RWMutex
regenerateCertificatesArgsForCall []struct {
}
regenerateCertificatesReturns struct {
resul... | 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_director_service.go | commands/fakes/configure_director_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ConfigureDirectorService struct {
ConfigureJobResourceConfigStub func(string, map[string]interface{}) error
configureJobResourceConfigMutex sync.RWMutex
configureJobResourceConfigArg... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | true |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/apply_changes_service.go | commands/fakes/apply_changes_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ApplyChangesService struct {
CreateInstallationStub func(bool, bool, bool, []string, api.ApplyErrandChanges) (api.InstallationsServiceOutput, error)
createInstallationMutex sync.RWMut... | 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/expiring_licenses_service.go | commands/fakes/expiring_licenses_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ExpiringLicensesService struct {
ListExpiringLicensesStub func(string, bool, bool) ([]api.ExpiringLicenseOutput, error)
listExpiringLicensesMutex sync.RWMutex
listExpiringLicensesArg... | 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/staged_manifest_service.go | commands/fakes/staged_manifest_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type StagedManifestService struct {
GetStagedProductByNameStub func(string) (api.StagedProductsFindOutput, error)
getStagedProductByNameMutex sync.RWMutex
getStagedProductByNameArgsForCal... | 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/staged_config_service.go | commands/fakes/staged_config_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type StagedConfigService struct {
GetDeployedProductCredentialStub func(api.GetDeployedProductCredentialInput) (api.GetDeployedProductCredentialOutput, error)
getDeployedProductCredentialMutex ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | true |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/commands/fakes/pre_deploy_check_service.go | commands/fakes/pre_deploy_check_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type PreDeployCheckService struct {
InfoStub func() (api.Info, error)
infoMutex sync.RWMutex
infoArgsForCall []struct {
}
infoReturns struct {
result1 api.Info
result2 error
}
inf... | 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/expiring_certs_service.go | commands/fakes/expiring_certs_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ExpiringCertsService struct {
ListCertificatesStub func(string) ([]api.ExpiringCertificate, error)
listCertificatesMutex sync.RWMutex
listCertificatesArgsForCall []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/metadata_extractor.go | commands/fakes/metadata_extractor.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/extractor"
)
type MetadataExtractor struct {
ExtractFromFileStub func(string) (*extractor.Metadata, error)
extractFromFileMutex sync.RWMutex
extractFromFileArgsForCall []struct {
arg1 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_product_service.go | commands/fakes/configure_product_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ConfigureProductService struct {
ConfigureJobResourceConfigStub func(string, map[string]interface{}) error
configureJobResourceConfigMutex sync.RWMutex
configureJobResourceConfigArgs... | 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/update_ssl_certificate_service.go | commands/fakes/update_ssl_certificate_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type UpdateSSLCertificateService struct {
UpdateSSLCertificateStub func(api.SSLCertificateSettings) error
updateSSLCertificateMutex sync.RWMutex
updateSSLCertificateArgsForCall []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/product_service.go | commands/fakes/product_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ProductService struct {
GetDiagnosticReportStub func() (api.DiagnosticReport, error)
getDiagnosticReportMutex sync.RWMutex
getDiagnosticReportArgsForCall []struct {
}
getDiagnostic... | 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_authentication_service.go | commands/fakes/configure_authentication_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ConfigureAuthenticationService struct {
EnsureAvailabilityStub func(api.EnsureAvailabilityInput) (api.EnsureAvailabilityOutput, error)
ensureAvailabilityMutex sync.RWMutex
ensureAvai... | 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/disableDirectorVerifiersService.go | commands/fakes/disableDirectorVerifiersService.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type DisableDirectorVerifiersService struct {
DisableDirectorVerifiersStub func([]string) error
disableDirectorVerifiersMutex sync.RWMutex
disableDirectorVerifiersArgsForCall []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/diagnostic_report_service.go | commands/fakes/diagnostic_report_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type DiagnosticReportService 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/assign_stemcell_service.go | commands/fakes/assign_stemcell_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type AssignStemcellService struct {
AssignStemcellStub func(api.ProductStemcells) error
assignStemcellMutex sync.RWMutex
assignStemcellArgsForCall []struct {
arg1 api.ProductStemcells
... | 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_ssl_certificate_service.go | commands/fakes/delete_ssl_certificate_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
)
type DeleteSSLCertificateService struct {
DeleteSSLCertificateStub func() error
deleteSSLCertificateMutex sync.RWMutex
deleteSSLCertificateArgsForCall []struct {
}
deleteSSLCertificateReturns struct {
result1 error
... | 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_unused_products_service.go | commands/fakes/delete_unused_products_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type DeleteUnusedProductsService struct {
DeleteAvailableProductsStub func(api.DeleteAvailableProductsInput) error
deleteAvailableProductsMutex sync.RWMutex
deleteAvailableProductsArgsFor... | 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/metadata_provider.go | commands/fakes/metadata_provider.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/commands"
)
type MetadataProvider struct {
MetadataBytesStub func() ([]byte, error)
metadataBytesMutex sync.RWMutex
metadataBytesArgsForCall []struct {
}
metadataBytesReturns 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/create_vm_extension_service.go | commands/fakes/create_vm_extension_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type CreateVMExtensionService struct {
CreateStagedVMExtensionStub func(api.CreateVMExtension) error
createStagedVMExtensionMutex sync.RWMutex
createStagedVMExtensionArgsForCall []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/stage_product_service.go | commands/fakes/stage_product_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type StageProductService struct {
CheckProductAvailabilityStub func(string, string) (bool, error)
checkProductAvailabilityMutex sync.RWMutex
checkProductAvailabilityArgsForCall []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/activate_certificate_authority_service.go | commands/fakes/activate_certificate_authority_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type ActivateCertificateAuthorityService struct {
ActivateCertificateAuthorityStub func(api.ActivateCertificateAuthorityInput) error
activateCertificateAuthorityMutex sync.RWMutex
activat... | 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/staged_director_config_service.go | commands/fakes/staged_director_config_service.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/api"
)
type StagedDirectorConfigService struct {
GetStagedDirectorAvailabilityZonesStub func() (api.AvailabilityZonesOutput, error)
getStagedDirectorAvailabilityZonesMutex sync.RWMutex
getStaged... | 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.