grpc

package
v0.0.0-...-8879e3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 8

Documentation

Overview

Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: agent.proto

Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: health.proto

Index

Constants

View Source
const APIVersion = "0.0.1"

APIVersion specifies the version of the gRPC communications protocol used by Kata Containers.

Variables

View Source
var (
	VolumeUsage_Unit_name = map[int32]string{
		0: "UNKNOWN",
		1: "BYTES",
		2: "INODES",
	}
	VolumeUsage_Unit_value = map[string]int32{
		"UNKNOWN": 0,
		"BYTES":   1,
		"INODES":  2,
	}
)

Enum value maps for VolumeUsage_Unit.

View Source
var (
	HealthCheckResponse_ServingStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "SERVING",
		2: "NOT_SERVING",
	}
	HealthCheckResponse_ServingStatus_value = map[string]int32{
		"UNKNOWN":     0,
		"SERVING":     1,
		"NOT_SERVING": 2,
	}
)

Enum value maps for HealthCheckResponse_ServingStatus.

View Source
var File_agent_proto protoreflect.FileDescriptor
View Source
var File_health_proto protoreflect.FileDescriptor

Functions

func ProcessGRPCtoOCI

func ProcessGRPCtoOCI(grpcProcess *Process) (*specs.Process, error)

ProcessGRPCtoOCI converts a gRPC specification back into an OCI representation

func RegisterAgentServiceService

func RegisterAgentServiceService(srv *ttrpc.Server, svc AgentServiceService)

func RegisterHealthService

func RegisterHealthService(srv *ttrpc.Server, svc HealthService)

func ResourcesGRPCtoOCI

func ResourcesGRPCtoOCI(grpcResources *LinuxResources) (*specs.LinuxResources, error)

ResourcesGRPCtoOCI converts an gRPC LinuxResources specification into its OCI representation

Types

type ARPNeighbors

type ARPNeighbors struct {
	ARPNeighbors []*protocols.ARPNeighbor `protobuf:"bytes,1,rep,name=ARPNeighbors,proto3" json:"ARPNeighbors,omitempty"`
	// contains filtered or unexported fields
}

func (*ARPNeighbors) Descriptor deprecated

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

Deprecated: Use ARPNeighbors.ProtoReflect.Descriptor instead.

func (*ARPNeighbors) GetARPNeighbors

func (x *ARPNeighbors) GetARPNeighbors() []*protocols.ARPNeighbor

func (*ARPNeighbors) ProtoMessage

func (*ARPNeighbors) ProtoMessage()

func (*ARPNeighbors) ProtoReflect

func (x *ARPNeighbors) ProtoReflect() protoreflect.Message

func (*ARPNeighbors) Reset

func (x *ARPNeighbors) Reset()

func (*ARPNeighbors) String

func (x *ARPNeighbors) String() string

type AddARPNeighborsRequest

type AddARPNeighborsRequest struct {
	Neighbors *ARPNeighbors `protobuf:"bytes,1,opt,name=neighbors,proto3" json:"neighbors,omitempty"`
	// contains filtered or unexported fields
}

func (*AddARPNeighborsRequest) Descriptor deprecated

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

Deprecated: Use AddARPNeighborsRequest.ProtoReflect.Descriptor instead.

func (*AddARPNeighborsRequest) GetNeighbors

func (x *AddARPNeighborsRequest) GetNeighbors() *ARPNeighbors

func (*AddARPNeighborsRequest) ProtoMessage

func (*AddARPNeighborsRequest) ProtoMessage()

func (*AddARPNeighborsRequest) ProtoReflect

func (x *AddARPNeighborsRequest) ProtoReflect() protoreflect.Message

func (*AddARPNeighborsRequest) Reset

func (x *AddARPNeighborsRequest) Reset()

func (*AddARPNeighborsRequest) String

func (x *AddARPNeighborsRequest) String() string

type AddSwapRequest

type AddSwapRequest struct {
	PCIPath []uint32 `protobuf:"varint,1,rep,packed,name=PCIPath,proto3" json:"PCIPath,omitempty"`
	// contains filtered or unexported fields
}

func (*AddSwapRequest) Descriptor deprecated

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

Deprecated: Use AddSwapRequest.ProtoReflect.Descriptor instead.

func (*AddSwapRequest) GetPCIPath

func (x *AddSwapRequest) GetPCIPath() []uint32

func (*AddSwapRequest) ProtoMessage

func (*AddSwapRequest) ProtoMessage()

func (*AddSwapRequest) ProtoReflect

func (x *AddSwapRequest) ProtoReflect() protoreflect.Message

func (*AddSwapRequest) Reset

func (x *AddSwapRequest) Reset()

func (*AddSwapRequest) String

func (x *AddSwapRequest) String() string

type AgentDetails

type AgentDetails struct {

	// Semantic version of agent (see https://semver.org).
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Set if the agent is running as PID 1.
	InitDaemon bool `protobuf:"varint,2,opt,name=init_daemon,json=initDaemon,proto3" json:"init_daemon,omitempty"`
	// List of available device handlers.
	DeviceHandlers []string `protobuf:"bytes,3,rep,name=device_handlers,json=deviceHandlers,proto3" json:"device_handlers,omitempty"`
	// List of available storage handlers.
	StorageHandlers []string `protobuf:"bytes,4,rep,name=storage_handlers,json=storageHandlers,proto3" json:"storage_handlers,omitempty"`
	// Set only if the agent is built with seccomp support and the guest
	// environment supports seccomp.
	SupportsSeccomp bool `protobuf:"varint,5,opt,name=supports_seccomp,json=supportsSeccomp,proto3" json:"supports_seccomp,omitempty"`
	// contains filtered or unexported fields
}

AgentDetails provides information to the client about the running agent.

func (*AgentDetails) Descriptor deprecated

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

Deprecated: Use AgentDetails.ProtoReflect.Descriptor instead.

func (*AgentDetails) GetDeviceHandlers

func (x *AgentDetails) GetDeviceHandlers() []string

func (*AgentDetails) GetInitDaemon

func (x *AgentDetails) GetInitDaemon() bool

func (*AgentDetails) GetStorageHandlers

func (x *AgentDetails) GetStorageHandlers() []string

func (*AgentDetails) GetSupportsSeccomp

func (x *AgentDetails) GetSupportsSeccomp() bool

func (*AgentDetails) GetVersion

func (x *AgentDetails) GetVersion() string

func (*AgentDetails) ProtoMessage

func (*AgentDetails) ProtoMessage()

func (*AgentDetails) ProtoReflect

func (x *AgentDetails) ProtoReflect() protoreflect.Message

func (*AgentDetails) Reset

func (x *AgentDetails) Reset()

func (*AgentDetails) String

func (x *AgentDetails) String() string

type AgentServiceService

type AgentServiceService interface {
	CreateContainer(context.Context, *CreateContainerRequest) (*emptypb.Empty, error)
	StartContainer(context.Context, *StartContainerRequest) (*emptypb.Empty, error)
	RemoveContainer(context.Context, *RemoveContainerRequest) (*emptypb.Empty, error)
	ExecProcess(context.Context, *ExecProcessRequest) (*emptypb.Empty, error)
	SignalProcess(context.Context, *SignalProcessRequest) (*emptypb.Empty, error)
	WaitProcess(context.Context, *WaitProcessRequest) (*WaitProcessResponse, error)
	UpdateContainer(context.Context, *UpdateContainerRequest) (*emptypb.Empty, error)
	UpdateEphemeralMounts(context.Context, *UpdateEphemeralMountsRequest) (*emptypb.Empty, error)
	StatsContainer(context.Context, *StatsContainerRequest) (*StatsContainerResponse, error)
	PauseContainer(context.Context, *PauseContainerRequest) (*emptypb.Empty, error)
	ResumeContainer(context.Context, *ResumeContainerRequest) (*emptypb.Empty, error)
	RemoveStaleVirtiofsShareMounts(context.Context, *RemoveStaleVirtiofsShareMountsRequest) (*emptypb.Empty, error)
	WriteStdin(context.Context, *WriteStreamRequest) (*WriteStreamResponse, error)
	ReadStdout(context.Context, *ReadStreamRequest) (*ReadStreamResponse, error)
	ReadStderr(context.Context, *ReadStreamRequest) (*ReadStreamResponse, error)
	CloseStdin(context.Context, *CloseStdinRequest) (*emptypb.Empty, error)
	TtyWinResize(context.Context, *TtyWinResizeRequest) (*emptypb.Empty, error)
	UpdateInterface(context.Context, *UpdateInterfaceRequest) (*protocols.Interface, error)
	UpdateRoutes(context.Context, *UpdateRoutesRequest) (*Routes, error)
	ListInterfaces(context.Context, *ListInterfacesRequest) (*Interfaces, error)
	ListRoutes(context.Context, *ListRoutesRequest) (*Routes, error)
	AddARPNeighbors(context.Context, *AddARPNeighborsRequest) (*emptypb.Empty, error)
	GetIPTables(context.Context, *GetIPTablesRequest) (*GetIPTablesResponse, error)
	SetIPTables(context.Context, *SetIPTablesRequest) (*SetIPTablesResponse, error)
	GetMetrics(context.Context, *GetMetricsRequest) (*Metrics, error)
	CreateSandbox(context.Context, *CreateSandboxRequest) (*emptypb.Empty, error)
	DestroySandbox(context.Context, *DestroySandboxRequest) (*emptypb.Empty, error)
	OnlineCPUMem(context.Context, *OnlineCPUMemRequest) (*emptypb.Empty, error)
	ReseedRandomDev(context.Context, *ReseedRandomDevRequest) (*emptypb.Empty, error)
	GetGuestDetails(context.Context, *GuestDetailsRequest) (*GuestDetailsResponse, error)
	MemHotplugByProbe(context.Context, *MemHotplugByProbeRequest) (*emptypb.Empty, error)
	SetGuestDateTime(context.Context, *SetGuestDateTimeRequest) (*emptypb.Empty, error)
	CopyFile(context.Context, *CopyFileRequest) (*emptypb.Empty, error)
	GetOOMEvent(context.Context, *GetOOMEventRequest) (*OOMEvent, error)
	AddSwap(context.Context, *AddSwapRequest) (*emptypb.Empty, error)
	GetVolumeStats(context.Context, *VolumeStatsRequest) (*VolumeStatsResponse, error)
	ResizeVolume(context.Context, *ResizeVolumeRequest) (*emptypb.Empty, error)
	SetPolicy(context.Context, *SetPolicyRequest) (*emptypb.Empty, error)
}

func NewAgentServiceClient

func NewAgentServiceClient(client *ttrpc.Client) AgentServiceService

type BlkioStats

type BlkioStats struct {
	IoServiceBytesRecursive []*BlkioStatsEntry `` // number of bytes transferred to and from the block device
	/* 134-byte string literal not displayed */
	IoServicedRecursive    []*BlkioStatsEntry `protobuf:"bytes,2,rep,name=io_serviced_recursive,json=ioServicedRecursive,proto3" json:"io_serviced_recursive,omitempty"`
	IoQueuedRecursive      []*BlkioStatsEntry `protobuf:"bytes,3,rep,name=io_queued_recursive,json=ioQueuedRecursive,proto3" json:"io_queued_recursive,omitempty"`
	IoServiceTimeRecursive []*BlkioStatsEntry `` /* 131-byte string literal not displayed */
	IoWaitTimeRecursive    []*BlkioStatsEntry `protobuf:"bytes,5,rep,name=io_wait_time_recursive,json=ioWaitTimeRecursive,proto3" json:"io_wait_time_recursive,omitempty"`
	IoMergedRecursive      []*BlkioStatsEntry `protobuf:"bytes,6,rep,name=io_merged_recursive,json=ioMergedRecursive,proto3" json:"io_merged_recursive,omitempty"`
	IoTimeRecursive        []*BlkioStatsEntry `protobuf:"bytes,7,rep,name=io_time_recursive,json=ioTimeRecursive,proto3" json:"io_time_recursive,omitempty"`
	SectorsRecursive       []*BlkioStatsEntry `protobuf:"bytes,8,rep,name=sectors_recursive,json=sectorsRecursive,proto3" json:"sectors_recursive,omitempty"`
	// contains filtered or unexported fields
}

func (*BlkioStats) Descriptor deprecated

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

Deprecated: Use BlkioStats.ProtoReflect.Descriptor instead.

func (*BlkioStats) GetIoMergedRecursive

func (x *BlkioStats) GetIoMergedRecursive() []*BlkioStatsEntry

func (*BlkioStats) GetIoQueuedRecursive

func (x *BlkioStats) GetIoQueuedRecursive() []*BlkioStatsEntry

func (*BlkioStats) GetIoServiceBytesRecursive

func (x *BlkioStats) GetIoServiceBytesRecursive() []*BlkioStatsEntry

func (*BlkioStats) GetIoServiceTimeRecursive

func (x *BlkioStats) GetIoServiceTimeRecursive() []*BlkioStatsEntry

func (*BlkioStats) GetIoServicedRecursive

func (x *BlkioStats) GetIoServicedRecursive() []*BlkioStatsEntry

func (*BlkioStats) GetIoTimeRecursive

func (x *BlkioStats) GetIoTimeRecursive() []*BlkioStatsEntry

func (*BlkioStats) GetIoWaitTimeRecursive

func (x *BlkioStats) GetIoWaitTimeRecursive() []*BlkioStatsEntry

func (*BlkioStats) GetSectorsRecursive

func (x *BlkioStats) GetSectorsRecursive() []*BlkioStatsEntry

func (*BlkioStats) ProtoMessage

func (*BlkioStats) ProtoMessage()

func (*BlkioStats) ProtoReflect

func (x *BlkioStats) ProtoReflect() protoreflect.Message

func (*BlkioStats) Reset

func (x *BlkioStats) Reset()

func (*BlkioStats) String

func (x *BlkioStats) String() string

type BlkioStatsEntry

type BlkioStatsEntry struct {
	Major uint64 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
	Minor uint64 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	Op    string `protobuf:"bytes,3,opt,name=op,proto3" json:"op,omitempty"`
	Value uint64 `protobuf:"varint,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*BlkioStatsEntry) Descriptor deprecated

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

Deprecated: Use BlkioStatsEntry.ProtoReflect.Descriptor instead.

func (*BlkioStatsEntry) GetMajor

func (x *BlkioStatsEntry) GetMajor() uint64

func (*BlkioStatsEntry) GetMinor

func (x *BlkioStatsEntry) GetMinor() uint64

func (*BlkioStatsEntry) GetOp

func (x *BlkioStatsEntry) GetOp() string

func (*BlkioStatsEntry) GetValue

func (x *BlkioStatsEntry) GetValue() uint64

func (*BlkioStatsEntry) ProtoMessage

func (*BlkioStatsEntry) ProtoMessage()

func (*BlkioStatsEntry) ProtoReflect

func (x *BlkioStatsEntry) ProtoReflect() protoreflect.Message

func (*BlkioStatsEntry) Reset

func (x *BlkioStatsEntry) Reset()

func (*BlkioStatsEntry) String

func (x *BlkioStatsEntry) String() string

type Box

type Box struct {

	// Height is the vertical dimension of a box.
	Height uint32 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
	// Width is the horizontal dimension of a box.
	Width uint32 `protobuf:"varint,2,opt,name=Width,proto3" json:"Width,omitempty"`
	// contains filtered or unexported fields
}

func (*Box) Descriptor deprecated

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

Deprecated: Use Box.ProtoReflect.Descriptor instead.

func (*Box) GetHeight

func (x *Box) GetHeight() uint32

func (*Box) GetWidth

func (x *Box) GetWidth() uint32

func (*Box) ProtoMessage

func (*Box) ProtoMessage()

func (*Box) ProtoReflect

func (x *Box) ProtoReflect() protoreflect.Message

func (*Box) Reset

func (x *Box) Reset()

func (*Box) String

func (x *Box) String() string

type CgroupStats

type CgroupStats struct {
	CpuStats     *CpuStats                `protobuf:"bytes,1,opt,name=cpu_stats,json=cpuStats,proto3" json:"cpu_stats,omitempty"`
	MemoryStats  *MemoryStats             `protobuf:"bytes,2,opt,name=memory_stats,json=memoryStats,proto3" json:"memory_stats,omitempty"`
	PidsStats    *PidsStats               `protobuf:"bytes,3,opt,name=pids_stats,json=pidsStats,proto3" json:"pids_stats,omitempty"`
	BlkioStats   *BlkioStats              `protobuf:"bytes,4,opt,name=blkio_stats,json=blkioStats,proto3" json:"blkio_stats,omitempty"`
	HugetlbStats map[string]*HugetlbStats `` // the map is in the format "size of hugepage: stats of the hugepage"
	/* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CgroupStats) Descriptor deprecated

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

Deprecated: Use CgroupStats.ProtoReflect.Descriptor instead.

func (*CgroupStats) GetBlkioStats

func (x *CgroupStats) GetBlkioStats() *BlkioStats

func (*CgroupStats) GetCpuStats

func (x *CgroupStats) GetCpuStats() *CpuStats

func (*CgroupStats) GetHugetlbStats

func (x *CgroupStats) GetHugetlbStats() map[string]*HugetlbStats

func (*CgroupStats) GetMemoryStats

func (x *CgroupStats) GetMemoryStats() *MemoryStats

func (*CgroupStats) GetPidsStats

func (x *CgroupStats) GetPidsStats() *PidsStats

func (*CgroupStats) ProtoMessage

func (*CgroupStats) ProtoMessage()

func (*CgroupStats) ProtoReflect

func (x *CgroupStats) ProtoReflect() protoreflect.Message

func (*CgroupStats) Reset

func (x *CgroupStats) Reset()

func (*CgroupStats) String

func (x *CgroupStats) String() string

type CheckRequest

type CheckRequest struct {
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRequest) Descriptor deprecated

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

Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.

func (*CheckRequest) GetService

func (x *CheckRequest) GetService() string

func (*CheckRequest) ProtoMessage

func (*CheckRequest) ProtoMessage()

func (*CheckRequest) ProtoReflect

func (x *CheckRequest) ProtoReflect() protoreflect.Message

func (*CheckRequest) Reset

func (x *CheckRequest) Reset()

func (*CheckRequest) String

func (x *CheckRequest) String() string

type CloseStdinRequest

type CloseStdinRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	ExecId      string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseStdinRequest) Descriptor deprecated

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

Deprecated: Use CloseStdinRequest.ProtoReflect.Descriptor instead.

func (*CloseStdinRequest) GetContainerId

func (x *CloseStdinRequest) GetContainerId() string

func (*CloseStdinRequest) GetExecId

func (x *CloseStdinRequest) GetExecId() string

func (*CloseStdinRequest) ProtoMessage

func (*CloseStdinRequest) ProtoMessage()

func (*CloseStdinRequest) ProtoReflect

func (x *CloseStdinRequest) ProtoReflect() protoreflect.Message

func (*CloseStdinRequest) Reset

func (x *CloseStdinRequest) Reset()

func (*CloseStdinRequest) String

func (x *CloseStdinRequest) String() string

type CopyFileRequest

type CopyFileRequest struct {

	// Path is the destination file in the guest. It must be absolute,
	// canonical and below /run.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// FileSize is the expected file size, for security reasons write operations
	// are made in a temporary file, once it has the expected size, it's moved
	// to the destination path.
	FileSize int64 `protobuf:"varint,2,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	// FileMode is the file mode.
	FileMode uint32 `protobuf:"varint,3,opt,name=file_mode,json=fileMode,proto3" json:"file_mode,omitempty"`
	// DirMode is the mode for the parent directories of destination path.
	DirMode uint32 `protobuf:"varint,4,opt,name=dir_mode,json=dirMode,proto3" json:"dir_mode,omitempty"`
	// Uid is the numeric user id.
	Uid int32 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"`
	// Gid is the numeric group id.
	Gid int32 `protobuf:"varint,6,opt,name=gid,proto3" json:"gid,omitempty"`
	// Offset for the next write operation.
	Offset int64 `protobuf:"varint,7,opt,name=offset,proto3" json:"offset,omitempty"`
	// Data to write in the destination file.
	Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CopyFileRequest) Descriptor deprecated

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

Deprecated: Use CopyFileRequest.ProtoReflect.Descriptor instead.

func (*CopyFileRequest) GetData

func (x *CopyFileRequest) GetData() []byte

func (*CopyFileRequest) GetDirMode

func (x *CopyFileRequest) GetDirMode() uint32

func (*CopyFileRequest) GetFileMode

func (x *CopyFileRequest) GetFileMode() uint32

func (*CopyFileRequest) GetFileSize

func (x *CopyFileRequest) GetFileSize() int64

func (*CopyFileRequest) GetGid

func (x *CopyFileRequest) GetGid() int32

func (*CopyFileRequest) GetOffset

func (x *CopyFileRequest) GetOffset() int64

func (*CopyFileRequest) GetPath

func (x *CopyFileRequest) GetPath() string

func (*CopyFileRequest) GetUid

func (x *CopyFileRequest) GetUid() int32

func (*CopyFileRequest) ProtoMessage

func (*CopyFileRequest) ProtoMessage()

func (*CopyFileRequest) ProtoReflect

func (x *CopyFileRequest) ProtoReflect() protoreflect.Message

func (*CopyFileRequest) Reset

func (x *CopyFileRequest) Reset()

func (*CopyFileRequest) String

func (x *CopyFileRequest) String() string

type CpuStats

type CpuStats struct {
	CpuUsage       *CpuUsage       `protobuf:"bytes,1,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"`
	ThrottlingData *ThrottlingData `protobuf:"bytes,2,opt,name=throttling_data,json=throttlingData,proto3" json:"throttling_data,omitempty"`
	// contains filtered or unexported fields
}

func (*CpuStats) Descriptor deprecated

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

Deprecated: Use CpuStats.ProtoReflect.Descriptor instead.

func (*CpuStats) GetCpuUsage

func (x *CpuStats) GetCpuUsage() *CpuUsage

func (*CpuStats) GetThrottlingData

func (x *CpuStats) GetThrottlingData() *ThrottlingData

func (*CpuStats) ProtoMessage

func (*CpuStats) ProtoMessage()

func (*CpuStats) ProtoReflect

func (x *CpuStats) ProtoReflect() protoreflect.Message

func (*CpuStats) Reset

func (x *CpuStats) Reset()

func (*CpuStats) String

func (x *CpuStats) String() string

type CpuUsage

type CpuUsage struct {
	TotalUsage        uint64   `protobuf:"varint,1,opt,name=total_usage,json=totalUsage,proto3" json:"total_usage,omitempty"`
	PercpuUsage       []uint64 `protobuf:"varint,2,rep,packed,name=percpu_usage,json=percpuUsage,proto3" json:"percpu_usage,omitempty"`
	UsageInKernelmode uint64   `protobuf:"varint,3,opt,name=usage_in_kernelmode,json=usageInKernelmode,proto3" json:"usage_in_kernelmode,omitempty"`
	UsageInUsermode   uint64   `protobuf:"varint,4,opt,name=usage_in_usermode,json=usageInUsermode,proto3" json:"usage_in_usermode,omitempty"`
	// contains filtered or unexported fields
}

func (*CpuUsage) Descriptor deprecated

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

Deprecated: Use CpuUsage.ProtoReflect.Descriptor instead.

func (*CpuUsage) GetPercpuUsage

func (x *CpuUsage) GetPercpuUsage() []uint64

func (*CpuUsage) GetTotalUsage

func (x *CpuUsage) GetTotalUsage() uint64

func (*CpuUsage) GetUsageInKernelmode

func (x *CpuUsage) GetUsageInKernelmode() uint64

func (*CpuUsage) GetUsageInUsermode

func (x *CpuUsage) GetUsageInUsermode() uint64

func (*CpuUsage) ProtoMessage

func (*CpuUsage) ProtoMessage()

func (*CpuUsage) ProtoReflect

func (x *CpuUsage) ProtoReflect() protoreflect.Message

func (*CpuUsage) Reset

func (x *CpuUsage) Reset()

func (*CpuUsage) String

func (x *CpuUsage) String() string

type CreateContainerRequest

type CreateContainerRequest struct {
	ContainerId string      `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	ExecId      string      `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	StringUser  *StringUser `protobuf:"bytes,3,opt,name=string_user,json=stringUser,proto3" json:"string_user,omitempty"`
	Devices     []*Device   `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
	Storages    []*Storage  `protobuf:"bytes,5,rep,name=storages,proto3" json:"storages,omitempty"`
	OCI         *Spec       `protobuf:"bytes,6,opt,name=OCI,proto3" json:"OCI,omitempty"`
	// This field is used to indicate if the container needs to join
	// sandbox shared pid ns or create a new namespace. This field is
	// meant to override the NEWPID config settings in the OCI spec.
	// The agent would receive an OCI spec with PID namespace cleared
	// out altogether and not just the pid ns path.
	SandboxPidns bool `protobuf:"varint,7,opt,name=sandbox_pidns,json=sandboxPidns,proto3" json:"sandbox_pidns,omitempty"`
	// This field is used to declare a set of shared mount points
	// that support cross-container sharing of mount objects.
	SharedMounts []*SharedMount `protobuf:"bytes,8,rep,name=shared_mounts,json=sharedMounts,proto3" json:"shared_mounts,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateContainerRequest) Descriptor deprecated

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

Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.

func (*CreateContainerRequest) GetContainerId

func (x *CreateContainerRequest) GetContainerId() string

func (*CreateContainerRequest) GetDevices

func (x *CreateContainerRequest) GetDevices() []*Device

func (*CreateContainerRequest) GetExecId

func (x *CreateContainerRequest) GetExecId() string

func (*CreateContainerRequest) GetOCI

func (x *CreateContainerRequest) GetOCI() *Spec

func (*CreateContainerRequest) GetSandboxPidns

func (x *CreateContainerRequest) GetSandboxPidns() bool

func (*CreateContainerRequest) GetSharedMounts

func (x *CreateContainerRequest) GetSharedMounts() []*SharedMount

func (*CreateContainerRequest) GetStorages

func (x *CreateContainerRequest) GetStorages() []*Storage

func (*CreateContainerRequest) GetStringUser

func (x *CreateContainerRequest) GetStringUser() *StringUser

func (*CreateContainerRequest) ProtoMessage

func (*CreateContainerRequest) ProtoMessage()

func (*CreateContainerRequest) ProtoReflect

func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message

func (*CreateContainerRequest) Reset

func (x *CreateContainerRequest) Reset()

func (*CreateContainerRequest) String

func (x *CreateContainerRequest) String() string

type CreateSandboxRequest

type CreateSandboxRequest struct {
	Hostname string     `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Dns      []string   `protobuf:"bytes,2,rep,name=dns,proto3" json:"dns,omitempty"`
	Storages []*Storage `protobuf:"bytes,3,rep,name=storages,proto3" json:"storages,omitempty"`
	// This field means that a pause process needs to be created by the
	// agent. This pid namespace of the pause process will be treated as
	// a shared pid namespace. All containers created will join this shared
	// pid namespace.
	SandboxPidns bool `protobuf:"varint,4,opt,name=sandbox_pidns,json=sandboxPidns,proto3" json:"sandbox_pidns,omitempty"`
	// SandboxId identifies which sandbox is using the agent. We allow only
	// one sandbox per agent and implicitly require that CreateSandbox is
	// called before other sandbox/network calls.
	SandboxId string `protobuf:"bytes,5,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	// This field, if non-empty, designates an absolute path to a directory
	// that the agent will search for OCI hooks to run within the guest.
	GuestHookPath string `protobuf:"bytes,6,opt,name=guest_hook_path,json=guestHookPath,proto3" json:"guest_hook_path,omitempty"`
	// This field is the list of kernel modules to be loaded in the guest kernel.
	KernelModules []*KernelModule `protobuf:"bytes,7,rep,name=kernel_modules,json=kernelModules,proto3" json:"kernel_modules,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSandboxRequest) Descriptor deprecated

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

Deprecated: Use CreateSandboxRequest.ProtoReflect.Descriptor instead.

func (*CreateSandboxRequest) GetDns

func (x *CreateSandboxRequest) GetDns() []string

func (*CreateSandboxRequest) GetGuestHookPath

func (x *CreateSandboxRequest) GetGuestHookPath() string

func (*CreateSandboxRequest) GetHostname

func (x *CreateSandboxRequest) GetHostname() string

func (*CreateSandboxRequest) GetKernelModules

func (x *CreateSandboxRequest) GetKernelModules() []*KernelModule

func (*CreateSandboxRequest) GetSandboxId

func (x *CreateSandboxRequest) GetSandboxId() string

func (*CreateSandboxRequest) GetSandboxPidns

func (x *CreateSandboxRequest) GetSandboxPidns() bool

func (*CreateSandboxRequest) GetStorages

func (x *CreateSandboxRequest) GetStorages() []*Storage

func (*CreateSandboxRequest) ProtoMessage

func (*CreateSandboxRequest) ProtoMessage()

func (*CreateSandboxRequest) ProtoReflect

func (x *CreateSandboxRequest) ProtoReflect() protoreflect.Message

func (*CreateSandboxRequest) Reset

func (x *CreateSandboxRequest) Reset()

func (*CreateSandboxRequest) String

func (x *CreateSandboxRequest) String() string

type DestroySandboxRequest

type DestroySandboxRequest struct {
	// contains filtered or unexported fields
}

func (*DestroySandboxRequest) Descriptor deprecated

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

Deprecated: Use DestroySandboxRequest.ProtoReflect.Descriptor instead.

func (*DestroySandboxRequest) ProtoMessage

func (*DestroySandboxRequest) ProtoMessage()

func (*DestroySandboxRequest) ProtoReflect

func (x *DestroySandboxRequest) ProtoReflect() protoreflect.Message

func (*DestroySandboxRequest) Reset

func (x *DestroySandboxRequest) Reset()

func (*DestroySandboxRequest) String

func (x *DestroySandboxRequest) String() string

type Device

type Device struct {

	// Id can be used to identify the device inside the VM. Some devices
	// might not need it to be identified on the VM, and will rely on the
	// provided VmPath instead.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Type defines the type of device described. This can be "blk",
	// "scsi", "vfio", ...
	// Particularly, this should be used to trigger the use of the
	// appropriate device handler.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// VmPath can be used by the caller to provide directly the path of
	// the device as it will appear inside the VM. For some devices, the
	// device id or the list of options passed might not be enough to find
	// the device. In those cases, the caller should predict and provide
	// this vm_path.
	VmPath string `protobuf:"bytes,3,opt,name=vm_path,json=vmPath,proto3" json:"vm_path,omitempty"`
	// ContainerPath defines the path where the device should be found inside
	// the container. This path should match the path of the device from
	// the device list listed inside the OCI spec. This is used in order
	// to identify the right device in the spec and update it with the
	// right options such as major/minor numbers as they appear inside
	// the VM for instance. Note that an empty ctr_path should be used
	// to make sure the device handler inside the agent is called, but
	// no spec update needs to be performed. This has to happen for the
	// case of rootfs, when a device has to be waited for after it has
	// been hotplugged. An equivalent Storage entry should be defined if
	// any mount needs to be performed afterwards.
	ContainerPath string `protobuf:"bytes,4,opt,name=container_path,json=containerPath,proto3" json:"container_path,omitempty"`
	// Options allows the caller to define a list of options such as block
	// sizes, numbers of luns, ... which are very specific to every device
	// and cannot be generalized through extra fields.
	Options []string `protobuf:"bytes,5,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

Device represents only the devices that could have been defined through the Linux Device list of the OCI specification.

func (*Device) Descriptor deprecated

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetContainerPath

func (x *Device) GetContainerPath() string

func (*Device) GetId

func (x *Device) GetId() string

func (*Device) GetOptions

func (x *Device) GetOptions() []string

func (*Device) GetType

func (x *Device) GetType() string

func (*Device) GetVmPath

func (x *Device) GetVmPath() string

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

func (x *Device) ProtoReflect() protoreflect.Message

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type ExecProcessRequest

type ExecProcessRequest struct {
	ContainerId string      `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	ExecId      string      `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	StringUser  *StringUser `protobuf:"bytes,3,opt,name=string_user,json=stringUser,proto3" json:"string_user,omitempty"`
	Process     *Process    `protobuf:"bytes,4,opt,name=process,proto3" json:"process,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecProcessRequest) Descriptor deprecated

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

Deprecated: Use ExecProcessRequest.ProtoReflect.Descriptor instead.

func (*ExecProcessRequest) GetContainerId

func (x *ExecProcessRequest) GetContainerId() string

func (*ExecProcessRequest) GetExecId

func (x *ExecProcessRequest) GetExecId() string

func (*ExecProcessRequest) GetProcess

func (x *ExecProcessRequest) GetProcess() *Process

func (*ExecProcessRequest) GetStringUser

func (x *ExecProcessRequest) GetStringUser() *StringUser

func (*ExecProcessRequest) ProtoMessage

func (*ExecProcessRequest) ProtoMessage()

func (*ExecProcessRequest) ProtoReflect

func (x *ExecProcessRequest) ProtoReflect() protoreflect.Message

func (*ExecProcessRequest) Reset

func (x *ExecProcessRequest) Reset()

func (*ExecProcessRequest) String

func (x *ExecProcessRequest) String() string

type FSGroup

type FSGroup struct {

	// GroupID is the ID that the group ownership of the
	// files in the mounted volume will need to be changed to.
	GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// GroupChangePolicy specifies the policy for applying group id
	// ownership change on a mounted volume.
	GroupChangePolicy protocols.FSGroupChangePolicy `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

FSGroup consists of the group id and group ownership change policy that a volume should have its ownership changed to.

func (*FSGroup) Descriptor deprecated

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

Deprecated: Use FSGroup.ProtoReflect.Descriptor instead.

func (*FSGroup) GetGroupChangePolicy

func (x *FSGroup) GetGroupChangePolicy() protocols.FSGroupChangePolicy

func (*FSGroup) GetGroupId

func (x *FSGroup) GetGroupId() uint32

func (*FSGroup) ProtoMessage

func (*FSGroup) ProtoMessage()

func (*FSGroup) ProtoReflect

func (x *FSGroup) ProtoReflect() protoreflect.Message

func (*FSGroup) Reset

func (x *FSGroup) Reset()

func (*FSGroup) String

func (x *FSGroup) String() string

type GetIPTablesRequest

type GetIPTablesRequest struct {
	IsIpv6 bool `protobuf:"varint,1,opt,name=is_ipv6,json=isIpv6,proto3" json:"is_ipv6,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIPTablesRequest) Descriptor deprecated

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

Deprecated: Use GetIPTablesRequest.ProtoReflect.Descriptor instead.

func (*GetIPTablesRequest) GetIsIpv6

func (x *GetIPTablesRequest) GetIsIpv6() bool

func (*GetIPTablesRequest) ProtoMessage

func (*GetIPTablesRequest) ProtoMessage()

func (*GetIPTablesRequest) ProtoReflect

func (x *GetIPTablesRequest) ProtoReflect() protoreflect.Message

func (*GetIPTablesRequest) Reset

func (x *GetIPTablesRequest) Reset()

func (*GetIPTablesRequest) String

func (x *GetIPTablesRequest) String() string

type GetIPTablesResponse

type GetIPTablesResponse struct {

	// raw stdout from iptables-save or ip6tables-save
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIPTablesResponse) Descriptor deprecated

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

Deprecated: Use GetIPTablesResponse.ProtoReflect.Descriptor instead.

func (*GetIPTablesResponse) GetData

func (x *GetIPTablesResponse) GetData() []byte

func (*GetIPTablesResponse) ProtoMessage

func (*GetIPTablesResponse) ProtoMessage()

func (*GetIPTablesResponse) ProtoReflect

func (x *GetIPTablesResponse) ProtoReflect() protoreflect.Message

func (*GetIPTablesResponse) Reset

func (x *GetIPTablesResponse) Reset()

func (*GetIPTablesResponse) String

func (x *GetIPTablesResponse) String() string

type GetMetricsRequest

type GetMetricsRequest struct {
	// contains filtered or unexported fields
}

func (*GetMetricsRequest) Descriptor deprecated

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

Deprecated: Use GetMetricsRequest.ProtoReflect.Descriptor instead.

func (*GetMetricsRequest) ProtoMessage

func (*GetMetricsRequest) ProtoMessage()

func (*GetMetricsRequest) ProtoReflect

func (x *GetMetricsRequest) ProtoReflect() protoreflect.Message

func (*GetMetricsRequest) Reset

func (x *GetMetricsRequest) Reset()

func (*GetMetricsRequest) String

func (x *GetMetricsRequest) String() string

type GetOOMEventRequest

type GetOOMEventRequest struct {
	// contains filtered or unexported fields
}

func (*GetOOMEventRequest) Descriptor deprecated

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

Deprecated: Use GetOOMEventRequest.ProtoReflect.Descriptor instead.

func (*GetOOMEventRequest) ProtoMessage

func (*GetOOMEventRequest) ProtoMessage()

func (*GetOOMEventRequest) ProtoReflect

func (x *GetOOMEventRequest) ProtoReflect() protoreflect.Message

func (*GetOOMEventRequest) Reset

func (x *GetOOMEventRequest) Reset()

func (*GetOOMEventRequest) String

func (x *GetOOMEventRequest) String() string

type GuestDetailsRequest

type GuestDetailsRequest struct {

	// MemBlockSize asks server to return the system memory block size that can be used
	// for memory hotplug alignment. Typically the server returns what's in
	// /sys/devices/system/memory/block_size_bytes.
	MemBlockSize bool `protobuf:"varint,1,opt,name=mem_block_size,json=memBlockSize,proto3" json:"mem_block_size,omitempty"`
	// MemoryHotplugProbe asks server to return whether guest kernel supports memory hotplug
	// via probeinterface. Typically the server will check if the path
	// /sys/devices/system/memory/probe exists.
	MemHotplugProbe bool `protobuf:"varint,2,opt,name=mem_hotplug_probe,json=memHotplugProbe,proto3" json:"mem_hotplug_probe,omitempty"`
	// contains filtered or unexported fields
}

func (*GuestDetailsRequest) Descriptor deprecated

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

Deprecated: Use GuestDetailsRequest.ProtoReflect.Descriptor instead.

func (*GuestDetailsRequest) GetMemBlockSize

func (x *GuestDetailsRequest) GetMemBlockSize() bool

func (*GuestDetailsRequest) GetMemHotplugProbe

func (x *GuestDetailsRequest) GetMemHotplugProbe() bool

func (*GuestDetailsRequest) ProtoMessage

func (*GuestDetailsRequest) ProtoMessage()

func (*GuestDetailsRequest) ProtoReflect

func (x *GuestDetailsRequest) ProtoReflect() protoreflect.Message

func (*GuestDetailsRequest) Reset

func (x *GuestDetailsRequest) Reset()

func (*GuestDetailsRequest) String

func (x *GuestDetailsRequest) String() string

type GuestDetailsResponse

type GuestDetailsResponse struct {

	// MemBlockSizeBytes returns the system memory block size in bytes.
	MemBlockSizeBytes      uint64        `protobuf:"varint,1,opt,name=mem_block_size_bytes,json=memBlockSizeBytes,proto3" json:"mem_block_size_bytes,omitempty"`
	AgentDetails           *AgentDetails `protobuf:"bytes,2,opt,name=agent_details,json=agentDetails,proto3" json:"agent_details,omitempty"`
	SupportMemHotplugProbe bool          `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GuestDetailsResponse) Descriptor deprecated

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

Deprecated: Use GuestDetailsResponse.ProtoReflect.Descriptor instead.

func (*GuestDetailsResponse) GetAgentDetails

func (x *GuestDetailsResponse) GetAgentDetails() *AgentDetails

func (*GuestDetailsResponse) GetMemBlockSizeBytes

func (x *GuestDetailsResponse) GetMemBlockSizeBytes() uint64

func (*GuestDetailsResponse) GetSupportMemHotplugProbe

func (x *GuestDetailsResponse) GetSupportMemHotplugProbe() bool

func (*GuestDetailsResponse) ProtoMessage

func (*GuestDetailsResponse) ProtoMessage()

func (*GuestDetailsResponse) ProtoReflect

func (x *GuestDetailsResponse) ProtoReflect() protoreflect.Message

func (*GuestDetailsResponse) Reset

func (x *GuestDetailsResponse) Reset()

func (*GuestDetailsResponse) String

func (x *GuestDetailsResponse) String() string

type HealthCheckResponse

type HealthCheckResponse struct {
	Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=grpc.HealthCheckResponse_ServingStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthCheckResponse) Descriptor deprecated

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

Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.

func (*HealthCheckResponse) GetStatus

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) ProtoReflect

func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message

func (*HealthCheckResponse) Reset

func (x *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (x *HealthCheckResponse) String() string

type HealthCheckResponse_ServingStatus

type HealthCheckResponse_ServingStatus int32
const (
	HealthCheckResponse_UNKNOWN     HealthCheckResponse_ServingStatus = 0
	HealthCheckResponse_SERVING     HealthCheckResponse_ServingStatus = 1
	HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2
)

func (HealthCheckResponse_ServingStatus) Descriptor

func (HealthCheckResponse_ServingStatus) Enum

func (HealthCheckResponse_ServingStatus) EnumDescriptor deprecated

func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use HealthCheckResponse_ServingStatus.Descriptor instead.

func (HealthCheckResponse_ServingStatus) Number

func (HealthCheckResponse_ServingStatus) String

func (HealthCheckResponse_ServingStatus) Type

type HealthService

type HealthService interface {
	Check(context.Context, *CheckRequest) (*HealthCheckResponse, error)
	Version(context.Context, *CheckRequest) (*VersionCheckResponse, error)
}

func NewHealthClient

func NewHealthClient(client *ttrpc.Client) HealthService

type Hook

type Hook struct {
	Path    string   `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
	Args    []string `protobuf:"bytes,2,rep,name=Args,proto3" json:"Args,omitempty"`
	Env     []string `protobuf:"bytes,3,rep,name=Env,proto3" json:"Env,omitempty"`
	Timeout int64    `protobuf:"varint,4,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Hook) Descriptor deprecated

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

Deprecated: Use Hook.ProtoReflect.Descriptor instead.

func (*Hook) GetArgs

func (x *Hook) GetArgs() []string

func (*Hook) GetEnv

func (x *Hook) GetEnv() []string

func (*Hook) GetPath

func (x *Hook) GetPath() string

func (*Hook) GetTimeout

func (x *Hook) GetTimeout() int64

func (*Hook) ProtoMessage

func (*Hook) ProtoMessage()

func (*Hook) ProtoReflect

func (x *Hook) ProtoReflect() protoreflect.Message

func (*Hook) Reset

func (x *Hook) Reset()

func (*Hook) String

func (x *Hook) String() string

type Hooks

type Hooks struct {

	// Prestart is a list of hooks to be run before the container process is executed.
	Prestart []*Hook `protobuf:"bytes,1,rep,name=Prestart,proto3" json:"Prestart,omitempty"`
	// Poststart is a list of hooks to be run after the container process is started.
	Poststart []*Hook `protobuf:"bytes,2,rep,name=Poststart,proto3" json:"Poststart,omitempty"`
	// Poststop is a list of hooks to be run after the container process exits.
	Poststop []*Hook `protobuf:"bytes,3,rep,name=Poststop,proto3" json:"Poststop,omitempty"`
	// Createruntime is a list of hooks to be run during the creation of runtime(sandbox).
	CreateRuntime []*Hook `protobuf:"bytes,4,rep,name=CreateRuntime,proto3" json:"CreateRuntime,omitempty"`
	// CreateContainer is a list of hooks to be run after VM is started, and before container is created.
	CreateContainer []*Hook `protobuf:"bytes,5,rep,name=CreateContainer,proto3" json:"CreateContainer,omitempty"`
	// StartContainer is a list of hooks to be run after container is created, but before it is started.
	StartContainer []*Hook `protobuf:"bytes,6,rep,name=StartContainer,proto3" json:"StartContainer,omitempty"`
	// contains filtered or unexported fields
}

func (*Hooks) Descriptor deprecated

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

Deprecated: Use Hooks.ProtoReflect.Descriptor instead.

func (*Hooks) GetCreateContainer

func (x *Hooks) GetCreateContainer() []*Hook

func (*Hooks) GetCreateRuntime

func (x *Hooks) GetCreateRuntime() []*Hook

func (*Hooks) GetPoststart

func (x *Hooks) GetPoststart() []*Hook

func (*Hooks) GetPoststop

func (x *Hooks) GetPoststop() []*Hook

func (*Hooks) GetPrestart

func (x *Hooks) GetPrestart() []*Hook

func (*Hooks) GetStartContainer

func (x *Hooks) GetStartContainer() []*Hook

func (*Hooks) ProtoMessage

func (*Hooks) ProtoMessage()

func (*Hooks) ProtoReflect

func (x *Hooks) ProtoReflect() protoreflect.Message

func (*Hooks) Reset

func (x *Hooks) Reset()

func (*Hooks) String

func (x *Hooks) String() string

type HugetlbStats

type HugetlbStats struct {
	Usage    uint64 `protobuf:"varint,1,opt,name=usage,proto3" json:"usage,omitempty"`
	MaxUsage uint64 `protobuf:"varint,2,opt,name=max_usage,json=maxUsage,proto3" json:"max_usage,omitempty"`
	Failcnt  uint64 `protobuf:"varint,3,opt,name=failcnt,proto3" json:"failcnt,omitempty"`
	// contains filtered or unexported fields
}

func (*HugetlbStats) Descriptor deprecated

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

Deprecated: Use HugetlbStats.ProtoReflect.Descriptor instead.

func (*HugetlbStats) GetFailcnt

func (x *HugetlbStats) GetFailcnt() uint64

func (*HugetlbStats) GetMaxUsage

func (x *HugetlbStats) GetMaxUsage() uint64

func (*HugetlbStats) GetUsage

func (x *HugetlbStats) GetUsage() uint64

func (*HugetlbStats) ProtoMessage

func (*HugetlbStats) ProtoMessage()

func (*HugetlbStats) ProtoReflect

func (x *HugetlbStats) ProtoReflect() protoreflect.Message

func (*HugetlbStats) Reset

func (x *HugetlbStats) Reset()

func (*HugetlbStats) String

func (x *HugetlbStats) String() string

type Interfaces

type Interfaces struct {
	Interfaces []*protocols.Interface `protobuf:"bytes,1,rep,name=Interfaces,proto3" json:"Interfaces,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces) Descriptor deprecated

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

Deprecated: Use Interfaces.ProtoReflect.Descriptor instead.

func (*Interfaces) GetInterfaces

func (x *Interfaces) GetInterfaces() []*protocols.Interface

func (*Interfaces) ProtoMessage

func (*Interfaces) ProtoMessage()

func (*Interfaces) ProtoReflect

func (x *Interfaces) ProtoReflect() protoreflect.Message

func (*Interfaces) Reset

func (x *Interfaces) Reset()

func (*Interfaces) String

func (x *Interfaces) String() string

type KernelModule

type KernelModule struct {

	// This field is the name of the kernel module.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// This field are the parameters for the kernel module which are
	// whitespace-delimited key=value pairs passed to modprobe(8).
	Parameters []string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*KernelModule) Descriptor deprecated

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

Deprecated: Use KernelModule.ProtoReflect.Descriptor instead.

func (*KernelModule) GetName

func (x *KernelModule) GetName() string

func (*KernelModule) GetParameters

func (x *KernelModule) GetParameters() []string

func (*KernelModule) ProtoMessage

func (*KernelModule) ProtoMessage()

func (*KernelModule) ProtoReflect

func (x *KernelModule) ProtoReflect() protoreflect.Message

func (*KernelModule) Reset

func (x *KernelModule) Reset()

func (*KernelModule) String

func (x *KernelModule) String() string

type Linux

type Linux struct {

	// UIDMapping specifies user mappings for supporting user namespaces.
	UIDMappings []*LinuxIDMapping `protobuf:"bytes,1,rep,name=UIDMappings,proto3" json:"UIDMappings,omitempty"`
	// GIDMapping specifies group mappings for supporting user namespaces.
	GIDMappings []*LinuxIDMapping `protobuf:"bytes,2,rep,name=GIDMappings,proto3" json:"GIDMappings,omitempty"`
	// Sysctl are a set of key value pairs that are set for the container on start
	Sysctl map[string]string `` /* 153-byte string literal not displayed */
	// Resources contain cgroup information for handling resource constraints
	// for the container
	Resources *LinuxResources `protobuf:"bytes,4,opt,name=Resources,proto3" json:"Resources,omitempty"`
	// CgroupsPath specifies the path to cgroups that are created and/or joined by the container.
	// The path is expected to be relative to the cgroups mountpoint.
	// If resources are specified, the cgroups at CgroupsPath will be updated based on resources.
	CgroupsPath string `protobuf:"bytes,5,opt,name=CgroupsPath,proto3" json:"CgroupsPath,omitempty"`
	// Namespaces contains the namespaces that are created and/or joined by the container
	Namespaces []*LinuxNamespace `protobuf:"bytes,6,rep,name=Namespaces,proto3" json:"Namespaces,omitempty"`
	// Devices are a list of device nodes that are created for the container
	Devices []*LinuxDevice `protobuf:"bytes,7,rep,name=Devices,proto3" json:"Devices,omitempty"`
	// Seccomp specifies the seccomp security settings for the container.
	Seccomp *LinuxSeccomp `protobuf:"bytes,8,opt,name=Seccomp,proto3" json:"Seccomp,omitempty"`
	// RootfsPropagation is the rootfs mount propagation mode for the container.
	RootfsPropagation string `protobuf:"bytes,9,opt,name=RootfsPropagation,proto3" json:"RootfsPropagation,omitempty"`
	// MaskedPaths masks over the provided paths inside the container.
	MaskedPaths []string `protobuf:"bytes,10,rep,name=MaskedPaths,proto3" json:"MaskedPaths,omitempty"`
	// ReadonlyPaths sets the provided paths as RO inside the container.
	ReadonlyPaths []string `protobuf:"bytes,11,rep,name=ReadonlyPaths,proto3" json:"ReadonlyPaths,omitempty"`
	// MountLabel specifies the selinux context for the mounts in the container.
	MountLabel string `protobuf:"bytes,12,opt,name=MountLabel,proto3" json:"MountLabel,omitempty"`
	// IntelRdt contains Intel Resource Director Technology (RDT) information
	// for handling resource constraints (e.g., L3 cache) for the container
	IntelRdt *LinuxIntelRdt `protobuf:"bytes,13,opt,name=IntelRdt,proto3" json:"IntelRdt,omitempty"`
	// contains filtered or unexported fields
}

func (*Linux) Descriptor deprecated

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

Deprecated: Use Linux.ProtoReflect.Descriptor instead.

func (*Linux) GetCgroupsPath

func (x *Linux) GetCgroupsPath() string

func (*Linux) GetDevices

func (x *Linux) GetDevices() []*LinuxDevice

func (*Linux) GetGIDMappings

func (x *Linux) GetGIDMappings() []*LinuxIDMapping

func (*Linux) GetIntelRdt

func (x *Linux) GetIntelRdt() *LinuxIntelRdt

func (*Linux) GetMaskedPaths

func (x *Linux) GetMaskedPaths() []string

func (*Linux) GetMountLabel

func (x *Linux) GetMountLabel() string

func (*Linux) GetNamespaces

func (x *Linux) GetNamespaces() []*LinuxNamespace

func (*Linux) GetReadonlyPaths

func (x *Linux) GetReadonlyPaths() []string

func (*Linux) GetResources

func (x *Linux) GetResources() *LinuxResources

func (*Linux) GetRootfsPropagation

func (x *Linux) GetRootfsPropagation() string

func (*Linux) GetSeccomp

func (x *Linux) GetSeccomp() *LinuxSeccomp

func (*Linux) GetSysctl

func (x *Linux) GetSysctl() map[string]string

func (*Linux) GetUIDMappings

func (x *Linux) GetUIDMappings() []*LinuxIDMapping

func (*Linux) ProtoMessage

func (*Linux) ProtoMessage()

func (*Linux) ProtoReflect

func (x *Linux) ProtoReflect() protoreflect.Message

func (*Linux) Reset

func (x *Linux) Reset()

func (*Linux) String

func (x *Linux) String() string

type LinuxBlockIO

type LinuxBlockIO struct {

	// Specifies per cgroup weight
	Weight uint32 `protobuf:"varint,1,opt,name=Weight,proto3" json:"Weight,omitempty"`
	// Specifies tasks' weight in the given cgroup while competing with the cgroup's child cgroups, CFQ scheduler only
	LeafWeight uint32 `protobuf:"varint,2,opt,name=LeafWeight,proto3" json:"LeafWeight,omitempty"`
	// Weight per cgroup per device, can override BlkioWeight
	WeightDevice []*LinuxWeightDevice `protobuf:"bytes,3,rep,name=WeightDevice,proto3" json:"WeightDevice,omitempty"`
	// IO read rate limit per cgroup per device, bytes per second
	ThrottleReadBpsDevice []*LinuxThrottleDevice `protobuf:"bytes,4,rep,name=ThrottleReadBpsDevice,proto3" json:"ThrottleReadBpsDevice,omitempty"`
	// IO write rate limit per cgroup per device, bytes per second
	ThrottleWriteBpsDevice []*LinuxThrottleDevice `protobuf:"bytes,5,rep,name=ThrottleWriteBpsDevice,proto3" json:"ThrottleWriteBpsDevice,omitempty"`
	// IO read rate limit per cgroup per device, IO per second
	ThrottleReadIOPSDevice []*LinuxThrottleDevice `protobuf:"bytes,6,rep,name=ThrottleReadIOPSDevice,proto3" json:"ThrottleReadIOPSDevice,omitempty"`
	// IO write rate limit per cgroup per device, IO per second
	ThrottleWriteIOPSDevice []*LinuxThrottleDevice `protobuf:"bytes,7,rep,name=ThrottleWriteIOPSDevice,proto3" json:"ThrottleWriteIOPSDevice,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxBlockIO) Descriptor deprecated

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

Deprecated: Use LinuxBlockIO.ProtoReflect.Descriptor instead.

func (*LinuxBlockIO) GetLeafWeight

func (x *LinuxBlockIO) GetLeafWeight() uint32

func (*LinuxBlockIO) GetThrottleReadBpsDevice

func (x *LinuxBlockIO) GetThrottleReadBpsDevice() []*LinuxThrottleDevice

func (*LinuxBlockIO) GetThrottleReadIOPSDevice

func (x *LinuxBlockIO) GetThrottleReadIOPSDevice() []*LinuxThrottleDevice

func (*LinuxBlockIO) GetThrottleWriteBpsDevice

func (x *LinuxBlockIO) GetThrottleWriteBpsDevice() []*LinuxThrottleDevice

func (*LinuxBlockIO) GetThrottleWriteIOPSDevice

func (x *LinuxBlockIO) GetThrottleWriteIOPSDevice() []*LinuxThrottleDevice

func (*LinuxBlockIO) GetWeight

func (x *LinuxBlockIO) GetWeight() uint32

func (*LinuxBlockIO) GetWeightDevice

func (x *LinuxBlockIO) GetWeightDevice() []*LinuxWeightDevice

func (*LinuxBlockIO) ProtoMessage

func (*LinuxBlockIO) ProtoMessage()

func (*LinuxBlockIO) ProtoReflect

func (x *LinuxBlockIO) ProtoReflect() protoreflect.Message

func (*LinuxBlockIO) Reset

func (x *LinuxBlockIO) Reset()

func (*LinuxBlockIO) String

func (x *LinuxBlockIO) String() string

type LinuxCPU

type LinuxCPU struct {

	// CPU shares (relative weight (ratio) vs. other cgroups with cpu shares).
	Shares uint64 `protobuf:"varint,1,opt,name=Shares,proto3" json:"Shares,omitempty"`
	// CPU hardcap limit (in usecs). Allowed cpu time in a given period.
	Quota int64 `protobuf:"varint,2,opt,name=Quota,proto3" json:"Quota,omitempty"`
	// CPU period to be used for hardcapping (in usecs).
	Period uint64 `protobuf:"varint,3,opt,name=Period,proto3" json:"Period,omitempty"`
	// How much time realtime scheduling may use (in usecs).
	RealtimeRuntime int64 `protobuf:"varint,4,opt,name=RealtimeRuntime,proto3" json:"RealtimeRuntime,omitempty"`
	// CPU period to be used for realtime scheduling (in usecs).
	RealtimePeriod uint64 `protobuf:"varint,5,opt,name=RealtimePeriod,proto3" json:"RealtimePeriod,omitempty"`
	// CPUs to use within the cpuset. Default is to use any CPU available.
	Cpus string `protobuf:"bytes,6,opt,name=Cpus,proto3" json:"Cpus,omitempty"`
	// List of memory nodes in the cpuset. Default is to use any available memory node.
	Mems string `protobuf:"bytes,7,opt,name=Mems,proto3" json:"Mems,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxCPU) Descriptor deprecated

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

Deprecated: Use LinuxCPU.ProtoReflect.Descriptor instead.

func (*LinuxCPU) GetCpus

func (x *LinuxCPU) GetCpus() string

func (*LinuxCPU) GetMems

func (x *LinuxCPU) GetMems() string

func (*LinuxCPU) GetPeriod

func (x *LinuxCPU) GetPeriod() uint64

func (*LinuxCPU) GetQuota

func (x *LinuxCPU) GetQuota() int64

func (*LinuxCPU) GetRealtimePeriod

func (x *LinuxCPU) GetRealtimePeriod() uint64

func (*LinuxCPU) GetRealtimeRuntime

func (x *LinuxCPU) GetRealtimeRuntime() int64

func (*LinuxCPU) GetShares

func (x *LinuxCPU) GetShares() uint64

func (*LinuxCPU) ProtoMessage

func (*LinuxCPU) ProtoMessage()

func (*LinuxCPU) ProtoReflect

func (x *LinuxCPU) ProtoReflect() protoreflect.Message

func (*LinuxCPU) Reset

func (x *LinuxCPU) Reset()

func (*LinuxCPU) String

func (x *LinuxCPU) String() string

type LinuxCapabilities

type LinuxCapabilities struct {

	// Bounding is the set of capabilities checked by the kernel.
	Bounding []string `protobuf:"bytes,1,rep,name=Bounding,proto3" json:"Bounding,omitempty"`
	// Effective is the set of capabilities checked by the kernel.
	Effective []string `protobuf:"bytes,2,rep,name=Effective,proto3" json:"Effective,omitempty"`
	// Inheritable is the capabilities preserved across execve.
	Inheritable []string `protobuf:"bytes,3,rep,name=Inheritable,proto3" json:"Inheritable,omitempty"`
	// Permitted is the limiting superset for effective capabilities.
	Permitted []string `protobuf:"bytes,4,rep,name=Permitted,proto3" json:"Permitted,omitempty"`
	// Ambient is the ambient set of capabilities that are kept.
	Ambient []string `protobuf:"bytes,5,rep,name=Ambient,proto3" json:"Ambient,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxCapabilities) Descriptor deprecated

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

Deprecated: Use LinuxCapabilities.ProtoReflect.Descriptor instead.

func (*LinuxCapabilities) GetAmbient

func (x *LinuxCapabilities) GetAmbient() []string

func (*LinuxCapabilities) GetBounding

func (x *LinuxCapabilities) GetBounding() []string

func (*LinuxCapabilities) GetEffective

func (x *LinuxCapabilities) GetEffective() []string

func (*LinuxCapabilities) GetInheritable

func (x *LinuxCapabilities) GetInheritable() []string

func (*LinuxCapabilities) GetPermitted

func (x *LinuxCapabilities) GetPermitted() []string

func (*LinuxCapabilities) ProtoMessage

func (*LinuxCapabilities) ProtoMessage()

func (*LinuxCapabilities) ProtoReflect

func (x *LinuxCapabilities) ProtoReflect() protoreflect.Message

func (*LinuxCapabilities) Reset

func (x *LinuxCapabilities) Reset()

func (*LinuxCapabilities) String

func (x *LinuxCapabilities) String() string

type LinuxDevice

type LinuxDevice struct {

	// Path to the device.
	Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
	// Device type, block, char, etc.
	Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
	// Major is the device's major number.
	Major int64 `protobuf:"varint,3,opt,name=Major,proto3" json:"Major,omitempty"`
	// Minor is the device's minor number.
	Minor int64 `protobuf:"varint,4,opt,name=Minor,proto3" json:"Minor,omitempty"`
	// FileMode permission bits for the device.
	FileMode uint32 `protobuf:"varint,5,opt,name=FileMode,proto3" json:"FileMode,omitempty"`
	// UID of the device.
	UID uint32 `protobuf:"varint,6,opt,name=UID,proto3" json:"UID,omitempty"`
	// Gid of the device.
	GID uint32 `protobuf:"varint,7,opt,name=GID,proto3" json:"GID,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxDevice) Descriptor deprecated

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

Deprecated: Use LinuxDevice.ProtoReflect.Descriptor instead.

func (*LinuxDevice) GetFileMode

func (x *LinuxDevice) GetFileMode() uint32

func (*LinuxDevice) GetGID

func (x *LinuxDevice) GetGID() uint32

func (*LinuxDevice) GetMajor

func (x *LinuxDevice) GetMajor() int64

func (*LinuxDevice) GetMinor

func (x *LinuxDevice) GetMinor() int64

func (*LinuxDevice) GetPath

func (x *LinuxDevice) GetPath() string

func (*LinuxDevice) GetType

func (x *LinuxDevice) GetType() string

func (*LinuxDevice) GetUID

func (x *LinuxDevice) GetUID() uint32

func (*LinuxDevice) ProtoMessage

func (*LinuxDevice) ProtoMessage()

func (*LinuxDevice) ProtoReflect

func (x *LinuxDevice) ProtoReflect() protoreflect.Message

func (*LinuxDevice) Reset

func (x *LinuxDevice) Reset()

func (*LinuxDevice) String

func (x *LinuxDevice) String() string

type LinuxDeviceCgroup

type LinuxDeviceCgroup struct {

	// Allow or deny
	Allow bool `protobuf:"varint,1,opt,name=Allow,proto3" json:"Allow,omitempty"`
	// Device type, block, char, etc.
	Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
	// Major is the device's major number.
	Major int64 `protobuf:"varint,3,opt,name=Major,proto3" json:"Major,omitempty"`
	// Minor is the device's minor number.
	Minor int64 `protobuf:"varint,4,opt,name=Minor,proto3" json:"Minor,omitempty"`
	// Cgroup access permissions format, rwm.
	Access string `protobuf:"bytes,5,opt,name=Access,proto3" json:"Access,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxDeviceCgroup) Descriptor deprecated

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

Deprecated: Use LinuxDeviceCgroup.ProtoReflect.Descriptor instead.

func (*LinuxDeviceCgroup) GetAccess

func (x *LinuxDeviceCgroup) GetAccess() string

func (*LinuxDeviceCgroup) GetAllow

func (x *LinuxDeviceCgroup) GetAllow() bool

func (*LinuxDeviceCgroup) GetMajor

func (x *LinuxDeviceCgroup) GetMajor() int64

func (*LinuxDeviceCgroup) GetMinor

func (x *LinuxDeviceCgroup) GetMinor() int64

func (*LinuxDeviceCgroup) GetType

func (x *LinuxDeviceCgroup) GetType() string

func (*LinuxDeviceCgroup) ProtoMessage

func (*LinuxDeviceCgroup) ProtoMessage()

func (*LinuxDeviceCgroup) ProtoReflect

func (x *LinuxDeviceCgroup) ProtoReflect() protoreflect.Message

func (*LinuxDeviceCgroup) Reset

func (x *LinuxDeviceCgroup) Reset()

func (*LinuxDeviceCgroup) String

func (x *LinuxDeviceCgroup) String() string

type LinuxHugepageLimit

type LinuxHugepageLimit struct {

	// Pagesize is the hugepage size
	Pagesize string `protobuf:"bytes,1,opt,name=Pagesize,proto3" json:"Pagesize,omitempty"`
	// Limit is the limit of "hugepagesize" hugetlb usage
	Limit uint64 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxHugepageLimit) Descriptor deprecated

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

Deprecated: Use LinuxHugepageLimit.ProtoReflect.Descriptor instead.

func (*LinuxHugepageLimit) GetLimit

func (x *LinuxHugepageLimit) GetLimit() uint64

func (*LinuxHugepageLimit) GetPagesize

func (x *LinuxHugepageLimit) GetPagesize() string

func (*LinuxHugepageLimit) ProtoMessage

func (*LinuxHugepageLimit) ProtoMessage()

func (*LinuxHugepageLimit) ProtoReflect

func (x *LinuxHugepageLimit) ProtoReflect() protoreflect.Message

func (*LinuxHugepageLimit) Reset

func (x *LinuxHugepageLimit) Reset()

func (*LinuxHugepageLimit) String

func (x *LinuxHugepageLimit) String() string

type LinuxIDMapping

type LinuxIDMapping struct {

	// HostID is the starting UID/GID on the host to be mapped to 'ContainerID'
	HostID uint32 `protobuf:"varint,1,opt,name=HostID,proto3" json:"HostID,omitempty"`
	// ContainerID is the starting UID/GID in the container
	ContainerID uint32 `protobuf:"varint,2,opt,name=ContainerID,proto3" json:"ContainerID,omitempty"`
	// Size is the number of IDs to be mapped
	Size uint32 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxIDMapping) Descriptor deprecated

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

Deprecated: Use LinuxIDMapping.ProtoReflect.Descriptor instead.

func (*LinuxIDMapping) GetContainerID

func (x *LinuxIDMapping) GetContainerID() uint32

func (*LinuxIDMapping) GetHostID

func (x *LinuxIDMapping) GetHostID() uint32

func (*LinuxIDMapping) GetSize

func (x *LinuxIDMapping) GetSize() uint32

func (*LinuxIDMapping) ProtoMessage

func (*LinuxIDMapping) ProtoMessage()

func (*LinuxIDMapping) ProtoReflect

func (x *LinuxIDMapping) ProtoReflect() protoreflect.Message

func (*LinuxIDMapping) Reset

func (x *LinuxIDMapping) Reset()

func (*LinuxIDMapping) String

func (x *LinuxIDMapping) String() string

type LinuxIntelRdt

type LinuxIntelRdt struct {

	// The schema for L3 cache id and capacity bitmask (CBM)
	// Format: "L3:<cache_id0>=<cbm0>;<cache_id1>=<cbm1>;..."
	L3CacheSchema string `protobuf:"bytes,1,opt,name=L3CacheSchema,proto3" json:"L3CacheSchema,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxIntelRdt) Descriptor deprecated

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

Deprecated: Use LinuxIntelRdt.ProtoReflect.Descriptor instead.

func (*LinuxIntelRdt) GetL3CacheSchema

func (x *LinuxIntelRdt) GetL3CacheSchema() string

func (*LinuxIntelRdt) ProtoMessage

func (*LinuxIntelRdt) ProtoMessage()

func (*LinuxIntelRdt) ProtoReflect

func (x *LinuxIntelRdt) ProtoReflect() protoreflect.Message

func (*LinuxIntelRdt) Reset

func (x *LinuxIntelRdt) Reset()

func (*LinuxIntelRdt) String

func (x *LinuxIntelRdt) String() string

type LinuxInterfacePriority

type LinuxInterfacePriority struct {

	// Name is the name of the network interface
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	// Priority for the interface
	Priority uint32 `protobuf:"varint,2,opt,name=Priority,proto3" json:"Priority,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxInterfacePriority) Descriptor deprecated

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

Deprecated: Use LinuxInterfacePriority.ProtoReflect.Descriptor instead.

func (*LinuxInterfacePriority) GetName

func (x *LinuxInterfacePriority) GetName() string

func (*LinuxInterfacePriority) GetPriority

func (x *LinuxInterfacePriority) GetPriority() uint32

func (*LinuxInterfacePriority) ProtoMessage

func (*LinuxInterfacePriority) ProtoMessage()

func (*LinuxInterfacePriority) ProtoReflect

func (x *LinuxInterfacePriority) ProtoReflect() protoreflect.Message

func (*LinuxInterfacePriority) Reset

func (x *LinuxInterfacePriority) Reset()

func (*LinuxInterfacePriority) String

func (x *LinuxInterfacePriority) String() string

type LinuxMemory

type LinuxMemory struct {

	// Memory limit (in bytes).
	Limit int64 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
	// Memory reservation or soft_limit (in bytes).
	Reservation int64 `protobuf:"varint,2,opt,name=Reservation,proto3" json:"Reservation,omitempty"`
	// Total memory limit (memory + swap).
	Swap int64 `protobuf:"varint,3,opt,name=Swap,proto3" json:"Swap,omitempty"`
	// Kernel memory limit (in bytes).
	Kernel int64 `protobuf:"varint,4,opt,name=Kernel,proto3" json:"Kernel,omitempty"`
	// Kernel memory limit for tcp (in bytes)
	KernelTCP int64 `protobuf:"varint,5,opt,name=KernelTCP,proto3" json:"KernelTCP,omitempty"`
	// How aggressive the kernel will swap memory pages.
	Swappiness uint64 `protobuf:"varint,6,opt,name=Swappiness,proto3" json:"Swappiness,omitempty"`
	// DisableOOMKiller disables the OOM killer for out of memory conditions
	DisableOOMKiller bool `protobuf:"varint,7,opt,name=DisableOOMKiller,proto3" json:"DisableOOMKiller,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxMemory) Descriptor deprecated

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

Deprecated: Use LinuxMemory.ProtoReflect.Descriptor instead.

func (*LinuxMemory) GetDisableOOMKiller

func (x *LinuxMemory) GetDisableOOMKiller() bool

func (*LinuxMemory) GetKernel

func (x *LinuxMemory) GetKernel() int64

func (*LinuxMemory) GetKernelTCP

func (x *LinuxMemory) GetKernelTCP() int64

func (*LinuxMemory) GetLimit

func (x *LinuxMemory) GetLimit() int64

func (*LinuxMemory) GetReservation

func (x *LinuxMemory) GetReservation() int64

func (*LinuxMemory) GetSwap

func (x *LinuxMemory) GetSwap() int64

func (*LinuxMemory) GetSwappiness

func (x *LinuxMemory) GetSwappiness() uint64

func (*LinuxMemory) ProtoMessage

func (*LinuxMemory) ProtoMessage()

func (*LinuxMemory) ProtoReflect

func (x *LinuxMemory) ProtoReflect() protoreflect.Message

func (*LinuxMemory) Reset

func (x *LinuxMemory) Reset()

func (*LinuxMemory) String

func (x *LinuxMemory) String() string

type LinuxNamespace

type LinuxNamespace struct {

	// Type is the type of namespace
	Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
	// Path is a path to an existing namespace persisted on disk that can be joined
	// and is of the same type
	Path string `protobuf:"bytes,2,opt,name=Path,proto3" json:"Path,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxNamespace) Descriptor deprecated

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

Deprecated: Use LinuxNamespace.ProtoReflect.Descriptor instead.

func (*LinuxNamespace) GetPath

func (x *LinuxNamespace) GetPath() string

func (*LinuxNamespace) GetType

func (x *LinuxNamespace) GetType() string

func (*LinuxNamespace) ProtoMessage

func (*LinuxNamespace) ProtoMessage()

func (*LinuxNamespace) ProtoReflect

func (x *LinuxNamespace) ProtoReflect() protoreflect.Message

func (*LinuxNamespace) Reset

func (x *LinuxNamespace) Reset()

func (*LinuxNamespace) String

func (x *LinuxNamespace) String() string

type LinuxNetwork

type LinuxNetwork struct {

	// Set class identifier for container's network packets
	ClassID uint32 `protobuf:"varint,1,opt,name=ClassID,proto3" json:"ClassID,omitempty"`
	// Set priority of network traffic for container
	Priorities []*LinuxInterfacePriority `protobuf:"bytes,2,rep,name=Priorities,proto3" json:"Priorities,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxNetwork) Descriptor deprecated

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

Deprecated: Use LinuxNetwork.ProtoReflect.Descriptor instead.

func (*LinuxNetwork) GetClassID

func (x *LinuxNetwork) GetClassID() uint32

func (*LinuxNetwork) GetPriorities

func (x *LinuxNetwork) GetPriorities() []*LinuxInterfacePriority

func (*LinuxNetwork) ProtoMessage

func (*LinuxNetwork) ProtoMessage()

func (*LinuxNetwork) ProtoReflect

func (x *LinuxNetwork) ProtoReflect() protoreflect.Message

func (*LinuxNetwork) Reset

func (x *LinuxNetwork) Reset()

func (*LinuxNetwork) String

func (x *LinuxNetwork) String() string

type LinuxPids

type LinuxPids struct {

	// Maximum number of PIDs. Default is "no limit".
	Limit int64 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxPids) Descriptor deprecated

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

Deprecated: Use LinuxPids.ProtoReflect.Descriptor instead.

func (*LinuxPids) GetLimit

func (x *LinuxPids) GetLimit() int64

func (*LinuxPids) ProtoMessage

func (*LinuxPids) ProtoMessage()

func (*LinuxPids) ProtoReflect

func (x *LinuxPids) ProtoReflect() protoreflect.Message

func (*LinuxPids) Reset

func (x *LinuxPids) Reset()

func (*LinuxPids) String

func (x *LinuxPids) String() string

type LinuxResources

type LinuxResources struct {

	// Devices configures the device whitelist.
	Devices []*LinuxDeviceCgroup `protobuf:"bytes,1,rep,name=Devices,proto3" json:"Devices,omitempty"`
	// Memory restriction configuration
	Memory *LinuxMemory `protobuf:"bytes,2,opt,name=Memory,proto3" json:"Memory,omitempty"`
	// CPU resource restriction configuration
	CPU *LinuxCPU `protobuf:"bytes,3,opt,name=CPU,proto3" json:"CPU,omitempty"`
	// Task resource restriction configuration.
	Pids *LinuxPids `protobuf:"bytes,4,opt,name=Pids,proto3" json:"Pids,omitempty"`
	// BlockIO restriction configuration
	BlockIO *LinuxBlockIO `protobuf:"bytes,5,opt,name=BlockIO,proto3" json:"BlockIO,omitempty"`
	// Hugetlb limit (in bytes)
	HugepageLimits []*LinuxHugepageLimit `protobuf:"bytes,6,rep,name=HugepageLimits,proto3" json:"HugepageLimits,omitempty"`
	// Network restriction configuration
	Network *LinuxNetwork `protobuf:"bytes,7,opt,name=Network,proto3" json:"Network,omitempty"`
	// contains filtered or unexported fields
}

func ResourcesOCItoGRPC

func ResourcesOCItoGRPC(ociResources *specs.LinuxResources) (*LinuxResources, error)

ResourcesOCItoGRPC converts an OCI LinuxResources specification into its gRPC representation

func (*LinuxResources) Descriptor deprecated

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

Deprecated: Use LinuxResources.ProtoReflect.Descriptor instead.

func (*LinuxResources) GetBlockIO

func (x *LinuxResources) GetBlockIO() *LinuxBlockIO

func (*LinuxResources) GetCPU

func (x *LinuxResources) GetCPU() *LinuxCPU

func (*LinuxResources) GetDevices

func (x *LinuxResources) GetDevices() []*LinuxDeviceCgroup

func (*LinuxResources) GetHugepageLimits

func (x *LinuxResources) GetHugepageLimits() []*LinuxHugepageLimit

func (*LinuxResources) GetMemory

func (x *LinuxResources) GetMemory() *LinuxMemory

func (*LinuxResources) GetNetwork

func (x *LinuxResources) GetNetwork() *LinuxNetwork

func (*LinuxResources) GetPids

func (x *LinuxResources) GetPids() *LinuxPids

func (*LinuxResources) ProtoMessage

func (*LinuxResources) ProtoMessage()

func (*LinuxResources) ProtoReflect

func (x *LinuxResources) ProtoReflect() protoreflect.Message

func (*LinuxResources) Reset

func (x *LinuxResources) Reset()

func (*LinuxResources) String

func (x *LinuxResources) String() string

type LinuxSeccomp

type LinuxSeccomp struct {
	DefaultAction string          `protobuf:"bytes,1,opt,name=DefaultAction,proto3" json:"DefaultAction,omitempty"`
	Architectures []string        `protobuf:"bytes,2,rep,name=Architectures,proto3" json:"Architectures,omitempty"`
	Flags         []string        `protobuf:"bytes,3,rep,name=Flags,proto3" json:"Flags,omitempty"`
	Syscalls      []*LinuxSyscall `protobuf:"bytes,4,rep,name=Syscalls,proto3" json:"Syscalls,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxSeccomp) Descriptor deprecated

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

Deprecated: Use LinuxSeccomp.ProtoReflect.Descriptor instead.

func (*LinuxSeccomp) GetArchitectures

func (x *LinuxSeccomp) GetArchitectures() []string

func (*LinuxSeccomp) GetDefaultAction

func (x *LinuxSeccomp) GetDefaultAction() string

func (*LinuxSeccomp) GetFlags

func (x *LinuxSeccomp) GetFlags() []string

func (*LinuxSeccomp) GetSyscalls

func (x *LinuxSeccomp) GetSyscalls() []*LinuxSyscall

func (*LinuxSeccomp) ProtoMessage

func (*LinuxSeccomp) ProtoMessage()

func (*LinuxSeccomp) ProtoReflect

func (x *LinuxSeccomp) ProtoReflect() protoreflect.Message

func (*LinuxSeccomp) Reset

func (x *LinuxSeccomp) Reset()

func (*LinuxSeccomp) String

func (x *LinuxSeccomp) String() string

type LinuxSeccompArg

type LinuxSeccompArg struct {
	Index    uint64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"`
	Value    uint64 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
	ValueTwo uint64 `protobuf:"varint,3,opt,name=ValueTwo,proto3" json:"ValueTwo,omitempty"`
	Op       string `protobuf:"bytes,4,opt,name=Op,proto3" json:"Op,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxSeccompArg) Descriptor deprecated

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

Deprecated: Use LinuxSeccompArg.ProtoReflect.Descriptor instead.

func (*LinuxSeccompArg) GetIndex

func (x *LinuxSeccompArg) GetIndex() uint64

func (*LinuxSeccompArg) GetOp

func (x *LinuxSeccompArg) GetOp() string

func (*LinuxSeccompArg) GetValue

func (x *LinuxSeccompArg) GetValue() uint64

func (*LinuxSeccompArg) GetValueTwo

func (x *LinuxSeccompArg) GetValueTwo() uint64

func (*LinuxSeccompArg) ProtoMessage

func (*LinuxSeccompArg) ProtoMessage()

func (*LinuxSeccompArg) ProtoReflect

func (x *LinuxSeccompArg) ProtoReflect() protoreflect.Message

func (*LinuxSeccompArg) Reset

func (x *LinuxSeccompArg) Reset()

func (*LinuxSeccompArg) String

func (x *LinuxSeccompArg) String() string

type LinuxSyscall

type LinuxSyscall struct {
	Names  []string `protobuf:"bytes,1,rep,name=Names,proto3" json:"Names,omitempty"`
	Action string   `protobuf:"bytes,2,opt,name=Action,proto3" json:"Action,omitempty"`
	// Types that are assignable to ErrnoRet:
	//
	//	*LinuxSyscall_Errnoret
	ErrnoRet isLinuxSyscall_ErrnoRet `protobuf_oneof:"ErrnoRet"`
	Args     []*LinuxSeccompArg      `protobuf:"bytes,4,rep,name=Args,proto3" json:"Args,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxSyscall) Descriptor deprecated

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

Deprecated: Use LinuxSyscall.ProtoReflect.Descriptor instead.

func (*LinuxSyscall) GetAction

func (x *LinuxSyscall) GetAction() string

func (*LinuxSyscall) GetArgs

func (x *LinuxSyscall) GetArgs() []*LinuxSeccompArg

func (*LinuxSyscall) GetErrnoRet

func (m *LinuxSyscall) GetErrnoRet() isLinuxSyscall_ErrnoRet

func (*LinuxSyscall) GetErrnoret

func (x *LinuxSyscall) GetErrnoret() uint32

func (*LinuxSyscall) GetNames

func (x *LinuxSyscall) GetNames() []string

func (*LinuxSyscall) ProtoMessage

func (*LinuxSyscall) ProtoMessage()

func (*LinuxSyscall) ProtoReflect

func (x *LinuxSyscall) ProtoReflect() protoreflect.Message

func (*LinuxSyscall) Reset

func (x *LinuxSyscall) Reset()

func (*LinuxSyscall) String

func (x *LinuxSyscall) String() string

type LinuxSyscall_Errnoret

type LinuxSyscall_Errnoret struct {
	Errnoret uint32 `protobuf:"varint,3,opt,name=errnoret,proto3,oneof"`
}

type LinuxThrottleDevice

type LinuxThrottleDevice struct {

	// Major is the device's major number.
	Major int64 `protobuf:"varint,1,opt,name=Major,proto3" json:"Major,omitempty"`
	// Minor is the device's minor number.
	Minor int64 `protobuf:"varint,2,opt,name=Minor,proto3" json:"Minor,omitempty"`
	// Rate is the IO rate limit per cgroup per device
	Rate uint64 `protobuf:"varint,3,opt,name=Rate,proto3" json:"Rate,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxThrottleDevice) Descriptor deprecated

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

Deprecated: Use LinuxThrottleDevice.ProtoReflect.Descriptor instead.

func (*LinuxThrottleDevice) GetMajor

func (x *LinuxThrottleDevice) GetMajor() int64

func (*LinuxThrottleDevice) GetMinor

func (x *LinuxThrottleDevice) GetMinor() int64

func (*LinuxThrottleDevice) GetRate

func (x *LinuxThrottleDevice) GetRate() uint64

func (*LinuxThrottleDevice) ProtoMessage

func (*LinuxThrottleDevice) ProtoMessage()

func (*LinuxThrottleDevice) ProtoReflect

func (x *LinuxThrottleDevice) ProtoReflect() protoreflect.Message

func (*LinuxThrottleDevice) Reset

func (x *LinuxThrottleDevice) Reset()

func (*LinuxThrottleDevice) String

func (x *LinuxThrottleDevice) String() string

type LinuxWeightDevice

type LinuxWeightDevice struct {

	// Major is the device's major number.
	Major int64 `protobuf:"varint,1,opt,name=Major,proto3" json:"Major,omitempty"`
	// Minor is the device's minor number.
	Minor int64 `protobuf:"varint,2,opt,name=Minor,proto3" json:"Minor,omitempty"`
	// Weight is the bandwidth rate for the device.
	Weight uint32 `protobuf:"varint,3,opt,name=Weight,proto3" json:"Weight,omitempty"`
	// LeafWeight is the bandwidth rate for the device while competing with the cgroup's child cgroups, CFQ scheduler only
	LeafWeight uint32 `protobuf:"varint,4,opt,name=LeafWeight,proto3" json:"LeafWeight,omitempty"`
	// contains filtered or unexported fields
}

func (*LinuxWeightDevice) Descriptor deprecated

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

Deprecated: Use LinuxWeightDevice.ProtoReflect.Descriptor instead.

func (*LinuxWeightDevice) GetLeafWeight

func (x *LinuxWeightDevice) GetLeafWeight() uint32

func (*LinuxWeightDevice) GetMajor

func (x *LinuxWeightDevice) GetMajor() int64

func (*LinuxWeightDevice) GetMinor

func (x *LinuxWeightDevice) GetMinor() int64

func (*LinuxWeightDevice) GetWeight

func (x *LinuxWeightDevice) GetWeight() uint32

func (*LinuxWeightDevice) ProtoMessage

func (*LinuxWeightDevice) ProtoMessage()

func (*LinuxWeightDevice) ProtoReflect

func (x *LinuxWeightDevice) ProtoReflect() protoreflect.Message

func (*LinuxWeightDevice) Reset

func (x *LinuxWeightDevice) Reset()

func (*LinuxWeightDevice) String

func (x *LinuxWeightDevice) String() string

type ListInterfacesRequest

type ListInterfacesRequest struct {
	// contains filtered or unexported fields
}

func (*ListInterfacesRequest) Descriptor deprecated

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

Deprecated: Use ListInterfacesRequest.ProtoReflect.Descriptor instead.

func (*ListInterfacesRequest) ProtoMessage

func (*ListInterfacesRequest) ProtoMessage()

func (*ListInterfacesRequest) ProtoReflect

func (x *ListInterfacesRequest) ProtoReflect() protoreflect.Message

func (*ListInterfacesRequest) Reset

func (x *ListInterfacesRequest) Reset()

func (*ListInterfacesRequest) String

func (x *ListInterfacesRequest) String() string

type ListRoutesRequest

type ListRoutesRequest struct {
	// contains filtered or unexported fields
}

func (*ListRoutesRequest) Descriptor deprecated

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

Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListRoutesRequest) ProtoMessage

func (*ListRoutesRequest) ProtoMessage()

func (*ListRoutesRequest) ProtoReflect

func (x *ListRoutesRequest) ProtoReflect() protoreflect.Message

func (*ListRoutesRequest) Reset

func (x *ListRoutesRequest) Reset()

func (*ListRoutesRequest) String

func (x *ListRoutesRequest) String() string

type MemHotplugByProbeRequest

type MemHotplugByProbeRequest struct {

	// server needs to send the value of memHotplugProbeAddr into file /sys/devices/system/memory/probe,
	// in order to notify the guest kernel about hot-add memory event
	MemHotplugProbeAddr []uint64 `protobuf:"varint,1,rep,packed,name=memHotplugProbeAddr,proto3" json:"memHotplugProbeAddr,omitempty"`
	// contains filtered or unexported fields
}

func (*MemHotplugByProbeRequest) Descriptor deprecated

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

Deprecated: Use MemHotplugByProbeRequest.ProtoReflect.Descriptor instead.

func (*MemHotplugByProbeRequest) GetMemHotplugProbeAddr

func (x *MemHotplugByProbeRequest) GetMemHotplugProbeAddr() []uint64

func (*MemHotplugByProbeRequest) ProtoMessage

func (*MemHotplugByProbeRequest) ProtoMessage()

func (*MemHotplugByProbeRequest) ProtoReflect

func (x *MemHotplugByProbeRequest) ProtoReflect() protoreflect.Message

func (*MemHotplugByProbeRequest) Reset

func (x *MemHotplugByProbeRequest) Reset()

func (*MemHotplugByProbeRequest) String

func (x *MemHotplugByProbeRequest) String() string

type MemoryData

type MemoryData struct {
	Usage    uint64 `protobuf:"varint,1,opt,name=usage,proto3" json:"usage,omitempty"`
	MaxUsage uint64 `protobuf:"varint,2,opt,name=max_usage,json=maxUsage,proto3" json:"max_usage,omitempty"`
	Failcnt  uint64 `protobuf:"varint,3,opt,name=failcnt,proto3" json:"failcnt,omitempty"`
	Limit    uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryData) Descriptor deprecated

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

Deprecated: Use MemoryData.ProtoReflect.Descriptor instead.

func (*MemoryData) GetFailcnt

func (x *MemoryData) GetFailcnt() uint64

func (*MemoryData) GetLimit

func (x *MemoryData) GetLimit() uint64

func (*MemoryData) GetMaxUsage

func (x *MemoryData) GetMaxUsage() uint64

func (*MemoryData) GetUsage

func (x *MemoryData) GetUsage() uint64

func (*MemoryData) ProtoMessage

func (*MemoryData) ProtoMessage()

func (*MemoryData) ProtoReflect

func (x *MemoryData) ProtoReflect() protoreflect.Message

func (*MemoryData) Reset

func (x *MemoryData) Reset()

func (*MemoryData) String

func (x *MemoryData) String() string

type MemoryStats

type MemoryStats struct {
	Cache        uint64            `protobuf:"varint,1,opt,name=cache,proto3" json:"cache,omitempty"`
	Usage        *MemoryData       `protobuf:"bytes,2,opt,name=usage,proto3" json:"usage,omitempty"`
	SwapUsage    *MemoryData       `protobuf:"bytes,3,opt,name=swap_usage,json=swapUsage,proto3" json:"swap_usage,omitempty"`
	KernelUsage  *MemoryData       `protobuf:"bytes,4,opt,name=kernel_usage,json=kernelUsage,proto3" json:"kernel_usage,omitempty"`
	UseHierarchy bool              `protobuf:"varint,5,opt,name=use_hierarchy,json=useHierarchy,proto3" json:"use_hierarchy,omitempty"`
	Stats        map[string]uint64 `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MemoryStats) Descriptor deprecated

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

Deprecated: Use MemoryStats.ProtoReflect.Descriptor instead.

func (*MemoryStats) GetCache

func (x *MemoryStats) GetCache() uint64

func (*MemoryStats) GetKernelUsage

func (x *MemoryStats) GetKernelUsage() *MemoryData

func (*MemoryStats) GetStats

func (x *MemoryStats) GetStats() map[string]uint64

func (*MemoryStats) GetSwapUsage

func (x *MemoryStats) GetSwapUsage() *MemoryData

func (*MemoryStats) GetUsage

func (x *MemoryStats) GetUsage() *MemoryData

func (*MemoryStats) GetUseHierarchy

func (x *MemoryStats) GetUseHierarchy() bool

func (*MemoryStats) ProtoMessage

func (*MemoryStats) ProtoMessage()

func (*MemoryStats) ProtoReflect

func (x *MemoryStats) ProtoReflect() protoreflect.Message

func (*MemoryStats) Reset

func (x *MemoryStats) Reset()

func (*MemoryStats) String

func (x *MemoryStats) String() string

type Metrics

type Metrics struct {
	Metrics string `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*Metrics) Descriptor deprecated

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

Deprecated: Use Metrics.ProtoReflect.Descriptor instead.

func (*Metrics) GetMetrics

func (x *Metrics) GetMetrics() string

func (*Metrics) ProtoMessage

func (*Metrics) ProtoMessage()

func (*Metrics) ProtoReflect

func (x *Metrics) ProtoReflect() protoreflect.Message

func (*Metrics) Reset

func (x *Metrics) Reset()

func (*Metrics) String

func (x *Metrics) String() string

type Mount

type Mount struct {

	// destination is the path inside the container expect when it starts with "tmp:/"
	Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
	// source is the path inside the container expect when it starts with "vm:/dev/" or "tmp:/"
	// the path which starts with "vm:/dev/" refers the guest vm's "/dev",
	// especially, "vm:/dev/hostfs/" refers to the shared filesystem.
	// "tmp:/" is a temporary directory which is used for temporary mounts.
	Source  string   `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Type    string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Options []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*Mount) Descriptor deprecated

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

Deprecated: Use Mount.ProtoReflect.Descriptor instead.

func (*Mount) GetDestination

func (x *Mount) GetDestination() string

func (*Mount) GetOptions

func (x *Mount) GetOptions() []string

func (*Mount) GetSource

func (x *Mount) GetSource() string

func (*Mount) GetType

func (x *Mount) GetType() string

func (*Mount) ProtoMessage

func (*Mount) ProtoMessage()

func (*Mount) ProtoReflect

func (x *Mount) ProtoReflect() protoreflect.Message

func (*Mount) Reset

func (x *Mount) Reset()

func (*Mount) String

func (x *Mount) String() string

type NetworkStats

type NetworkStats struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	RxBytes   uint64 `protobuf:"varint,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
	RxPackets uint64 `protobuf:"varint,3,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
	RxErrors  uint64 `protobuf:"varint,4,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"`
	RxDropped uint64 `protobuf:"varint,5,opt,name=rx_dropped,json=rxDropped,proto3" json:"rx_dropped,omitempty"`
	TxBytes   uint64 `protobuf:"varint,6,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	TxPackets uint64 `protobuf:"varint,7,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`
	TxErrors  uint64 `protobuf:"varint,8,opt,name=tx_errors,json=txErrors,proto3" json:"tx_errors,omitempty"`
	TxDropped uint64 `protobuf:"varint,9,opt,name=tx_dropped,json=txDropped,proto3" json:"tx_dropped,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkStats) Descriptor deprecated

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

Deprecated: Use NetworkStats.ProtoReflect.Descriptor instead.

func (*NetworkStats) GetName

func (x *NetworkStats) GetName() string

func (*NetworkStats) GetRxBytes

func (x *NetworkStats) GetRxBytes() uint64

func (*NetworkStats) GetRxDropped

func (x *NetworkStats) GetRxDropped() uint64

func (*NetworkStats) GetRxErrors

func (x *NetworkStats) GetRxErrors() uint64

func (*NetworkStats) GetRxPackets

func (x *NetworkStats) GetRxPackets() uint64

func (*NetworkStats) GetTxBytes

func (x *NetworkStats) GetTxBytes() uint64

func (*NetworkStats) GetTxDropped

func (x *NetworkStats) GetTxDropped() uint64

func (*NetworkStats) GetTxErrors

func (x *NetworkStats) GetTxErrors() uint64

func (*NetworkStats) GetTxPackets

func (x *NetworkStats) GetTxPackets() uint64

func (*NetworkStats) ProtoMessage

func (*NetworkStats) ProtoMessage()

func (*NetworkStats) ProtoReflect

func (x *NetworkStats) ProtoReflect() protoreflect.Message

func (*NetworkStats) Reset

func (x *NetworkStats) Reset()

func (*NetworkStats) String

func (x *NetworkStats) String() string

type OOMEvent

type OOMEvent struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*OOMEvent) Descriptor deprecated

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

Deprecated: Use OOMEvent.ProtoReflect.Descriptor instead.

func (*OOMEvent) GetContainerId

func (x *OOMEvent) GetContainerId() string

func (*OOMEvent) ProtoMessage

func (*OOMEvent) ProtoMessage()

func (*OOMEvent) ProtoReflect

func (x *OOMEvent) ProtoReflect() protoreflect.Message

func (*OOMEvent) Reset

func (x *OOMEvent) Reset()

func (*OOMEvent) String

func (x *OOMEvent) String() string

type OnlineCPUMemRequest

type OnlineCPUMemRequest struct {

	// Wait specifies if the caller waits for the agent to online all resources.
	// If true the agent returns once all resources have been connected, otherwise all
	// resources are connected asynchronously and the agent returns immediately.
	Wait bool `protobuf:"varint,1,opt,name=wait,proto3" json:"wait,omitempty"`
	// NbCpus specifies the number of CPUs that should be onlined in the guest.
	// Special value 0 means agent will skip this check.
	NbCpus uint32 `protobuf:"varint,2,opt,name=nb_cpus,json=nbCpus,proto3" json:"nb_cpus,omitempty"`
	// CpuOnly specifies whether only online CPU or not.
	CpuOnly bool `protobuf:"varint,3,opt,name=cpu_only,json=cpuOnly,proto3" json:"cpu_only,omitempty"`
	// contains filtered or unexported fields
}

func (*OnlineCPUMemRequest) Descriptor deprecated

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

Deprecated: Use OnlineCPUMemRequest.ProtoReflect.Descriptor instead.

func (*OnlineCPUMemRequest) GetCpuOnly

func (x *OnlineCPUMemRequest) GetCpuOnly() bool

func (*OnlineCPUMemRequest) GetNbCpus

func (x *OnlineCPUMemRequest) GetNbCpus() uint32

func (*OnlineCPUMemRequest) GetWait

func (x *OnlineCPUMemRequest) GetWait() bool

func (*OnlineCPUMemRequest) ProtoMessage

func (*OnlineCPUMemRequest) ProtoMessage()

func (*OnlineCPUMemRequest) ProtoReflect

func (x *OnlineCPUMemRequest) ProtoReflect() protoreflect.Message

func (*OnlineCPUMemRequest) Reset

func (x *OnlineCPUMemRequest) Reset()

func (*OnlineCPUMemRequest) String

func (x *OnlineCPUMemRequest) String() string

type POSIXRlimit

type POSIXRlimit struct {

	// Type of the rlimit to set
	Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
	// Hard is the hard limit for the specified type
	Hard uint64 `protobuf:"varint,2,opt,name=Hard,proto3" json:"Hard,omitempty"`
	// Soft is the soft limit for the specified type
	Soft uint64 `protobuf:"varint,3,opt,name=Soft,proto3" json:"Soft,omitempty"`
	// contains filtered or unexported fields
}

func (*POSIXRlimit) Descriptor deprecated

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

Deprecated: Use POSIXRlimit.ProtoReflect.Descriptor instead.

func (*POSIXRlimit) GetHard

func (x *POSIXRlimit) GetHard() uint64

func (*POSIXRlimit) GetSoft

func (x *POSIXRlimit) GetSoft() uint64

func (*POSIXRlimit) GetType

func (x *POSIXRlimit) GetType() string

func (*POSIXRlimit) ProtoMessage

func (*POSIXRlimit) ProtoMessage()

func (*POSIXRlimit) ProtoReflect

func (x *POSIXRlimit) ProtoReflect() protoreflect.Message

func (*POSIXRlimit) Reset

func (x *POSIXRlimit) Reset()

func (*POSIXRlimit) String

func (x *POSIXRlimit) String() string

type PauseContainerRequest

type PauseContainerRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseContainerRequest) Descriptor deprecated

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

Deprecated: Use PauseContainerRequest.ProtoReflect.Descriptor instead.

func (*PauseContainerRequest) GetContainerId

func (x *PauseContainerRequest) GetContainerId() string

func (*PauseContainerRequest) ProtoMessage

func (*PauseContainerRequest) ProtoMessage()

func (*PauseContainerRequest) ProtoReflect

func (x *PauseContainerRequest) ProtoReflect() protoreflect.Message

func (*PauseContainerRequest) Reset

func (x *PauseContainerRequest) Reset()

func (*PauseContainerRequest) String

func (x *PauseContainerRequest) String() string

type PidsStats

type PidsStats struct {
	Current uint64 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"`
	Limit   uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*PidsStats) Descriptor deprecated

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

Deprecated: Use PidsStats.ProtoReflect.Descriptor instead.

func (*PidsStats) GetCurrent

func (x *PidsStats) GetCurrent() uint64

func (*PidsStats) GetLimit

func (x *PidsStats) GetLimit() uint64

func (*PidsStats) ProtoMessage

func (*PidsStats) ProtoMessage()

func (*PidsStats) ProtoReflect

func (x *PidsStats) ProtoReflect() protoreflect.Message

func (*PidsStats) Reset

func (x *PidsStats) Reset()

func (*PidsStats) String

func (x *PidsStats) String() string

type Process

type Process struct {

	// Terminal creates an interactive terminal for the container.
	Terminal bool `protobuf:"varint,1,opt,name=Terminal,proto3" json:"Terminal,omitempty"`
	// ConsoleSize specifies the size of the console.
	ConsoleSize *Box `protobuf:"bytes,2,opt,name=ConsoleSize,proto3" json:"ConsoleSize,omitempty"`
	// User specifies user information for the process.
	User *User `protobuf:"bytes,3,opt,name=User,proto3" json:"User,omitempty"`
	// Args specifies the binary and arguments for the application to execute.
	Args []string `protobuf:"bytes,4,rep,name=Args,proto3" json:"Args,omitempty"`
	// Env populates the process environment for the process.
	Env []string `protobuf:"bytes,5,rep,name=Env,proto3" json:"Env,omitempty"`
	// Cwd is the current working directory for the process and must be
	// relative to the container's root.
	Cwd string `protobuf:"bytes,6,opt,name=Cwd,proto3" json:"Cwd,omitempty"`
	// Capabilities are Linux capabilities that are kept for the process.
	Capabilities *LinuxCapabilities `protobuf:"bytes,7,opt,name=Capabilities,proto3" json:"Capabilities,omitempty"`
	// Rlimits specifies rlimit options to apply to the process.
	Rlimits []*POSIXRlimit `protobuf:"bytes,8,rep,name=Rlimits,proto3" json:"Rlimits,omitempty"`
	// NoNewPrivileges controls whether additional privileges could be gained by processes in the container.
	NoNewPrivileges bool `protobuf:"varint,9,opt,name=NoNewPrivileges,proto3" json:"NoNewPrivileges,omitempty"`
	// ApparmorProfile specifies the apparmor profile for the container.
	ApparmorProfile string `protobuf:"bytes,10,opt,name=ApparmorProfile,proto3" json:"ApparmorProfile,omitempty"`
	// Specify an oom_score_adj for the container.
	OOMScoreAdj int64 `protobuf:"varint,11,opt,name=OOMScoreAdj,proto3" json:"OOMScoreAdj,omitempty"`
	// SelinuxLabel specifies the selinux context that the container process is run as.
	SelinuxLabel string `protobuf:"bytes,12,opt,name=SelinuxLabel,proto3" json:"SelinuxLabel,omitempty"`
	// contains filtered or unexported fields
}

func ProcessOCItoGRPC

func ProcessOCItoGRPC(ociProcess *specs.Process) (*Process, error)

ProcessOCItoGRPC converts an OCI process specification into its gRPC representation

func (*Process) Descriptor deprecated

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

Deprecated: Use Process.ProtoReflect.Descriptor instead.

func (*Process) GetApparmorProfile

func (x *Process) GetApparmorProfile() string

func (*Process) GetArgs

func (x *Process) GetArgs() []string

func (*Process) GetCapabilities

func (x *Process) GetCapabilities() *LinuxCapabilities

func (*Process) GetConsoleSize

func (x *Process) GetConsoleSize() *Box

func (*Process) GetCwd

func (x *Process) GetCwd() string

func (*Process) GetEnv

func (x *Process) GetEnv() []string

func (*Process) GetNoNewPrivileges

func (x *Process) GetNoNewPrivileges() bool

func (*Process) GetOOMScoreAdj

func (x *Process) GetOOMScoreAdj() int64

func (*Process) GetRlimits

func (x *Process) GetRlimits() []*POSIXRlimit

func (*Process) GetSelinuxLabel

func (x *Process) GetSelinuxLabel() string

func (*Process) GetTerminal

func (x *Process) GetTerminal() bool

func (*Process) GetUser

func (x *Process) GetUser() *User

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) ProtoReflect

func (x *Process) ProtoReflect() protoreflect.Message

func (*Process) Reset

func (x *Process) Reset()

func (*Process) String

func (x *Process) String() string

type ReadStreamRequest

type ReadStreamRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	ExecId      string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	Len         uint32 `protobuf:"varint,3,opt,name=len,proto3" json:"len,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadStreamRequest) Descriptor deprecated

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

Deprecated: Use ReadStreamRequest.ProtoReflect.Descriptor instead.

func (*ReadStreamRequest) GetContainerId

func (x *ReadStreamRequest) GetContainerId() string

func (*ReadStreamRequest) GetExecId

func (x *ReadStreamRequest) GetExecId() string

func (*ReadStreamRequest) GetLen

func (x *ReadStreamRequest) GetLen() uint32

func (*ReadStreamRequest) ProtoMessage

func (*ReadStreamRequest) ProtoMessage()

func (*ReadStreamRequest) ProtoReflect

func (x *ReadStreamRequest) ProtoReflect() protoreflect.Message

func (*ReadStreamRequest) Reset

func (x *ReadStreamRequest) Reset()

func (*ReadStreamRequest) String

func (x *ReadStreamRequest) String() string

type ReadStreamResponse

type ReadStreamResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadStreamResponse) Descriptor deprecated

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

Deprecated: Use ReadStreamResponse.ProtoReflect.Descriptor instead.

func (*ReadStreamResponse) GetData

func (x *ReadStreamResponse) GetData() []byte

func (*ReadStreamResponse) ProtoMessage

func (*ReadStreamResponse) ProtoMessage()

func (*ReadStreamResponse) ProtoReflect

func (x *ReadStreamResponse) ProtoReflect() protoreflect.Message

func (*ReadStreamResponse) Reset

func (x *ReadStreamResponse) Reset()

func (*ReadStreamResponse) String

func (x *ReadStreamResponse) String() string

type RemoveContainerRequest

type RemoveContainerRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// RemoveContainer will return an error if
	// it could not kill some container processes
	// after timeout seconds.
	// Setting timeout to 0 means RemoveContainer will
	// wait for ever.
	Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveContainerRequest) Descriptor deprecated

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

Deprecated: Use RemoveContainerRequest.ProtoReflect.Descriptor instead.

func (*RemoveContainerRequest) GetContainerId

func (x *RemoveContainerRequest) GetContainerId() string

func (*RemoveContainerRequest) GetTimeout

func (x *RemoveContainerRequest) GetTimeout() uint32

func (*RemoveContainerRequest) ProtoMessage

func (*RemoveContainerRequest) ProtoMessage()

func (*RemoveContainerRequest) ProtoReflect

func (x *RemoveContainerRequest) ProtoReflect() protoreflect.Message

func (*RemoveContainerRequest) Reset

func (x *RemoveContainerRequest) Reset()

func (*RemoveContainerRequest) String

func (x *RemoveContainerRequest) String() string

type RemoveStaleVirtiofsShareMountsRequest

type RemoveStaleVirtiofsShareMountsRequest struct {
	// contains filtered or unexported fields
}

func (*RemoveStaleVirtiofsShareMountsRequest) Descriptor deprecated

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

Deprecated: Use RemoveStaleVirtiofsShareMountsRequest.ProtoReflect.Descriptor instead.

func (*RemoveStaleVirtiofsShareMountsRequest) ProtoMessage

func (*RemoveStaleVirtiofsShareMountsRequest) ProtoMessage()

func (*RemoveStaleVirtiofsShareMountsRequest) ProtoReflect

func (*RemoveStaleVirtiofsShareMountsRequest) Reset

func (*RemoveStaleVirtiofsShareMountsRequest) String

type ReseedRandomDevRequest

type ReseedRandomDevRequest struct {

	// Data specifies the random data used to reseed the guest crng.
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ReseedRandomDevRequest) Descriptor deprecated

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

Deprecated: Use ReseedRandomDevRequest.ProtoReflect.Descriptor instead.

func (*ReseedRandomDevRequest) GetData

func (x *ReseedRandomDevRequest) GetData() []byte

func (*ReseedRandomDevRequest) ProtoMessage

func (*ReseedRandomDevRequest) ProtoMessage()

func (*ReseedRandomDevRequest) ProtoReflect

func (x *ReseedRandomDevRequest) ProtoReflect() protoreflect.Message

func (*ReseedRandomDevRequest) Reset

func (x *ReseedRandomDevRequest) Reset()

func (*ReseedRandomDevRequest) String

func (x *ReseedRandomDevRequest) String() string

type ResizeVolumeRequest

type ResizeVolumeRequest struct {

	// Full VM guest path of the volume (outside the container)
	VolumeGuestPath string `protobuf:"bytes,1,opt,name=volume_guest_path,json=volumeGuestPath,proto3" json:"volume_guest_path,omitempty"`
	Size            uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*ResizeVolumeRequest) Descriptor deprecated

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

Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead.

func (*ResizeVolumeRequest) GetSize

func (x *ResizeVolumeRequest) GetSize() uint64

func (*ResizeVolumeRequest) GetVolumeGuestPath

func (x *ResizeVolumeRequest) GetVolumeGuestPath() string

func (*ResizeVolumeRequest) ProtoMessage

func (*ResizeVolumeRequest) ProtoMessage()

func (*ResizeVolumeRequest) ProtoReflect

func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message

func (*ResizeVolumeRequest) Reset

func (x *ResizeVolumeRequest) Reset()

func (*ResizeVolumeRequest) String

func (x *ResizeVolumeRequest) String() string

type ResumeContainerRequest

type ResumeContainerRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeContainerRequest) Descriptor deprecated

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

Deprecated: Use ResumeContainerRequest.ProtoReflect.Descriptor instead.

func (*ResumeContainerRequest) GetContainerId

func (x *ResumeContainerRequest) GetContainerId() string

func (*ResumeContainerRequest) ProtoMessage

func (*ResumeContainerRequest) ProtoMessage()

func (*ResumeContainerRequest) ProtoReflect

func (x *ResumeContainerRequest) ProtoReflect() protoreflect.Message

func (*ResumeContainerRequest) Reset

func (x *ResumeContainerRequest) Reset()

func (*ResumeContainerRequest) String

func (x *ResumeContainerRequest) String() string

type Root

type Root struct {

	// Path is the absolute path to the container's root filesystem.
	Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
	// Readonly makes the root filesystem for the container readonly before the process is executed.
	Readonly bool `protobuf:"varint,2,opt,name=Readonly,proto3" json:"Readonly,omitempty"`
	// contains filtered or unexported fields
}

func (*Root) Descriptor deprecated

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

Deprecated: Use Root.ProtoReflect.Descriptor instead.

func (*Root) GetPath

func (x *Root) GetPath() string

func (*Root) GetReadonly

func (x *Root) GetReadonly() bool

func (*Root) ProtoMessage

func (*Root) ProtoMessage()

func (*Root) ProtoReflect

func (x *Root) ProtoReflect() protoreflect.Message

func (*Root) Reset

func (x *Root) Reset()

func (*Root) String

func (x *Root) String() string

type Routes

type Routes struct {
	Routes []*protocols.Route `protobuf:"bytes,1,rep,name=Routes,proto3" json:"Routes,omitempty"`
	// contains filtered or unexported fields
}

func (*Routes) Descriptor deprecated

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

Deprecated: Use Routes.ProtoReflect.Descriptor instead.

func (*Routes) GetRoutes

func (x *Routes) GetRoutes() []*protocols.Route

func (*Routes) ProtoMessage

func (*Routes) ProtoMessage()

func (*Routes) ProtoReflect

func (x *Routes) ProtoReflect() protoreflect.Message

func (*Routes) Reset

func (x *Routes) Reset()

func (*Routes) String

func (x *Routes) String() string

type SetGuestDateTimeRequest

type SetGuestDateTimeRequest struct {

	// Sec the second since the Epoch.
	Sec int64 `protobuf:"varint,1,opt,name=Sec,proto3" json:"Sec,omitempty"`
	// Usec the microseconds portion of time since the Epoch.
	Usec int64 `protobuf:"varint,2,opt,name=Usec,proto3" json:"Usec,omitempty"`
	// contains filtered or unexported fields
}

func (*SetGuestDateTimeRequest) Descriptor deprecated

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

Deprecated: Use SetGuestDateTimeRequest.ProtoReflect.Descriptor instead.

func (*SetGuestDateTimeRequest) GetSec

func (x *SetGuestDateTimeRequest) GetSec() int64

func (*SetGuestDateTimeRequest) GetUsec

func (x *SetGuestDateTimeRequest) GetUsec() int64

func (*SetGuestDateTimeRequest) ProtoMessage

func (*SetGuestDateTimeRequest) ProtoMessage()

func (*SetGuestDateTimeRequest) ProtoReflect

func (x *SetGuestDateTimeRequest) ProtoReflect() protoreflect.Message

func (*SetGuestDateTimeRequest) Reset

func (x *SetGuestDateTimeRequest) Reset()

func (*SetGuestDateTimeRequest) String

func (x *SetGuestDateTimeRequest) String() string

type SetIPTablesRequest

type SetIPTablesRequest struct {
	IsIpv6 bool `protobuf:"varint,1,opt,name=is_ipv6,json=isIpv6,proto3" json:"is_ipv6,omitempty"`
	// iptables, in raw format expected to be passed to stdin
	// of iptables-save or ip6tables-save
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SetIPTablesRequest) Descriptor deprecated

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

Deprecated: Use SetIPTablesRequest.ProtoReflect.Descriptor instead.

func (*SetIPTablesRequest) GetData

func (x *SetIPTablesRequest) GetData() []byte

func (*SetIPTablesRequest) GetIsIpv6

func (x *SetIPTablesRequest) GetIsIpv6() bool

func (*SetIPTablesRequest) ProtoMessage

func (*SetIPTablesRequest) ProtoMessage()

func (*SetIPTablesRequest) ProtoReflect

func (x *SetIPTablesRequest) ProtoReflect() protoreflect.Message

func (*SetIPTablesRequest) Reset

func (x *SetIPTablesRequest) Reset()

func (*SetIPTablesRequest) String

func (x *SetIPTablesRequest) String() string

type SetIPTablesResponse

type SetIPTablesResponse struct {

	// raw stdout from iptables-restore or ip6tables-restore
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SetIPTablesResponse) Descriptor deprecated

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

Deprecated: Use SetIPTablesResponse.ProtoReflect.Descriptor instead.

func (*SetIPTablesResponse) GetData

func (x *SetIPTablesResponse) GetData() []byte

func (*SetIPTablesResponse) ProtoMessage

func (*SetIPTablesResponse) ProtoMessage()

func (*SetIPTablesResponse) ProtoReflect

func (x *SetIPTablesResponse) ProtoReflect() protoreflect.Message

func (*SetIPTablesResponse) Reset

func (x *SetIPTablesResponse) Reset()

func (*SetIPTablesResponse) String

func (x *SetIPTablesResponse) String() string

type SetPolicyRequest

type SetPolicyRequest struct {
	Policy string `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPolicyRequest) Descriptor deprecated

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

Deprecated: Use SetPolicyRequest.ProtoReflect.Descriptor instead.

func (*SetPolicyRequest) GetPolicy

func (x *SetPolicyRequest) GetPolicy() string

func (*SetPolicyRequest) ProtoMessage

func (*SetPolicyRequest) ProtoMessage()

func (*SetPolicyRequest) ProtoReflect

func (x *SetPolicyRequest) ProtoReflect() protoreflect.Message

func (*SetPolicyRequest) Reset

func (x *SetPolicyRequest) Reset()

func (*SetPolicyRequest) String

func (x *SetPolicyRequest) String() string

type SharedMount

type SharedMount struct {

	// Name is used to identify a pair of shared mount points.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Src_ctr is used to specify the name of the source container.
	SrcCtr string `protobuf:"bytes,2,opt,name=src_ctr,json=srcCtr,proto3" json:"src_ctr,omitempty"`
	// Src_path is used to specify the path of the mount point. If the path doesn't
	// exist in the rootfs, it will be created.
	SrcPath string `protobuf:"bytes,3,opt,name=src_path,json=srcPath,proto3" json:"src_path,omitempty"`
	// Dst_ctr is used to specify the name of the destination container.
	DstCtr string `protobuf:"bytes,4,opt,name=dst_ctr,json=dstCtr,proto3" json:"dst_ctr,omitempty"`
	// Dst_path is used to specify the path of the mount point. If the path doesn't
	// exist in the rootfs, it will be created.
	DstPath string `protobuf:"bytes,5,opt,name=dst_path,json=dstPath,proto3" json:"dst_path,omitempty"`
	// contains filtered or unexported fields
}

SharedMount declares a set of shared mount points that support cross-container sharing of mount objects.

func (*SharedMount) Descriptor deprecated

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

Deprecated: Use SharedMount.ProtoReflect.Descriptor instead.

func (*SharedMount) GetDstCtr

func (x *SharedMount) GetDstCtr() string

func (*SharedMount) GetDstPath

func (x *SharedMount) GetDstPath() string

func (*SharedMount) GetName

func (x *SharedMount) GetName() string

func (*SharedMount) GetSrcCtr

func (x *SharedMount) GetSrcCtr() string

func (*SharedMount) GetSrcPath

func (x *SharedMount) GetSrcPath() string

func (*SharedMount) ProtoMessage

func (*SharedMount) ProtoMessage()

func (*SharedMount) ProtoReflect

func (x *SharedMount) ProtoReflect() protoreflect.Message

func (*SharedMount) Reset

func (x *SharedMount) Reset()

func (*SharedMount) String

func (x *SharedMount) String() string

type SignalProcessRequest

type SignalProcessRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Special case for SignalProcess(): exec_id can be empty(""),
	// which means to send the signal to all the processes including their descendants.
	// Other APIs with exec_id should treat empty exec_id as an invalid request.
	ExecId string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	Signal uint32 `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"`
	// contains filtered or unexported fields
}

func (*SignalProcessRequest) Descriptor deprecated

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

Deprecated: Use SignalProcessRequest.ProtoReflect.Descriptor instead.

func (*SignalProcessRequest) GetContainerId

func (x *SignalProcessRequest) GetContainerId() string

func (*SignalProcessRequest) GetExecId

func (x *SignalProcessRequest) GetExecId() string

func (*SignalProcessRequest) GetSignal

func (x *SignalProcessRequest) GetSignal() uint32

func (*SignalProcessRequest) ProtoMessage

func (*SignalProcessRequest) ProtoMessage()

func (*SignalProcessRequest) ProtoReflect

func (x *SignalProcessRequest) ProtoReflect() protoreflect.Message

func (*SignalProcessRequest) Reset

func (x *SignalProcessRequest) Reset()

func (*SignalProcessRequest) String

func (x *SignalProcessRequest) String() string

type Solaris

type Solaris struct {

	// Dummy string, never used.
	Dummy string `protobuf:"bytes,1,opt,name=dummy,proto3" json:"dummy,omitempty"`
	// contains filtered or unexported fields
}

func (*Solaris) Descriptor deprecated

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

Deprecated: Use Solaris.ProtoReflect.Descriptor instead.

func (*Solaris) GetDummy

func (x *Solaris) GetDummy() string

func (*Solaris) ProtoMessage

func (*Solaris) ProtoMessage()

func (*Solaris) ProtoReflect

func (x *Solaris) ProtoReflect() protoreflect.Message

func (*Solaris) Reset

func (x *Solaris) Reset()

func (*Solaris) String

func (x *Solaris) String() string

type Spec

type Spec struct {

	// Version of the Open Container Initiative Runtime Specification with which the bundle complies.
	Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"`
	// Process configures the container process.
	Process *Process `protobuf:"bytes,2,opt,name=Process,proto3" json:"Process,omitempty"`
	// Root configures the container's root filesystem.
	Root *Root `protobuf:"bytes,3,opt,name=Root,proto3" json:"Root,omitempty"`
	// Hostname configures the container's hostname.
	Hostname string `protobuf:"bytes,4,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
	// Mounts configures additional mounts (on top of Root).
	Mounts []*Mount `protobuf:"bytes,5,rep,name=Mounts,proto3" json:"Mounts,omitempty"`
	// Hooks configures callbacks for container lifecycle events.
	Hooks *Hooks `protobuf:"bytes,6,opt,name=Hooks,proto3" json:"Hooks,omitempty"`
	// Annotations contains arbitrary metadata for the container.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// Linux is platform-specific configuration for Linux based containers.
	Linux *Linux `protobuf:"bytes,8,opt,name=Linux,proto3" json:"Linux,omitempty"`
	// Solaris is platform-specific configuration for Solaris based containers.
	Solaris *Solaris `protobuf:"bytes,9,opt,name=Solaris,proto3" json:"Solaris,omitempty"`
	// Windows is platform-specific configuration for Windows based containers.
	Windows *Windows `protobuf:"bytes,10,opt,name=Windows,proto3" json:"Windows,omitempty"`
	// contains filtered or unexported fields
}

func OCItoGRPC

func OCItoGRPC(ociSpec *specs.Spec) (*Spec, error)

OCItoGRPC converts an OCI specification to its gRPC representation

func (*Spec) Descriptor deprecated

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

Deprecated: Use Spec.ProtoReflect.Descriptor instead.

func (*Spec) GetAnnotations

func (x *Spec) GetAnnotations() map[string]string

func (*Spec) GetHooks

func (x *Spec) GetHooks() *Hooks

func (*Spec) GetHostname

func (x *Spec) GetHostname() string

func (*Spec) GetLinux

func (x *Spec) GetLinux() *Linux

func (*Spec) GetMounts

func (x *Spec) GetMounts() []*Mount

func (*Spec) GetProcess

func (x *Spec) GetProcess() *Process

func (*Spec) GetRoot

func (x *Spec) GetRoot() *Root

func (*Spec) GetSolaris

func (x *Spec) GetSolaris() *Solaris

func (*Spec) GetVersion

func (x *Spec) GetVersion() string

func (*Spec) GetWindows

func (x *Spec) GetWindows() *Windows

func (*Spec) ProtoMessage

func (*Spec) ProtoMessage()

func (*Spec) ProtoReflect

func (x *Spec) ProtoReflect() protoreflect.Message

func (*Spec) Reset

func (x *Spec) Reset()

func (*Spec) String

func (x *Spec) String() string

type StartContainerRequest

type StartContainerRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartContainerRequest) Descriptor deprecated

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

Deprecated: Use StartContainerRequest.ProtoReflect.Descriptor instead.

func (*StartContainerRequest) GetContainerId

func (x *StartContainerRequest) GetContainerId() string

func (*StartContainerRequest) ProtoMessage

func (*StartContainerRequest) ProtoMessage()

func (*StartContainerRequest) ProtoReflect

func (x *StartContainerRequest) ProtoReflect() protoreflect.Message

func (*StartContainerRequest) Reset

func (x *StartContainerRequest) Reset()

func (*StartContainerRequest) String

func (x *StartContainerRequest) String() string

type StatsContainerRequest

type StatsContainerRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StatsContainerRequest) Descriptor deprecated

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

Deprecated: Use StatsContainerRequest.ProtoReflect.Descriptor instead.

func (*StatsContainerRequest) GetContainerId

func (x *StatsContainerRequest) GetContainerId() string

func (*StatsContainerRequest) ProtoMessage

func (*StatsContainerRequest) ProtoMessage()

func (*StatsContainerRequest) ProtoReflect

func (x *StatsContainerRequest) ProtoReflect() protoreflect.Message

func (*StatsContainerRequest) Reset

func (x *StatsContainerRequest) Reset()

func (*StatsContainerRequest) String

func (x *StatsContainerRequest) String() string

type StatsContainerResponse

type StatsContainerResponse struct {
	CgroupStats  *CgroupStats    `protobuf:"bytes,1,opt,name=cgroup_stats,json=cgroupStats,proto3" json:"cgroup_stats,omitempty"`
	NetworkStats []*NetworkStats `protobuf:"bytes,2,rep,name=network_stats,json=networkStats,proto3" json:"network_stats,omitempty"`
	// contains filtered or unexported fields
}

func (*StatsContainerResponse) Descriptor deprecated

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

Deprecated: Use StatsContainerResponse.ProtoReflect.Descriptor instead.

func (*StatsContainerResponse) GetCgroupStats

func (x *StatsContainerResponse) GetCgroupStats() *CgroupStats

func (*StatsContainerResponse) GetNetworkStats

func (x *StatsContainerResponse) GetNetworkStats() []*NetworkStats

func (*StatsContainerResponse) ProtoMessage

func (*StatsContainerResponse) ProtoMessage()

func (*StatsContainerResponse) ProtoReflect

func (x *StatsContainerResponse) ProtoReflect() protoreflect.Message

func (*StatsContainerResponse) Reset

func (x *StatsContainerResponse) Reset()

func (*StatsContainerResponse) String

func (x *StatsContainerResponse) String() string

type Storage

type Storage struct {

	// Driver is used to define the way the storage is passed through the
	// virtual machine. It can be "9p", "blk", or something else, but for
	// all cases, this will define if some extra steps are required before
	// this storage gets mounted into the container.
	Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
	// DriverOptions allows the caller to define a list of options such
	// as block sizes, numbers of luns, ... which are very specific to
	// every device and cannot be generalized through extra fields.
	DriverOptions []string `protobuf:"bytes,2,rep,name=driver_options,json=driverOptions,proto3" json:"driver_options,omitempty"`
	// Source can be anything representing the source of the storage. This
	// will be handled by the proper handler based on the Driver used.
	// For instance, it can be a very simple path if the caller knows the
	// name of device inside the VM, or it can be some sort of identifier
	// to let the agent find the device inside the VM.
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// Fstype represents the filesystem that needs to be used to mount the
	// storage inside the VM. For instance, it could be "xfs" for block
	// device, "9p" for shared filesystem, or "tmpfs" for shared /dev/shm.
	Fstype string `protobuf:"bytes,4,opt,name=fstype,proto3" json:"fstype,omitempty"`
	// Options describes the additional options that might be needed to
	// mount properly the storage filesystem.
	Options []string `protobuf:"bytes,5,rep,name=options,proto3" json:"options,omitempty"`
	// MountPoint refers to the path where the storage should be mounted
	// inside the VM.
	MountPoint string `protobuf:"bytes,6,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"`
	// FSGroup consists of the group ID and group ownership change policy
	// that the mounted volume must have its group ID changed to when specified.
	FsGroup *FSGroup `protobuf:"bytes,7,opt,name=fs_group,json=fsGroup,proto3" json:"fs_group,omitempty"`
	// contains filtered or unexported fields
}

Storage represents both the rootfs of the container, and any volume that could have been defined through the Mount list of the OCI specification.

func (*Storage) Descriptor deprecated

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

Deprecated: Use Storage.ProtoReflect.Descriptor instead.

func (*Storage) GetDriver

func (x *Storage) GetDriver() string

func (*Storage) GetDriverOptions

func (x *Storage) GetDriverOptions() []string

func (*Storage) GetFsGroup

func (x *Storage) GetFsGroup() *FSGroup

func (*Storage) GetFstype

func (x *Storage) GetFstype() string

func (*Storage) GetMountPoint

func (x *Storage) GetMountPoint() string

func (*Storage) GetOptions

func (x *Storage) GetOptions() []string

func (*Storage) GetSource

func (x *Storage) GetSource() string

func (*Storage) ProtoMessage

func (*Storage) ProtoMessage()

func (*Storage) ProtoReflect

func (x *Storage) ProtoReflect() protoreflect.Message

func (*Storage) Reset

func (x *Storage) Reset()

func (*Storage) String

func (x *Storage) String() string

type StringUser

type StringUser struct {
	Uid            string   `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid            string   `protobuf:"bytes,2,opt,name=gid,proto3" json:"gid,omitempty"`
	AdditionalGids []string `protobuf:"bytes,3,rep,name=additionalGids,proto3" json:"additionalGids,omitempty"`
	// contains filtered or unexported fields
}

func (*StringUser) Descriptor deprecated

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

Deprecated: Use StringUser.ProtoReflect.Descriptor instead.

func (*StringUser) GetAdditionalGids

func (x *StringUser) GetAdditionalGids() []string

func (*StringUser) GetGid

func (x *StringUser) GetGid() string

func (*StringUser) GetUid

func (x *StringUser) GetUid() string

func (*StringUser) ProtoMessage

func (*StringUser) ProtoMessage()

func (*StringUser) ProtoReflect

func (x *StringUser) ProtoReflect() protoreflect.Message

func (*StringUser) Reset

func (x *StringUser) Reset()

func (*StringUser) String

func (x *StringUser) String() string

type ThrottlingData

type ThrottlingData struct {
	Periods          uint64 `protobuf:"varint,1,opt,name=periods,proto3" json:"periods,omitempty"`
	ThrottledPeriods uint64 `protobuf:"varint,2,opt,name=throttled_periods,json=throttledPeriods,proto3" json:"throttled_periods,omitempty"`
	ThrottledTime    uint64 `protobuf:"varint,3,opt,name=throttled_time,json=throttledTime,proto3" json:"throttled_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ThrottlingData) Descriptor deprecated

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

Deprecated: Use ThrottlingData.ProtoReflect.Descriptor instead.

func (*ThrottlingData) GetPeriods

func (x *ThrottlingData) GetPeriods() uint64

func (*ThrottlingData) GetThrottledPeriods

func (x *ThrottlingData) GetThrottledPeriods() uint64

func (*ThrottlingData) GetThrottledTime

func (x *ThrottlingData) GetThrottledTime() uint64

func (*ThrottlingData) ProtoMessage

func (*ThrottlingData) ProtoMessage()

func (*ThrottlingData) ProtoReflect

func (x *ThrottlingData) ProtoReflect() protoreflect.Message

func (*ThrottlingData) Reset

func (x *ThrottlingData) Reset()

func (*ThrottlingData) String

func (x *ThrottlingData) String() string

type TtyWinResizeRequest

type TtyWinResizeRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	ExecId      string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	Row         uint32 `protobuf:"varint,3,opt,name=row,proto3" json:"row,omitempty"`
	Column      uint32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
	// contains filtered or unexported fields
}

func (*TtyWinResizeRequest) Descriptor deprecated

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

Deprecated: Use TtyWinResizeRequest.ProtoReflect.Descriptor instead.

func (*TtyWinResizeRequest) GetColumn

func (x *TtyWinResizeRequest) GetColumn() uint32

func (*TtyWinResizeRequest) GetContainerId

func (x *TtyWinResizeRequest) GetContainerId() string

func (*TtyWinResizeRequest) GetExecId

func (x *TtyWinResizeRequest) GetExecId() string

func (*TtyWinResizeRequest) GetRow

func (x *TtyWinResizeRequest) GetRow() uint32

func (*TtyWinResizeRequest) ProtoMessage

func (*TtyWinResizeRequest) ProtoMessage()

func (*TtyWinResizeRequest) ProtoReflect

func (x *TtyWinResizeRequest) ProtoReflect() protoreflect.Message

func (*TtyWinResizeRequest) Reset

func (x *TtyWinResizeRequest) Reset()

func (*TtyWinResizeRequest) String

func (x *TtyWinResizeRequest) String() string

type UpdateContainerRequest

type UpdateContainerRequest struct {
	ContainerId string          `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	Resources   *LinuxResources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateContainerRequest) Descriptor deprecated

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

Deprecated: Use UpdateContainerRequest.ProtoReflect.Descriptor instead.

func (*UpdateContainerRequest) GetContainerId

func (x *UpdateContainerRequest) GetContainerId() string

func (*UpdateContainerRequest) GetResources

func (x *UpdateContainerRequest) GetResources() *LinuxResources

func (*UpdateContainerRequest) ProtoMessage

func (*UpdateContainerRequest) ProtoMessage()

func (*UpdateContainerRequest) ProtoReflect

func (x *UpdateContainerRequest) ProtoReflect() protoreflect.Message

func (*UpdateContainerRequest) Reset

func (x *UpdateContainerRequest) Reset()

func (*UpdateContainerRequest) String

func (x *UpdateContainerRequest) String() string

type UpdateEphemeralMountsRequest

type UpdateEphemeralMountsRequest struct {
	Storages []*Storage `protobuf:"bytes,1,rep,name=storages,proto3" json:"storages,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEphemeralMountsRequest) Descriptor deprecated

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

Deprecated: Use UpdateEphemeralMountsRequest.ProtoReflect.Descriptor instead.

func (*UpdateEphemeralMountsRequest) GetStorages

func (x *UpdateEphemeralMountsRequest) GetStorages() []*Storage

func (*UpdateEphemeralMountsRequest) ProtoMessage

func (*UpdateEphemeralMountsRequest) ProtoMessage()

func (*UpdateEphemeralMountsRequest) ProtoReflect

func (*UpdateEphemeralMountsRequest) Reset

func (x *UpdateEphemeralMountsRequest) Reset()

func (*UpdateEphemeralMountsRequest) String

type UpdateInterfaceRequest

type UpdateInterfaceRequest struct {
	Interface *protocols.Interface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateInterfaceRequest) Descriptor deprecated

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

Deprecated: Use UpdateInterfaceRequest.ProtoReflect.Descriptor instead.

func (*UpdateInterfaceRequest) GetInterface

func (x *UpdateInterfaceRequest) GetInterface() *protocols.Interface

func (*UpdateInterfaceRequest) ProtoMessage

func (*UpdateInterfaceRequest) ProtoMessage()

func (*UpdateInterfaceRequest) ProtoReflect

func (x *UpdateInterfaceRequest) ProtoReflect() protoreflect.Message

func (*UpdateInterfaceRequest) Reset

func (x *UpdateInterfaceRequest) Reset()

func (*UpdateInterfaceRequest) String

func (x *UpdateInterfaceRequest) String() string

type UpdateRoutesRequest

type UpdateRoutesRequest struct {
	Routes *Routes `protobuf:"bytes,1,opt,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoutesRequest) Descriptor deprecated

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

Deprecated: Use UpdateRoutesRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoutesRequest) GetRoutes

func (x *UpdateRoutesRequest) GetRoutes() *Routes

func (*UpdateRoutesRequest) ProtoMessage

func (*UpdateRoutesRequest) ProtoMessage()

func (*UpdateRoutesRequest) ProtoReflect

func (x *UpdateRoutesRequest) ProtoReflect() protoreflect.Message

func (*UpdateRoutesRequest) Reset

func (x *UpdateRoutesRequest) Reset()

func (*UpdateRoutesRequest) String

func (x *UpdateRoutesRequest) String() string

type User

type User struct {

	// UID is the user id.
	UID uint32 `protobuf:"varint,1,opt,name=UID,proto3" json:"UID,omitempty"`
	// GID is the group id.
	GID uint32 `protobuf:"varint,2,opt,name=GID,proto3" json:"GID,omitempty"`
	// AdditionalGids are additional group ids set for the container's process.
	AdditionalGids []uint32 `protobuf:"varint,3,rep,packed,name=AdditionalGids,proto3" json:"AdditionalGids,omitempty"`
	// Username is the user name.
	Username string `protobuf:"bytes,4,opt,name=Username,proto3" json:"Username,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAdditionalGids

func (x *User) GetAdditionalGids() []uint32

func (*User) GetGID

func (x *User) GetGID() uint32

func (*User) GetUID

func (x *User) GetUID() uint32

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type VersionCheckResponse

type VersionCheckResponse struct {
	GrpcVersion  string `protobuf:"bytes,1,opt,name=grpc_version,json=grpcVersion,proto3" json:"grpc_version,omitempty"`
	AgentVersion string `protobuf:"bytes,2,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionCheckResponse) Descriptor deprecated

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

Deprecated: Use VersionCheckResponse.ProtoReflect.Descriptor instead.

func (*VersionCheckResponse) GetAgentVersion

func (x *VersionCheckResponse) GetAgentVersion() string

func (*VersionCheckResponse) GetGrpcVersion

func (x *VersionCheckResponse) GetGrpcVersion() string

func (*VersionCheckResponse) ProtoMessage

func (*VersionCheckResponse) ProtoMessage()

func (*VersionCheckResponse) ProtoReflect

func (x *VersionCheckResponse) ProtoReflect() protoreflect.Message

func (*VersionCheckResponse) Reset

func (x *VersionCheckResponse) Reset()

func (*VersionCheckResponse) String

func (x *VersionCheckResponse) String() string

type VolumeCondition

type VolumeCondition struct {

	// Normal volumes are available for use and operating optimally.
	// An abnormal volume does not meet these criteria.
	// This field is REQUIRED.
	Abnormal bool `protobuf:"varint,1,opt,name=abnormal,proto3" json:"abnormal,omitempty"`
	// The message describing the condition of the volume.
	// This field is REQUIRED.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

VolumeCondition represents the current condition of a volume.

func (*VolumeCondition) Descriptor deprecated

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

Deprecated: Use VolumeCondition.ProtoReflect.Descriptor instead.

func (*VolumeCondition) GetAbnormal

func (x *VolumeCondition) GetAbnormal() bool

func (*VolumeCondition) GetMessage

func (x *VolumeCondition) GetMessage() string

func (*VolumeCondition) ProtoMessage

func (*VolumeCondition) ProtoMessage()

func (*VolumeCondition) ProtoReflect

func (x *VolumeCondition) ProtoReflect() protoreflect.Message

func (*VolumeCondition) Reset

func (x *VolumeCondition) Reset()

func (*VolumeCondition) String

func (x *VolumeCondition) String() string

type VolumeStatsRequest

type VolumeStatsRequest struct {

	// The volume path on the guest outside the container
	VolumeGuestPath string `protobuf:"bytes,1,opt,name=volume_guest_path,json=volumeGuestPath,proto3" json:"volume_guest_path,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeStatsRequest) Descriptor deprecated

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

Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead.

func (*VolumeStatsRequest) GetVolumeGuestPath

func (x *VolumeStatsRequest) GetVolumeGuestPath() string

func (*VolumeStatsRequest) ProtoMessage

func (*VolumeStatsRequest) ProtoMessage()

func (*VolumeStatsRequest) ProtoReflect

func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message

func (*VolumeStatsRequest) Reset

func (x *VolumeStatsRequest) Reset()

func (*VolumeStatsRequest) String

func (x *VolumeStatsRequest) String() string

type VolumeStatsResponse

type VolumeStatsResponse struct {

	// This field is OPTIONAL.
	Usage []*VolumeUsage `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"`
	// Information about the current condition of the volume.
	// This field is OPTIONAL.
	// This field MUST be specified if the VOLUME_CONDITION node
	// capability is supported.
	VolumeCondition *VolumeCondition `protobuf:"bytes,2,opt,name=volume_condition,json=volumeCondition,proto3" json:"volume_condition,omitempty"`
	// contains filtered or unexported fields
}

This should be kept in sync with CSI NodeGetVolumeStatsResponse (https://github.com/container-storage-interface/spec/blob/v1.5.0/csi.proto)

func (*VolumeStatsResponse) Descriptor deprecated

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

Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead.

func (*VolumeStatsResponse) GetUsage

func (x *VolumeStatsResponse) GetUsage() []*VolumeUsage

func (*VolumeStatsResponse) GetVolumeCondition

func (x *VolumeStatsResponse) GetVolumeCondition() *VolumeCondition

func (*VolumeStatsResponse) ProtoMessage

func (*VolumeStatsResponse) ProtoMessage()

func (*VolumeStatsResponse) ProtoReflect

func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message

func (*VolumeStatsResponse) Reset

func (x *VolumeStatsResponse) Reset()

func (*VolumeStatsResponse) String

func (x *VolumeStatsResponse) String() string

type VolumeUsage

type VolumeUsage struct {

	// The available capacity in specified Unit. This field is OPTIONAL.
	// The value of this field MUST NOT be negative.
	Available uint64 `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
	// The total capacity in specified Unit. This field is REQUIRED.
	// The value of this field MUST NOT be negative.
	Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// The used capacity in specified Unit. This field is OPTIONAL.
	// The value of this field MUST NOT be negative.
	Used uint64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"`
	// Units by which values are measured. This field is REQUIRED.
	Unit VolumeUsage_Unit `protobuf:"varint,4,opt,name=unit,proto3,enum=grpc.VolumeUsage_Unit" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeUsage) Descriptor deprecated

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

Deprecated: Use VolumeUsage.ProtoReflect.Descriptor instead.

func (*VolumeUsage) GetAvailable

func (x *VolumeUsage) GetAvailable() uint64

func (*VolumeUsage) GetTotal

func (x *VolumeUsage) GetTotal() uint64

func (*VolumeUsage) GetUnit

func (x *VolumeUsage) GetUnit() VolumeUsage_Unit

func (*VolumeUsage) GetUsed

func (x *VolumeUsage) GetUsed() uint64

func (*VolumeUsage) ProtoMessage

func (*VolumeUsage) ProtoMessage()

func (*VolumeUsage) ProtoReflect

func (x *VolumeUsage) ProtoReflect() protoreflect.Message

func (*VolumeUsage) Reset

func (x *VolumeUsage) Reset()

func (*VolumeUsage) String

func (x *VolumeUsage) String() string

type VolumeUsage_Unit

type VolumeUsage_Unit int32
const (
	VolumeUsage_UNKNOWN VolumeUsage_Unit = 0
	VolumeUsage_BYTES   VolumeUsage_Unit = 1
	VolumeUsage_INODES  VolumeUsage_Unit = 2
)

func (VolumeUsage_Unit) Descriptor

func (VolumeUsage_Unit) Enum

func (VolumeUsage_Unit) EnumDescriptor deprecated

func (VolumeUsage_Unit) EnumDescriptor() ([]byte, []int)

Deprecated: Use VolumeUsage_Unit.Descriptor instead.

func (VolumeUsage_Unit) Number

func (VolumeUsage_Unit) String

func (x VolumeUsage_Unit) String() string

func (VolumeUsage_Unit) Type

type WaitProcessRequest

type WaitProcessRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	ExecId      string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WaitProcessRequest) Descriptor deprecated

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

Deprecated: Use WaitProcessRequest.ProtoReflect.Descriptor instead.

func (*WaitProcessRequest) GetContainerId

func (x *WaitProcessRequest) GetContainerId() string

func (*WaitProcessRequest) GetExecId

func (x *WaitProcessRequest) GetExecId() string

func (*WaitProcessRequest) ProtoMessage

func (*WaitProcessRequest) ProtoMessage()

func (*WaitProcessRequest) ProtoReflect

func (x *WaitProcessRequest) ProtoReflect() protoreflect.Message

func (*WaitProcessRequest) Reset

func (x *WaitProcessRequest) Reset()

func (*WaitProcessRequest) String

func (x *WaitProcessRequest) String() string

type WaitProcessResponse

type WaitProcessResponse struct {
	Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*WaitProcessResponse) Descriptor deprecated

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

Deprecated: Use WaitProcessResponse.ProtoReflect.Descriptor instead.

func (*WaitProcessResponse) GetStatus

func (x *WaitProcessResponse) GetStatus() int32

func (*WaitProcessResponse) ProtoMessage

func (*WaitProcessResponse) ProtoMessage()

func (*WaitProcessResponse) ProtoReflect

func (x *WaitProcessResponse) ProtoReflect() protoreflect.Message

func (*WaitProcessResponse) Reset

func (x *WaitProcessResponse) Reset()

func (*WaitProcessResponse) String

func (x *WaitProcessResponse) String() string

type Windows

type Windows struct {

	// Dummy string, never used.
	Dummy string `protobuf:"bytes,1,opt,name=dummy,proto3" json:"dummy,omitempty"`
	// contains filtered or unexported fields
}

func (*Windows) Descriptor deprecated

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

Deprecated: Use Windows.ProtoReflect.Descriptor instead.

func (*Windows) GetDummy

func (x *Windows) GetDummy() string

func (*Windows) ProtoMessage

func (*Windows) ProtoMessage()

func (*Windows) ProtoReflect

func (x *Windows) ProtoReflect() protoreflect.Message

func (*Windows) Reset

func (x *Windows) Reset()

func (*Windows) String

func (x *Windows) String() string

type WriteStreamRequest

type WriteStreamRequest struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	ExecId      string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	Data        []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteStreamRequest) Descriptor deprecated

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

Deprecated: Use WriteStreamRequest.ProtoReflect.Descriptor instead.

func (*WriteStreamRequest) GetContainerId

func (x *WriteStreamRequest) GetContainerId() string

func (*WriteStreamRequest) GetData

func (x *WriteStreamRequest) GetData() []byte

func (*WriteStreamRequest) GetExecId

func (x *WriteStreamRequest) GetExecId() string

func (*WriteStreamRequest) ProtoMessage

func (*WriteStreamRequest) ProtoMessage()

func (*WriteStreamRequest) ProtoReflect

func (x *WriteStreamRequest) ProtoReflect() protoreflect.Message

func (*WriteStreamRequest) Reset

func (x *WriteStreamRequest) Reset()

func (*WriteStreamRequest) String

func (x *WriteStreamRequest) String() string

type WriteStreamResponse

type WriteStreamResponse struct {
	Len uint32 `protobuf:"varint,1,opt,name=len,proto3" json:"len,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteStreamResponse) Descriptor deprecated

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

Deprecated: Use WriteStreamResponse.ProtoReflect.Descriptor instead.

func (*WriteStreamResponse) GetLen

func (x *WriteStreamResponse) GetLen() uint32

func (*WriteStreamResponse) ProtoMessage

func (*WriteStreamResponse) ProtoMessage()

func (*WriteStreamResponse) ProtoReflect

func (x *WriteStreamResponse) ProtoReflect() protoreflect.Message

func (*WriteStreamResponse) Reset

func (x *WriteStreamResponse) Reset()

func (*WriteStreamResponse) String

func (x *WriteStreamResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL