project

package
v0.0.0-...-a5d79d0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteProjectProjectNameBadRequestCode int = 400

DeleteProjectProjectNameBadRequestCode is the HTTP code returned for type DeleteProjectProjectNameBadRequest

View Source
const DeleteProjectProjectNameNoContentCode int = 204

DeleteProjectProjectNameNoContentCode is the HTTP code returned for type DeleteProjectProjectNameNoContent

View Source
const GetProjectOKCode int = 200

GetProjectOKCode is the HTTP code returned for type GetProjectOK

View Source
const GetProjectProjectNameNotFoundCode int = 404

GetProjectProjectNameNotFoundCode is the HTTP code returned for type GetProjectProjectNameNotFound

View Source
const GetProjectProjectNameOKCode int = 200

GetProjectProjectNameOKCode is the HTTP code returned for type GetProjectProjectNameOK

View Source
const PostProjectBadRequestCode int = 400

PostProjectBadRequestCode is the HTTP code returned for type PostProjectBadRequest

View Source
const PostProjectNoContentCode int = 204

PostProjectNoContentCode is the HTTP code returned for type PostProjectNoContent

View Source
const PutProjectProjectNameBadRequestCode int = 400

PutProjectProjectNameBadRequestCode is the HTTP code returned for type PutProjectProjectNameBadRequest

View Source
const PutProjectProjectNameNoContentCode int = 204

PutProjectProjectNameNoContentCode is the HTTP code returned for type PutProjectProjectNameNoContent

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteProjectProjectName

type DeleteProjectProjectName struct {
	Context *middleware.Context
	Handler DeleteProjectProjectNameHandler
}

DeleteProjectProjectName swagger:route DELETE /project/{projectName} Project deleteProjectProjectName

INTERNAL Endpoint: Delete the specified project

func NewDeleteProjectProjectName

func NewDeleteProjectProjectName(ctx *middleware.Context, handler DeleteProjectProjectNameHandler) *DeleteProjectProjectName

NewDeleteProjectProjectName creates a new http.Handler for the delete project project name operation

func (*DeleteProjectProjectName) ServeHTTP

type DeleteProjectProjectNameBadRequest

type DeleteProjectProjectNameBadRequest struct {

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

DeleteProjectProjectNameBadRequest Failed. Project could not be deleted.

swagger:response deleteProjectProjectNameBadRequest

func NewDeleteProjectProjectNameBadRequest

func NewDeleteProjectProjectNameBadRequest() *DeleteProjectProjectNameBadRequest

NewDeleteProjectProjectNameBadRequest creates DeleteProjectProjectNameBadRequest with default headers values

func (*DeleteProjectProjectNameBadRequest) SetPayload

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

SetPayload sets the payload to the delete project project name bad request response

func (*DeleteProjectProjectNameBadRequest) WithPayload

WithPayload adds the payload to the delete project project name bad request response

func (*DeleteProjectProjectNameBadRequest) WriteResponse

WriteResponse to the client

type DeleteProjectProjectNameDefault

type DeleteProjectProjectNameDefault struct {

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

DeleteProjectProjectNameDefault Error

swagger:response deleteProjectProjectNameDefault

func NewDeleteProjectProjectNameDefault

func NewDeleteProjectProjectNameDefault(code int) *DeleteProjectProjectNameDefault

NewDeleteProjectProjectNameDefault creates DeleteProjectProjectNameDefault with default headers values

func (*DeleteProjectProjectNameDefault) SetPayload

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

SetPayload sets the payload to the delete project project name default response

func (*DeleteProjectProjectNameDefault) SetStatusCode

func (o *DeleteProjectProjectNameDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete project project name default response

func (*DeleteProjectProjectNameDefault) WithPayload

WithPayload adds the payload to the delete project project name default response

func (*DeleteProjectProjectNameDefault) WithStatusCode

WithStatusCode adds the status to the delete project project name default response

func (*DeleteProjectProjectNameDefault) WriteResponse

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

WriteResponse to the client

type DeleteProjectProjectNameHandler

type DeleteProjectProjectNameHandler interface {
	Handle(DeleteProjectProjectNameParams) middleware.Responder
}

DeleteProjectProjectNameHandler interface for that can handle valid delete project project name params

type DeleteProjectProjectNameHandlerFunc

type DeleteProjectProjectNameHandlerFunc func(DeleteProjectProjectNameParams) middleware.Responder

DeleteProjectProjectNameHandlerFunc turns a function with the right signature into a delete project project name handler

func (DeleteProjectProjectNameHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteProjectProjectNameNoContent

type DeleteProjectProjectNameNoContent struct {
}

DeleteProjectProjectNameNoContent Success. Project has been deleted. Response does not have a body.

swagger:response deleteProjectProjectNameNoContent

func NewDeleteProjectProjectNameNoContent

func NewDeleteProjectProjectNameNoContent() *DeleteProjectProjectNameNoContent

NewDeleteProjectProjectNameNoContent creates DeleteProjectProjectNameNoContent with default headers values

func (*DeleteProjectProjectNameNoContent) WriteResponse

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

WriteResponse to the client

type DeleteProjectProjectNameParams

type DeleteProjectProjectNameParams struct {

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

	/*Name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
}

DeleteProjectProjectNameParams contains all the bound params for the delete project project name operation typically these are obtained from a http.Request

swagger:parameters DeleteProjectProjectName

func NewDeleteProjectProjectNameParams

func NewDeleteProjectProjectNameParams() DeleteProjectProjectNameParams

NewDeleteProjectProjectNameParams creates a new DeleteProjectProjectNameParams object no default values defined in spec.

func (*DeleteProjectProjectNameParams) 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 NewDeleteProjectProjectNameParams() beforehand.

type DeleteProjectProjectNameURL

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

DeleteProjectProjectNameURL generates an URL for the delete project project name operation

func (*DeleteProjectProjectNameURL) Build

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

Build a url path and query string

func (*DeleteProjectProjectNameURL) BuildFull

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

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

func (*DeleteProjectProjectNameURL) Must

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

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

func (*DeleteProjectProjectNameURL) SetBasePath

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

func (o *DeleteProjectProjectNameURL) String() string

String returns the string representation of the path with query string

func (*DeleteProjectProjectNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteProjectProjectNameURL) WithBasePath

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 GetProject

type GetProject struct {
	Context *middleware.Context
	Handler GetProjectHandler
}

GetProject swagger:route GET /project Project getProject

Get list of projects

func NewGetProject

func NewGetProject(ctx *middleware.Context, handler GetProjectHandler) *GetProject

NewGetProject creates a new http.Handler for the get project operation

func (*GetProject) ServeHTTP

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

type GetProjectDefault

type GetProjectDefault struct {

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

GetProjectDefault Error

swagger:response getProjectDefault

func NewGetProjectDefault

func NewGetProjectDefault(code int) *GetProjectDefault

NewGetProjectDefault creates GetProjectDefault with default headers values

func (*GetProjectDefault) SetPayload

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

SetPayload sets the payload to the get project default response

func (*GetProjectDefault) SetStatusCode

func (o *GetProjectDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get project default response

func (*GetProjectDefault) WithPayload

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

WithPayload adds the payload to the get project default response

func (*GetProjectDefault) WithStatusCode

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

WithStatusCode adds the status to the get project default response

func (*GetProjectDefault) WriteResponse

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

WriteResponse to the client

type GetProjectHandler

type GetProjectHandler interface {
	Handle(GetProjectParams) middleware.Responder
}

GetProjectHandler interface for that can handle valid get project params

type GetProjectHandlerFunc

type GetProjectHandlerFunc func(GetProjectParams) middleware.Responder

GetProjectHandlerFunc turns a function with the right signature into a get project handler

func (GetProjectHandlerFunc) Handle

Handle executing the request and returning a response

type GetProjectOK

type GetProjectOK struct {

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

GetProjectOK Success

swagger:response getProjectOK

func NewGetProjectOK

func NewGetProjectOK() *GetProjectOK

NewGetProjectOK creates GetProjectOK with default headers values

func (*GetProjectOK) SetPayload

func (o *GetProjectOK) SetPayload(payload *models.ExpandedProjects)

SetPayload sets the payload to the get project o k response

func (*GetProjectOK) WithPayload

func (o *GetProjectOK) WithPayload(payload *models.ExpandedProjects) *GetProjectOK

WithPayload adds the payload to the get project o k response

func (*GetProjectOK) WriteResponse

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

WriteResponse to the client

type GetProjectParams

type GetProjectParams struct {

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

	/*Disable sync of upstream repo before reading content
	  In: query
	  Default: false
	*/
	DisableUpstreamSync *bool
	/*Pointer to the next set of items
	  In: query
	*/
	NextPageKey *string
	/*The number of items to return
	  Maximum: 50
	  Minimum: 1
	  In: query
	  Default: 20
	*/
	PageSize *int64
}

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

swagger:parameters GetProject

func NewGetProjectParams

func NewGetProjectParams() GetProjectParams

NewGetProjectParams creates a new GetProjectParams object with the default values initialized.

func (*GetProjectParams) BindRequest

func (o *GetProjectParams) 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 NewGetProjectParams() beforehand.

type GetProjectProjectName

type GetProjectProjectName struct {
	Context *middleware.Context
	Handler GetProjectProjectNameHandler
}

GetProjectProjectName swagger:route GET /project/{projectName} Project getProjectProjectName

Get the specified project

func NewGetProjectProjectName

func NewGetProjectProjectName(ctx *middleware.Context, handler GetProjectProjectNameHandler) *GetProjectProjectName

NewGetProjectProjectName creates a new http.Handler for the get project project name operation

func (*GetProjectProjectName) ServeHTTP

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

type GetProjectProjectNameDefault

type GetProjectProjectNameDefault struct {

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

GetProjectProjectNameDefault Error

swagger:response getProjectProjectNameDefault

func NewGetProjectProjectNameDefault

func NewGetProjectProjectNameDefault(code int) *GetProjectProjectNameDefault

NewGetProjectProjectNameDefault creates GetProjectProjectNameDefault with default headers values

func (*GetProjectProjectNameDefault) SetPayload

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

SetPayload sets the payload to the get project project name default response

func (*GetProjectProjectNameDefault) SetStatusCode

func (o *GetProjectProjectNameDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get project project name default response

func (*GetProjectProjectNameDefault) WithPayload

WithPayload adds the payload to the get project project name default response

func (*GetProjectProjectNameDefault) WithStatusCode

WithStatusCode adds the status to the get project project name default response

func (*GetProjectProjectNameDefault) WriteResponse

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

WriteResponse to the client

type GetProjectProjectNameHandler

type GetProjectProjectNameHandler interface {
	Handle(GetProjectProjectNameParams) middleware.Responder
}

GetProjectProjectNameHandler interface for that can handle valid get project project name params

type GetProjectProjectNameHandlerFunc

type GetProjectProjectNameHandlerFunc func(GetProjectProjectNameParams) middleware.Responder

GetProjectProjectNameHandlerFunc turns a function with the right signature into a get project project name handler

func (GetProjectProjectNameHandlerFunc) Handle

Handle executing the request and returning a response

type GetProjectProjectNameNotFound

type GetProjectProjectNameNotFound struct {

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

GetProjectProjectNameNotFound Failed. Project could not be found.

swagger:response getProjectProjectNameNotFound

func NewGetProjectProjectNameNotFound

func NewGetProjectProjectNameNotFound() *GetProjectProjectNameNotFound

NewGetProjectProjectNameNotFound creates GetProjectProjectNameNotFound with default headers values

func (*GetProjectProjectNameNotFound) SetPayload

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

SetPayload sets the payload to the get project project name not found response

func (*GetProjectProjectNameNotFound) WithPayload

WithPayload adds the payload to the get project project name not found response

func (*GetProjectProjectNameNotFound) WriteResponse

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

WriteResponse to the client

type GetProjectProjectNameOK

type GetProjectProjectNameOK struct {

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

GetProjectProjectNameOK Success

swagger:response getProjectProjectNameOK

func NewGetProjectProjectNameOK

func NewGetProjectProjectNameOK() *GetProjectProjectNameOK

NewGetProjectProjectNameOK creates GetProjectProjectNameOK with default headers values

func (*GetProjectProjectNameOK) SetPayload

func (o *GetProjectProjectNameOK) SetPayload(payload *models.ExpandedProject)

SetPayload sets the payload to the get project project name o k response

func (*GetProjectProjectNameOK) WithPayload

WithPayload adds the payload to the get project project name o k response

func (*GetProjectProjectNameOK) WriteResponse

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

WriteResponse to the client

type GetProjectProjectNameParams

type GetProjectProjectNameParams struct {

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

	/*Name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
}

GetProjectProjectNameParams contains all the bound params for the get project project name operation typically these are obtained from a http.Request

swagger:parameters GetProjectProjectName

func NewGetProjectProjectNameParams

func NewGetProjectProjectNameParams() GetProjectProjectNameParams

NewGetProjectProjectNameParams creates a new GetProjectProjectNameParams object no default values defined in spec.

func (*GetProjectProjectNameParams) 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 NewGetProjectProjectNameParams() beforehand.

type GetProjectProjectNameURL

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

GetProjectProjectNameURL generates an URL for the get project project name operation

func (*GetProjectProjectNameURL) Build

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

Build a url path and query string

func (*GetProjectProjectNameURL) BuildFull

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

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

func (*GetProjectProjectNameURL) Must

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

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

func (*GetProjectProjectNameURL) SetBasePath

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

func (o *GetProjectProjectNameURL) String() string

String returns the string representation of the path with query string

func (*GetProjectProjectNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetProjectProjectNameURL) WithBasePath

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 GetProjectURL

type GetProjectURL struct {
	DisableUpstreamSync *bool
	NextPageKey         *string
	PageSize            *int64
	// contains filtered or unexported fields
}

GetProjectURL generates an URL for the get project operation

func (*GetProjectURL) Build

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

Build a url path and query string

func (*GetProjectURL) BuildFull

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

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

func (*GetProjectURL) Must

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

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

func (*GetProjectURL) SetBasePath

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

func (o *GetProjectURL) String() string

String returns the string representation of the path with query string

func (*GetProjectURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetProjectURL) WithBasePath

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

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 PostProject

type PostProject struct {
	Context *middleware.Context
	Handler PostProjectHandler
}

PostProject swagger:route POST /project Project postProject

INTERNAL Endpoint: Create a new project by project name

func NewPostProject

func NewPostProject(ctx *middleware.Context, handler PostProjectHandler) *PostProject

NewPostProject creates a new http.Handler for the post project operation

func (*PostProject) ServeHTTP

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

type PostProjectBadRequest

type PostProjectBadRequest struct {

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

PostProjectBadRequest Failed. Project could not be created.

swagger:response postProjectBadRequest

func NewPostProjectBadRequest

func NewPostProjectBadRequest() *PostProjectBadRequest

NewPostProjectBadRequest creates PostProjectBadRequest with default headers values

func (*PostProjectBadRequest) SetPayload

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

SetPayload sets the payload to the post project bad request response

func (*PostProjectBadRequest) WithPayload

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

WithPayload adds the payload to the post project bad request response

func (*PostProjectBadRequest) WriteResponse

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

WriteResponse to the client

type PostProjectDefault

type PostProjectDefault struct {

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

PostProjectDefault Error

swagger:response postProjectDefault

func NewPostProjectDefault

func NewPostProjectDefault(code int) *PostProjectDefault

NewPostProjectDefault creates PostProjectDefault with default headers values

func (*PostProjectDefault) SetPayload

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

SetPayload sets the payload to the post project default response

func (*PostProjectDefault) SetStatusCode

func (o *PostProjectDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post project default response

func (*PostProjectDefault) WithPayload

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

WithPayload adds the payload to the post project default response

func (*PostProjectDefault) WithStatusCode

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

WithStatusCode adds the status to the post project default response

func (*PostProjectDefault) WriteResponse

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

WriteResponse to the client

type PostProjectHandler

type PostProjectHandler interface {
	Handle(PostProjectParams) middleware.Responder
}

PostProjectHandler interface for that can handle valid post project params

type PostProjectHandlerFunc

type PostProjectHandlerFunc func(PostProjectParams) middleware.Responder

PostProjectHandlerFunc turns a function with the right signature into a post project handler

func (PostProjectHandlerFunc) Handle

Handle executing the request and returning a response

type PostProjectNoContent

type PostProjectNoContent struct {
}

PostProjectNoContent Success. Project has been created. Response does not have a body.

swagger:response postProjectNoContent

func NewPostProjectNoContent

func NewPostProjectNoContent() *PostProjectNoContent

NewPostProjectNoContent creates PostProjectNoContent with default headers values

func (*PostProjectNoContent) WriteResponse

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

WriteResponse to the client

type PostProjectParams

type PostProjectParams struct {

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

	/*Project entity
	  In: body
	*/
	Project *models.Project
}

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

swagger:parameters PostProject

func NewPostProjectParams

func NewPostProjectParams() PostProjectParams

NewPostProjectParams creates a new PostProjectParams object no default values defined in spec.

func (*PostProjectParams) BindRequest

func (o *PostProjectParams) 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 NewPostProjectParams() beforehand.

type PostProjectURL

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

PostProjectURL generates an URL for the post project operation

func (*PostProjectURL) Build

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

Build a url path and query string

func (*PostProjectURL) BuildFull

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

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

func (*PostProjectURL) Must

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

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

func (*PostProjectURL) SetBasePath

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

func (o *PostProjectURL) String() string

String returns the string representation of the path with query string

func (*PostProjectURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostProjectURL) WithBasePath

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

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 PutProjectProjectName

type PutProjectProjectName struct {
	Context *middleware.Context
	Handler PutProjectProjectNameHandler
}

PutProjectProjectName swagger:route PUT /project/{projectName} Project putProjectProjectName

INTERNAL Endpoint: Update the specified project

func NewPutProjectProjectName

func NewPutProjectProjectName(ctx *middleware.Context, handler PutProjectProjectNameHandler) *PutProjectProjectName

NewPutProjectProjectName creates a new http.Handler for the put project project name operation

func (*PutProjectProjectName) ServeHTTP

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

type PutProjectProjectNameBadRequest

type PutProjectProjectNameBadRequest struct {

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

PutProjectProjectNameBadRequest Failed. Project could not be updated.

swagger:response putProjectProjectNameBadRequest

func NewPutProjectProjectNameBadRequest

func NewPutProjectProjectNameBadRequest() *PutProjectProjectNameBadRequest

NewPutProjectProjectNameBadRequest creates PutProjectProjectNameBadRequest with default headers values

func (*PutProjectProjectNameBadRequest) SetPayload

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

SetPayload sets the payload to the put project project name bad request response

func (*PutProjectProjectNameBadRequest) WithPayload

WithPayload adds the payload to the put project project name bad request response

func (*PutProjectProjectNameBadRequest) WriteResponse

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

WriteResponse to the client

type PutProjectProjectNameDefault

type PutProjectProjectNameDefault struct {

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

PutProjectProjectNameDefault Error

swagger:response putProjectProjectNameDefault

func NewPutProjectProjectNameDefault

func NewPutProjectProjectNameDefault(code int) *PutProjectProjectNameDefault

NewPutProjectProjectNameDefault creates PutProjectProjectNameDefault with default headers values

func (*PutProjectProjectNameDefault) SetPayload

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

SetPayload sets the payload to the put project project name default response

func (*PutProjectProjectNameDefault) SetStatusCode

func (o *PutProjectProjectNameDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put project project name default response

func (*PutProjectProjectNameDefault) WithPayload

WithPayload adds the payload to the put project project name default response

func (*PutProjectProjectNameDefault) WithStatusCode

WithStatusCode adds the status to the put project project name default response

func (*PutProjectProjectNameDefault) WriteResponse

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

WriteResponse to the client

type PutProjectProjectNameHandler

type PutProjectProjectNameHandler interface {
	Handle(PutProjectProjectNameParams) middleware.Responder
}

PutProjectProjectNameHandler interface for that can handle valid put project project name params

type PutProjectProjectNameHandlerFunc

type PutProjectProjectNameHandlerFunc func(PutProjectProjectNameParams) middleware.Responder

PutProjectProjectNameHandlerFunc turns a function with the right signature into a put project project name handler

func (PutProjectProjectNameHandlerFunc) Handle

Handle executing the request and returning a response

type PutProjectProjectNameNoContent

type PutProjectProjectNameNoContent struct {
}

PutProjectProjectNameNoContent Success. Project has been updated. Response does not have a body.

swagger:response putProjectProjectNameNoContent

func NewPutProjectProjectNameNoContent

func NewPutProjectProjectNameNoContent() *PutProjectProjectNameNoContent

NewPutProjectProjectNameNoContent creates PutProjectProjectNameNoContent with default headers values

func (*PutProjectProjectNameNoContent) WriteResponse

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

WriteResponse to the client

type PutProjectProjectNameParams

type PutProjectProjectNameParams struct {

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

	/*Project entity
	  In: body
	*/
	Project *models.Project
	/*Name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
}

PutProjectProjectNameParams contains all the bound params for the put project project name operation typically these are obtained from a http.Request

swagger:parameters PutProjectProjectName

func NewPutProjectProjectNameParams

func NewPutProjectProjectNameParams() PutProjectProjectNameParams

NewPutProjectProjectNameParams creates a new PutProjectProjectNameParams object no default values defined in spec.

func (*PutProjectProjectNameParams) 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 NewPutProjectProjectNameParams() beforehand.

type PutProjectProjectNameURL

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

PutProjectProjectNameURL generates an URL for the put project project name operation

func (*PutProjectProjectNameURL) Build

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

Build a url path and query string

func (*PutProjectProjectNameURL) BuildFull

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

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

func (*PutProjectProjectNameURL) Must

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

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

func (*PutProjectProjectNameURL) SetBasePath

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

func (o *PutProjectProjectNameURL) String() string

String returns the string representation of the path with query string

func (*PutProjectProjectNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PutProjectProjectNameURL) WithBasePath

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