Documentation ¶
Index ¶
- func Call(fn Handler, req Request) *resty.Response
- func DoBackup(ac *conf.AppConfig)
- func ProcessGetProcessGroupFlow(respBody []byte) []byte
- func ProcessSnippetResponse(respBody []byte) string
- func ProcessTemplateRequest(tmplBody map[string]interface{}) []byte
- func ProcessTemplateResponse(respBody []byte) string
- type CredentialsInfo
- type Handler
- type Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessGetProcessGroupFlow ¶
ProcessGetProcessGroupFlow takes the response body from flow/ProcessGroup and returns a JSON payload to create a snippet
func ProcessSnippetResponse ¶
ProcessSnippetResponse takes the response body from snippets post and returns snippetId.
func ProcessTemplateRequest ¶
ProcessTemplateRequest builds a request body for a templates post
func ProcessTemplateResponse ¶
ProcessTemplateResponse takes the response body from template create post and returns templateId.
Types ¶
type CredentialsInfo ¶
type CredentialsInfo struct {
// contains filtered or unexported fields
}
CredentialsInfo holds the authentication credentials for Nifi.
Click to show internal directories.
Click to hide internal directories.