partitiondata

package
v0.0.0-...-15099dc Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright (c) 2023 Cisco and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Copyright (c) 2023 Cisco and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Copyright (c) 2023 Cisco and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Copyright (c) 2023 Cisco and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbortedTransactionHighestSupportedFlexVersion

func AbortedTransactionHighestSupportedFlexVersion() int16

func AbortedTransactionHighestSupportedVersion

func AbortedTransactionHighestSupportedVersion() int16

func AbortedTransactionLowestSupportedFlexVersion

func AbortedTransactionLowestSupportedFlexVersion() int16

func AbortedTransactionLowestSupportedVersion

func AbortedTransactionLowestSupportedVersion() int16

func EpochEndOffsetHighestSupportedFlexVersion

func EpochEndOffsetHighestSupportedFlexVersion() int16

func EpochEndOffsetHighestSupportedVersion

func EpochEndOffsetHighestSupportedVersion() int16

func EpochEndOffsetLowestSupportedFlexVersion

func EpochEndOffsetLowestSupportedFlexVersion() int16

func EpochEndOffsetLowestSupportedVersion

func EpochEndOffsetLowestSupportedVersion() int16

func LeaderIdAndEpochHighestSupportedFlexVersion

func LeaderIdAndEpochHighestSupportedFlexVersion() int16

func LeaderIdAndEpochHighestSupportedVersion

func LeaderIdAndEpochHighestSupportedVersion() int16

func LeaderIdAndEpochLowestSupportedFlexVersion

func LeaderIdAndEpochLowestSupportedFlexVersion() int16

func LeaderIdAndEpochLowestSupportedVersion

func LeaderIdAndEpochLowestSupportedVersion() int16

func SnapshotIdHighestSupportedFlexVersion

func SnapshotIdHighestSupportedFlexVersion() int16

func SnapshotIdHighestSupportedVersion

func SnapshotIdHighestSupportedVersion() int16

func SnapshotIdLowestSupportedFlexVersion

func SnapshotIdLowestSupportedFlexVersion() int16

func SnapshotIdLowestSupportedVersion

func SnapshotIdLowestSupportedVersion() int16

Types

type AbortedTransaction

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

func AbortedTransactionDefault

func AbortedTransactionDefault() AbortedTransaction

func (*AbortedTransaction) Clear

func (o *AbortedTransaction) Clear()

func (*AbortedTransaction) Equal

func (o *AbortedTransaction) Equal(that *AbortedTransaction) bool

func (*AbortedTransaction) FirstOffset

func (o *AbortedTransaction) FirstOffset() int64

func (*AbortedTransaction) IsNil

func (o *AbortedTransaction) IsNil() bool

func (*AbortedTransaction) MarshalJSON

func (o *AbortedTransaction) MarshalJSON() ([]byte, error)

func (*AbortedTransaction) ProducerId

func (o *AbortedTransaction) ProducerId() int64

func (*AbortedTransaction) Read

func (o *AbortedTransaction) Read(buf *bytes.Reader, version int16) error

func (*AbortedTransaction) Release

func (o *AbortedTransaction) Release()

Release releases the dynamically allocated fields of this object by returning then to object pools

func (*AbortedTransaction) SetDefault

func (o *AbortedTransaction) SetDefault()

func (*AbortedTransaction) SetFirstOffset

func (o *AbortedTransaction) SetFirstOffset(val int64)

func (*AbortedTransaction) SetProducerId

func (o *AbortedTransaction) SetProducerId(val int64)

func (*AbortedTransaction) SetUnknownTaggedFields

func (o *AbortedTransaction) SetUnknownTaggedFields(val []fields.RawTaggedField)

func (*AbortedTransaction) SizeInBytes

func (o *AbortedTransaction) SizeInBytes(version int16) (int, error)

SizeInBytes returns the size of this data structure in bytes when it's serialized

func (*AbortedTransaction) String

func (o *AbortedTransaction) String() string

func (*AbortedTransaction) UnknownTaggedFields

func (o *AbortedTransaction) UnknownTaggedFields() []fields.RawTaggedField

func (*AbortedTransaction) Write

func (o *AbortedTransaction) Write(buf *typesbytes.SliceWriter, version int16) error

type EpochEndOffset

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

func EpochEndOffsetDefault

func EpochEndOffsetDefault() EpochEndOffset

func (*EpochEndOffset) Clear

func (o *EpochEndOffset) Clear()

func (*EpochEndOffset) EndOffset

func (o *EpochEndOffset) EndOffset() int64

func (*EpochEndOffset) Epoch

func (o *EpochEndOffset) Epoch() int32

func (*EpochEndOffset) Equal

func (o *EpochEndOffset) Equal(that *EpochEndOffset) bool

func (*EpochEndOffset) IsNil

func (o *EpochEndOffset) IsNil() bool

func (*EpochEndOffset) MarshalJSON

func (o *EpochEndOffset) MarshalJSON() ([]byte, error)

func (*EpochEndOffset) Read

func (o *EpochEndOffset) Read(buf *bytes.Reader, version int16) error

func (*EpochEndOffset) Release

func (o *EpochEndOffset) Release()

Release releases the dynamically allocated fields of this object by returning then to object pools

func (*EpochEndOffset) SetDefault

func (o *EpochEndOffset) SetDefault()

func (*EpochEndOffset) SetEndOffset

func (o *EpochEndOffset) SetEndOffset(val int64)

func (*EpochEndOffset) SetEpoch

func (o *EpochEndOffset) SetEpoch(val int32)

func (*EpochEndOffset) SetUnknownTaggedFields

func (o *EpochEndOffset) SetUnknownTaggedFields(val []fields.RawTaggedField)

func (*EpochEndOffset) SizeInBytes

func (o *EpochEndOffset) SizeInBytes(version int16) (int, error)

SizeInBytes returns the size of this data structure in bytes when it's serialized

func (*EpochEndOffset) String

func (o *EpochEndOffset) String() string

func (*EpochEndOffset) UnknownTaggedFields

func (o *EpochEndOffset) UnknownTaggedFields() []fields.RawTaggedField

func (*EpochEndOffset) Write

func (o *EpochEndOffset) Write(buf *typesbytes.SliceWriter, version int16) error

type LeaderIdAndEpoch

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

func LeaderIdAndEpochDefault

func LeaderIdAndEpochDefault() LeaderIdAndEpoch

func (*LeaderIdAndEpoch) Clear

func (o *LeaderIdAndEpoch) Clear()

func (*LeaderIdAndEpoch) Equal

func (o *LeaderIdAndEpoch) Equal(that *LeaderIdAndEpoch) bool

func (*LeaderIdAndEpoch) IsNil

func (o *LeaderIdAndEpoch) IsNil() bool

func (*LeaderIdAndEpoch) LeaderEpoch

func (o *LeaderIdAndEpoch) LeaderEpoch() int32

func (*LeaderIdAndEpoch) LeaderId

func (o *LeaderIdAndEpoch) LeaderId() int32

func (*LeaderIdAndEpoch) MarshalJSON

func (o *LeaderIdAndEpoch) MarshalJSON() ([]byte, error)

func (*LeaderIdAndEpoch) Read

func (o *LeaderIdAndEpoch) Read(buf *bytes.Reader, version int16) error

func (*LeaderIdAndEpoch) Release

func (o *LeaderIdAndEpoch) Release()

Release releases the dynamically allocated fields of this object by returning then to object pools

func (*LeaderIdAndEpoch) SetDefault

func (o *LeaderIdAndEpoch) SetDefault()

func (*LeaderIdAndEpoch) SetLeaderEpoch

func (o *LeaderIdAndEpoch) SetLeaderEpoch(val int32)

func (*LeaderIdAndEpoch) SetLeaderId

func (o *LeaderIdAndEpoch) SetLeaderId(val int32)

func (*LeaderIdAndEpoch) SetUnknownTaggedFields

func (o *LeaderIdAndEpoch) SetUnknownTaggedFields(val []fields.RawTaggedField)

func (*LeaderIdAndEpoch) SizeInBytes

func (o *LeaderIdAndEpoch) SizeInBytes(version int16) (int, error)

SizeInBytes returns the size of this data structure in bytes when it's serialized

func (*LeaderIdAndEpoch) String

func (o *LeaderIdAndEpoch) String() string

func (*LeaderIdAndEpoch) UnknownTaggedFields

func (o *LeaderIdAndEpoch) UnknownTaggedFields() []fields.RawTaggedField

func (*LeaderIdAndEpoch) Write

func (o *LeaderIdAndEpoch) Write(buf *typesbytes.SliceWriter, version int16) error

type SnapshotId

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

func SnapshotIdDefault

func SnapshotIdDefault() SnapshotId

func (*SnapshotId) Clear

func (o *SnapshotId) Clear()

func (*SnapshotId) EndOffset

func (o *SnapshotId) EndOffset() int64

func (*SnapshotId) Epoch

func (o *SnapshotId) Epoch() int32

func (*SnapshotId) Equal

func (o *SnapshotId) Equal(that *SnapshotId) bool

func (*SnapshotId) IsNil

func (o *SnapshotId) IsNil() bool

func (*SnapshotId) MarshalJSON

func (o *SnapshotId) MarshalJSON() ([]byte, error)

func (*SnapshotId) Read

func (o *SnapshotId) Read(buf *bytes.Reader, version int16) error

func (*SnapshotId) Release

func (o *SnapshotId) Release()

Release releases the dynamically allocated fields of this object by returning then to object pools

func (*SnapshotId) SetDefault

func (o *SnapshotId) SetDefault()

func (*SnapshotId) SetEndOffset

func (o *SnapshotId) SetEndOffset(val int64)

func (*SnapshotId) SetEpoch

func (o *SnapshotId) SetEpoch(val int32)

func (*SnapshotId) SetUnknownTaggedFields

func (o *SnapshotId) SetUnknownTaggedFields(val []fields.RawTaggedField)

func (*SnapshotId) SizeInBytes

func (o *SnapshotId) SizeInBytes(version int16) (int, error)

SizeInBytes returns the size of this data structure in bytes when it's serialized

func (*SnapshotId) String

func (o *SnapshotId) String() string

func (*SnapshotId) UnknownTaggedFields

func (o *SnapshotId) UnknownTaggedFields() []fields.RawTaggedField

func (*SnapshotId) Write

func (o *SnapshotId) Write(buf *typesbytes.SliceWriter, version int16) error

Jump to

Keyboard shortcuts

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