Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BreakNow = false
View Source
var Recieved = false
Functions ¶
func HandleSignals ¶
func HandleSignals()
Types ¶
type LearnedPrivilege ¶
type LearnedPrivilege bool
type LocalExplorer ¶
type LocalExplorer struct { ClientSet kubernetes.Clientset Config rest.Config Options *LocalExplorerOptions }
func NewLocalExplorer ¶
func NewLocalExplorer(clientSet kubernetes.Clientset, config rest.Config, options *LocalExplorerOptions) *LocalExplorer
func (*LocalExplorer) Probe ¶
func (l *LocalExplorer) Probe() error
type LocalExplorerOptions ¶
type LocalExplorerOptions struct {
Namespace string
}
type ProbedProfile ¶
type ProbedProfile struct { ClusterName string Nodes []v1.Node AccessKubeSystemNamespace LearnedPrivilege }
type RemoteExplorer ¶
type RemoteExplorer struct { ClientSet kubernetes.Clientset Config rest.Config Options *RemoteExplorerOptions }
func NewRemoteExplorer ¶
func NewRemoteExplorer(clientSet kubernetes.Clientset, config rest.Config, options *RemoteExplorerOptions) *RemoteExplorer
func (*RemoteExplorer) Attach ¶
func (e *RemoteExplorer) Attach(profile *ProbedProfile, namespace, image, shell string) error
*
- Attach will attach to a pod based on input from the user
func (*RemoteExplorer) DeferDeletePod ¶
func (e *RemoteExplorer) DeferDeletePod(name, namespace string)
func (*RemoteExplorer) Probe ¶
func (e *RemoteExplorer) Probe() (*ProbedProfile, error)
*
- Probe is what is used to determine what privileges we can
- run with.
Click to show internal directories.
Click to hide internal directories.