Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromSpaceliftError ¶ added in v0.0.3
FromSpaceliftError wraps the error with a helpful message when encountering a Spacelift error. In this case an unauthorized error.
Types ¶
type Client ¶
type Client struct { Endpoint string Token string Version string Commit string // contains filtered or unexported fields }
Client represents a Spacelift client - in practice a thin wrapper over its (administrative) GraphQL API.
func NewClient ¶ added in v0.1.3
NewClient returns a new Spacelift client for the specified endpoint, token and limiter. If limiter is nil, no rate limit is imposed.
Click to show internal directories.
Click to hide internal directories.