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/vmlifecycle/extractopsmansemver/extract_opsman_semver_suite_test.go | vmlifecycle/extractopsmansemver/extract_opsman_semver_suite_test.go | package extractopsmansemver_test
import (
"fmt"
"testing"
"github.com/pivotal-cf/om/vmlifecycle/extractopsmansemver"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestExtractOpsmanSemver(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "ExtractOpsmanSemver Suite")
}
var _ = Describe("... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/extractopsmansemver/do.go | vmlifecycle/extractopsmansemver/do.go | package extractopsmansemver
import (
"errors"
"path/filepath"
"regexp"
"strings"
"github.com/blang/semver"
)
var (
oldOpsmanBuildFormatRegex = regexp.MustCompile(`(\d+)\.(\d+)-build\.(\d+)`)
semverRegex = regexp.MustCompile(`(\d+)\.(\d+)\.(\d+)`)
)
func Do(s string) (semver.Version, error) {
n... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/create_vm_test.go | vmlifecycle/vmlifecyclecommands/create_vm_test.go | package vmlifecyclecommands_test
import (
"errors"
"fmt"
"io"
"os"
"github.com/jessevdk/go-flags"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/vmlifecycle/vmlifecyclecommands"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
"github.co... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/unit_suite_test.go | vmlifecycle/vmlifecyclecommands/unit_suite_test.go | package vmlifecyclecommands_test
import (
"os"
"path/filepath"
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestCreateVM(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "VM Lifecycle Suite")
}
func writeSpecifiedFile(filename string, contents string) {
dir := filepath.Dir(... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/upgrade_opsman_test.go | vmlifecycle/vmlifecyclecommands/upgrade_opsman_test.go | package vmlifecyclecommands_test
import (
"archive/zip"
"context"
"encoding/json"
"fmt"
"io"
"os"
"time"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/vmlifecycle/vmlifecyclecommands"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivota... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | true |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/export_opsman_config.go | vmlifecycle/vmlifecyclecommands/export_opsman_config.go | package vmlifecyclecommands
import (
"fmt"
"io"
"os"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
)
type initExportOpsmanConfigFunc func(state *vmmanagers.StateInfo, creds *configfetchers.Credentials) (configfetchers.OpsmanConfigFet... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/upgrade_opsman.go | vmlifecycle/vmlifecyclecommands/upgrade_opsman.go | package vmlifecyclecommands
import (
"archive/zip"
"bytes"
"errors"
"fmt"
"io"
"log"
"os"
"os/exec"
"strings"
"time"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/interpolate"
"github.com/pivotal-cf/om/vmlifecycle/extractopsmansemver"
"github.com/pivotal-cf/om/vmlifecycle/runner"
"github.com/pivotal-cf... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/delete_vm_test.go | vmlifecycle/vmlifecyclecommands/delete_vm_test.go | package vmlifecyclecommands_test
import (
"fmt"
"io"
"os"
"time"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/vmlifecycle/vmlifecyclecommands"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
"github.com/pivotal-cf/om/vmlifecycle/vmmana... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/prepare-tasks-with-secrets_test.go | vmlifecycle/vmlifecyclecommands/prepare-tasks-with-secrets_test.go | package vmlifecyclecommands_test
import (
"errors"
"io"
"os"
"path/filepath"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/vmlifecycle/vmlifecyclecommands"
"github.com/pivotal-cf/om/vmlifecycle/vmlifecyclecommands/fakes"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Descri... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/delete_vm.go | vmlifecycle/vmlifecyclecommands/delete_vm.go | package vmlifecyclecommands
import (
"errors"
"fmt"
"io"
"os"
"reflect"
"sort"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/interpolate"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
)
type initDeleteFunc func(config *vmmanagers.OpsmanConfigFilePayload, image string, state vmmanagers.StateInfo, outWrit... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/export_opsman_config_test.go | vmlifecycle/vmlifecyclecommands/export_opsman_config_test.go | package vmlifecyclecommands_test
import (
"errors"
"fmt"
"io"
"os"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers/fakes"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
. "github.com/onsi/ginkgo/v2"
. "github.com... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/prepare-tasks-with-secrets.go | vmlifecycle/vmlifecyclecommands/prepare-tasks-with-secrets.go | package vmlifecyclecommands
import (
"fmt"
"io"
)
//go:generate counterfeiter -o ./fakes/taskModifierService.go --fake-name TaskModifierService . taskModifierService
type taskModifierService interface {
ModifyTasksWithSecrets(stderr io.Writer, taskDir string, configPaths []string, varsFiles []string) error
}
type... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/create_vm.go | vmlifecycle/vmlifecyclecommands/create_vm.go | package vmlifecyclecommands
import (
"errors"
"fmt"
"io"
"os"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
)
type initCreateFunc func(config *vmmanagers.OpsmanConfigFilePayload, image string, state vmmanagers.StateInfo, outWriter, errWriter io.Writer) (vmmanagers.CreateVMService, error)
type CreateVM stru... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmlifecyclecommands/fakes/taskModifierService.go | vmlifecycle/vmlifecyclecommands/fakes/taskModifierService.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"io"
"sync"
)
type TaskModifierService struct {
ModifyTasksWithSecretsStub func(io.Writer, string, []string, []string) error
modifyTasksWithSecretsMutex sync.RWMutex
modifyTasksWithSecretsArgsForCall []struct {
arg1 io.Writer
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/vsphere_test.go | vmlifecycle/vmmanagers/vsphere_test.go | package vmmanagers_test
import (
"archive/tar"
"bytes"
"errors"
"fmt"
"io"
"os"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/vmlifecycle/matchers"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers/fa... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/openstack_test.go | vmlifecycle/vmmanagers/openstack_test.go | package vmmanagers_test
import (
"bytes"
"errors"
"fmt"
"os"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gstruct"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/vmlifecycle/matchers"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
"github.com/pivotal-cf/om/vmlifecycle... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/initialize.go | vmlifecycle/vmmanagers/initialize.go | package vmmanagers
import (
"errors"
"fmt"
"io"
"os"
"strings"
"github.com/pivotal-cf/om/vmlifecycle/runner"
"reflect"
"time"
)
type vmManager interface {
CreateVM() (status Status, state StateInfo, err error)
DeleteVM() error
}
//go:generate counterfeiter -o ./fakes/delete_vm.go --fake-name DeleteVMServi... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/vsphere.go | vmlifecycle/vmmanagers/vsphere.go | package vmmanagers
import (
"archive/tar"
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"log"
"os"
"strconv"
"strings"
"time"
"github.com/blang/semver"
"github.com/pivotal-cf/om/vmlifecycle/extractopsmansemver"
)
type VcenterCredential struct {
URL string `yaml:"url" validate:"required"`
User... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/azure_test.go | vmlifecycle/vmmanagers/azure_test.go | package vmmanagers_test
import (
"bytes"
"errors"
"fmt"
"io"
"os"
"strings"
"time"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gstruct"
"github.com/onsi/gomega/types"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/vmlifecycle/matchers"
"github.com/pivotal-cf/om/vmlife... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | true |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/gcp_test.go | vmlifecycle/vmmanagers/gcp_test.go | package vmmanagers_test
import (
"bytes"
"errors"
"fmt"
"os"
"github.com/pivotal-cf/om/vmlifecycle/matchers"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers/fakes"
)
var _ = Desc... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/azure.go | vmlifecycle/vmmanagers/azure.go | package vmmanagers
import (
"bytes"
"crypto/md5"
"encoding/hex"
"encoding/json"
"errors"
"fmt"
"io"
"log"
"os"
"strconv"
"strings"
"time"
"github.com/pivotal-cf/om/vmlifecycle/runner"
"gopkg.in/yaml.v2"
)
type AzureCredential struct {
TenantID string `yaml:"tenant_id" validate:"required"`... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/model.go | vmlifecycle/vmmanagers/model.go | package vmmanagers
import (
"fmt"
"gopkg.in/go-playground/validator.v9"
)
type Status int
const (
Success Status = iota
Exist
StateMismatch
Unknown
Incomplete
)
type StateInfo struct {
IAAS string `yaml:"iaas"`
ID string `yaml:"vm_id"`
}
type OpsmanConfig struct {
Vsphere *VsphereConfig `yaml... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/vmmanagers_suite_test.go | vmlifecycle/vmmanagers/vmmanagers_suite_test.go | package vmmanagers_test
import (
"fmt"
"log"
"os"
"path/filepath"
"reflect"
"regexp"
"strings"
"testing"
"gopkg.in/yaml.v2"
"github.com/fatih/color"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
)
func TestVMM... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/aws.go | vmlifecycle/vmmanagers/aws.go | package vmmanagers
import (
"bytes"
"errors"
"fmt"
"io"
"math"
"os"
"sort"
"strings"
"time"
"gopkg.in/yaml.v2"
)
type AWSCredential struct {
AWSInstanceProfile `yaml:",inline"`
AccessKeyId string `yaml:"access_key_id,omitempty"`
SecretAccessKey string `yaml:"secret_access_key,omitempty"`
Regi... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/openstack.go | vmlifecycle/vmmanagers/openstack.go | package vmmanagers
import (
"bytes"
"errors"
"fmt"
"log"
"os"
"regexp"
"strconv"
"strings"
"github.com/pivotal-cf/om/vmlifecycle/runner"
)
type OpenstackCredential struct {
Username string `yaml:"username" validate:"required"`
Password string `yaml:"password" validate:"required"`
Auth... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/initialize_test.go | vmlifecycle/vmmanagers/initialize_test.go | package vmmanagers_test
import (
"reflect"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
)
var _ = Describe("select the correct vmmanager instance given the correct config", func() {
Context("valid vsphere config", fu... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/aws_test.go | vmlifecycle/vmmanagers/aws_test.go | package vmmanagers_test
import (
"bytes"
"errors"
"fmt"
"io"
"os"
"strings"
"sync/atomic"
"time"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"gopkg.in/yaml.v3"
"github.com/pivotal-cf/om/vmlifecycle/matchers"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
"github.com/pivotal-cf/om/vmlife... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/gcp.go | vmlifecycle/vmmanagers/gcp.go | package vmmanagers
import (
"bytes"
"errors"
"fmt"
"os"
"path/filepath"
"strings"
yaml "gopkg.in/yaml.v2"
)
type GCPCredential struct {
ServiceAccount string `yaml:"gcp_service_account,omitempty"`
ServiceAccountName string `yaml:"gcp_service_account_name,omitempty"`
Project string `yaml:"pro... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/fakes/openstackRunner.go | vmlifecycle/vmmanagers/fakes/openstackRunner.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"bytes"
"sync"
)
type OpenstackRunner struct {
ExecuteStub func([]interface{}) (*bytes.Buffer, *bytes.Buffer, error)
executeMutex sync.RWMutex
executeArgsForCall []struct {
arg1 []interface{}
}
executeReturns struct {
resu... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/fakes/gcloudRunner.go | vmlifecycle/vmmanagers/fakes/gcloudRunner.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"bytes"
"sync"
)
type GCloudRunner struct {
ExecuteStub func([]interface{}) (*bytes.Buffer, *bytes.Buffer, error)
executeMutex sync.RWMutex
executeArgsForCall []struct {
arg1 []interface{}
}
executeReturns struct {
result1... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/fakes/azureRunner.go | vmlifecycle/vmmanagers/fakes/azureRunner.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"bytes"
"sync"
)
type AzureRunner struct {
ExecuteWithEnvVarsStub func([]string, []interface{}) (*bytes.Buffer, *bytes.Buffer, error)
executeWithEnvVarsMutex sync.RWMutex
executeWithEnvVarsArgsForCall []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/vmlifecycle/vmmanagers/fakes/delete_vm.go | vmlifecycle/vmmanagers/fakes/delete_vm.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
)
type DeleteVMService struct {
DeleteVMStub func() error
deleteVMMutex sync.RWMutex
deleteVMArgsForCall []struct {
}
deleteVMReturns struct {
result1 error
}
delet... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/fakes/govcRunner.go | vmlifecycle/vmmanagers/fakes/govcRunner.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"bytes"
"context"
"sync"
)
type GovcRunner struct {
ExecuteWithEnvVarsStub func([]string, []interface{}) (*bytes.Buffer, *bytes.Buffer, error)
executeWithEnvVarsMutex sync.RWMutex
executeWithEnvVarsArgsForCall []struct {
arg1... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/fakes/awsRunner.go | vmlifecycle/vmmanagers/fakes/awsRunner.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"bytes"
"sync"
)
type AwsRunner struct {
ExecuteWithEnvVarsStub func([]string, []interface{}) (*bytes.Buffer, *bytes.Buffer, error)
executeWithEnvVarsMutex sync.RWMutex
executeWithEnvVarsArgsForCall []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/vmlifecycle/vmmanagers/fakes/create_vm.go | vmlifecycle/vmmanagers/fakes/create_vm.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
)
type CreateVMService struct {
CreateVMStub func() (vmmanagers.Status, vmmanagers.StateInfo, error)
createVMMutex sync.RWMutex
createVMArgsForCall []struct {
}
createV... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/stub/stub_suite_test.go | vmlifecycle/vmmanagers/stub/stub_suite_test.go | package main_test
import (
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestStub(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Stub Suite")
}
| go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/stub/main_test.go | vmlifecycle/vmmanagers/stub/main_test.go | package main_test
import (
"os"
"os/exec"
"path/filepath"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var (
pathToMain string
)
var _ = BeforeSuite(func() {
var err error
pathToMain, err = gexec.Build("github.com/pivotal-cf/om/v... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/vmmanagers/stub/main.go | vmlifecycle/vmmanagers/stub/main.go | package main
import (
"fmt"
"log"
"os"
"path/filepath"
"strconv"
"strings"
)
func main() {
_, executable := filepath.Split(os.Args[0])
if os.Getenv("STUB_EFFECTIVE_NAME") == "" || os.Getenv("STUB_EFFECTIVE_NAME") == executable {
if val := os.Getenv("STUB_ERROR_CODE"); val != "" {
var msg = executable + ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/taskmodifier/task_modifier_suite_test.go | vmlifecycle/taskmodifier/task_modifier_suite_test.go | package taskmodifier_test
import (
"os"
"path/filepath"
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestModify(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Modify Suite")
}
func writeFile(filename string, contents string) {
dir := filepath.Dir(filename)
err := os.Mkd... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/taskmodifier/task_modifier.go | vmlifecycle/taskmodifier/task_modifier.go | package taskmodifier
import (
"fmt"
"io"
"os"
"path/filepath"
"strings"
"github.com/bmatcuk/doublestar"
"gopkg.in/yaml.v2"
"github.com/pivotal-cf/om/interpolate"
)
type TaskModifier struct {
taskDir string
configPaths []string
varsPaths []string
envPrefix string
stderr io.Writer
}
func Ne... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/taskmodifier/task_modifier_test.go | vmlifecycle/taskmodifier/task_modifier_test.go | package taskmodifier_test
import (
"fmt"
"io"
"os"
"path/filepath"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/om/vmlifecycle/taskmodifier"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("When modifying task files", func() {
When("task directory exists", func() {
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/acceptance/create_vm_test.go | vmlifecycle/acceptance/create_vm_test.go | package integration_test
import (
"os"
"os/exec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("CreateVm", func() {
It("creates a VM on the targeted IAAS", func() {
imageFile := writeFile(`---
us: ops-manager-us-uri... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/acceptance/upgrade_opsman_test.go | vmlifecycle/acceptance/upgrade_opsman_test.go | package integration_test
import (
"archive/zip"
"fmt"
"net/http"
"os"
"os/exec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
"github.com/onsi/gomega/ghttp"
)
var _ = Describe("UpgradeOpsman", func() {
createZipFile := func(files []... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/acceptance/delete_vm_test.go | vmlifecycle/acceptance/delete_vm_test.go | package integration_test
import (
"os"
"os/exec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("DeleteVm", func() {
It("deletes a VM on the targeted IAAS", func() {
configFile := writeFile(`
opsman-configuration:
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/acceptance/integration_suite_test.go | vmlifecycle/acceptance/integration_suite_test.go | package integration_test
import (
"os"
"path/filepath"
"strings"
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
func TestIntegration(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Integration Suite")
}
var (
pathToMain string
pathToStub string
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/acceptance/export_opsman_config_test.go | vmlifecycle/acceptance/export_opsman_config_test.go | package integration_test
import (
"os/exec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("ExportOpsmanConfig", func() {
Context("requires the state-file flag", func() {
It("throws an error", func() {
command := e... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/acceptance/prepare_tasks_with_secrets_test.go | vmlifecycle/acceptance/prepare_tasks_with_secrets_test.go | package integration_test
import (
"os/exec"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("PrepareTasksWithSecrets", func() {
It("fails when tasksDir is not provided", func() {
command := exec.Command(pathToMain, "v... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/runner/runner.go | vmlifecycle/runner/runner.go | package runner
import (
"bytes"
"context"
"fmt"
"github.com/fatih/color"
"github.com/onsi/gomega/gexec"
"io"
"os"
"os/exec"
"strings"
)
type Runner struct {
command string
out io.Writer
err io.Writer
}
func NewRunner(command string, stdout io.Writer, stderr io.Writer) (*Runner, error) {
_, err :... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/runner/runner_suite_test.go | vmlifecycle/runner/runner_suite_test.go | package runner_test
import (
"bytes"
"fmt"
"os"
"testing"
"github.com/fatih/color"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/vmlifecycle/runner"
)
func TestRunner(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Runner Suite")
}
var _ = Describe("Runner", f... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/initialize.go | vmlifecycle/configfetchers/initialize.go | package configfetchers
import (
"context"
"errors"
"fmt"
"net/url"
"os"
"strings"
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network"
"github.com/Azure/go-autorest/autorest/azure"
"github.com/Azure/go-autor... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/vsphere.go | vmlifecycle/configfetchers/vsphere.go | package configfetchers
import (
"context"
"errors"
"fmt"
"path"
"strconv"
"strings"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
"github.com/vmware/govmomi"
"github.com/vmware/govmomi/object"
"github.com/vmware/govmomi/property"
"github.com/vmware/govmomi/vim25"
"github.com/vmware/govmomi/vim25/mo"
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/azure_test.go | vmlifecycle/configfetchers/azure_test.go | package configfetchers_test
import (
"context"
"errors"
"fmt"
"strconv"
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
"github.com/pivotal-cf/om/vml... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/gcp_test.go | vmlifecycle/configfetchers/gcp_test.go | package configfetchers_test
import (
"context"
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"google.golang.org/api/compute/v1"
"google.golang.org/api/option"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
"github.com/pivotal-cf/om/vmlifecycle/vmma... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/azure.go | vmlifecycle/configfetchers/azure.go | package configfetchers
import (
"context"
"fmt"
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
"net/url"
"strings"
)
//go:generate counterfeiter -o ./fake... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/aws.go | vmlifecycle/configfetchers/aws.go | package configfetchers
import (
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
"strconv"
"strings"
)
//go:generate counterfeiter -o ./fakes/ec2Client.go --fake-name Ec2Client . Ec2Client
type Ec2Client interface {
DescribeInstance... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/config_fetchers_suite_test.go | vmlifecycle/configfetchers/config_fetchers_suite_test.go | package configfetchers_test
import (
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestConfigFetchers(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "ConfigFetchers Suite")
}
| go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/initialize_test.go | vmlifecycle/configfetchers/initialize_test.go | package configfetchers_test
import (
"os"
"reflect"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/vmware/govmomi/simulator"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
)
var _ = Describe("selects the correct config fetcher bas... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/aws_test.go | vmlifecycle/configfetchers/aws_test.go | package configfetchers_test
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers/fakes"
"github.com/pivotal-cf/om/vmlif... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/gcp.go | vmlifecycle/configfetchers/gcp.go | package configfetchers
import (
"errors"
"fmt"
"strings"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
"google.golang.org/api/compute/v1"
)
type GCPConfigFetcher struct {
state *vmmanagers.StateInfo
credentials *Credentials
service *compute.Service
}
func NewGCPConfigFetcher(state *vmmanagers.... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/fakes/azureNetworkClient.go | vmlifecycle/configfetchers/fakes/azureNetworkClient.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"context"
"sync"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
)
type AzureNetworkClient struct {
GetStub func(context.Context, string, string, stri... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/fakes/export_opsman_config.go | vmlifecycle/configfetchers/fakes/export_opsman_config.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
"github.com/pivotal-cf/om/vmlifecycle/vmmanagers"
)
type OpsmanConfigFetcherService struct {
FetchConfigStub func() (*vmmanagers.OpsmanConfigFilePayload, error)
fetchConfig... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/fakes/azureVMClient.go | vmlifecycle/configfetchers/fakes/azureVMClient.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"context"
"sync"
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
)
type AzureVMClient struct {
GetStub func(context.Context, string, string, compute.I... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/configfetchers/fakes/azureIPClient.go | vmlifecycle/configfetchers/fakes/azureIPClient.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"context"
"sync"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
)
type AzureIPClient struct {
GetStub func(context.Context, string, 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/vmlifecycle/configfetchers/fakes/azureImageClient.go | vmlifecycle/configfetchers/fakes/azureImageClient.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"context"
"sync"
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
)
type AzureImageClient struct {
GetStub func(context.Context, string, 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/vmlifecycle/configfetchers/fakes/Ec2Client.go | vmlifecycle/configfetchers/fakes/Ec2Client.go | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"sync"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/pivotal-cf/om/vmlifecycle/configfetchers"
)
type Ec2Client struct {
DescribeInstancesStub func(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
describeInst... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/matchers/custom_matcher_suite_test.go | vmlifecycle/matchers/custom_matcher_suite_test.go | package matchers_test
import (
"testing"
"github.com/pivotal-cf/om/vmlifecycle/matchers"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestCustomMatcher(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Matchers Suite")
}
var _ = Describe("Order Consist Of", func() {
It("fails when th... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/vmlifecycle/matchers/ordered_consist_of.go | vmlifecycle/matchers/ordered_consist_of.go | package matchers
import (
"fmt"
"github.com/onsi/gomega"
"github.com/onsi/gomega/format"
"github.com/onsi/gomega/types"
"reflect"
)
type orderconsistofMatcher struct {
Elements []interface{}
}
func OrderedConsistOf(elements ...interface{}) types.GomegaMatcher {
return &orderconsistofMatcher{
Elements: eleme... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/stub/stub_suite_test.go | stub/stub_suite_test.go | package main_test
import (
"testing"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestStub(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Stub Suite")
}
var _ = BeforeSuite(func() {
var err error
pathToMain, err = gexec.Build("github.com/pivotal-cf/... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/stub/main_test.go | stub/main_test.go | package main_test
import (
"os"
"os/exec"
"path/filepath"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var (
pathToMain string
)
var _ = Describe("stub", func() {
When("environment variables are set", func() {
It("prints them ou... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/stub/main.go | stub/main.go | package main
import (
"fmt"
"log"
"os"
"path/filepath"
"strconv"
"strings"
)
func main() {
_, executable := filepath.Split(os.Args[0])
if os.Getenv("STUB_EFFECTIVE_NAME") == "" || os.Getenv("STUB_EFFECTIVE_NAME") == executable {
if val := os.Getenv("STUB_ERROR_CODE"); val != "" {
var msg = executable + ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/info_service_test.go | api/info_service_test.go | package api_test
import (
"errors"
"io"
"net/http"
"strings"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/api/fakes"
)
var _ = Describe("Info Service", func() {
Context("VersionAtLeast()", func() {
It("determines whether a version meets... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/vm_extensions_service_test.go | api/vm_extensions_service_test.go | package api_test
import (
"encoding/json"
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("VMExtensions", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = ghttp.New... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/staged_products_service.go | api/staged_products_service.go | package api
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"strconv"
"strings"
"gopkg.in/yaml.v2"
)
type StageProductInput struct {
ProductName string `json:"name"`
ProductVersion string `json:"product_version"`
}
type StagedProductsOutput struct {
Products []StagedProduct
}
type St... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/stemcell_service.go | api/stemcell_service.go | package api
import (
"encoding/json"
"fmt"
"path/filepath"
)
type ProductStemcells struct {
Products []ProductStemcell `json:"products"`
}
type ProductStemcell struct {
GUID string `json:"guid,omitempty"`
ProductName string `json:"identifier,omitempty"`
StagedForDeletion ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/pending_changes_service.go | api/pending_changes_service.go | package api
import (
"encoding/json"
"fmt"
"io"
"log"
)
const pendingChangesEndpoint = "/api/v0/staged/pending_changes"
type PendingChangesOutput struct {
ChangeList []ProductChange `json:"product_changes"`
FullReport string
}
type CompletenessChecks struct {
ConfigurationComplete bool `json:"configura... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/errands_service.go | api/errands_service.go | package api
import (
"encoding/json"
"fmt"
"strings"
)
type Errand struct {
Name string `json:"name"`
PostDeploy interface{} `json:"post_deploy,omitempty"`
PreDelete interface{} `json:"pre_delete,omitempty"`
}
type ErrandsListOutput struct {
Errands []Errand `json:"errands"`
}
func (e *ErrandsLis... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/errands_service_test.go | api/errands_service_test.go | package api_test
import (
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("ErrandsService", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = ghttp.NewServer()
serv... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/jobs_service.go | api/jobs_service.go | package api
import (
"encoding/json"
"fmt"
"sort"
)
type Job struct {
GUID string
Name string
}
func (a Api) ListStagedProductJobs(productGUID string) (map[string]string, error) {
resp, err := a.sendAPIRequest("GET", fmt.Sprintf("/api/v0/staged/products/%s/jobs", productGUID), nil)
if err != nil {
return ni... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/installation_asset_service_test.go | api/installation_asset_service_test.go | package api_test
import (
"net/http"
"os"
"strings"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("InstallationAssetService", func() {
var (
client *ghttp.Server
progressClient *ghttp.Ser... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/diagnostic_service.go | api/diagnostic_service.go | package api
import (
"encoding/json"
"fmt"
"io"
"log"
"net/http"
)
type DiagnosticProduct struct {
Name string `json:"name"`
Version string `json:"version"`
Stemcell string `json:"stemcell,omitempty"`
Stemcells []Stemcell `json:"stemcells,omitempty"`
}
type DiagnosticReport struct {
Infr... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/certificate_authorities_service_test.go | api/certificate_authorities_service_test.go | package api_test
import (
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("CertificateAuthorities", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = ghttp.NewServer(... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/installation_asset_service.go | api/installation_asset_service.go | package api
import (
"encoding/json"
"fmt"
"io"
"net/http"
"os"
)
type ImportInstallationInput struct {
ContentLength int64
Installation io.Reader
ContentType string
PollingInterval int
}
func (a Api) DownloadInstallationAssetCollection(outputFile string) error {
resp, err := a.sendProgressAPIRequ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/pre_deploy_check_service_test.go | api/pre_deploy_check_service_test.go | package api_test
import (
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("PreDeployCheckService", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = ghttp.NewServer()... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/api.go | api/api.go | package api
//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate
//counterfeiter:generate -o ./fakes/logger.go --fake-name Logger . logger
type logger interface {
Println(v ...interface{})
}
type Api struct {
client httpClient
unauthedClient httpClient
progressClient ... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/client.go | api/client.go | package api
import "net/http"
//counterfeiter:generate -o ./fakes/httpclient.go --fake-name HttpClient . httpClient
type httpClient interface {
Do(*http.Request) (*http.Response, error)
}
| go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/upload_stemcell_service.go | api/upload_stemcell_service.go | package api
import (
"fmt"
"io"
"net/http"
)
type StemcellUploadInput struct {
ContentLength int64
Stemcell io.Reader
ContentType string
}
type StemcellUploadOutput struct{}
func (a Api) UploadStemcell(input StemcellUploadInput) (StemcellUploadOutput, error) {
req, err := http.NewRequest("POST", "/api... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/expiring_certificates_service.go | api/expiring_certificates_service.go | package api
import (
"encoding/json"
"fmt"
"time"
)
const baseCertificatesEndpoint = "/api/v0/deployed/certificates"
type ExpiringCertificatesResponse struct {
Certificates []ExpiringCertificate `json:"certificates"`
}
type ExpiringCertificate struct {
Issuer string `json:"issuer"`
ValidFrom... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/diagnostic_service_test.go | api/diagnostic_service_test.go | package api_test
import (
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("Diagnostic Report", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = ghttp.NewServer()
s... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/init_test.go | api/init_test.go | package api_test
import (
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestApi(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "api")
}
| go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/diff_service_test.go | api/diff_service_test.go | package api_test
import (
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
"github.com/pivotal-cf/om/api/fakes"
)
var _ = Describe("Diff Service", func() {
var (
server *ghttp.Server
stderr *fakes.Logger
service api.Api
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/validation.go | api/validation.go | package api
import (
"fmt"
"net/http"
"net/http/httputil"
)
func validateStatusOK(resp *http.Response) error {
return validateStatus(resp, http.StatusOK)
}
func validateStatusOKOrVerificationWarning(resp *http.Response, ignoreVerifierWarnings bool) error {
if ignoreVerifierWarnings && resp.StatusCode == http.St... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/upload_stemcell_service_test.go | api/upload_stemcell_service_test.go | package api_test
import (
"net/http"
"strings"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("UploadStemcellService", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = ghttp... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/staged_director_service_test.go | api/staged_director_service_test.go | package api_test
import (
"net/http"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("StagedProducts", func() {
var (
server *ghttp.Server
service api.Api
)
BeforeEach(func() {
server = ghttp.NewServer()
se... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/expiring_certificates_service_test.go | api/expiring_certificates_service_test.go | package api_test
import (
"fmt"
"net/http"
"time"
"github.com/onsi/gomega/ghttp"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("Expiring Certificates", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = g... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/pre_deploy_check_service.go | api/pre_deploy_check_service.go | package api
import (
"encoding/json"
"fmt"
"io"
"net/http"
)
const preDeployDirectorEndpoint = "/api/v0/staged/director/pre_deploy_check"
const stagedProductsEndpoint = "/api/v0/staged/products"
const preDeployProductEndpointTemplate = "/api/v0/staged/products/%s/pre_deploy_check"
type PreDeployNetwork struct {
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/pending_changes_service_test.go | api/pending_changes_service_test.go | package api_test
import (
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("PendingChangesService", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = ghttp.NewServer()... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/bosh_environment_service_test.go | api/bosh_environment_service_test.go | package api_test
import (
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("Credentials", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = ghttp.NewServer()
servic... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/mutli_stemcell_service_test.go | api/mutli_stemcell_service_test.go | package api_test
import (
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("StemcellService", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = ghttp.NewServer()
se... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/helpers_test.go | api/helpers_test.go | package api_test
import (
"net/http"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/om/api"
)
var _ = Describe("Available Products", func() {
var (
client *ghttp.Server
service api.Api
)
BeforeEach(func() {
client = ghttp.NewServer()
... | go | Apache-2.0 | 245e150f629341f904f56882e30f43e376dbbcc5 | 2026-01-07T09:45:45.909243Z | false |
pivotal-cf/om | https://github.com/pivotal-cf/om/blob/245e150f629341f904f56882e30f43e376dbbcc5/api/disable_director_verifiers_service.go | api/disable_director_verifiers_service.go | package api
import (
"encoding/json"
"fmt"
"io"
)
const listDirectorVerifiersEndpoint = "/api/v0/staged/director/verifiers/install_time"
const disableDirectorVerifiersEndpointTemplate = "/api/v0/staged/director/verifiers/install_time/%s"
type Verifier struct {
Type string `json:"type"`
Enabled bool `json:"... | 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.