options

package
v0.0.0-...-7472e58 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthOptions        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOptions          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOptions = fmt.Errorf("proto: unexpected end of group")
)
View Source
var LogMode_name = map[int32]string{
	0: "DEFAULT",
	1: "JOURNALD",
	2: "STDIO",
	3: "NULL",
}
View Source
var LogMode_value = map[string]int32{
	"DEFAULT":  0,
	"JOURNALD": 1,
	"STDIO":    2,
	"NULL":     3,
}

Functions

This section is empty.

Types

type CreateOptions

type CreateOptions struct {
	LogMode              LogMode  `protobuf:"varint,1,opt,name=log_mode,json=logMode,proto3,enum=containerd.systemd.v1.LogMode" json:"log_mode,omitempty"`
	SdNotifyEnable       bool     `protobuf:"varint,2,opt,name=sd_notify_enable,json=sdNotifyEnable,proto3" json:"sd_notify_enable,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateOptions) Descriptor

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

func (*CreateOptions) GetLogMode

func (m *CreateOptions) GetLogMode() LogMode

func (*CreateOptions) GetSdNotifyEnable

func (m *CreateOptions) GetSdNotifyEnable() bool

func (*CreateOptions) Marshal

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

func (*CreateOptions) MarshalTo

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

func (*CreateOptions) MarshalToSizedBuffer

func (m *CreateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateOptions) ProtoMessage

func (*CreateOptions) ProtoMessage()

func (*CreateOptions) Reset

func (m *CreateOptions) Reset()

func (*CreateOptions) Size

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

func (*CreateOptions) String

func (m *CreateOptions) String() string

func (*CreateOptions) Unmarshal

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

func (*CreateOptions) XXX_DiscardUnknown

func (m *CreateOptions) XXX_DiscardUnknown()

func (*CreateOptions) XXX_Marshal

func (m *CreateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateOptions) XXX_Merge

func (m *CreateOptions) XXX_Merge(src proto.Message)

func (*CreateOptions) XXX_Size

func (m *CreateOptions) XXX_Size() int

func (*CreateOptions) XXX_Unmarshal

func (m *CreateOptions) XXX_Unmarshal(b []byte) error

type LogMode

type LogMode int32
const (
	LogMode_DEFAULT  LogMode = 0
	LogMode_JOURNALD LogMode = 1
	LogMode_STDIO    LogMode = 2
	LogMode_NULL     LogMode = 3
)

func (LogMode) EnumDescriptor

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

func (LogMode) String

func (x LogMode) String() string

Jump to

Keyboard shortcuts

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