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 MetadataResponsePartitionHighestSupportedFlexVersion() int16
- func MetadataResponsePartitionHighestSupportedVersion() int16
- func MetadataResponsePartitionLowestSupportedFlexVersion() int16
- func MetadataResponsePartitionLowestSupportedVersion() int16
- type MetadataResponsePartition
- func (o *MetadataResponsePartition) Clear()
- func (o *MetadataResponsePartition) Equal(that *MetadataResponsePartition) bool
- func (o *MetadataResponsePartition) ErrorCode() int16
- func (o *MetadataResponsePartition) IsNil() bool
- func (o *MetadataResponsePartition) IsrNodes() []int32
- func (o *MetadataResponsePartition) LeaderEpoch() int32
- func (o *MetadataResponsePartition) LeaderId() int32
- func (o *MetadataResponsePartition) MarshalJSON() ([]byte, error)
- func (o *MetadataResponsePartition) OfflineReplicas() []int32
- func (o *MetadataResponsePartition) PartitionIndex() int32
- func (o *MetadataResponsePartition) Read(buf *bytes.Reader, version int16) error
- func (o *MetadataResponsePartition) Release()
- func (o *MetadataResponsePartition) ReplicaNodes() []int32
- func (o *MetadataResponsePartition) SetDefault()
- func (o *MetadataResponsePartition) SetErrorCode(val int16)
- func (o *MetadataResponsePartition) SetIsrNodes(val []int32)
- func (o *MetadataResponsePartition) SetLeaderEpoch(val int32)
- func (o *MetadataResponsePartition) SetLeaderId(val int32)
- func (o *MetadataResponsePartition) SetOfflineReplicas(val []int32)
- func (o *MetadataResponsePartition) SetPartitionIndex(val int32)
- func (o *MetadataResponsePartition) SetReplicaNodes(val []int32)
- func (o *MetadataResponsePartition) SetUnknownTaggedFields(val []fields.RawTaggedField)
- func (o *MetadataResponsePartition) SizeInBytes(version int16) (int, error)
- func (o *MetadataResponsePartition) String() string
- func (o *MetadataResponsePartition) UnknownTaggedFields() []fields.RawTaggedField
- func (o *MetadataResponsePartition) Write(buf *typesbytes.SliceWriter, version int16) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetadataResponsePartitionHighestSupportedFlexVersion ¶
func MetadataResponsePartitionHighestSupportedFlexVersion() int16
func MetadataResponsePartitionHighestSupportedVersion ¶
func MetadataResponsePartitionHighestSupportedVersion() int16
func MetadataResponsePartitionLowestSupportedFlexVersion ¶
func MetadataResponsePartitionLowestSupportedFlexVersion() int16
func MetadataResponsePartitionLowestSupportedVersion ¶
func MetadataResponsePartitionLowestSupportedVersion() int16
Types ¶
type MetadataResponsePartition ¶
type MetadataResponsePartition struct {
// contains filtered or unexported fields
}
func MetadataResponsePartitionDefault ¶
func MetadataResponsePartitionDefault() MetadataResponsePartition
func (*MetadataResponsePartition) Clear ¶
func (o *MetadataResponsePartition) Clear()
func (*MetadataResponsePartition) Equal ¶
func (o *MetadataResponsePartition) Equal(that *MetadataResponsePartition) bool
func (*MetadataResponsePartition) ErrorCode ¶
func (o *MetadataResponsePartition) ErrorCode() int16
func (*MetadataResponsePartition) IsNil ¶
func (o *MetadataResponsePartition) IsNil() bool
func (*MetadataResponsePartition) IsrNodes ¶
func (o *MetadataResponsePartition) IsrNodes() []int32
func (*MetadataResponsePartition) LeaderEpoch ¶
func (o *MetadataResponsePartition) LeaderEpoch() int32
func (*MetadataResponsePartition) LeaderId ¶
func (o *MetadataResponsePartition) LeaderId() int32
func (*MetadataResponsePartition) MarshalJSON ¶
func (o *MetadataResponsePartition) MarshalJSON() ([]byte, error)
func (*MetadataResponsePartition) OfflineReplicas ¶
func (o *MetadataResponsePartition) OfflineReplicas() []int32
func (*MetadataResponsePartition) PartitionIndex ¶
func (o *MetadataResponsePartition) PartitionIndex() int32
func (*MetadataResponsePartition) Read ¶
func (o *MetadataResponsePartition) Read(buf *bytes.Reader, version int16) error
func (*MetadataResponsePartition) Release ¶
func (o *MetadataResponsePartition) Release()
Release releases the dynamically allocated fields of this object by returning then to object pools
func (*MetadataResponsePartition) ReplicaNodes ¶
func (o *MetadataResponsePartition) ReplicaNodes() []int32
func (*MetadataResponsePartition) SetDefault ¶
func (o *MetadataResponsePartition) SetDefault()
func (*MetadataResponsePartition) SetErrorCode ¶
func (o *MetadataResponsePartition) SetErrorCode(val int16)
func (*MetadataResponsePartition) SetIsrNodes ¶
func (o *MetadataResponsePartition) SetIsrNodes(val []int32)
func (*MetadataResponsePartition) SetLeaderEpoch ¶
func (o *MetadataResponsePartition) SetLeaderEpoch(val int32)
func (*MetadataResponsePartition) SetLeaderId ¶
func (o *MetadataResponsePartition) SetLeaderId(val int32)
func (*MetadataResponsePartition) SetOfflineReplicas ¶
func (o *MetadataResponsePartition) SetOfflineReplicas(val []int32)
func (*MetadataResponsePartition) SetPartitionIndex ¶
func (o *MetadataResponsePartition) SetPartitionIndex(val int32)
func (*MetadataResponsePartition) SetReplicaNodes ¶
func (o *MetadataResponsePartition) SetReplicaNodes(val []int32)
func (*MetadataResponsePartition) SetUnknownTaggedFields ¶
func (o *MetadataResponsePartition) SetUnknownTaggedFields(val []fields.RawTaggedField)
func (*MetadataResponsePartition) SizeInBytes ¶
func (o *MetadataResponsePartition) SizeInBytes(version int16) (int, error)
SizeInBytes returns the size of this data structure in bytes when it's serialized
func (*MetadataResponsePartition) String ¶
func (o *MetadataResponsePartition) String() string
func (*MetadataResponsePartition) UnknownTaggedFields ¶
func (o *MetadataResponsePartition) UnknownTaggedFields() []fields.RawTaggedField
func (*MetadataResponsePartition) Write ¶
func (o *MetadataResponsePartition) Write(buf *typesbytes.SliceWriter, version int16) error
Click to show internal directories.
Click to hide internal directories.