Versions in this module Expand all Collapse all v1 v1.0.0 Aug 22, 2017 Changes in this version + var RootCmd = &cobra.Command + func ActualLRPGroups(stdout, stderr io.Writer, bbsClient bbs.Client, domain, cellID string) error + func ActualLRPGroupsForGuid(stdout, stderr io.Writer, bbsClient bbs.Client, processGuid string, index int) error + func AddBBSFlags(cmd *cobra.Command) + func AddLocketFlags(cmd *cobra.Command) + func BBSPrehook(cmd *cobra.Command, args []string) error + func CancelTaskByGuid(stdout, _ io.Writer, bbsClient bbs.Client, taskGuid string) error + func Cell(stdout, stderr io.Writer, bbsClient bbs.Client, cellId string) error + func Cells(stdout, stderr io.Writer, bbsClient bbs.Client) error + func ClaimLock(stdout, stderr io.Writer, locketClient models.LocketClient, ...) error + func ClaimPresence(stdout, stderr io.Writer, locketClient models.LocketClient, ...) error + func CreateDesiredLRP(stdout, stderr io.Writer, bbsClient bbs.Client, spec []byte) error + func CreateTask(stdout, stderr io.Writer, bbsClient bbs.Client, spec []byte) error + func DeleteDesiredLRP(stdout, stderr io.Writer, bbsClient bbs.Client, processGuid string) error + func DeleteTask(stdout, stderr io.Writer, bbsClient bbs.Client, taskGuid string) error + func DesiredLRP(stdout, stderr io.Writer, bbsClient bbs.Client, processGuid string) error + func DesiredLRPSchedulingInfos(stdout, stderr io.Writer, bbsClient bbs.Client, domain string) error + func DesiredLRPs(stdout, stderr io.Writer, bbsClient bbs.Client, domain string) error + func Domains(stdout, stderr io.Writer, bbsClient bbs.Client) error + func LRPEvents(stdout, stderr io.Writer, bbsClient bbs.Client, cellID string) error + func LocketPrehook(cmd *cobra.Command, args []string) error + func Locks(stdout, stderr io.Writer, locketClient models.LocketClient) error + func Presences(stdout, stderr io.Writer, locketClient models.LocketClient) error + func ReleaseLock(stdout, stderr io.Writer, locketClient models.LocketClient, ...) error + func RetireActualLRP(stdout, stderr io.Writer, bbsClient bbs.Client, processGuid string, ...) error + func SetDomain(stdout, stderr io.Writer, bbsClient bbs.Client, domain string, ...) error + func TaskByGuid(stdout, _ io.Writer, bbsClient bbs.Client, taskGuid string) error + func TaskEvents(stdout, stderr io.Writer, bbsClient bbs.Client, cellID string) error + func Tasks(stdout, _ io.Writer, bbsClient bbs.Client, domain, cellID string) error + func UpdateDesiredLRP(stdout, stderr io.Writer, bbsClient bbs.Client, processGuid string, ...) error + func ValidateActualLRPGroupsArguments(args []string) error + func ValidateActualLRPGroupsForGuidArgs(args []string, indexFlag string) (string, int, error) + func ValidateCancelTaskArgs(args []string) (string, error) + func ValidateCellArguments(args []string) error + func ValidateCellsArguments(args []string) error + func ValidateClaimLocksArguments(cmd *cobra.Command, args []string, lockKey, lockOwner, lockValue string, ...) error + func ValidateClaimPresenceArguments(cmd *cobra.Command, args []string, lockKey, lockOwner, lockValue string, ...) error + func ValidateConflictingShortAndLongFlag(short string, long string, cmd *cobra.Command) error + func ValidateCreateDesiredLRPArguments(args []string) ([]byte, error) + func ValidateCreateTaskArguments(args []string) ([]byte, error) + func ValidateDeleteDesiredLRPArguments(args []string) (string, error) + func ValidateDeleteTaskArguments(args []string) (string, error) + func ValidateDesiredLRPArguments(args []string) (string, error) + func ValidateDesiredLRPSchedulingInfosArguments(args []string) error + func ValidateDesiredLRPsArguments(args []string) error + func ValidateDomainsArguments(args []string) error + func ValidateLocksArguments(args []string) error + func ValidatePresencesArguments(args []string) error + func ValidateReleaseLocksArguments(cmd *cobra.Command, args []string, lockKey, lockOwner string) error + func ValidateRetireActualLRPArgs(args []string) (string, int, error) + func ValidateSetDomainArgs(args []string) (string, error) + func ValidateTaskArgs(args []string) (string, error) + func ValidateTasksArgs(args []string) error + func ValidateUpdateDesiredLRPArguments(args []string) (string, []byte, error) + type CFDotError struct + func NewCFDotError(cmd *cobra.Command, err error) CFDotError + func NewCFDotLocketError(cmd *cobra.Command, err error) CFDotError + func NewCFDotValidationError(cmd *cobra.Command, err error) CFDotError + func (a CFDotError) Error() string + func (a CFDotError) ExitCode() int + type LRPEvent struct + Data interface{} + Type string + type TaskEvent struct + Data interface{} + Type string