describeacls

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLFilter

type ACLFilter struct {
	ResourceTypeFilter        int8   `kafka:"min=v0,max=v3"`
	ResourceNameFilter        string `kafka:"min=v0,max=v1,nullable|min=v2,max=v3,nullable,compact"`
	ResourcePatternTypeFilter int8   `kafka:"min=v1,max=v3"`
	PrincipalFilter           string `kafka:"min=v0,max=v1,nullable|min=v2,max=v3,nullable,compact"`
	HostFilter                string `kafka:"min=v0,max=v1,nullable|min=v2,max=v3,nullable,compact"`
	Operation                 int8   `kafka:"min=v0,max=v3"`
	PermissionType            int8   `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

type Request

type Request struct {
	Filter ACLFilter `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

func (*Request) ApiKey

func (r *Request) ApiKey() protocol.ApiKey

func (*Request) Broker

func (r *Request) Broker(cluster protocol.Cluster) (protocol.Broker, error)

type Resource

type Resource struct {
	ResourceType int8          `kafka:"min=v0,max=v3"`
	ResourceName string        `kafka:"min=v0,max=v1|min=v2,max=v3,compact"`
	PatternType  int8          `kafka:"min=v1,max=v3"`
	ACLs         []ResponseACL `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

type Response

type Response struct {
	ThrottleTimeMs int32      `kafka:"min=v0,max=v3"`
	ErrorCode      int16      `kafka:"min=v0,max=v3"`
	ErrorMessage   string     `kafka:"min=v0,max=v1,nullable|min=v2,max=v3,nullable,compact"`
	Resources      []Resource `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

func (*Response) ApiKey

func (r *Response) ApiKey() protocol.ApiKey

type ResponseACL

type ResponseACL struct {
	Principal      string `kafka:"min=v0,max=v1|min=v2,max=v3,compact"`
	Host           string `kafka:"min=v0,max=v1|min=v2,max=v3,compact"`
	Operation      int8   `kafka:"min=v0,max=v3"`
	PermissionType int8   `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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