Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnector ¶
func NewConnector() *connector
NewConnector returns new implementation of Connector
Types ¶
type ConnectionContext ¶
type ConnectionContext struct { KubeContext Namespace string }
type Connector ¶
type Connector interface {
Connect(clientGetter genericclioptions.RESTClientGetter) (kubernetes.Interface, string, error)
}
type Deleter ¶
func NewDeleter ¶
func NewDeleter(clientSet kubernetes.Interface) Deleter
NewDeleter returns new implementation of Deleter
type EventHandler ¶
type Getter ¶
type Getter interface { GetPod(podName, namespace string, ctx context.Context) (*apiv1.Pod, error) GetProfilingPod(cfg *config.ProfilerConfig, ctx context.Context) (*apiv1.Pod, error) GetPodLogs(pod *apiv1.Pod, handler EventHandler, ctx context.Context) (chan bool, chan result.File, error) GetRemoteFile(pod *apiv1.Pod, remoteFile result.File, localFileName string, compressor compressor.Type) (string, error) }
func NewGetter ¶
func NewGetter(kubeContext KubeContext) Getter
NewGetter returns new implementation of Getter
type JobCreator ¶
type JobCreator struct {
// contains filtered or unexported fields
}
func NewJobCreator ¶
func NewJobCreator(clientSet kubernetes.Interface) *JobCreator
NewJobCreator returns new implementation of Creator
func (JobCreator) CreateProfilingJob ¶
type KubeContext ¶
type KubeContext struct { ClientSet kubernetes.Interface RestConfig *rest.Config }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.