Documentation ¶
Index ¶
- func CreateAWSIntegration(request *types.CreateAWSRequest, projectID, userID uint) *ints.AWSIntegration
- func CreateBasicIntegration(username, password string, projectID, userID uint) *ints.BasicIntegration
- func CreateGCPIntegration(request *types.CreateGCPRequest, projectID, userID uint) *ints.GCPIntegration
- type CreateAWSHandler
- type CreateBasicHandler
- type CreateGCPHandler
- type ListOAuthHandler
- type OverwriteAWSHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAWSIntegration ¶
func CreateAWSIntegration(request *types.CreateAWSRequest, projectID, userID uint) *ints.AWSIntegration
func CreateBasicIntegration ¶
func CreateBasicIntegration(username, password string, projectID, userID uint) *ints.BasicIntegration
func CreateGCPIntegration ¶
func CreateGCPIntegration(request *types.CreateGCPRequest, projectID, userID uint) *ints.GCPIntegration
Types ¶
type CreateAWSHandler ¶
type CreateAWSHandler struct {
handlers.PorterHandlerReadWriter
}
func NewCreateAWSHandler ¶
func NewCreateAWSHandler( config *config.Config, decoderValidator shared.RequestDecoderValidator, writer shared.ResultWriter, ) *CreateAWSHandler
func (*CreateAWSHandler) ServeHTTP ¶
func (p *CreateAWSHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type CreateBasicHandler ¶
type CreateBasicHandler struct {
handlers.PorterHandlerReadWriter
}
func NewCreateBasicHandler ¶
func NewCreateBasicHandler( config *config.Config, decoderValidator shared.RequestDecoderValidator, writer shared.ResultWriter, ) *CreateBasicHandler
func (*CreateBasicHandler) ServeHTTP ¶
func (p *CreateBasicHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type CreateGCPHandler ¶
type CreateGCPHandler struct {
handlers.PorterHandlerReadWriter
}
func NewCreateGCPHandler ¶
func NewCreateGCPHandler( config *config.Config, decoderValidator shared.RequestDecoderValidator, writer shared.ResultWriter, ) *CreateGCPHandler
func (*CreateGCPHandler) ServeHTTP ¶
func (p *CreateGCPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ListOAuthHandler ¶
type ListOAuthHandler struct {
handlers.PorterHandlerWriter
}
func NewListOAuthHandler ¶
func NewListOAuthHandler( config *config.Config, writer shared.ResultWriter, ) *ListOAuthHandler
func (*ListOAuthHandler) ServeHTTP ¶
func (p *ListOAuthHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type OverwriteAWSHandler ¶
type OverwriteAWSHandler struct {
handlers.PorterHandlerReadWriter
}
func NewOverwriteAWSHandler ¶
func NewOverwriteAWSHandler( config *config.Config, decoderValidator shared.RequestDecoderValidator, writer shared.ResultWriter, ) *OverwriteAWSHandler
func (*OverwriteAWSHandler) ServeHTTP ¶
func (p *OverwriteAWSHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.