Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHTTPClient ¶ added in v1.14.0
Types ¶
type Client ¶
type Client interface {
// Query executes a single GraphQL query request.
Query(context.Context, interface{}, map[string]interface{}, ...graphql.RequestOption) error
// Mutate executes a single GraphQL mutation request.
Mutate(context.Context, interface{}, map[string]interface{}, ...graphql.RequestOption) error
// URL returns a full URL given a formatted path.
URL(string, ...interface{}) string
// Do executes an authenticated http request to the Spacelift API
Do(r *http.Request) (*http.Response, error)
}
Client abstracts away Spacelift's client API.
Click to show internal directories.
Click to hide internal directories.