Documentation ¶
Index ¶
Constants ¶
View Source
const AuthorizedKeyAnnotation = "ssh.barpilot.io/publickey"
View Source
const CommandAnnotation = "ssh.barpilot.io/command"
View Source
const PrefixCommandAnnotation = "ssh.barpilot.io/prefix-command"
Variables ¶
View Source
var ErrDestination = errors.New("can't find destination")
Functions ¶
This section is empty.
Types ¶
type CRI ¶
type CRI struct {
// contains filtered or unexported fields
}
CRI is "container resource identifier"
type CurrentPodHandler ¶
type CurrentPodHandler interface { GetCurrentPodName() string GetCurrentNamespace() string GetCurrentPod(ctx context.Context) (*corev1.Pod, error) }
func NewCurrentPodHandler ¶
func NewCurrentPodHandler(clientSet *kubernetes.Clientset) (CurrentPodHandler, error)
type PRI ¶
type PRI struct {
// contains filtered or unexported fields
}
PRI is "pod resource identifier"
type SshHandler ¶
func NewSshHandler ¶
func NewSshHandler( config *rest.Config, ) (SshHandler, error)
Click to show internal directories.
Click to hide internal directories.