Documentation
¶
Index ¶
Constants ¶
View Source
const ( MethodView = "VIEW" MethodGet = http.MethodGet MethodPost = http.MethodPost MethodPut = http.MethodPut MethodPatch = http.MethodPatch MethodDelete = http.MethodDelete ActionCreate = "create" ActionDelete = "delete" ActionDeleteCollection = "deletecollection" ActionGet = "get" ActionList = "list" ActionPatch = "patch" ActionUpdate = "update" ActionWatch = "watch" )
View Source
const UpdateKey = "opa_bundle"
Variables ¶
View Source
var AllActions = []string{ActionCreate, ActionDelete, ActionDeleteCollection, ActionGet, ActionList, ActionPatch, ActionUpdate, ActionWatch}
View Source
var AllMethods = []string{MethodGet, MethodPost, MethodPut, MethodPatch, MethodDelete}
Functions ¶
func GenerateOPABundle ¶
func GenerateOPABundle() error
func GetRevision ¶
func GetRevision() string
func NewBundleController ¶
func NewBundleController() *controller
func RefreshOPABundle ¶
func RefreshOPABundle()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.