Documentation ¶
Index ¶
- type UserController
- func (uc *UserController) Attach(daName, namespace, image, podName, container, processName, dbgger string) (*v1.DebugAttachment, error)
- func (uc *UserController) Counts(namespace, name string) (map[v1.DebugAttachment_State]int, error)
- func (uc *UserController) RequestDelete(namespace, name string) (*v1.DebugAttachment, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController() (UserController, error)
func (*UserController) Attach ¶
func (uc *UserController) Attach(daName, namespace, image, podName, container, processName, dbgger string) (*v1.DebugAttachment, error)
Attach creates a DebugAttachment with a state of PendingAttachment
func (*UserController) Counts ¶
func (uc *UserController) Counts(namespace, name string) (map[v1.DebugAttachment_State]int, error)
Counts returns the number of debug attachments by type
func (*UserController) RequestDelete ¶
func (uc *UserController) RequestDelete(namespace, name string) (*v1.DebugAttachment, error)
Remove sets the DebugAttachment state to PendingDelete
Click to show internal directories.
Click to hide internal directories.