common

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 UpdateMetadataPartitionStateHighestSupportedFlexVersion

func UpdateMetadataPartitionStateHighestSupportedFlexVersion() int16

func UpdateMetadataPartitionStateLowestSupportedFlexVersion

func UpdateMetadataPartitionStateLowestSupportedFlexVersion() int16

Types

type UpdateMetadataPartitionState

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

func UpdateMetadataPartitionStateDefault

func UpdateMetadataPartitionStateDefault() UpdateMetadataPartitionState

func (*UpdateMetadataPartitionState) Clear

func (o *UpdateMetadataPartitionState) Clear()

func (*UpdateMetadataPartitionState) ControllerEpoch

func (o *UpdateMetadataPartitionState) ControllerEpoch() int32

func (*UpdateMetadataPartitionState) Equal

func (*UpdateMetadataPartitionState) IsNil

func (*UpdateMetadataPartitionState) Isr

func (*UpdateMetadataPartitionState) Leader

func (o *UpdateMetadataPartitionState) Leader() int32

func (*UpdateMetadataPartitionState) LeaderEpoch

func (o *UpdateMetadataPartitionState) LeaderEpoch() int32

func (*UpdateMetadataPartitionState) MarshalJSON

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

func (*UpdateMetadataPartitionState) OfflineReplicas

func (o *UpdateMetadataPartitionState) OfflineReplicas() []int32

func (*UpdateMetadataPartitionState) PartitionIndex

func (o *UpdateMetadataPartitionState) PartitionIndex() int32

func (*UpdateMetadataPartitionState) Read

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

func (*UpdateMetadataPartitionState) Release

func (o *UpdateMetadataPartitionState) Release()

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

func (*UpdateMetadataPartitionState) Replicas

func (o *UpdateMetadataPartitionState) Replicas() []int32

func (*UpdateMetadataPartitionState) SetControllerEpoch

func (o *UpdateMetadataPartitionState) SetControllerEpoch(val int32)

func (*UpdateMetadataPartitionState) SetDefault

func (o *UpdateMetadataPartitionState) SetDefault()

func (*UpdateMetadataPartitionState) SetIsr

func (o *UpdateMetadataPartitionState) SetIsr(val []int32)

func (*UpdateMetadataPartitionState) SetLeader

func (o *UpdateMetadataPartitionState) SetLeader(val int32)

func (*UpdateMetadataPartitionState) SetLeaderEpoch

func (o *UpdateMetadataPartitionState) SetLeaderEpoch(val int32)

func (*UpdateMetadataPartitionState) SetOfflineReplicas

func (o *UpdateMetadataPartitionState) SetOfflineReplicas(val []int32)

func (*UpdateMetadataPartitionState) SetPartitionIndex

func (o *UpdateMetadataPartitionState) SetPartitionIndex(val int32)

func (*UpdateMetadataPartitionState) SetReplicas

func (o *UpdateMetadataPartitionState) SetReplicas(val []int32)

func (*UpdateMetadataPartitionState) SetTopicName

func (o *UpdateMetadataPartitionState) SetTopicName(val fields.NullableString)

func (*UpdateMetadataPartitionState) SetUnknownTaggedFields

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

func (*UpdateMetadataPartitionState) SetZkVersion

func (o *UpdateMetadataPartitionState) SetZkVersion(val int32)

func (*UpdateMetadataPartitionState) SizeInBytes

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

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

func (*UpdateMetadataPartitionState) String

func (*UpdateMetadataPartitionState) TopicName

func (*UpdateMetadataPartitionState) UnknownTaggedFields

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

func (*UpdateMetadataPartitionState) Write

func (*UpdateMetadataPartitionState) ZkVersion

func (o *UpdateMetadataPartitionState) ZkVersion() int32

Jump to

Keyboard shortcuts

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