package v14

import "gvisor.dev/gvisor/pkg/shim/v1/runtimeoptions/v14"

Package v14 contains the runtimeoptions proto for containerd 1.4 and earlier. The package for runtimeoptions proto changed from "cri.runtimeoptions.v1" to "runtimeoptions.v1" in 1.5, So keep both versions until 1.4 doesn't need to be supported anymore.

Index

Variables

var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)

Types

type Options

type Options struct {
	// TypeUrl specifies the type of the content inside the config file.
	TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	// ConfigPath specifies the filesystem location of the config file
	// used by the runtime.
	ConfigPath string `protobuf:"bytes,2,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
}

func (*Options) Descriptor

func (*Options) Descriptor() ([]byte, []int)

func (*Options) GetConfigPath

func (m *Options) GetConfigPath() string

func (*Options) GetTypeUrl

func (m *Options) GetTypeUrl() string

func (*Options) Marshal

func (m *Options) Marshal() (dAtA []byte, err error)

func (*Options) MarshalTo

func (m *Options) MarshalTo(dAtA []byte) (int, error)

func (*Options) ProtoMessage

func (*Options) ProtoMessage()

func (*Options) Reset

func (m *Options) Reset()

func (*Options) Size

func (m *Options) Size() (n int)

func (*Options) String

func (this *Options) String() string

func (*Options) Unmarshal

func (m *Options) Unmarshal(dAtA []byte) error

Source Files

runtimeoptions.go runtimeoptions_cri.go

Version
v0.0.0-20250605235530-a6711d1e1dc6 (latest)
Published
Jun 5, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
5 hours ago

Tools for package owners.