cache

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanAction

type CleanAction struct {
	actionutils.ParentAction
}

func (*CleanAction) Init

func (this *CleanAction) Init()

func (*CleanAction) RunGet

func (this *CleanAction) RunGet(params struct {
	CachePolicyId int64
})

func (*CleanAction) RunPost

func (this *CleanAction) RunPost(params struct {
	CachePolicyId int64
	ClusterId     int64

	Must *actions.Must
})

type CountAction

type CountAction struct {
	actionutils.ParentAction
}

计算可用缓存策略数量

func (*CountAction) RunPost

func (this *CountAction) RunPost(params struct{})

type CreatePopupAction

type CreatePopupAction struct {
	actionutils.ParentAction
}

func (*CreatePopupAction) Init

func (this *CreatePopupAction) Init()

func (*CreatePopupAction) RunGet

func (this *CreatePopupAction) RunGet(params struct{})

func (*CreatePopupAction) RunPost

func (this *CreatePopupAction) RunPost(params struct {
	Name string
	Type string

	// file
	FileDir                string
	FileMemoryCapacityJSON []byte

	CapacityJSON []byte
	MaxSizeJSON  []byte
	MaxKeys      int64

	Description string
	IsOn        bool

	Must *actions.Must
})

type DeleteAction

type DeleteAction struct {
	actionutils.ParentAction
}

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	CachePolicyId int64
})

type Helper

type Helper struct {
}

func NewHelper

func NewHelper() *Helper

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(actionPtr actions.ActionWrapper)

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	Keyword string
})

type PolicyAction

type PolicyAction struct {
	actionutils.ParentAction
}

func (*PolicyAction) Init

func (this *PolicyAction) Init()

func (*PolicyAction) RunGet

func (this *PolicyAction) RunGet(params struct {
	CachePolicyId int64
})

type PreheatAction

type PreheatAction struct {
	actionutils.ParentAction
}

func (*PreheatAction) Init

func (this *PreheatAction) Init()

func (*PreheatAction) RunGet

func (this *PreheatAction) RunGet(params struct {
	CachePolicyId int64
})

func (*PreheatAction) RunPost

func (this *PreheatAction) RunPost(params struct {
	CachePolicyId int64
	ClusterId     int64
	Keys          string

	Must *actions.Must
})

type PurgeAction

type PurgeAction struct {
	actionutils.ParentAction
}

func (*PurgeAction) Init

func (this *PurgeAction) Init()

func (*PurgeAction) RunGet

func (this *PurgeAction) RunGet(params struct {
	CachePolicyId int64
})

func (*PurgeAction) RunPost

func (this *PurgeAction) RunPost(params struct {
	CachePolicyId int64
	ClusterId     int64
	Type          string
	Keys          string
	Must          *actions.Must
})

type SelectPopupAction

type SelectPopupAction struct {
	actionutils.ParentAction
}

func (*SelectPopupAction) Init

func (this *SelectPopupAction) Init()

func (*SelectPopupAction) RunGet

func (this *SelectPopupAction) RunGet(params struct{})

type StatAction

type StatAction struct {
	actionutils.ParentAction
}

func (*StatAction) Init

func (this *StatAction) Init()

func (*StatAction) RunGet

func (this *StatAction) RunGet(params struct {
	CachePolicyId int64
})

func (*StatAction) RunPost

func (this *StatAction) RunPost(params struct {
	CachePolicyId int64
	ClusterId     int64

	Must *actions.Must
})

type TestAction

type TestAction struct {
	actionutils.ParentAction
}

func (*TestAction) Init

func (this *TestAction) Init()

func (*TestAction) RunGet

func (this *TestAction) RunGet(params struct {
	CachePolicyId int64
})

type TestReadAction

type TestReadAction struct {
	actionutils.ParentAction
}

func (*TestReadAction) RunPost

func (this *TestReadAction) RunPost(params struct {
	ClusterId     int64
	CachePolicyId int64
	Key           string
})

type TestWriteAction

type TestWriteAction struct {
	actionutils.ParentAction
}

func (*TestWriteAction) RunPost

func (this *TestWriteAction) RunPost(params struct {
	ClusterId     int64
	CachePolicyId int64
	Key           string
	Value         string
})

type UpdateAction

type UpdateAction struct {
	actionutils.ParentAction
}

func (*UpdateAction) Init

func (this *UpdateAction) Init()

func (*UpdateAction) RunGet

func (this *UpdateAction) RunGet(params struct {
	CachePolicyId int64
})

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	CachePolicyId int64

	Name string
	Type string

	// file
	FileDir                string
	FileMemoryCapacityJSON []byte

	CapacityJSON []byte
	MaxSizeJSON  []byte
	MaxKeys      int64

	Description string
	IsOn        bool

	RefsJSON []byte

	Must *actions.Must
})

type UpdateRefsAction added in v0.3.0

type UpdateRefsAction struct {
	actionutils.ParentAction
}

func (*UpdateRefsAction) Init added in v0.3.0

func (this *UpdateRefsAction) Init()

func (*UpdateRefsAction) RunPost added in v0.3.0

func (this *UpdateRefsAction) RunPost(params struct {
	CachePolicyId int64
	RefsJSON      []byte
})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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