create

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLCreator

type ACLCreator struct {
	// contains filtered or unexported fields
}

func NewACLCreator

func NewACLCreator(
	ctx context.Context,
	adminClient admin.Client,
	creatorConfig ACLCreatorConfig,
) (*ACLCreator, error)

func (*ACLCreator) Create

func (a *ACLCreator) Create(ctx context.Context) error

type ACLCreatorConfig

type ACLCreatorConfig struct {
	ClusterConfig config.ClusterConfig
	DryRun        bool
	SkipConfirm   bool
	ACLConfig     config.ACLConfig
}

ACLCreatorConfig contains the configuration for an ACL creator.

Jump to

Keyboard shortcuts

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