Documentation ¶
Index ¶
- Variables
- 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 ActualLRPs(stdout, stderr io.Writer, bbsClient bbs.Client, ...) error
- func AddBBSAndTimeoutFlags(cmd *cobra.Command)
- func AddBBSFlags(cmd *cobra.Command)
- func AddLocketFlags(cmd *cobra.Command)
- func AddTLSFlags(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 FetchCellRegistration(bbsClient bbs.Client, traceID string, cellId string) (*models.CellPresence, error)
- func FetchCellState(stdout, stderr io.Writer, clientFactory rep.ClientFactory, ...) error
- func FetchCellStates(cmd *cobra.Command, stdout, stderr io.Writer, clientFactory rep.ClientFactory, ...) 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 TimeoutPrehook(cmd *cobra.Command, args []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 ValidateActualLRPsArguments(args []string) error
- func ValidateCancelTaskArgs(args []string) (string, error)
- func ValidateCellArguments(args []string) error
- func ValidateCellStateArguments(args []string) error
- func ValidateCellStatesArguments(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
- type LRPEvent
- type TaskEvent
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Config helpers.TLSConfig
)
View Source
var RootCmd = &cobra.Command{
Use: "cfdot",
Short: "Diego operator tooling",
Long: "A command-line tool to interact with a Cloud Foundry Diego deployment",
}
Functions ¶
func ActualLRPGroups ¶
func ActualLRPGroupsForGuid ¶
func ActualLRPs ¶
func AddBBSAndTimeoutFlags ¶
func AddBBSFlags ¶
func AddLocketFlags ¶
func AddTLSFlags ¶
func CancelTaskByGuid ¶
func ClaimPresence ¶
func CreateDesiredLRP ¶
func CreateTask ¶
func DeleteDesiredLRP ¶
func DeleteTask ¶
func DesiredLRP ¶
func DesiredLRPs ¶
func FetchCellRegistration ¶
func FetchCellState ¶
func FetchCellState(stdout, stderr io.Writer, clientFactory rep.ClientFactory, registration *models.CellPresence, traceID string) error
func FetchCellStates ¶
func ReleaseLock ¶
func RetireActualLRP ¶
func TaskEvents ¶
func UpdateDesiredLRP ¶
func ValidateCancelTaskArgs ¶
func ValidateCellArguments ¶
func ValidateCellsArguments ¶
func ValidateLocksArguments ¶
func ValidateSetDomainArgs ¶
func ValidateTaskArgs ¶
func ValidateTasksArgs ¶
Types ¶
type CFDotError ¶
type CFDotError struct {
// contains filtered or unexported fields
}
func NewCFDotComponentError ¶
func NewCFDotComponentError(cmd *cobra.Command, err error) CFDotError
func NewCFDotError ¶
func NewCFDotError(cmd *cobra.Command, err error) CFDotError
func NewCFDotValidationError ¶
func NewCFDotValidationError(cmd *cobra.Command, err error) CFDotError
func (CFDotError) Error ¶
func (a CFDotError) Error() string
func (CFDotError) ExitCode ¶
func (a CFDotError) ExitCode() int
Source Files ¶
- actual_lrp_groups.go
- actual_lrp_groups_for_guid.go
- actual_lrps.go
- bbs_flags.go
- cancel_task.go
- cell.go
- cell_state.go
- cell_states.go
- cells.go
- cfdot_error.go
- claim_lock.go
- claim_presence.go
- create_desired_lrp.go
- create_task.go
- delete_desired_lrp.go
- delete_task.go
- desired_lrp.go
- desired_lrp_scheduling_infos.go
- desired_lrps.go
- domains.go
- help.go
- locket_flags.go
- locks.go
- lrp_events.go
- package.go
- presences.go
- release_lock.go
- retire_actual_lrp.go
- root.go
- set_domain.go
- task.go
- task_events.go
- tasks.go
- timeout_flag.go
- tls_flags.go
- update_desired_lrp.go
- validators.go
Click to show internal directories.
Click to hide internal directories.