Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServerURLMismatch = errors.New("the account provided is for a different server; it must match the server for this deployment")
Functions ¶
This section is empty.
Types ¶
type LocalDeploymentID ¶
type LocalDeploymentID string
func NewLocalID ¶
func NewLocalID() (LocalDeploymentID, error)
type State ¶
type State struct {
Dir util.AbsolutePath
AccountName string
ConfigName string
TargetName string
SaveName string
Account *accounts.Account
Config *config.Config
Target *deployment.Deployment
LocalID LocalDeploymentID
Secrets map[string]string
// RepoOptions carries IDE-controlled repository defaults (e.g. CRAN/PPM) for R.
RepoOptions *renv.RepoOptions
}
func New ¶
func New( path util.AbsolutePath, accountName string, configName string, targetName string, saveName string, accountList accounts.AccountList, secrets map[string]string, insecure bool, rInterpreter interpreters.RInterpreter, pythonInterpreter interpreters.PythonInterpreter, log logging.Logger, repoOpts *renv.RepoOptions, ) (*State, error)
Click to show internal directories.
Click to hide internal directories.