metadataresponsetopic

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.

Index

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 (*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

Jump to

Keyboard shortcuts

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