githubmock

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListPullRequestFiles

func ListPullRequestFiles() http.HandlerFunc

func ListPullRequestsWithCommit

func ListPullRequestsWithCommit(number int) http.HandlerFunc

Types

type CreateComment

type CreateComment struct {
	// contains filtered or unexported fields
}

func (*CreateComment) Count

func (e *CreateComment) Count() int

func (*CreateComment) ServeHTTP

func (e *CreateComment) ServeHTTP(w http.ResponseWriter, r *http.Request)

type CreateDeploymentStatus

type CreateDeploymentStatus struct {
	// contains filtered or unexported fields
}

func (*CreateDeploymentStatus) Count

func (e *CreateDeploymentStatus) Count() int

func (*CreateDeploymentStatus) ServeHTTP

type ListDeploymentStatus

type ListDeploymentStatus struct {
	Response []*github.DeploymentStatus
}

func (*ListDeploymentStatus) ServeHTTP

func (e *ListDeploymentStatus) ServeHTTP(w http.ResponseWriter, _ *http.Request)

type Server

type Server struct {
	// contains filtered or unexported fields
}

func (*Server) Handle

func (sv *Server) Handle(methodURI string, handler http.Handler)

func (*Server) ServeHTTP

func (sv *Server) 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