acl

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 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(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

Types

type AclEntry

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

type AclOperation

type AclOperation struct {
}

func (*AclOperation) CreateAcl

func (operation *AclOperation) CreateAcl(flags CreateAclFlags) error

func (*AclOperation) DeleteAcl

func (operation *AclOperation) DeleteAcl(flags DeleteAclFlags) error

func (*AclOperation) GetAcl

func (operation *AclOperation) GetAcl(flags GetAclFlags) error

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 GetAclFlags

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

type ResourceAclEntry

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

Jump to

Keyboard shortcuts

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