topicdata

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 PartitionDataHighestSupportedFlexVersion

func PartitionDataHighestSupportedFlexVersion() int16

func PartitionDataHighestSupportedVersion

func PartitionDataHighestSupportedVersion() int16

func PartitionDataLowestSupportedFlexVersion

func PartitionDataLowestSupportedFlexVersion() int16

func PartitionDataLowestSupportedVersion

func PartitionDataLowestSupportedVersion() int16

Types

type PartitionData

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

func PartitionDataDefault

func PartitionDataDefault() PartitionData

func (*PartitionData) Clear

func (o *PartitionData) Clear()

func (*PartitionData) Equal

func (o *PartitionData) Equal(that *PartitionData) bool

func (*PartitionData) IsNil

func (o *PartitionData) IsNil() bool

func (*PartitionData) LeaderEpoch

func (o *PartitionData) LeaderEpoch() int32

func (*PartitionData) LeaderRecoveryState

func (o *PartitionData) LeaderRecoveryState() int8

func (*PartitionData) MarshalJSON

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

func (*PartitionData) NewIsr

func (o *PartitionData) NewIsr() []int32

func (*PartitionData) PartitionEpoch

func (o *PartitionData) PartitionEpoch() int32

func (*PartitionData) PartitionIndex

func (o *PartitionData) PartitionIndex() int32

func (*PartitionData) Read

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

func (*PartitionData) Release

func (o *PartitionData) Release()

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

func (*PartitionData) SetDefault

func (o *PartitionData) SetDefault()

func (*PartitionData) SetLeaderEpoch

func (o *PartitionData) SetLeaderEpoch(val int32)

func (*PartitionData) SetLeaderRecoveryState

func (o *PartitionData) SetLeaderRecoveryState(val int8)

func (*PartitionData) SetNewIsr

func (o *PartitionData) SetNewIsr(val []int32)

func (*PartitionData) SetPartitionEpoch

func (o *PartitionData) SetPartitionEpoch(val int32)

func (*PartitionData) SetPartitionIndex

func (o *PartitionData) SetPartitionIndex(val int32)

func (*PartitionData) SetUnknownTaggedFields

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

func (*PartitionData) SizeInBytes

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

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

func (*PartitionData) String

func (o *PartitionData) String() string

func (*PartitionData) UnknownTaggedFields

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

func (*PartitionData) Write

func (o *PartitionData) Write(buf *typesbytes.SliceWriter, version int16) error

Jump to

Keyboard shortcuts

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