Documentation ¶
Index ¶
- type SampleRuntime
- func (r *SampleRuntime) Arch() string
- func (r *SampleRuntime) Attach(ctx context.Context, podUID, container string, stdin io.Reader, ...) (doResize types.ResizeHandleFunc, errCh <-chan *aranyagopb.ErrorMsg, err error)
- func (r *SampleRuntime) DeleteImages(ctx context.Context, options *runtimepb.ImageDeleteCmd) (*runtimepb.ImageStatusListMsg, error)
- func (r *SampleRuntime) DeletePod(ctx context.Context, options *runtimepb.PodDeleteCmd) (*runtimepb.PodStatusMsg, error)
- func (r *SampleRuntime) EnsureImages(ctx context.Context, options *runtimepb.ImageEnsureCmd) (*runtimepb.ImageStatusListMsg, error)
- func (r *SampleRuntime) EnsurePod(ctx context.Context, options *runtimepb.PodEnsureCmd) (*runtimepb.PodStatusMsg, error)
- func (r *SampleRuntime) Exec(_ context.Context, podUID, container string, stdin io.Reader, ...) (doResize types.ResizeHandleFunc, errCh <-chan *aranyagopb.ErrorMsg, err error)
- func (r *SampleRuntime) KernelVersion() string
- func (r *SampleRuntime) ListImages(ctx context.Context, options *runtimepb.ImageListCmd) (*runtimepb.ImageStatusListMsg, error)
- func (r *SampleRuntime) ListPods(ctx context.Context, options *runtimepb.PodListCmd) (*runtimepb.PodStatusListMsg, error)
- func (r *SampleRuntime) Logs(ctx context.Context, options *aranyagopb.LogsCmd, stdout, stderr io.Writer) error
- func (r *SampleRuntime) Name() string
- func (r *SampleRuntime) OS() string
- func (r *SampleRuntime) OSImage() string
- func (r *SampleRuntime) PortForward(ctx context.Context, podUID string, protocol string, port int32, ...) (downstream io.ReadCloser, closeWrite func(), readErrCh <-chan error, err error)
- func (r *SampleRuntime) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SampleRuntime ¶
type SampleRuntime struct{}
func (*SampleRuntime) Arch ¶
func (r *SampleRuntime) Arch() string
func (*SampleRuntime) Attach ¶
func (r *SampleRuntime) Attach( ctx context.Context, podUID, container string, stdin io.Reader, stdout, stderr io.Writer, ) ( doResize types.ResizeHandleFunc, errCh <-chan *aranyagopb.ErrorMsg, err error, )
func (*SampleRuntime) DeleteImages ¶
func (r *SampleRuntime) DeleteImages( ctx context.Context, options *runtimepb.ImageDeleteCmd, ) (*runtimepb.ImageStatusListMsg, error)
func (*SampleRuntime) DeletePod ¶
func (r *SampleRuntime) DeletePod( ctx context.Context, options *runtimepb.PodDeleteCmd, ) (*runtimepb.PodStatusMsg, error)
func (*SampleRuntime) EnsureImages ¶
func (r *SampleRuntime) EnsureImages( ctx context.Context, options *runtimepb.ImageEnsureCmd, ) (*runtimepb.ImageStatusListMsg, error)
func (*SampleRuntime) EnsurePod ¶
func (r *SampleRuntime) EnsurePod( ctx context.Context, options *runtimepb.PodEnsureCmd, ) (*runtimepb.PodStatusMsg, error)
func (*SampleRuntime) Exec ¶
func (r *SampleRuntime) Exec( _ context.Context, podUID, container string, stdin io.Reader, stdout, stderr io.Writer, command []string, tty bool, ) ( doResize types.ResizeHandleFunc, errCh <-chan *aranyagopb.ErrorMsg, err error, )
func (*SampleRuntime) KernelVersion ¶
func (r *SampleRuntime) KernelVersion() string
func (*SampleRuntime) ListImages ¶
func (r *SampleRuntime) ListImages( ctx context.Context, options *runtimepb.ImageListCmd, ) (*runtimepb.ImageStatusListMsg, error)
func (*SampleRuntime) ListPods ¶
func (r *SampleRuntime) ListPods( ctx context.Context, options *runtimepb.PodListCmd, ) (*runtimepb.PodStatusListMsg, error)
func (*SampleRuntime) Logs ¶
func (r *SampleRuntime) Logs( ctx context.Context, options *aranyagopb.LogsCmd, stdout, stderr io.Writer, ) error
func (*SampleRuntime) Name ¶
func (r *SampleRuntime) Name() string
func (*SampleRuntime) OS ¶
func (r *SampleRuntime) OS() string
func (*SampleRuntime) OSImage ¶
func (r *SampleRuntime) OSImage() string
func (*SampleRuntime) PortForward ¶
func (*SampleRuntime) Version ¶
func (r *SampleRuntime) Version() string
Click to show internal directories.
Click to hide internal directories.