acl

package
v5.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteCreateACL

func CompleteCreateACL(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)

Types

type CreateACLFlags

type CreateACLFlags struct {
	Principal    string
	Hosts        []string
	Operations   []string
	Allow        bool
	Deny         bool
	Topic        string
	Group        string
	Cluster      bool
	PatternType  string
	ValidateOnly bool
}

type DeleteACLFlags

type DeleteACLFlags struct {
	ValidateOnly bool
	Topics       bool
	Groups       bool
	Cluster      bool
	Allow        bool
	Deny         bool
	Operation    string
	PatternType  string
}

type Entry

type Entry struct {
	Principal      string
	Host           string
	Operation      string
	PermissionType string `json:"permissionType" yaml:"permissionType"`
}

type GetACLFlags

type GetACLFlags struct {
	OutputFormat string
	FilterTopic  string
	Operation    string
	PatternType  string
	Allow        bool
	Deny         bool
	Topics       bool
	Groups       bool
	Cluster      bool
}

type Operation

type Operation struct {
}

func (*Operation) CreateACL

func (operation *Operation) CreateACL(flags CreateACLFlags) error

func (*Operation) DeleteACL

func (operation *Operation) DeleteACL(flags DeleteACLFlags) error

func (*Operation) GetACL

func (operation *Operation) GetACL(flags GetACLFlags) error

type ResourceACLEntry

type ResourceACLEntry struct {
	ResourceType string  `json:"resourceType" yaml:"resourceType"`
	ResourceName string  `json:"resourceName" yaml:"resourceName"`
	PatternType  string  `json:"patternType" yaml:"patternType"`
	Acls         []Entry `json:"acls" yaml:"acls"`
}

Jump to

Keyboard shortcuts

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