createacls

package
v0.4.31 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 1 Imported by: 10

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=v2"`
	// 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=v2"`
	ResourceName        string `kafka:"min=v0,max=v2"`
	ResourcePatternType int8   `kafka:"min=v0,max=v2"`
	Principal           string `kafka:"min=v0,max=v2"`
	Host                string `kafka:"min=v0,max=v2"`
	Operation           int8   `kafka:"min=v0,max=v2"`
	PermissionType      int8   `kafka:"min=v0,max=v2"`
}

type Response

type Response struct {
	ThrottleTimeMs int32          `kafka:"min=v0,max=v2"`
	Results        []ResponseACLs `kafka:"min=v0,max=v2"`
	// 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=v2"`
	ErrorMessage string `kafka:"min=v0,max=v2,nullable"`
}

Jump to

Keyboard shortcuts

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