Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultSDK ¶
func NewSDK ¶
func NewSDK(endpoint string) *DefaultSDK
type SDK ¶
type SDK interface { CreateRule(body swagger.Rule) (*swagger.Rule, *swagger.APIResponse, error) DeleteRule(id string) (*swagger.APIResponse, error) GetRule(id string) (*swagger.Rule, *swagger.APIResponse, error) ListRules(limit, offset int64) ([]swagger.Rule, *swagger.APIResponse, error) UpdateRule(id string, body swagger.Rule) (*swagger.Rule, *swagger.APIResponse, error) }
Click to show internal directories.
Click to hide internal directories.