Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Provider creates a new Concourse terraform provider instance.
Types ¶
type Config ¶
type Config interface { Concourse() concourse.Client Version() string WorkerVersion() string UserInfo() *skyserver.UserInfo }
Config provides access to all the stuff that is necessary to properly operate upon the Concourse ATC.
func NewConfig ¶
NewConfig creates a new configuration structure to be used provider-internally During initialization of the config structure, we will send 2 requests to the Concourse CI instance. First of all, we figure out the version of the ATC system and secondly, we fetch the user information from the sky marshal user-info endpoint.
Click to show internal directories.
Click to hide internal directories.