Documentation ¶
Index ¶
- Constants
- func RemoveSessions(cmd *cobra.Command) (session.State, func(), error)
- func Sessions(cmd *cobra.Command) (session.State, session.Options, func(), error)
- func ToOptions(annotations map[string]string, flags *pflag.FlagSet) (session.Options, error)
- func ToRemoveOptions(flags *pflag.FlagSet) (session.Options, error)
Constants ¶
View Source
const (
// AnnotationRevert is the name of the command annotation that is used to control the Revert flag.
AnnotationRevert = "revert"
)
Variables ¶
This section is empty.
Functions ¶
func RemoveSessions ¶
RemoveSessions creates a Handler for the given session operation for removing a session session expects that cmd has offline and session flags defined. otherwise it fails.
func Sessions ¶
Sessions creates a Handler for the given session operation session expects that cmd has offline, namespace, route, deployment and session flags defined. otherwise it fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.