kubernetes/vendor/github.com/godbus/dbus/v5/message.go

const protoVersion

type Flags

const FlagNoReplyExpected

const FlagNoAutoStart

const FlagAllowInteractiveAuthorization

type Type

const TypeMethodCall

const TypeMethodReply

const TypeError

const TypeSignal

const typeMax

func (t Type) String() string {}

type HeaderField

const FieldPath

const FieldInterface

const FieldMember

const FieldErrorName

const FieldReplySerial

const FieldDestination

const FieldSender

const FieldSignature

const FieldUnixFDs

const fieldMax

type InvalidMessageError

func (e InvalidMessageError) Error() string {}

var fieldTypes

var requiredFields

type Message

type header

func DecodeMessageWithFDs(rd io.Reader, fds []int) (msg *Message, err error) {}

// DecodeMessage tries to decode a single message in the D-Bus wire format
// from the given reader. The byte order is figured out from the first byte.
// The possibly returned error can be an error of the underlying reader, an
// InvalidMessageError or a FormatError.
func DecodeMessage(rd io.Reader) (msg *Message, err error) {}

type nullwriter

func (nullwriter) Write(p []byte) (cnt int, err error) {}

func (msg *Message) CountFds() (int, error) {}

func (msg *Message) EncodeToWithFDs(out io.Writer, order binary.ByteOrder) (fds []int, err error) {}

// EncodeTo encodes and sends a message to the given writer. The byte order must
// be either binary.LittleEndian or binary.BigEndian. If the message is not
// valid or an error occurs when writing, an error is returned.
func (msg *Message) EncodeTo(out io.Writer, order binary.ByteOrder) (err error) {}

// IsValid checks whether msg is a valid message and returns an
// InvalidMessageError or FormatError if it is not.
func (msg *Message) IsValid() error {}

func (msg *Message) validateHeader() error {}

// Serial returns the message's serial number. The returned value is only valid
// for messages received by eavesdropping.
func (msg *Message) Serial() uint32 {}

// String returns a string representation of a message similar to the format of
// dbus-monitor.
func (msg *Message) String() string {}