Documentation ¶
Index ¶
- Variables
- func NewEnvFactory(deps BasicDeps, manifestPath string, statePath string, ...) *envFactory
- func NewStartOpts(opts StartOpts) (boshdir.StartOpts, error)
- func NewValueStringPercent(str string) boshtbl.Value
- type AddBlobCmd
- type AliasEnvCmd
- type AttachDiskCmd
- type BasicDeps
- type BasicLoginStrategy
- type BlobsCmd
- type CPIConfigCmd
- type CancelTaskCmd
- type CancelTasksCmd
- type CertificateInfoTable
- type CleanUpCmd
- type CloudCheckCmd
- type CloudConfigCmd
- type Cmd
- type Conf
- type ConfigCmd
- type ConfigDiffTable
- type ConfigTable
- type ConfigsCmd
- type CreateEnvCmd
- type CreateRecoveryPlanCmd
- type CreateReleaseCmd
- type CurlCmd
- type DeleteConfigCmd
- type DeleteDeploymentCmd
- type DeleteDiskCmd
- type DeleteEnvCmd
- type DeleteNetworkCmd
- type DeleteReleaseCmd
- type DeleteSnapshotCmd
- type DeleteSnapshotsCmd
- type DeleteStemcellCmd
- type DeleteVMCmd
- type DeployCmd
- type DeploymentCmd
- type DeploymentDeleter
- type DeploymentManifestParser
- type DeploymentPreparer
- type DeploymentStateManager
- type DeploymentTablePrinter
- type DeploymentsCmd
- type DeploymentsTable
- type Diff
- type DiffConfigCmd
- type DisksCmd
- type Downloader
- type EnvLogsCmd
- type EnvProviderFunction
- type EnvSCPCmd
- type EnvSSHCmd
- type EnvironmentCmd
- type EnvironmentsCmd
- type ErrandsCmd
- type EventCmd
- type EventContextSorting
- type EventTable
- type EventsCmd
- type ExportReleaseCmd
- type Factory
- type FinalizeReleaseCmd
- type GenerateJobCmd
- type GeneratePackageCmd
- type IgnoreCmd
- type InfoFeatureSorting
- type InfoTable
- type InitReleaseCmd
- type InspectLocalReleaseCmd
- type InspectReleaseCmd
- type InspectStemcellTarballCmd
- type InstanceGroupPlan
- type InstanceTable
- type InstanceTableValues
- type InstancesCmd
- type InterpolateCmd
- type LocksCmd
- type LogInCmd
- type LogOutCmd
- type LoginStrategy
- type LogsCmd
- type ManifestCmd
- type NetworksCmd
- type OrphanDiskCmd
- type OrphanedVMsCmd
- type PcapCmd
- type RecoverCmd
- type RecoveryPlan
- type RecreateCmd
- type RedigestReleaseCmd
- type ReleaseCreatingCmd
- type ReleaseManager
- type ReleaseSetAndInstallationManifestParser
- type ReleaseTables
- type ReleaseUploader
- type ReleaseUploadingCmd
- type ReleasesCmd
- type RemoveBlobCmd
- type RepackStemcellCmd
- type ResetReleaseCmd
- type RestartCmd
- type RunErrandCmd
- type RuntimeConfigCmd
- type SCPCmd
- type SSHCmd
- type Session
- type SessionContext
- type SessionContextImpl
- type SessionImpl
- func (c *SessionImpl) AnonymousDirector() (boshdir.Director, error)
- func (c SessionImpl) Credentials() cmdconf.Creds
- func (c *SessionImpl) Deployment() (boshdir.Deployment, error)
- func (c *SessionImpl) Director() (boshdir.Director, error)
- func (c SessionImpl) Environment() string
- func (c SessionImpl) UAA() (boshuaa.UAA, error)
- type SnapshotsCmd
- type StartCmd
- type StartEnvCmd
- type StemcellsCmd
- type StopCmd
- type StopEnvCmd
- type SyncBlobsCmd
- type TakeSnapshotCmd
- type TaskCmd
- type TasksCmd
- type TempRootConfigurator
- type UAALoginStrategy
- type UIDownloader
- type UnaliasEnvCmd
- type UnignoreCmd
- type UpdateCPIConfigCmd
- type UpdateCloudConfigCmd
- type UpdateConfigCmd
- type UpdateResurrectionCmd
- type UpdateRuntimeConfigCmd
- type UploadBlobsCmd
- type UploadReleaseCmd
- type UploadStemcellCmd
- type VMsCmd
- type ValueCPUTotal
- type ValueDiskSize
- type ValueMemIntSize
- type ValueMemSize
- type ValueUptime
- type VariablesCmd
- type VendorPackageCmd
Constants ¶
This section is empty.
Variables ¶
View Source
var InstanceTableHeader = InstanceTableValues{ Name: boshtbl.NewValueString("Instance"), Process: boshtbl.NewValueString("Process"), ProcessState: boshtbl.NewValueString("Process State"), AZ: boshtbl.NewValueString("AZ"), VMType: boshtbl.NewValueString("VM Type"), Active: boshtbl.NewValueString("Active"), IPs: boshtbl.NewValueString("IPs"), Deployment: boshtbl.NewValueString("Deployment"), State: boshtbl.NewValueString("State"), VMCID: boshtbl.NewValueString("VM CID"), DiskCIDs: boshtbl.NewValueString("Disk CIDs"), AgentID: boshtbl.NewValueString("Agent ID"), Index: boshtbl.NewValueString("Index"), Bootstrap: boshtbl.NewValueString("Bootstrap"), Ignore: boshtbl.NewValueString("Ignore"), VMCreatedAt: boshtbl.NewValueString("VM Created At"), CloudProperties: boshtbl.NewValueString("Cloud Properties"), Stemcell: boshtbl.NewValueString("Stemcell"), Uptime: boshtbl.NewValueString("Uptime"), Load: boshtbl.NewValueString("Load\n(1m, 5m, 15m)"), CPUTotal: boshtbl.NewValueString("CPU\nTotal"), CPUUser: boshtbl.NewValueString("CPU\nUser"), CPUSys: boshtbl.NewValueString("CPU\nSys"), CPUWait: boshtbl.NewValueString("CPU\nWait"), Memory: boshtbl.NewValueString("Memory\nUsage"), Swap: boshtbl.NewValueString("Swap\nUsage"), SystemDisk: boshtbl.NewValueString("System\nDisk Usage"), EphemeralDisk: boshtbl.NewValueString("Ephemeral\nDisk Usage"), PersistentDisk: boshtbl.NewValueString("Persistent\nDisk Usage"), }
View Source
var VersionLabel = "[DEV BUILD]"
Functions ¶
func NewEnvFactory ¶
func NewStartOpts ¶
func NewValueStringPercent ¶
Types ¶
type AddBlobCmd ¶
type AddBlobCmd struct {
// contains filtered or unexported fields
}
func NewAddBlobCmd ¶
func NewAddBlobCmd(blobsDir boshreldir.BlobsDir, fs boshsys.FileSystem, ui boshui.UI) AddBlobCmd
func (AddBlobCmd) Run ¶
func (c AddBlobCmd) Run(opts AddBlobOpts) error
type AliasEnvCmd ¶
type AliasEnvCmd struct {
// contains filtered or unexported fields
}
func NewAliasEnvCmd ¶
func (AliasEnvCmd) Run ¶
func (c AliasEnvCmd) Run(opts AliasEnvOpts) error
type AttachDiskCmd ¶
type AttachDiskCmd struct {
// contains filtered or unexported fields
}
func NewAttachDiskCmd ¶
func NewAttachDiskCmd(deployment boshdir.Deployment) AttachDiskCmd
func (AttachDiskCmd) Run ¶
func (c AttachDiskCmd) Run(opts AttachDiskOpts) error
type BasicDeps ¶
type BasicDeps struct { FS boshsys.FileSystem UI *boshui.ConfUI Logger boshlog.Logger UUIDGen boshuuid.Generator CmdRunner boshsys.CmdRunner Compressor boshcmd.Compressor DigestCalculator bicrypto.DigestCalculator DigestCreationAlgorithms []boshcrypto.Algorithm Time clock.Clock }
func NewBasicDepsWithFS ¶
type BasicLoginStrategy ¶
type BasicLoginStrategy struct {
// contains filtered or unexported fields
}
func NewBasicLoginStrategy ¶
func (BasicLoginStrategy) Try ¶
func (s BasicLoginStrategy) Try() error
type BlobsCmd ¶
type BlobsCmd struct {
// contains filtered or unexported fields
}
func NewBlobsCmd ¶
func NewBlobsCmd(blobsDir boshreldir.BlobsDir, ui boshui.UI) BlobsCmd
type CPIConfigCmd ¶
type CPIConfigCmd struct {
// contains filtered or unexported fields
}
func NewCPIConfigCmd ¶
func NewCPIConfigCmd(ui boshui.UI, director boshdir.Director) CPIConfigCmd
func (CPIConfigCmd) Run ¶
func (c CPIConfigCmd) Run() error
type CancelTaskCmd ¶
type CancelTaskCmd struct {
// contains filtered or unexported fields
}
func NewCancelTaskCmd ¶
func NewCancelTaskCmd(director boshdir.Director) CancelTaskCmd
func (CancelTaskCmd) Run ¶
func (c CancelTaskCmd) Run(opts CancelTaskOpts) error
type CancelTasksCmd ¶
type CancelTasksCmd struct {
// contains filtered or unexported fields
}
func NewCancelTasksCmd ¶
func NewCancelTasksCmd(director boshdir.Director) CancelTasksCmd
func (CancelTasksCmd) Run ¶
func (c CancelTasksCmd) Run(opts CancelTasksOpts) error
type CertificateInfoTable ¶
type CertificateInfoTable struct { Certificates []boshdir.CertificateExpiryInfo UI boshui.UI }
func (CertificateInfoTable) Print ¶
func (t CertificateInfoTable) Print()
type CleanUpCmd ¶
type CleanUpCmd struct {
// contains filtered or unexported fields
}
func NewCleanUpCmd ¶
func NewCleanUpCmd(ui boshui.UI, director boshdir.Director) CleanUpCmd
func (CleanUpCmd) PrintCleanUpTable ¶
func (c CleanUpCmd) PrintCleanUpTable(resp boshdir.CleanUp)
func (CleanUpCmd) Run ¶
func (c CleanUpCmd) Run(opts CleanUpOpts) error
type CloudCheckCmd ¶
type CloudCheckCmd struct {
// contains filtered or unexported fields
}
func NewCloudCheckCmd ¶
func NewCloudCheckCmd(deployment boshdir.Deployment, ui boshui.UI) CloudCheckCmd
func (CloudCheckCmd) Run ¶
func (c CloudCheckCmd) Run(opts CloudCheckOpts) error
type CloudConfigCmd ¶
type CloudConfigCmd struct {
// contains filtered or unexported fields
}
func NewCloudConfigCmd ¶
func NewCloudConfigCmd(ui boshui.UI, director boshdir.Director) CloudConfigCmd
func (CloudConfigCmd) Run ¶
func (c CloudConfigCmd) Run(opts CloudConfigOpts) error
type Cmd ¶
type Cmd struct { BoshOpts BoshOpts Opts interface{} // contains filtered or unexported fields }
type ConfigDiffTable ¶
type ConfigDiffTable struct {
// contains filtered or unexported fields
}
func NewConfigDiffTable ¶
func NewConfigDiffTable(diff Diff, opts boshcmd.DiffConfigOpts, ui boshui.UI) ConfigDiffTable
func (ConfigDiffTable) Print ¶
func (t ConfigDiffTable) Print()
type ConfigTable ¶
func (ConfigTable) Print ¶
func (t ConfigTable) Print()
type ConfigsCmd ¶
type ConfigsCmd struct {
// contains filtered or unexported fields
}
func NewConfigsCmd ¶
func NewConfigsCmd(ui boshui.UI, director boshdir.Director) ConfigsCmd
func (ConfigsCmd) Run ¶
func (c ConfigsCmd) Run(opts ConfigsOpts) error
type CreateEnvCmd ¶
type CreateEnvCmd struct {
// contains filtered or unexported fields
}
func NewCreateEnvCmd ¶
func NewCreateEnvCmd(ui boshui.UI, envProvider EnvProviderFunction) *CreateEnvCmd
type CreateRecoveryPlanCmd ¶ added in v7.3.0
type CreateRecoveryPlanCmd struct {
// contains filtered or unexported fields
}
func NewCreateRecoveryPlanCmd ¶ added in v7.3.0
func NewCreateRecoveryPlanCmd(deployment boshdir.Deployment, ui boshui.UI, fs boshsys.FileSystem) CreateRecoveryPlanCmd
func (CreateRecoveryPlanCmd) Run ¶ added in v7.3.0
func (c CreateRecoveryPlanCmd) Run(opts CreateRecoveryPlanOpts) error
type CreateReleaseCmd ¶
type CreateReleaseCmd struct {
// contains filtered or unexported fields
}
func NewCreateReleaseCmd ¶
func NewCreateReleaseCmd( releaseDirFactory func(DirOrCWDArg) (boshrel.Reader, boshreldir.ReleaseDir), releaseWriter boshrel.Writer, fs boshsys.FileSystem, ui boshui.UI, ) CreateReleaseCmd
type CurlCmd ¶
type CurlCmd struct {
// contains filtered or unexported fields
}
func NewCurlCmd ¶
func NewCurlCmd(ui boshui.UI, clientRequest boshdir.ClientRequest) CurlCmd
type DeleteConfigCmd ¶
type DeleteConfigCmd struct {
// contains filtered or unexported fields
}
func NewDeleteConfigCmd ¶
func NewDeleteConfigCmd(ui boshui.UI, director boshdir.Director) DeleteConfigCmd
func (DeleteConfigCmd) Run ¶
func (c DeleteConfigCmd) Run(opts DeleteConfigOpts) error
type DeleteDeploymentCmd ¶
type DeleteDeploymentCmd struct {
// contains filtered or unexported fields
}
func NewDeleteDeploymentCmd ¶
func NewDeleteDeploymentCmd(ui boshui.UI, deployment boshdir.Deployment) DeleteDeploymentCmd
func (DeleteDeploymentCmd) Run ¶
func (c DeleteDeploymentCmd) Run(opts DeleteDeploymentOpts) error
type DeleteDiskCmd ¶
type DeleteDiskCmd struct {
// contains filtered or unexported fields
}
func NewDeleteDiskCmd ¶
func NewDeleteDiskCmd(ui boshui.UI, director boshdir.Director) DeleteDiskCmd
func (DeleteDiskCmd) Run ¶
func (c DeleteDiskCmd) Run(opts DeleteDiskOpts) error
type DeleteEnvCmd ¶
type DeleteEnvCmd struct {
// contains filtered or unexported fields
}
func NewDeleteEnvCmd ¶
func NewDeleteEnvCmd(ui boshui.UI, envProvider func(string, string, boshtpl.Variables, patch.Op) DeploymentDeleter) *DeleteEnvCmd
type DeleteNetworkCmd ¶
type DeleteNetworkCmd struct {
// contains filtered or unexported fields
}
func NewDeleteNetworkCmd ¶
func NewDeleteNetworkCmd(ui boshui.UI, director boshdir.Director) DeleteNetworkCmd
func (DeleteNetworkCmd) Run ¶
func (c DeleteNetworkCmd) Run(opts DeleteNetworkOpts) error
type DeleteReleaseCmd ¶
type DeleteReleaseCmd struct {
// contains filtered or unexported fields
}
func NewDeleteReleaseCmd ¶
func NewDeleteReleaseCmd(ui boshui.UI, director boshdir.Director) DeleteReleaseCmd
func (DeleteReleaseCmd) Run ¶
func (c DeleteReleaseCmd) Run(opts DeleteReleaseOpts) error
type DeleteSnapshotCmd ¶
type DeleteSnapshotCmd struct {
// contains filtered or unexported fields
}
func NewDeleteSnapshotCmd ¶
func NewDeleteSnapshotCmd(ui boshui.UI, deployment boshdir.Deployment) DeleteSnapshotCmd
func (DeleteSnapshotCmd) Run ¶
func (c DeleteSnapshotCmd) Run(opts DeleteSnapshotOpts) error
type DeleteSnapshotsCmd ¶
type DeleteSnapshotsCmd struct {
// contains filtered or unexported fields
}
func NewDeleteSnapshotsCmd ¶
func NewDeleteSnapshotsCmd(ui boshui.UI, deployment boshdir.Deployment) DeleteSnapshotsCmd
func (DeleteSnapshotsCmd) Run ¶
func (c DeleteSnapshotsCmd) Run() error
type DeleteStemcellCmd ¶
type DeleteStemcellCmd struct {
// contains filtered or unexported fields
}
func NewDeleteStemcellCmd ¶
func NewDeleteStemcellCmd(ui boshui.UI, director boshdir.Director) DeleteStemcellCmd
func (DeleteStemcellCmd) Run ¶
func (c DeleteStemcellCmd) Run(opts DeleteStemcellOpts) error
type DeleteVMCmd ¶
type DeleteVMCmd struct {
// contains filtered or unexported fields
}
func NewDeleteVMCmd ¶
func NewDeleteVMCmd(ui boshui.UI, deployment boshdir.Deployment) DeleteVMCmd
func (DeleteVMCmd) Run ¶
func (c DeleteVMCmd) Run(opts DeleteVMOpts) error
type DeployCmd ¶
type DeployCmd struct {
// contains filtered or unexported fields
}
func NewDeployCmd ¶
func NewDeployCmd( ui boshui.UI, deployment boshdir.Deployment, releaseUploader ReleaseUploader, director boshdir.Director, ) DeployCmd
type DeploymentCmd ¶
type DeploymentCmd struct {
// contains filtered or unexported fields
}
func NewDeploymentCmd ¶
func (DeploymentCmd) Run ¶
func (c DeploymentCmd) Run() error
type DeploymentDeleter ¶
func NewDeploymentDeleter ¶
func NewDeploymentDeleter( ui biui.UI, logTag string, logger boshlog.Logger, deploymentStateService biconfig.DeploymentStateService, releaseManager boshinst.ReleaseManager, cloudFactory bicloud.Factory, agentClientFactory bihttpagent.AgentClientFactory, blobstoreFactory biblobstore.Factory, deploymentManagerFactory bidepl.ManagerFactory, deploymentManifestPath string, deploymentVars boshtpl.Variables, deploymentOp patch.Op, cpiInstaller bicpirel.CpiInstaller, cpiUninstaller biinstall.Uninstaller, releaseFetcher boshinst.ReleaseFetcher, releaseSetAndInstallationManifestParser ReleaseSetAndInstallationManifestParser, tempRootConfigurator TempRootConfigurator, targetProvider biinstall.TargetProvider, ) DeploymentDeleter
type DeploymentManifestParser ¶
type DeploymentManifestParser interface { GetDeploymentManifest(path string, vars boshtpl.Variables, op patch.Op, releaseSetManifest birelsetmanifest.Manifest, stage biui.Stage) (bideplmanifest.Manifest, string, error) GetDeploymentManifestUpdate(path string, vars boshtpl.Variables, op patch.Op, releaseSetManifest birelsetmanifest.Manifest, stage biui.Stage) (bideplmanifest.Update, error) }
func NewDeploymentManifestParser ¶
func NewDeploymentManifestParser( deploymentParser bideplmanifest.Parser, deploymentValidator bideplmanifest.Validator, releaseManager birel.Manager, templateFactory bidepltpl.DeploymentTemplateFactory) DeploymentManifestParser
type DeploymentPreparer ¶
type DeploymentPreparer struct {
// contains filtered or unexported fields
}
func NewDeploymentPreparer ¶
func NewDeploymentPreparer( ui biui.UI, logger boshlog.Logger, logTag string, deploymentStateService biconfig.DeploymentStateService, legacyDeploymentStateMigrator biconfig.LegacyDeploymentStateMigrator, releaseManager boshinst.ReleaseManager, deploymentRecord bidepl.Record, cloudFactory bicloud.Factory, stemcellManagerFactory bistemcell.ManagerFactory, agentClientFactory bihttpagent.AgentClientFactory, vmManagerFactory bivm.ManagerFactory, blobstoreFactory biblobstore.Factory, deployer bidepl.Deployer, deploymentManifestPath string, deploymentVars boshtpl.Variables, deploymentOp patch.Op, cpiInstaller bicpirel.CpiInstaller, releaseFetcher boshinst.ReleaseFetcher, stemcellFetcher bistemcell.Fetcher, releaseSetAndInstallationManifestParser ReleaseSetAndInstallationManifestParser, deploymentManifestParser DeploymentManifestParser, tempRootConfigurator TempRootConfigurator, targetProvider biinstall.TargetProvider, ) DeploymentPreparer
func (*DeploymentPreparer) PrepareDeployment ¶
type DeploymentStateManager ¶
type DeploymentStateManager interface { StopDeployment(skipDrain bool, stage biui.Stage) (err error) StartDeployment(stage biui.Stage) (err error) }
func NewDeploymentStateManager ¶
func NewDeploymentStateManager( ui biui.UI, logTag string, logger boshlog.Logger, deploymentStateService biconfig.DeploymentStateService, agentClientFactory bihttpagent.AgentClientFactory, deploymentManagerFactory bidepl.ManagerFactory, deploymentManifestPath string, deploymentVars boshtpl.Variables, deploymentOp patch.Op, releaseSetAndInstallationManifestParser ReleaseSetAndInstallationManifestParser, deploymentManifestParser DeploymentManifestParser, ) DeploymentStateManager
type DeploymentTablePrinter ¶
type DeploymentTablePrinter struct { Name string Releases []boshdir.Release Stemcells []boshdir.Stemcell Teams []string Configs boshdir.DeploymentConfigs UI boshui.UI }
func (DeploymentTablePrinter) Print ¶
func (t DeploymentTablePrinter) Print() error
type DeploymentsCmd ¶
type DeploymentsCmd struct {
// contains filtered or unexported fields
}
func NewDeploymentsCmd ¶
func NewDeploymentsCmd(ui biui.UI, director boshdir.Director) DeploymentsCmd
func (DeploymentsCmd) Run ¶
func (c DeploymentsCmd) Run() error
type DeploymentsTable ¶
type DeploymentsTable struct { Deployments []boshdir.DeploymentResp UI boshui.UI }
func (DeploymentsTable) Print ¶
func (t DeploymentsTable) Print() error
type DiffConfigCmd ¶
type DiffConfigCmd struct {
// contains filtered or unexported fields
}
func NewDiffConfigCmd ¶
func NewDiffConfigCmd(ui boshui.UI, director boshdir.Director) DiffConfigCmd
func (DiffConfigCmd) Run ¶
func (c DiffConfigCmd) Run(opts DiffConfigOpts) error
type Downloader ¶
type EnvLogsCmd ¶ added in v7.2.0
type EnvLogsCmd struct {
// contains filtered or unexported fields
}
func NewEnvLogsCmd ¶ added in v7.2.0
func NewEnvLogsCmd( agentClientFactory bihttpagent.AgentClientFactory, nonIntSSHRunner boshssh.Runner, scpRunner boshssh.SCPRunner, fs boshsys.FileSystem, timeService clock.Clock, ui boshui.UI, ) EnvLogsCmd
func (EnvLogsCmd) Run ¶ added in v7.2.0
func (c EnvLogsCmd) Run(opts LogsOpts) error
type EnvProviderFunction ¶
type EnvSCPCmd ¶ added in v7.2.0
type EnvSCPCmd struct {
// contains filtered or unexported fields
}
func NewEnvSCPCmd ¶ added in v7.2.0
func NewEnvSCPCmd( agentClientFactory bihttpagent.AgentClientFactory, scpRunner boshssh.SCPRunner, ) EnvSCPCmd
type EnvSSHCmd ¶ added in v7.2.0
type EnvSSHCmd struct {
// contains filtered or unexported fields
}
func NewEnvSSHCmd ¶ added in v7.2.0
type EnvironmentCmd ¶
type EnvironmentCmd struct {
// contains filtered or unexported fields
}
func NewEnvironmentCmd ¶
func NewEnvironmentCmd(ui boshui.UI, director boshdir.Director) EnvironmentCmd
func (EnvironmentCmd) Run ¶
func (c EnvironmentCmd) Run(opts EnvironmentOpts) error
type EnvironmentsCmd ¶
type EnvironmentsCmd struct {
// contains filtered or unexported fields
}
func NewEnvironmentsCmd ¶
func NewEnvironmentsCmd(config cmdconf.Config, ui boshui.UI) EnvironmentsCmd
func (EnvironmentsCmd) Run ¶
func (c EnvironmentsCmd) Run() error
type ErrandsCmd ¶
type ErrandsCmd struct {
// contains filtered or unexported fields
}
func NewErrandsCmd ¶
func NewErrandsCmd(ui boshui.UI, deployment boshdir.Deployment) ErrandsCmd
func (ErrandsCmd) Run ¶
func (c ErrandsCmd) Run() error
type EventContextSorting ¶
type EventContextSorting []string
func (EventContextSorting) Len ¶
func (s EventContextSorting) Len() int
func (EventContextSorting) Less ¶
func (s EventContextSorting) Less(i, j int) bool
func (EventContextSorting) Swap ¶
func (s EventContextSorting) Swap(i, j int)
type EventTable ¶
func (EventTable) Print ¶
func (t EventTable) Print()
type ExportReleaseCmd ¶
type ExportReleaseCmd struct {
// contains filtered or unexported fields
}
func NewExportReleaseCmd ¶
func NewExportReleaseCmd(deployment boshdir.Deployment, downloader Downloader) ExportReleaseCmd
func (ExportReleaseCmd) Run ¶
func (c ExportReleaseCmd) Run(opts ExportReleaseOpts) error
type FinalizeReleaseCmd ¶
type FinalizeReleaseCmd struct {
// contains filtered or unexported fields
}
func NewFinalizeReleaseCmd ¶
func NewFinalizeReleaseCmd( releaseReader boshrel.Reader, releaseDir boshreldir.ReleaseDir, ui boshui.UI, ) FinalizeReleaseCmd
func (FinalizeReleaseCmd) Run ¶
func (c FinalizeReleaseCmd) Run(opts FinalizeReleaseOpts) error
type GenerateJobCmd ¶
type GenerateJobCmd struct {
// contains filtered or unexported fields
}
func NewGenerateJobCmd ¶
func NewGenerateJobCmd(releaseDir boshreldir.ReleaseDir) GenerateJobCmd
func (GenerateJobCmd) Run ¶
func (c GenerateJobCmd) Run(opts GenerateJobOpts) error
type GeneratePackageCmd ¶
type GeneratePackageCmd struct {
// contains filtered or unexported fields
}
func NewGeneratePackageCmd ¶
func NewGeneratePackageCmd(releaseDir boshreldir.ReleaseDir) GeneratePackageCmd
func (GeneratePackageCmd) Run ¶
func (c GeneratePackageCmd) Run(opts GeneratePackageOpts) error
type IgnoreCmd ¶
type IgnoreCmd struct {
// contains filtered or unexported fields
}
func NewIgnoreCmd ¶
func NewIgnoreCmd(deployment boshdir.Deployment) IgnoreCmd
type InfoFeatureSorting ¶
type InfoFeatureSorting []string
func (InfoFeatureSorting) Len ¶
func (s InfoFeatureSorting) Len() int
func (InfoFeatureSorting) Less ¶
func (s InfoFeatureSorting) Less(i, j int) bool
func (InfoFeatureSorting) Swap ¶
func (s InfoFeatureSorting) Swap(i, j int)
type InitReleaseCmd ¶
type InitReleaseCmd struct {
// contains filtered or unexported fields
}
func NewInitReleaseCmd ¶
func NewInitReleaseCmd(releaseDir boshreldir.ReleaseDir) InitReleaseCmd
func (InitReleaseCmd) Run ¶
func (c InitReleaseCmd) Run(opts InitReleaseOpts) error
type InspectLocalReleaseCmd ¶
type InspectLocalReleaseCmd struct {
// contains filtered or unexported fields
}
func NewInspectLocalReleaseCmd ¶
func NewInspectLocalReleaseCmd( reader boshrel.Reader, ui biui.UI, ) InspectLocalReleaseCmd
func (InspectLocalReleaseCmd) Run ¶
func (cmd InspectLocalReleaseCmd) Run(opts InspectLocalReleaseOpts) error
type InspectReleaseCmd ¶
type InspectReleaseCmd struct {
// contains filtered or unexported fields
}
func NewInspectReleaseCmd ¶
func NewInspectReleaseCmd(ui boshui.UI, director boshdir.Director) InspectReleaseCmd
func (InspectReleaseCmd) Run ¶
func (c InspectReleaseCmd) Run(opts InspectReleaseOpts) error
type InspectStemcellTarballCmd ¶
type InspectStemcellTarballCmd struct {
// contains filtered or unexported fields
}
func NewInspectStemcellTarballCmd ¶
func NewInspectStemcellTarballCmd( stemcellArchiveFactory func(string) boshdir.StemcellArchive, ui biui.UI, ) InspectStemcellTarballCmd
func (InspectStemcellTarballCmd) Run ¶
func (c InspectStemcellTarballCmd) Run(opts InspectStemcellTarballOpts) error
type InstanceGroupPlan ¶ added in v7.3.0
type InstanceTable ¶
type InstanceTable struct {
Processes, VMDetails, DeploymentDetails, Details, Stemcell, Vitals, CloudProperties bool
}
func (InstanceTable) AsValues ¶
func (t InstanceTable) AsValues(v InstanceTableValues) []boshtbl.Value
AsValues is public instead of being private to aid ease of accessing vals in tests
func (InstanceTable) ForProcess ¶
func (t InstanceTable) ForProcess(p boshdir.VMInfoProcess) InstanceTableValues
func (InstanceTable) ForVMInfo ¶
func (t InstanceTable) ForVMInfo(i boshdir.VMInfo) InstanceTableValues
func (InstanceTable) Headers ¶
func (t InstanceTable) Headers() []boshtbl.Header
type InstanceTableValues ¶
type InstanceTableValues struct { Name boshtbl.Value Process boshtbl.Value ProcessState boshtbl.Value State boshtbl.Value AZ boshtbl.Value VMType boshtbl.Value Active boshtbl.Value IPs boshtbl.Value Deployment boshtbl.Value // Details VMCID boshtbl.Value DiskCIDs boshtbl.Value AgentID boshtbl.Value Index boshtbl.Value Bootstrap boshtbl.Value Ignore boshtbl.Value VMCreatedAt boshtbl.Value CloudProperties boshtbl.Value Stemcell boshtbl.Value // Vitals Uptime boshtbl.Value // only for Process Load boshtbl.Value CPUTotal boshtbl.Value // only for Process CPUUser boshtbl.Value CPUSys boshtbl.Value CPUWait boshtbl.Value Memory boshtbl.Value Swap boshtbl.Value SystemDisk boshtbl.Value EphemeralDisk boshtbl.Value PersistentDisk boshtbl.Value }
type InstancesCmd ¶
type InstancesCmd struct {
// contains filtered or unexported fields
}
func NewInstancesCmd ¶
func (InstancesCmd) Run ¶
func (c InstancesCmd) Run(opts InstancesOpts) error
type InterpolateCmd ¶
type InterpolateCmd struct {
// contains filtered or unexported fields
}
func NewInterpolateCmd ¶
func NewInterpolateCmd(ui boshui.UI) InterpolateCmd
func (InterpolateCmd) Run ¶
func (c InterpolateCmd) Run(opts InterpolateOpts) error
type LogInCmd ¶
type LogInCmd struct {
// contains filtered or unexported fields
}
func NewLogInCmd ¶
func NewLogInCmd( basicStrategy LoginStrategy, uaaStrategy LoginStrategy, director boshdir.Director, ) LogInCmd
type LogOutCmd ¶
type LogOutCmd struct {
// contains filtered or unexported fields
}
func NewLogOutCmd ¶
type LoginStrategy ¶
type LoginStrategy interface {
Try() error
}
type LogsCmd ¶
type LogsCmd struct {
// contains filtered or unexported fields
}
func NewLogsCmd ¶
func NewLogsCmd( deployment boshdir.Deployment, downloader Downloader, uuidGen boshuuid.Generator, nonIntSSHRunner boshssh.Runner, ) LogsCmd
type ManifestCmd ¶
type ManifestCmd struct {
// contains filtered or unexported fields
}
func NewManifestCmd ¶
func NewManifestCmd(ui boshui.UI, deployment boshdir.Deployment) ManifestCmd
func (ManifestCmd) Run ¶
func (c ManifestCmd) Run() error
type NetworksCmd ¶
type NetworksCmd struct {
// contains filtered or unexported fields
}
func NewNetworksCmd ¶
func NewNetworksCmd(ui boshui.UI, director boshdir.Director) NetworksCmd
func (NetworksCmd) Run ¶
func (c NetworksCmd) Run(opts NetworksOpts) error
type OrphanDiskCmd ¶
type OrphanDiskCmd struct {
// contains filtered or unexported fields
}
func NewOrphanDiskCmd ¶
func NewOrphanDiskCmd(ui boshui.UI, director boshdir.Director) OrphanDiskCmd
func (OrphanDiskCmd) Run ¶
func (c OrphanDiskCmd) Run(opts OrphanDiskOpts) error
type OrphanedVMsCmd ¶
type OrphanedVMsCmd struct {
// contains filtered or unexported fields
}
func NewOrphanedVMsCmd ¶
func NewOrphanedVMsCmd(ui ui.UI, director director.Director) OrphanedVMsCmd
func (OrphanedVMsCmd) Run ¶
func (c OrphanedVMsCmd) Run() error
type PcapCmd ¶ added in v7.5.0
type PcapCmd struct {
// contains filtered or unexported fields
}
func NewPcapCmd ¶ added in v7.5.0
func NewPcapCmd( deployment boshdir.Deployment, pcapRunner pcap.PcapRunner, parallel int, ) PcapCmd
type RecoverCmd ¶ added in v7.3.0
type RecoverCmd struct {
// contains filtered or unexported fields
}
func NewRecoverCmd ¶ added in v7.3.0
func NewRecoverCmd(deployment boshdir.Deployment, ui boshui.UI, fs boshsys.FileSystem) RecoverCmd
func (RecoverCmd) Run ¶ added in v7.3.0
func (c RecoverCmd) Run(opts RecoverOpts) error
type RecoveryPlan ¶ added in v7.3.0
type RecoveryPlan struct {
InstanceGroupsPlan []InstanceGroupPlan `yaml:"instance_groups_plan"`
}
type RecreateCmd ¶
type RecreateCmd struct {
// contains filtered or unexported fields
}
func NewRecreateCmd ¶
func NewRecreateCmd(ui boshui.UI, deployment boshdir.Deployment) RecreateCmd
func (RecreateCmd) Run ¶
func (c RecreateCmd) Run(opts RecreateOpts) error
type RedigestReleaseCmd ¶
type RedigestReleaseCmd struct {
// contains filtered or unexported fields
}
func NewRedigestReleaseCmd ¶
func NewRedigestReleaseCmd( reader boshrel.Reader, writer boshrel.Writer, digestCalculator crypto.DigestCalculator, mv boshfu.Mover, archiveFilePathReader crypto2.ArchiveDigestFilePathReader, ui boshui.UI, ) RedigestReleaseCmd
func (RedigestReleaseCmd) Run ¶
func (cmd RedigestReleaseCmd) Run(args RedigestReleaseArgs) error
type ReleaseCreatingCmd ¶
type ReleaseCreatingCmd interface {
Run(cmdopts.CreateReleaseOpts) (boshrel.Release, error)
}
type ReleaseManager ¶
type ReleaseManager struct {
// contains filtered or unexported fields
}
func NewReleaseManager ¶
func NewReleaseManager( createReleaseCmd ReleaseCreatingCmd, uploadReleaseCmd ReleaseUploadingCmd, parallelThreads int, ) ReleaseManager
func (ReleaseManager) UploadReleases ¶
func (m ReleaseManager) UploadReleases(bytes []byte) ([]byte, error)
func (ReleaseManager) UploadReleasesWithFix ¶
func (m ReleaseManager) UploadReleasesWithFix(bytes []byte) ([]byte, error)
type ReleaseSetAndInstallationManifestParser ¶
type ReleaseSetAndInstallationManifestParser struct { ReleaseSetParser birelsetmanifest.Parser InstallationParser biinstallmanifest.Parser }
func (ReleaseSetAndInstallationManifestParser) ReleaseSetAndInstallationManifest ¶
func (y ReleaseSetAndInstallationManifestParser) ReleaseSetAndInstallationManifest(deploymentManifestPath string, vars boshtpl.Variables, op patch.Op) (birelsetmanifest.Manifest, biinstallmanifest.Manifest, error)
type ReleaseTables ¶
func (ReleaseTables) Print ¶
func (t ReleaseTables) Print(ui boshui.UI)
type ReleaseUploader ¶
type ReleaseUploadingCmd ¶
type ReleaseUploadingCmd interface {
Run(cmdopts.UploadReleaseOpts) error
}
type ReleasesCmd ¶
type ReleasesCmd struct {
// contains filtered or unexported fields
}
func NewReleasesCmd ¶
func NewReleasesCmd(ui boshui.UI, director boshdir.Director) ReleasesCmd
func (ReleasesCmd) Run ¶
func (c ReleasesCmd) Run() error
type RemoveBlobCmd ¶
type RemoveBlobCmd struct {
// contains filtered or unexported fields
}
func NewRemoveBlobCmd ¶
func NewRemoveBlobCmd(blobsDir boshreldir.BlobsDir, ui biui.UI) RemoveBlobCmd
func (RemoveBlobCmd) Run ¶
func (c RemoveBlobCmd) Run(opts RemoveBlobOpts) error
type RepackStemcellCmd ¶
type RepackStemcellCmd struct {
// contains filtered or unexported fields
}
func NewRepackStemcellCmd ¶
func NewRepackStemcellCmd( stemcellExtractor stemcell.Extractor, ) RepackStemcellCmd
func (RepackStemcellCmd) Run ¶
func (c RepackStemcellCmd) Run(opts RepackStemcellOpts) error
type ResetReleaseCmd ¶
type ResetReleaseCmd struct {
// contains filtered or unexported fields
}
func NewResetReleaseCmd ¶
func NewResetReleaseCmd(releaseDir boshreldir.ReleaseDir) ResetReleaseCmd
func (ResetReleaseCmd) Run ¶
func (c ResetReleaseCmd) Run(opts ResetReleaseOpts) error
type RestartCmd ¶
type RestartCmd struct {
// contains filtered or unexported fields
}
func NewRestartCmd ¶
func NewRestartCmd(ui boshui.UI, deployment boshdir.Deployment) RestartCmd
func (RestartCmd) Run ¶
func (c RestartCmd) Run(opts RestartOpts) error
type RunErrandCmd ¶
type RunErrandCmd struct {
// contains filtered or unexported fields
}
func NewRunErrandCmd ¶
func NewRunErrandCmd( deployment boshdir.Deployment, downloader Downloader, ui biui.UI, ) RunErrandCmd
func (RunErrandCmd) Run ¶
func (c RunErrandCmd) Run(opts RunErrandOpts) error
type RuntimeConfigCmd ¶
type RuntimeConfigCmd struct {
// contains filtered or unexported fields
}
func NewRuntimeConfigCmd ¶
func NewRuntimeConfigCmd(ui boshui.UI, director boshdir.Director) RuntimeConfigCmd
func (RuntimeConfigCmd) Run ¶
func (c RuntimeConfigCmd) Run(opts RuntimeConfigOpts) error
type SCPCmd ¶
type SCPCmd struct {
// contains filtered or unexported fields
}
type Session ¶
type SessionContext ¶
type SessionContextImpl ¶
type SessionContextImpl struct {
// contains filtered or unexported fields
}
SessionContextImpl prefers options over config values
func NewSessionContextImpl ¶
func NewSessionContextImpl( opts BoshOpts, config cmdconf.Config, fs boshsys.FileSystem, ) *SessionContextImpl
func (SessionContextImpl) CACert ¶
func (c SessionContextImpl) CACert() string
func (SessionContextImpl) Config ¶
func (c SessionContextImpl) Config() cmdconf.Config
func (SessionContextImpl) Credentials ¶
func (c SessionContextImpl) Credentials() cmdconf.Creds
func (SessionContextImpl) Deployment ¶
func (c SessionContextImpl) Deployment() string
func (SessionContextImpl) Environment ¶
func (c SessionContextImpl) Environment() string
type SessionImpl ¶
type SessionImpl struct {
// contains filtered or unexported fields
}
func NewSessionImpl ¶
func NewSessionImpl( context SessionContext, ui boshui.UI, printEnvironment bool, printDeployment bool, logger boshlog.Logger, ) *SessionImpl
func (*SessionImpl) AnonymousDirector ¶
func (c *SessionImpl) AnonymousDirector() (boshdir.Director, error)
func (SessionImpl) Credentials ¶
func (c SessionImpl) Credentials() cmdconf.Creds
func (*SessionImpl) Deployment ¶
func (c *SessionImpl) Deployment() (boshdir.Deployment, error)
func (SessionImpl) Environment ¶
func (c SessionImpl) Environment() string
type SnapshotsCmd ¶
type SnapshotsCmd struct {
// contains filtered or unexported fields
}
func NewSnapshotsCmd ¶
func NewSnapshotsCmd(ui boshui.UI, deployment boshdir.Deployment) SnapshotsCmd
func (SnapshotsCmd) Run ¶
func (c SnapshotsCmd) Run(opts SnapshotsOpts) error
type StartCmd ¶
type StartCmd struct {
// contains filtered or unexported fields
}
func NewStartCmd ¶
func NewStartCmd(ui boshui.UI, deployment boshdir.Deployment) StartCmd
type StartEnvCmd ¶
type StartEnvCmd struct {
// contains filtered or unexported fields
}
func NewStartEnvCmd ¶
func NewStartEnvCmd(ui boshui.UI, envProvider func(string, string, boshtpl.Variables, patch.Op) DeploymentStateManager) *StartEnvCmd
type StemcellsCmd ¶
type StemcellsCmd struct {
// contains filtered or unexported fields
}
func NewStemcellsCmd ¶
func NewStemcellsCmd(ui boshui.UI, director boshdir.Director) StemcellsCmd
func (StemcellsCmd) Run ¶
func (c StemcellsCmd) Run() error
type StopCmd ¶
type StopCmd struct {
// contains filtered or unexported fields
}
func NewStopCmd ¶
func NewStopCmd(ui boshui.UI, deployment boshdir.Deployment) StopCmd
type StopEnvCmd ¶
type StopEnvCmd struct {
// contains filtered or unexported fields
}
func NewStopEnvCmd ¶
func NewStopEnvCmd(ui boshui.UI, envProvider func(string, string, boshtpl.Variables, patch.Op) DeploymentStateManager) *StopEnvCmd
type SyncBlobsCmd ¶
type SyncBlobsCmd struct {
// contains filtered or unexported fields
}
func NewSyncBlobsCmd ¶
func NewSyncBlobsCmd(blobsDir boshreldir.BlobsDir, numOfParallelWorkers int) SyncBlobsCmd
func (SyncBlobsCmd) Run ¶
func (c SyncBlobsCmd) Run() error
type TakeSnapshotCmd ¶
type TakeSnapshotCmd struct {
// contains filtered or unexported fields
}
func NewTakeSnapshotCmd ¶
func NewTakeSnapshotCmd(deployment boshdir.Deployment) TakeSnapshotCmd
func (TakeSnapshotCmd) Run ¶
func (c TakeSnapshotCmd) Run(opts TakeSnapshotOpts) error
type TempRootConfigurator ¶
type TempRootConfigurator interface {
PrepareAndSetTempRoot(path string, logger logger.Logger) error
}
func NewTempRootConfigurator ¶
func NewTempRootConfigurator(fs boshsys.FileSystem) TempRootConfigurator
type UAALoginStrategy ¶
type UAALoginStrategy struct {
// contains filtered or unexported fields
}
func NewUAALoginStrategy ¶
func (UAALoginStrategy) Try ¶
func (c UAALoginStrategy) Try() error
type UIDownloader ¶
type UIDownloader struct {
// contains filtered or unexported fields
}
func NewUIDownloader ¶
func NewUIDownloader( director boshdir.Director, timeService clock.Clock, fs boshsys.FileSystem, ui biui.UI, ) UIDownloader
func (UIDownloader) Download ¶
func (d UIDownloader) Download(blobstoreID, sha1, prefix, dstDirPath string) error
type UnaliasEnvCmd ¶
type UnaliasEnvCmd struct {
// contains filtered or unexported fields
}
func NewUnaliasEnvCmd ¶
func NewUnaliasEnvCmd(config cmdconf.Config) *UnaliasEnvCmd
func (UnaliasEnvCmd) Run ¶
func (c UnaliasEnvCmd) Run(opts UnaliasEnvOpts) error
type UnignoreCmd ¶
type UnignoreCmd struct {
// contains filtered or unexported fields
}
func NewUnignoreCmd ¶
func NewUnignoreCmd(deployment boshdir.Deployment) UnignoreCmd
func (UnignoreCmd) Run ¶
func (cmd UnignoreCmd) Run(opts UnignoreOpts) error
type UpdateCPIConfigCmd ¶
type UpdateCPIConfigCmd struct {
// contains filtered or unexported fields
}
func NewUpdateCPIConfigCmd ¶
func NewUpdateCPIConfigCmd(ui boshui.UI, director boshdir.Director) UpdateCPIConfigCmd
func (UpdateCPIConfigCmd) Run ¶
func (c UpdateCPIConfigCmd) Run(opts UpdateCPIConfigOpts) error
type UpdateCloudConfigCmd ¶
type UpdateCloudConfigCmd struct {
// contains filtered or unexported fields
}
func NewUpdateCloudConfigCmd ¶
func NewUpdateCloudConfigCmd(ui boshui.UI, director boshdir.Director) UpdateCloudConfigCmd
func (UpdateCloudConfigCmd) Run ¶
func (c UpdateCloudConfigCmd) Run(opts UpdateCloudConfigOpts) error
type UpdateConfigCmd ¶
type UpdateConfigCmd struct {
// contains filtered or unexported fields
}
func NewUpdateConfigCmd ¶
func NewUpdateConfigCmd(ui boshui.UI, director boshdir.Director) UpdateConfigCmd
func (UpdateConfigCmd) Run ¶
func (c UpdateConfigCmd) Run(opts UpdateConfigOpts) error
type UpdateResurrectionCmd ¶
type UpdateResurrectionCmd struct {
// contains filtered or unexported fields
}
func NewUpdateResurrectionCmd ¶
func NewUpdateResurrectionCmd(director boshdir.Director) UpdateResurrectionCmd
func (UpdateResurrectionCmd) Run ¶
func (c UpdateResurrectionCmd) Run(opts UpdateResurrectionOpts) error
type UpdateRuntimeConfigCmd ¶
type UpdateRuntimeConfigCmd struct {
// contains filtered or unexported fields
}
func NewUpdateRuntimeConfigCmd ¶
func NewUpdateRuntimeConfigCmd(ui boshui.UI, director boshdir.Director, releaseUploader ReleaseUploader) UpdateRuntimeConfigCmd
func (UpdateRuntimeConfigCmd) Run ¶
func (c UpdateRuntimeConfigCmd) Run(opts UpdateRuntimeConfigOpts) error
type UploadBlobsCmd ¶
type UploadBlobsCmd struct {
// contains filtered or unexported fields
}
func NewUploadBlobsCmd ¶
func NewUploadBlobsCmd(blobsDir boshreldir.BlobsDir) UploadBlobsCmd
func (UploadBlobsCmd) Run ¶
func (c UploadBlobsCmd) Run() error
type UploadReleaseCmd ¶
type UploadReleaseCmd struct {
// contains filtered or unexported fields
}
func NewUploadReleaseCmd ¶
func NewUploadReleaseCmd( releaseDirFactory func(DirOrCWDArg) (boshrel.Reader, boshreldir.ReleaseDir), releaseArchiveWriter boshrel.Writer, director boshdir.Director, releaseArchiveFactory func(string) boshdir.ReleaseArchive, cmdRunner boshsys.CmdRunner, fs boshsys.FileSystem, ui boshui.UI, ) UploadReleaseCmd
func (UploadReleaseCmd) Run ¶
func (c UploadReleaseCmd) Run(opts UploadReleaseOpts) error
type UploadStemcellCmd ¶
type UploadStemcellCmd struct {
// contains filtered or unexported fields
}
func NewUploadStemcellCmd ¶
func NewUploadStemcellCmd( director boshdir.Director, stemcellArchiveFactory func(string) boshdir.StemcellArchive, ui biui.UI, ) UploadStemcellCmd
func (UploadStemcellCmd) Run ¶
func (c UploadStemcellCmd) Run(opts UploadStemcellOpts) error
type ValueCPUTotal ¶
type ValueCPUTotal struct {
Total *float64
}
func (ValueCPUTotal) String ¶
func (t ValueCPUTotal) String() string
func (ValueCPUTotal) Value ¶
func (t ValueCPUTotal) Value() boshtbl.Value
type ValueDiskSize ¶
type ValueDiskSize struct {
Size boshdir.VMInfoVitalsDiskSize
}
func (ValueDiskSize) String ¶
func (t ValueDiskSize) String() string
func (ValueDiskSize) Value ¶
func (t ValueDiskSize) Value() boshtbl.Value
type ValueMemIntSize ¶
type ValueMemIntSize struct {
Size boshdir.VMInfoVitalsMemIntSize
}
func (ValueMemIntSize) String ¶
func (t ValueMemIntSize) String() string
func (ValueMemIntSize) Value ¶
func (t ValueMemIntSize) Value() boshtbl.Value
type ValueMemSize ¶
type ValueMemSize struct {
Size boshdir.VMInfoVitalsMemSize
}
func (ValueMemSize) String ¶
func (t ValueMemSize) String() string
func (ValueMemSize) Value ¶
func (t ValueMemSize) Value() boshtbl.Value
type ValueUptime ¶
type ValueUptime struct {
Secs *uint64
}
func (ValueUptime) String ¶
func (t ValueUptime) String() string
func (ValueUptime) Value ¶
func (t ValueUptime) Value() boshtbl.Value
type VariablesCmd ¶
type VariablesCmd struct {
// contains filtered or unexported fields
}
func NewVariablesCmd ¶
func NewVariablesCmd(ui boshui.UI, deployment boshdir.Deployment) VariablesCmd
func (VariablesCmd) Run ¶
func (c VariablesCmd) Run(opts VariablesOpts) error
type VendorPackageCmd ¶
type VendorPackageCmd struct {
// contains filtered or unexported fields
}
func NewVendorPackageCmd ¶
func NewVendorPackageCmd( releaseDirFactory func(DirOrCWDArg) boshreldir.ReleaseDir, ui boshui.UI, ) VendorPackageCmd
func (VendorPackageCmd) Run ¶
func (c VendorPackageCmd) Run(opts VendorPackageOpts) error
Source Files ¶
- add_blob.go
- alias_env.go
- attach_disk.go
- basic_deps.go
- basic_login_strategy.go
- blobs.go
- cancel_task.go
- cancel_tasks.go
- certificate_info_table.go
- clean_up.go
- cloud_check.go
- cloud_config.go
- cmd.go
- config.go
- config_diff_table.go
- config_table.go
- configs.go
- cpi_config.go
- create_env.go
- create_recovery_plan.go
- create_release.go
- curl.go
- delete_config.go
- delete_deployment.go
- delete_disk.go
- delete_env.go
- delete_network.go
- delete_release.go
- delete_snapshot.go
- delete_snapshots.go
- delete_stemcell.go
- delete_vm.go
- deploy.go
- deployment.go
- deployment_deleter.go
- deployment_manifest_parser.go
- deployment_preparer.go
- deployment_state_manager.go
- deployment_table.go
- deployments.go
- deployments_table.go
- diff_config.go
- disks.go
- downloader.go
- env_factory.go
- environment.go
- environments.go
- errands.go
- event.go
- event_table.go
- events.go
- export_release.go
- factory.go
- finalize_release.go
- generate_job.go
- generate_package.go
- ignore.go
- info_table.go
- init_release.go
- inspect_local_release.go
- inspect_release.go
- inspect_stemcell_tarball.go
- instance_table.go
- instance_values.go
- instances.go
- interpolate.go
- locks.go
- log_in.go
- log_out.go
- logs.go
- manifest.go
- networks.go
- orphan_disk.go
- orphaned_vms.go
- pcap.go
- print_diff.go
- recover.go
- recreate.go
- redigest_release.go
- release_manager.go
- release_set_and_installation_manifest_parser.go
- release_tables.go
- releases.go
- remove_blob.go
- repack_stemcell.go
- reset_release.go
- restart.go
- run_errand.go
- runtime_config.go
- scp.go
- session.go
- session_context.go
- session_factory.go
- session_interface.go
- snapshots.go
- ssh.go
- start.go
- start_env.go
- stemcells.go
- stop.go
- stop_env.go
- sync_blobs.go
- take_snapshot.go
- task.go
- tasks.go
- temp_root_configurator.go
- uaa_login_strategy.go
- unalias_env.go
- unignore.go
- update_cloud_config.go
- update_config.go
- update_cpi_config.go
- update_resurrection.go
- update_runtime_config.go
- upload_blobs.go
- upload_release.go
- upload_stemcell.go
- variables.go
- vendor_package.go
- version.go
- vms.go
Directories ¶
Path | Synopsis |
---|---|
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
configfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.