Versions in this module Expand all Collapse all v8 v8.4.4 Aug 24, 2022 v8.4.3 Aug 24, 2022 Changes in this version + const AllCommandsIndent + const CommandIndent + const CommonCommandsIndent + const DefaultArchiveFilePermissions + const DefaultFolderPermissions + const MaxResourceMatchChunkSize + const RecentLogsLines + const StagingLog + var DefaultIgnoreLines = []string + func GetStreamingLogs(appGUID string, client LogCacheClient) (<-chan LogMessage, <-chan error, context.CancelFunc) + type Actor struct + Config Config + func NewActor(config Config) *Actor + func (Actor) CommandInfoByName(commandList interface{}, commandName string) (CommandInfo, error) + func (Actor) CommandInfos(commandList interface{}) map[string]CommandInfo + func (Actor) ReadArchive(archivePath string) (io.ReadCloser, int64, error) + func (actor Actor) CheckTarget(targetedOrganizationRequired bool, targetedSpaceRequired bool) error + func (actor Actor) CreateArchive(bitsPath string, resources []Resource) (io.ReadCloser, int64, error) + func (actor Actor) ExecuteSecureShell(sshClient SecureShellClient, sshOptions SSHOptions) error + func (actor Actor) GatherArchiveResources(archivePath string) ([]Resource, error) + func (actor Actor) GatherDirectoryResources(sourceDir string) ([]Resource, error) + func (actor Actor) IsOrgTargeted() bool + func (actor Actor) IsSpaceTargeted() bool + func (actor Actor) RequireCurrentUser() (string, error) + func (actor Actor) RequireTargetedOrg() (string, error) + func (actor Actor) ZipArchiveResources(sourceArchivePath string, filesToInclude []Resource) (string, error) + func (actor Actor) ZipDirectoryResources(sourceDir string, filesToInclude []Resource) (string, error) + type AuthActor interface + IsLoggedIn func() bool + type CommandFlag struct + Default string + Description string + Long string + Short string + type CommandInfo struct + Alias string + Description string + Environment []EnvironmentVariable + Examples string + Flags []CommandFlag + Name string + RelatedCommands []string + Resources string + Usage string + type Config interface + AccessToken func() string + BinaryName func() string + CurrentUserName func() (string, error) + HasTargetedOrganization func() bool + HasTargetedSpace func() bool + IsCFOnK8s func() bool + RefreshToken func() string + TargetedOrganizationName func() string + Verbose func() (bool, []string) + type DefaultAuthActor struct + func NewDefaultAuthActor(config Config) DefaultAuthActor + func (a DefaultAuthActor) IsLoggedIn() bool + type EnvironmentVariable struct + DefaultValue string + Description string + Name string + type HasExamples interface + Examples func() string + type HasResources interface + Resources func() string + type HasUsage interface + Usage func() string + type K8sAuthActor struct + func NewK8sAuthActor(config Config) K8sAuthActor + func (a K8sAuthActor) IsLoggedIn() bool + type LocalPortForward clissh.LocalPortForward + type LogCacheClient interface + Read func(ctx context.Context, sourceID string, start time.Time, ...) ([]*loggregator_v2.Envelope, error) + type LogMessage struct + func GetRecentLogs(appGUID string, client LogCacheClient) ([]LogMessage, error) + func NewLogMessage(message string, messageType string, timestamp time.Time, sourceType string, ...) *LogMessage + func (log LogMessage) Message() string + func (log LogMessage) SourceInstance() string + func (log LogMessage) SourceType() string + func (log LogMessage) Staging() bool + func (log LogMessage) Timestamp() time.Time + func (log LogMessage) Type() string + type LogMessages []*LogMessage + func (lm LogMessages) Len() int + func (lm LogMessages) Less(i, j int) bool + func (lm LogMessages) Swap(i, j int) + type Resource struct + Filename string + Mode os.FileMode + SHA1 string + Size int64 + func (r Resource) ToV3Resource() V3Resource + type SSHOptions struct + Commands []string + Endpoint string + HostKeyFingerprint string + LocalPortForwardSpecs []LocalPortForward + Passcode string + SkipHostValidation bool + SkipRemoteExecution bool + TTYOption TTYOption + Username string + type SecureShellClient interface + Close func() error + Connect func(username string, passcode string, sshEndpoint string, ...) error + InteractiveSession func(commands []string, terminalRequest clissh.TTYRequest) error + LocalPortForward func(localPortForwardSpecs []clissh.LocalPortForward) error + Wait func() error + type TTYOption clissh.TTYRequest + const RequestTTYAuto + const RequestTTYForce + const RequestTTYNo + const RequestTTYYes + type V3Resource ccv3.Resource + func (r V3Resource) ToV2Resource() Resource Other modules containing this package github.com/LukasHeimann/cloudfoundrycli