Documentation ¶
Index ¶
Constants ¶
View Source
const ( QueryMe = "me" MeVarTemplate = `` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
web.SatConClient
}
Client is an implementation of a satcon client.
type MeResponse ¶
type MeResponse struct {
Data *MeResponseData `json:"data,omitempty"`
}
MeResponse user data
type MeResponseData ¶
MeResponseData user details
type MeVariables ¶
type MeVariables struct {
actions.GraphQLQuery
}
MeVariables to query user
func NewMeVariables ¶
func NewMeVariables() MeVariables
NewMeVariables returns required query variables
type UserService ¶
UserService is the interface used to perform all user-centric actions.
func NewClient ¶
func NewClient(endpointURL string, httpClient web.HTTPClient, authClient auth.AuthClient) (UserService, error)
NewClient returns a configured instance of ClusterService which can then be used to perform cluster queries against Satellite Config.
Click to show internal directories.
Click to hide internal directories.