Documentation ¶
Index ¶
- Variables
- type SysctlEntry
- func (*SysctlEntry) Descriptor() ([]byte, []int)deprecated
- func (x *SysctlEntry) GetIarg() int32
- func (x *SysctlEntry) GetSarg() string
- func (x *SysctlEntry) GetType() SysctlType
- func (*SysctlEntry) ProtoMessage()
- func (x *SysctlEntry) ProtoReflect() protoreflect.Message
- func (x *SysctlEntry) Reset()
- func (x *SysctlEntry) String() string
- type SysctlType
- func (SysctlType) Descriptor() protoreflect.EnumDescriptor
- func (x SysctlType) Enum() *SysctlType
- func (SysctlType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SysctlType) Number() protoreflect.EnumNumber
- func (x SysctlType) String() string
- func (SysctlType) Type() protoreflect.EnumType
- func (x *SysctlType) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SysctlType_name = map[int32]string{ 5: "CTL_STR", 6: "CTL_32", } SysctlType_value = map[string]int32{ "CTL_STR": 5, "CTL_32": 6, } )
Enum value maps for SysctlType.
View Source
var File_sysctl_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SysctlEntry ¶
type SysctlEntry struct { Type *SysctlType `protobuf:"varint,1,req,name=type,enum=SysctlType" json:"type,omitempty"` Iarg *int32 `protobuf:"varint,2,opt,name=iarg" json:"iarg,omitempty"` Sarg *string `protobuf:"bytes,3,opt,name=sarg" json:"sarg,omitempty"` // contains filtered or unexported fields }
func (*SysctlEntry) Descriptor
deprecated
func (*SysctlEntry) Descriptor() ([]byte, []int)
Deprecated: Use SysctlEntry.ProtoReflect.Descriptor instead.
func (*SysctlEntry) GetIarg ¶
func (x *SysctlEntry) GetIarg() int32
func (*SysctlEntry) GetSarg ¶
func (x *SysctlEntry) GetSarg() string
func (*SysctlEntry) GetType ¶
func (x *SysctlEntry) GetType() SysctlType
func (*SysctlEntry) ProtoMessage ¶
func (*SysctlEntry) ProtoMessage()
func (*SysctlEntry) ProtoReflect ¶
func (x *SysctlEntry) ProtoReflect() protoreflect.Message
func (*SysctlEntry) Reset ¶
func (x *SysctlEntry) Reset()
func (*SysctlEntry) String ¶
func (x *SysctlEntry) String() string
type SysctlType ¶
type SysctlType int32
const ( SysctlType_CTL_STR SysctlType = 5 SysctlType_CTL_32 SysctlType = 6 )
func (SysctlType) Descriptor ¶
func (SysctlType) Descriptor() protoreflect.EnumDescriptor
func (SysctlType) Enum ¶
func (x SysctlType) Enum() *SysctlType
func (SysctlType) EnumDescriptor
deprecated
func (SysctlType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SysctlType.Descriptor instead.
func (SysctlType) Number ¶
func (x SysctlType) Number() protoreflect.EnumNumber
func (SysctlType) String ¶
func (x SysctlType) String() string
func (SysctlType) Type ¶
func (SysctlType) Type() protoreflect.EnumType
func (*SysctlType) UnmarshalJSON
deprecated
func (x *SysctlType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Click to show internal directories.
Click to hide internal directories.