Documentation ¶
Index ¶
- func GetToken(team, key, secret string) []byte
- func Provider() terraform.ResourceProvider
- func SendDelete(BearerToken, path string, body []byte) (*resty.Response, error)
- func SendGet(bearer string, path string) (*resty.Response, error)
- func SendPost(BearerToken, path string, body []byte) (*resty.Response, error)
- func SendPut(BearerToken, path string, body []byte) (*resty.Response, error)
- type Bearer
- type Config
- type EnrollmentToken
- type Group
- type Project
- type ProjectList
- type SftGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
func SendDelete ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) Authorization ¶
returns interface that contains Bearer token.
type EnrollmentToken ¶
type ProjectList ¶
type ProjectList struct {
Projects []Project `json:"list"`
}
Click to show internal directories.
Click to hide internal directories.