Documentation ¶
Index ¶
- type Suite
- func (suite *Suite) BaseURL(baseURL string)
- func (suite *Suite) Convert(from interface{}, to interface{})
- func (suite *Suite) Delete(path string) *http.Response
- func (suite *Suite) Do(req *http.Request) *http.Response
- func (suite *Suite) ForEachMap(i interface{}, f func(map[string]interface{}))
- func (suite *Suite) Get(path string) *http.Response
- func (suite *Suite) GetBool(name string, mapData map[string]interface{}) bool
- func (suite *Suite) GetFloat64(name string, mapData map[string]interface{}) float64
- func (suite *Suite) GetInt(name string, mapData map[string]interface{}) int
- func (suite *Suite) GetInt64(name string, mapData map[string]interface{}) int64
- func (suite *Suite) GetMap(name string, mapData map[string]interface{}) map[string]interface{}
- func (suite *Suite) GetOk(path string) *http.Response
- func (suite *Suite) GetSlice(name string, mapData map[string]interface{}) []interface{}
- func (suite *Suite) GetSliceOfString(name string, mapData map[string]interface{}) []string
- func (suite *Suite) GetString(name string, mapData map[string]interface{}) string
- func (suite *Suite) IsMap(i interface{}) map[string]interface{}
- func (suite *Suite) IsSchema(resource map[string]interface{}) schema.Schema
- func (suite *Suite) IsSlice(i interface{}) []interface{}
- func (suite *Suite) IsString(i interface{}) string
- func (suite *Suite) IsValidAttributeName(name string) bool
- func (suite *Suite) Middleware(callback func(req *http.Request) *http.Request)
- func (suite *Suite) Patch(path string, body io.Reader) *http.Response
- func (suite *Suite) Post(path string, body io.Reader) *http.Response
- func (suite *Suite) Put(path string, body io.Reader) *http.Response
- func (suite *Suite) ReadAll(resp *http.Response) []byte
- func (suite *Suite) ReadAllToListResponse(resp *http.Response) schema.ListResponse
- func (suite *Suite) ReadAllToMap(resp *http.Response) map[string]interface{}
- func (suite *Suite) ReadAllToSPConfig(resp *http.Response) schema.ServiceProviderConfig
- func (suite *Suite) SPConfig() schema.ServiceProviderConfig
- func (suite *Suite) SetupSuite()
- func (suite *Suite) StatusBadRequest(status int)
- func (suite *Suite) StatusConflict(status int)
- func (suite *Suite) StatusCreated(status int)
- func (suite *Suite) StatusForbidden(status int)
- func (suite *Suite) StatusNoContent(status int)
- func (suite *Suite) StatusNotFound(status int)
- func (suite *Suite) StatusNotImplemented(status int)
- func (suite *Suite) StatusOK(status int)
- func (suite *Suite) Unmarshal(raw []byte, i interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Suite ¶
func (*Suite) ForEachMap ¶
func (*Suite) GetFloat64 ¶
func (*Suite) GetSliceOfString ¶
func (*Suite) IsValidAttributeName ¶
func (*Suite) Middleware ¶
func (*Suite) ReadAllToListResponse ¶
func (suite *Suite) ReadAllToListResponse(resp *http.Response) schema.ListResponse
func (*Suite) ReadAllToMap ¶
func (*Suite) ReadAllToSPConfig ¶
func (suite *Suite) ReadAllToSPConfig(resp *http.Response) schema.ServiceProviderConfig
func (*Suite) SPConfig ¶
func (suite *Suite) SPConfig() schema.ServiceProviderConfig
func (*Suite) SetupSuite ¶
func (suite *Suite) SetupSuite()
func (*Suite) StatusBadRequest ¶
func (*Suite) StatusConflict ¶
func (*Suite) StatusCreated ¶
func (*Suite) StatusForbidden ¶
func (*Suite) StatusNoContent ¶
func (*Suite) StatusNotFound ¶
func (*Suite) StatusNotImplemented ¶
Click to show internal directories.
Click to hide internal directories.