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.

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 LeaderAndIsrPartitionErrorHighestSupportedFlexVersion

func LeaderAndIsrPartitionErrorHighestSupportedFlexVersion() int16

func LeaderAndIsrPartitionErrorLowestSupportedFlexVersion

func LeaderAndIsrPartitionErrorLowestSupportedFlexVersion() int16

func LeaderAndIsrPartitionStateHighestSupportedFlexVersion

func LeaderAndIsrPartitionStateHighestSupportedFlexVersion() int16

func LeaderAndIsrPartitionStateLowestSupportedFlexVersion

func LeaderAndIsrPartitionStateLowestSupportedFlexVersion() int16

Types

type LeaderAndIsrPartitionError

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

func LeaderAndIsrPartitionErrorDefault

func LeaderAndIsrPartitionErrorDefault() LeaderAndIsrPartitionError

func (*LeaderAndIsrPartitionError) Clear

func (o *LeaderAndIsrPartitionError) Clear()

func (*LeaderAndIsrPartitionError) Equal

func (*LeaderAndIsrPartitionError) ErrorCode

func (o *LeaderAndIsrPartitionError) ErrorCode() int16

func (*LeaderAndIsrPartitionError) IsNil

func (o *LeaderAndIsrPartitionError) IsNil() bool

func (*LeaderAndIsrPartitionError) MarshalJSON

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

func (*LeaderAndIsrPartitionError) PartitionIndex

func (o *LeaderAndIsrPartitionError) PartitionIndex() int32

func (*LeaderAndIsrPartitionError) Read

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

func (*LeaderAndIsrPartitionError) Release

func (o *LeaderAndIsrPartitionError) Release()

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

func (*LeaderAndIsrPartitionError) SetDefault

func (o *LeaderAndIsrPartitionError) SetDefault()

func (*LeaderAndIsrPartitionError) SetErrorCode

func (o *LeaderAndIsrPartitionError) SetErrorCode(val int16)

func (*LeaderAndIsrPartitionError) SetPartitionIndex

func (o *LeaderAndIsrPartitionError) SetPartitionIndex(val int32)

func (*LeaderAndIsrPartitionError) SetTopicName

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

func (*LeaderAndIsrPartitionError) SetUnknownTaggedFields

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

func (*LeaderAndIsrPartitionError) SizeInBytes

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

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

func (*LeaderAndIsrPartitionError) String

func (o *LeaderAndIsrPartitionError) String() string

func (*LeaderAndIsrPartitionError) TopicName

func (*LeaderAndIsrPartitionError) UnknownTaggedFields

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

func (*LeaderAndIsrPartitionError) Write

type LeaderAndIsrPartitionState

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

func LeaderAndIsrPartitionStateDefault

func LeaderAndIsrPartitionStateDefault() LeaderAndIsrPartitionState

func (*LeaderAndIsrPartitionState) AddingReplicas

func (o *LeaderAndIsrPartitionState) AddingReplicas() []int32

func (*LeaderAndIsrPartitionState) Clear

func (o *LeaderAndIsrPartitionState) Clear()

func (*LeaderAndIsrPartitionState) ControllerEpoch

func (o *LeaderAndIsrPartitionState) ControllerEpoch() int32

func (*LeaderAndIsrPartitionState) Equal

func (*LeaderAndIsrPartitionState) IsNew

func (o *LeaderAndIsrPartitionState) IsNew() bool

func (*LeaderAndIsrPartitionState) IsNil

func (o *LeaderAndIsrPartitionState) IsNil() bool

func (*LeaderAndIsrPartitionState) Isr

func (o *LeaderAndIsrPartitionState) Isr() []int32

func (*LeaderAndIsrPartitionState) Leader

func (o *LeaderAndIsrPartitionState) Leader() int32

func (*LeaderAndIsrPartitionState) LeaderEpoch

func (o *LeaderAndIsrPartitionState) LeaderEpoch() int32

func (*LeaderAndIsrPartitionState) LeaderRecoveryState

func (o *LeaderAndIsrPartitionState) LeaderRecoveryState() int8

func (*LeaderAndIsrPartitionState) MarshalJSON

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

func (*LeaderAndIsrPartitionState) PartitionEpoch

func (o *LeaderAndIsrPartitionState) PartitionEpoch() int32

func (*LeaderAndIsrPartitionState) PartitionIndex

func (o *LeaderAndIsrPartitionState) PartitionIndex() int32

func (*LeaderAndIsrPartitionState) Read

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

func (*LeaderAndIsrPartitionState) Release

func (o *LeaderAndIsrPartitionState) Release()

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

func (*LeaderAndIsrPartitionState) RemovingReplicas

func (o *LeaderAndIsrPartitionState) RemovingReplicas() []int32

func (*LeaderAndIsrPartitionState) Replicas

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

func (*LeaderAndIsrPartitionState) SetAddingReplicas

func (o *LeaderAndIsrPartitionState) SetAddingReplicas(val []int32)

func (*LeaderAndIsrPartitionState) SetControllerEpoch

func (o *LeaderAndIsrPartitionState) SetControllerEpoch(val int32)

func (*LeaderAndIsrPartitionState) SetDefault

func (o *LeaderAndIsrPartitionState) SetDefault()

func (*LeaderAndIsrPartitionState) SetIsNew

func (o *LeaderAndIsrPartitionState) SetIsNew(val bool)

func (*LeaderAndIsrPartitionState) SetIsr

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

func (*LeaderAndIsrPartitionState) SetLeader

func (o *LeaderAndIsrPartitionState) SetLeader(val int32)

func (*LeaderAndIsrPartitionState) SetLeaderEpoch

func (o *LeaderAndIsrPartitionState) SetLeaderEpoch(val int32)

func (*LeaderAndIsrPartitionState) SetLeaderRecoveryState

func (o *LeaderAndIsrPartitionState) SetLeaderRecoveryState(val int8)

func (*LeaderAndIsrPartitionState) SetPartitionEpoch

func (o *LeaderAndIsrPartitionState) SetPartitionEpoch(val int32)

func (*LeaderAndIsrPartitionState) SetPartitionIndex

func (o *LeaderAndIsrPartitionState) SetPartitionIndex(val int32)

func (*LeaderAndIsrPartitionState) SetRemovingReplicas

func (o *LeaderAndIsrPartitionState) SetRemovingReplicas(val []int32)

func (*LeaderAndIsrPartitionState) SetReplicas

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

func (*LeaderAndIsrPartitionState) SetTopicName

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

func (*LeaderAndIsrPartitionState) SetUnknownTaggedFields

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

func (*LeaderAndIsrPartitionState) SizeInBytes

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

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

func (*LeaderAndIsrPartitionState) String

func (o *LeaderAndIsrPartitionState) String() string

func (*LeaderAndIsrPartitionState) TopicName

func (*LeaderAndIsrPartitionState) UnknownTaggedFields

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

func (*LeaderAndIsrPartitionState) Write

Jump to

Keyboard shortcuts

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