Documentation ¶
Index ¶
- type Config
- type Option
- func WithDisablePartialLockFile(completeLock bool) Option
- func WithHostname(hostname string) Option
- func WithPort(port int) Option
- func WithProviderArchiveDir(archiveDir string) Option
- func WithProviderCacheDir(cacheDir string) Option
- func WithToken(token string) Option
- func WithUserProviderDir(userProviderDir string) Option
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) WithOptions ¶
type Option ¶
func WithHostname ¶
func WithProviderArchiveDir ¶
func WithProviderCacheDir ¶
func WithUserProviderDir ¶
type Server ¶
type Server struct { *http.Server Provider *services.ProviderService // contains filtered or unexported fields }
Server is a private Terraform cache for provider caching.
func (*Server) Listen ¶
Listen starts listening to the given configuration address. It also automatically chooses a free port if not explicitly specified.
func (*Server) ProviderURL ¶
ProviderURL returns a full URL to the provider controller, e.g. http://localhost:5758/v1/providers
Click to show internal directories.
Click to hide internal directories.