createacls

package
v0.4.44 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 1 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Creations []RequestACLs `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 RequestACLs

type RequestACLs struct {
	ResourceType        int8   `kafka:"min=v0,max=v3"`
	ResourceName        string `kafka:"min=v0,max=v1|min=v2,max=v3,compact"`
	ResourcePatternType int8   `kafka:"min=v1,max=v3"`
	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
}

type Response

type Response struct {
	ThrottleTimeMs int32          `kafka:"min=v0,max=v3"`
	Results        []ResponseACLs `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

func (*Response) ApiKey

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

type ResponseACLs

type ResponseACLs struct {
	ErrorCode    int16  `kafka:"min=v0,max=v3"`
	ErrorMessage string `kafka:"min=v0,max=v1,nullable|min=v2,max=v3,nullable,compact"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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