version_incremental

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2018 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const IncrementalDeleteInternalServerErrorCode int = 500

IncrementalDeleteInternalServerErrorCode is the HTTP code returned for type IncrementalDeleteInternalServerError

View Source
const IncrementalDeleteNoContentCode int = 204

IncrementalDeleteNoContentCode is the HTTP code returned for type IncrementalDeleteNoContent

View Source
const IncrementalGenerateCreatedCode int = 201

IncrementalGenerateCreatedCode is the HTTP code returned for type IncrementalGenerateCreated

View Source
const IncrementalGenerateInternalServerErrorCode int = 500

IncrementalGenerateInternalServerErrorCode is the HTTP code returned for type IncrementalGenerateInternalServerError

View Source
const IncrementalUpdateInternalServerErrorCode int = 500

IncrementalUpdateInternalServerErrorCode is the HTTP code returned for type IncrementalUpdateInternalServerError

View Source
const IncrementalUpdateOKCode int = 200

IncrementalUpdateOKCode is the HTTP code returned for type IncrementalUpdateOK

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 {
	/*

	 */
	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 `json:"-"`

	/*
	  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 no default values defined in spec.

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.

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

type IncrementalDeleteURL added in v0.3.0

type IncrementalDeleteURL struct {
	ProjectName string
	// contains filtered or unexported fields
}

IncrementalDeleteURL generates an URL for the incremental delete operation

func (*IncrementalDeleteURL) Build added in v0.3.0

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

Build a url path and query string

func (*IncrementalDeleteURL) BuildFull added in v0.3.0

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

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

func (*IncrementalDeleteURL) Must added in v0.3.0

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

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

func (*IncrementalDeleteURL) SetBasePath added in v0.3.0

func (o *IncrementalDeleteURL) 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 (*IncrementalDeleteURL) String added in v0.3.0

func (o *IncrementalDeleteURL) String() string

String returns the string representation of the path with query string

func (*IncrementalDeleteURL) StringFull added in v0.3.0

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

StringFull returns the string representation of a complete url

func (*IncrementalDeleteURL) WithBasePath added in v0.3.0

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

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 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 {
	/*

	 */
	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 `json:"-"`

	/*
	  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 no default values defined in spec.

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.

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

type IncrementalGenerateURL added in v0.3.0

type IncrementalGenerateURL struct {
	ProjectName string
	// contains filtered or unexported fields
}

IncrementalGenerateURL generates an URL for the incremental generate operation

func (*IncrementalGenerateURL) Build added in v0.3.0

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

Build a url path and query string

func (*IncrementalGenerateURL) BuildFull added in v0.3.0

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

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

func (*IncrementalGenerateURL) Must added in v0.3.0

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

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

func (*IncrementalGenerateURL) SetBasePath added in v0.3.0

func (o *IncrementalGenerateURL) 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 (*IncrementalGenerateURL) String added in v0.3.0

func (o *IncrementalGenerateURL) String() string

String returns the string representation of the path with query string

func (*IncrementalGenerateURL) StringFull added in v0.3.0

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

StringFull returns the string representation of a complete url

func (*IncrementalGenerateURL) WithBasePath added in v0.3.0

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 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 {
	/*

	 */
	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 `json:"-"`

	/*
	  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 no default values defined in spec.

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.

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

type IncrementalUpdateURL added in v0.3.0

type IncrementalUpdateURL struct {
	ProjectName string
	// contains filtered or unexported fields
}

IncrementalUpdateURL generates an URL for the incremental update operation

func (*IncrementalUpdateURL) Build added in v0.3.0

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

Build a url path and query string

func (*IncrementalUpdateURL) BuildFull added in v0.3.0

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

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

func (*IncrementalUpdateURL) Must added in v0.3.0

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

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

func (*IncrementalUpdateURL) SetBasePath added in v0.3.0

func (o *IncrementalUpdateURL) 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 (*IncrementalUpdateURL) String added in v0.3.0

func (o *IncrementalUpdateURL) String() string

String returns the string representation of the path with query string

func (*IncrementalUpdateURL) StringFull added in v0.3.0

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

StringFull returns the string representation of a complete url

func (*IncrementalUpdateURL) WithBasePath added in v0.3.0

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

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