Documentation
¶
Overview ¶
Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: pkg/api/api.proto
Index ¶
- Constants
- Variables
- func CheckPluginIndex(idx string) error
- func ClearRemovalMarker(key string) string
- func DupStringMap(in map[string]string) map[string]string
- func DupStringSlice(in []string) []string
- func IsMarkedForRemoval(key string) (string, bool)
- func MarkForRemoval(key string) string
- func ParsePluginName(name string) (string, string, error)
- func RegisterHostFunctionsService(srv *ttrpc.Server, svc HostFunctionsService)
- func RegisterPluginService(srv *ttrpc.Server, svc PluginService)
- func RegisterRuntimeService(srv *ttrpc.Server, svc RuntimeService)
- func ToOCILinuxSeccompArgs(o []*LinuxSeccompArg) []rspec.LinuxSeccompArg
- func ToOCILinuxSyscalls(o []*LinuxSyscall) []rspec.LinuxSyscall
- func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
- func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
- type CDIDevice
- func (*CDIDevice) Descriptor() ([]byte, []int)deprecated
- func (x *CDIDevice) GetName() string
- func (m *CDIDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CDIDevice) MarshalToVT(dAtA []byte) (int, error)
- func (m *CDIDevice) MarshalVT() (dAtA []byte, err error)
- func (*CDIDevice) ProtoMessage()
- func (x *CDIDevice) ProtoReflect() protoreflect.Message
- func (x *CDIDevice) Reset()
- func (m *CDIDevice) SizeVT() (n int)
- func (x *CDIDevice) String() string
- func (m *CDIDevice) UnmarshalVT(dAtA []byte) error
- type CompoundFieldOwners
- func (*CompoundFieldOwners) Descriptor() ([]byte, []int)deprecated
- func (x *CompoundFieldOwners) GetOwners() map[string]string
- func (m *CompoundFieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CompoundFieldOwners) MarshalToVT(dAtA []byte) (int, error)
- func (m *CompoundFieldOwners) MarshalVT() (dAtA []byte, err error)
- func (*CompoundFieldOwners) ProtoMessage()
- func (x *CompoundFieldOwners) ProtoReflect() protoreflect.Message
- func (x *CompoundFieldOwners) Reset()
- func (m *CompoundFieldOwners) SizeVT() (n int)
- func (x *CompoundFieldOwners) String() string
- func (m *CompoundFieldOwners) UnmarshalVT(dAtA []byte) error
- type ConfigureRequest
- func (*ConfigureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureRequest) GetConfig() string
- func (x *ConfigureRequest) GetRegistrationTimeout() int64
- func (x *ConfigureRequest) GetRequestTimeout() int64
- func (x *ConfigureRequest) GetRuntimeName() string
- func (x *ConfigureRequest) GetRuntimeVersion() string
- func (m *ConfigureRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ConfigureRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ConfigureRequest) MarshalVT() (dAtA []byte, err error)
- func (*ConfigureRequest) ProtoMessage()
- func (x *ConfigureRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureRequest) Reset()
- func (m *ConfigureRequest) SizeVT() (n int)
- func (x *ConfigureRequest) String() string
- func (m *ConfigureRequest) UnmarshalVT(dAtA []byte) error
- type ConfigureResponse
- func (*ConfigureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureResponse) GetEvents() int32
- func (m *ConfigureResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ConfigureResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ConfigureResponse) MarshalVT() (dAtA []byte, err error)
- func (*ConfigureResponse) ProtoMessage()
- func (x *ConfigureResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigureResponse) Reset()
- func (m *ConfigureResponse) SizeVT() (n int)
- func (x *ConfigureResponse) String() string
- func (m *ConfigureResponse) UnmarshalVT(dAtA []byte) error
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetAnnotations() map[string]string
- func (x *Container) GetArgs() []string
- func (x *Container) GetCDIDevices() []*CDIDevice
- func (x *Container) GetCreatedAt() int64
- func (x *Container) GetCreatedAtTime() time.Time
- func (x *Container) GetEnv() []string
- func (x *Container) GetExitCode() int32
- func (x *Container) GetFinishedAt() int64
- func (x *Container) GetFinishedAtTime() time.Time
- func (x *Container) GetHooks() *Hooks
- func (x *Container) GetId() string
- func (x *Container) GetLabels() map[string]string
- func (x *Container) GetLinux() *LinuxContainer
- func (x *Container) GetMounts() []*Mount
- func (x *Container) GetName() string
- func (x *Container) GetPid() uint32
- func (x *Container) GetPodSandboxId() string
- func (x *Container) GetRlimits() []*POSIXRlimit
- func (x *Container) GetStartedAt() int64
- func (x *Container) GetStartedAtTime() time.Time
- func (x *Container) GetState() ContainerState
- func (x *Container) GetStatusMessage() string
- func (x *Container) GetStatusReason() string
- func (m *Container) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Container) MarshalToVT(dAtA []byte) (int, error)
- func (m *Container) MarshalVT() (dAtA []byte, err error)
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (m *Container) SizeVT() (n int)
- func (x *Container) String() string
- func (m *Container) UnmarshalVT(dAtA []byte) error
- type ContainerAdjustment
- func (a *ContainerAdjustment) AddAnnotation(key, value string)
- func (a *ContainerAdjustment) AddCDIDevice(d *CDIDevice)
- func (a *ContainerAdjustment) AddDevice(d *LinuxDevice)
- func (a *ContainerAdjustment) AddEnv(key, value string)
- func (a *ContainerAdjustment) AddHooks(h *Hooks)
- func (a *ContainerAdjustment) AddLinuxHugepageLimit(pageSize string, value uint64)
- func (a *ContainerAdjustment) AddLinuxUnified(key, value string)
- func (a *ContainerAdjustment) AddMount(m *Mount)
- func (a *ContainerAdjustment) AddOrReplaceNamespace(n *LinuxNamespace)
- func (a *ContainerAdjustment) AddRlimit(typ string, hard, soft uint64)
- func (*ContainerAdjustment) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerAdjustment) GetAnnotations() map[string]string
- func (x *ContainerAdjustment) GetArgs() []string
- func (x *ContainerAdjustment) GetCDIDevices() []*CDIDevice
- func (x *ContainerAdjustment) GetEnv() []*KeyValue
- func (x *ContainerAdjustment) GetHooks() *Hooks
- func (x *ContainerAdjustment) GetLinux() *LinuxContainerAdjustment
- func (x *ContainerAdjustment) GetMounts() []*Mount
- func (x *ContainerAdjustment) GetRlimits() []*POSIXRlimit
- func (m *ContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ContainerAdjustment) MarshalToVT(dAtA []byte) (int, error)
- func (m *ContainerAdjustment) MarshalVT() (dAtA []byte, err error)
- func (*ContainerAdjustment) ProtoMessage()
- func (x *ContainerAdjustment) ProtoReflect() protoreflect.Message
- func (a *ContainerAdjustment) RemoveAnnotation(key string)
- func (a *ContainerAdjustment) RemoveDevice(path string)
- func (a *ContainerAdjustment) RemoveEnv(key string)
- func (a *ContainerAdjustment) RemoveMount(ContainerPath string)
- func (a *ContainerAdjustment) RemoveNamespace(n *LinuxNamespace)
- func (x *ContainerAdjustment) Reset()
- func (a *ContainerAdjustment) SetArgs(args []string)
- func (a *ContainerAdjustment) SetLinuxBlockIOClass(value string)
- func (a *ContainerAdjustment) SetLinuxCPUPeriod(value int64)
- func (a *ContainerAdjustment) SetLinuxCPUQuota(value int64)
- func (a *ContainerAdjustment) SetLinuxCPURealtimePeriod(value uint64)
- func (a *ContainerAdjustment) SetLinuxCPURealtimeRuntime(value int64)
- func (a *ContainerAdjustment) SetLinuxCPUSetCPUs(value string)
- func (a *ContainerAdjustment) SetLinuxCPUSetMems(value string)
- func (a *ContainerAdjustment) SetLinuxCPUShares(value uint64)
- func (a *ContainerAdjustment) SetLinuxCgroupsPath(value string)
- func (a *ContainerAdjustment) SetLinuxIOPriority(ioprio *LinuxIOPriority)
- func (a *ContainerAdjustment) SetLinuxMemoryDisableOomKiller()
- func (a *ContainerAdjustment) SetLinuxMemoryKernel(value int64)
- func (a *ContainerAdjustment) SetLinuxMemoryKernelTCP(value int64)
- func (a *ContainerAdjustment) SetLinuxMemoryLimit(value int64)
- func (a *ContainerAdjustment) SetLinuxMemoryReservation(value int64)
- func (a *ContainerAdjustment) SetLinuxMemorySwap(value int64)
- func (a *ContainerAdjustment) SetLinuxMemorySwappiness(value uint64)
- func (a *ContainerAdjustment) SetLinuxMemoryUseHierarchy()
- func (a *ContainerAdjustment) SetLinuxOomScoreAdj(value *int)
- func (a *ContainerAdjustment) SetLinuxPidLimits(value int64)
- func (a *ContainerAdjustment) SetLinuxRDTClass(value string)
- func (a *ContainerAdjustment) SetLinuxSeccompPolicy(seccomp *LinuxSeccomp)
- func (m *ContainerAdjustment) SizeVT() (n int)
- func (x *ContainerAdjustment) String() string
- func (a *ContainerAdjustment) Strip() *ContainerAdjustment
- func (m *ContainerAdjustment) UnmarshalVT(dAtA []byte) error
- func (a *ContainerAdjustment) UpdateArgs(args []string)
- type ContainerEviction
- func (*ContainerEviction) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerEviction) GetContainerId() string
- func (x *ContainerEviction) GetReason() string
- func (m *ContainerEviction) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ContainerEviction) MarshalToVT(dAtA []byte) (int, error)
- func (m *ContainerEviction) MarshalVT() (dAtA []byte, err error)
- func (*ContainerEviction) ProtoMessage()
- func (x *ContainerEviction) ProtoReflect() protoreflect.Message
- func (x *ContainerEviction) Reset()
- func (m *ContainerEviction) SizeVT() (n int)
- func (x *ContainerEviction) String() string
- func (m *ContainerEviction) UnmarshalVT(dAtA []byte) error
- type ContainerState
- func (ContainerState) Descriptor() protoreflect.EnumDescriptor
- func (x ContainerState) Enum() *ContainerState
- func (ContainerState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContainerState) Number() protoreflect.EnumNumber
- func (x ContainerState) String() string
- func (ContainerState) Type() protoreflect.EnumType
- type ContainerUpdate
- func (u *ContainerUpdate) AddLinuxHugepageLimit(pageSize string, value uint64)
- func (u *ContainerUpdate) AddLinuxUnified(key, value string)
- func (*ContainerUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerUpdate) GetContainerId() string
- func (x *ContainerUpdate) GetIgnoreFailure() bool
- func (x *ContainerUpdate) GetLinux() *LinuxContainerUpdate
- func (m *ContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ContainerUpdate) MarshalToVT(dAtA []byte) (int, error)
- func (m *ContainerUpdate) MarshalVT() (dAtA []byte, err error)
- func (*ContainerUpdate) ProtoMessage()
- func (x *ContainerUpdate) ProtoReflect() protoreflect.Message
- func (x *ContainerUpdate) Reset()
- func (u *ContainerUpdate) SetContainerId(id string)
- func (u *ContainerUpdate) SetIgnoreFailure()
- func (u *ContainerUpdate) SetLinuxBlockIOClass(value string)
- func (u *ContainerUpdate) SetLinuxCPUPeriod(value int64)
- func (u *ContainerUpdate) SetLinuxCPUQuota(value int64)
- func (u *ContainerUpdate) SetLinuxCPURealtimePeriod(value uint64)
- func (u *ContainerUpdate) SetLinuxCPURealtimeRuntime(value int64)
- func (u *ContainerUpdate) SetLinuxCPUSetCPUs(value string)
- func (u *ContainerUpdate) SetLinuxCPUSetMems(value string)
- func (u *ContainerUpdate) SetLinuxCPUShares(value uint64)
- func (u *ContainerUpdate) SetLinuxMemoryDisableOomKiller()
- func (u *ContainerUpdate) SetLinuxMemoryKernel(value int64)
- func (u *ContainerUpdate) SetLinuxMemoryKernelTCP(value int64)
- func (u *ContainerUpdate) SetLinuxMemoryLimit(value int64)
- func (u *ContainerUpdate) SetLinuxMemoryReservation(value int64)
- func (u *ContainerUpdate) SetLinuxMemorySwap(value int64)
- func (u *ContainerUpdate) SetLinuxMemorySwappiness(value uint64)
- func (u *ContainerUpdate) SetLinuxMemoryUseHierarchy()
- func (u *ContainerUpdate) SetLinuxPidLimits(value int64)
- func (u *ContainerUpdate) SetLinuxRDTClass(value string)
- func (m *ContainerUpdate) SizeVT() (n int)
- func (x *ContainerUpdate) String() string
- func (u *ContainerUpdate) Strip() *ContainerUpdate
- func (m *ContainerUpdate) UnmarshalVT(dAtA []byte) error
- type CreateContainerRequest
- func (*CreateContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerRequest) GetContainer() *Container
- func (x *CreateContainerRequest) GetPod() *PodSandbox
- func (m *CreateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateContainerRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateContainerRequest) MarshalVT() (dAtA []byte, err error)
- func (*CreateContainerRequest) ProtoMessage()
- func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateContainerRequest) Reset()
- func (m *CreateContainerRequest) SizeVT() (n int)
- func (x *CreateContainerRequest) String() string
- func (m *CreateContainerRequest) UnmarshalVT(dAtA []byte) error
- type CreateContainerResponse
- func (*CreateContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerResponse) GetAdjust() *ContainerAdjustment
- func (x *CreateContainerResponse) GetEvict() []*ContainerEviction
- func (x *CreateContainerResponse) GetUpdate() []*ContainerUpdate
- func (m *CreateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateContainerResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateContainerResponse) MarshalVT() (dAtA []byte, err error)
- func (*CreateContainerResponse) ProtoMessage()
- func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateContainerResponse) Reset()
- func (m *CreateContainerResponse) SizeVT() (n int)
- func (x *CreateContainerResponse) String() string
- func (m *CreateContainerResponse) UnmarshalVT(dAtA []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)deprecated
- func (m *Empty) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Empty) MarshalToVT(dAtA []byte) (int, error)
- func (m *Empty) MarshalVT() (dAtA []byte, err error)
- func (*Empty) ProtoMessage()
- func (x *Empty) ProtoReflect() protoreflect.Message
- func (x *Empty) Reset()
- func (m *Empty) SizeVT() (n int)
- func (x *Empty) String() string
- func (m *Empty) UnmarshalVT(dAtA []byte) error
- type Event
- type EventMask
- type Field
- type FieldOwners
- func (f *FieldOwners) AnnotationOwner(key string) (string, bool)
- func (f *FieldOwners) ArgsOwner() (string, bool)
- func (f *FieldOwners) BlockioClassOwner() (string, bool)
- func (f *FieldOwners) CPUPeriodOwner() (string, bool)
- func (f *FieldOwners) CPUQuotaOwner() (string, bool)
- func (f *FieldOwners) CPURealtimePeriodOwner() (string, bool)
- func (f *FieldOwners) CPURealtimeRuntimeOwner() (string, bool)
- func (f *FieldOwners) CPUSetCPUsOwner() (string, bool)
- func (f *FieldOwners) CPUSetMemsOwner() (string, bool)
- func (f *FieldOwners) CPUSharesOwner() (string, bool)
- func (f *FieldOwners) CgroupsPathOwner() (string, bool)
- func (f *FieldOwners) CgroupsUnifiedOwner(key string) (string, bool)
- func (f *FieldOwners) ClaimAnnotation(key, plugin string) error
- func (f *FieldOwners) ClaimArgs(plugin string) error
- func (f *FieldOwners) ClaimBlockioClass(plugin string) error
- func (f *FieldOwners) ClaimCPUPeriod(plugin string) error
- func (f *FieldOwners) ClaimCPUQuota(plugin string) error
- func (f *FieldOwners) ClaimCPURealtimePeriod(plugin string) error
- func (f *FieldOwners) ClaimCPURealtimeRuntime(plugin string) error
- func (f *FieldOwners) ClaimCPUSetCPUs(plugin string) error
- func (f *FieldOwners) ClaimCPUSetMems(plugin string) error
- func (f *FieldOwners) ClaimCPUShares(plugin string) error
- func (f *FieldOwners) ClaimCdiDevice(name, plugin string) error
- func (f *FieldOwners) ClaimCgroupsPath(plugin string) error
- func (f *FieldOwners) ClaimCgroupsUnified(key, plugin string) error
- func (f *FieldOwners) ClaimDevice(path, plugin string) error
- func (f *FieldOwners) ClaimEnv(name, plugin string) error
- func (f *FieldOwners) ClaimHooks(plugin string) error
- func (f *FieldOwners) ClaimHugepageLimit(size, plugin string) error
- func (f *FieldOwners) ClaimIOPriority(plugin string) error
- func (f *FieldOwners) ClaimMemDisableOomKiller(plugin string) error
- func (f *FieldOwners) ClaimMemKernelLimit(plugin string) error
- func (f *FieldOwners) ClaimMemLimit(plugin string) error
- func (f *FieldOwners) ClaimMemReservation(plugin string) error
- func (f *FieldOwners) ClaimMemSwapLimit(plugin string) error
- func (f *FieldOwners) ClaimMemSwappiness(plugin string) error
- func (f *FieldOwners) ClaimMemTCPLimit(plugin string) error
- func (f *FieldOwners) ClaimMemUseHierarchy(plugin string) error
- func (f *FieldOwners) ClaimMount(destination, plugin string) error
- func (f *FieldOwners) ClaimNamespace(typ, plugin string) error
- func (f *FieldOwners) ClaimOomScoreAdj(plugin string) error
- func (f *FieldOwners) ClaimPidsLimit(plugin string) error
- func (f *FieldOwners) ClaimRdtClass(plugin string) error
- func (f *FieldOwners) ClaimRlimit(typ, plugin string) error
- func (f *FieldOwners) ClaimSeccompPolicy(plugin string) error
- func (f *FieldOwners) ClearAnnotation(key, plugin string)
- func (f *FieldOwners) ClearArgs(plugin string)
- func (f *FieldOwners) ClearDevice(path, plugin string)
- func (f *FieldOwners) ClearEnv(name, plugin string)
- func (f *FieldOwners) ClearMount(destination, plugin string)
- func (f *FieldOwners) Conflict(field int32, plugin, other string, qualifiers ...string) error
- func (*FieldOwners) Descriptor() ([]byte, []int)deprecated
- func (f *FieldOwners) DeviceOwner(path string) (string, bool)
- func (f *FieldOwners) EnvOwner(name string) (string, bool)
- func (x *FieldOwners) GetCompound() map[int32]*CompoundFieldOwners
- func (x *FieldOwners) GetSimple() map[int32]string
- func (f *FieldOwners) HugepageLimitOwner(size string) (string, bool)
- func (f *FieldOwners) IsCompoundConflict(field int32, key, plugin string) error
- func (f *FieldOwners) IsSimpleConflict(field int32, plugin string) error
- func (m *FieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FieldOwners) MarshalToVT(dAtA []byte) (int, error)
- func (m *FieldOwners) MarshalVT() (dAtA []byte, err error)
- func (f *FieldOwners) MemDisableOomKillerOwner() (string, bool)
- func (f *FieldOwners) MemKernelLimitOwner() (string, bool)
- func (f *FieldOwners) MemLimitOwner() (string, bool)
- func (f *FieldOwners) MemReservationOwner() (string, bool)
- func (f *FieldOwners) MemSwapLimitOwner() (string, bool)
- func (f *FieldOwners) MemSwappinessOwner() (string, bool)
- func (f *FieldOwners) MemTCPLimitOwner() (string, bool)
- func (f *FieldOwners) MemUseHierarchyOwner() (string, bool)
- func (f *FieldOwners) MountOwner(destination string) (string, bool)
- func (f *FieldOwners) NamespaceOwner(typ string) (string, bool)
- func (f *FieldOwners) OomScoreAdjOwner() (string, bool)
- func (f *FieldOwners) PidsLimitOwner() (string, bool)
- func (*FieldOwners) ProtoMessage()
- func (x *FieldOwners) ProtoReflect() protoreflect.Message
- func (f *FieldOwners) RdtClassOwner() (string, bool)
- func (x *FieldOwners) Reset()
- func (f *FieldOwners) RlimitOwner(typ string) (string, bool)
- func (m *FieldOwners) SizeVT() (n int)
- func (x *FieldOwners) String() string
- func (m *FieldOwners) UnmarshalVT(dAtA []byte) error
- type Hook
- func (*Hook) Descriptor() ([]byte, []int)deprecated
- func (x *Hook) GetArgs() []string
- func (x *Hook) GetEnv() []string
- func (x *Hook) GetPath() string
- func (x *Hook) GetTimeout() *OptionalInt
- func (m *Hook) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Hook) MarshalToVT(dAtA []byte) (int, error)
- func (m *Hook) MarshalVT() (dAtA []byte, err error)
- func (*Hook) ProtoMessage()
- func (x *Hook) ProtoReflect() protoreflect.Message
- func (x *Hook) Reset()
- func (m *Hook) SizeVT() (n int)
- func (x *Hook) String() string
- func (h *Hook) ToOCI() rspec.Hook
- func (m *Hook) UnmarshalVT(dAtA []byte) error
- type Hooks
- func (hooks *Hooks) Append(h *Hooks) *Hooks
- func (*Hooks) Descriptor() ([]byte, []int)deprecated
- func (x *Hooks) GetCreateContainer() []*Hook
- func (x *Hooks) GetCreateRuntime() []*Hook
- func (x *Hooks) GetPoststart() []*Hook
- func (x *Hooks) GetPoststop() []*Hook
- func (x *Hooks) GetPrestart() []*Hook
- func (x *Hooks) GetStartContainer() []*Hook
- func (hooks *Hooks) Hooks() *Hooks
- func (m *Hooks) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Hooks) MarshalToVT(dAtA []byte) (int, error)
- func (m *Hooks) MarshalVT() (dAtA []byte, err error)
- func (*Hooks) ProtoMessage()
- func (x *Hooks) ProtoReflect() protoreflect.Message
- func (x *Hooks) Reset()
- func (m *Hooks) SizeVT() (n int)
- func (x *Hooks) String() string
- func (h *Hooks) Strip() *Hooks
- func (m *Hooks) UnmarshalVT(dAtA []byte) error
- type HostFunctions
- type HostFunctionsService
- type HugepageLimit
- func (*HugepageLimit) Descriptor() ([]byte, []int)deprecated
- func (x *HugepageLimit) GetLimit() uint64
- func (x *HugepageLimit) GetPageSize() string
- func (m *HugepageLimit) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HugepageLimit) MarshalToVT(dAtA []byte) (int, error)
- func (m *HugepageLimit) MarshalVT() (dAtA []byte, err error)
- func (*HugepageLimit) ProtoMessage()
- func (x *HugepageLimit) ProtoReflect() protoreflect.Message
- func (x *HugepageLimit) Reset()
- func (m *HugepageLimit) SizeVT() (n int)
- func (x *HugepageLimit) String() string
- func (m *HugepageLimit) UnmarshalVT(dAtA []byte) error
- type IOPrioClass
- func (IOPrioClass) Descriptor() protoreflect.EnumDescriptor
- func (x IOPrioClass) Enum() *IOPrioClass
- func (IOPrioClass) EnumDescriptor() ([]byte, []int)deprecated
- func (x IOPrioClass) Number() protoreflect.EnumNumber
- func (x IOPrioClass) String() string
- func (c IOPrioClass) ToOCI() rspec.IOPriorityClass
- func (IOPrioClass) Type() protoreflect.EnumType
- type KeyValue
- func (*KeyValue) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValue) GetKey() string
- func (x *KeyValue) GetValue() string
- func (e *KeyValue) IsMarkedForRemoval() (string, bool)
- func (m *KeyValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *KeyValue) MarshalToVT(dAtA []byte) (int, error)
- func (m *KeyValue) MarshalVT() (dAtA []byte, err error)
- func (*KeyValue) ProtoMessage()
- func (x *KeyValue) ProtoReflect() protoreflect.Message
- func (x *KeyValue) Reset()
- func (m *KeyValue) SizeVT() (n int)
- func (x *KeyValue) String() string
- func (e *KeyValue) ToOCI() string
- func (m *KeyValue) UnmarshalVT(dAtA []byte) error
- type LinuxCPU
- func (*LinuxCPU) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxCPU) GetCpus() string
- func (x *LinuxCPU) GetMems() string
- func (x *LinuxCPU) GetPeriod() *OptionalUInt64
- func (x *LinuxCPU) GetQuota() *OptionalInt64
- func (x *LinuxCPU) GetRealtimePeriod() *OptionalUInt64
- func (x *LinuxCPU) GetRealtimeRuntime() *OptionalInt64
- func (x *LinuxCPU) GetShares() *OptionalUInt64
- func (m *LinuxCPU) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxCPU) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxCPU) MarshalVT() (dAtA []byte, err error)
- func (*LinuxCPU) ProtoMessage()
- func (x *LinuxCPU) ProtoReflect() protoreflect.Message
- func (x *LinuxCPU) Reset()
- func (m *LinuxCPU) SizeVT() (n int)
- func (x *LinuxCPU) String() string
- func (c *LinuxCPU) Strip() *LinuxCPU
- func (m *LinuxCPU) UnmarshalVT(dAtA []byte) error
- type LinuxContainer
- func (*LinuxContainer) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxContainer) GetCgroupsPath() string
- func (x *LinuxContainer) GetDevices() []*LinuxDevice
- func (x *LinuxContainer) GetIoPriority() *LinuxIOPriority
- func (x *LinuxContainer) GetNamespaces() []*LinuxNamespace
- func (x *LinuxContainer) GetOomScoreAdj() *OptionalInt
- func (x *LinuxContainer) GetResources() *LinuxResources
- func (x *LinuxContainer) GetSeccompPolicy() *LinuxSeccomp
- func (x *LinuxContainer) GetSeccompProfile() *SecurityProfile
- func (m *LinuxContainer) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxContainer) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxContainer) MarshalVT() (dAtA []byte, err error)
- func (*LinuxContainer) ProtoMessage()
- func (x *LinuxContainer) ProtoReflect() protoreflect.Message
- func (x *LinuxContainer) Reset()
- func (m *LinuxContainer) SizeVT() (n int)
- func (x *LinuxContainer) String() string
- func (m *LinuxContainer) UnmarshalVT(dAtA []byte) error
- type LinuxContainerAdjustment
- func (*LinuxContainerAdjustment) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxContainerAdjustment) GetCgroupsPath() string
- func (x *LinuxContainerAdjustment) GetDevices() []*LinuxDevice
- func (x *LinuxContainerAdjustment) GetIoPriority() *LinuxIOPriority
- func (x *LinuxContainerAdjustment) GetNamespaces() []*LinuxNamespace
- func (x *LinuxContainerAdjustment) GetOomScoreAdj() *OptionalInt
- func (x *LinuxContainerAdjustment) GetResources() *LinuxResources
- func (x *LinuxContainerAdjustment) GetSeccompPolicy() *LinuxSeccomp
- func (m *LinuxContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxContainerAdjustment) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxContainerAdjustment) MarshalVT() (dAtA []byte, err error)
- func (*LinuxContainerAdjustment) ProtoMessage()
- func (x *LinuxContainerAdjustment) ProtoReflect() protoreflect.Message
- func (x *LinuxContainerAdjustment) Reset()
- func (m *LinuxContainerAdjustment) SizeVT() (n int)
- func (x *LinuxContainerAdjustment) String() string
- func (l *LinuxContainerAdjustment) Strip() *LinuxContainerAdjustment
- func (m *LinuxContainerAdjustment) UnmarshalVT(dAtA []byte) error
- type LinuxContainerUpdate
- func (*LinuxContainerUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxContainerUpdate) GetResources() *LinuxResources
- func (m *LinuxContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxContainerUpdate) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxContainerUpdate) MarshalVT() (dAtA []byte, err error)
- func (*LinuxContainerUpdate) ProtoMessage()
- func (x *LinuxContainerUpdate) ProtoReflect() protoreflect.Message
- func (x *LinuxContainerUpdate) Reset()
- func (m *LinuxContainerUpdate) SizeVT() (n int)
- func (x *LinuxContainerUpdate) String() string
- func (l *LinuxContainerUpdate) Strip() *LinuxContainerUpdate
- func (m *LinuxContainerUpdate) UnmarshalVT(dAtA []byte) error
- type LinuxDevice
- func (d *LinuxDevice) AccessString() string
- func (d *LinuxDevice) Cmp(v *LinuxDevice) bool
- func (*LinuxDevice) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxDevice) GetFileMode() *OptionalFileMode
- func (x *LinuxDevice) GetGid() *OptionalUInt32
- func (x *LinuxDevice) GetMajor() int64
- func (x *LinuxDevice) GetMinor() int64
- func (x *LinuxDevice) GetPath() string
- func (x *LinuxDevice) GetType() string
- func (x *LinuxDevice) GetUid() *OptionalUInt32
- func (d *LinuxDevice) IsMarkedForRemoval() (string, bool)
- func (m *LinuxDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxDevice) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxDevice) MarshalVT() (dAtA []byte, err error)
- func (*LinuxDevice) ProtoMessage()
- func (x *LinuxDevice) ProtoReflect() protoreflect.Message
- func (x *LinuxDevice) Reset()
- func (m *LinuxDevice) SizeVT() (n int)
- func (x *LinuxDevice) String() string
- func (d *LinuxDevice) ToOCI() rspec.LinuxDevice
- func (m *LinuxDevice) UnmarshalVT(dAtA []byte) error
- type LinuxDeviceCgroup
- func (*LinuxDeviceCgroup) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxDeviceCgroup) GetAccess() string
- func (x *LinuxDeviceCgroup) GetAllow() bool
- func (x *LinuxDeviceCgroup) GetMajor() *OptionalInt64
- func (x *LinuxDeviceCgroup) GetMinor() *OptionalInt64
- func (x *LinuxDeviceCgroup) GetType() string
- func (m *LinuxDeviceCgroup) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxDeviceCgroup) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxDeviceCgroup) MarshalVT() (dAtA []byte, err error)
- func (*LinuxDeviceCgroup) ProtoMessage()
- func (x *LinuxDeviceCgroup) ProtoReflect() protoreflect.Message
- func (x *LinuxDeviceCgroup) Reset()
- func (m *LinuxDeviceCgroup) SizeVT() (n int)
- func (x *LinuxDeviceCgroup) String() string
- func (m *LinuxDeviceCgroup) UnmarshalVT(dAtA []byte) error
- type LinuxIOPriority
- func (*LinuxIOPriority) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxIOPriority) GetClass() IOPrioClass
- func (x *LinuxIOPriority) GetPriority() int32
- func (m *LinuxIOPriority) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxIOPriority) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxIOPriority) MarshalVT() (dAtA []byte, err error)
- func (*LinuxIOPriority) ProtoMessage()
- func (x *LinuxIOPriority) ProtoReflect() protoreflect.Message
- func (x *LinuxIOPriority) Reset()
- func (m *LinuxIOPriority) SizeVT() (n int)
- func (x *LinuxIOPriority) String() string
- func (ioprio *LinuxIOPriority) ToOCI() *rspec.LinuxIOPriority
- func (m *LinuxIOPriority) UnmarshalVT(dAtA []byte) error
- type LinuxMemory
- func (*LinuxMemory) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxMemory) GetDisableOomKiller() *OptionalBool
- func (x *LinuxMemory) GetKernel() *OptionalInt64
- func (x *LinuxMemory) GetKernelTcp() *OptionalInt64
- func (x *LinuxMemory) GetLimit() *OptionalInt64
- func (x *LinuxMemory) GetReservation() *OptionalInt64
- func (x *LinuxMemory) GetSwap() *OptionalInt64
- func (x *LinuxMemory) GetSwappiness() *OptionalUInt64
- func (x *LinuxMemory) GetUseHierarchy() *OptionalBool
- func (m *LinuxMemory) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxMemory) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxMemory) MarshalVT() (dAtA []byte, err error)
- func (*LinuxMemory) ProtoMessage()
- func (x *LinuxMemory) ProtoReflect() protoreflect.Message
- func (x *LinuxMemory) Reset()
- func (m *LinuxMemory) SizeVT() (n int)
- func (x *LinuxMemory) String() string
- func (m *LinuxMemory) Strip() *LinuxMemory
- func (m *LinuxMemory) UnmarshalVT(dAtA []byte) error
- type LinuxNamespace
- func (*LinuxNamespace) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxNamespace) GetPath() string
- func (x *LinuxNamespace) GetType() string
- func (n *LinuxNamespace) IsMarkedForRemoval() (string, bool)
- func (m *LinuxNamespace) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxNamespace) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxNamespace) MarshalVT() (dAtA []byte, err error)
- func (*LinuxNamespace) ProtoMessage()
- func (x *LinuxNamespace) ProtoReflect() protoreflect.Message
- func (x *LinuxNamespace) Reset()
- func (m *LinuxNamespace) SizeVT() (n int)
- func (x *LinuxNamespace) String() string
- func (m *LinuxNamespace) UnmarshalVT(dAtA []byte) error
- type LinuxPids
- func (*LinuxPids) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxPids) GetLimit() int64
- func (m *LinuxPids) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxPids) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxPids) MarshalVT() (dAtA []byte, err error)
- func (*LinuxPids) ProtoMessage()
- func (x *LinuxPids) ProtoReflect() protoreflect.Message
- func (x *LinuxPids) Reset()
- func (m *LinuxPids) SizeVT() (n int)
- func (x *LinuxPids) String() string
- func (m *LinuxPids) UnmarshalVT(dAtA []byte) error
- type LinuxPodSandbox
- func (*LinuxPodSandbox) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxPodSandbox) GetCgroupParent() string
- func (x *LinuxPodSandbox) GetCgroupsPath() string
- func (x *LinuxPodSandbox) GetNamespaces() []*LinuxNamespace
- func (x *LinuxPodSandbox) GetPodOverhead() *LinuxResources
- func (x *LinuxPodSandbox) GetPodResources() *LinuxResources
- func (x *LinuxPodSandbox) GetResources() *LinuxResources
- func (m *LinuxPodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxPodSandbox) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxPodSandbox) MarshalVT() (dAtA []byte, err error)
- func (*LinuxPodSandbox) ProtoMessage()
- func (x *LinuxPodSandbox) ProtoReflect() protoreflect.Message
- func (x *LinuxPodSandbox) Reset()
- func (m *LinuxPodSandbox) SizeVT() (n int)
- func (x *LinuxPodSandbox) String() string
- func (m *LinuxPodSandbox) UnmarshalVT(dAtA []byte) error
- type LinuxResources
- func (r *LinuxResources) Copy() *LinuxResources
- func (*LinuxResources) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxResources) GetBlockioClass() *OptionalString
- func (x *LinuxResources) GetCpu() *LinuxCPU
- func (x *LinuxResources) GetDevices() []*LinuxDeviceCgroup
- func (x *LinuxResources) GetHugepageLimits() []*HugepageLimit
- func (x *LinuxResources) GetMemory() *LinuxMemory
- func (x *LinuxResources) GetPids() *LinuxPids
- func (x *LinuxResources) GetRdtClass() *OptionalString
- func (x *LinuxResources) GetUnified() map[string]string
- func (m *LinuxResources) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxResources) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxResources) MarshalVT() (dAtA []byte, err error)
- func (*LinuxResources) ProtoMessage()
- func (x *LinuxResources) ProtoReflect() protoreflect.Message
- func (x *LinuxResources) Reset()
- func (m *LinuxResources) SizeVT() (n int)
- func (x *LinuxResources) String() string
- func (r *LinuxResources) Strip() *LinuxResources
- func (r *LinuxResources) ToOCI() *rspec.LinuxResources
- func (m *LinuxResources) UnmarshalVT(dAtA []byte) error
- type LinuxSeccomp
- func (*LinuxSeccomp) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxSeccomp) GetArchitectures() []string
- func (x *LinuxSeccomp) GetDefaultAction() string
- func (x *LinuxSeccomp) GetDefaultErrno() *OptionalUInt32
- func (x *LinuxSeccomp) GetFlags() []string
- func (x *LinuxSeccomp) GetListenerMetadata() string
- func (x *LinuxSeccomp) GetListenerPath() string
- func (x *LinuxSeccomp) GetSyscalls() []*LinuxSyscall
- func (m *LinuxSeccomp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxSeccomp) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxSeccomp) MarshalVT() (dAtA []byte, err error)
- func (*LinuxSeccomp) ProtoMessage()
- func (x *LinuxSeccomp) ProtoReflect() protoreflect.Message
- func (x *LinuxSeccomp) Reset()
- func (m *LinuxSeccomp) SizeVT() (n int)
- func (x *LinuxSeccomp) String() string
- func (m *LinuxSeccomp) UnmarshalVT(dAtA []byte) error
- type LinuxSeccompArg
- func (*LinuxSeccompArg) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxSeccompArg) GetIndex() uint32
- func (x *LinuxSeccompArg) GetOp() string
- func (x *LinuxSeccompArg) GetValue() uint64
- func (x *LinuxSeccompArg) GetValueTwo() uint64
- func (m *LinuxSeccompArg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxSeccompArg) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxSeccompArg) MarshalVT() (dAtA []byte, err error)
- func (*LinuxSeccompArg) ProtoMessage()
- func (x *LinuxSeccompArg) ProtoReflect() protoreflect.Message
- func (x *LinuxSeccompArg) Reset()
- func (m *LinuxSeccompArg) SizeVT() (n int)
- func (x *LinuxSeccompArg) String() string
- func (m *LinuxSeccompArg) UnmarshalVT(dAtA []byte) error
- type LinuxSyscall
- func (*LinuxSyscall) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxSyscall) GetAction() string
- func (x *LinuxSyscall) GetArgs() []*LinuxSeccompArg
- func (x *LinuxSyscall) GetErrnoRet() *OptionalUInt32
- func (x *LinuxSyscall) GetNames() []string
- func (m *LinuxSyscall) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinuxSyscall) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinuxSyscall) MarshalVT() (dAtA []byte, err error)
- func (*LinuxSyscall) ProtoMessage()
- func (x *LinuxSyscall) ProtoReflect() protoreflect.Message
- func (x *LinuxSyscall) Reset()
- func (m *LinuxSyscall) SizeVT() (n int)
- func (x *LinuxSyscall) String() string
- func (m *LinuxSyscall) UnmarshalVT(dAtA []byte) error
- type LogRequest
- func (*LogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogRequest) GetLevel() LogRequest_Level
- func (x *LogRequest) GetMsg() string
- func (m *LogRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LogRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *LogRequest) MarshalVT() (dAtA []byte, err error)
- func (*LogRequest) ProtoMessage()
- func (x *LogRequest) ProtoReflect() protoreflect.Message
- func (x *LogRequest) Reset()
- func (m *LogRequest) SizeVT() (n int)
- func (x *LogRequest) String() string
- func (m *LogRequest) UnmarshalVT(dAtA []byte) error
- type LogRequest_Level
- func (LogRequest_Level) Descriptor() protoreflect.EnumDescriptor
- func (x LogRequest_Level) Enum() *LogRequest_Level
- func (LogRequest_Level) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogRequest_Level) Number() protoreflect.EnumNumber
- func (x LogRequest_Level) String() string
- func (LogRequest_Level) Type() protoreflect.EnumType
- type Mount
- func (m *Mount) Cmp(v *Mount) bool
- func (*Mount) Descriptor() ([]byte, []int)deprecated
- func (x *Mount) GetDestination() string
- func (x *Mount) GetOptions() []string
- func (x *Mount) GetSource() string
- func (x *Mount) GetType() string
- func (m *Mount) IsMarkedForRemoval() (string, bool)
- func (m *Mount) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Mount) MarshalToVT(dAtA []byte) (int, error)
- func (m *Mount) MarshalVT() (dAtA []byte, err error)
- func (*Mount) ProtoMessage()
- func (x *Mount) ProtoReflect() protoreflect.Message
- func (x *Mount) Reset()
- func (m *Mount) SizeVT() (n int)
- func (x *Mount) String() string
- func (m *Mount) ToOCI(propagationQuery *string) rspec.Mount
- func (m *Mount) UnmarshalVT(dAtA []byte) error
- type OptionalBool
- func (*OptionalBool) Descriptor() ([]byte, []int)deprecated
- func (o *OptionalBool) Get() *bool
- func (x *OptionalBool) GetValue() bool
- func (m *OptionalBool) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OptionalBool) MarshalToVT(dAtA []byte) (int, error)
- func (m *OptionalBool) MarshalVT() (dAtA []byte, err error)
- func (*OptionalBool) ProtoMessage()
- func (x *OptionalBool) ProtoReflect() protoreflect.Message
- func (x *OptionalBool) Reset()
- func (m *OptionalBool) SizeVT() (n int)
- func (x *OptionalBool) String() string
- func (m *OptionalBool) UnmarshalVT(dAtA []byte) error
- type OptionalFileMode
- func (*OptionalFileMode) Descriptor() ([]byte, []int)deprecated
- func (o *OptionalFileMode) Get() *os.FileMode
- func (x *OptionalFileMode) GetValue() uint32
- func (m *OptionalFileMode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OptionalFileMode) MarshalToVT(dAtA []byte) (int, error)
- func (m *OptionalFileMode) MarshalVT() (dAtA []byte, err error)
- func (*OptionalFileMode) ProtoMessage()
- func (x *OptionalFileMode) ProtoReflect() protoreflect.Message
- func (x *OptionalFileMode) Reset()
- func (m *OptionalFileMode) SizeVT() (n int)
- func (x *OptionalFileMode) String() string
- func (m *OptionalFileMode) UnmarshalVT(dAtA []byte) error
- type OptionalInt
- func (*OptionalInt) Descriptor() ([]byte, []int)deprecated
- func (o *OptionalInt) Get() *int
- func (x *OptionalInt) GetValue() int64
- func (m *OptionalInt) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OptionalInt) MarshalToVT(dAtA []byte) (int, error)
- func (m *OptionalInt) MarshalVT() (dAtA []byte, err error)
- func (*OptionalInt) ProtoMessage()
- func (x *OptionalInt) ProtoReflect() protoreflect.Message
- func (x *OptionalInt) Reset()
- func (m *OptionalInt) SizeVT() (n int)
- func (x *OptionalInt) String() string
- func (m *OptionalInt) UnmarshalVT(dAtA []byte) error
- type OptionalInt32
- func (*OptionalInt32) Descriptor() ([]byte, []int)deprecated
- func (o *OptionalInt32) Get() *int32
- func (x *OptionalInt32) GetValue() int32
- func (m *OptionalInt32) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OptionalInt32) MarshalToVT(dAtA []byte) (int, error)
- func (m *OptionalInt32) MarshalVT() (dAtA []byte, err error)
- func (*OptionalInt32) ProtoMessage()
- func (x *OptionalInt32) ProtoReflect() protoreflect.Message
- func (x *OptionalInt32) Reset()
- func (m *OptionalInt32) SizeVT() (n int)
- func (x *OptionalInt32) String() string
- func (m *OptionalInt32) UnmarshalVT(dAtA []byte) error
- type OptionalInt64
- func (*OptionalInt64) Descriptor() ([]byte, []int)deprecated
- func (o *OptionalInt64) Get() *int64
- func (x *OptionalInt64) GetValue() int64
- func (m *OptionalInt64) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OptionalInt64) MarshalToVT(dAtA []byte) (int, error)
- func (m *OptionalInt64) MarshalVT() (dAtA []byte, err error)
- func (*OptionalInt64) ProtoMessage()
- func (x *OptionalInt64) ProtoReflect() protoreflect.Message
- func (x *OptionalInt64) Reset()
- func (m *OptionalInt64) SizeVT() (n int)
- func (x *OptionalInt64) String() string
- func (m *OptionalInt64) UnmarshalVT(dAtA []byte) error
- type OptionalString
- func (*OptionalString) Descriptor() ([]byte, []int)deprecated
- func (o *OptionalString) Get() *string
- func (x *OptionalString) GetValue() string
- func (m *OptionalString) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OptionalString) MarshalToVT(dAtA []byte) (int, error)
- func (m *OptionalString) MarshalVT() (dAtA []byte, err error)
- func (*OptionalString) ProtoMessage()
- func (x *OptionalString) ProtoReflect() protoreflect.Message
- func (x *OptionalString) Reset()
- func (m *OptionalString) SizeVT() (n int)
- func (x *OptionalString) String() string
- func (m *OptionalString) UnmarshalVT(dAtA []byte) error
- type OptionalUInt32
- func (*OptionalUInt32) Descriptor() ([]byte, []int)deprecated
- func (o *OptionalUInt32) Get() *uint32
- func (x *OptionalUInt32) GetValue() uint32
- func (m *OptionalUInt32) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OptionalUInt32) MarshalToVT(dAtA []byte) (int, error)
- func (m *OptionalUInt32) MarshalVT() (dAtA []byte, err error)
- func (*OptionalUInt32) ProtoMessage()
- func (x *OptionalUInt32) ProtoReflect() protoreflect.Message
- func (x *OptionalUInt32) Reset()
- func (m *OptionalUInt32) SizeVT() (n int)
- func (x *OptionalUInt32) String() string
- func (m *OptionalUInt32) UnmarshalVT(dAtA []byte) error
- type OptionalUInt64
- func (*OptionalUInt64) Descriptor() ([]byte, []int)deprecated
- func (o *OptionalUInt64) Get() *uint64
- func (x *OptionalUInt64) GetValue() uint64
- func (m *OptionalUInt64) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OptionalUInt64) MarshalToVT(dAtA []byte) (int, error)
- func (m *OptionalUInt64) MarshalVT() (dAtA []byte, err error)
- func (*OptionalUInt64) ProtoMessage()
- func (x *OptionalUInt64) ProtoReflect() protoreflect.Message
- func (x *OptionalUInt64) Reset()
- func (m *OptionalUInt64) SizeVT() (n int)
- func (x *OptionalUInt64) String() string
- func (m *OptionalUInt64) UnmarshalVT(dAtA []byte) error
- type OwningPlugins
- func (o *OwningPlugins) AnnotationOwner(id, key string) (string, bool)
- func (o *OwningPlugins) ArgsOwner(id string) (string, bool)
- func (o *OwningPlugins) BlockioClassOwner(id string) (string, bool)
- func (o *OwningPlugins) CPUPeriodOwner(id string) (string, bool)
- func (o *OwningPlugins) CPUQuotaOwner(id string) (string, bool)
- func (o *OwningPlugins) CPURealtimePeriodOwner(id string) (string, bool)
- func (o *OwningPlugins) CPURealtimeRuntimeOwner(id string) (string, bool)
- func (o *OwningPlugins) CPUSetCPUsOwner(id string) (string, bool)
- func (o *OwningPlugins) CPUSetMemsOwner(id string) (string, bool)
- func (o *OwningPlugins) CPUSharesOwner(id string) (string, bool)
- func (o *OwningPlugins) CgroupsPathOwner(id string) (string, bool)
- func (o *OwningPlugins) CgroupsUnifiedOwner(id, key string) (string, bool)
- func (o *OwningPlugins) ClaimAnnotation(id, key, plugin string) error
- func (o *OwningPlugins) ClaimArgs(id, plugin string) error
- func (o *OwningPlugins) ClaimBlockioClass(id, plugin string) error
- func (o *OwningPlugins) ClaimCPUPeriod(id, plugin string) error
- func (o *OwningPlugins) ClaimCPUQuota(id, plugin string) error
- func (o *OwningPlugins) ClaimCPURealtimePeriod(id, plugin string) error
- func (o *OwningPlugins) ClaimCPURealtimeRuntime(id, plugin string) error
- func (o *OwningPlugins) ClaimCPUSetCPUs(id, plugin string) error
- func (o *OwningPlugins) ClaimCPUSetMems(id, plugin string) error
- func (o *OwningPlugins) ClaimCPUShares(id, plugin string) error
- func (o *OwningPlugins) ClaimCdiDevice(id, name, plugin string) error
- func (o *OwningPlugins) ClaimCgroupsPath(id, plugin string) error
- func (o *OwningPlugins) ClaimCgroupsUnified(id, key, plugin string) error
- func (o *OwningPlugins) ClaimDevice(id, path, plugin string) error
- func (o *OwningPlugins) ClaimEnv(id, name, plugin string) error
- func (o *OwningPlugins) ClaimHooks(id, plugin string) error
- func (o *OwningPlugins) ClaimHugepageLimit(id, size, plugin string) error
- func (o *OwningPlugins) ClaimIOPriority(id, plugin string) error
- func (o *OwningPlugins) ClaimMemDisableOomKiller(id, plugin string) error
- func (o *OwningPlugins) ClaimMemKernelLimit(id, plugin string) error
- func (o *OwningPlugins) ClaimMemLimit(id, plugin string) error
- func (o *OwningPlugins) ClaimMemReservation(id, plugin string) error
- func (o *OwningPlugins) ClaimMemSwapLimit(id, plugin string) error
- func (o *OwningPlugins) ClaimMemSwappiness(id, plugin string) error
- func (o *OwningPlugins) ClaimMemTCPLimit(id, plugin string) error
- func (o *OwningPlugins) ClaimMemUseHierarchy(id, plugin string) error
- func (o *OwningPlugins) ClaimMount(id, destination, plugin string) error
- func (o *OwningPlugins) ClaimNamespace(id, typ, plugin string) error
- func (o *OwningPlugins) ClaimOomScoreAdj(id, plugin string) error
- func (o *OwningPlugins) ClaimPidsLimit(id, plugin string) error
- func (o *OwningPlugins) ClaimRdtClass(id, plugin string) error
- func (o *OwningPlugins) ClaimRlimit(id, typ, plugin string) error
- func (o *OwningPlugins) ClaimSeccompPolicy(id, plugin string) error
- func (o *OwningPlugins) ClearAnnotation(id, key, plugin string)
- func (o *OwningPlugins) ClearArgs(id, plugin string)
- func (o *OwningPlugins) ClearDevice(id, key, plugin string)
- func (o *OwningPlugins) ClearEnv(id, key, plugin string)
- func (o *OwningPlugins) ClearMount(id, key, plugin string)
- func (*OwningPlugins) Descriptor() ([]byte, []int)deprecated
- func (o *OwningPlugins) DeviceOwner(id, path string) (string, bool)
- func (o *OwningPlugins) EnvOwner(id, name string) (string, bool)
- func (x *OwningPlugins) GetOwners() map[string]*FieldOwners
- func (o *OwningPlugins) HooksOwner(id string) (string, bool)
- func (o *OwningPlugins) HugepageLimitOwner(id, size string) (string, bool)
- func (o *OwningPlugins) IOPriorityOwner(id string) (string, bool)
- func (m *OwningPlugins) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OwningPlugins) MarshalToVT(dAtA []byte) (int, error)
- func (m *OwningPlugins) MarshalVT() (dAtA []byte, err error)
- func (o *OwningPlugins) MemDisableOomKillerOwner(id string) (string, bool)
- func (o *OwningPlugins) MemKernelLimitOwner(id string) (string, bool)
- func (o *OwningPlugins) MemLimitOwner(id string) (string, bool)
- func (o *OwningPlugins) MemReservationOwner(id string) (string, bool)
- func (o *OwningPlugins) MemSwapLimitOwner(id string) (string, bool)
- func (o *OwningPlugins) MemSwappinessOwner(id string) (string, bool)
- func (o *OwningPlugins) MemTCPLimitOwner(id string) (string, bool)
- func (o *OwningPlugins) MemUseHierarchyOwner(id string) (string, bool)
- func (o *OwningPlugins) MountOwner(id, destination string) (string, bool)
- func (o *OwningPlugins) NamespaceOwner(id, path string) (string, bool)
- func (o *OwningPlugins) NamespaceOwners(id string) (map[string]string, bool)
- func (o *OwningPlugins) OomScoreAdjOwner(id string) (string, bool)
- func (o *OwningPlugins) PidsLimitOwner(id string) (string, bool)
- func (*OwningPlugins) ProtoMessage()
- func (x *OwningPlugins) ProtoReflect() protoreflect.Message
- func (o *OwningPlugins) RdtClassOwner(id string) (string, bool)
- func (x *OwningPlugins) Reset()
- func (o *OwningPlugins) RlimitOwner(id, typ string) (string, bool)
- func (o *OwningPlugins) SeccompPolicyOwner(id string) (string, bool)
- func (m *OwningPlugins) SizeVT() (n int)
- func (x *OwningPlugins) String() string
- func (m *OwningPlugins) UnmarshalVT(dAtA []byte) error
- type POSIXRlimit
- func (*POSIXRlimit) Descriptor() ([]byte, []int)deprecated
- func (x *POSIXRlimit) GetHard() uint64
- func (x *POSIXRlimit) GetSoft() uint64
- func (x *POSIXRlimit) GetType() string
- func (m *POSIXRlimit) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *POSIXRlimit) MarshalToVT(dAtA []byte) (int, error)
- func (m *POSIXRlimit) MarshalVT() (dAtA []byte, err error)
- func (*POSIXRlimit) ProtoMessage()
- func (x *POSIXRlimit) ProtoReflect() protoreflect.Message
- func (x *POSIXRlimit) Reset()
- func (m *POSIXRlimit) SizeVT() (n int)
- func (x *POSIXRlimit) String() string
- func (m *POSIXRlimit) UnmarshalVT(dAtA []byte) error
- type Plugin
- type PluginInstance
- func (*PluginInstance) Descriptor() ([]byte, []int)deprecated
- func (x *PluginInstance) GetIndex() string
- func (x *PluginInstance) GetName() string
- func (m *PluginInstance) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PluginInstance) MarshalToVT(dAtA []byte) (int, error)
- func (m *PluginInstance) MarshalVT() (dAtA []byte, err error)
- func (*PluginInstance) ProtoMessage()
- func (x *PluginInstance) ProtoReflect() protoreflect.Message
- func (x *PluginInstance) Reset()
- func (m *PluginInstance) SizeVT() (n int)
- func (x *PluginInstance) String() string
- func (m *PluginInstance) UnmarshalVT(dAtA []byte) error
- type PluginPlugin
- type PluginService
- type PodSandbox
- func (*PodSandbox) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandbox) GetAnnotations() map[string]string
- func (x *PodSandbox) GetId() string
- func (x *PodSandbox) GetIps() []string
- func (x *PodSandbox) GetLabels() map[string]string
- func (x *PodSandbox) GetLinux() *LinuxPodSandbox
- func (x *PodSandbox) GetName() string
- func (x *PodSandbox) GetNamespace() string
- func (x *PodSandbox) GetPid() uint32
- func (x *PodSandbox) GetRuntimeHandler() string
- func (x *PodSandbox) GetUid() string
- func (m *PodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PodSandbox) MarshalToVT(dAtA []byte) (int, error)
- func (m *PodSandbox) MarshalVT() (dAtA []byte, err error)
- func (*PodSandbox) ProtoMessage()
- func (x *PodSandbox) ProtoReflect() protoreflect.Message
- func (x *PodSandbox) Reset()
- func (m *PodSandbox) SizeVT() (n int)
- func (x *PodSandbox) String() string
- func (m *PodSandbox) UnmarshalVT(dAtA []byte) error
- type PostCreateContainerRequest
- type PostCreateContainerResponse
- type PostStartContainerRequest
- type PostStartContainerResponse
- type PostUpdateContainerRequest
- type PostUpdateContainerResponse
- type PostUpdatePodSandboxRequest
- type PostUpdatePodSandboxResponse
- type RegisterPluginRequest
- func (*RegisterPluginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPluginRequest) GetPluginIdx() string
- func (x *RegisterPluginRequest) GetPluginName() string
- func (m *RegisterPluginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RegisterPluginRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RegisterPluginRequest) MarshalVT() (dAtA []byte, err error)
- func (*RegisterPluginRequest) ProtoMessage()
- func (x *RegisterPluginRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterPluginRequest) Reset()
- func (m *RegisterPluginRequest) SizeVT() (n int)
- func (x *RegisterPluginRequest) String() string
- func (m *RegisterPluginRequest) UnmarshalVT(dAtA []byte) error
- type RemoveContainerRequest
- type RemoveContainerResponse
- type RemovePodSandboxRequest
- type RemovePodSandboxResponse
- type RunPodSandboxRequest
- type RunPodSandboxResponse
- type RuntimeService
- type SecurityProfile
- func (*SecurityProfile) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfile) GetLocalhostRef() string
- func (x *SecurityProfile) GetProfileType() SecurityProfile_ProfileType
- func (m *SecurityProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SecurityProfile) MarshalToVT(dAtA []byte) (int, error)
- func (m *SecurityProfile) MarshalVT() (dAtA []byte, err error)
- func (*SecurityProfile) ProtoMessage()
- func (x *SecurityProfile) ProtoReflect() protoreflect.Message
- func (x *SecurityProfile) Reset()
- func (m *SecurityProfile) SizeVT() (n int)
- func (x *SecurityProfile) String() string
- func (m *SecurityProfile) UnmarshalVT(dAtA []byte) error
- type SecurityProfile_ProfileType
- func (SecurityProfile_ProfileType) Descriptor() protoreflect.EnumDescriptor
- func (x SecurityProfile_ProfileType) Enum() *SecurityProfile_ProfileType
- func (SecurityProfile_ProfileType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecurityProfile_ProfileType) Number() protoreflect.EnumNumber
- func (x SecurityProfile_ProfileType) String() string
- func (SecurityProfile_ProfileType) Type() protoreflect.EnumType
- type ShutdownRequest
- type ShutdownResponse
- type StartContainerRequest
- type StartContainerResponse
- type StateChangeEvent
- func (*StateChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *StateChangeEvent) GetContainer() *Container
- func (x *StateChangeEvent) GetEvent() Event
- func (x *StateChangeEvent) GetPod() *PodSandbox
- func (m *StateChangeEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StateChangeEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *StateChangeEvent) MarshalVT() (dAtA []byte, err error)
- func (*StateChangeEvent) ProtoMessage()
- func (x *StateChangeEvent) ProtoReflect() protoreflect.Message
- func (x *StateChangeEvent) Reset()
- func (m *StateChangeEvent) SizeVT() (n int)
- func (x *StateChangeEvent) String() string
- func (m *StateChangeEvent) UnmarshalVT(dAtA []byte) error
- type StateChangeResponse
- type StopContainerRequest
- func (*StopContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopContainerRequest) GetContainer() *Container
- func (x *StopContainerRequest) GetPod() *PodSandbox
- func (m *StopContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StopContainerRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StopContainerRequest) MarshalVT() (dAtA []byte, err error)
- func (*StopContainerRequest) ProtoMessage()
- func (x *StopContainerRequest) ProtoReflect() protoreflect.Message
- func (x *StopContainerRequest) Reset()
- func (m *StopContainerRequest) SizeVT() (n int)
- func (x *StopContainerRequest) String() string
- func (m *StopContainerRequest) UnmarshalVT(dAtA []byte) error
- type StopContainerResponse
- func (*StopContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StopContainerResponse) GetUpdate() []*ContainerUpdate
- func (m *StopContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StopContainerResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StopContainerResponse) MarshalVT() (dAtA []byte, err error)
- func (*StopContainerResponse) ProtoMessage()
- func (x *StopContainerResponse) ProtoReflect() protoreflect.Message
- func (x *StopContainerResponse) Reset()
- func (m *StopContainerResponse) SizeVT() (n int)
- func (x *StopContainerResponse) String() string
- func (m *StopContainerResponse) UnmarshalVT(dAtA []byte) error
- type StopPodSandboxRequest
- type StopPodSandboxResponse
- type SynchronizeRequest
- func (*SynchronizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SynchronizeRequest) GetContainers() []*Container
- func (x *SynchronizeRequest) GetMore() bool
- func (x *SynchronizeRequest) GetPods() []*PodSandbox
- func (m *SynchronizeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SynchronizeRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SynchronizeRequest) MarshalVT() (dAtA []byte, err error)
- func (*SynchronizeRequest) ProtoMessage()
- func (x *SynchronizeRequest) ProtoReflect() protoreflect.Message
- func (x *SynchronizeRequest) Reset()
- func (m *SynchronizeRequest) SizeVT() (n int)
- func (x *SynchronizeRequest) String() string
- func (m *SynchronizeRequest) UnmarshalVT(dAtA []byte) error
- type SynchronizeResponse
- func (*SynchronizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SynchronizeResponse) GetMore() bool
- func (x *SynchronizeResponse) GetUpdate() []*ContainerUpdate
- func (m *SynchronizeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SynchronizeResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SynchronizeResponse) MarshalVT() (dAtA []byte, err error)
- func (*SynchronizeResponse) ProtoMessage()
- func (x *SynchronizeResponse) ProtoReflect() protoreflect.Message
- func (x *SynchronizeResponse) Reset()
- func (m *SynchronizeResponse) SizeVT() (n int)
- func (x *SynchronizeResponse) String() string
- func (m *SynchronizeResponse) UnmarshalVT(dAtA []byte) error
- type UpdateContainerRequest
- func (*UpdateContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateContainerRequest) GetContainer() *Container
- func (x *UpdateContainerRequest) GetLinuxResources() *LinuxResources
- func (x *UpdateContainerRequest) GetPod() *PodSandbox
- func (m *UpdateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateContainerRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateContainerRequest) MarshalVT() (dAtA []byte, err error)
- func (*UpdateContainerRequest) ProtoMessage()
- func (x *UpdateContainerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateContainerRequest) Reset()
- func (m *UpdateContainerRequest) SizeVT() (n int)
- func (x *UpdateContainerRequest) String() string
- func (m *UpdateContainerRequest) UnmarshalVT(dAtA []byte) error
- type UpdateContainerResponse
- func (*UpdateContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateContainerResponse) GetEvict() []*ContainerEviction
- func (x *UpdateContainerResponse) GetUpdate() []*ContainerUpdate
- func (m *UpdateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateContainerResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateContainerResponse) MarshalVT() (dAtA []byte, err error)
- func (*UpdateContainerResponse) ProtoMessage()
- func (x *UpdateContainerResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateContainerResponse) Reset()
- func (m *UpdateContainerResponse) SizeVT() (n int)
- func (x *UpdateContainerResponse) String() string
- func (m *UpdateContainerResponse) UnmarshalVT(dAtA []byte) error
- type UpdateContainersRequest
- func (*UpdateContainersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateContainersRequest) GetEvict() []*ContainerEviction
- func (x *UpdateContainersRequest) GetUpdate() []*ContainerUpdate
- func (m *UpdateContainersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateContainersRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateContainersRequest) MarshalVT() (dAtA []byte, err error)
- func (*UpdateContainersRequest) ProtoMessage()
- func (x *UpdateContainersRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateContainersRequest) Reset()
- func (m *UpdateContainersRequest) SizeVT() (n int)
- func (x *UpdateContainersRequest) String() string
- func (m *UpdateContainersRequest) UnmarshalVT(dAtA []byte) error
- type UpdateContainersResponse
- func (*UpdateContainersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateContainersResponse) GetFailed() []*ContainerUpdate
- func (m *UpdateContainersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateContainersResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateContainersResponse) MarshalVT() (dAtA []byte, err error)
- func (*UpdateContainersResponse) ProtoMessage()
- func (x *UpdateContainersResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateContainersResponse) Reset()
- func (m *UpdateContainersResponse) SizeVT() (n int)
- func (x *UpdateContainersResponse) String() string
- func (m *UpdateContainersResponse) UnmarshalVT(dAtA []byte) error
- type UpdatePodSandboxRequest
- func (*UpdatePodSandboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePodSandboxRequest) GetLinuxResources() *LinuxResources
- func (x *UpdatePodSandboxRequest) GetOverheadLinuxResources() *LinuxResources
- func (x *UpdatePodSandboxRequest) GetPod() *PodSandbox
- func (m *UpdatePodSandboxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdatePodSandboxRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdatePodSandboxRequest) MarshalVT() (dAtA []byte, err error)
- func (*UpdatePodSandboxRequest) ProtoMessage()
- func (x *UpdatePodSandboxRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePodSandboxRequest) Reset()
- func (m *UpdatePodSandboxRequest) SizeVT() (n int)
- func (x *UpdatePodSandboxRequest) String() string
- func (m *UpdatePodSandboxRequest) UnmarshalVT(dAtA []byte) error
- type UpdatePodSandboxResponse
- func (*UpdatePodSandboxResponse) Descriptor() ([]byte, []int)deprecated
- func (m *UpdatePodSandboxResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdatePodSandboxResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdatePodSandboxResponse) MarshalVT() (dAtA []byte, err error)
- func (*UpdatePodSandboxResponse) ProtoMessage()
- func (x *UpdatePodSandboxResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePodSandboxResponse) Reset()
- func (m *UpdatePodSandboxResponse) SizeVT() (n int)
- func (x *UpdatePodSandboxResponse) String() string
- func (m *UpdatePodSandboxResponse) UnmarshalVT(dAtA []byte) error
- type ValidateContainerAdjustmentRequest
- func (v *ValidateContainerAdjustmentRequest) AddOwners(owners *OwningPlugins)
- func (v *ValidateContainerAdjustmentRequest) AddPlugin(name, index string)
- func (v *ValidateContainerAdjustmentRequest) AddResponse(rpl *CreateContainerResponse)
- func (*ValidateContainerAdjustmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateContainerAdjustmentRequest) GetAdjust() *ContainerAdjustment
- func (x *ValidateContainerAdjustmentRequest) GetContainer() *Container
- func (x *ValidateContainerAdjustmentRequest) GetOwners() *OwningPlugins
- func (v *ValidateContainerAdjustmentRequest) GetPluginMap() map[string]*PluginInstance
- func (x *ValidateContainerAdjustmentRequest) GetPlugins() []*PluginInstance
- func (x *ValidateContainerAdjustmentRequest) GetPod() *PodSandbox
- func (x *ValidateContainerAdjustmentRequest) GetUpdate() []*ContainerUpdate
- func (m *ValidateContainerAdjustmentRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ValidateContainerAdjustmentRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ValidateContainerAdjustmentRequest) MarshalVT() (dAtA []byte, err error)
- func (*ValidateContainerAdjustmentRequest) ProtoMessage()
- func (x *ValidateContainerAdjustmentRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateContainerAdjustmentRequest) Reset()
- func (m *ValidateContainerAdjustmentRequest) SizeVT() (n int)
- func (x *ValidateContainerAdjustmentRequest) String() string
- func (m *ValidateContainerAdjustmentRequest) UnmarshalVT(dAtA []byte) error
- type ValidateContainerAdjustmentResponse
- func (*ValidateContainerAdjustmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateContainerAdjustmentResponse) GetReason() string
- func (x *ValidateContainerAdjustmentResponse) GetReject() bool
- func (m *ValidateContainerAdjustmentResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ValidateContainerAdjustmentResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ValidateContainerAdjustmentResponse) MarshalVT() (dAtA []byte, err error)
- func (*ValidateContainerAdjustmentResponse) ProtoMessage()
- func (x *ValidateContainerAdjustmentResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateContainerAdjustmentResponse) Reset()
- func (m *ValidateContainerAdjustmentResponse) SizeVT() (n int)
- func (x *ValidateContainerAdjustmentResponse) String() string
- func (m *ValidateContainerAdjustmentResponse) UnmarshalVT(dAtA []byte) error
- func (v *ValidateContainerAdjustmentResponse) ValidationResult(plugin string) error
- type WazeroConfig
- type WazeroNewRuntime
Constants ¶
const ( // DefaultSocketPath is the default socket path for external plugins. DefaultSocketPath = "/var/run/nri/nri.sock" // PluginSocketEnvVar is used to inform plugins about pre-connected sockets. PluginSocketEnvVar = "NRI_PLUGIN_SOCKET" // PluginNameEnvVar is used to inform NRI-launched plugins about their name. PluginNameEnvVar = "NRI_PLUGIN_NAME" // PluginIdxEnvVar is used to inform NRI-launched plugins about their ID. PluginIdxEnvVar = "NRI_PLUGIN_IDX" )
const ( // DefaultPluginRegistrationTimeout is the default timeout for plugin registration. DefaultPluginRegistrationTimeout = 5 * time.Second // DefaultPluginRequestTimeout is the default timeout for plugins to handle a request. DefaultPluginRequestTimeout = 2 * time.Second )
const PluginPluginAPIVersion = 1
const (
// SELinuxRelabel is a Mount pseudo-option to request relabeling.
SELinuxRelabel = "relabel"
)
const ( // ValidEvents is the event mask of all valid events. ValidEvents = EventMask((1 << (Event_LAST - 1)) - 1) )
Variables ¶
var ( Event_name = map[int32]string{ 0: "UNKNOWN", 1: "RUN_POD_SANDBOX", 2: "STOP_POD_SANDBOX", 3: "REMOVE_POD_SANDBOX", 4: "CREATE_CONTAINER", 5: "POST_CREATE_CONTAINER", 6: "START_CONTAINER", 7: "POST_START_CONTAINER", 8: "UPDATE_CONTAINER", 9: "POST_UPDATE_CONTAINER", 10: "STOP_CONTAINER", 11: "REMOVE_CONTAINER", 12: "UPDATE_POD_SANDBOX", 13: "POST_UPDATE_POD_SANDBOX", 14: "VALIDATE_CONTAINER_ADJUSTMENT", 15: "LAST", } Event_value = map[string]int32{ "UNKNOWN": 0, "RUN_POD_SANDBOX": 1, "STOP_POD_SANDBOX": 2, "REMOVE_POD_SANDBOX": 3, "CREATE_CONTAINER": 4, "POST_CREATE_CONTAINER": 5, "START_CONTAINER": 6, "POST_START_CONTAINER": 7, "UPDATE_CONTAINER": 8, "POST_UPDATE_CONTAINER": 9, "STOP_CONTAINER": 10, "REMOVE_CONTAINER": 11, "UPDATE_POD_SANDBOX": 12, "POST_UPDATE_POD_SANDBOX": 13, "VALIDATE_CONTAINER_ADJUSTMENT": 14, "LAST": 15, } )
Enum value maps for Event.
var ( ContainerState_name = map[int32]string{ 0: "CONTAINER_UNKNOWN", 1: "CONTAINER_CREATED", 2: "CONTAINER_PAUSED", 3: "CONTAINER_RUNNING", 4: "CONTAINER_STOPPED", } ContainerState_value = map[string]int32{ "CONTAINER_UNKNOWN": 0, "CONTAINER_CREATED": 1, "CONTAINER_PAUSED": 2, "CONTAINER_RUNNING": 3, "CONTAINER_STOPPED": 4, } )
Enum value maps for ContainerState.
var ( IOPrioClass_name = map[int32]string{ 0: "IOPRIO_CLASS_NONE", 1: "IOPRIO_CLASS_RT", 2: "IOPRIO_CLASS_BE", 3: "IOPRIO_CLASS_IDLE", } IOPrioClass_value = map[string]int32{ "IOPRIO_CLASS_NONE": 0, "IOPRIO_CLASS_RT": 1, "IOPRIO_CLASS_BE": 2, "IOPRIO_CLASS_IDLE": 3, } )
Enum value maps for IOPrioClass.
var ( Field_name = map[int32]string{ 0: "None", 1: "Annotations", 2: "Mounts", 3: "OciHooks", 4: "Devices", 5: "CdiDevices", 6: "Env", 7: "Args", 8: "MemLimit", 9: "MemReservation", 10: "MemSwapLimit", 11: "MemKernelLimit", 12: "MemTCPLimit", 13: "MemSwappiness", 14: "MemDisableOomKiller", 15: "MemUseHierarchy", 16: "CPUShares", 17: "CPUQuota", 18: "CPUPeriod", 19: "CPURealtimeRuntime", 20: "CPURealtimePeriod", 21: "CPUSetCPUs", 22: "CPUSetMems", 23: "PidsLimit", 24: "HugepageLimits", 25: "BlockioClass", 26: "RdtClass", 27: "CgroupsUnified", 28: "CgroupsPath", 29: "OomScoreAdj", 30: "Rlimits", 31: "IoPriority", 32: "SeccompPolicy", 33: "Namespace", } Field_value = map[string]int32{ "None": 0, "Annotations": 1, "Mounts": 2, "OciHooks": 3, "Devices": 4, "CdiDevices": 5, "Env": 6, "Args": 7, "MemLimit": 8, "MemReservation": 9, "MemSwapLimit": 10, "MemKernelLimit": 11, "MemTCPLimit": 12, "MemSwappiness": 13, "MemDisableOomKiller": 14, "MemUseHierarchy": 15, "CPUShares": 16, "CPUQuota": 17, "CPUPeriod": 18, "CPURealtimeRuntime": 19, "CPURealtimePeriod": 20, "CPUSetCPUs": 21, "CPUSetMems": 22, "PidsLimit": 23, "HugepageLimits": 24, "BlockioClass": 25, "RdtClass": 26, "CgroupsUnified": 27, "CgroupsPath": 28, "OomScoreAdj": 29, "Rlimits": 30, "IoPriority": 31, "SeccompPolicy": 32, "Namespace": 33, } )
Enum value maps for Field.
var ( LogRequest_Level_name = map[int32]string{ 0: "LEVEL_UNSPECIFIED", 1: "LEVEL_DEBUG", 2: "LEVEL_INFO", 3: "LEVEL_WARN", 4: "LEVEL_ERROR", } LogRequest_Level_value = map[string]int32{ "LEVEL_UNSPECIFIED": 0, "LEVEL_DEBUG": 1, "LEVEL_INFO": 2, "LEVEL_WARN": 3, "LEVEL_ERROR": 4, } )
Enum value maps for LogRequest_Level.
var ( SecurityProfile_ProfileType_name = map[int32]string{ 0: "RUNTIME_DEFAULT", 1: "UNCONFINED", 2: "LOCALHOST", } SecurityProfile_ProfileType_value = map[string]int32{ "RUNTIME_DEFAULT": 0, "UNCONFINED": 1, "LOCALHOST": 2, } )
Enum value maps for SecurityProfile_ProfileType.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_pkg_api_api_proto protoreflect.FileDescriptor
Functions ¶
func CheckPluginIndex ¶
CheckPluginIndex checks the validity of a plugin index.
func ClearRemovalMarker ¶ added in v0.7.0
ClearRemovalMarker returns a key cleared from any removal marker.
func DupStringMap ¶
DupStringMap creates a copy of a map with string keys and values.
func DupStringSlice ¶
DupStringSlice creates a copy of a string slice.
func IsMarkedForRemoval ¶
IsMarkedForRemoval checks if a key is marked for removal.
The key can be an annotation name, a mount container path, a device path, a namespace type, or an environment variable name. These are all marked for removal in adjustments by preceding their corresponding key with a '-'.
func MarkForRemoval ¶
MarkForRemoval returns a key marked for removal.
func ParsePluginName ¶
ParsePluginName parses the (file)name of a plugin into an index and a base.
func RegisterHostFunctionsService ¶ added in v0.9.0
func RegisterHostFunctionsService(srv *ttrpc.Server, svc HostFunctionsService)
func RegisterPluginService ¶
func RegisterPluginService(srv *ttrpc.Server, svc PluginService)
func RegisterRuntimeService ¶
func RegisterRuntimeService(srv *ttrpc.Server, svc RuntimeService)
func ToOCILinuxSeccompArgs ¶ added in v0.10.0
func ToOCILinuxSeccompArgs(o []*LinuxSeccompArg) []rspec.LinuxSeccompArg
func ToOCILinuxSyscalls ¶ added in v0.10.0
func ToOCILinuxSyscalls(o []*LinuxSyscall) []rspec.LinuxSyscall
func WazeroModuleConfig ¶ added in v0.9.0
func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
func WazeroRuntime ¶ added in v0.9.0
func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
Types ¶
type CDIDevice ¶ added in v0.7.0
type CDIDevice struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A CDI device reference.
func (*CDIDevice) Descriptor
deprecated
added in
v0.7.0
func (*CDIDevice) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*CDIDevice) MarshalToVT ¶ added in v0.9.0
func (*CDIDevice) ProtoMessage ¶ added in v0.7.0
func (*CDIDevice) ProtoMessage()
func (*CDIDevice) ProtoReflect ¶ added in v0.7.0
func (x *CDIDevice) ProtoReflect() protoreflect.Message
func (*CDIDevice) UnmarshalVT ¶ added in v0.9.0
type CompoundFieldOwners ¶ added in v0.10.0
type CompoundFieldOwners struct {
Owners map[string]string `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
CompoundFieldOwners tracks 'plugin ownership' of compound fields which can be adjusted entry by entry, typically maps or slices. It is used to track ownership for annotations, mounts, devices, environment variables, hugepage limits, etc. The key identifies the owned entry (annotation key, mount destination, device path, environment variable name, etc.). The value is the owning plugin.
func NewCompoundFieldOwners ¶ added in v0.10.0
func NewCompoundFieldOwners() *CompoundFieldOwners
func (*CompoundFieldOwners) Descriptor
deprecated
added in
v0.10.0
func (*CompoundFieldOwners) Descriptor() ([]byte, []int)
Deprecated: Use CompoundFieldOwners.ProtoReflect.Descriptor instead.
func (*CompoundFieldOwners) GetOwners ¶ added in v0.10.0
func (x *CompoundFieldOwners) GetOwners() map[string]string
func (*CompoundFieldOwners) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *CompoundFieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CompoundFieldOwners) MarshalToVT ¶ added in v0.10.0
func (m *CompoundFieldOwners) MarshalToVT(dAtA []byte) (int, error)
func (*CompoundFieldOwners) MarshalVT ¶ added in v0.10.0
func (m *CompoundFieldOwners) MarshalVT() (dAtA []byte, err error)
func (*CompoundFieldOwners) ProtoMessage ¶ added in v0.10.0
func (*CompoundFieldOwners) ProtoMessage()
func (*CompoundFieldOwners) ProtoReflect ¶ added in v0.10.0
func (x *CompoundFieldOwners) ProtoReflect() protoreflect.Message
func (*CompoundFieldOwners) Reset ¶ added in v0.10.0
func (x *CompoundFieldOwners) Reset()
func (*CompoundFieldOwners) SizeVT ¶ added in v0.10.0
func (m *CompoundFieldOwners) SizeVT() (n int)
func (*CompoundFieldOwners) String ¶ added in v0.10.0
func (x *CompoundFieldOwners) String() string
func (*CompoundFieldOwners) UnmarshalVT ¶ added in v0.10.0
func (m *CompoundFieldOwners) UnmarshalVT(dAtA []byte) error
type ConfigureRequest ¶
type ConfigureRequest struct {
// Any plugin-specific data, if present among the NRI configuration.
Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// Name of the runtime NRI is running in.
RuntimeName string `protobuf:"bytes,2,opt,name=runtime_name,json=runtimeName,proto3" json:"runtime_name,omitempty"`
// Version of the runtime NRI is running in.
RuntimeVersion string `protobuf:"bytes,3,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
// Configured registration timeout in milliseconds.
RegistrationTimeout int64 `protobuf:"varint,4,opt,name=registration_timeout,json=registrationTimeout,proto3" json:"registration_timeout,omitempty"`
// Configured request processing timeout in milliseconds.
RequestTimeout int64 `protobuf:"varint,5,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigureRequest) Descriptor
deprecated
func (*ConfigureRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureRequest.ProtoReflect.Descriptor instead.
func (*ConfigureRequest) GetConfig ¶
func (x *ConfigureRequest) GetConfig() string
func (*ConfigureRequest) GetRegistrationTimeout ¶ added in v0.7.0
func (x *ConfigureRequest) GetRegistrationTimeout() int64
func (*ConfigureRequest) GetRequestTimeout ¶ added in v0.7.0
func (x *ConfigureRequest) GetRequestTimeout() int64
func (*ConfigureRequest) GetRuntimeName ¶
func (x *ConfigureRequest) GetRuntimeName() string
func (*ConfigureRequest) GetRuntimeVersion ¶
func (x *ConfigureRequest) GetRuntimeVersion() string
func (*ConfigureRequest) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *ConfigureRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ConfigureRequest) MarshalToVT ¶ added in v0.9.0
func (m *ConfigureRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ConfigureRequest) MarshalVT ¶ added in v0.9.0
func (m *ConfigureRequest) MarshalVT() (dAtA []byte, err error)
func (*ConfigureRequest) ProtoMessage ¶
func (*ConfigureRequest) ProtoMessage()
func (*ConfigureRequest) ProtoReflect ¶
func (x *ConfigureRequest) ProtoReflect() protoreflect.Message
func (*ConfigureRequest) Reset ¶
func (x *ConfigureRequest) Reset()
func (*ConfigureRequest) SizeVT ¶ added in v0.9.0
func (m *ConfigureRequest) SizeVT() (n int)
func (*ConfigureRequest) String ¶
func (x *ConfigureRequest) String() string
func (*ConfigureRequest) UnmarshalVT ¶ added in v0.9.0
func (m *ConfigureRequest) UnmarshalVT(dAtA []byte) error
type ConfigureResponse ¶
type ConfigureResponse struct {
// Events to subscribe the plugin for. Each bit set corresponds to an
// enumerated Event.
Events int32 `protobuf:"varint,2,opt,name=events,proto3" json:"events,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigureResponse) Descriptor
deprecated
func (*ConfigureResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureResponse.ProtoReflect.Descriptor instead.
func (*ConfigureResponse) GetEvents ¶
func (x *ConfigureResponse) GetEvents() int32
func (*ConfigureResponse) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *ConfigureResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ConfigureResponse) MarshalToVT ¶ added in v0.9.0
func (m *ConfigureResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ConfigureResponse) MarshalVT ¶ added in v0.9.0
func (m *ConfigureResponse) MarshalVT() (dAtA []byte, err error)
func (*ConfigureResponse) ProtoMessage ¶
func (*ConfigureResponse) ProtoMessage()
func (*ConfigureResponse) ProtoReflect ¶
func (x *ConfigureResponse) ProtoReflect() protoreflect.Message
func (*ConfigureResponse) Reset ¶
func (x *ConfigureResponse) Reset()
func (*ConfigureResponse) SizeVT ¶ added in v0.9.0
func (m *ConfigureResponse) SizeVT() (n int)
func (*ConfigureResponse) String ¶
func (x *ConfigureResponse) String() string
func (*ConfigureResponse) UnmarshalVT ¶ added in v0.9.0
func (m *ConfigureResponse) UnmarshalVT(dAtA []byte) error
type Container ¶
type Container struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
State ContainerState `protobuf:"varint,4,opt,name=state,proto3,enum=nri.pkg.api.v1alpha1.ContainerState" json:"state,omitempty"`
Labels map[string]string `` /* 153-byte string literal not displayed */
Annotations map[string]string `` /* 163-byte string literal not displayed */
Args []string `protobuf:"bytes,7,rep,name=args,proto3" json:"args,omitempty"`
Env []string `protobuf:"bytes,8,rep,name=env,proto3" json:"env,omitempty"`
Mounts []*Mount `protobuf:"bytes,9,rep,name=mounts,proto3" json:"mounts,omitempty"`
Hooks *Hooks `protobuf:"bytes,10,opt,name=hooks,proto3" json:"hooks,omitempty"`
Linux *LinuxContainer `protobuf:"bytes,11,opt,name=linux,proto3" json:"linux,omitempty"`
Pid uint32 `protobuf:"varint,12,opt,name=pid,proto3" json:"pid,omitempty"` // for NRI v1 emulation
Rlimits []*POSIXRlimit `protobuf:"bytes,13,rep,name=rlimits,proto3" json:"rlimits,omitempty"`
CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
StartedAt int64 `protobuf:"varint,15,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
FinishedAt int64 `protobuf:"varint,16,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
ExitCode int32 `protobuf:"varint,17,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
StatusReason string `protobuf:"bytes,18,opt,name=status_reason,json=statusReason,proto3" json:"status_reason,omitempty"`
StatusMessage string `protobuf:"bytes,19,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
CDIDevices []*CDIDevice `protobuf:"bytes,20,rep,name=CDI_devices,json=CDIDevices,proto3" json:"CDI_devices,omitempty"`
// contains filtered or unexported fields
}
Container metadata that is considered relevant for a plugin.
func (*Container) Descriptor
deprecated
func (*Container) GetAnnotations ¶
func (*Container) GetCDIDevices ¶ added in v0.10.0
func (*Container) GetCreatedAt ¶ added in v0.10.0
func (*Container) GetCreatedAtTime ¶ added in v0.10.0
func (*Container) GetExitCode ¶ added in v0.10.0
func (*Container) GetFinishedAt ¶ added in v0.10.0
func (*Container) GetFinishedAtTime ¶ added in v0.10.0
func (*Container) GetLinux ¶
func (x *Container) GetLinux() *LinuxContainer
func (*Container) GetPodSandboxId ¶
func (*Container) GetRlimits ¶ added in v0.4.0
func (x *Container) GetRlimits() []*POSIXRlimit
func (*Container) GetStartedAt ¶ added in v0.10.0
func (*Container) GetStartedAtTime ¶ added in v0.10.0
func (*Container) GetState ¶
func (x *Container) GetState() ContainerState
func (*Container) GetStatusMessage ¶ added in v0.10.0
func (*Container) GetStatusReason ¶ added in v0.10.0
func (*Container) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*Container) MarshalToVT ¶ added in v0.9.0
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
func (*Container) UnmarshalVT ¶ added in v0.9.0
type ContainerAdjustment ¶
type ContainerAdjustment struct {
Annotations map[string]string `` /* 163-byte string literal not displayed */
Mounts []*Mount `protobuf:"bytes,3,rep,name=mounts,proto3" json:"mounts,omitempty"`
Env []*KeyValue `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
Hooks *Hooks `protobuf:"bytes,5,opt,name=hooks,proto3" json:"hooks,omitempty"`
Linux *LinuxContainerAdjustment `protobuf:"bytes,6,opt,name=linux,proto3" json:"linux,omitempty"`
Rlimits []*POSIXRlimit `protobuf:"bytes,7,rep,name=rlimits,proto3" json:"rlimits,omitempty"`
CDIDevices []*CDIDevice `protobuf:"bytes,8,rep,name=CDI_devices,json=CDIDevices,proto3" json:"CDI_devices,omitempty"`
Args []string `protobuf:"bytes,9,rep,name=args,proto3" json:"args,omitempty"`
// contains filtered or unexported fields
}
Requested adjustments to a container being created.
func (*ContainerAdjustment) AddAnnotation ¶
func (a *ContainerAdjustment) AddAnnotation(key, value string)
AddAnnotation records the addition of the annotation key=value.
func (*ContainerAdjustment) AddCDIDevice ¶ added in v0.7.0
func (a *ContainerAdjustment) AddCDIDevice(d *CDIDevice)
AddCDIDevice records the addition of the given CDI device to a container.
func (*ContainerAdjustment) AddDevice ¶
func (a *ContainerAdjustment) AddDevice(d *LinuxDevice)
AddDevice records the addition of the given device to a container.
func (*ContainerAdjustment) AddEnv ¶
func (a *ContainerAdjustment) AddEnv(key, value string)
AddEnv records the addition of an environment variable to a container.
func (*ContainerAdjustment) AddHooks ¶
func (a *ContainerAdjustment) AddHooks(h *Hooks)
AddHooks records the addition of the given hooks to a container.
func (*ContainerAdjustment) AddLinuxHugepageLimit ¶
func (a *ContainerAdjustment) AddLinuxHugepageLimit(pageSize string, value uint64)
AddLinuxHugepageLimit records adding a hugepage limit for a container.
func (*ContainerAdjustment) AddLinuxUnified ¶
func (a *ContainerAdjustment) AddLinuxUnified(key, value string)
AddLinuxUnified sets a cgroupv2 unified resource.
func (*ContainerAdjustment) AddMount ¶
func (a *ContainerAdjustment) AddMount(m *Mount)
AddMount records the addition of a mount to a container.
func (*ContainerAdjustment) AddOrReplaceNamespace ¶ added in v0.10.0
func (a *ContainerAdjustment) AddOrReplaceNamespace(n *LinuxNamespace)
AddOrReplaceNamespace records the addition or replacement of the given namespace to a container.
func (*ContainerAdjustment) AddRlimit ¶ added in v0.4.0
func (a *ContainerAdjustment) AddRlimit(typ string, hard, soft uint64)
func (*ContainerAdjustment) Descriptor
deprecated
func (*ContainerAdjustment) Descriptor() ([]byte, []int)
Deprecated: Use ContainerAdjustment.ProtoReflect.Descriptor instead.
func (*ContainerAdjustment) GetAnnotations ¶
func (x *ContainerAdjustment) GetAnnotations() map[string]string
func (*ContainerAdjustment) GetArgs ¶ added in v0.10.0
func (x *ContainerAdjustment) GetArgs() []string
func (*ContainerAdjustment) GetCDIDevices ¶ added in v0.7.0
func (x *ContainerAdjustment) GetCDIDevices() []*CDIDevice
func (*ContainerAdjustment) GetEnv ¶
func (x *ContainerAdjustment) GetEnv() []*KeyValue
func (*ContainerAdjustment) GetHooks ¶
func (x *ContainerAdjustment) GetHooks() *Hooks
func (*ContainerAdjustment) GetLinux ¶
func (x *ContainerAdjustment) GetLinux() *LinuxContainerAdjustment
func (*ContainerAdjustment) GetMounts ¶
func (x *ContainerAdjustment) GetMounts() []*Mount
func (*ContainerAdjustment) GetRlimits ¶ added in v0.4.0
func (x *ContainerAdjustment) GetRlimits() []*POSIXRlimit
func (*ContainerAdjustment) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *ContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ContainerAdjustment) MarshalToVT ¶ added in v0.9.0
func (m *ContainerAdjustment) MarshalToVT(dAtA []byte) (int, error)
func (*ContainerAdjustment) MarshalVT ¶ added in v0.9.0
func (m *ContainerAdjustment) MarshalVT() (dAtA []byte, err error)
func (*ContainerAdjustment) ProtoMessage ¶
func (*ContainerAdjustment) ProtoMessage()
func (*ContainerAdjustment) ProtoReflect ¶
func (x *ContainerAdjustment) ProtoReflect() protoreflect.Message
func (*ContainerAdjustment) RemoveAnnotation ¶
func (a *ContainerAdjustment) RemoveAnnotation(key string)
RemoveAnnotation records the removal of the annotation for the given key. Normally it is an error for a plugin to try and alter an annotation touched by another plugin. However, this is not an error if the plugin removes that annotation prior to touching it.
func (*ContainerAdjustment) RemoveDevice ¶
func (a *ContainerAdjustment) RemoveDevice(path string)
RemoveDevice records the removal of a device from a container. Normally it is an error for a plugin to try and alter an device touched by another container. However, this is not an error if the plugin removes that device prior to touching it.
func (*ContainerAdjustment) RemoveEnv ¶
func (a *ContainerAdjustment) RemoveEnv(key string)
RemoveEnv records the removal of an environment variable from a container. Normally it is an error for a plugin to try and alter an environment variable touched by another container. However, this is not an error if the plugin removes that variable prior to touching it.
func (*ContainerAdjustment) RemoveMount ¶
func (a *ContainerAdjustment) RemoveMount(ContainerPath string)
RemoveMount records the removal of a mount from a container. Normally it is an error for a plugin to try and alter a mount touched by another plugin. However, this is not an error if the plugin removes that mount prior to touching it.
func (*ContainerAdjustment) RemoveNamespace ¶ added in v0.10.0
func (a *ContainerAdjustment) RemoveNamespace(n *LinuxNamespace)
RemoveNamespace records the removal of the given namespace from a container.
func (*ContainerAdjustment) Reset ¶
func (x *ContainerAdjustment) Reset()
func (*ContainerAdjustment) SetArgs ¶ added in v0.10.0
func (a *ContainerAdjustment) SetArgs(args []string)
SetArgs overrides the container command with the given arguments.
func (*ContainerAdjustment) SetLinuxBlockIOClass ¶
func (a *ContainerAdjustment) SetLinuxBlockIOClass(value string)
SetLinuxBlockIOClass records setting the Block I/O class for a container.
func (*ContainerAdjustment) SetLinuxCPUPeriod ¶
func (a *ContainerAdjustment) SetLinuxCPUPeriod(value int64)
SetLinuxCPUPeriod records setting the scheduler's CPU period for a container.
func (*ContainerAdjustment) SetLinuxCPUQuota ¶
func (a *ContainerAdjustment) SetLinuxCPUQuota(value int64)
SetLinuxCPUQuota records setting the scheduler's CPU quota for a container.
func (*ContainerAdjustment) SetLinuxCPURealtimePeriod ¶
func (a *ContainerAdjustment) SetLinuxCPURealtimePeriod(value uint64)
SetLinuxCPURealtimePeriod records setting the scheduler's realtime period for a container.
func (*ContainerAdjustment) SetLinuxCPURealtimeRuntime ¶
func (a *ContainerAdjustment) SetLinuxCPURealtimeRuntime(value int64)
SetLinuxCPURealtimeRuntime records setting the scheduler's realtime runtime for a container.
func (*ContainerAdjustment) SetLinuxCPUSetCPUs ¶
func (a *ContainerAdjustment) SetLinuxCPUSetCPUs(value string)
SetLinuxCPUSetCPUs records setting the cpuset CPUs for a container.
func (*ContainerAdjustment) SetLinuxCPUSetMems ¶
func (a *ContainerAdjustment) SetLinuxCPUSetMems(value string)
SetLinuxCPUSetMems records setting the cpuset memory for a container.
func (*ContainerAdjustment) SetLinuxCPUShares ¶
func (a *ContainerAdjustment) SetLinuxCPUShares(value uint64)
SetLinuxCPUShares records setting the scheduler's CPU shares for a container.
func (*ContainerAdjustment) SetLinuxCgroupsPath ¶
func (a *ContainerAdjustment) SetLinuxCgroupsPath(value string)
SetLinuxCgroupsPath records setting the cgroups path for a container.
func (*ContainerAdjustment) SetLinuxIOPriority ¶ added in v0.10.0
func (a *ContainerAdjustment) SetLinuxIOPriority(ioprio *LinuxIOPriority)
SetLinuxIOPriority records setting the I/O priority for a container.
func (*ContainerAdjustment) SetLinuxMemoryDisableOomKiller ¶
func (a *ContainerAdjustment) SetLinuxMemoryDisableOomKiller()
SetLinuxMemoryDisableOomKiller records disabling the OOM killer for a container.
func (*ContainerAdjustment) SetLinuxMemoryKernel ¶
func (a *ContainerAdjustment) SetLinuxMemoryKernel(value int64)
SetLinuxMemoryKernel records setting the memory kernel limit for a container.
func (*ContainerAdjustment) SetLinuxMemoryKernelTCP ¶
func (a *ContainerAdjustment) SetLinuxMemoryKernelTCP(value int64)
SetLinuxMemoryKernelTCP records setting the memory kernel TCP limit for a container.
func (*ContainerAdjustment) SetLinuxMemoryLimit ¶
func (a *ContainerAdjustment) SetLinuxMemoryLimit(value int64)
SetLinuxMemoryLimit records setting the memory limit for a container.
func (*ContainerAdjustment) SetLinuxMemoryReservation ¶
func (a *ContainerAdjustment) SetLinuxMemoryReservation(value int64)
SetLinuxMemoryReservation records setting the memory reservation for a container.
func (*ContainerAdjustment) SetLinuxMemorySwap ¶
func (a *ContainerAdjustment) SetLinuxMemorySwap(value int64)
SetLinuxMemorySwap records records setting the memory swap limit for a container.
func (*ContainerAdjustment) SetLinuxMemorySwappiness ¶
func (a *ContainerAdjustment) SetLinuxMemorySwappiness(value uint64)
SetLinuxMemorySwappiness records setting the memory swappiness for a container.
func (*ContainerAdjustment) SetLinuxMemoryUseHierarchy ¶
func (a *ContainerAdjustment) SetLinuxMemoryUseHierarchy()
SetLinuxMemoryUseHierarchy records enabling hierarchical memory accounting for a container.
func (*ContainerAdjustment) SetLinuxOomScoreAdj ¶ added in v0.7.0
func (a *ContainerAdjustment) SetLinuxOomScoreAdj(value *int)
SetLinuxOomScoreAdj records setting the kernel's Out-Of-Memory (OOM) killer score for a container.
func (*ContainerAdjustment) SetLinuxPidLimits ¶ added in v0.7.0
func (a *ContainerAdjustment) SetLinuxPidLimits(value int64)
SetLinuxPidLimits records setting the pid max number for a container.
func (*ContainerAdjustment) SetLinuxRDTClass ¶
func (a *ContainerAdjustment) SetLinuxRDTClass(value string)
SetLinuxRDTClass records setting the RDT class for a container.
func (*ContainerAdjustment) SetLinuxSeccompPolicy ¶ added in v0.10.0
func (a *ContainerAdjustment) SetLinuxSeccompPolicy(seccomp *LinuxSeccomp)
SetLinuxSeccompPolicy overrides the container seccomp policy with the given arguments.
func (*ContainerAdjustment) SizeVT ¶ added in v0.9.0
func (m *ContainerAdjustment) SizeVT() (n int)
func (*ContainerAdjustment) String ¶
func (x *ContainerAdjustment) String() string
func (*ContainerAdjustment) Strip ¶ added in v0.10.0
func (a *ContainerAdjustment) Strip() *ContainerAdjustment
Strip empty fields from a container adjustment, reducing a fully empty one to nil. Strip allows comparison of two adjustments for semantic equality using go-cmp.
func (*ContainerAdjustment) UnmarshalVT ¶ added in v0.9.0
func (m *ContainerAdjustment) UnmarshalVT(dAtA []byte) error
func (*ContainerAdjustment) UpdateArgs ¶ added in v0.10.0
func (a *ContainerAdjustment) UpdateArgs(args []string)
UpdateArgs overrides the container command with the given arguments. It won't fail if another plugin has already set the command line.
type ContainerEviction ¶
type ContainerEviction struct {
// Container to evict.
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
// Human-readable reason for eviction.
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
Request to evict (IOW unsolicitedly stop) a container.
func (*ContainerEviction) Descriptor
deprecated
func (*ContainerEviction) Descriptor() ([]byte, []int)
Deprecated: Use ContainerEviction.ProtoReflect.Descriptor instead.
func (*ContainerEviction) GetContainerId ¶
func (x *ContainerEviction) GetContainerId() string
func (*ContainerEviction) GetReason ¶
func (x *ContainerEviction) GetReason() string
func (*ContainerEviction) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *ContainerEviction) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ContainerEviction) MarshalToVT ¶ added in v0.9.0
func (m *ContainerEviction) MarshalToVT(dAtA []byte) (int, error)
func (*ContainerEviction) MarshalVT ¶ added in v0.9.0
func (m *ContainerEviction) MarshalVT() (dAtA []byte, err error)
func (*ContainerEviction) ProtoMessage ¶
func (*ContainerEviction) ProtoMessage()
func (*ContainerEviction) ProtoReflect ¶
func (x *ContainerEviction) ProtoReflect() protoreflect.Message
func (*ContainerEviction) Reset ¶
func (x *ContainerEviction) Reset()
func (*ContainerEviction) SizeVT ¶ added in v0.9.0
func (m *ContainerEviction) SizeVT() (n int)
func (*ContainerEviction) String ¶
func (x *ContainerEviction) String() string
func (*ContainerEviction) UnmarshalVT ¶ added in v0.9.0
func (m *ContainerEviction) UnmarshalVT(dAtA []byte) error
type ContainerState ¶
type ContainerState int32
Possible container states.
const ( ContainerState_CONTAINER_UNKNOWN ContainerState = 0 ContainerState_CONTAINER_CREATED ContainerState = 1 ContainerState_CONTAINER_PAUSED ContainerState = 2 // is this useful/necessary ? ContainerState_CONTAINER_RUNNING ContainerState = 3 ContainerState_CONTAINER_STOPPED ContainerState = 4 )
func (ContainerState) Descriptor ¶
func (ContainerState) Descriptor() protoreflect.EnumDescriptor
func (ContainerState) Enum ¶
func (x ContainerState) Enum() *ContainerState
func (ContainerState) EnumDescriptor
deprecated
func (ContainerState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContainerState.Descriptor instead.
func (ContainerState) Number ¶
func (x ContainerState) Number() protoreflect.EnumNumber
func (ContainerState) String ¶
func (x ContainerState) String() string
func (ContainerState) Type ¶
func (ContainerState) Type() protoreflect.EnumType
type ContainerUpdate ¶
type ContainerUpdate struct {
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
Linux *LinuxContainerUpdate `protobuf:"bytes,2,opt,name=linux,proto3" json:"linux,omitempty"`
IgnoreFailure bool `protobuf:"varint,3,opt,name=ignore_failure,json=ignoreFailure,proto3" json:"ignore_failure,omitempty"`
// contains filtered or unexported fields
}
Requested update to an already created container.
func (*ContainerUpdate) AddLinuxHugepageLimit ¶
func (u *ContainerUpdate) AddLinuxHugepageLimit(pageSize string, value uint64)
AddLinuxHugepageLimit records adding a hugepage limit for a container.
func (*ContainerUpdate) AddLinuxUnified ¶
func (u *ContainerUpdate) AddLinuxUnified(key, value string)
AddLinuxUnified sets a cgroupv2 unified resource.
func (*ContainerUpdate) Descriptor
deprecated
func (*ContainerUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ContainerUpdate.ProtoReflect.Descriptor instead.
func (*ContainerUpdate) GetContainerId ¶
func (x *ContainerUpdate) GetContainerId() string
func (*ContainerUpdate) GetIgnoreFailure ¶
func (x *ContainerUpdate) GetIgnoreFailure() bool
func (*ContainerUpdate) GetLinux ¶
func (x *ContainerUpdate) GetLinux() *LinuxContainerUpdate
func (*ContainerUpdate) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *ContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ContainerUpdate) MarshalToVT ¶ added in v0.9.0
func (m *ContainerUpdate) MarshalToVT(dAtA []byte) (int, error)
func (*ContainerUpdate) MarshalVT ¶ added in v0.9.0
func (m *ContainerUpdate) MarshalVT() (dAtA []byte, err error)
func (*ContainerUpdate) ProtoMessage ¶
func (*ContainerUpdate) ProtoMessage()
func (*ContainerUpdate) ProtoReflect ¶
func (x *ContainerUpdate) ProtoReflect() protoreflect.Message
func (*ContainerUpdate) Reset ¶
func (x *ContainerUpdate) Reset()
func (*ContainerUpdate) SetContainerId ¶
func (u *ContainerUpdate) SetContainerId(id string)
nolint SetContainerId sets the id of the container to update.
func (*ContainerUpdate) SetIgnoreFailure ¶
func (u *ContainerUpdate) SetIgnoreFailure()
SetIgnoreFailure marks an Update as ignored for failures. Such updates will not prevent the related container operation from succeeding if the update fails.
func (*ContainerUpdate) SetLinuxBlockIOClass ¶
func (u *ContainerUpdate) SetLinuxBlockIOClass(value string)
SetLinuxBlockIOClass records setting the Block I/O class for a container.
func (*ContainerUpdate) SetLinuxCPUPeriod ¶
func (u *ContainerUpdate) SetLinuxCPUPeriod(value int64)
SetLinuxCPUPeriod records setting the scheduler's CPU period for a container.
func (*ContainerUpdate) SetLinuxCPUQuota ¶
func (u *ContainerUpdate) SetLinuxCPUQuota(value int64)
SetLinuxCPUQuota records setting the scheduler's CPU quota for a container.
func (*ContainerUpdate) SetLinuxCPURealtimePeriod ¶
func (u *ContainerUpdate) SetLinuxCPURealtimePeriod(value uint64)
SetLinuxCPURealtimePeriod records setting the scheduler's realtime period for a container.
func (*ContainerUpdate) SetLinuxCPURealtimeRuntime ¶
func (u *ContainerUpdate) SetLinuxCPURealtimeRuntime(value int64)
SetLinuxCPURealtimeRuntime records setting the scheduler's realtime runtime for a container.
func (*ContainerUpdate) SetLinuxCPUSetCPUs ¶
func (u *ContainerUpdate) SetLinuxCPUSetCPUs(value string)
SetLinuxCPUSetCPUs records setting the cpuset CPUs for a container.
func (*ContainerUpdate) SetLinuxCPUSetMems ¶
func (u *ContainerUpdate) SetLinuxCPUSetMems(value string)
SetLinuxCPUSetMems records setting the cpuset memory for a container.
func (*ContainerUpdate) SetLinuxCPUShares ¶
func (u *ContainerUpdate) SetLinuxCPUShares(value uint64)
SetLinuxCPUShares records setting the scheduler's CPU shares for a container.
func (*ContainerUpdate) SetLinuxMemoryDisableOomKiller ¶
func (u *ContainerUpdate) SetLinuxMemoryDisableOomKiller()
SetLinuxMemoryDisableOomKiller records disabling the OOM killer for a container.
func (*ContainerUpdate) SetLinuxMemoryKernel ¶
func (u *ContainerUpdate) SetLinuxMemoryKernel(value int64)
SetLinuxMemoryKernel records setting the memory kernel limit for a container.
func (*ContainerUpdate) SetLinuxMemoryKernelTCP ¶
func (u *ContainerUpdate) SetLinuxMemoryKernelTCP(value int64)
SetLinuxMemoryKernelTCP records setting the memory kernel TCP limit for a container.
func (*ContainerUpdate) SetLinuxMemoryLimit ¶
func (u *ContainerUpdate) SetLinuxMemoryLimit(value int64)
SetLinuxMemoryLimit records setting the memory limit for a container.
func (*ContainerUpdate) SetLinuxMemoryReservation ¶
func (u *ContainerUpdate) SetLinuxMemoryReservation(value int64)
SetLinuxMemoryReservation records setting the memory reservation for a container.
func (*ContainerUpdate) SetLinuxMemorySwap ¶
func (u *ContainerUpdate) SetLinuxMemorySwap(value int64)
SetLinuxMemorySwap records records setting the memory swap limit for a container.
func (*ContainerUpdate) SetLinuxMemorySwappiness ¶
func (u *ContainerUpdate) SetLinuxMemorySwappiness(value uint64)
SetLinuxMemorySwappiness records setting the memory swappiness for a container.
func (*ContainerUpdate) SetLinuxMemoryUseHierarchy ¶
func (u *ContainerUpdate) SetLinuxMemoryUseHierarchy()
SetLinuxMemoryUseHierarchy records enabling hierarchical memory accounting for a container.
func (*ContainerUpdate) SetLinuxPidLimits ¶ added in v0.7.0
func (u *ContainerUpdate) SetLinuxPidLimits(value int64)
SetLinuxPidLimits records setting the pid max number for a container.
func (*ContainerUpdate) SetLinuxRDTClass ¶
func (u *ContainerUpdate) SetLinuxRDTClass(value string)
SetLinuxRDTClass records setting the RDT class for a container.
func (*ContainerUpdate) SizeVT ¶ added in v0.9.0
func (m *ContainerUpdate) SizeVT() (n int)
func (*ContainerUpdate) String ¶
func (x *ContainerUpdate) String() string
func (*ContainerUpdate) Strip ¶ added in v0.10.0
func (u *ContainerUpdate) Strip() *ContainerUpdate
Strip empty fields from a container update, reducing a fully empty one to nil. Strip allows comparison of two updates for semantic equality using go-cmp.
func (*ContainerUpdate) UnmarshalVT ¶ added in v0.9.0
func (m *ContainerUpdate) UnmarshalVT(dAtA []byte) error
type CreateContainerRequest ¶
type CreateContainerRequest struct {
// Pod of container being created.
Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
// Container being created.
Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
// contains filtered or unexported fields
}
func (*CreateContainerRequest) Descriptor
deprecated
func (*CreateContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.
func (*CreateContainerRequest) GetContainer ¶
func (x *CreateContainerRequest) GetContainer() *Container
func (*CreateContainerRequest) GetPod ¶
func (x *CreateContainerRequest) GetPod() *PodSandbox
func (*CreateContainerRequest) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *CreateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateContainerRequest) MarshalToVT ¶ added in v0.9.0
func (m *CreateContainerRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CreateContainerRequest) MarshalVT ¶ added in v0.9.0
func (m *CreateContainerRequest) MarshalVT() (dAtA []byte, err error)
func (*CreateContainerRequest) ProtoMessage ¶
func (*CreateContainerRequest) ProtoMessage()
func (*CreateContainerRequest) ProtoReflect ¶
func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
func (*CreateContainerRequest) Reset ¶
func (x *CreateContainerRequest) Reset()
func (*CreateContainerRequest) SizeVT ¶ added in v0.9.0
func (m *CreateContainerRequest) SizeVT() (n int)
func (*CreateContainerRequest) String ¶
func (x *CreateContainerRequest) String() string
func (*CreateContainerRequest) UnmarshalVT ¶ added in v0.9.0
func (m *CreateContainerRequest) UnmarshalVT(dAtA []byte) error
type CreateContainerResponse ¶
type CreateContainerResponse struct {
// Requested adjustments to container being created.
Adjust *ContainerAdjustment `protobuf:"bytes,1,opt,name=adjust,proto3" json:"adjust,omitempty"`
// Requested updates to other existing containers.
Update []*ContainerUpdate `protobuf:"bytes,2,rep,name=update,proto3" json:"update,omitempty"`
// Requested eviction of existing containers.
Evict []*ContainerEviction `protobuf:"bytes,3,rep,name=evict,proto3" json:"evict,omitempty"`
// contains filtered or unexported fields
}
func (*CreateContainerResponse) Descriptor
deprecated
func (*CreateContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerResponse.ProtoReflect.Descriptor instead.
func (*CreateContainerResponse) GetAdjust ¶
func (x *CreateContainerResponse) GetAdjust() *ContainerAdjustment
func (*CreateContainerResponse) GetEvict ¶
func (x *CreateContainerResponse) GetEvict() []*ContainerEviction
func (*CreateContainerResponse) GetUpdate ¶
func (x *CreateContainerResponse) GetUpdate() []*ContainerUpdate
func (*CreateContainerResponse) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *CreateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateContainerResponse) MarshalToVT ¶ added in v0.9.0
func (m *CreateContainerResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CreateContainerResponse) MarshalVT ¶ added in v0.9.0
func (m *CreateContainerResponse) MarshalVT() (dAtA []byte, err error)
func (*CreateContainerResponse) ProtoMessage ¶
func (*CreateContainerResponse) ProtoMessage()
func (*CreateContainerResponse) ProtoReflect ¶
func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
func (*CreateContainerResponse) Reset ¶
func (x *CreateContainerResponse) Reset()
func (*CreateContainerResponse) SizeVT ¶ added in v0.9.0
func (m *CreateContainerResponse) SizeVT() (n int)
func (*CreateContainerResponse) String ¶
func (x *CreateContainerResponse) String() string
func (*CreateContainerResponse) UnmarshalVT ¶ added in v0.9.0
func (m *CreateContainerResponse) UnmarshalVT(dAtA []byte) error
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
Empty response for those *Requests that are semantically events.
func (*Empty) Descriptor
deprecated
func (*Empty) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
func (*Empty) UnmarshalVT ¶ added in v0.9.0
type Event ¶
type Event int32
Events that plugins can subscribe to in ConfigureResponse.
const ( Event_UNKNOWN Event = 0 Event_RUN_POD_SANDBOX Event = 1 Event_STOP_POD_SANDBOX Event = 2 Event_REMOVE_POD_SANDBOX Event = 3 Event_CREATE_CONTAINER Event = 4 Event_POST_CREATE_CONTAINER Event = 5 Event_START_CONTAINER Event = 6 Event_POST_START_CONTAINER Event = 7 Event_UPDATE_CONTAINER Event = 8 Event_POST_UPDATE_CONTAINER Event = 9 Event_STOP_CONTAINER Event = 10 Event_REMOVE_CONTAINER Event = 11 Event_UPDATE_POD_SANDBOX Event = 12 Event_POST_UPDATE_POD_SANDBOX Event = 13 Event_VALIDATE_CONTAINER_ADJUSTMENT Event = 14 Event_LAST Event = 15 )
func (Event) Descriptor ¶
func (Event) Descriptor() protoreflect.EnumDescriptor
func (Event) EnumDescriptor
deprecated
func (Event) Number ¶
func (x Event) Number() protoreflect.EnumNumber
func (Event) Type ¶
func (Event) Type() protoreflect.EnumType
type EventMask ¶
type EventMask int32
EventMask corresponds to a set of enumerated Events.
func MustParseEventMask ¶
MustParseEventMask parses the given events, panic()ing on errors.
func ParseEventMask ¶
ParseEventMask parses a string representation into an EventMask.
func (*EventMask) PrettyString ¶
PrettyString returns a human-readable string representation of an EventMask.
type Field ¶ added in v0.10.0
type Field int32
Field enumerates all fields that can be adjusted by plugins.
const ( Field_None Field = 0 Field_Annotations Field = 1 Field_Mounts Field = 2 Field_OciHooks Field = 3 Field_Devices Field = 4 Field_CdiDevices Field = 5 Field_Env Field = 6 Field_Args Field = 7 Field_MemLimit Field = 8 Field_MemReservation Field = 9 Field_MemSwapLimit Field = 10 Field_MemKernelLimit Field = 11 Field_MemTCPLimit Field = 12 Field_MemSwappiness Field = 13 Field_MemDisableOomKiller Field = 14 Field_MemUseHierarchy Field = 15 Field_CPUQuota Field = 17 Field_CPUPeriod Field = 18 Field_CPURealtimeRuntime Field = 19 Field_CPURealtimePeriod Field = 20 Field_CPUSetCPUs Field = 21 Field_CPUSetMems Field = 22 Field_PidsLimit Field = 23 Field_HugepageLimits Field = 24 Field_BlockioClass Field = 25 Field_RdtClass Field = 26 Field_CgroupsUnified Field = 27 Field_CgroupsPath Field = 28 Field_OomScoreAdj Field = 29 Field_Rlimits Field = 30 Field_IoPriority Field = 31 Field_SeccompPolicy Field = 32 Field_Namespace Field = 33 )
func (Field) Descriptor ¶ added in v0.10.0
func (Field) Descriptor() protoreflect.EnumDescriptor
func (Field) EnumDescriptor
deprecated
added in
v0.10.0
func (Field) Number ¶ added in v0.10.0
func (x Field) Number() protoreflect.EnumNumber
func (Field) Type ¶ added in v0.10.0
func (Field) Type() protoreflect.EnumType
type FieldOwners ¶ added in v0.10.0
type FieldOwners struct {
Simple map[int32]string `` /* 154-byte string literal not displayed */
Compound map[int32]*CompoundFieldOwners `` /* 158-byte string literal not displayed */
// contains filtered or unexported fields
}
FieldOwners tracks field 'plugin ownership' for a single container. Keys represent adjustable fields of a container. For simple fields, the value is the plugin that last modified the field. For compound fields, the value is a CompoundFieldOwners which provides tracking 'plugin ownership' per field for compound data, typically maps and slices. Field enum values are used to index both maps, using Key() to get the int32 for the Field.
func NewFieldOwners ¶ added in v0.10.0
func NewFieldOwners() *FieldOwners
func (*FieldOwners) AnnotationOwner ¶ added in v0.10.0
func (f *FieldOwners) AnnotationOwner(key string) (string, bool)
func (*FieldOwners) ArgsOwner ¶ added in v0.10.0
func (f *FieldOwners) ArgsOwner() (string, bool)
func (*FieldOwners) BlockioClassOwner ¶ added in v0.10.0
func (f *FieldOwners) BlockioClassOwner() (string, bool)
func (*FieldOwners) CPUPeriodOwner ¶ added in v0.10.0
func (f *FieldOwners) CPUPeriodOwner() (string, bool)
func (*FieldOwners) CPUQuotaOwner ¶ added in v0.10.0
func (f *FieldOwners) CPUQuotaOwner() (string, bool)
func (*FieldOwners) CPURealtimePeriodOwner ¶ added in v0.10.0
func (f *FieldOwners) CPURealtimePeriodOwner() (string, bool)
func (*FieldOwners) CPURealtimeRuntimeOwner ¶ added in v0.10.0
func (f *FieldOwners) CPURealtimeRuntimeOwner() (string, bool)
func (*FieldOwners) CPUSetCPUsOwner ¶ added in v0.10.0
func (f *FieldOwners) CPUSetCPUsOwner() (string, bool)
func (*FieldOwners) CPUSetMemsOwner ¶ added in v0.10.0
func (f *FieldOwners) CPUSetMemsOwner() (string, bool)
func (*FieldOwners) CPUSharesOwner ¶ added in v0.10.0
func (f *FieldOwners) CPUSharesOwner() (string, bool)
func (*FieldOwners) CgroupsPathOwner ¶ added in v0.10.0
func (f *FieldOwners) CgroupsPathOwner() (string, bool)
func (*FieldOwners) CgroupsUnifiedOwner ¶ added in v0.10.0
func (f *FieldOwners) CgroupsUnifiedOwner(key string) (string, bool)
func (*FieldOwners) ClaimAnnotation ¶ added in v0.10.0
func (f *FieldOwners) ClaimAnnotation(key, plugin string) error
func (*FieldOwners) ClaimArgs ¶ added in v0.10.0
func (f *FieldOwners) ClaimArgs(plugin string) error
func (*FieldOwners) ClaimBlockioClass ¶ added in v0.10.0
func (f *FieldOwners) ClaimBlockioClass(plugin string) error
func (*FieldOwners) ClaimCPUPeriod ¶ added in v0.10.0
func (f *FieldOwners) ClaimCPUPeriod(plugin string) error
func (*FieldOwners) ClaimCPUQuota ¶ added in v0.10.0
func (f *FieldOwners) ClaimCPUQuota(plugin string) error
func (*FieldOwners) ClaimCPURealtimePeriod ¶ added in v0.10.0
func (f *FieldOwners) ClaimCPURealtimePeriod(plugin string) error
func (*FieldOwners) ClaimCPURealtimeRuntime ¶ added in v0.10.0
func (f *FieldOwners) ClaimCPURealtimeRuntime(plugin string) error
func (*FieldOwners) ClaimCPUSetCPUs ¶ added in v0.10.0
func (f *FieldOwners) ClaimCPUSetCPUs(plugin string) error
func (*FieldOwners) ClaimCPUSetMems ¶ added in v0.10.0
func (f *FieldOwners) ClaimCPUSetMems(plugin string) error
func (*FieldOwners) ClaimCPUShares ¶ added in v0.10.0
func (f *FieldOwners) ClaimCPUShares(plugin string) error
func (*FieldOwners) ClaimCdiDevice ¶ added in v0.10.0
func (f *FieldOwners) ClaimCdiDevice(name, plugin string) error
func (*FieldOwners) ClaimCgroupsPath ¶ added in v0.10.0
func (f *FieldOwners) ClaimCgroupsPath(plugin string) error
func (*FieldOwners) ClaimCgroupsUnified ¶ added in v0.10.0
func (f *FieldOwners) ClaimCgroupsUnified(key, plugin string) error
func (*FieldOwners) ClaimDevice ¶ added in v0.10.0
func (f *FieldOwners) ClaimDevice(path, plugin string) error
func (*FieldOwners) ClaimEnv ¶ added in v0.10.0
func (f *FieldOwners) ClaimEnv(name, plugin string) error
func (*FieldOwners) ClaimHooks ¶ added in v0.10.0
func (f *FieldOwners) ClaimHooks(plugin string) error
func (*FieldOwners) ClaimHugepageLimit ¶ added in v0.10.0
func (f *FieldOwners) ClaimHugepageLimit(size, plugin string) error
func (*FieldOwners) ClaimIOPriority ¶ added in v0.10.0
func (f *FieldOwners) ClaimIOPriority(plugin string) error
func (*FieldOwners) ClaimMemDisableOomKiller ¶ added in v0.10.0
func (f *FieldOwners) ClaimMemDisableOomKiller(plugin string) error
func (*FieldOwners) ClaimMemKernelLimit ¶ added in v0.10.0
func (f *FieldOwners) ClaimMemKernelLimit(plugin string) error
func (*FieldOwners) ClaimMemLimit ¶ added in v0.10.0
func (f *FieldOwners) ClaimMemLimit(plugin string) error
func (*FieldOwners) ClaimMemReservation ¶ added in v0.10.0
func (f *FieldOwners) ClaimMemReservation(plugin string) error
func (*FieldOwners) ClaimMemSwapLimit ¶ added in v0.10.0
func (f *FieldOwners) ClaimMemSwapLimit(plugin string) error
func (*FieldOwners) ClaimMemSwappiness ¶ added in v0.10.0
func (f *FieldOwners) ClaimMemSwappiness(plugin string) error
func (*FieldOwners) ClaimMemTCPLimit ¶ added in v0.10.0
func (f *FieldOwners) ClaimMemTCPLimit(plugin string) error
func (*FieldOwners) ClaimMemUseHierarchy ¶ added in v0.10.0
func (f *FieldOwners) ClaimMemUseHierarchy(plugin string) error
func (*FieldOwners) ClaimMount ¶ added in v0.10.0
func (f *FieldOwners) ClaimMount(destination, plugin string) error
func (*FieldOwners) ClaimNamespace ¶ added in v0.10.0
func (f *FieldOwners) ClaimNamespace(typ, plugin string) error
func (*FieldOwners) ClaimOomScoreAdj ¶ added in v0.10.0
func (f *FieldOwners) ClaimOomScoreAdj(plugin string) error
func (*FieldOwners) ClaimPidsLimit ¶ added in v0.10.0
func (f *FieldOwners) ClaimPidsLimit(plugin string) error
func (*FieldOwners) ClaimRdtClass ¶ added in v0.10.0
func (f *FieldOwners) ClaimRdtClass(plugin string) error
func (*FieldOwners) ClaimRlimit ¶ added in v0.10.0
func (f *FieldOwners) ClaimRlimit(typ, plugin string) error
func (*FieldOwners) ClaimSeccompPolicy ¶ added in v0.10.0
func (f *FieldOwners) ClaimSeccompPolicy(plugin string) error
func (*FieldOwners) ClearAnnotation ¶ added in v0.10.0
func (f *FieldOwners) ClearAnnotation(key, plugin string)
func (*FieldOwners) ClearArgs ¶ added in v0.10.0
func (f *FieldOwners) ClearArgs(plugin string)
func (*FieldOwners) ClearDevice ¶ added in v0.10.0
func (f *FieldOwners) ClearDevice(path, plugin string)
func (*FieldOwners) ClearEnv ¶ added in v0.10.0
func (f *FieldOwners) ClearEnv(name, plugin string)
func (*FieldOwners) ClearMount ¶ added in v0.10.0
func (f *FieldOwners) ClearMount(destination, plugin string)
func (*FieldOwners) Conflict ¶ added in v0.10.0
func (f *FieldOwners) Conflict(field int32, plugin, other string, qualifiers ...string) error
func (*FieldOwners) Descriptor
deprecated
added in
v0.10.0
func (*FieldOwners) Descriptor() ([]byte, []int)
Deprecated: Use FieldOwners.ProtoReflect.Descriptor instead.
func (*FieldOwners) DeviceOwner ¶ added in v0.10.0
func (f *FieldOwners) DeviceOwner(path string) (string, bool)
func (*FieldOwners) EnvOwner ¶ added in v0.10.0
func (f *FieldOwners) EnvOwner(name string) (string, bool)
func (*FieldOwners) GetCompound ¶ added in v0.10.0
func (x *FieldOwners) GetCompound() map[int32]*CompoundFieldOwners
func (*FieldOwners) GetSimple ¶ added in v0.10.0
func (x *FieldOwners) GetSimple() map[int32]string
func (*FieldOwners) HugepageLimitOwner ¶ added in v0.10.0
func (f *FieldOwners) HugepageLimitOwner(size string) (string, bool)
func (*FieldOwners) IsCompoundConflict ¶ added in v0.10.0
func (f *FieldOwners) IsCompoundConflict(field int32, key, plugin string) error
func (*FieldOwners) IsSimpleConflict ¶ added in v0.10.0
func (f *FieldOwners) IsSimpleConflict(field int32, plugin string) error
func (*FieldOwners) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *FieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FieldOwners) MarshalToVT ¶ added in v0.10.0
func (m *FieldOwners) MarshalToVT(dAtA []byte) (int, error)
func (*FieldOwners) MarshalVT ¶ added in v0.10.0
func (m *FieldOwners) MarshalVT() (dAtA []byte, err error)
func (*FieldOwners) MemDisableOomKillerOwner ¶ added in v0.10.0
func (f *FieldOwners) MemDisableOomKillerOwner() (string, bool)
func (*FieldOwners) MemKernelLimitOwner ¶ added in v0.10.0
func (f *FieldOwners) MemKernelLimitOwner() (string, bool)
func (*FieldOwners) MemLimitOwner ¶ added in v0.10.0
func (f *FieldOwners) MemLimitOwner() (string, bool)
func (*FieldOwners) MemReservationOwner ¶ added in v0.10.0
func (f *FieldOwners) MemReservationOwner() (string, bool)
func (*FieldOwners) MemSwapLimitOwner ¶ added in v0.10.0
func (f *FieldOwners) MemSwapLimitOwner() (string, bool)
func (*FieldOwners) MemSwappinessOwner ¶ added in v0.10.0
func (f *FieldOwners) MemSwappinessOwner() (string, bool)
func (*FieldOwners) MemTCPLimitOwner ¶ added in v0.10.0
func (f *FieldOwners) MemTCPLimitOwner() (string, bool)
func (*FieldOwners) MemUseHierarchyOwner ¶ added in v0.10.0
func (f *FieldOwners) MemUseHierarchyOwner() (string, bool)
func (*FieldOwners) MountOwner ¶ added in v0.10.0
func (f *FieldOwners) MountOwner(destination string) (string, bool)
func (*FieldOwners) NamespaceOwner ¶ added in v0.10.0
func (f *FieldOwners) NamespaceOwner(typ string) (string, bool)
func (*FieldOwners) OomScoreAdjOwner ¶ added in v0.10.0
func (f *FieldOwners) OomScoreAdjOwner() (string, bool)
func (*FieldOwners) PidsLimitOwner ¶ added in v0.10.0
func (f *FieldOwners) PidsLimitOwner() (string, bool)
func (*FieldOwners) ProtoMessage ¶ added in v0.10.0
func (*FieldOwners) ProtoMessage()
func (*FieldOwners) ProtoReflect ¶ added in v0.10.0
func (x *FieldOwners) ProtoReflect() protoreflect.Message
func (*FieldOwners) RdtClassOwner ¶ added in v0.10.0
func (f *FieldOwners) RdtClassOwner() (string, bool)
func (*FieldOwners) Reset ¶ added in v0.10.0
func (x *FieldOwners) Reset()
func (*FieldOwners) RlimitOwner ¶ added in v0.10.0
func (f *FieldOwners) RlimitOwner(typ string) (string, bool)
func (*FieldOwners) SizeVT ¶ added in v0.10.0
func (m *FieldOwners) SizeVT() (n int)
func (*FieldOwners) String ¶ added in v0.10.0
func (x *FieldOwners) String() string
func (*FieldOwners) UnmarshalVT ¶ added in v0.10.0
func (m *FieldOwners) UnmarshalVT(dAtA []byte) error
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 *OptionalInt `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
One OCI hook.
func FromOCIHookSlice ¶
FromOCIHookSlice returns a hook slice from an OCI runtime Spec.
func (*Hook) Descriptor
deprecated
func (*Hook) GetTimeout ¶
func (x *Hook) GetTimeout() *OptionalInt
func (*Hook) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*Hook) ProtoMessage ¶
func (*Hook) ProtoMessage()
func (*Hook) ProtoReflect ¶
func (x *Hook) ProtoReflect() protoreflect.Message
func (*Hook) UnmarshalVT ¶ added in v0.9.0
type Hooks ¶
type Hooks struct {
Prestart []*Hook `protobuf:"bytes,1,rep,name=prestart,proto3" json:"prestart,omitempty"`
CreateRuntime []*Hook `protobuf:"bytes,2,rep,name=create_runtime,json=createRuntime,proto3" json:"create_runtime,omitempty"`
CreateContainer []*Hook `protobuf:"bytes,3,rep,name=create_container,json=createContainer,proto3" json:"create_container,omitempty"`
StartContainer []*Hook `protobuf:"bytes,4,rep,name=start_container,json=startContainer,proto3" json:"start_container,omitempty"`
Poststart []*Hook `protobuf:"bytes,5,rep,name=poststart,proto3" json:"poststart,omitempty"`
Poststop []*Hook `protobuf:"bytes,6,rep,name=poststop,proto3" json:"poststop,omitempty"`
// contains filtered or unexported fields
}
Container OCI hooks.
func FromOCIHooks ¶
FromOCIHooks returns hooks from an OCI runtime Spec.
func (*Hooks) Descriptor
deprecated
func (*Hooks) GetCreateContainer ¶
func (*Hooks) GetCreateRuntime ¶
func (*Hooks) GetPoststart ¶
func (*Hooks) GetPoststop ¶
func (*Hooks) GetPrestart ¶
func (*Hooks) GetStartContainer ¶
func (*Hooks) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*Hooks) ProtoMessage ¶
func (*Hooks) ProtoMessage()
func (*Hooks) ProtoReflect ¶
func (x *Hooks) ProtoReflect() protoreflect.Message
func (*Hooks) Strip ¶ added in v0.10.0
Strip empty fields from Hooks, reducing a fully empty one to nil. Strip allows comparison of two Hooks for semantic equality using go-cmp.
func (*Hooks) UnmarshalVT ¶ added in v0.9.0
type HostFunctions ¶ added in v0.9.0
type HostFunctions interface {
// Log displays a log message
Log(context.Context, *LogRequest) (*Empty, error)
}
go:plugin type=host
type HostFunctionsService ¶ added in v0.9.0
type HostFunctionsService interface {
Log(context.Context, *LogRequest) (*Empty, error)
}
func NewHostFunctionsClient ¶ added in v0.9.0
func NewHostFunctionsClient(client *ttrpc.Client) HostFunctionsService
type HugepageLimit ¶
type HugepageLimit struct {
PageSize string `protobuf:"bytes,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
Container huge page limit.
func (*HugepageLimit) Descriptor
deprecated
func (*HugepageLimit) Descriptor() ([]byte, []int)
Deprecated: Use HugepageLimit.ProtoReflect.Descriptor instead.
func (*HugepageLimit) GetLimit ¶
func (x *HugepageLimit) GetLimit() uint64
func (*HugepageLimit) GetPageSize ¶
func (x *HugepageLimit) GetPageSize() string
func (*HugepageLimit) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *HugepageLimit) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HugepageLimit) MarshalToVT ¶ added in v0.9.0
func (m *HugepageLimit) MarshalToVT(dAtA []byte) (int, error)
func (*HugepageLimit) MarshalVT ¶ added in v0.9.0
func (m *HugepageLimit) MarshalVT() (dAtA []byte, err error)
func (*HugepageLimit) ProtoMessage ¶
func (*HugepageLimit) ProtoMessage()
func (*HugepageLimit) ProtoReflect ¶
func (x *HugepageLimit) ProtoReflect() protoreflect.Message
func (*HugepageLimit) Reset ¶
func (x *HugepageLimit) Reset()
func (*HugepageLimit) SizeVT ¶ added in v0.9.0
func (m *HugepageLimit) SizeVT() (n int)
func (*HugepageLimit) String ¶
func (x *HugepageLimit) String() string
func (*HugepageLimit) UnmarshalVT ¶ added in v0.9.0
func (m *HugepageLimit) UnmarshalVT(dAtA []byte) error
type IOPrioClass ¶ added in v0.10.0
type IOPrioClass int32
const ( IOPrioClass_IOPRIO_CLASS_NONE IOPrioClass = 0 IOPrioClass_IOPRIO_CLASS_RT IOPrioClass = 1 IOPrioClass_IOPRIO_CLASS_BE IOPrioClass = 2 IOPrioClass_IOPRIO_CLASS_IDLE IOPrioClass = 3 )
func FromOCIIOPriorityClass ¶ added in v0.10.0
func FromOCIIOPriorityClass(o rspec.IOPriorityClass) IOPrioClass
FromOCIIOPrioClass returns the IOPrioClass corresponding the the given OCI IOPriorityClass.
func (IOPrioClass) Descriptor ¶ added in v0.10.0
func (IOPrioClass) Descriptor() protoreflect.EnumDescriptor
func (IOPrioClass) Enum ¶ added in v0.10.0
func (x IOPrioClass) Enum() *IOPrioClass
func (IOPrioClass) EnumDescriptor
deprecated
added in
v0.10.0
func (IOPrioClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use IOPrioClass.Descriptor instead.
func (IOPrioClass) Number ¶ added in v0.10.0
func (x IOPrioClass) Number() protoreflect.EnumNumber
func (IOPrioClass) String ¶ added in v0.10.0
func (x IOPrioClass) String() string
func (IOPrioClass) ToOCI ¶ added in v0.10.0
func (c IOPrioClass) ToOCI() rspec.IOPriorityClass
ToOCI returns the OCI IOPriorityClass corresponding to the given IOPrioClass.
func (IOPrioClass) Type ¶ added in v0.10.0
func (IOPrioClass) Type() protoreflect.EnumType
type KeyValue ¶
type KeyValue struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
KeyValue represents an environment variable.
func FromOCIEnv ¶
FromOCIEnv returns KeyValues from an OCI runtime Spec environment.
func (*KeyValue) Descriptor
deprecated
func (*KeyValue) IsMarkedForRemoval ¶
IsMarkedForRemoval checks if an environment variable is marked for removal.
func (*KeyValue) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*KeyValue) MarshalToVT ¶ added in v0.9.0
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶
func (x *KeyValue) ProtoReflect() protoreflect.Message
func (*KeyValue) UnmarshalVT ¶ added in v0.9.0
type LinuxCPU ¶
type LinuxCPU struct {
Quota *OptionalInt64 `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"`
Period *OptionalUInt64 `protobuf:"bytes,3,opt,name=period,proto3" json:"period,omitempty"`
RealtimeRuntime *OptionalInt64 `protobuf:"bytes,4,opt,name=realtime_runtime,json=realtimeRuntime,proto3" json:"realtime_runtime,omitempty"`
RealtimePeriod *OptionalUInt64 `protobuf:"bytes,5,opt,name=realtime_period,json=realtimePeriod,proto3" json:"realtime_period,omitempty"`
Cpus string `protobuf:"bytes,6,opt,name=cpus,proto3" json:"cpus,omitempty"`
Mems string `protobuf:"bytes,7,opt,name=mems,proto3" json:"mems,omitempty"`
// contains filtered or unexported fields
}
CPU-related parts of (linux) resources.
func (*LinuxCPU) Descriptor
deprecated
func (*LinuxCPU) GetPeriod ¶
func (x *LinuxCPU) GetPeriod() *OptionalUInt64
func (*LinuxCPU) GetQuota ¶
func (x *LinuxCPU) GetQuota() *OptionalInt64
func (*LinuxCPU) GetRealtimePeriod ¶
func (x *LinuxCPU) GetRealtimePeriod() *OptionalUInt64
func (*LinuxCPU) GetRealtimeRuntime ¶
func (x *LinuxCPU) GetRealtimeRuntime() *OptionalInt64
func (*LinuxCPU) GetShares ¶
func (x *LinuxCPU) GetShares() *OptionalUInt64
func (*LinuxCPU) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*LinuxCPU) MarshalToVT ¶ added in v0.9.0
func (*LinuxCPU) ProtoMessage ¶
func (*LinuxCPU) ProtoMessage()
func (*LinuxCPU) ProtoReflect ¶
func (x *LinuxCPU) ProtoReflect() protoreflect.Message
func (*LinuxCPU) Strip ¶ added in v0.10.0
Strip empty fields from linux CPU attributes, reducing a fully empty one to nil. Strip allows comparison of two sets of attributes for semantic equality using go-cmp.
func (*LinuxCPU) UnmarshalVT ¶ added in v0.9.0
type LinuxContainer ¶
type LinuxContainer struct {
Namespaces []*LinuxNamespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
Devices []*LinuxDevice `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
Resources *LinuxResources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
OomScoreAdj *OptionalInt `protobuf:"bytes,4,opt,name=oom_score_adj,json=oomScoreAdj,proto3" json:"oom_score_adj,omitempty"`
CgroupsPath string `protobuf:"bytes,5,opt,name=cgroups_path,json=cgroupsPath,proto3" json:"cgroups_path,omitempty"`
IoPriority *LinuxIOPriority `protobuf:"bytes,6,opt,name=io_priority,json=ioPriority,proto3" json:"io_priority,omitempty"`
SeccompProfile *SecurityProfile `protobuf:"bytes,7,opt,name=seccomp_profile,json=seccompProfile,proto3" json:"seccomp_profile,omitempty"`
SeccompPolicy *LinuxSeccomp `protobuf:"bytes,8,opt,name=seccomp_policy,json=seccompPolicy,proto3" json:"seccomp_policy,omitempty"`
// contains filtered or unexported fields
}
Container (linux) metadata.
func (*LinuxContainer) Descriptor
deprecated
func (*LinuxContainer) Descriptor() ([]byte, []int)
Deprecated: Use LinuxContainer.ProtoReflect.Descriptor instead.
func (*LinuxContainer) GetCgroupsPath ¶
func (x *LinuxContainer) GetCgroupsPath() string
func (*LinuxContainer) GetDevices ¶
func (x *LinuxContainer) GetDevices() []*LinuxDevice
func (*LinuxContainer) GetIoPriority ¶ added in v0.10.0
func (x *LinuxContainer) GetIoPriority() *LinuxIOPriority
func (*LinuxContainer) GetNamespaces ¶
func (x *LinuxContainer) GetNamespaces() []*LinuxNamespace
func (*LinuxContainer) GetOomScoreAdj ¶
func (x *LinuxContainer) GetOomScoreAdj() *OptionalInt
func (*LinuxContainer) GetResources ¶
func (x *LinuxContainer) GetResources() *LinuxResources
func (*LinuxContainer) GetSeccompPolicy ¶ added in v0.10.0
func (x *LinuxContainer) GetSeccompPolicy() *LinuxSeccomp
func (*LinuxContainer) GetSeccompProfile ¶ added in v0.10.0
func (x *LinuxContainer) GetSeccompProfile() *SecurityProfile
func (*LinuxContainer) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *LinuxContainer) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxContainer) MarshalToVT ¶ added in v0.9.0
func (m *LinuxContainer) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxContainer) MarshalVT ¶ added in v0.9.0
func (m *LinuxContainer) MarshalVT() (dAtA []byte, err error)
func (*LinuxContainer) ProtoMessage ¶
func (*LinuxContainer) ProtoMessage()
func (*LinuxContainer) ProtoReflect ¶
func (x *LinuxContainer) ProtoReflect() protoreflect.Message
func (*LinuxContainer) Reset ¶
func (x *LinuxContainer) Reset()
func (*LinuxContainer) SizeVT ¶ added in v0.9.0
func (m *LinuxContainer) SizeVT() (n int)
func (*LinuxContainer) String ¶
func (x *LinuxContainer) String() string
func (*LinuxContainer) UnmarshalVT ¶ added in v0.9.0
func (m *LinuxContainer) UnmarshalVT(dAtA []byte) error
type LinuxContainerAdjustment ¶
type LinuxContainerAdjustment struct {
Devices []*LinuxDevice `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
Resources *LinuxResources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
CgroupsPath string `protobuf:"bytes,3,opt,name=cgroups_path,json=cgroupsPath,proto3" json:"cgroups_path,omitempty"`
OomScoreAdj *OptionalInt `protobuf:"bytes,4,opt,name=oom_score_adj,json=oomScoreAdj,proto3" json:"oom_score_adj,omitempty"`
IoPriority *LinuxIOPriority `protobuf:"bytes,5,opt,name=io_priority,json=ioPriority,proto3" json:"io_priority,omitempty"`
SeccompPolicy *LinuxSeccomp `protobuf:"bytes,6,opt,name=seccomp_policy,json=seccompPolicy,proto3" json:"seccomp_policy,omitempty"`
Namespaces []*LinuxNamespace `protobuf:"bytes,7,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
// contains filtered or unexported fields
}
Adjustments to (linux) resources.
func (*LinuxContainerAdjustment) Descriptor
deprecated
func (*LinuxContainerAdjustment) Descriptor() ([]byte, []int)
Deprecated: Use LinuxContainerAdjustment.ProtoReflect.Descriptor instead.
func (*LinuxContainerAdjustment) GetCgroupsPath ¶
func (x *LinuxContainerAdjustment) GetCgroupsPath() string
func (*LinuxContainerAdjustment) GetDevices ¶
func (x *LinuxContainerAdjustment) GetDevices() []*LinuxDevice
func (*LinuxContainerAdjustment) GetIoPriority ¶ added in v0.10.0
func (x *LinuxContainerAdjustment) GetIoPriority() *LinuxIOPriority
func (*LinuxContainerAdjustment) GetNamespaces ¶ added in v0.10.0
func (x *LinuxContainerAdjustment) GetNamespaces() []*LinuxNamespace
func (*LinuxContainerAdjustment) GetOomScoreAdj ¶ added in v0.7.0
func (x *LinuxContainerAdjustment) GetOomScoreAdj() *OptionalInt
func (*LinuxContainerAdjustment) GetResources ¶
func (x *LinuxContainerAdjustment) GetResources() *LinuxResources
func (*LinuxContainerAdjustment) GetSeccompPolicy ¶ added in v0.10.0
func (x *LinuxContainerAdjustment) GetSeccompPolicy() *LinuxSeccomp
func (*LinuxContainerAdjustment) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *LinuxContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxContainerAdjustment) MarshalToVT ¶ added in v0.9.0
func (m *LinuxContainerAdjustment) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxContainerAdjustment) MarshalVT ¶ added in v0.9.0
func (m *LinuxContainerAdjustment) MarshalVT() (dAtA []byte, err error)
func (*LinuxContainerAdjustment) ProtoMessage ¶
func (*LinuxContainerAdjustment) ProtoMessage()
func (*LinuxContainerAdjustment) ProtoReflect ¶
func (x *LinuxContainerAdjustment) ProtoReflect() protoreflect.Message
func (*LinuxContainerAdjustment) Reset ¶
func (x *LinuxContainerAdjustment) Reset()
func (*LinuxContainerAdjustment) SizeVT ¶ added in v0.9.0
func (m *LinuxContainerAdjustment) SizeVT() (n int)
func (*LinuxContainerAdjustment) String ¶
func (x *LinuxContainerAdjustment) String() string
func (*LinuxContainerAdjustment) Strip ¶ added in v0.10.0
func (l *LinuxContainerAdjustment) Strip() *LinuxContainerAdjustment
Strip empty fields from a linux container adjustment, reducing a fully empty one to nil. Strip allows comparison of two adjustments for semantic equality using go-cmp.
func (*LinuxContainerAdjustment) UnmarshalVT ¶ added in v0.9.0
func (m *LinuxContainerAdjustment) UnmarshalVT(dAtA []byte) error
type LinuxContainerUpdate ¶
type LinuxContainerUpdate struct {
Resources *LinuxResources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
// contains filtered or unexported fields
}
Updates to (linux) resources.
func (*LinuxContainerUpdate) Descriptor
deprecated
func (*LinuxContainerUpdate) Descriptor() ([]byte, []int)
Deprecated: Use LinuxContainerUpdate.ProtoReflect.Descriptor instead.
func (*LinuxContainerUpdate) GetResources ¶
func (x *LinuxContainerUpdate) GetResources() *LinuxResources
func (*LinuxContainerUpdate) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *LinuxContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxContainerUpdate) MarshalToVT ¶ added in v0.9.0
func (m *LinuxContainerUpdate) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxContainerUpdate) MarshalVT ¶ added in v0.9.0
func (m *LinuxContainerUpdate) MarshalVT() (dAtA []byte, err error)
func (*LinuxContainerUpdate) ProtoMessage ¶
func (*LinuxContainerUpdate) ProtoMessage()
func (*LinuxContainerUpdate) ProtoReflect ¶
func (x *LinuxContainerUpdate) ProtoReflect() protoreflect.Message
func (*LinuxContainerUpdate) Reset ¶
func (x *LinuxContainerUpdate) Reset()
func (*LinuxContainerUpdate) SizeVT ¶ added in v0.9.0
func (m *LinuxContainerUpdate) SizeVT() (n int)
func (*LinuxContainerUpdate) String ¶
func (x *LinuxContainerUpdate) String() string
func (*LinuxContainerUpdate) Strip ¶ added in v0.10.0
func (l *LinuxContainerUpdate) Strip() *LinuxContainerUpdate
Strip empty fields from a linux container update, reducing a fully empty one to nil. Strip allows comparison of two updates for semantic equality using go-cmp.
func (*LinuxContainerUpdate) UnmarshalVT ¶ added in v0.9.0
func (m *LinuxContainerUpdate) UnmarshalVT(dAtA []byte) error
type LinuxDevice ¶
type LinuxDevice struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Major int64 `protobuf:"varint,3,opt,name=major,proto3" json:"major,omitempty"`
Minor int64 `protobuf:"varint,4,opt,name=minor,proto3" json:"minor,omitempty"`
FileMode *OptionalFileMode `protobuf:"bytes,5,opt,name=file_mode,json=fileMode,proto3" json:"file_mode,omitempty"`
Uid *OptionalUInt32 `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
Gid *OptionalUInt32 `protobuf:"bytes,7,opt,name=gid,proto3" json:"gid,omitempty"`
// contains filtered or unexported fields
}
A container (linux) device.
func FromOCILinuxDevices ¶
func FromOCILinuxDevices(o []rspec.LinuxDevice) []*LinuxDevice
FromOCILinuxDevices returns a device slice from an OCI runtime Spec.
func (*LinuxDevice) AccessString ¶
func (d *LinuxDevice) AccessString() string
AccessString returns an OCI access string for the device.
func (*LinuxDevice) Cmp ¶
func (d *LinuxDevice) Cmp(v *LinuxDevice) bool
Cmp returns true if the devices are equal.
func (*LinuxDevice) Descriptor
deprecated
func (*LinuxDevice) Descriptor() ([]byte, []int)
Deprecated: Use LinuxDevice.ProtoReflect.Descriptor instead.
func (*LinuxDevice) GetFileMode ¶
func (x *LinuxDevice) GetFileMode() *OptionalFileMode
func (*LinuxDevice) GetGid ¶
func (x *LinuxDevice) GetGid() *OptionalUInt32
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() *OptionalUInt32
func (*LinuxDevice) IsMarkedForRemoval ¶
func (d *LinuxDevice) IsMarkedForRemoval() (string, bool)
IsMarkedForRemoval checks if a LinuxDevice is marked for removal.
func (*LinuxDevice) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *LinuxDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxDevice) MarshalToVT ¶ added in v0.9.0
func (m *LinuxDevice) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxDevice) MarshalVT ¶ added in v0.9.0
func (m *LinuxDevice) MarshalVT() (dAtA []byte, err error)
func (*LinuxDevice) ProtoMessage ¶
func (*LinuxDevice) ProtoMessage()
func (*LinuxDevice) ProtoReflect ¶
func (x *LinuxDevice) ProtoReflect() protoreflect.Message
func (*LinuxDevice) Reset ¶
func (x *LinuxDevice) Reset()
func (*LinuxDevice) SizeVT ¶ added in v0.9.0
func (m *LinuxDevice) SizeVT() (n int)
func (*LinuxDevice) String ¶
func (x *LinuxDevice) String() string
func (*LinuxDevice) ToOCI ¶
func (d *LinuxDevice) ToOCI() rspec.LinuxDevice
ToOCI returns the linux devices for an OCI runtime Spec.
func (*LinuxDevice) UnmarshalVT ¶ added in v0.9.0
func (m *LinuxDevice) UnmarshalVT(dAtA []byte) error
type LinuxDeviceCgroup ¶
type LinuxDeviceCgroup struct {
Allow bool `protobuf:"varint,1,opt,name=allow,proto3" json:"allow,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Major *OptionalInt64 `protobuf:"bytes,3,opt,name=major,proto3" json:"major,omitempty"`
Minor *OptionalInt64 `protobuf:"bytes,4,opt,name=minor,proto3" json:"minor,omitempty"`
Access string `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"`
// contains filtered or unexported fields
}
A linux device cgroup controller rule.
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() *OptionalInt64
func (*LinuxDeviceCgroup) GetMinor ¶
func (x *LinuxDeviceCgroup) GetMinor() *OptionalInt64
func (*LinuxDeviceCgroup) GetType ¶
func (x *LinuxDeviceCgroup) GetType() string
func (*LinuxDeviceCgroup) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *LinuxDeviceCgroup) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxDeviceCgroup) MarshalToVT ¶ added in v0.9.0
func (m *LinuxDeviceCgroup) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxDeviceCgroup) MarshalVT ¶ added in v0.9.0
func (m *LinuxDeviceCgroup) MarshalVT() (dAtA []byte, err error)
func (*LinuxDeviceCgroup) ProtoMessage ¶
func (*LinuxDeviceCgroup) ProtoMessage()
func (*LinuxDeviceCgroup) ProtoReflect ¶
func (x *LinuxDeviceCgroup) ProtoReflect() protoreflect.Message
func (*LinuxDeviceCgroup) Reset ¶
func (x *LinuxDeviceCgroup) Reset()
func (*LinuxDeviceCgroup) SizeVT ¶ added in v0.9.0
func (m *LinuxDeviceCgroup) SizeVT() (n int)
func (*LinuxDeviceCgroup) String ¶
func (x *LinuxDeviceCgroup) String() string
func (*LinuxDeviceCgroup) UnmarshalVT ¶ added in v0.9.0
func (m *LinuxDeviceCgroup) UnmarshalVT(dAtA []byte) error
type LinuxIOPriority ¶ added in v0.10.0
type LinuxIOPriority struct {
// Scheduling class of the IO priority.
Class IOPrioClass `protobuf:"varint,1,opt,name=class,proto3,enum=nri.pkg.api.v1alpha1.IOPrioClass" json:"class,omitempty"`
// The value of the IO priority.
Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
func FromOCILinuxIOPriority ¶ added in v0.10.0
func FromOCILinuxIOPriority(o *rspec.LinuxIOPriority) *LinuxIOPriority
FromOCILinuxIOPriority returns a LinuxIOPriority corresponding to the OCI LinuxIOPriority.
func (*LinuxIOPriority) Descriptor
deprecated
added in
v0.10.0
func (*LinuxIOPriority) Descriptor() ([]byte, []int)
Deprecated: Use LinuxIOPriority.ProtoReflect.Descriptor instead.
func (*LinuxIOPriority) GetClass ¶ added in v0.10.0
func (x *LinuxIOPriority) GetClass() IOPrioClass
func (*LinuxIOPriority) GetPriority ¶ added in v0.10.0
func (x *LinuxIOPriority) GetPriority() int32
func (*LinuxIOPriority) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *LinuxIOPriority) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxIOPriority) MarshalToVT ¶ added in v0.10.0
func (m *LinuxIOPriority) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxIOPriority) MarshalVT ¶ added in v0.10.0
func (m *LinuxIOPriority) MarshalVT() (dAtA []byte, err error)
func (*LinuxIOPriority) ProtoMessage ¶ added in v0.10.0
func (*LinuxIOPriority) ProtoMessage()
func (*LinuxIOPriority) ProtoReflect ¶ added in v0.10.0
func (x *LinuxIOPriority) ProtoReflect() protoreflect.Message
func (*LinuxIOPriority) Reset ¶ added in v0.10.0
func (x *LinuxIOPriority) Reset()
func (*LinuxIOPriority) SizeVT ¶ added in v0.10.0
func (m *LinuxIOPriority) SizeVT() (n int)
func (*LinuxIOPriority) String ¶ added in v0.10.0
func (x *LinuxIOPriority) String() string
func (*LinuxIOPriority) ToOCI ¶ added in v0.10.0
func (ioprio *LinuxIOPriority) ToOCI() *rspec.LinuxIOPriority
ToOCI returns the OCI LinuxIOPriority corresponding to the LinuxIOPriority.
func (*LinuxIOPriority) UnmarshalVT ¶ added in v0.10.0
func (m *LinuxIOPriority) UnmarshalVT(dAtA []byte) error
type LinuxMemory ¶
type LinuxMemory struct {
Limit *OptionalInt64 `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
Reservation *OptionalInt64 `protobuf:"bytes,2,opt,name=reservation,proto3" json:"reservation,omitempty"`
Swap *OptionalInt64 `protobuf:"bytes,3,opt,name=swap,proto3" json:"swap,omitempty"`
Kernel *OptionalInt64 `protobuf:"bytes,4,opt,name=kernel,proto3" json:"kernel,omitempty"`
KernelTcp *OptionalInt64 `protobuf:"bytes,5,opt,name=kernel_tcp,json=kernelTcp,proto3" json:"kernel_tcp,omitempty"`
Swappiness *OptionalUInt64 `protobuf:"bytes,6,opt,name=swappiness,proto3" json:"swappiness,omitempty"`
DisableOomKiller *OptionalBool `protobuf:"bytes,7,opt,name=disable_oom_killer,json=disableOomKiller,proto3" json:"disable_oom_killer,omitempty"`
UseHierarchy *OptionalBool `protobuf:"bytes,8,opt,name=use_hierarchy,json=useHierarchy,proto3" json:"use_hierarchy,omitempty"`
// contains filtered or unexported fields
}
Memory-related parts of (linux) resources.
func (*LinuxMemory) Descriptor
deprecated
func (*LinuxMemory) Descriptor() ([]byte, []int)
Deprecated: Use LinuxMemory.ProtoReflect.Descriptor instead.
func (*LinuxMemory) GetDisableOomKiller ¶
func (x *LinuxMemory) GetDisableOomKiller() *OptionalBool
func (*LinuxMemory) GetKernel ¶
func (x *LinuxMemory) GetKernel() *OptionalInt64
func (*LinuxMemory) GetKernelTcp ¶
func (x *LinuxMemory) GetKernelTcp() *OptionalInt64
func (*LinuxMemory) GetLimit ¶
func (x *LinuxMemory) GetLimit() *OptionalInt64
func (*LinuxMemory) GetReservation ¶
func (x *LinuxMemory) GetReservation() *OptionalInt64
func (*LinuxMemory) GetSwap ¶
func (x *LinuxMemory) GetSwap() *OptionalInt64
func (*LinuxMemory) GetSwappiness ¶
func (x *LinuxMemory) GetSwappiness() *OptionalUInt64
func (*LinuxMemory) GetUseHierarchy ¶
func (x *LinuxMemory) GetUseHierarchy() *OptionalBool
func (*LinuxMemory) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *LinuxMemory) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxMemory) MarshalToVT ¶ added in v0.9.0
func (m *LinuxMemory) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxMemory) MarshalVT ¶ added in v0.9.0
func (m *LinuxMemory) MarshalVT() (dAtA []byte, err error)
func (*LinuxMemory) ProtoMessage ¶
func (*LinuxMemory) ProtoMessage()
func (*LinuxMemory) ProtoReflect ¶
func (x *LinuxMemory) ProtoReflect() protoreflect.Message
func (*LinuxMemory) Reset ¶
func (x *LinuxMemory) Reset()
func (*LinuxMemory) SizeVT ¶ added in v0.9.0
func (m *LinuxMemory) SizeVT() (n int)
func (*LinuxMemory) String ¶
func (x *LinuxMemory) String() string
func (*LinuxMemory) Strip ¶ added in v0.10.0
func (m *LinuxMemory) Strip() *LinuxMemory
Strip empty fields from linux memory attributes, reducing a fully empty one to nil. Strip allows comparison of two sets of attributes for semantic equality using go-cmp.
func (*LinuxMemory) UnmarshalVT ¶ added in v0.9.0
func (m *LinuxMemory) UnmarshalVT(dAtA []byte) error
type LinuxNamespace ¶
type LinuxNamespace struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
A linux namespace.
func FromOCILinuxNamespaces ¶
func FromOCILinuxNamespaces(o []rspec.LinuxNamespace) []*LinuxNamespace
FromOCILinuxNamespaces returns a namespace slice from an OCI runtime Spec.
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) IsMarkedForRemoval ¶ added in v0.10.0
func (n *LinuxNamespace) IsMarkedForRemoval() (string, bool)
IsMarkedForRemoval checks if a LinuxNamespace is marked for removal.
func (*LinuxNamespace) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *LinuxNamespace) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxNamespace) MarshalToVT ¶ added in v0.9.0
func (m *LinuxNamespace) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxNamespace) MarshalVT ¶ added in v0.9.0
func (m *LinuxNamespace) MarshalVT() (dAtA []byte, err error)
func (*LinuxNamespace) ProtoMessage ¶
func (*LinuxNamespace) ProtoMessage()
func (*LinuxNamespace) ProtoReflect ¶
func (x *LinuxNamespace) ProtoReflect() protoreflect.Message
func (*LinuxNamespace) Reset ¶
func (x *LinuxNamespace) Reset()
func (*LinuxNamespace) SizeVT ¶ added in v0.9.0
func (m *LinuxNamespace) SizeVT() (n int)
func (*LinuxNamespace) String ¶
func (x *LinuxNamespace) String() string
func (*LinuxNamespace) UnmarshalVT ¶ added in v0.9.0
func (m *LinuxNamespace) UnmarshalVT(dAtA []byte) error
type LinuxPids ¶ added in v0.7.0
type LinuxPids struct {
Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
Pids-related parts of (linux) resources.
func (*LinuxPids) Descriptor
deprecated
added in
v0.7.0
func (*LinuxPids) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*LinuxPids) MarshalToVT ¶ added in v0.9.0
func (*LinuxPids) ProtoMessage ¶ added in v0.7.0
func (*LinuxPids) ProtoMessage()
func (*LinuxPids) ProtoReflect ¶ added in v0.7.0
func (x *LinuxPids) ProtoReflect() protoreflect.Message
func (*LinuxPids) UnmarshalVT ¶ added in v0.9.0
type LinuxPodSandbox ¶
type LinuxPodSandbox struct {
PodOverhead *LinuxResources `protobuf:"bytes,1,opt,name=pod_overhead,json=podOverhead,proto3" json:"pod_overhead,omitempty"`
PodResources *LinuxResources `protobuf:"bytes,2,opt,name=pod_resources,json=podResources,proto3" json:"pod_resources,omitempty"`
CgroupParent string `protobuf:"bytes,3,opt,name=cgroup_parent,json=cgroupParent,proto3" json:"cgroup_parent,omitempty"`
CgroupsPath string `protobuf:"bytes,4,opt,name=cgroups_path,json=cgroupsPath,proto3" json:"cgroups_path,omitempty"` // for NRI v1 emulation
Namespaces []*LinuxNamespace `protobuf:"bytes,5,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // for NRI v1 emulation
Resources *LinuxResources `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"` // for NRI v1 emulation
// contains filtered or unexported fields
}
PodSandbox linux-specific metadata
func (*LinuxPodSandbox) Descriptor
deprecated
func (*LinuxPodSandbox) Descriptor() ([]byte, []int)
Deprecated: Use LinuxPodSandbox.ProtoReflect.Descriptor instead.
func (*LinuxPodSandbox) GetCgroupParent ¶
func (x *LinuxPodSandbox) GetCgroupParent() string
func (*LinuxPodSandbox) GetCgroupsPath ¶
func (x *LinuxPodSandbox) GetCgroupsPath() string
func (*LinuxPodSandbox) GetNamespaces ¶
func (x *LinuxPodSandbox) GetNamespaces() []*LinuxNamespace
func (*LinuxPodSandbox) GetPodOverhead ¶
func (x *LinuxPodSandbox) GetPodOverhead() *LinuxResources
func (*LinuxPodSandbox) GetPodResources ¶
func (x *LinuxPodSandbox) GetPodResources() *LinuxResources
func (*LinuxPodSandbox) GetResources ¶
func (x *LinuxPodSandbox) GetResources() *LinuxResources
func (*LinuxPodSandbox) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *LinuxPodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxPodSandbox) MarshalToVT ¶ added in v0.9.0
func (m *LinuxPodSandbox) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxPodSandbox) MarshalVT ¶ added in v0.9.0
func (m *LinuxPodSandbox) MarshalVT() (dAtA []byte, err error)
func (*LinuxPodSandbox) ProtoMessage ¶
func (*LinuxPodSandbox) ProtoMessage()
func (*LinuxPodSandbox) ProtoReflect ¶
func (x *LinuxPodSandbox) ProtoReflect() protoreflect.Message
func (*LinuxPodSandbox) Reset ¶
func (x *LinuxPodSandbox) Reset()
func (*LinuxPodSandbox) SizeVT ¶ added in v0.9.0
func (m *LinuxPodSandbox) SizeVT() (n int)
func (*LinuxPodSandbox) String ¶
func (x *LinuxPodSandbox) String() string
func (*LinuxPodSandbox) UnmarshalVT ¶ added in v0.9.0
func (m *LinuxPodSandbox) UnmarshalVT(dAtA []byte) error
type LinuxResources ¶
type LinuxResources struct {
Memory *LinuxMemory `protobuf:"bytes,1,opt,name=memory,proto3" json:"memory,omitempty"`
Cpu *LinuxCPU `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
HugepageLimits []*HugepageLimit `protobuf:"bytes,3,rep,name=hugepage_limits,json=hugepageLimits,proto3" json:"hugepage_limits,omitempty"`
BlockioClass *OptionalString `protobuf:"bytes,4,opt,name=blockio_class,json=blockioClass,proto3" json:"blockio_class,omitempty"`
RdtClass *OptionalString `protobuf:"bytes,5,opt,name=rdt_class,json=rdtClass,proto3" json:"rdt_class,omitempty"`
Unified map[string]string `` /* 155-byte string literal not displayed */
Devices []*LinuxDeviceCgroup `protobuf:"bytes,7,rep,name=devices,proto3" json:"devices,omitempty"` // for NRI v1 emulation
Pids *LinuxPids `protobuf:"bytes,8,opt,name=pids,proto3" json:"pids,omitempty"`
// contains filtered or unexported fields
}
Container (linux) resources.
func FromOCILinuxResources ¶
func FromOCILinuxResources(o *rspec.LinuxResources, _ map[string]string) *LinuxResources
FromOCILinuxResources returns resources from an OCI runtime Spec.
func (*LinuxResources) Copy ¶
func (r *LinuxResources) Copy() *LinuxResources
Copy creates a copy of the resources.
func (*LinuxResources) Descriptor
deprecated
func (*LinuxResources) Descriptor() ([]byte, []int)
Deprecated: Use LinuxResources.ProtoReflect.Descriptor instead.
func (*LinuxResources) GetBlockioClass ¶
func (x *LinuxResources) GetBlockioClass() *OptionalString
func (*LinuxResources) GetCpu ¶
func (x *LinuxResources) GetCpu() *LinuxCPU
func (*LinuxResources) GetDevices ¶
func (x *LinuxResources) GetDevices() []*LinuxDeviceCgroup
func (*LinuxResources) GetHugepageLimits ¶
func (x *LinuxResources) GetHugepageLimits() []*HugepageLimit
func (*LinuxResources) GetMemory ¶
func (x *LinuxResources) GetMemory() *LinuxMemory
func (*LinuxResources) GetPids ¶ added in v0.7.0
func (x *LinuxResources) GetPids() *LinuxPids
func (*LinuxResources) GetRdtClass ¶
func (x *LinuxResources) GetRdtClass() *OptionalString
func (*LinuxResources) GetUnified ¶
func (x *LinuxResources) GetUnified() map[string]string
func (*LinuxResources) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *LinuxResources) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxResources) MarshalToVT ¶ added in v0.9.0
func (m *LinuxResources) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxResources) MarshalVT ¶ added in v0.9.0
func (m *LinuxResources) MarshalVT() (dAtA []byte, err error)
func (*LinuxResources) ProtoMessage ¶
func (*LinuxResources) ProtoMessage()
func (*LinuxResources) ProtoReflect ¶
func (x *LinuxResources) ProtoReflect() protoreflect.Message
func (*LinuxResources) Reset ¶
func (x *LinuxResources) Reset()
func (*LinuxResources) SizeVT ¶ added in v0.9.0
func (m *LinuxResources) SizeVT() (n int)
func (*LinuxResources) String ¶
func (x *LinuxResources) String() string
func (*LinuxResources) Strip ¶ added in v0.10.0
func (r *LinuxResources) Strip() *LinuxResources
Strip empty fields from a linux resources, reducing a fully empty one to nil. Strip allows comparison of two sets of resources for semantic equality using go-cmp.
func (*LinuxResources) ToOCI ¶
func (r *LinuxResources) ToOCI() *rspec.LinuxResources
ToOCI returns resources for an OCI runtime Spec.
func (*LinuxResources) UnmarshalVT ¶ added in v0.9.0
func (m *LinuxResources) UnmarshalVT(dAtA []byte) error
type LinuxSeccomp ¶ added in v0.10.0
type LinuxSeccomp struct {
DefaultAction string `protobuf:"bytes,1,opt,name=default_action,json=defaultAction,proto3" json:"default_action,omitempty"`
DefaultErrno *OptionalUInt32 `protobuf:"bytes,2,opt,name=default_errno,json=defaultErrno,proto3" json:"default_errno,omitempty"`
Architectures []string `protobuf:"bytes,3,rep,name=architectures,proto3" json:"architectures,omitempty"`
Flags []string `protobuf:"bytes,4,rep,name=flags,proto3" json:"flags,omitempty"`
ListenerPath string `protobuf:"bytes,5,opt,name=listener_path,json=listenerPath,proto3" json:"listener_path,omitempty"`
ListenerMetadata string `protobuf:"bytes,6,opt,name=listener_metadata,json=listenerMetadata,proto3" json:"listener_metadata,omitempty"`
Syscalls []*LinuxSyscall `protobuf:"bytes,7,rep,name=syscalls,proto3" json:"syscalls,omitempty"`
// contains filtered or unexported fields
}
func FromOCILinuxSeccomp ¶ added in v0.10.0
func FromOCILinuxSeccomp(o *rspec.LinuxSeccomp) *LinuxSeccomp
func (*LinuxSeccomp) Descriptor
deprecated
added in
v0.10.0
func (*LinuxSeccomp) Descriptor() ([]byte, []int)
Deprecated: Use LinuxSeccomp.ProtoReflect.Descriptor instead.
func (*LinuxSeccomp) GetArchitectures ¶ added in v0.10.0
func (x *LinuxSeccomp) GetArchitectures() []string
func (*LinuxSeccomp) GetDefaultAction ¶ added in v0.10.0
func (x *LinuxSeccomp) GetDefaultAction() string
func (*LinuxSeccomp) GetDefaultErrno ¶ added in v0.10.0
func (x *LinuxSeccomp) GetDefaultErrno() *OptionalUInt32
func (*LinuxSeccomp) GetFlags ¶ added in v0.10.0
func (x *LinuxSeccomp) GetFlags() []string
func (*LinuxSeccomp) GetListenerMetadata ¶ added in v0.10.0
func (x *LinuxSeccomp) GetListenerMetadata() string
func (*LinuxSeccomp) GetListenerPath ¶ added in v0.10.0
func (x *LinuxSeccomp) GetListenerPath() string
func (*LinuxSeccomp) GetSyscalls ¶ added in v0.10.0
func (x *LinuxSeccomp) GetSyscalls() []*LinuxSyscall
func (*LinuxSeccomp) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *LinuxSeccomp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxSeccomp) MarshalToVT ¶ added in v0.10.0
func (m *LinuxSeccomp) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxSeccomp) MarshalVT ¶ added in v0.10.0
func (m *LinuxSeccomp) MarshalVT() (dAtA []byte, err error)
func (*LinuxSeccomp) ProtoMessage ¶ added in v0.10.0
func (*LinuxSeccomp) ProtoMessage()
func (*LinuxSeccomp) ProtoReflect ¶ added in v0.10.0
func (x *LinuxSeccomp) ProtoReflect() protoreflect.Message
func (*LinuxSeccomp) Reset ¶ added in v0.10.0
func (x *LinuxSeccomp) Reset()
func (*LinuxSeccomp) SizeVT ¶ added in v0.10.0
func (m *LinuxSeccomp) SizeVT() (n int)
func (*LinuxSeccomp) String ¶ added in v0.10.0
func (x *LinuxSeccomp) String() string
func (*LinuxSeccomp) UnmarshalVT ¶ added in v0.10.0
func (m *LinuxSeccomp) UnmarshalVT(dAtA []byte) error
type LinuxSeccompArg ¶ added in v0.10.0
type LinuxSeccompArg struct {
Index uint32 `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=value_two,json=valueTwo,proto3" json:"value_two,omitempty"`
Op string `protobuf:"bytes,4,opt,name=op,proto3" json:"op,omitempty"`
// contains filtered or unexported fields
}
func FromOCILinuxSeccompArgs ¶ added in v0.10.0
func FromOCILinuxSeccompArgs(o []rspec.LinuxSeccompArg) []*LinuxSeccompArg
func (*LinuxSeccompArg) Descriptor
deprecated
added in
v0.10.0
func (*LinuxSeccompArg) Descriptor() ([]byte, []int)
Deprecated: Use LinuxSeccompArg.ProtoReflect.Descriptor instead.
func (*LinuxSeccompArg) GetIndex ¶ added in v0.10.0
func (x *LinuxSeccompArg) GetIndex() uint32
func (*LinuxSeccompArg) GetOp ¶ added in v0.10.0
func (x *LinuxSeccompArg) GetOp() string
func (*LinuxSeccompArg) GetValue ¶ added in v0.10.0
func (x *LinuxSeccompArg) GetValue() uint64
func (*LinuxSeccompArg) GetValueTwo ¶ added in v0.10.0
func (x *LinuxSeccompArg) GetValueTwo() uint64
func (*LinuxSeccompArg) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *LinuxSeccompArg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxSeccompArg) MarshalToVT ¶ added in v0.10.0
func (m *LinuxSeccompArg) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxSeccompArg) MarshalVT ¶ added in v0.10.0
func (m *LinuxSeccompArg) MarshalVT() (dAtA []byte, err error)
func (*LinuxSeccompArg) ProtoMessage ¶ added in v0.10.0
func (*LinuxSeccompArg) ProtoMessage()
func (*LinuxSeccompArg) ProtoReflect ¶ added in v0.10.0
func (x *LinuxSeccompArg) ProtoReflect() protoreflect.Message
func (*LinuxSeccompArg) Reset ¶ added in v0.10.0
func (x *LinuxSeccompArg) Reset()
func (*LinuxSeccompArg) SizeVT ¶ added in v0.10.0
func (m *LinuxSeccompArg) SizeVT() (n int)
func (*LinuxSeccompArg) String ¶ added in v0.10.0
func (x *LinuxSeccompArg) String() string
func (*LinuxSeccompArg) UnmarshalVT ¶ added in v0.10.0
func (m *LinuxSeccompArg) UnmarshalVT(dAtA []byte) error
type LinuxSyscall ¶ added in v0.10.0
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"`
ErrnoRet *OptionalUInt32 `protobuf:"bytes,3,opt,name=errno_ret,json=errnoRet,proto3" json:"errno_ret,omitempty"`
Args []*LinuxSeccompArg `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
// contains filtered or unexported fields
}
func FromOCILinuxSyscalls ¶ added in v0.10.0
func FromOCILinuxSyscalls(o []rspec.LinuxSyscall) []*LinuxSyscall
func (*LinuxSyscall) Descriptor
deprecated
added in
v0.10.0
func (*LinuxSyscall) Descriptor() ([]byte, []int)
Deprecated: Use LinuxSyscall.ProtoReflect.Descriptor instead.
func (*LinuxSyscall) GetAction ¶ added in v0.10.0
func (x *LinuxSyscall) GetAction() string
func (*LinuxSyscall) GetArgs ¶ added in v0.10.0
func (x *LinuxSyscall) GetArgs() []*LinuxSeccompArg
func (*LinuxSyscall) GetErrnoRet ¶ added in v0.10.0
func (x *LinuxSyscall) GetErrnoRet() *OptionalUInt32
func (*LinuxSyscall) GetNames ¶ added in v0.10.0
func (x *LinuxSyscall) GetNames() []string
func (*LinuxSyscall) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *LinuxSyscall) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinuxSyscall) MarshalToVT ¶ added in v0.10.0
func (m *LinuxSyscall) MarshalToVT(dAtA []byte) (int, error)
func (*LinuxSyscall) MarshalVT ¶ added in v0.10.0
func (m *LinuxSyscall) MarshalVT() (dAtA []byte, err error)
func (*LinuxSyscall) ProtoMessage ¶ added in v0.10.0
func (*LinuxSyscall) ProtoMessage()
func (*LinuxSyscall) ProtoReflect ¶ added in v0.10.0
func (x *LinuxSyscall) ProtoReflect() protoreflect.Message
func (*LinuxSyscall) Reset ¶ added in v0.10.0
func (x *LinuxSyscall) Reset()
func (*LinuxSyscall) SizeVT ¶ added in v0.10.0
func (m *LinuxSyscall) SizeVT() (n int)
func (*LinuxSyscall) String ¶ added in v0.10.0
func (x *LinuxSyscall) String() string
func (*LinuxSyscall) UnmarshalVT ¶ added in v0.10.0
func (m *LinuxSyscall) UnmarshalVT(dAtA []byte) error
type LogRequest ¶ added in v0.9.0
type LogRequest struct {
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
Level LogRequest_Level `protobuf:"varint,2,opt,name=level,proto3,enum=nri.pkg.api.v1alpha1.LogRequest_Level" json:"level,omitempty"`
// contains filtered or unexported fields
}
func (*LogRequest) Descriptor
deprecated
added in
v0.9.0
func (*LogRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogRequest.ProtoReflect.Descriptor instead.
func (*LogRequest) GetLevel ¶ added in v0.9.0
func (x *LogRequest) GetLevel() LogRequest_Level
func (*LogRequest) GetMsg ¶ added in v0.9.0
func (x *LogRequest) GetMsg() string
func (*LogRequest) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *LogRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LogRequest) MarshalToVT ¶ added in v0.9.0
func (m *LogRequest) MarshalToVT(dAtA []byte) (int, error)
func (*LogRequest) MarshalVT ¶ added in v0.9.0
func (m *LogRequest) MarshalVT() (dAtA []byte, err error)
func (*LogRequest) ProtoMessage ¶ added in v0.9.0
func (*LogRequest) ProtoMessage()
func (*LogRequest) ProtoReflect ¶ added in v0.9.0
func (x *LogRequest) ProtoReflect() protoreflect.Message
func (*LogRequest) Reset ¶ added in v0.9.0
func (x *LogRequest) Reset()
func (*LogRequest) SizeVT ¶ added in v0.9.0
func (m *LogRequest) SizeVT() (n int)
func (*LogRequest) String ¶ added in v0.9.0
func (x *LogRequest) String() string
func (*LogRequest) UnmarshalVT ¶ added in v0.9.0
func (m *LogRequest) UnmarshalVT(dAtA []byte) error
type LogRequest_Level ¶ added in v0.9.0
type LogRequest_Level int32
const ( LogRequest_LEVEL_UNSPECIFIED LogRequest_Level = 0 LogRequest_LEVEL_DEBUG LogRequest_Level = 1 LogRequest_LEVEL_INFO LogRequest_Level = 2 LogRequest_LEVEL_WARN LogRequest_Level = 3 LogRequest_LEVEL_ERROR LogRequest_Level = 4 )
func (LogRequest_Level) Descriptor ¶ added in v0.9.0
func (LogRequest_Level) Descriptor() protoreflect.EnumDescriptor
func (LogRequest_Level) Enum ¶ added in v0.9.0
func (x LogRequest_Level) Enum() *LogRequest_Level
func (LogRequest_Level) EnumDescriptor
deprecated
added in
v0.9.0
func (LogRequest_Level) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogRequest_Level.Descriptor instead.
func (LogRequest_Level) Number ¶ added in v0.9.0
func (x LogRequest_Level) Number() protoreflect.EnumNumber
func (LogRequest_Level) String ¶ added in v0.9.0
func (x LogRequest_Level) String() string
func (LogRequest_Level) Type ¶ added in v0.9.0
func (LogRequest_Level) Type() protoreflect.EnumType
type Mount ¶
type Mount struct {
Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
Options []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
A container mount.
func FromOCIMounts ¶
FromOCIMounts returns a Mount slice for an OCI runtime Spec.
func (*Mount) Descriptor
deprecated
func (*Mount) GetDestination ¶
func (*Mount) GetOptions ¶
func (*Mount) IsMarkedForRemoval ¶
IsMarkedForRemoval checks if a Mount is marked for removal.
func (*Mount) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*Mount) ProtoMessage ¶
func (*Mount) ProtoMessage()
func (*Mount) ProtoReflect ¶
func (x *Mount) ProtoReflect() protoreflect.Message
func (*Mount) UnmarshalVT ¶ added in v0.9.0
type OptionalBool ¶
type OptionalBool struct {
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An optional boolean value.
func Bool ¶
func Bool(v interface{}) *OptionalBool
Bool creates an Optional wrapper from its argument.
func (*OptionalBool) Descriptor
deprecated
func (*OptionalBool) Descriptor() ([]byte, []int)
Deprecated: Use OptionalBool.ProtoReflect.Descriptor instead.
func (*OptionalBool) Get ¶
func (o *OptionalBool) Get() *bool
Get returns nil if its value is unset or a pointer to the value itself.
func (*OptionalBool) GetValue ¶
func (x *OptionalBool) GetValue() bool
func (*OptionalBool) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *OptionalBool) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OptionalBool) MarshalToVT ¶ added in v0.9.0
func (m *OptionalBool) MarshalToVT(dAtA []byte) (int, error)
func (*OptionalBool) MarshalVT ¶ added in v0.9.0
func (m *OptionalBool) MarshalVT() (dAtA []byte, err error)
func (*OptionalBool) ProtoMessage ¶
func (*OptionalBool) ProtoMessage()
func (*OptionalBool) ProtoReflect ¶
func (x *OptionalBool) ProtoReflect() protoreflect.Message
func (*OptionalBool) Reset ¶
func (x *OptionalBool) Reset()
func (*OptionalBool) SizeVT ¶ added in v0.9.0
func (m *OptionalBool) SizeVT() (n int)
func (*OptionalBool) String ¶
func (x *OptionalBool) String() string
func (*OptionalBool) UnmarshalVT ¶ added in v0.9.0
func (m *OptionalBool) UnmarshalVT(dAtA []byte) error
type OptionalFileMode ¶
type OptionalFileMode struct {
Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An optional value of file permissions.
func FileMode ¶
func FileMode(v interface{}) *OptionalFileMode
FileMode creates an Optional wrapper from its argument.
func (*OptionalFileMode) Descriptor
deprecated
func (*OptionalFileMode) Descriptor() ([]byte, []int)
Deprecated: Use OptionalFileMode.ProtoReflect.Descriptor instead.
func (*OptionalFileMode) Get ¶
func (o *OptionalFileMode) Get() *os.FileMode
Get returns nil if its value is unset or a pointer to the value itself.
func (*OptionalFileMode) GetValue ¶
func (x *OptionalFileMode) GetValue() uint32
func (*OptionalFileMode) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *OptionalFileMode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OptionalFileMode) MarshalToVT ¶ added in v0.9.0
func (m *OptionalFileMode) MarshalToVT(dAtA []byte) (int, error)
func (*OptionalFileMode) MarshalVT ¶ added in v0.9.0
func (m *OptionalFileMode) MarshalVT() (dAtA []byte, err error)
func (*OptionalFileMode) ProtoMessage ¶
func (*OptionalFileMode) ProtoMessage()
func (*OptionalFileMode) ProtoReflect ¶
func (x *OptionalFileMode) ProtoReflect() protoreflect.Message
func (*OptionalFileMode) Reset ¶
func (x *OptionalFileMode) Reset()
func (*OptionalFileMode) SizeVT ¶ added in v0.9.0
func (m *OptionalFileMode) SizeVT() (n int)
func (*OptionalFileMode) String ¶
func (x *OptionalFileMode) String() string
func (*OptionalFileMode) UnmarshalVT ¶ added in v0.9.0
func (m *OptionalFileMode) UnmarshalVT(dAtA []byte) error
type OptionalInt ¶
type OptionalInt struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An optional signed integer value.
func (*OptionalInt) Descriptor
deprecated
func (*OptionalInt) Descriptor() ([]byte, []int)
Deprecated: Use OptionalInt.ProtoReflect.Descriptor instead.
func (*OptionalInt) Get ¶
func (o *OptionalInt) Get() *int
Get returns nil if its value is unset or a pointer to the value itself.
func (*OptionalInt) GetValue ¶
func (x *OptionalInt) GetValue() int64
func (*OptionalInt) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *OptionalInt) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OptionalInt) MarshalToVT ¶ added in v0.9.0
func (m *OptionalInt) MarshalToVT(dAtA []byte) (int, error)
func (*OptionalInt) MarshalVT ¶ added in v0.9.0
func (m *OptionalInt) MarshalVT() (dAtA []byte, err error)
func (*OptionalInt) ProtoMessage ¶
func (*OptionalInt) ProtoMessage()
func (*OptionalInt) ProtoReflect ¶
func (x *OptionalInt) ProtoReflect() protoreflect.Message
func (*OptionalInt) Reset ¶
func (x *OptionalInt) Reset()
func (*OptionalInt) SizeVT ¶ added in v0.9.0
func (m *OptionalInt) SizeVT() (n int)
func (*OptionalInt) String ¶
func (x *OptionalInt) String() string
func (*OptionalInt) UnmarshalVT ¶ added in v0.9.0
func (m *OptionalInt) UnmarshalVT(dAtA []byte) error
type OptionalInt32 ¶
type OptionalInt32 struct {
Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An optional 32-bit signed integer value.
func Int32 ¶
func Int32(v interface{}) *OptionalInt32
Int32 creates an Optional wrapper from its argument.
func (*OptionalInt32) Descriptor
deprecated
func (*OptionalInt32) Descriptor() ([]byte, []int)
Deprecated: Use OptionalInt32.ProtoReflect.Descriptor instead.
func (*OptionalInt32) Get ¶
func (o *OptionalInt32) Get() *int32
Get returns nil if its value is unset or a pointer to the value itself.
func (*OptionalInt32) GetValue ¶
func (x *OptionalInt32) GetValue() int32
func (*OptionalInt32) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *OptionalInt32) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OptionalInt32) MarshalToVT ¶ added in v0.9.0
func (m *OptionalInt32) MarshalToVT(dAtA []byte) (int, error)
func (*OptionalInt32) MarshalVT ¶ added in v0.9.0
func (m *OptionalInt32) MarshalVT() (dAtA []byte, err error)
func (*OptionalInt32) ProtoMessage ¶
func (*OptionalInt32) ProtoMessage()
func (*OptionalInt32) ProtoReflect ¶
func (x *OptionalInt32) ProtoReflect() protoreflect.Message
func (*OptionalInt32) Reset ¶
func (x *OptionalInt32) Reset()
func (*OptionalInt32) SizeVT ¶ added in v0.9.0
func (m *OptionalInt32) SizeVT() (n int)
func (*OptionalInt32) String ¶
func (x *OptionalInt32) String() string
func (*OptionalInt32) UnmarshalVT ¶ added in v0.9.0
func (m *OptionalInt32) UnmarshalVT(dAtA []byte) error
type OptionalInt64 ¶
type OptionalInt64 struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An optional 64-bit signed integer value.
func Int64 ¶
func Int64(v interface{}) *OptionalInt64
Int64 creates an Optional wrapper from its argument.
func (*OptionalInt64) Descriptor
deprecated
func (*OptionalInt64) Descriptor() ([]byte, []int)
Deprecated: Use OptionalInt64.ProtoReflect.Descriptor instead.
func (*OptionalInt64) Get ¶
func (o *OptionalInt64) Get() *int64
Get returns nil if its value is unset or a pointer to the value itself.
func (*OptionalInt64) GetValue ¶
func (x *OptionalInt64) GetValue() int64
func (*OptionalInt64) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *OptionalInt64) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OptionalInt64) MarshalToVT ¶ added in v0.9.0
func (m *OptionalInt64) MarshalToVT(dAtA []byte) (int, error)
func (*OptionalInt64) MarshalVT ¶ added in v0.9.0
func (m *OptionalInt64) MarshalVT() (dAtA []byte, err error)
func (*OptionalInt64) ProtoMessage ¶
func (*OptionalInt64) ProtoMessage()
func (*OptionalInt64) ProtoReflect ¶
func (x *OptionalInt64) ProtoReflect() protoreflect.Message
func (*OptionalInt64) Reset ¶
func (x *OptionalInt64) Reset()
func (*OptionalInt64) SizeVT ¶ added in v0.9.0
func (m *OptionalInt64) SizeVT() (n int)
func (*OptionalInt64) String ¶
func (x *OptionalInt64) String() string
func (*OptionalInt64) UnmarshalVT ¶ added in v0.9.0
func (m *OptionalInt64) UnmarshalVT(dAtA []byte) error
type OptionalString ¶
type OptionalString struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An optional string value.
func String ¶
func String(v interface{}) *OptionalString
String creates an Optional wrapper from its argument.
func (*OptionalString) Descriptor
deprecated
func (*OptionalString) Descriptor() ([]byte, []int)
Deprecated: Use OptionalString.ProtoReflect.Descriptor instead.
func (*OptionalString) Get ¶
func (o *OptionalString) Get() *string
Get returns nil if its value is unset or a pointer to the value itself.
func (*OptionalString) GetValue ¶
func (x *OptionalString) GetValue() string
func (*OptionalString) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *OptionalString) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OptionalString) MarshalToVT ¶ added in v0.9.0
func (m *OptionalString) MarshalToVT(dAtA []byte) (int, error)
func (*OptionalString) MarshalVT ¶ added in v0.9.0
func (m *OptionalString) MarshalVT() (dAtA []byte, err error)
func (*OptionalString) ProtoMessage ¶
func (*OptionalString) ProtoMessage()
func (*OptionalString) ProtoReflect ¶
func (x *OptionalString) ProtoReflect() protoreflect.Message
func (*OptionalString) Reset ¶
func (x *OptionalString) Reset()
func (*OptionalString) SizeVT ¶ added in v0.9.0
func (m *OptionalString) SizeVT() (n int)
func (*OptionalString) String ¶
func (x *OptionalString) String() string
func (*OptionalString) UnmarshalVT ¶ added in v0.9.0
func (m *OptionalString) UnmarshalVT(dAtA []byte) error
type OptionalUInt32 ¶
type OptionalUInt32 struct {
Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An optional 32-bit unsigned integer value.
func UInt32 ¶
func UInt32(v interface{}) *OptionalUInt32
UInt32 creates an Optional wrapper from its argument.
func (*OptionalUInt32) Descriptor
deprecated
func (*OptionalUInt32) Descriptor() ([]byte, []int)
Deprecated: Use OptionalUInt32.ProtoReflect.Descriptor instead.
func (*OptionalUInt32) Get ¶
func (o *OptionalUInt32) Get() *uint32
Get returns nil if its value is unset or a pointer to the value itself.
func (*OptionalUInt32) GetValue ¶
func (x *OptionalUInt32) GetValue() uint32
func (*OptionalUInt32) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *OptionalUInt32) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OptionalUInt32) MarshalToVT ¶ added in v0.9.0
func (m *OptionalUInt32) MarshalToVT(dAtA []byte) (int, error)
func (*OptionalUInt32) MarshalVT ¶ added in v0.9.0
func (m *OptionalUInt32) MarshalVT() (dAtA []byte, err error)
func (*OptionalUInt32) ProtoMessage ¶
func (*OptionalUInt32) ProtoMessage()
func (*OptionalUInt32) ProtoReflect ¶
func (x *OptionalUInt32) ProtoReflect() protoreflect.Message
func (*OptionalUInt32) Reset ¶
func (x *OptionalUInt32) Reset()
func (*OptionalUInt32) SizeVT ¶ added in v0.9.0
func (m *OptionalUInt32) SizeVT() (n int)
func (*OptionalUInt32) String ¶
func (x *OptionalUInt32) String() string
func (*OptionalUInt32) UnmarshalVT ¶ added in v0.9.0
func (m *OptionalUInt32) UnmarshalVT(dAtA []byte) error
type OptionalUInt64 ¶
type OptionalUInt64 struct {
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An optional 64-bit unsigned integer value.
func UInt64 ¶
func UInt64(v interface{}) *OptionalUInt64
UInt64 creates an Optional wrapper from its argument.
func (*OptionalUInt64) Descriptor
deprecated
func (*OptionalUInt64) Descriptor() ([]byte, []int)
Deprecated: Use OptionalUInt64.ProtoReflect.Descriptor instead.
func (*OptionalUInt64) Get ¶
func (o *OptionalUInt64) Get() *uint64
Get returns nil if its value is unset or a pointer to the value itself.
func (*OptionalUInt64) GetValue ¶
func (x *OptionalUInt64) GetValue() uint64
func (*OptionalUInt64) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *OptionalUInt64) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OptionalUInt64) MarshalToVT ¶ added in v0.9.0
func (m *OptionalUInt64) MarshalToVT(dAtA []byte) (int, error)
func (*OptionalUInt64) MarshalVT ¶ added in v0.9.0
func (m *OptionalUInt64) MarshalVT() (dAtA []byte, err error)
func (*OptionalUInt64) ProtoMessage ¶
func (*OptionalUInt64) ProtoMessage()
func (*OptionalUInt64) ProtoReflect ¶
func (x *OptionalUInt64) ProtoReflect() protoreflect.Message
func (*OptionalUInt64) Reset ¶
func (x *OptionalUInt64) Reset()
func (*OptionalUInt64) SizeVT ¶ added in v0.9.0
func (m *OptionalUInt64) SizeVT() (n int)
func (*OptionalUInt64) String ¶
func (x *OptionalUInt64) String() string
func (*OptionalUInt64) UnmarshalVT ¶ added in v0.9.0
func (m *OptionalUInt64) UnmarshalVT(dAtA []byte) error
type OwningPlugins ¶ added in v0.10.0
type OwningPlugins struct {
Owners map[string]*FieldOwners `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
OwningPlugins tracks field 'plugin ownership' for multiple containers. The string keys are container IDs. The values are FieldOwners which track 'plugin ownership' per adjustable field for the container.
func NewOwningPlugins ¶ added in v0.10.0
func NewOwningPlugins() *OwningPlugins
func (*OwningPlugins) AnnotationOwner ¶ added in v0.10.0
func (o *OwningPlugins) AnnotationOwner(id, key string) (string, bool)
func (*OwningPlugins) ArgsOwner ¶ added in v0.10.0
func (o *OwningPlugins) ArgsOwner(id string) (string, bool)
func (*OwningPlugins) BlockioClassOwner ¶ added in v0.10.0
func (o *OwningPlugins) BlockioClassOwner(id string) (string, bool)
func (*OwningPlugins) CPUPeriodOwner ¶ added in v0.10.0
func (o *OwningPlugins) CPUPeriodOwner(id string) (string, bool)
func (*OwningPlugins) CPUQuotaOwner ¶ added in v0.10.0
func (o *OwningPlugins) CPUQuotaOwner(id string) (string, bool)
func (*OwningPlugins) CPURealtimePeriodOwner ¶ added in v0.10.0
func (o *OwningPlugins) CPURealtimePeriodOwner(id string) (string, bool)
func (*OwningPlugins) CPURealtimeRuntimeOwner ¶ added in v0.10.0
func (o *OwningPlugins) CPURealtimeRuntimeOwner(id string) (string, bool)
func (*OwningPlugins) CPUSetCPUsOwner ¶ added in v0.10.0
func (o *OwningPlugins) CPUSetCPUsOwner(id string) (string, bool)
func (*OwningPlugins) CPUSetMemsOwner ¶ added in v0.10.0
func (o *OwningPlugins) CPUSetMemsOwner(id string) (string, bool)
func (*OwningPlugins) CPUSharesOwner ¶ added in v0.10.0
func (o *OwningPlugins) CPUSharesOwner(id string) (string, bool)
func (*OwningPlugins) CgroupsPathOwner ¶ added in v0.10.0
func (o *OwningPlugins) CgroupsPathOwner(id string) (string, bool)
func (*OwningPlugins) CgroupsUnifiedOwner ¶ added in v0.10.0
func (o *OwningPlugins) CgroupsUnifiedOwner(id, key string) (string, bool)
func (*OwningPlugins) ClaimAnnotation ¶ added in v0.10.0
func (o *OwningPlugins) ClaimAnnotation(id, key, plugin string) error
func (*OwningPlugins) ClaimArgs ¶ added in v0.10.0
func (o *OwningPlugins) ClaimArgs(id, plugin string) error
func (*OwningPlugins) ClaimBlockioClass ¶ added in v0.10.0
func (o *OwningPlugins) ClaimBlockioClass(id, plugin string) error
func (*OwningPlugins) ClaimCPUPeriod ¶ added in v0.10.0
func (o *OwningPlugins) ClaimCPUPeriod(id, plugin string) error
func (*OwningPlugins) ClaimCPUQuota ¶ added in v0.10.0
func (o *OwningPlugins) ClaimCPUQuota(id, plugin string) error
func (*OwningPlugins) ClaimCPURealtimePeriod ¶ added in v0.10.0
func (o *OwningPlugins) ClaimCPURealtimePeriod(id, plugin string) error
func (*OwningPlugins) ClaimCPURealtimeRuntime ¶ added in v0.10.0
func (o *OwningPlugins) ClaimCPURealtimeRuntime(id, plugin string) error
func (*OwningPlugins) ClaimCPUSetCPUs ¶ added in v0.10.0
func (o *OwningPlugins) ClaimCPUSetCPUs(id, plugin string) error
func (*OwningPlugins) ClaimCPUSetMems ¶ added in v0.10.0
func (o *OwningPlugins) ClaimCPUSetMems(id, plugin string) error
func (*OwningPlugins) ClaimCPUShares ¶ added in v0.10.0
func (o *OwningPlugins) ClaimCPUShares(id, plugin string) error
func (*OwningPlugins) ClaimCdiDevice ¶ added in v0.10.0
func (o *OwningPlugins) ClaimCdiDevice(id, name, plugin string) error
func (*OwningPlugins) ClaimCgroupsPath ¶ added in v0.10.0
func (o *OwningPlugins) ClaimCgroupsPath(id, plugin string) error
func (*OwningPlugins) ClaimCgroupsUnified ¶ added in v0.10.0
func (o *OwningPlugins) ClaimCgroupsUnified(id, key, plugin string) error
func (*OwningPlugins) ClaimDevice ¶ added in v0.10.0
func (o *OwningPlugins) ClaimDevice(id, path, plugin string) error
func (*OwningPlugins) ClaimEnv ¶ added in v0.10.0
func (o *OwningPlugins) ClaimEnv(id, name, plugin string) error
func (*OwningPlugins) ClaimHooks ¶ added in v0.10.0
func (o *OwningPlugins) ClaimHooks(id, plugin string) error
func (*OwningPlugins) ClaimHugepageLimit ¶ added in v0.10.0
func (o *OwningPlugins) ClaimHugepageLimit(id, size, plugin string) error
func (*OwningPlugins) ClaimIOPriority ¶ added in v0.10.0
func (o *OwningPlugins) ClaimIOPriority(id, plugin string) error
func (*OwningPlugins) ClaimMemDisableOomKiller ¶ added in v0.10.0
func (o *OwningPlugins) ClaimMemDisableOomKiller(id, plugin string) error
func (*OwningPlugins) ClaimMemKernelLimit ¶ added in v0.10.0
func (o *OwningPlugins) ClaimMemKernelLimit(id, plugin string) error
func (*OwningPlugins) ClaimMemLimit ¶ added in v0.10.0
func (o *OwningPlugins) ClaimMemLimit(id, plugin string) error
func (*OwningPlugins) ClaimMemReservation ¶ added in v0.10.0
func (o *OwningPlugins) ClaimMemReservation(id, plugin string) error
func (*OwningPlugins) ClaimMemSwapLimit ¶ added in v0.10.0
func (o *OwningPlugins) ClaimMemSwapLimit(id, plugin string) error
func (*OwningPlugins) ClaimMemSwappiness ¶ added in v0.10.0
func (o *OwningPlugins) ClaimMemSwappiness(id, plugin string) error
func (*OwningPlugins) ClaimMemTCPLimit ¶ added in v0.10.0
func (o *OwningPlugins) ClaimMemTCPLimit(id, plugin string) error
func (*OwningPlugins) ClaimMemUseHierarchy ¶ added in v0.10.0
func (o *OwningPlugins) ClaimMemUseHierarchy(id, plugin string) error
func (*OwningPlugins) ClaimMount ¶ added in v0.10.0
func (o *OwningPlugins) ClaimMount(id, destination, plugin string) error
func (*OwningPlugins) ClaimNamespace ¶ added in v0.10.0
func (o *OwningPlugins) ClaimNamespace(id, typ, plugin string) error
func (*OwningPlugins) ClaimOomScoreAdj ¶ added in v0.10.0
func (o *OwningPlugins) ClaimOomScoreAdj(id, plugin string) error
func (*OwningPlugins) ClaimPidsLimit ¶ added in v0.10.0
func (o *OwningPlugins) ClaimPidsLimit(id, plugin string) error
func (*OwningPlugins) ClaimRdtClass ¶ added in v0.10.0
func (o *OwningPlugins) ClaimRdtClass(id, plugin string) error
func (*OwningPlugins) ClaimRlimit ¶ added in v0.10.0
func (o *OwningPlugins) ClaimRlimit(id, typ, plugin string) error
func (*OwningPlugins) ClaimSeccompPolicy ¶ added in v0.10.0
func (o *OwningPlugins) ClaimSeccompPolicy(id, plugin string) error
func (*OwningPlugins) ClearAnnotation ¶ added in v0.10.0
func (o *OwningPlugins) ClearAnnotation(id, key, plugin string)
func (*OwningPlugins) ClearArgs ¶ added in v0.10.0
func (o *OwningPlugins) ClearArgs(id, plugin string)
func (*OwningPlugins) ClearDevice ¶ added in v0.10.0
func (o *OwningPlugins) ClearDevice(id, key, plugin string)
func (*OwningPlugins) ClearEnv ¶ added in v0.10.0
func (o *OwningPlugins) ClearEnv(id, key, plugin string)
func (*OwningPlugins) ClearMount ¶ added in v0.10.0
func (o *OwningPlugins) ClearMount(id, key, plugin string)
func (*OwningPlugins) Descriptor
deprecated
added in
v0.10.0
func (*OwningPlugins) Descriptor() ([]byte, []int)
Deprecated: Use OwningPlugins.ProtoReflect.Descriptor instead.
func (*OwningPlugins) DeviceOwner ¶ added in v0.10.0
func (o *OwningPlugins) DeviceOwner(id, path string) (string, bool)
func (*OwningPlugins) EnvOwner ¶ added in v0.10.0
func (o *OwningPlugins) EnvOwner(id, name string) (string, bool)
func (*OwningPlugins) GetOwners ¶ added in v0.10.0
func (x *OwningPlugins) GetOwners() map[string]*FieldOwners
func (*OwningPlugins) HooksOwner ¶ added in v0.10.0
func (o *OwningPlugins) HooksOwner(id string) (string, bool)
func (*OwningPlugins) HugepageLimitOwner ¶ added in v0.10.0
func (o *OwningPlugins) HugepageLimitOwner(id, size string) (string, bool)
func (*OwningPlugins) IOPriorityOwner ¶ added in v0.10.0
func (o *OwningPlugins) IOPriorityOwner(id string) (string, bool)
func (*OwningPlugins) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *OwningPlugins) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OwningPlugins) MarshalToVT ¶ added in v0.10.0
func (m *OwningPlugins) MarshalToVT(dAtA []byte) (int, error)
func (*OwningPlugins) MarshalVT ¶ added in v0.10.0
func (m *OwningPlugins) MarshalVT() (dAtA []byte, err error)
func (*OwningPlugins) MemDisableOomKillerOwner ¶ added in v0.10.0
func (o *OwningPlugins) MemDisableOomKillerOwner(id string) (string, bool)
func (*OwningPlugins) MemKernelLimitOwner ¶ added in v0.10.0
func (o *OwningPlugins) MemKernelLimitOwner(id string) (string, bool)
func (*OwningPlugins) MemLimitOwner ¶ added in v0.10.0
func (o *OwningPlugins) MemLimitOwner(id string) (string, bool)
func (*OwningPlugins) MemReservationOwner ¶ added in v0.10.0
func (o *OwningPlugins) MemReservationOwner(id string) (string, bool)
func (*OwningPlugins) MemSwapLimitOwner ¶ added in v0.10.0
func (o *OwningPlugins) MemSwapLimitOwner(id string) (string, bool)
func (*OwningPlugins) MemSwappinessOwner ¶ added in v0.10.0
func (o *OwningPlugins) MemSwappinessOwner(id string) (string, bool)
func (*OwningPlugins) MemTCPLimitOwner ¶ added in v0.10.0
func (o *OwningPlugins) MemTCPLimitOwner(id string) (string, bool)
func (*OwningPlugins) MemUseHierarchyOwner ¶ added in v0.10.0
func (o *OwningPlugins) MemUseHierarchyOwner(id string) (string, bool)
func (*OwningPlugins) MountOwner ¶ added in v0.10.0
func (o *OwningPlugins) MountOwner(id, destination string) (string, bool)
func (*OwningPlugins) NamespaceOwner ¶ added in v0.10.0
func (o *OwningPlugins) NamespaceOwner(id, path string) (string, bool)
func (*OwningPlugins) NamespaceOwners ¶ added in v0.10.0
func (o *OwningPlugins) NamespaceOwners(id string) (map[string]string, bool)
func (*OwningPlugins) OomScoreAdjOwner ¶ added in v0.10.0
func (o *OwningPlugins) OomScoreAdjOwner(id string) (string, bool)
func (*OwningPlugins) PidsLimitOwner ¶ added in v0.10.0
func (o *OwningPlugins) PidsLimitOwner(id string) (string, bool)
func (*OwningPlugins) ProtoMessage ¶ added in v0.10.0
func (*OwningPlugins) ProtoMessage()
func (*OwningPlugins) ProtoReflect ¶ added in v0.10.0
func (x *OwningPlugins) ProtoReflect() protoreflect.Message
func (*OwningPlugins) RdtClassOwner ¶ added in v0.10.0
func (o *OwningPlugins) RdtClassOwner(id string) (string, bool)
func (*OwningPlugins) Reset ¶ added in v0.10.0
func (x *OwningPlugins) Reset()
func (*OwningPlugins) RlimitOwner ¶ added in v0.10.0
func (o *OwningPlugins) RlimitOwner(id, typ string) (string, bool)
func (*OwningPlugins) SeccompPolicyOwner ¶ added in v0.10.0
func (o *OwningPlugins) SeccompPolicyOwner(id string) (string, bool)
func (*OwningPlugins) SizeVT ¶ added in v0.10.0
func (m *OwningPlugins) SizeVT() (n int)
func (*OwningPlugins) String ¶ added in v0.10.0
func (x *OwningPlugins) String() string
func (*OwningPlugins) UnmarshalVT ¶ added in v0.10.0
func (m *OwningPlugins) UnmarshalVT(dAtA []byte) error
type POSIXRlimit ¶ added in v0.4.0
type POSIXRlimit struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Hard uint64 `protobuf:"varint,2,opt,name=hard,proto3" json:"hard,omitempty"`
Soft uint64 `protobuf:"varint,3,opt,name=soft,proto3" json:"soft,omitempty"`
// contains filtered or unexported fields
}
Container rlimits
func (*POSIXRlimit) Descriptor
deprecated
added in
v0.4.0
func (*POSIXRlimit) Descriptor() ([]byte, []int)
Deprecated: Use POSIXRlimit.ProtoReflect.Descriptor instead.
func (*POSIXRlimit) GetHard ¶ added in v0.4.0
func (x *POSIXRlimit) GetHard() uint64
func (*POSIXRlimit) GetSoft ¶ added in v0.4.0
func (x *POSIXRlimit) GetSoft() uint64
func (*POSIXRlimit) GetType ¶ added in v0.4.0
func (x *POSIXRlimit) GetType() string
func (*POSIXRlimit) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *POSIXRlimit) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*POSIXRlimit) MarshalToVT ¶ added in v0.9.0
func (m *POSIXRlimit) MarshalToVT(dAtA []byte) (int, error)
func (*POSIXRlimit) MarshalVT ¶ added in v0.9.0
func (m *POSIXRlimit) MarshalVT() (dAtA []byte, err error)
func (*POSIXRlimit) ProtoMessage ¶ added in v0.4.0
func (*POSIXRlimit) ProtoMessage()
func (*POSIXRlimit) ProtoReflect ¶ added in v0.4.0
func (x *POSIXRlimit) ProtoReflect() protoreflect.Message
func (*POSIXRlimit) Reset ¶ added in v0.4.0
func (x *POSIXRlimit) Reset()
func (*POSIXRlimit) SizeVT ¶ added in v0.9.0
func (m *POSIXRlimit) SizeVT() (n int)
func (*POSIXRlimit) String ¶ added in v0.4.0
func (x *POSIXRlimit) String() string
func (*POSIXRlimit) UnmarshalVT ¶ added in v0.9.0
func (m *POSIXRlimit) UnmarshalVT(dAtA []byte) error
type Plugin ¶ added in v0.9.0
type Plugin interface {
// Configure the plugin and get its event subscription.
Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error)
// Synchronize the plugin with the state of the runtime.
Synchronize(context.Context, *SynchronizeRequest) (*SynchronizeResponse, error)
// Shutdown a plugin (let it know the runtime is going down).
Shutdown(context.Context, *Empty) (*Empty, error)
// CreateContainer relays the corresponding request to the plugin. In
// response, the plugin can adjust the container being created, and
// update other containers in the runtime. Container adjustment can
// alter labels, annotations, mounts, devices, environment variables,
// OCI hooks, and assigned container resources. Updates can alter
// assigned container resources.
CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
// UpdateContainer relays the corresponding request to the plugin.
// The plugin can alter how the container is updated and request updates
// to additional containers in the runtime.
UpdateContainer(context.Context, *UpdateContainerRequest) (*UpdateContainerResponse, error)
// StopContainer relays the corresponding request to the plugin. The plugin
// can update any of the remaining containers in the runtime in response.
StopContainer(context.Context, *StopContainerRequest) (*StopContainerResponse, error)
// UpdatePodSandbox relays the corresponding request to the plugin.
UpdatePodSandbox(context.Context, *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error)
// StateChange relays any remaining pod or container lifecycle/state change
// events the plugin has subscribed for. These can be used to trigger any
// plugin-specific processing which needs to occur in connection with any of
// these events.
StateChange(context.Context, *StateChangeEvent) (*Empty, error)
// ValidateContainerAdjustment relays a container adjustment validation request
// to the plugin. Container creation will fail the plugin rejects the adjustments.
ValidateContainerAdjustment(context.Context, *ValidateContainerAdjustmentRequest) (*ValidateContainerAdjustmentResponse, error)
}
Plugin is the API NRI uses to interact with plugins. It is used to - configure a plugin and subscribe it for lifecycle events - synchronize the state of a plugin with that of the runtime - hook a plugin into the lifecycle events of its interest
During configuration the plugin tells the runtime which lifecycle events it wishes to get hooked into. Once configured, the plugin is synchronized with the runtime by receiving the list of pods and containers known to the runtime. The plugin can request changes to any of the containers in response. After initial synchronization the plugin starts receiving the events it subscribed for as they occur in the runtime. For container creation, update, and stop events, the plugin can request changes, both to the container that triggered the event or any other existing container in the runtime.
For a subset of the container lifecycle events, NRI defines an additional Post-variant of the event. These variants are defined for CreateContainer, StartContainer, and UpdateContainer. For creation and update, these events can be used by plugins to discover the full extent of changes applied to the container, including any changes made by other active plugins.
go:plugin type=plugin version=1
type PluginInstance ¶ added in v0.10.0
type PluginInstance struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
// contains filtered or unexported fields
}
func (*PluginInstance) Descriptor
deprecated
added in
v0.10.0
func (*PluginInstance) Descriptor() ([]byte, []int)
Deprecated: Use PluginInstance.ProtoReflect.Descriptor instead.
func (*PluginInstance) GetIndex ¶ added in v0.10.0
func (x *PluginInstance) GetIndex() string
func (*PluginInstance) GetName ¶ added in v0.10.0
func (x *PluginInstance) GetName() string
func (*PluginInstance) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *PluginInstance) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PluginInstance) MarshalToVT ¶ added in v0.10.0
func (m *PluginInstance) MarshalToVT(dAtA []byte) (int, error)
func (*PluginInstance) MarshalVT ¶ added in v0.10.0
func (m *PluginInstance) MarshalVT() (dAtA []byte, err error)
func (*PluginInstance) ProtoMessage ¶ added in v0.10.0
func (*PluginInstance) ProtoMessage()
func (*PluginInstance) ProtoReflect ¶ added in v0.10.0
func (x *PluginInstance) ProtoReflect() protoreflect.Message
func (*PluginInstance) Reset ¶ added in v0.10.0
func (x *PluginInstance) Reset()
func (*PluginInstance) SizeVT ¶ added in v0.10.0
func (m *PluginInstance) SizeVT() (n int)
func (*PluginInstance) String ¶ added in v0.10.0
func (x *PluginInstance) String() string
func (*PluginInstance) UnmarshalVT ¶ added in v0.10.0
func (m *PluginInstance) UnmarshalVT(dAtA []byte) error
type PluginPlugin ¶ added in v0.9.0
type PluginPlugin struct {
// contains filtered or unexported fields
}
func NewPluginPlugin ¶ added in v0.9.0
func NewPluginPlugin(ctx context.Context, opts ...wazeroConfigOption) (*PluginPlugin, error)
func (*PluginPlugin) Load ¶ added in v0.9.0
func (p *PluginPlugin) Load(ctx context.Context, pluginPath string, hostFunctions HostFunctions) (plugin, error)
type PluginService ¶
type PluginService interface {
Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error)
Synchronize(context.Context, *SynchronizeRequest) (*SynchronizeResponse, error)
Shutdown(context.Context, *Empty) (*Empty, error)
CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
UpdateContainer(context.Context, *UpdateContainerRequest) (*UpdateContainerResponse, error)
StopContainer(context.Context, *StopContainerRequest) (*StopContainerResponse, error)
UpdatePodSandbox(context.Context, *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error)
StateChange(context.Context, *StateChangeEvent) (*Empty, error)
ValidateContainerAdjustment(context.Context, *ValidateContainerAdjustmentRequest) (*ValidateContainerAdjustmentResponse, error)
}
func NewPluginClient ¶
func NewPluginClient(client *ttrpc.Client) PluginService
type PodSandbox ¶
type PodSandbox struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
Labels map[string]string `` /* 153-byte string literal not displayed */
Annotations map[string]string `` /* 163-byte string literal not displayed */
RuntimeHandler string `protobuf:"bytes,7,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"`
Linux *LinuxPodSandbox `protobuf:"bytes,8,opt,name=linux,proto3" json:"linux,omitempty"`
Pid uint32 `protobuf:"varint,9,opt,name=pid,proto3" json:"pid,omitempty"` // for NRI v1 emulation
Ips []string `protobuf:"bytes,10,rep,name=ips,proto3" json:"ips,omitempty"`
// contains filtered or unexported fields
}
Pod metadata that is considered relevant for a plugin.
func (*PodSandbox) Descriptor
deprecated
func (*PodSandbox) Descriptor() ([]byte, []int)
Deprecated: Use PodSandbox.ProtoReflect.Descriptor instead.
func (*PodSandbox) GetAnnotations ¶
func (x *PodSandbox) GetAnnotations() map[string]string
func (*PodSandbox) GetId ¶
func (x *PodSandbox) GetId() string
func (*PodSandbox) GetIps ¶ added in v0.8.0
func (x *PodSandbox) GetIps() []string
func (*PodSandbox) GetLabels ¶
func (x *PodSandbox) GetLabels() map[string]string
func (*PodSandbox) GetLinux ¶
func (x *PodSandbox) GetLinux() *LinuxPodSandbox
func (*PodSandbox) GetName ¶
func (x *PodSandbox) GetName() string
func (*PodSandbox) GetNamespace ¶
func (x *PodSandbox) GetNamespace() string
func (*PodSandbox) GetPid ¶
func (x *PodSandbox) GetPid() uint32
func (*PodSandbox) GetRuntimeHandler ¶
func (x *PodSandbox) GetRuntimeHandler() string
func (*PodSandbox) GetUid ¶
func (x *PodSandbox) GetUid() string
func (*PodSandbox) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *PodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PodSandbox) MarshalToVT ¶ added in v0.9.0
func (m *PodSandbox) MarshalToVT(dAtA []byte) (int, error)
func (*PodSandbox) MarshalVT ¶ added in v0.9.0
func (m *PodSandbox) MarshalVT() (dAtA []byte, err error)
func (*PodSandbox) ProtoMessage ¶
func (*PodSandbox) ProtoMessage()
func (*PodSandbox) ProtoReflect ¶
func (x *PodSandbox) ProtoReflect() protoreflect.Message
func (*PodSandbox) Reset ¶
func (x *PodSandbox) Reset()
func (*PodSandbox) SizeVT ¶ added in v0.9.0
func (m *PodSandbox) SizeVT() (n int)
func (*PodSandbox) String ¶
func (x *PodSandbox) String() string
func (*PodSandbox) UnmarshalVT ¶ added in v0.9.0
func (m *PodSandbox) UnmarshalVT(dAtA []byte) error
type PostUpdatePodSandboxRequest ¶ added in v0.10.0
type PostUpdatePodSandboxRequest = StateChangeEvent
nolint
type PostUpdatePodSandboxResponse ¶ added in v0.10.0
type PostUpdatePodSandboxResponse = Empty
nolint
type RegisterPluginRequest ¶
type RegisterPluginRequest struct {
// Name of the plugin to register.
PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
// Plugin invocation index. Plugins are called in ascending index order.
PluginIdx string `protobuf:"bytes,2,opt,name=plugin_idx,json=pluginIdx,proto3" json:"plugin_idx,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterPluginRequest) Descriptor
deprecated
func (*RegisterPluginRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPluginRequest.ProtoReflect.Descriptor instead.
func (*RegisterPluginRequest) GetPluginIdx ¶
func (x *RegisterPluginRequest) GetPluginIdx() string
func (*RegisterPluginRequest) GetPluginName ¶
func (x *RegisterPluginRequest) GetPluginName() string
func (*RegisterPluginRequest) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *RegisterPluginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RegisterPluginRequest) MarshalToVT ¶ added in v0.9.0
func (m *RegisterPluginRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RegisterPluginRequest) MarshalVT ¶ added in v0.9.0
func (m *RegisterPluginRequest) MarshalVT() (dAtA []byte, err error)
func (*RegisterPluginRequest) ProtoMessage ¶
func (*RegisterPluginRequest) ProtoMessage()
func (*RegisterPluginRequest) ProtoReflect ¶
func (x *RegisterPluginRequest) ProtoReflect() protoreflect.Message
func (*RegisterPluginRequest) Reset ¶
func (x *RegisterPluginRequest) Reset()
func (*RegisterPluginRequest) SizeVT ¶ added in v0.9.0
func (m *RegisterPluginRequest) SizeVT() (n int)
func (*RegisterPluginRequest) String ¶
func (x *RegisterPluginRequest) String() string
func (*RegisterPluginRequest) UnmarshalVT ¶ added in v0.9.0
func (m *RegisterPluginRequest) UnmarshalVT(dAtA []byte) error
type RuntimeService ¶
type RuntimeService interface {
RegisterPlugin(context.Context, *RegisterPluginRequest) (*Empty, error)
UpdateContainers(context.Context, *UpdateContainersRequest) (*UpdateContainersResponse, error)
}
func NewRuntimeClient ¶
func NewRuntimeClient(client *ttrpc.Client) RuntimeService
type SecurityProfile ¶ added in v0.10.0
type SecurityProfile struct {
ProfileType SecurityProfile_ProfileType `` /* 149-byte string literal not displayed */
LocalhostRef string `protobuf:"bytes,2,opt,name=localhost_ref,json=localhostRef,proto3" json:"localhost_ref,omitempty"`
// contains filtered or unexported fields
}
SecurityProfile for container.
func (*SecurityProfile) Descriptor
deprecated
added in
v0.10.0
func (*SecurityProfile) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfile.ProtoReflect.Descriptor instead.
func (*SecurityProfile) GetLocalhostRef ¶ added in v0.10.0
func (x *SecurityProfile) GetLocalhostRef() string
func (*SecurityProfile) GetProfileType ¶ added in v0.10.0
func (x *SecurityProfile) GetProfileType() SecurityProfile_ProfileType
func (*SecurityProfile) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *SecurityProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SecurityProfile) MarshalToVT ¶ added in v0.10.0
func (m *SecurityProfile) MarshalToVT(dAtA []byte) (int, error)
func (*SecurityProfile) MarshalVT ¶ added in v0.10.0
func (m *SecurityProfile) MarshalVT() (dAtA []byte, err error)
func (*SecurityProfile) ProtoMessage ¶ added in v0.10.0
func (*SecurityProfile) ProtoMessage()
func (*SecurityProfile) ProtoReflect ¶ added in v0.10.0
func (x *SecurityProfile) ProtoReflect() protoreflect.Message
func (*SecurityProfile) Reset ¶ added in v0.10.0
func (x *SecurityProfile) Reset()
func (*SecurityProfile) SizeVT ¶ added in v0.10.0
func (m *SecurityProfile) SizeVT() (n int)
func (*SecurityProfile) String ¶ added in v0.10.0
func (x *SecurityProfile) String() string
func (*SecurityProfile) UnmarshalVT ¶ added in v0.10.0
func (m *SecurityProfile) UnmarshalVT(dAtA []byte) error
type SecurityProfile_ProfileType ¶ added in v0.10.0
type SecurityProfile_ProfileType int32
const ( SecurityProfile_RUNTIME_DEFAULT SecurityProfile_ProfileType = 0 SecurityProfile_UNCONFINED SecurityProfile_ProfileType = 1 SecurityProfile_LOCALHOST SecurityProfile_ProfileType = 2 )
func (SecurityProfile_ProfileType) Descriptor ¶ added in v0.10.0
func (SecurityProfile_ProfileType) Descriptor() protoreflect.EnumDescriptor
func (SecurityProfile_ProfileType) Enum ¶ added in v0.10.0
func (x SecurityProfile_ProfileType) Enum() *SecurityProfile_ProfileType
func (SecurityProfile_ProfileType) EnumDescriptor
deprecated
added in
v0.10.0
func (SecurityProfile_ProfileType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityProfile_ProfileType.Descriptor instead.
func (SecurityProfile_ProfileType) Number ¶ added in v0.10.0
func (x SecurityProfile_ProfileType) Number() protoreflect.EnumNumber
func (SecurityProfile_ProfileType) String ¶ added in v0.10.0
func (x SecurityProfile_ProfileType) String() string
func (SecurityProfile_ProfileType) Type ¶ added in v0.10.0
func (SecurityProfile_ProfileType) Type() protoreflect.EnumType
type StateChangeEvent ¶
type StateChangeEvent struct {
// Event type of notification.
Event Event `protobuf:"varint,1,opt,name=event,proto3,enum=nri.pkg.api.v1alpha1.Event" json:"event,omitempty"`
// Pod this notification is sent for. If this event is related to a container,
// pod is set to the pod of the container.
Pod *PodSandbox `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"`
// Container this notification is sent for. If the event is related to a pod,
// container is nil.
Container *Container `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
// contains filtered or unexported fields
}
func (*StateChangeEvent) Descriptor
deprecated
func (*StateChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use StateChangeEvent.ProtoReflect.Descriptor instead.
func (*StateChangeEvent) GetContainer ¶
func (x *StateChangeEvent) GetContainer() *Container
func (*StateChangeEvent) GetEvent ¶
func (x *StateChangeEvent) GetEvent() Event
func (*StateChangeEvent) GetPod ¶
func (x *StateChangeEvent) GetPod() *PodSandbox
func (*StateChangeEvent) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *StateChangeEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StateChangeEvent) MarshalToVT ¶ added in v0.9.0
func (m *StateChangeEvent) MarshalToVT(dAtA []byte) (int, error)
func (*StateChangeEvent) MarshalVT ¶ added in v0.9.0
func (m *StateChangeEvent) MarshalVT() (dAtA []byte, err error)
func (*StateChangeEvent) ProtoMessage ¶
func (*StateChangeEvent) ProtoMessage()
func (*StateChangeEvent) ProtoReflect ¶
func (x *StateChangeEvent) ProtoReflect() protoreflect.Message
func (*StateChangeEvent) Reset ¶
func (x *StateChangeEvent) Reset()
func (*StateChangeEvent) SizeVT ¶ added in v0.9.0
func (m *StateChangeEvent) SizeVT() (n int)
func (*StateChangeEvent) String ¶
func (x *StateChangeEvent) String() string
func (*StateChangeEvent) UnmarshalVT ¶ added in v0.9.0
func (m *StateChangeEvent) UnmarshalVT(dAtA []byte) error
type StopContainerRequest ¶
type StopContainerRequest struct {
// Pod of container being stopped.
Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
// Container being stopped.
Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
// contains filtered or unexported fields
}
func (*StopContainerRequest) Descriptor
deprecated
func (*StopContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopContainerRequest.ProtoReflect.Descriptor instead.
func (*StopContainerRequest) GetContainer ¶
func (x *StopContainerRequest) GetContainer() *Container
func (*StopContainerRequest) GetPod ¶
func (x *StopContainerRequest) GetPod() *PodSandbox
func (*StopContainerRequest) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *StopContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StopContainerRequest) MarshalToVT ¶ added in v0.9.0
func (m *StopContainerRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StopContainerRequest) MarshalVT ¶ added in v0.9.0
func (m *StopContainerRequest) MarshalVT() (dAtA []byte, err error)
func (*StopContainerRequest) ProtoMessage ¶
func (*StopContainerRequest) ProtoMessage()
func (*StopContainerRequest) ProtoReflect ¶
func (x *StopContainerRequest) ProtoReflect() protoreflect.Message
func (*StopContainerRequest) Reset ¶
func (x *StopContainerRequest) Reset()
func (*StopContainerRequest) SizeVT ¶ added in v0.9.0
func (m *StopContainerRequest) SizeVT() (n int)
func (*StopContainerRequest) String ¶
func (x *StopContainerRequest) String() string
func (*StopContainerRequest) UnmarshalVT ¶ added in v0.9.0
func (m *StopContainerRequest) UnmarshalVT(dAtA []byte) error
type StopContainerResponse ¶
type StopContainerResponse struct {
// Requested updates to containers.
Update []*ContainerUpdate `protobuf:"bytes,1,rep,name=update,proto3" json:"update,omitempty"`
// contains filtered or unexported fields
}
func (*StopContainerResponse) Descriptor
deprecated
func (*StopContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopContainerResponse.ProtoReflect.Descriptor instead.
func (*StopContainerResponse) GetUpdate ¶
func (x *StopContainerResponse) GetUpdate() []*ContainerUpdate
func (*StopContainerResponse) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *StopContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StopContainerResponse) MarshalToVT ¶ added in v0.9.0
func (m *StopContainerResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StopContainerResponse) MarshalVT ¶ added in v0.9.0
func (m *StopContainerResponse) MarshalVT() (dAtA []byte, err error)
func (*StopContainerResponse) ProtoMessage ¶
func (*StopContainerResponse) ProtoMessage()
func (*StopContainerResponse) ProtoReflect ¶
func (x *StopContainerResponse) ProtoReflect() protoreflect.Message
func (*StopContainerResponse) Reset ¶
func (x *StopContainerResponse) Reset()
func (*StopContainerResponse) SizeVT ¶ added in v0.9.0
func (m *StopContainerResponse) SizeVT() (n int)
func (*StopContainerResponse) String ¶
func (x *StopContainerResponse) String() string
func (*StopContainerResponse) UnmarshalVT ¶ added in v0.9.0
func (m *StopContainerResponse) UnmarshalVT(dAtA []byte) error
type SynchronizeRequest ¶
type SynchronizeRequest struct {
// Pods known to the runtime.
Pods []*PodSandbox `protobuf:"bytes,1,rep,name=pods,proto3" json:"pods,omitempty"`
// Containers known to the runtime.
Containers []*Container `protobuf:"bytes,2,rep,name=containers,proto3" json:"containers,omitempty"`
// Whether there are more pods and containers to follow.
More bool `protobuf:"varint,3,opt,name=more,proto3" json:"more,omitempty"`
// contains filtered or unexported fields
}
func (*SynchronizeRequest) Descriptor
deprecated
func (*SynchronizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SynchronizeRequest.ProtoReflect.Descriptor instead.
func (*SynchronizeRequest) GetContainers ¶
func (x *SynchronizeRequest) GetContainers() []*Container
func (*SynchronizeRequest) GetMore ¶ added in v0.7.0
func (x *SynchronizeRequest) GetMore() bool
func (*SynchronizeRequest) GetPods ¶
func (x *SynchronizeRequest) GetPods() []*PodSandbox
func (*SynchronizeRequest) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *SynchronizeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SynchronizeRequest) MarshalToVT ¶ added in v0.9.0
func (m *SynchronizeRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SynchronizeRequest) MarshalVT ¶ added in v0.9.0
func (m *SynchronizeRequest) MarshalVT() (dAtA []byte, err error)
func (*SynchronizeRequest) ProtoMessage ¶
func (*SynchronizeRequest) ProtoMessage()
func (*SynchronizeRequest) ProtoReflect ¶
func (x *SynchronizeRequest) ProtoReflect() protoreflect.Message
func (*SynchronizeRequest) Reset ¶
func (x *SynchronizeRequest) Reset()
func (*SynchronizeRequest) SizeVT ¶ added in v0.9.0
func (m *SynchronizeRequest) SizeVT() (n int)
func (*SynchronizeRequest) String ¶
func (x *SynchronizeRequest) String() string
func (*SynchronizeRequest) UnmarshalVT ¶ added in v0.9.0
func (m *SynchronizeRequest) UnmarshalVT(dAtA []byte) error
type SynchronizeResponse ¶
type SynchronizeResponse struct {
// Updates to containers requested by the plugin.
Update []*ContainerUpdate `protobuf:"bytes,1,rep,name=update,proto3" json:"update,omitempty"`
// Whether the client is able to handle more advertised pods and containers.
More bool `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
// contains filtered or unexported fields
}
func (*SynchronizeResponse) Descriptor
deprecated
func (*SynchronizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SynchronizeResponse.ProtoReflect.Descriptor instead.
func (*SynchronizeResponse) GetMore ¶ added in v0.7.0
func (x *SynchronizeResponse) GetMore() bool
func (*SynchronizeResponse) GetUpdate ¶
func (x *SynchronizeResponse) GetUpdate() []*ContainerUpdate
func (*SynchronizeResponse) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *SynchronizeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SynchronizeResponse) MarshalToVT ¶ added in v0.9.0
func (m *SynchronizeResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SynchronizeResponse) MarshalVT ¶ added in v0.9.0
func (m *SynchronizeResponse) MarshalVT() (dAtA []byte, err error)
func (*SynchronizeResponse) ProtoMessage ¶
func (*SynchronizeResponse) ProtoMessage()
func (*SynchronizeResponse) ProtoReflect ¶
func (x *SynchronizeResponse) ProtoReflect() protoreflect.Message
func (*SynchronizeResponse) Reset ¶
func (x *SynchronizeResponse) Reset()
func (*SynchronizeResponse) SizeVT ¶ added in v0.9.0
func (m *SynchronizeResponse) SizeVT() (n int)
func (*SynchronizeResponse) String ¶
func (x *SynchronizeResponse) String() string
func (*SynchronizeResponse) UnmarshalVT ¶ added in v0.9.0
func (m *SynchronizeResponse) UnmarshalVT(dAtA []byte) error
type UpdateContainerRequest ¶
type UpdateContainerRequest struct {
// Pod of container being updated.
Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
// Container being updated.
Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
// Resources to update.
LinuxResources *LinuxResources `protobuf:"bytes,3,opt,name=linux_resources,json=linuxResources,proto3" json:"linux_resources,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateContainerRequest) Descriptor
deprecated
func (*UpdateContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContainerRequest.ProtoReflect.Descriptor instead.
func (*UpdateContainerRequest) GetContainer ¶
func (x *UpdateContainerRequest) GetContainer() *Container
func (*UpdateContainerRequest) GetLinuxResources ¶
func (x *UpdateContainerRequest) GetLinuxResources() *LinuxResources
func (*UpdateContainerRequest) GetPod ¶
func (x *UpdateContainerRequest) GetPod() *PodSandbox
func (*UpdateContainerRequest) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *UpdateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateContainerRequest) MarshalToVT ¶ added in v0.9.0
func (m *UpdateContainerRequest) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateContainerRequest) MarshalVT ¶ added in v0.9.0
func (m *UpdateContainerRequest) MarshalVT() (dAtA []byte, err error)
func (*UpdateContainerRequest) ProtoMessage ¶
func (*UpdateContainerRequest) ProtoMessage()
func (*UpdateContainerRequest) ProtoReflect ¶
func (x *UpdateContainerRequest) ProtoReflect() protoreflect.Message
func (*UpdateContainerRequest) Reset ¶
func (x *UpdateContainerRequest) Reset()
func (*UpdateContainerRequest) SizeVT ¶ added in v0.9.0
func (m *UpdateContainerRequest) SizeVT() (n int)
func (*UpdateContainerRequest) String ¶
func (x *UpdateContainerRequest) String() string
func (*UpdateContainerRequest) UnmarshalVT ¶ added in v0.9.0
func (m *UpdateContainerRequest) UnmarshalVT(dAtA []byte) error
type UpdateContainerResponse ¶
type UpdateContainerResponse struct {
// Requested updates to containers.
Update []*ContainerUpdate `protobuf:"bytes,1,rep,name=update,proto3" json:"update,omitempty"`
// Requested eviction of containers.
Evict []*ContainerEviction `protobuf:"bytes,2,rep,name=evict,proto3" json:"evict,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateContainerResponse) Descriptor
deprecated
func (*UpdateContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContainerResponse.ProtoReflect.Descriptor instead.
func (*UpdateContainerResponse) GetEvict ¶
func (x *UpdateContainerResponse) GetEvict() []*ContainerEviction
func (*UpdateContainerResponse) GetUpdate ¶
func (x *UpdateContainerResponse) GetUpdate() []*ContainerUpdate
func (*UpdateContainerResponse) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *UpdateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateContainerResponse) MarshalToVT ¶ added in v0.9.0
func (m *UpdateContainerResponse) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateContainerResponse) MarshalVT ¶ added in v0.9.0
func (m *UpdateContainerResponse) MarshalVT() (dAtA []byte, err error)
func (*UpdateContainerResponse) ProtoMessage ¶
func (*UpdateContainerResponse) ProtoMessage()
func (*UpdateContainerResponse) ProtoReflect ¶
func (x *UpdateContainerResponse) ProtoReflect() protoreflect.Message
func (*UpdateContainerResponse) Reset ¶
func (x *UpdateContainerResponse) Reset()
func (*UpdateContainerResponse) SizeVT ¶ added in v0.9.0
func (m *UpdateContainerResponse) SizeVT() (n int)
func (*UpdateContainerResponse) String ¶
func (x *UpdateContainerResponse) String() string
func (*UpdateContainerResponse) UnmarshalVT ¶ added in v0.9.0
func (m *UpdateContainerResponse) UnmarshalVT(dAtA []byte) error
type UpdateContainersRequest ¶
type UpdateContainersRequest struct {
// List of containers to update.
Update []*ContainerUpdate `protobuf:"bytes,1,rep,name=update,proto3" json:"update,omitempty"`
// List of containers to evict.
Evict []*ContainerEviction `protobuf:"bytes,2,rep,name=evict,proto3" json:"evict,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateContainersRequest) Descriptor
deprecated
func (*UpdateContainersRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContainersRequest.ProtoReflect.Descriptor instead.
func (*UpdateContainersRequest) GetEvict ¶
func (x *UpdateContainersRequest) GetEvict() []*ContainerEviction
func (*UpdateContainersRequest) GetUpdate ¶
func (x *UpdateContainersRequest) GetUpdate() []*ContainerUpdate
func (*UpdateContainersRequest) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *UpdateContainersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateContainersRequest) MarshalToVT ¶ added in v0.9.0
func (m *UpdateContainersRequest) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateContainersRequest) MarshalVT ¶ added in v0.9.0
func (m *UpdateContainersRequest) MarshalVT() (dAtA []byte, err error)
func (*UpdateContainersRequest) ProtoMessage ¶
func (*UpdateContainersRequest) ProtoMessage()
func (*UpdateContainersRequest) ProtoReflect ¶
func (x *UpdateContainersRequest) ProtoReflect() protoreflect.Message
func (*UpdateContainersRequest) Reset ¶
func (x *UpdateContainersRequest) Reset()
func (*UpdateContainersRequest) SizeVT ¶ added in v0.9.0
func (m *UpdateContainersRequest) SizeVT() (n int)
func (*UpdateContainersRequest) String ¶
func (x *UpdateContainersRequest) String() string
func (*UpdateContainersRequest) UnmarshalVT ¶ added in v0.9.0
func (m *UpdateContainersRequest) UnmarshalVT(dAtA []byte) error
type UpdateContainersResponse ¶
type UpdateContainersResponse struct {
// Containers that the runtime failed to update.
Failed []*ContainerUpdate `protobuf:"bytes,1,rep,name=failed,proto3" json:"failed,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateContainersResponse) Descriptor
deprecated
func (*UpdateContainersResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContainersResponse.ProtoReflect.Descriptor instead.
func (*UpdateContainersResponse) GetFailed ¶
func (x *UpdateContainersResponse) GetFailed() []*ContainerUpdate
func (*UpdateContainersResponse) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *UpdateContainersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateContainersResponse) MarshalToVT ¶ added in v0.9.0
func (m *UpdateContainersResponse) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateContainersResponse) MarshalVT ¶ added in v0.9.0
func (m *UpdateContainersResponse) MarshalVT() (dAtA []byte, err error)
func (*UpdateContainersResponse) ProtoMessage ¶
func (*UpdateContainersResponse) ProtoMessage()
func (*UpdateContainersResponse) ProtoReflect ¶
func (x *UpdateContainersResponse) ProtoReflect() protoreflect.Message
func (*UpdateContainersResponse) Reset ¶
func (x *UpdateContainersResponse) Reset()
func (*UpdateContainersResponse) SizeVT ¶ added in v0.9.0
func (m *UpdateContainersResponse) SizeVT() (n int)
func (*UpdateContainersResponse) String ¶
func (x *UpdateContainersResponse) String() string
func (*UpdateContainersResponse) UnmarshalVT ¶ added in v0.9.0
func (m *UpdateContainersResponse) UnmarshalVT(dAtA []byte) error
type UpdatePodSandboxRequest ¶ added in v0.10.0
type UpdatePodSandboxRequest struct {
// Pod being updated.
Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
// Overhead associated with this pod.
OverheadLinuxResources *LinuxResources `` /* 129-byte string literal not displayed */
// Sum of container resources for this pod.
LinuxResources *LinuxResources `protobuf:"bytes,3,opt,name=linux_resources,json=linuxResources,proto3" json:"linux_resources,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePodSandboxRequest) Descriptor
deprecated
added in
v0.10.0
func (*UpdatePodSandboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePodSandboxRequest.ProtoReflect.Descriptor instead.
func (*UpdatePodSandboxRequest) GetLinuxResources ¶ added in v0.10.0
func (x *UpdatePodSandboxRequest) GetLinuxResources() *LinuxResources
func (*UpdatePodSandboxRequest) GetOverheadLinuxResources ¶ added in v0.10.0
func (x *UpdatePodSandboxRequest) GetOverheadLinuxResources() *LinuxResources
func (*UpdatePodSandboxRequest) GetPod ¶ added in v0.10.0
func (x *UpdatePodSandboxRequest) GetPod() *PodSandbox
func (*UpdatePodSandboxRequest) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *UpdatePodSandboxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdatePodSandboxRequest) MarshalToVT ¶ added in v0.10.0
func (m *UpdatePodSandboxRequest) MarshalToVT(dAtA []byte) (int, error)
func (*UpdatePodSandboxRequest) MarshalVT ¶ added in v0.10.0
func (m *UpdatePodSandboxRequest) MarshalVT() (dAtA []byte, err error)
func (*UpdatePodSandboxRequest) ProtoMessage ¶ added in v0.10.0
func (*UpdatePodSandboxRequest) ProtoMessage()
func (*UpdatePodSandboxRequest) ProtoReflect ¶ added in v0.10.0
func (x *UpdatePodSandboxRequest) ProtoReflect() protoreflect.Message
func (*UpdatePodSandboxRequest) Reset ¶ added in v0.10.0
func (x *UpdatePodSandboxRequest) Reset()
func (*UpdatePodSandboxRequest) SizeVT ¶ added in v0.10.0
func (m *UpdatePodSandboxRequest) SizeVT() (n int)
func (*UpdatePodSandboxRequest) String ¶ added in v0.10.0
func (x *UpdatePodSandboxRequest) String() string
func (*UpdatePodSandboxRequest) UnmarshalVT ¶ added in v0.10.0
func (m *UpdatePodSandboxRequest) UnmarshalVT(dAtA []byte) error
type UpdatePodSandboxResponse ¶ added in v0.10.0
type UpdatePodSandboxResponse struct {
// contains filtered or unexported fields
}
func (*UpdatePodSandboxResponse) Descriptor
deprecated
added in
v0.10.0
func (*UpdatePodSandboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePodSandboxResponse.ProtoReflect.Descriptor instead.
func (*UpdatePodSandboxResponse) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *UpdatePodSandboxResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdatePodSandboxResponse) MarshalToVT ¶ added in v0.10.0
func (m *UpdatePodSandboxResponse) MarshalToVT(dAtA []byte) (int, error)
func (*UpdatePodSandboxResponse) MarshalVT ¶ added in v0.10.0
func (m *UpdatePodSandboxResponse) MarshalVT() (dAtA []byte, err error)
func (*UpdatePodSandboxResponse) ProtoMessage ¶ added in v0.10.0
func (*UpdatePodSandboxResponse) ProtoMessage()
func (*UpdatePodSandboxResponse) ProtoReflect ¶ added in v0.10.0
func (x *UpdatePodSandboxResponse) ProtoReflect() protoreflect.Message
func (*UpdatePodSandboxResponse) Reset ¶ added in v0.10.0
func (x *UpdatePodSandboxResponse) Reset()
func (*UpdatePodSandboxResponse) SizeVT ¶ added in v0.10.0
func (m *UpdatePodSandboxResponse) SizeVT() (n int)
func (*UpdatePodSandboxResponse) String ¶ added in v0.10.0
func (x *UpdatePodSandboxResponse) String() string
func (*UpdatePodSandboxResponse) UnmarshalVT ¶ added in v0.10.0
func (m *UpdatePodSandboxResponse) UnmarshalVT(dAtA []byte) error
type ValidateContainerAdjustmentRequest ¶ added in v0.10.0
type ValidateContainerAdjustmentRequest struct {
// Pod of container being adjusted.
Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
// Container being adjusted in its pristine state.
Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
// Pending container adjustments.
Adjust *ContainerAdjustment `protobuf:"bytes,3,opt,name=adjust,proto3" json:"adjust,omitempty"`
// Pending updates to other containers.
Update []*ContainerUpdate `protobuf:"bytes,4,rep,name=update,proto3" json:"update,omitempty"`
// Plugins that made the adjustments and updates.
Owners *OwningPlugins `protobuf:"bytes,5,opt,name=owners,proto3" json:"owners,omitempty"`
// Plugins consulted for adjustments and updates.
Plugins []*PluginInstance `protobuf:"bytes,6,rep,name=plugins,proto3" json:"plugins,omitempty"`
// contains filtered or unexported fields
}
func (*ValidateContainerAdjustmentRequest) AddOwners ¶ added in v0.10.0
func (v *ValidateContainerAdjustmentRequest) AddOwners(owners *OwningPlugins)
func (*ValidateContainerAdjustmentRequest) AddPlugin ¶ added in v0.10.0
func (v *ValidateContainerAdjustmentRequest) AddPlugin(name, index string)
func (*ValidateContainerAdjustmentRequest) AddResponse ¶ added in v0.10.0
func (v *ValidateContainerAdjustmentRequest) AddResponse(rpl *CreateContainerResponse)
func (*ValidateContainerAdjustmentRequest) Descriptor
deprecated
added in
v0.10.0
func (*ValidateContainerAdjustmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateContainerAdjustmentRequest.ProtoReflect.Descriptor instead.
func (*ValidateContainerAdjustmentRequest) GetAdjust ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentRequest) GetAdjust() *ContainerAdjustment
func (*ValidateContainerAdjustmentRequest) GetContainer ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentRequest) GetContainer() *Container
func (*ValidateContainerAdjustmentRequest) GetOwners ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentRequest) GetOwners() *OwningPlugins
func (*ValidateContainerAdjustmentRequest) GetPluginMap ¶ added in v0.10.0
func (v *ValidateContainerAdjustmentRequest) GetPluginMap() map[string]*PluginInstance
func (*ValidateContainerAdjustmentRequest) GetPlugins ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentRequest) GetPlugins() []*PluginInstance
func (*ValidateContainerAdjustmentRequest) GetPod ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentRequest) GetPod() *PodSandbox
func (*ValidateContainerAdjustmentRequest) GetUpdate ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentRequest) GetUpdate() []*ContainerUpdate
func (*ValidateContainerAdjustmentRequest) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *ValidateContainerAdjustmentRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ValidateContainerAdjustmentRequest) MarshalToVT ¶ added in v0.10.0
func (m *ValidateContainerAdjustmentRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ValidateContainerAdjustmentRequest) MarshalVT ¶ added in v0.10.0
func (m *ValidateContainerAdjustmentRequest) MarshalVT() (dAtA []byte, err error)
func (*ValidateContainerAdjustmentRequest) ProtoMessage ¶ added in v0.10.0
func (*ValidateContainerAdjustmentRequest) ProtoMessage()
func (*ValidateContainerAdjustmentRequest) ProtoReflect ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentRequest) ProtoReflect() protoreflect.Message
func (*ValidateContainerAdjustmentRequest) Reset ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentRequest) Reset()
func (*ValidateContainerAdjustmentRequest) SizeVT ¶ added in v0.10.0
func (m *ValidateContainerAdjustmentRequest) SizeVT() (n int)
func (*ValidateContainerAdjustmentRequest) String ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentRequest) String() string
func (*ValidateContainerAdjustmentRequest) UnmarshalVT ¶ added in v0.10.0
func (m *ValidateContainerAdjustmentRequest) UnmarshalVT(dAtA []byte) error
type ValidateContainerAdjustmentResponse ¶ added in v0.10.0
type ValidateContainerAdjustmentResponse struct {
Reject bool `protobuf:"varint,1,opt,name=reject,proto3" json:"reject,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*ValidateContainerAdjustmentResponse) Descriptor
deprecated
added in
v0.10.0
func (*ValidateContainerAdjustmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateContainerAdjustmentResponse.ProtoReflect.Descriptor instead.
func (*ValidateContainerAdjustmentResponse) GetReason ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentResponse) GetReason() string
func (*ValidateContainerAdjustmentResponse) GetReject ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentResponse) GetReject() bool
func (*ValidateContainerAdjustmentResponse) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *ValidateContainerAdjustmentResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ValidateContainerAdjustmentResponse) MarshalToVT ¶ added in v0.10.0
func (m *ValidateContainerAdjustmentResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ValidateContainerAdjustmentResponse) MarshalVT ¶ added in v0.10.0
func (m *ValidateContainerAdjustmentResponse) MarshalVT() (dAtA []byte, err error)
func (*ValidateContainerAdjustmentResponse) ProtoMessage ¶ added in v0.10.0
func (*ValidateContainerAdjustmentResponse) ProtoMessage()
func (*ValidateContainerAdjustmentResponse) ProtoReflect ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentResponse) ProtoReflect() protoreflect.Message
func (*ValidateContainerAdjustmentResponse) Reset ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentResponse) Reset()
func (*ValidateContainerAdjustmentResponse) SizeVT ¶ added in v0.10.0
func (m *ValidateContainerAdjustmentResponse) SizeVT() (n int)
func (*ValidateContainerAdjustmentResponse) String ¶ added in v0.10.0
func (x *ValidateContainerAdjustmentResponse) String() string
func (*ValidateContainerAdjustmentResponse) UnmarshalVT ¶ added in v0.10.0
func (m *ValidateContainerAdjustmentResponse) UnmarshalVT(dAtA []byte) error
func (*ValidateContainerAdjustmentResponse) ValidationResult ¶ added in v0.10.0
func (v *ValidateContainerAdjustmentResponse) ValidationResult(plugin string) error
type WazeroConfig ¶ added in v0.9.0
type WazeroConfig struct {
// contains filtered or unexported fields
}
type WazeroNewRuntime ¶ added in v0.9.0
func DefaultWazeroRuntime ¶ added in v0.9.0
func DefaultWazeroRuntime() WazeroNewRuntime