project_integration

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL