models

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessKeyInfo

type AccessKeyInfo struct {
	AccessKeyId       string `json:"AccessKeyId,omitempty"`
	AccessKeySecret   string `json:"AccessKeySecret,omitempty"`
	ExpireTimestamp   string `json:"ExpireTimestamp,omitempty"`
	GenerateTimestamp string `json:"GenerateTimestamp,omitempty"`
}

type BlockingQueue

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

func NewBlockingQueue

func NewBlockingQueue(capacity uint64) *BlockingQueue

func (*BlockingQueue) Capacity

func (q *BlockingQueue) Capacity() uint64

func (*BlockingQueue) Clear

func (q *BlockingQueue) Clear()

func (*BlockingQueue) IsEmpty

func (q *BlockingQueue) IsEmpty() bool

func (*BlockingQueue) Offer

func (q *BlockingQueue) Offer(value interface{}) bool

func (*BlockingQueue) Peek

func (q *BlockingQueue) Peek() interface{}

func (*BlockingQueue) Pop

func (q *BlockingQueue) Pop() interface{}

func (*BlockingQueue) Push

func (q *BlockingQueue) Push(value interface{})

func (*BlockingQueue) Size

func (q *BlockingQueue) Size() uint64

type Collection

type Collection interface {
	Size() uint64
	Capacity() uint64
	IsEmpty() bool
	Clear()

	Push(item interface{})
	Pop() interface{}
	Offer(item interface{}) bool

	Peek() interface{}
}

type ExtendedConfig

type ExtendedConfig struct {
	SecretSubType string
}

type MonitorMessageInfo

type MonitorMessageInfo struct {
	Action       string
	SecretName   string
	AccessKeyId  string
	ErrorMessage string
	Alarm        bool
	Timestamp    time.Time
}

func NewMonitorMessageInfo

func NewMonitorMessageInfo(action, secretName, accessKeyId, errorMessage string, alarm bool) *MonitorMessageInfo

type SecretValue

type SecretValue struct {
	ScheduleRotateTimestamp int64
	RefreshInterval         string
}

Jump to

Keyboard shortcuts

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