Documentation ¶
Index ¶
- Constants
- type Resource
- func (resource *Resource) Apply(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
- func (resource *Resource) Compare(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
- func (resource *Resource) Delete(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
- func (resource *Resource) Get(request contracts.RequestOperator) contracts.ResponseOperator
- func (resource *Resource) GetShared() interface{}
- func (resource *Resource) List(request contracts.RequestOperator) contracts.ResponseOperator
- func (resource *Resource) ListSupported(args ...interface{}) contracts.ResponseOperator
- func (resource *Resource) Remove(request contracts.RequestOperator) contracts.ResponseOperator
- func (resource *Resource) Run(operation string, args ...interface{}) contracts.ResponseOperator
- func (resource *Resource) Start() error
- type Shared
Constants ¶
View Source
const KIND string = "resource"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { Started bool Definition v1.ResourceDefinition }
func (*Resource) Apply ¶ added in v0.0.52
func (resource *Resource) Apply(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
func (*Resource) Compare ¶ added in v0.0.52
func (resource *Resource) Compare(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
func (*Resource) Delete ¶
func (resource *Resource) Delete(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
func (*Resource) Get ¶
func (resource *Resource) Get(request contracts.RequestOperator) contracts.ResponseOperator
func (*Resource) List ¶
func (resource *Resource) List(request contracts.RequestOperator) contracts.ResponseOperator
func (*Resource) ListSupported ¶
func (resource *Resource) ListSupported(args ...interface{}) contracts.ResponseOperator
func (*Resource) Remove ¶ added in v0.0.52
func (resource *Resource) Remove(request contracts.RequestOperator) contracts.ResponseOperator
Click to show internal directories.
Click to hide internal directories.