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.
Index ¶
- func LeaderIdAndEpochHighestSupportedFlexVersion() int16
- func LeaderIdAndEpochHighestSupportedVersion() int16
- func LeaderIdAndEpochLowestSupportedFlexVersion() int16
- func LeaderIdAndEpochLowestSupportedVersion() int16
- func SnapshotIdHighestSupportedFlexVersion() int16
- func SnapshotIdHighestSupportedVersion() int16
- func SnapshotIdLowestSupportedFlexVersion() int16
- func SnapshotIdLowestSupportedVersion() int16
- type LeaderIdAndEpoch
- func (o *LeaderIdAndEpoch) Clear()
- func (o *LeaderIdAndEpoch) Equal(that *LeaderIdAndEpoch) bool
- func (o *LeaderIdAndEpoch) IsNil() bool
- func (o *LeaderIdAndEpoch) LeaderEpoch() int32
- func (o *LeaderIdAndEpoch) LeaderId() int32
- func (o *LeaderIdAndEpoch) MarshalJSON() ([]byte, error)
- func (o *LeaderIdAndEpoch) Read(buf *bytes.Reader, version int16) error
- func (o *LeaderIdAndEpoch) Release()
- func (o *LeaderIdAndEpoch) SetDefault()
- func (o *LeaderIdAndEpoch) SetLeaderEpoch(val int32)
- func (o *LeaderIdAndEpoch) SetLeaderId(val int32)
- func (o *LeaderIdAndEpoch) SetUnknownTaggedFields(val []fields.RawTaggedField)
- func (o *LeaderIdAndEpoch) SizeInBytes(version int16) (int, error)
- func (o *LeaderIdAndEpoch) String() string
- func (o *LeaderIdAndEpoch) UnknownTaggedFields() []fields.RawTaggedField
- func (o *LeaderIdAndEpoch) Write(buf *typesbytes.SliceWriter, version int16) error
- type SnapshotId
- func (o *SnapshotId) Clear()
- func (o *SnapshotId) EndOffset() int64
- func (o *SnapshotId) Epoch() int32
- func (o *SnapshotId) Equal(that *SnapshotId) bool
- func (o *SnapshotId) IsNil() bool
- func (o *SnapshotId) MarshalJSON() ([]byte, error)
- func (o *SnapshotId) Read(buf *bytes.Reader, version int16) error
- func (o *SnapshotId) Release()
- func (o *SnapshotId) SetDefault()
- func (o *SnapshotId) SetEndOffset(val int64)
- func (o *SnapshotId) SetEpoch(val int32)
- func (o *SnapshotId) SetUnknownTaggedFields(val []fields.RawTaggedField)
- func (o *SnapshotId) SizeInBytes(version int16) (int, error)
- func (o *SnapshotId) String() string
- func (o *SnapshotId) UnknownTaggedFields() []fields.RawTaggedField
- func (o *SnapshotId) Write(buf *typesbytes.SliceWriter, version int16) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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) 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
Click to show internal directories.
Click to hide internal directories.