app

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GetCollaboratorOKCode int = 200

GetCollaboratorOKCode is the HTTP code returned for type GetCollaboratorOK

View Source
const GetCollaboratorsOKCode int = 200

GetCollaboratorsOKCode is the HTTP code returned for type GetCollaboratorsOK

View Source
const GetRepositoriesOKCode int = 200

GetRepositoriesOKCode is the HTTP code returned for type GetRepositoriesOK

View Source
const GetRepositoryOKCode int = 200

GetRepositoryOKCode is the HTTP code returned for type GetRepositoryOK

View Source
const GetStatiticsOKCode int = 200

GetStatiticsOKCode is the HTTP code returned for type GetStatiticsOK

View Source
const GetStatusOKCode int = 200

GetStatusOKCode is the HTTP code returned for type GetStatusOK

View Source
const GetTeamOKCode int = 200

GetTeamOKCode is the HTTP code returned for type GetTeamOK

View Source
const GetTeamsOKCode int = 200

GetTeamsOKCode is the HTTP code returned for type GetTeamsOK

View Source
const GetUnmanagedOKCode int = 200

GetUnmanagedOKCode is the HTTP code returned for type GetUnmanagedOK

View Source
const GetUserOKCode int = 200

GetUserOKCode is the HTTP code returned for type GetUserOK

View Source
const GetUsersOKCode int = 200

GetUsersOKCode is the HTTP code returned for type GetUsersOK

View Source
const PostFlushCacheOKCode int = 200

PostFlushCacheOKCode is the HTTP code returned for type PostFlushCacheOK

View Source
const PostResyncOKCode int = 200

PostResyncOKCode is the HTTP code returned for type PostResyncOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCollaborator added in v0.2.2

type GetCollaborator struct {
	Context *middleware.Context
	Handler GetCollaboratorHandler
}
GetCollaborator swagger:route GET /collaborators/{collaboratorID} app getCollaborator

Get collaborator and repos

func NewGetCollaborator added in v0.2.2

func NewGetCollaborator(ctx *middleware.Context, handler GetCollaboratorHandler) *GetCollaborator

NewGetCollaborator creates a new http.Handler for the get collaborator operation

func (*GetCollaborator) ServeHTTP added in v0.2.2

func (o *GetCollaborator) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetCollaboratorDefault added in v0.2.2

type GetCollaboratorDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetCollaboratorDefault generic error response

swagger:response getCollaboratorDefault

func NewGetCollaboratorDefault added in v0.2.2

func NewGetCollaboratorDefault(code int) *GetCollaboratorDefault

NewGetCollaboratorDefault creates GetCollaboratorDefault with default headers values

func (*GetCollaboratorDefault) SetPayload added in v0.2.2

func (o *GetCollaboratorDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get collaborator default response

func (*GetCollaboratorDefault) SetStatusCode added in v0.2.2

func (o *GetCollaboratorDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get collaborator default response

func (*GetCollaboratorDefault) WithPayload added in v0.2.2

func (o *GetCollaboratorDefault) WithPayload(payload *models.Error) *GetCollaboratorDefault

WithPayload adds the payload to the get collaborator default response

func (*GetCollaboratorDefault) WithStatusCode added in v0.2.2

func (o *GetCollaboratorDefault) WithStatusCode(code int) *GetCollaboratorDefault

WithStatusCode adds the status to the get collaborator default response

func (*GetCollaboratorDefault) WriteResponse added in v0.2.2

func (o *GetCollaboratorDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetCollaboratorHandler added in v0.2.2

type GetCollaboratorHandler interface {
	Handle(GetCollaboratorParams) middleware.Responder
}

GetCollaboratorHandler interface for that can handle valid get collaborator params

type GetCollaboratorHandlerFunc added in v0.2.2

type GetCollaboratorHandlerFunc func(GetCollaboratorParams) middleware.Responder

GetCollaboratorHandlerFunc turns a function with the right signature into a get collaborator handler

func (GetCollaboratorHandlerFunc) Handle added in v0.2.2

Handle executing the request and returning a response

type GetCollaboratorOK added in v0.2.2

type GetCollaboratorOK struct {

	/*
	  In: Body
	*/
	Payload *models.CollaboratorDetails `json:"body,omitempty"`
}

GetCollaboratorOK get collaborator details especially repositories

swagger:response getCollaboratorOK

func NewGetCollaboratorOK added in v0.2.2

func NewGetCollaboratorOK() *GetCollaboratorOK

NewGetCollaboratorOK creates GetCollaboratorOK with default headers values

func (*GetCollaboratorOK) SetPayload added in v0.2.2

func (o *GetCollaboratorOK) SetPayload(payload *models.CollaboratorDetails)

SetPayload sets the payload to the get collaborator o k response

func (*GetCollaboratorOK) WithPayload added in v0.2.2

WithPayload adds the payload to the get collaborator o k response

func (*GetCollaboratorOK) WriteResponse added in v0.2.2

func (o *GetCollaboratorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetCollaboratorParams added in v0.2.2

type GetCollaboratorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*collaborator name
	  Required: true
	  Min Length: 1
	  In: path
	*/
	CollaboratorID string
}

GetCollaboratorParams contains all the bound params for the get collaborator operation typically these are obtained from a http.Request

swagger:parameters getCollaborator

func NewGetCollaboratorParams added in v0.2.2

func NewGetCollaboratorParams() GetCollaboratorParams

NewGetCollaboratorParams creates a new GetCollaboratorParams object

There are no default values defined in the spec.

func (*GetCollaboratorParams) BindRequest added in v0.2.2

func (o *GetCollaboratorParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetCollaboratorParams() beforehand.

type GetCollaboratorURL added in v0.2.2

type GetCollaboratorURL struct {
	CollaboratorID string
	// contains filtered or unexported fields
}

GetCollaboratorURL generates an URL for the get collaborator operation

func (*GetCollaboratorURL) Build added in v0.2.2

func (o *GetCollaboratorURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetCollaboratorURL) BuildFull added in v0.2.2

func (o *GetCollaboratorURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetCollaboratorURL) Must added in v0.2.2

func (o *GetCollaboratorURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetCollaboratorURL) SetBasePath added in v0.2.2

func (o *GetCollaboratorURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetCollaboratorURL) String added in v0.2.2

func (o *GetCollaboratorURL) String() string

String returns the string representation of the path with query string

func (*GetCollaboratorURL) StringFull added in v0.2.2

func (o *GetCollaboratorURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetCollaboratorURL) WithBasePath added in v0.2.2

func (o *GetCollaboratorURL) WithBasePath(bp string) *GetCollaboratorURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetCollaborators added in v0.2.2

type GetCollaborators struct {
	Context *middleware.Context
	Handler GetCollaboratorsHandler
}
GetCollaborators swagger:route GET /collaborators app getCollaborators

Get all external collaborators

func NewGetCollaborators added in v0.2.2

func NewGetCollaborators(ctx *middleware.Context, handler GetCollaboratorsHandler) *GetCollaborators

NewGetCollaborators creates a new http.Handler for the get collaborators operation

func (*GetCollaborators) ServeHTTP added in v0.2.2

func (o *GetCollaborators) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetCollaboratorsDefault added in v0.2.2

type GetCollaboratorsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetCollaboratorsDefault generic error response

swagger:response getCollaboratorsDefault

func NewGetCollaboratorsDefault added in v0.2.2

func NewGetCollaboratorsDefault(code int) *GetCollaboratorsDefault

NewGetCollaboratorsDefault creates GetCollaboratorsDefault with default headers values

func (*GetCollaboratorsDefault) SetPayload added in v0.2.2

func (o *GetCollaboratorsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get collaborators default response

func (*GetCollaboratorsDefault) SetStatusCode added in v0.2.2

func (o *GetCollaboratorsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get collaborators default response

func (*GetCollaboratorsDefault) WithPayload added in v0.2.2

func (o *GetCollaboratorsDefault) WithPayload(payload *models.Error) *GetCollaboratorsDefault

WithPayload adds the payload to the get collaborators default response

func (*GetCollaboratorsDefault) WithStatusCode added in v0.2.2

func (o *GetCollaboratorsDefault) WithStatusCode(code int) *GetCollaboratorsDefault

WithStatusCode adds the status to the get collaborators default response

func (*GetCollaboratorsDefault) WriteResponse added in v0.2.2

func (o *GetCollaboratorsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetCollaboratorsHandler added in v0.2.2

type GetCollaboratorsHandler interface {
	Handle(GetCollaboratorsParams) middleware.Responder
}

GetCollaboratorsHandler interface for that can handle valid get collaborators params

type GetCollaboratorsHandlerFunc added in v0.2.2

type GetCollaboratorsHandlerFunc func(GetCollaboratorsParams) middleware.Responder

GetCollaboratorsHandlerFunc turns a function with the right signature into a get collaborators handler

func (GetCollaboratorsHandlerFunc) Handle added in v0.2.2

Handle executing the request and returning a response

type GetCollaboratorsOK added in v0.2.2

type GetCollaboratorsOK struct {

	/*
	  In: Body
	*/
	Payload models.Users `json:"body,omitempty"`
}

GetCollaboratorsOK get list of collarators

swagger:response getCollaboratorsOK

func NewGetCollaboratorsOK added in v0.2.2

func NewGetCollaboratorsOK() *GetCollaboratorsOK

NewGetCollaboratorsOK creates GetCollaboratorsOK with default headers values

func (*GetCollaboratorsOK) SetPayload added in v0.2.2

func (o *GetCollaboratorsOK) SetPayload(payload models.Users)

SetPayload sets the payload to the get collaborators o k response

func (*GetCollaboratorsOK) WithPayload added in v0.2.2

func (o *GetCollaboratorsOK) WithPayload(payload models.Users) *GetCollaboratorsOK

WithPayload adds the payload to the get collaborators o k response

func (*GetCollaboratorsOK) WriteResponse added in v0.2.2

func (o *GetCollaboratorsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetCollaboratorsParams added in v0.2.2

type GetCollaboratorsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetCollaboratorsParams contains all the bound params for the get collaborators operation typically these are obtained from a http.Request

swagger:parameters getCollaborators

func NewGetCollaboratorsParams added in v0.2.2

func NewGetCollaboratorsParams() GetCollaboratorsParams

NewGetCollaboratorsParams creates a new GetCollaboratorsParams object

There are no default values defined in the spec.

func (*GetCollaboratorsParams) BindRequest added in v0.2.2

func (o *GetCollaboratorsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetCollaboratorsParams() beforehand.

type GetCollaboratorsURL added in v0.2.2

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

GetCollaboratorsURL generates an URL for the get collaborators operation

func (*GetCollaboratorsURL) Build added in v0.2.2

func (o *GetCollaboratorsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetCollaboratorsURL) BuildFull added in v0.2.2

func (o *GetCollaboratorsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetCollaboratorsURL) Must added in v0.2.2

func (o *GetCollaboratorsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetCollaboratorsURL) SetBasePath added in v0.2.2

func (o *GetCollaboratorsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetCollaboratorsURL) String added in v0.2.2

func (o *GetCollaboratorsURL) String() string

String returns the string representation of the path with query string

func (*GetCollaboratorsURL) StringFull added in v0.2.2

func (o *GetCollaboratorsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetCollaboratorsURL) WithBasePath added in v0.2.2

func (o *GetCollaboratorsURL) WithBasePath(bp string) *GetCollaboratorsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetRepositories added in v0.2.0

type GetRepositories struct {
	Context *middleware.Context
	Handler GetRepositoriesHandler
}
GetRepositories swagger:route GET /repositories app getRepositories

Get all repositories

func NewGetRepositories added in v0.2.0

func NewGetRepositories(ctx *middleware.Context, handler GetRepositoriesHandler) *GetRepositories

NewGetRepositories creates a new http.Handler for the get repositories operation

func (*GetRepositories) ServeHTTP added in v0.2.0

func (o *GetRepositories) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetRepositoriesDefault added in v0.2.0

type GetRepositoriesDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetRepositoriesDefault generic error response

swagger:response getRepositoriesDefault

func NewGetRepositoriesDefault added in v0.2.0

func NewGetRepositoriesDefault(code int) *GetRepositoriesDefault

NewGetRepositoriesDefault creates GetRepositoriesDefault with default headers values

func (*GetRepositoriesDefault) SetPayload added in v0.2.0

func (o *GetRepositoriesDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get repositories default response

func (*GetRepositoriesDefault) SetStatusCode added in v0.2.0

func (o *GetRepositoriesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get repositories default response

func (*GetRepositoriesDefault) WithPayload added in v0.2.0

func (o *GetRepositoriesDefault) WithPayload(payload *models.Error) *GetRepositoriesDefault

WithPayload adds the payload to the get repositories default response

func (*GetRepositoriesDefault) WithStatusCode added in v0.2.0

func (o *GetRepositoriesDefault) WithStatusCode(code int) *GetRepositoriesDefault

WithStatusCode adds the status to the get repositories default response

func (*GetRepositoriesDefault) WriteResponse added in v0.2.0

func (o *GetRepositoriesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRepositoriesHandler added in v0.2.0

type GetRepositoriesHandler interface {
	Handle(GetRepositoriesParams) middleware.Responder
}

GetRepositoriesHandler interface for that can handle valid get repositories params

type GetRepositoriesHandlerFunc added in v0.2.0

type GetRepositoriesHandlerFunc func(GetRepositoriesParams) middleware.Responder

GetRepositoriesHandlerFunc turns a function with the right signature into a get repositories handler

func (GetRepositoriesHandlerFunc) Handle added in v0.2.0

Handle executing the request and returning a response

type GetRepositoriesOK added in v0.2.0

type GetRepositoriesOK struct {

	/*
	  In: Body
	*/
	Payload models.Repositories `json:"body,omitempty"`
}

GetRepositoriesOK get list of repositories

swagger:response getRepositoriesOK

func NewGetRepositoriesOK added in v0.2.0

func NewGetRepositoriesOK() *GetRepositoriesOK

NewGetRepositoriesOK creates GetRepositoriesOK with default headers values

func (*GetRepositoriesOK) SetPayload added in v0.2.0

func (o *GetRepositoriesOK) SetPayload(payload models.Repositories)

SetPayload sets the payload to the get repositories o k response

func (*GetRepositoriesOK) WithPayload added in v0.2.0

func (o *GetRepositoriesOK) WithPayload(payload models.Repositories) *GetRepositoriesOK

WithPayload adds the payload to the get repositories o k response

func (*GetRepositoriesOK) WriteResponse added in v0.2.0

func (o *GetRepositoriesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRepositoriesParams added in v0.2.0

type GetRepositoriesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetRepositoriesParams contains all the bound params for the get repositories operation typically these are obtained from a http.Request

swagger:parameters getRepositories

func NewGetRepositoriesParams added in v0.2.0

func NewGetRepositoriesParams() GetRepositoriesParams

NewGetRepositoriesParams creates a new GetRepositoriesParams object

There are no default values defined in the spec.

func (*GetRepositoriesParams) BindRequest added in v0.2.0

func (o *GetRepositoriesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetRepositoriesParams() beforehand.

type GetRepositoriesURL added in v0.2.0

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

GetRepositoriesURL generates an URL for the get repositories operation

func (*GetRepositoriesURL) Build added in v0.2.0

func (o *GetRepositoriesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetRepositoriesURL) BuildFull added in v0.2.0

func (o *GetRepositoriesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetRepositoriesURL) Must added in v0.2.0

func (o *GetRepositoriesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetRepositoriesURL) SetBasePath added in v0.2.0

func (o *GetRepositoriesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetRepositoriesURL) String added in v0.2.0

func (o *GetRepositoriesURL) String() string

String returns the string representation of the path with query string

func (*GetRepositoriesURL) StringFull added in v0.2.0

func (o *GetRepositoriesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetRepositoriesURL) WithBasePath added in v0.2.0

func (o *GetRepositoriesURL) WithBasePath(bp string) *GetRepositoriesURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetRepository added in v0.2.0

type GetRepository struct {
	Context *middleware.Context
	Handler GetRepositoryHandler
}
GetRepository swagger:route GET /repositories/{repositoryID} app getRepository

Get repository and associated teams

func NewGetRepository added in v0.2.0

func NewGetRepository(ctx *middleware.Context, handler GetRepositoryHandler) *GetRepository

NewGetRepository creates a new http.Handler for the get repository operation

func (*GetRepository) ServeHTTP added in v0.2.0

func (o *GetRepository) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetRepositoryDefault added in v0.2.0

type GetRepositoryDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetRepositoryDefault generic error response

swagger:response getRepositoryDefault

func NewGetRepositoryDefault added in v0.2.0

func NewGetRepositoryDefault(code int) *GetRepositoryDefault

NewGetRepositoryDefault creates GetRepositoryDefault with default headers values

func (*GetRepositoryDefault) SetPayload added in v0.2.0

func (o *GetRepositoryDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get repository default response

func (*GetRepositoryDefault) SetStatusCode added in v0.2.0

func (o *GetRepositoryDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get repository default response

func (*GetRepositoryDefault) WithPayload added in v0.2.0

func (o *GetRepositoryDefault) WithPayload(payload *models.Error) *GetRepositoryDefault

WithPayload adds the payload to the get repository default response

func (*GetRepositoryDefault) WithStatusCode added in v0.2.0

func (o *GetRepositoryDefault) WithStatusCode(code int) *GetRepositoryDefault

WithStatusCode adds the status to the get repository default response

func (*GetRepositoryDefault) WriteResponse added in v0.2.0

func (o *GetRepositoryDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRepositoryHandler added in v0.2.0

type GetRepositoryHandler interface {
	Handle(GetRepositoryParams) middleware.Responder
}

GetRepositoryHandler interface for that can handle valid get repository params

type GetRepositoryHandlerFunc added in v0.2.0

type GetRepositoryHandlerFunc func(GetRepositoryParams) middleware.Responder

GetRepositoryHandlerFunc turns a function with the right signature into a get repository handler

func (GetRepositoryHandlerFunc) Handle added in v0.2.0

Handle executing the request and returning a response

type GetRepositoryOK added in v0.2.0

type GetRepositoryOK struct {

	/*
	  In: Body
	*/
	Payload *models.RepositoryDetails `json:"body,omitempty"`
}

GetRepositoryOK get repository details especially teams that have access

swagger:response getRepositoryOK

func NewGetRepositoryOK added in v0.2.0

func NewGetRepositoryOK() *GetRepositoryOK

NewGetRepositoryOK creates GetRepositoryOK with default headers values

func (*GetRepositoryOK) SetPayload added in v0.2.0

func (o *GetRepositoryOK) SetPayload(payload *models.RepositoryDetails)

SetPayload sets the payload to the get repository o k response

func (*GetRepositoryOK) WithPayload added in v0.2.0

func (o *GetRepositoryOK) WithPayload(payload *models.RepositoryDetails) *GetRepositoryOK

WithPayload adds the payload to the get repository o k response

func (*GetRepositoryOK) WriteResponse added in v0.2.0

func (o *GetRepositoryOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRepositoryParams added in v0.2.0

type GetRepositoryParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*repository slug name
	  Required: true
	  Min Length: 1
	  In: path
	*/
	RepositoryID string
}

GetRepositoryParams contains all the bound params for the get repository operation typically these are obtained from a http.Request

swagger:parameters getRepository

func NewGetRepositoryParams added in v0.2.0

func NewGetRepositoryParams() GetRepositoryParams

NewGetRepositoryParams creates a new GetRepositoryParams object

There are no default values defined in the spec.

func (*GetRepositoryParams) BindRequest added in v0.2.0

func (o *GetRepositoryParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetRepositoryParams() beforehand.

type GetRepositoryURL added in v0.2.0

type GetRepositoryURL struct {
	RepositoryID string
	// contains filtered or unexported fields
}

GetRepositoryURL generates an URL for the get repository operation

func (*GetRepositoryURL) Build added in v0.2.0

func (o *GetRepositoryURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetRepositoryURL) BuildFull added in v0.2.0

func (o *GetRepositoryURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetRepositoryURL) Must added in v0.2.0

func (o *GetRepositoryURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetRepositoryURL) SetBasePath added in v0.2.0

func (o *GetRepositoryURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetRepositoryURL) String added in v0.2.0

func (o *GetRepositoryURL) String() string

String returns the string representation of the path with query string

func (*GetRepositoryURL) StringFull added in v0.2.0

func (o *GetRepositoryURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetRepositoryURL) WithBasePath added in v0.2.0

func (o *GetRepositoryURL) WithBasePath(bp string) *GetRepositoryURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetStatitics added in v0.7.0

type GetStatitics struct {
	Context *middleware.Context
	Handler GetStatiticsHandler
}
GetStatitics swagger:route GET /statistics app getStatitics

Get different statistics on Goliac

func NewGetStatitics added in v0.7.0

func NewGetStatitics(ctx *middleware.Context, handler GetStatiticsHandler) *GetStatitics

NewGetStatitics creates a new http.Handler for the get statitics operation

func (*GetStatitics) ServeHTTP added in v0.7.0

func (o *GetStatitics) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetStatiticsDefault added in v0.7.0

type GetStatiticsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetStatiticsDefault generic error response

swagger:response getStatiticsDefault

func NewGetStatiticsDefault added in v0.7.0

func NewGetStatiticsDefault(code int) *GetStatiticsDefault

NewGetStatiticsDefault creates GetStatiticsDefault with default headers values

func (*GetStatiticsDefault) SetPayload added in v0.7.0

func (o *GetStatiticsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get statitics default response

func (*GetStatiticsDefault) SetStatusCode added in v0.7.0

func (o *GetStatiticsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get statitics default response

func (*GetStatiticsDefault) WithPayload added in v0.7.0

func (o *GetStatiticsDefault) WithPayload(payload *models.Error) *GetStatiticsDefault

WithPayload adds the payload to the get statitics default response

func (*GetStatiticsDefault) WithStatusCode added in v0.7.0

func (o *GetStatiticsDefault) WithStatusCode(code int) *GetStatiticsDefault

WithStatusCode adds the status to the get statitics default response

func (*GetStatiticsDefault) WriteResponse added in v0.7.0

func (o *GetStatiticsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetStatiticsHandler added in v0.7.0

type GetStatiticsHandler interface {
	Handle(GetStatiticsParams) middleware.Responder
}

GetStatiticsHandler interface for that can handle valid get statitics params

type GetStatiticsHandlerFunc added in v0.7.0

type GetStatiticsHandlerFunc func(GetStatiticsParams) middleware.Responder

GetStatiticsHandlerFunc turns a function with the right signature into a get statitics handler

func (GetStatiticsHandlerFunc) Handle added in v0.7.0

Handle executing the request and returning a response

type GetStatiticsOK added in v0.7.0

type GetStatiticsOK struct {

	/*
	  In: Body
	*/
	Payload *models.Statistics `json:"body,omitempty"`
}

GetStatiticsOK get Goliac statistics

swagger:response getStatiticsOK

func NewGetStatiticsOK added in v0.7.0

func NewGetStatiticsOK() *GetStatiticsOK

NewGetStatiticsOK creates GetStatiticsOK with default headers values

func (*GetStatiticsOK) SetPayload added in v0.7.0

func (o *GetStatiticsOK) SetPayload(payload *models.Statistics)

SetPayload sets the payload to the get statitics o k response

func (*GetStatiticsOK) WithPayload added in v0.7.0

func (o *GetStatiticsOK) WithPayload(payload *models.Statistics) *GetStatiticsOK

WithPayload adds the payload to the get statitics o k response

func (*GetStatiticsOK) WriteResponse added in v0.7.0

func (o *GetStatiticsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetStatiticsParams added in v0.7.0

type GetStatiticsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetStatiticsParams contains all the bound params for the get statitics operation typically these are obtained from a http.Request

swagger:parameters getStatitics

func NewGetStatiticsParams added in v0.7.0

func NewGetStatiticsParams() GetStatiticsParams

NewGetStatiticsParams creates a new GetStatiticsParams object

There are no default values defined in the spec.

func (*GetStatiticsParams) BindRequest added in v0.7.0

func (o *GetStatiticsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetStatiticsParams() beforehand.

type GetStatiticsURL added in v0.7.0

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

GetStatiticsURL generates an URL for the get statitics operation

func (*GetStatiticsURL) Build added in v0.7.0

func (o *GetStatiticsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetStatiticsURL) BuildFull added in v0.7.0

func (o *GetStatiticsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetStatiticsURL) Must added in v0.7.0

func (o *GetStatiticsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetStatiticsURL) SetBasePath added in v0.7.0

func (o *GetStatiticsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetStatiticsURL) String added in v0.7.0

func (o *GetStatiticsURL) String() string

String returns the string representation of the path with query string

func (*GetStatiticsURL) StringFull added in v0.7.0

func (o *GetStatiticsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetStatiticsURL) WithBasePath added in v0.7.0

func (o *GetStatiticsURL) WithBasePath(bp string) *GetStatiticsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetStatus added in v0.2.0

type GetStatus struct {
	Context *middleware.Context
	Handler GetStatusHandler
}
GetStatus swagger:route GET /status app getStatus

Get different status on Goliac

func NewGetStatus added in v0.2.0

func NewGetStatus(ctx *middleware.Context, handler GetStatusHandler) *GetStatus

NewGetStatus creates a new http.Handler for the get status operation

func (*GetStatus) ServeHTTP added in v0.2.0

func (o *GetStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetStatusDefault added in v0.2.0

type GetStatusDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetStatusDefault generic error response

swagger:response getStatusDefault

func NewGetStatusDefault added in v0.2.0

func NewGetStatusDefault(code int) *GetStatusDefault

NewGetStatusDefault creates GetStatusDefault with default headers values

func (*GetStatusDefault) SetPayload added in v0.2.0

func (o *GetStatusDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get status default response

func (*GetStatusDefault) SetStatusCode added in v0.2.0

func (o *GetStatusDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get status default response

func (*GetStatusDefault) WithPayload added in v0.2.0

func (o *GetStatusDefault) WithPayload(payload *models.Error) *GetStatusDefault

WithPayload adds the payload to the get status default response

func (*GetStatusDefault) WithStatusCode added in v0.2.0

func (o *GetStatusDefault) WithStatusCode(code int) *GetStatusDefault

WithStatusCode adds the status to the get status default response

func (*GetStatusDefault) WriteResponse added in v0.2.0

func (o *GetStatusDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetStatusHandler added in v0.2.0

type GetStatusHandler interface {
	Handle(GetStatusParams) middleware.Responder
}

GetStatusHandler interface for that can handle valid get status params

type GetStatusHandlerFunc added in v0.2.0

type GetStatusHandlerFunc func(GetStatusParams) middleware.Responder

GetStatusHandlerFunc turns a function with the right signature into a get status handler

func (GetStatusHandlerFunc) Handle added in v0.2.0

Handle executing the request and returning a response

type GetStatusOK added in v0.2.0

type GetStatusOK struct {

	/*
	  In: Body
	*/
	Payload *models.Status `json:"body,omitempty"`
}

GetStatusOK get Goliac status

swagger:response getStatusOK

func NewGetStatusOK added in v0.2.0

func NewGetStatusOK() *GetStatusOK

NewGetStatusOK creates GetStatusOK with default headers values

func (*GetStatusOK) SetPayload added in v0.2.0

func (o *GetStatusOK) SetPayload(payload *models.Status)

SetPayload sets the payload to the get status o k response

func (*GetStatusOK) WithPayload added in v0.2.0

func (o *GetStatusOK) WithPayload(payload *models.Status) *GetStatusOK

WithPayload adds the payload to the get status o k response

func (*GetStatusOK) WriteResponse added in v0.2.0

func (o *GetStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetStatusParams added in v0.2.0

type GetStatusParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetStatusParams contains all the bound params for the get status operation typically these are obtained from a http.Request

swagger:parameters getStatus

func NewGetStatusParams added in v0.2.0

func NewGetStatusParams() GetStatusParams

NewGetStatusParams creates a new GetStatusParams object

There are no default values defined in the spec.

func (*GetStatusParams) BindRequest added in v0.2.0

func (o *GetStatusParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetStatusParams() beforehand.

type GetStatusURL added in v0.2.0

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

GetStatusURL generates an URL for the get status operation

func (*GetStatusURL) Build added in v0.2.0

func (o *GetStatusURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetStatusURL) BuildFull added in v0.2.0

func (o *GetStatusURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetStatusURL) Must added in v0.2.0

func (o *GetStatusURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetStatusURL) SetBasePath added in v0.2.0

func (o *GetStatusURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetStatusURL) String added in v0.2.0

func (o *GetStatusURL) String() string

String returns the string representation of the path with query string

func (*GetStatusURL) StringFull added in v0.2.0

func (o *GetStatusURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetStatusURL) WithBasePath added in v0.2.0

func (o *GetStatusURL) WithBasePath(bp string) *GetStatusURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetTeam added in v0.2.0

type GetTeam struct {
	Context *middleware.Context
	Handler GetTeamHandler
}
GetTeam swagger:route GET /teams/{teamID} app getTeam

Get team and associated users and repos

func NewGetTeam added in v0.2.0

func NewGetTeam(ctx *middleware.Context, handler GetTeamHandler) *GetTeam

NewGetTeam creates a new http.Handler for the get team operation

func (*GetTeam) ServeHTTP added in v0.2.0

func (o *GetTeam) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetTeamDefault added in v0.2.0

type GetTeamDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetTeamDefault generic error response

swagger:response getTeamDefault

func NewGetTeamDefault added in v0.2.0

func NewGetTeamDefault(code int) *GetTeamDefault

NewGetTeamDefault creates GetTeamDefault with default headers values

func (*GetTeamDefault) SetPayload added in v0.2.0

func (o *GetTeamDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get team default response

func (*GetTeamDefault) SetStatusCode added in v0.2.0

func (o *GetTeamDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get team default response

func (*GetTeamDefault) WithPayload added in v0.2.0

func (o *GetTeamDefault) WithPayload(payload *models.Error) *GetTeamDefault

WithPayload adds the payload to the get team default response

func (*GetTeamDefault) WithStatusCode added in v0.2.0

func (o *GetTeamDefault) WithStatusCode(code int) *GetTeamDefault

WithStatusCode adds the status to the get team default response

func (*GetTeamDefault) WriteResponse added in v0.2.0

func (o *GetTeamDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetTeamHandler added in v0.2.0

type GetTeamHandler interface {
	Handle(GetTeamParams) middleware.Responder
}

GetTeamHandler interface for that can handle valid get team params

type GetTeamHandlerFunc added in v0.2.0

type GetTeamHandlerFunc func(GetTeamParams) middleware.Responder

GetTeamHandlerFunc turns a function with the right signature into a get team handler

func (GetTeamHandlerFunc) Handle added in v0.2.0

Handle executing the request and returning a response

type GetTeamOK added in v0.2.0

type GetTeamOK struct {

	/*
	  In: Body
	*/
	Payload *models.TeamDetails `json:"body,omitempty"`
}

GetTeamOK get team details especially users and repositories

swagger:response getTeamOK

func NewGetTeamOK added in v0.2.0

func NewGetTeamOK() *GetTeamOK

NewGetTeamOK creates GetTeamOK with default headers values

func (*GetTeamOK) SetPayload added in v0.2.0

func (o *GetTeamOK) SetPayload(payload *models.TeamDetails)

SetPayload sets the payload to the get team o k response

func (*GetTeamOK) WithPayload added in v0.2.0

func (o *GetTeamOK) WithPayload(payload *models.TeamDetails) *GetTeamOK

WithPayload adds the payload to the get team o k response

func (*GetTeamOK) WriteResponse added in v0.2.0

func (o *GetTeamOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetTeamParams added in v0.2.0

type GetTeamParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*team name
	  Required: true
	  Min Length: 1
	  In: path
	*/
	TeamID string
}

GetTeamParams contains all the bound params for the get team operation typically these are obtained from a http.Request

swagger:parameters getTeam

func NewGetTeamParams added in v0.2.0

func NewGetTeamParams() GetTeamParams

NewGetTeamParams creates a new GetTeamParams object

There are no default values defined in the spec.

func (*GetTeamParams) BindRequest added in v0.2.0

func (o *GetTeamParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetTeamParams() beforehand.

type GetTeamURL added in v0.2.0

type GetTeamURL struct {
	TeamID string
	// contains filtered or unexported fields
}

GetTeamURL generates an URL for the get team operation

func (*GetTeamURL) Build added in v0.2.0

func (o *GetTeamURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetTeamURL) BuildFull added in v0.2.0

func (o *GetTeamURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetTeamURL) Must added in v0.2.0

func (o *GetTeamURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetTeamURL) SetBasePath added in v0.2.0

func (o *GetTeamURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetTeamURL) String added in v0.2.0

func (o *GetTeamURL) String() string

String returns the string representation of the path with query string

func (*GetTeamURL) StringFull added in v0.2.0

func (o *GetTeamURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetTeamURL) WithBasePath added in v0.2.0

func (o *GetTeamURL) WithBasePath(bp string) *GetTeamURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetTeams added in v0.2.0

type GetTeams struct {
	Context *middleware.Context
	Handler GetTeamsHandler
}
GetTeams swagger:route GET /teams app getTeams

Get all teams

func NewGetTeams added in v0.2.0

func NewGetTeams(ctx *middleware.Context, handler GetTeamsHandler) *GetTeams

NewGetTeams creates a new http.Handler for the get teams operation

func (*GetTeams) ServeHTTP added in v0.2.0

func (o *GetTeams) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetTeamsDefault added in v0.2.0

type GetTeamsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetTeamsDefault generic error response

swagger:response getTeamsDefault

func NewGetTeamsDefault added in v0.2.0

func NewGetTeamsDefault(code int) *GetTeamsDefault

NewGetTeamsDefault creates GetTeamsDefault with default headers values

func (*GetTeamsDefault) SetPayload added in v0.2.0

func (o *GetTeamsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get teams default response

func (*GetTeamsDefault) SetStatusCode added in v0.2.0

func (o *GetTeamsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get teams default response

func (*GetTeamsDefault) WithPayload added in v0.2.0

func (o *GetTeamsDefault) WithPayload(payload *models.Error) *GetTeamsDefault

WithPayload adds the payload to the get teams default response

func (*GetTeamsDefault) WithStatusCode added in v0.2.0

func (o *GetTeamsDefault) WithStatusCode(code int) *GetTeamsDefault

WithStatusCode adds the status to the get teams default response

func (*GetTeamsDefault) WriteResponse added in v0.2.0

func (o *GetTeamsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetTeamsHandler added in v0.2.0

type GetTeamsHandler interface {
	Handle(GetTeamsParams) middleware.Responder
}

GetTeamsHandler interface for that can handle valid get teams params

type GetTeamsHandlerFunc added in v0.2.0

type GetTeamsHandlerFunc func(GetTeamsParams) middleware.Responder

GetTeamsHandlerFunc turns a function with the right signature into a get teams handler

func (GetTeamsHandlerFunc) Handle added in v0.2.0

Handle executing the request and returning a response

type GetTeamsOK added in v0.2.0

type GetTeamsOK struct {

	/*
	  In: Body
	*/
	Payload models.Teams `json:"body,omitempty"`
}

GetTeamsOK get list of teams

swagger:response getTeamsOK

func NewGetTeamsOK added in v0.2.0

func NewGetTeamsOK() *GetTeamsOK

NewGetTeamsOK creates GetTeamsOK with default headers values

func (*GetTeamsOK) SetPayload added in v0.2.0

func (o *GetTeamsOK) SetPayload(payload models.Teams)

SetPayload sets the payload to the get teams o k response

func (*GetTeamsOK) WithPayload added in v0.2.0

func (o *GetTeamsOK) WithPayload(payload models.Teams) *GetTeamsOK

WithPayload adds the payload to the get teams o k response

func (*GetTeamsOK) WriteResponse added in v0.2.0

func (o *GetTeamsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetTeamsParams added in v0.2.0

type GetTeamsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetTeamsParams contains all the bound params for the get teams operation typically these are obtained from a http.Request

swagger:parameters getTeams

func NewGetTeamsParams added in v0.2.0

func NewGetTeamsParams() GetTeamsParams

NewGetTeamsParams creates a new GetTeamsParams object

There are no default values defined in the spec.

func (*GetTeamsParams) BindRequest added in v0.2.0

func (o *GetTeamsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetTeamsParams() beforehand.

type GetTeamsURL added in v0.2.0

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

GetTeamsURL generates an URL for the get teams operation

func (*GetTeamsURL) Build added in v0.2.0

func (o *GetTeamsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetTeamsURL) BuildFull added in v0.2.0

func (o *GetTeamsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetTeamsURL) Must added in v0.2.0

func (o *GetTeamsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetTeamsURL) SetBasePath added in v0.2.0

func (o *GetTeamsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetTeamsURL) String added in v0.2.0

func (o *GetTeamsURL) String() string

String returns the string representation of the path with query string

func (*GetTeamsURL) StringFull added in v0.2.0

func (o *GetTeamsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetTeamsURL) WithBasePath added in v0.2.0

func (o *GetTeamsURL) WithBasePath(bp string) *GetTeamsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetUnmanaged added in v0.7.1

type GetUnmanaged struct {
	Context *middleware.Context
	Handler GetUnmanagedHandler
}
GetUnmanaged swagger:route GET /unmanaged app getUnmanaged

Get unmanaged resources metrics

func NewGetUnmanaged added in v0.7.1

func NewGetUnmanaged(ctx *middleware.Context, handler GetUnmanagedHandler) *GetUnmanaged

NewGetUnmanaged creates a new http.Handler for the get unmanaged operation

func (*GetUnmanaged) ServeHTTP added in v0.7.1

func (o *GetUnmanaged) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetUnmanagedDefault added in v0.7.1

type GetUnmanagedDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetUnmanagedDefault generic error response

swagger:response getUnmanagedDefault

func NewGetUnmanagedDefault added in v0.7.1

func NewGetUnmanagedDefault(code int) *GetUnmanagedDefault

NewGetUnmanagedDefault creates GetUnmanagedDefault with default headers values

func (*GetUnmanagedDefault) SetPayload added in v0.7.1

func (o *GetUnmanagedDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get unmanaged default response

func (*GetUnmanagedDefault) SetStatusCode added in v0.7.1

func (o *GetUnmanagedDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get unmanaged default response

func (*GetUnmanagedDefault) WithPayload added in v0.7.1

func (o *GetUnmanagedDefault) WithPayload(payload *models.Error) *GetUnmanagedDefault

WithPayload adds the payload to the get unmanaged default response

func (*GetUnmanagedDefault) WithStatusCode added in v0.7.1

func (o *GetUnmanagedDefault) WithStatusCode(code int) *GetUnmanagedDefault

WithStatusCode adds the status to the get unmanaged default response

func (*GetUnmanagedDefault) WriteResponse added in v0.7.1

func (o *GetUnmanagedDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUnmanagedHandler added in v0.7.1

type GetUnmanagedHandler interface {
	Handle(GetUnmanagedParams) middleware.Responder
}

GetUnmanagedHandler interface for that can handle valid get unmanaged params

type GetUnmanagedHandlerFunc added in v0.7.1

type GetUnmanagedHandlerFunc func(GetUnmanagedParams) middleware.Responder

GetUnmanagedHandlerFunc turns a function with the right signature into a get unmanaged handler

func (GetUnmanagedHandlerFunc) Handle added in v0.7.1

Handle executing the request and returning a response

type GetUnmanagedOK added in v0.7.1

type GetUnmanagedOK struct {

	/*
	  In: Body
	*/
	Payload *models.Unmanaged `json:"body,omitempty"`
}

GetUnmanagedOK get Goliac unmanaged resources metrics

swagger:response getUnmanagedOK

func NewGetUnmanagedOK added in v0.7.1

func NewGetUnmanagedOK() *GetUnmanagedOK

NewGetUnmanagedOK creates GetUnmanagedOK with default headers values

func (*GetUnmanagedOK) SetPayload added in v0.7.1

func (o *GetUnmanagedOK) SetPayload(payload *models.Unmanaged)

SetPayload sets the payload to the get unmanaged o k response

func (*GetUnmanagedOK) WithPayload added in v0.7.1

func (o *GetUnmanagedOK) WithPayload(payload *models.Unmanaged) *GetUnmanagedOK

WithPayload adds the payload to the get unmanaged o k response

func (*GetUnmanagedOK) WriteResponse added in v0.7.1

func (o *GetUnmanagedOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUnmanagedParams added in v0.7.1

type GetUnmanagedParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetUnmanagedParams contains all the bound params for the get unmanaged operation typically these are obtained from a http.Request

swagger:parameters getUnmanaged

func NewGetUnmanagedParams added in v0.7.1

func NewGetUnmanagedParams() GetUnmanagedParams

NewGetUnmanagedParams creates a new GetUnmanagedParams object

There are no default values defined in the spec.

func (*GetUnmanagedParams) BindRequest added in v0.7.1

func (o *GetUnmanagedParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetUnmanagedParams() beforehand.

type GetUnmanagedURL added in v0.7.1

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

GetUnmanagedURL generates an URL for the get unmanaged operation

func (*GetUnmanagedURL) Build added in v0.7.1

func (o *GetUnmanagedURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetUnmanagedURL) BuildFull added in v0.7.1

func (o *GetUnmanagedURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetUnmanagedURL) Must added in v0.7.1

func (o *GetUnmanagedURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetUnmanagedURL) SetBasePath added in v0.7.1

func (o *GetUnmanagedURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetUnmanagedURL) String added in v0.7.1

func (o *GetUnmanagedURL) String() string

String returns the string representation of the path with query string

func (*GetUnmanagedURL) StringFull added in v0.7.1

func (o *GetUnmanagedURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetUnmanagedURL) WithBasePath added in v0.7.1

func (o *GetUnmanagedURL) WithBasePath(bp string) *GetUnmanagedURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetUser added in v0.2.0

type GetUser struct {
	Context *middleware.Context
	Handler GetUserHandler
}
GetUser swagger:route GET /users/{userID} app getUser

Get user and associated teams and repos

func NewGetUser added in v0.2.0

func NewGetUser(ctx *middleware.Context, handler GetUserHandler) *GetUser

NewGetUser creates a new http.Handler for the get user operation

func (*GetUser) ServeHTTP added in v0.2.0

func (o *GetUser) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetUserDefault added in v0.2.0

type GetUserDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetUserDefault generic error response

swagger:response getUserDefault

func NewGetUserDefault added in v0.2.0

func NewGetUserDefault(code int) *GetUserDefault

NewGetUserDefault creates GetUserDefault with default headers values

func (*GetUserDefault) SetPayload added in v0.2.0

func (o *GetUserDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get user default response

func (*GetUserDefault) SetStatusCode added in v0.2.0

func (o *GetUserDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get user default response

func (*GetUserDefault) WithPayload added in v0.2.0

func (o *GetUserDefault) WithPayload(payload *models.Error) *GetUserDefault

WithPayload adds the payload to the get user default response

func (*GetUserDefault) WithStatusCode added in v0.2.0

func (o *GetUserDefault) WithStatusCode(code int) *GetUserDefault

WithStatusCode adds the status to the get user default response

func (*GetUserDefault) WriteResponse added in v0.2.0

func (o *GetUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUserHandler added in v0.2.0

type GetUserHandler interface {
	Handle(GetUserParams) middleware.Responder
}

GetUserHandler interface for that can handle valid get user params

type GetUserHandlerFunc added in v0.2.0

type GetUserHandlerFunc func(GetUserParams) middleware.Responder

GetUserHandlerFunc turns a function with the right signature into a get user handler

func (GetUserHandlerFunc) Handle added in v0.2.0

Handle executing the request and returning a response

type GetUserOK added in v0.2.0

type GetUserOK struct {

	/*
	  In: Body
	*/
	Payload *models.UserDetails `json:"body,omitempty"`
}

GetUserOK get user details especially teams and repositories

swagger:response getUserOK

func NewGetUserOK added in v0.2.0

func NewGetUserOK() *GetUserOK

NewGetUserOK creates GetUserOK with default headers values

func (*GetUserOK) SetPayload added in v0.2.0

func (o *GetUserOK) SetPayload(payload *models.UserDetails)

SetPayload sets the payload to the get user o k response

func (*GetUserOK) WithPayload added in v0.2.0

func (o *GetUserOK) WithPayload(payload *models.UserDetails) *GetUserOK

WithPayload adds the payload to the get user o k response

func (*GetUserOK) WriteResponse added in v0.2.0

func (o *GetUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUserParams added in v0.2.0

type GetUserParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*user name
	  Required: true
	  Min Length: 1
	  In: path
	*/
	UserID string
}

GetUserParams contains all the bound params for the get user operation typically these are obtained from a http.Request

swagger:parameters getUser

func NewGetUserParams added in v0.2.0

func NewGetUserParams() GetUserParams

NewGetUserParams creates a new GetUserParams object

There are no default values defined in the spec.

func (*GetUserParams) BindRequest added in v0.2.0

func (o *GetUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetUserParams() beforehand.

type GetUserURL added in v0.2.0

type GetUserURL struct {
	UserID string
	// contains filtered or unexported fields
}

GetUserURL generates an URL for the get user operation

func (*GetUserURL) Build added in v0.2.0

func (o *GetUserURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetUserURL) BuildFull added in v0.2.0

func (o *GetUserURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetUserURL) Must added in v0.2.0

func (o *GetUserURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetUserURL) SetBasePath added in v0.2.0

func (o *GetUserURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetUserURL) String added in v0.2.0

func (o *GetUserURL) String() string

String returns the string representation of the path with query string

func (*GetUserURL) StringFull added in v0.2.0

func (o *GetUserURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetUserURL) WithBasePath added in v0.2.0

func (o *GetUserURL) WithBasePath(bp string) *GetUserURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetUsers added in v0.2.0

type GetUsers struct {
	Context *middleware.Context
	Handler GetUsersHandler
}
GetUsers swagger:route GET /users app getUsers

Get all users

func NewGetUsers added in v0.2.0

func NewGetUsers(ctx *middleware.Context, handler GetUsersHandler) *GetUsers

NewGetUsers creates a new http.Handler for the get users operation

func (*GetUsers) ServeHTTP added in v0.2.0

func (o *GetUsers) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetUsersDefault added in v0.2.0

type GetUsersDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetUsersDefault generic error response

swagger:response getUsersDefault

func NewGetUsersDefault added in v0.2.0

func NewGetUsersDefault(code int) *GetUsersDefault

NewGetUsersDefault creates GetUsersDefault with default headers values

func (*GetUsersDefault) SetPayload added in v0.2.0

func (o *GetUsersDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get users default response

func (*GetUsersDefault) SetStatusCode added in v0.2.0

func (o *GetUsersDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get users default response

func (*GetUsersDefault) WithPayload added in v0.2.0

func (o *GetUsersDefault) WithPayload(payload *models.Error) *GetUsersDefault

WithPayload adds the payload to the get users default response

func (*GetUsersDefault) WithStatusCode added in v0.2.0

func (o *GetUsersDefault) WithStatusCode(code int) *GetUsersDefault

WithStatusCode adds the status to the get users default response

func (*GetUsersDefault) WriteResponse added in v0.2.0

func (o *GetUsersDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUsersHandler added in v0.2.0

type GetUsersHandler interface {
	Handle(GetUsersParams) middleware.Responder
}

GetUsersHandler interface for that can handle valid get users params

type GetUsersHandlerFunc added in v0.2.0

type GetUsersHandlerFunc func(GetUsersParams) middleware.Responder

GetUsersHandlerFunc turns a function with the right signature into a get users handler

func (GetUsersHandlerFunc) Handle added in v0.2.0

Handle executing the request and returning a response

type GetUsersOK added in v0.2.0

type GetUsersOK struct {

	/*
	  In: Body
	*/
	Payload models.Users `json:"body,omitempty"`
}

GetUsersOK get list of users (organization or external)

swagger:response getUsersOK

func NewGetUsersOK added in v0.2.0

func NewGetUsersOK() *GetUsersOK

NewGetUsersOK creates GetUsersOK with default headers values

func (*GetUsersOK) SetPayload added in v0.2.0

func (o *GetUsersOK) SetPayload(payload models.Users)

SetPayload sets the payload to the get users o k response

func (*GetUsersOK) WithPayload added in v0.2.0

func (o *GetUsersOK) WithPayload(payload models.Users) *GetUsersOK

WithPayload adds the payload to the get users o k response

func (*GetUsersOK) WriteResponse added in v0.2.0

func (o *GetUsersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUsersParams added in v0.2.0

type GetUsersParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetUsersParams contains all the bound params for the get users operation typically these are obtained from a http.Request

swagger:parameters getUsers

func NewGetUsersParams added in v0.2.0

func NewGetUsersParams() GetUsersParams

NewGetUsersParams creates a new GetUsersParams object

There are no default values defined in the spec.

func (*GetUsersParams) BindRequest added in v0.2.0

func (o *GetUsersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetUsersParams() beforehand.

type GetUsersURL added in v0.2.0

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

GetUsersURL generates an URL for the get users operation

func (*GetUsersURL) Build added in v0.2.0

func (o *GetUsersURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetUsersURL) BuildFull added in v0.2.0

func (o *GetUsersURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetUsersURL) Must added in v0.2.0

func (o *GetUsersURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetUsersURL) SetBasePath added in v0.2.0

func (o *GetUsersURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetUsersURL) String added in v0.2.0

func (o *GetUsersURL) String() string

String returns the string representation of the path with query string

func (*GetUsersURL) StringFull added in v0.2.0

func (o *GetUsersURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetUsersURL) WithBasePath added in v0.2.0

func (o *GetUsersURL) WithBasePath(bp string) *GetUsersURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PostFlushCache added in v0.2.0

type PostFlushCache struct {
	Context *middleware.Context
	Handler PostFlushCacheHandler
}
PostFlushCache swagger:route POST /flushcache app postFlushCache

Flush the Github remote cache

func NewPostFlushCache added in v0.2.0

func NewPostFlushCache(ctx *middleware.Context, handler PostFlushCacheHandler) *PostFlushCache

NewPostFlushCache creates a new http.Handler for the post flush cache operation

func (*PostFlushCache) ServeHTTP added in v0.2.0

func (o *PostFlushCache) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostFlushCacheDefault added in v0.2.0

type PostFlushCacheDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PostFlushCacheDefault generic error response

swagger:response postFlushCacheDefault

func NewPostFlushCacheDefault added in v0.2.0

func NewPostFlushCacheDefault(code int) *PostFlushCacheDefault

NewPostFlushCacheDefault creates PostFlushCacheDefault with default headers values

func (*PostFlushCacheDefault) SetPayload added in v0.2.0

func (o *PostFlushCacheDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the post flush cache default response

func (*PostFlushCacheDefault) SetStatusCode added in v0.2.0

func (o *PostFlushCacheDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post flush cache default response

func (*PostFlushCacheDefault) WithPayload added in v0.2.0

func (o *PostFlushCacheDefault) WithPayload(payload *models.Error) *PostFlushCacheDefault

WithPayload adds the payload to the post flush cache default response

func (*PostFlushCacheDefault) WithStatusCode added in v0.2.0

func (o *PostFlushCacheDefault) WithStatusCode(code int) *PostFlushCacheDefault

WithStatusCode adds the status to the post flush cache default response

func (*PostFlushCacheDefault) WriteResponse added in v0.2.0

func (o *PostFlushCacheDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostFlushCacheHandler added in v0.2.0

type PostFlushCacheHandler interface {
	Handle(PostFlushCacheParams) middleware.Responder
}

PostFlushCacheHandler interface for that can handle valid post flush cache params

type PostFlushCacheHandlerFunc added in v0.2.0

type PostFlushCacheHandlerFunc func(PostFlushCacheParams) middleware.Responder

PostFlushCacheHandlerFunc turns a function with the right signature into a post flush cache handler

func (PostFlushCacheHandlerFunc) Handle added in v0.2.0

Handle executing the request and returning a response

type PostFlushCacheOK added in v0.2.0

type PostFlushCacheOK struct {
}

PostFlushCacheOK cache flushed

swagger:response postFlushCacheOK

func NewPostFlushCacheOK added in v0.2.0

func NewPostFlushCacheOK() *PostFlushCacheOK

NewPostFlushCacheOK creates PostFlushCacheOK with default headers values

func (*PostFlushCacheOK) WriteResponse added in v0.2.0

func (o *PostFlushCacheOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostFlushCacheParams added in v0.2.0

type PostFlushCacheParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

PostFlushCacheParams contains all the bound params for the post flush cache operation typically these are obtained from a http.Request

swagger:parameters postFlushCache

func NewPostFlushCacheParams added in v0.2.0

func NewPostFlushCacheParams() PostFlushCacheParams

NewPostFlushCacheParams creates a new PostFlushCacheParams object

There are no default values defined in the spec.

func (*PostFlushCacheParams) BindRequest added in v0.2.0

func (o *PostFlushCacheParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPostFlushCacheParams() beforehand.

type PostFlushCacheURL added in v0.2.0

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

PostFlushCacheURL generates an URL for the post flush cache operation

func (*PostFlushCacheURL) Build added in v0.2.0

func (o *PostFlushCacheURL) Build() (*url.URL, error)

Build a url path and query string

func (*PostFlushCacheURL) BuildFull added in v0.2.0

func (o *PostFlushCacheURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostFlushCacheURL) Must added in v0.2.0

func (o *PostFlushCacheURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PostFlushCacheURL) SetBasePath added in v0.2.0

func (o *PostFlushCacheURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PostFlushCacheURL) String added in v0.2.0

func (o *PostFlushCacheURL) String() string

String returns the string representation of the path with query string

func (*PostFlushCacheURL) StringFull added in v0.2.0

func (o *PostFlushCacheURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PostFlushCacheURL) WithBasePath added in v0.2.0

func (o *PostFlushCacheURL) WithBasePath(bp string) *PostFlushCacheURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PostResync added in v0.2.0

type PostResync struct {
	Context *middleware.Context
	Handler PostResyncHandler
}
PostResync swagger:route POST /resync app postResync

Ask to sync again against Github

func NewPostResync added in v0.2.0

func NewPostResync(ctx *middleware.Context, handler PostResyncHandler) *PostResync

NewPostResync creates a new http.Handler for the post resync operation

func (*PostResync) ServeHTTP added in v0.2.0

func (o *PostResync) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostResyncDefault added in v0.2.0

type PostResyncDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PostResyncDefault generic error response

swagger:response postResyncDefault

func NewPostResyncDefault added in v0.2.0

func NewPostResyncDefault(code int) *PostResyncDefault

NewPostResyncDefault creates PostResyncDefault with default headers values

func (*PostResyncDefault) SetPayload added in v0.2.0

func (o *PostResyncDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the post resync default response

func (*PostResyncDefault) SetStatusCode added in v0.2.0

func (o *PostResyncDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post resync default response

func (*PostResyncDefault) WithPayload added in v0.2.0

func (o *PostResyncDefault) WithPayload(payload *models.Error) *PostResyncDefault

WithPayload adds the payload to the post resync default response

func (*PostResyncDefault) WithStatusCode added in v0.2.0

func (o *PostResyncDefault) WithStatusCode(code int) *PostResyncDefault

WithStatusCode adds the status to the post resync default response

func (*PostResyncDefault) WriteResponse added in v0.2.0

func (o *PostResyncDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostResyncHandler added in v0.2.0

type PostResyncHandler interface {
	Handle(PostResyncParams) middleware.Responder
}

PostResyncHandler interface for that can handle valid post resync params

type PostResyncHandlerFunc added in v0.2.0

type PostResyncHandlerFunc func(PostResyncParams) middleware.Responder

PostResyncHandlerFunc turns a function with the right signature into a post resync handler

func (PostResyncHandlerFunc) Handle added in v0.2.0

Handle executing the request and returning a response

type PostResyncOK added in v0.2.0

type PostResyncOK struct {
}

PostResyncOK resync in progress

swagger:response postResyncOK

func NewPostResyncOK added in v0.2.0

func NewPostResyncOK() *PostResyncOK

NewPostResyncOK creates PostResyncOK with default headers values

func (*PostResyncOK) WriteResponse added in v0.2.0

func (o *PostResyncOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostResyncParams added in v0.2.0

type PostResyncParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

PostResyncParams contains all the bound params for the post resync operation typically these are obtained from a http.Request

swagger:parameters postResync

func NewPostResyncParams added in v0.2.0

func NewPostResyncParams() PostResyncParams

NewPostResyncParams creates a new PostResyncParams object

There are no default values defined in the spec.

func (*PostResyncParams) BindRequest added in v0.2.0

func (o *PostResyncParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPostResyncParams() beforehand.

type PostResyncURL added in v0.2.0

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

PostResyncURL generates an URL for the post resync operation

func (*PostResyncURL) Build added in v0.2.0

func (o *PostResyncURL) Build() (*url.URL, error)

Build a url path and query string

func (*PostResyncURL) BuildFull added in v0.2.0

func (o *PostResyncURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostResyncURL) Must added in v0.2.0

func (o *PostResyncURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PostResyncURL) SetBasePath added in v0.2.0

func (o *PostResyncURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PostResyncURL) String added in v0.2.0

func (o *PostResyncURL) String() string

String returns the string representation of the path with query string

func (*PostResyncURL) StringFull added in v0.2.0

func (o *PostResyncURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PostResyncURL) WithBasePath added in v0.2.0

func (o *PostResyncURL) WithBasePath(bp string) *PostResyncURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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