Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialsController ¶
type CredentialsController struct {
Config config.Config
Persistence ports.Persistence
SCM scm.Client
IAM *iam.Service
}
CredentialsController handles credential requests from iac-cli This is the Atlantis-style controller (handler as struct method)
func NewCredentialsController ¶
func NewCredentialsController( cfg config.Config, repoStorage ports.Persistence, scmClient scm.Client, iamSvc *iam.Service, ) *CredentialsController
NewCredentialsController creates a new credentials controller
func (*CredentialsController) Handle ¶
func (c *CredentialsController) Handle(w http.ResponseWriter, r *http.Request)
Handle processes credential requests
Click to show internal directories.
Click to hide internal directories.