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) CandidateEpoch

func (o *PartitionData) CandidateEpoch() int32

func (*PartitionData) CandidateId

func (o *PartitionData) CandidateId() int32

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) LastOffset

func (o *PartitionData) LastOffset() int64

func (*PartitionData) LastOffsetEpoch

func (o *PartitionData) LastOffsetEpoch() int32

func (*PartitionData) MarshalJSON

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

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) SetCandidateEpoch

func (o *PartitionData) SetCandidateEpoch(val int32)

func (*PartitionData) SetCandidateId

func (o *PartitionData) SetCandidateId(val int32)

func (*PartitionData) SetDefault

func (o *PartitionData) SetDefault()

func (*PartitionData) SetLastOffset

func (o *PartitionData) SetLastOffset(val int64)

func (*PartitionData) SetLastOffsetEpoch

func (o *PartitionData) SetLastOffsetEpoch(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