Documentation ¶
Index ¶
- Constants
- func CreateForEnvironment[V models.AllTheThings](c *Client, environmentId string, obj V, segments ...string) (*V, error)
- func DeleteForEnvironment(c *Client, environmentId string, segments ...string) error
- func Get[T models.AllTheThings](c *Client, segments ...string) (*T, error)
- func GetAll[V models.AllTheThings](c *Client, params map[string]string, segments ...string) (*models.GenericResponse[V], error)
- func GetAllFromEnvironment[V models.AllTheThings](c *Client, environmentId string, params map[string]string, segments ...string) (*models.GenericResponse[V], error)
- func GetFromEnvironment[V models.AllTheThings](c *Client, environmentId string, segments ...string) (*V, error)
- func GetStringFromEnvironment(c *Client, environmentId string, acceptHeader string, segments ...string) (*string, error)
- func PutForEnvironment[V models.AllTheThings](c *Client, environmentId string, obj V, segments ...string) (*V, error)
- type Client
Constants ¶
View Source
const ApiURL string = "https://api.pingone.com/v1"
View Source
const EnvironmentPath string = "environments"
View Source
const TokenURL string = "https://auth.lumeris.io/as/token"
Variables ¶
This section is empty.
Functions ¶
func CreateForEnvironment ¶
func DeleteForEnvironment ¶
func GetAll ¶
func GetAll[V models.AllTheThings](c *Client, params map[string]string, segments ...string) (*models.GenericResponse[V], error)
func GetAllFromEnvironment ¶
func GetAllFromEnvironment[V models.AllTheThings](c *Client, environmentId string, params map[string]string, segments ...string) (*models.GenericResponse[V], error)
func GetFromEnvironment ¶
func GetStringFromEnvironment ¶
func GetStringFromEnvironment(c *Client, environmentId string, acceptHeader string, segments ...string) (*string, error)
GetStringFromEnvironment return non-json content as a text string.
func PutForEnvironment ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.