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.
Index ¶
- func OffsetForLeaderPartitionHighestSupportedFlexVersion() int16
- func OffsetForLeaderPartitionHighestSupportedVersion() int16
- func OffsetForLeaderPartitionLowestSupportedFlexVersion() int16
- func OffsetForLeaderPartitionLowestSupportedVersion() int16
- type OffsetForLeaderPartition
- func (o *OffsetForLeaderPartition) Clear()
- func (o *OffsetForLeaderPartition) CurrentLeaderEpoch() int32
- func (o *OffsetForLeaderPartition) Equal(that *OffsetForLeaderPartition) bool
- func (o *OffsetForLeaderPartition) IsNil() bool
- func (o *OffsetForLeaderPartition) LeaderEpoch() int32
- func (o *OffsetForLeaderPartition) MarshalJSON() ([]byte, error)
- func (o *OffsetForLeaderPartition) Partition() int32
- func (o *OffsetForLeaderPartition) Read(buf *bytes.Reader, version int16) error
- func (o *OffsetForLeaderPartition) Release()
- func (o *OffsetForLeaderPartition) SetCurrentLeaderEpoch(val int32)
- func (o *OffsetForLeaderPartition) SetDefault()
- func (o *OffsetForLeaderPartition) SetLeaderEpoch(val int32)
- func (o *OffsetForLeaderPartition) SetPartition(val int32)
- func (o *OffsetForLeaderPartition) SetUnknownTaggedFields(val []fields.RawTaggedField)
- func (o *OffsetForLeaderPartition) SizeInBytes(version int16) (int, error)
- func (o *OffsetForLeaderPartition) String() string
- func (o *OffsetForLeaderPartition) UnknownTaggedFields() []fields.RawTaggedField
- func (o *OffsetForLeaderPartition) Write(buf *typesbytes.SliceWriter, version int16) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OffsetForLeaderPartitionHighestSupportedFlexVersion ¶
func OffsetForLeaderPartitionHighestSupportedFlexVersion() int16
func OffsetForLeaderPartitionHighestSupportedVersion ¶
func OffsetForLeaderPartitionHighestSupportedVersion() int16
func OffsetForLeaderPartitionLowestSupportedFlexVersion ¶
func OffsetForLeaderPartitionLowestSupportedFlexVersion() int16
func OffsetForLeaderPartitionLowestSupportedVersion ¶
func OffsetForLeaderPartitionLowestSupportedVersion() int16
Types ¶
type OffsetForLeaderPartition ¶
type OffsetForLeaderPartition struct {
// contains filtered or unexported fields
}
func OffsetForLeaderPartitionDefault ¶
func OffsetForLeaderPartitionDefault() OffsetForLeaderPartition
func (*OffsetForLeaderPartition) Clear ¶
func (o *OffsetForLeaderPartition) Clear()
func (*OffsetForLeaderPartition) CurrentLeaderEpoch ¶
func (o *OffsetForLeaderPartition) CurrentLeaderEpoch() int32
func (*OffsetForLeaderPartition) Equal ¶
func (o *OffsetForLeaderPartition) Equal(that *OffsetForLeaderPartition) bool
func (*OffsetForLeaderPartition) IsNil ¶
func (o *OffsetForLeaderPartition) IsNil() bool
func (*OffsetForLeaderPartition) LeaderEpoch ¶
func (o *OffsetForLeaderPartition) LeaderEpoch() int32
func (*OffsetForLeaderPartition) MarshalJSON ¶
func (o *OffsetForLeaderPartition) MarshalJSON() ([]byte, error)
func (*OffsetForLeaderPartition) Partition ¶
func (o *OffsetForLeaderPartition) Partition() int32
func (*OffsetForLeaderPartition) Read ¶
func (o *OffsetForLeaderPartition) Read(buf *bytes.Reader, version int16) error
func (*OffsetForLeaderPartition) Release ¶
func (o *OffsetForLeaderPartition) Release()
Release releases the dynamically allocated fields of this object by returning then to object pools
func (*OffsetForLeaderPartition) SetCurrentLeaderEpoch ¶
func (o *OffsetForLeaderPartition) SetCurrentLeaderEpoch(val int32)
func (*OffsetForLeaderPartition) SetDefault ¶
func (o *OffsetForLeaderPartition) SetDefault()
func (*OffsetForLeaderPartition) SetLeaderEpoch ¶
func (o *OffsetForLeaderPartition) SetLeaderEpoch(val int32)
func (*OffsetForLeaderPartition) SetPartition ¶
func (o *OffsetForLeaderPartition) SetPartition(val int32)
func (*OffsetForLeaderPartition) SetUnknownTaggedFields ¶
func (o *OffsetForLeaderPartition) SetUnknownTaggedFields(val []fields.RawTaggedField)
func (*OffsetForLeaderPartition) SizeInBytes ¶
func (o *OffsetForLeaderPartition) SizeInBytes(version int16) (int, error)
SizeInBytes returns the size of this data structure in bytes when it's serialized
func (*OffsetForLeaderPartition) String ¶
func (o *OffsetForLeaderPartition) String() string
func (*OffsetForLeaderPartition) UnknownTaggedFields ¶
func (o *OffsetForLeaderPartition) UnknownTaggedFields() []fields.RawTaggedField
func (*OffsetForLeaderPartition) Write ¶
func (o *OffsetForLeaderPartition) Write(buf *typesbytes.SliceWriter, version int16) error
Click to show internal directories.
Click to hide internal directories.