Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HR string = "----------------"
Functions ¶
func Execute ¶
func Execute(cliExec CLIExecution) (err error)
Types ¶
type AuthTokenStorage ¶
type AuthTokenStorage struct {
Path string
}
func NewAuthTokenStorage ¶
func NewAuthTokenStorage() (ts *AuthTokenStorage, err error)
func (*AuthTokenStorage) CreateDirectoryIfMissing ¶
func (ats *AuthTokenStorage) CreateDirectoryIfMissing() (err error)
func (*AuthTokenStorage) GenerateIntegrationAuthToken ¶
func (ats *AuthTokenStorage) GenerateIntegrationAuthToken() (err error)
func (*AuthTokenStorage) OverwriteIntegrationAuthKey ¶
func (ats *AuthTokenStorage) OverwriteIntegrationAuthKey(token string) (err error)
func (*AuthTokenStorage) ReadToken ¶
func (ats *AuthTokenStorage) ReadToken() (token string, err error)
type CLIExecution ¶
type SchemaExample ¶
type V1File ¶
type V1File struct { Schema string `json:"$schema"` Links []V1FileLink `json:"links"` Definitions *json.RawMessage `json:"definitions"` }
Outgoing request
- Links
- HREF/Method/Schema of outgoing data
- TargetSchema response format (pull payload from ex file)
type V1FileLink ¶
type V1FileLink struct { Description string `json:"description"` Href string `json:"href"` Method string `json:"method"` Rel string `json:"rel"` RequestSchema *json.RawMessage `json:"schema"` ResponseSchema *json.RawMessage `json:"targetSchema"` Title string `json:"title"` }
Click to show internal directories.
Click to hide internal directories.