version_incremental

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IncrementalDelete

type IncrementalDelete struct {
	Context *middleware.Context
	Handler IncrementalDeleteHandler
}

IncrementalDelete swagger:route DELETE /increamental_version/{projectName} versionIncremental incrementalDelete

Delete incremental version number (RESET)

Delete generated version

func NewIncrementalDelete

func NewIncrementalDelete(ctx *middleware.Context, handler IncrementalDeleteHandler) *IncrementalDelete

NewIncrementalDelete creates a new http.Handler for the incremental delete operation

func (*IncrementalDelete) ServeHTTP

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

type IncrementalDeleteHandler

type IncrementalDeleteHandler interface {
	Handle(IncrementalDeleteParams) middleware.Responder
}

IncrementalDeleteHandler interface for that can handle valid incremental delete params

type IncrementalDeleteHandlerFunc

type IncrementalDeleteHandlerFunc func(IncrementalDeleteParams) middleware.Responder

IncrementalDeleteHandlerFunc turns a function with the right signature into a incremental delete handler

func (IncrementalDeleteHandlerFunc) Handle

Handle executing the request and returning a response

type IncrementalDeleteInternalServerError

type IncrementalDeleteInternalServerError struct {
	/*
	  Required: true
	*/
	XErrorCode string `json:"X-Error-Code"`

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

IncrementalDeleteInternalServerError Error response

swagger:response incrementalDeleteInternalServerError

func NewIncrementalDeleteInternalServerError

func NewIncrementalDeleteInternalServerError() *IncrementalDeleteInternalServerError

NewIncrementalDeleteInternalServerError creates IncrementalDeleteInternalServerError with default headers values

func (*IncrementalDeleteInternalServerError) SetPayload

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

SetPayload sets the payload to the incremental delete internal server error response

func (*IncrementalDeleteInternalServerError) SetXErrorCode

func (o *IncrementalDeleteInternalServerError) SetXErrorCode(xErrorCode string)

SetXErrorCode sets the xErrorCode to the incremental delete internal server error response

func (*IncrementalDeleteInternalServerError) WithPayload

WithPayload adds the payload to the incremental delete internal server error response

func (*IncrementalDeleteInternalServerError) WithXErrorCode

WithXErrorCode adds the xErrorCode to the incremental delete internal server error response

func (*IncrementalDeleteInternalServerError) WriteResponse

WriteResponse to the client

type IncrementalDeleteNoContent

type IncrementalDeleteNoContent struct {
}

IncrementalDeleteNoContent incremental delete no content

swagger:response incrementalDeleteNoContent

func NewIncrementalDeleteNoContent

func NewIncrementalDeleteNoContent() *IncrementalDeleteNoContent

NewIncrementalDeleteNoContent creates IncrementalDeleteNoContent with default headers values

func (*IncrementalDeleteNoContent) WriteResponse

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

WriteResponse to the client

type IncrementalDeleteParams

type IncrementalDeleteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*
	  Required: true
	  Max Length: 100
	  In: path
	*/
	ProjectName string
}

IncrementalDeleteParams contains all the bound params for the incremental delete operation typically these are obtained from a http.Request

swagger:parameters incrementalDelete

func NewIncrementalDeleteParams

func NewIncrementalDeleteParams() IncrementalDeleteParams

NewIncrementalDeleteParams creates a new IncrementalDeleteParams object with the default values initialized.

func (*IncrementalDeleteParams) BindRequest

func (o *IncrementalDeleteParams) 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

type IncrementalGenerate

type IncrementalGenerate struct {
	Context *middleware.Context
	Handler IncrementalGenerateHandler
}

IncrementalGenerate swagger:route POST /increamental_version/{projectName} versionIncremental incrementalGenerate

Generate new incremental version number

Incremental Versioning

func NewIncrementalGenerate

func NewIncrementalGenerate(ctx *middleware.Context, handler IncrementalGenerateHandler) *IncrementalGenerate

NewIncrementalGenerate creates a new http.Handler for the incremental generate operation

func (*IncrementalGenerate) ServeHTTP

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

type IncrementalGenerateCreated

type IncrementalGenerateCreated struct {

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

IncrementalGenerateCreated Generate incremental version response

swagger:response incrementalGenerateCreated

func NewIncrementalGenerateCreated

func NewIncrementalGenerateCreated() *IncrementalGenerateCreated

NewIncrementalGenerateCreated creates IncrementalGenerateCreated with default headers values

func (*IncrementalGenerateCreated) SetPayload

SetPayload sets the payload to the incremental generate created response

func (*IncrementalGenerateCreated) WithPayload

WithPayload adds the payload to the incremental generate created response

func (*IncrementalGenerateCreated) WriteResponse

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

WriteResponse to the client

type IncrementalGenerateHandler

type IncrementalGenerateHandler interface {
	Handle(IncrementalGenerateParams) middleware.Responder
}

IncrementalGenerateHandler interface for that can handle valid incremental generate params

type IncrementalGenerateHandlerFunc

type IncrementalGenerateHandlerFunc func(IncrementalGenerateParams) middleware.Responder

IncrementalGenerateHandlerFunc turns a function with the right signature into a incremental generate handler

func (IncrementalGenerateHandlerFunc) Handle

Handle executing the request and returning a response

type IncrementalGenerateInternalServerError

type IncrementalGenerateInternalServerError struct {
	/*
	  Required: true
	*/
	XErrorCode string `json:"X-Error-Code"`

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

IncrementalGenerateInternalServerError Error response

swagger:response incrementalGenerateInternalServerError

func NewIncrementalGenerateInternalServerError

func NewIncrementalGenerateInternalServerError() *IncrementalGenerateInternalServerError

NewIncrementalGenerateInternalServerError creates IncrementalGenerateInternalServerError with default headers values

func (*IncrementalGenerateInternalServerError) SetPayload

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

SetPayload sets the payload to the incremental generate internal server error response

func (*IncrementalGenerateInternalServerError) SetXErrorCode

func (o *IncrementalGenerateInternalServerError) SetXErrorCode(xErrorCode string)

SetXErrorCode sets the xErrorCode to the incremental generate internal server error response

func (*IncrementalGenerateInternalServerError) WithPayload

WithPayload adds the payload to the incremental generate internal server error response

func (*IncrementalGenerateInternalServerError) WithXErrorCode

WithXErrorCode adds the xErrorCode to the incremental generate internal server error response

func (*IncrementalGenerateInternalServerError) WriteResponse

WriteResponse to the client

type IncrementalGenerateParams

type IncrementalGenerateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*
	  Required: true
	  Max Length: 100
	  In: path
	*/
	ProjectName string
}

IncrementalGenerateParams contains all the bound params for the incremental generate operation typically these are obtained from a http.Request

swagger:parameters incrementalGenerate

func NewIncrementalGenerateParams

func NewIncrementalGenerateParams() IncrementalGenerateParams

NewIncrementalGenerateParams creates a new IncrementalGenerateParams object with the default values initialized.

func (*IncrementalGenerateParams) BindRequest

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

type IncrementalUpdate

type IncrementalUpdate struct {
	Context *middleware.Context
	Handler IncrementalUpdateHandler
}

IncrementalUpdate swagger:route PUT /increamental_version/{projectName} versionIncremental incrementalUpdate

Update incremental version number (Only for maintenance)

Incremental Versioning Update revision number

func NewIncrementalUpdate

func NewIncrementalUpdate(ctx *middleware.Context, handler IncrementalUpdateHandler) *IncrementalUpdate

NewIncrementalUpdate creates a new http.Handler for the incremental update operation

func (*IncrementalUpdate) ServeHTTP

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

type IncrementalUpdateHandler

type IncrementalUpdateHandler interface {
	Handle(IncrementalUpdateParams) middleware.Responder
}

IncrementalUpdateHandler interface for that can handle valid incremental update params

type IncrementalUpdateHandlerFunc

type IncrementalUpdateHandlerFunc func(IncrementalUpdateParams) middleware.Responder

IncrementalUpdateHandlerFunc turns a function with the right signature into a incremental update handler

func (IncrementalUpdateHandlerFunc) Handle

Handle executing the request and returning a response

type IncrementalUpdateInternalServerError

type IncrementalUpdateInternalServerError struct {
	/*
	  Required: true
	*/
	XErrorCode string `json:"X-Error-Code"`

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

IncrementalUpdateInternalServerError Error response

swagger:response incrementalUpdateInternalServerError

func NewIncrementalUpdateInternalServerError

func NewIncrementalUpdateInternalServerError() *IncrementalUpdateInternalServerError

NewIncrementalUpdateInternalServerError creates IncrementalUpdateInternalServerError with default headers values

func (*IncrementalUpdateInternalServerError) SetPayload

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

SetPayload sets the payload to the incremental update internal server error response

func (*IncrementalUpdateInternalServerError) SetXErrorCode

func (o *IncrementalUpdateInternalServerError) SetXErrorCode(xErrorCode string)

SetXErrorCode sets the xErrorCode to the incremental update internal server error response

func (*IncrementalUpdateInternalServerError) WithPayload

WithPayload adds the payload to the incremental update internal server error response

func (*IncrementalUpdateInternalServerError) WithXErrorCode

WithXErrorCode adds the xErrorCode to the incremental update internal server error response

func (*IncrementalUpdateInternalServerError) WriteResponse

WriteResponse to the client

type IncrementalUpdateOK

type IncrementalUpdateOK struct {

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

IncrementalUpdateOK Update incremental version response

swagger:response incrementalUpdateOK

func NewIncrementalUpdateOK

func NewIncrementalUpdateOK() *IncrementalUpdateOK

NewIncrementalUpdateOK creates IncrementalUpdateOK with default headers values

func (*IncrementalUpdateOK) SetPayload

func (o *IncrementalUpdateOK) SetPayload(payload *models.IncrementalVersionNumber)

SetPayload sets the payload to the incremental update o k response

func (*IncrementalUpdateOK) WithPayload

WithPayload adds the payload to the incremental update o k response

func (*IncrementalUpdateOK) WriteResponse

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

WriteResponse to the client

type IncrementalUpdateParams

type IncrementalUpdateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*
	  In: body
	*/
	Body *models.IncrementalVersionNumber
	/*
	  Required: true
	  Max Length: 100
	  In: path
	*/
	ProjectName string
}

IncrementalUpdateParams contains all the bound params for the incremental update operation typically these are obtained from a http.Request

swagger:parameters incrementalUpdate

func NewIncrementalUpdateParams

func NewIncrementalUpdateParams() IncrementalUpdateParams

NewIncrementalUpdateParams creates a new IncrementalUpdateParams object with the default values initialized.

func (*IncrementalUpdateParams) BindRequest

func (o *IncrementalUpdateParams) 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

Jump to

Keyboard shortcuts

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