types

package
v0.0.0-...-1a307e6 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT-0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PermissionRead       Permission     = "READ"
	PermissionWrite      Permission     = "WRITE"
	DeletionPolicyDelete DeletionPolicy = "DELETE"
	DeletionPolicyRetain DeletionPolicy = "RETAIN"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DeletionPolicy

type DeletionPolicy string

type Permission

type Permission string

type TopicInfo

type TopicInfo struct {
	Name              string
	Partitions        int `json:",string"`
	ReplicationFactor int `json:",string"`
	ClusterArn        string
	Config            map[string]*string
	Users             []User
	DeletionPolicy    DeletionPolicy
}

func NewTopicInfo

func NewTopicInfo(props map[string]interface{}) (*TopicInfo, error)

type User

type User struct {
	Username    string
	Arn         string
	Permissions []Permission
}

Jump to

Keyboard shortcuts

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