spacelift

package
v0.0.0-...-de2f09c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseURL   string
	KeyID     string `envconfig:"SPACELIFT_KEY_ID" required:"true"`
	KeySecret string `envconfig:"SPACELIFT_KEY_SECRET" required:"true"`
	// contains filtered or unexported fields
}

Client is the Spacelift client that reads environment variables and retrieves a JWT token for the Spacelift API to be able to make queries to the spacelift API.

func NewClient

func NewClient() (*Client, error)

func (*Client) GetLatestModuleVersion

func (c *Client) GetLatestModuleVersion() (map[string]string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL