project_resource

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteProjectProjectNameResourceResourceURIBadRequestCode int = 400

DeleteProjectProjectNameResourceResourceURIBadRequestCode is the HTTP code returned for type DeleteProjectProjectNameResourceResourceURIBadRequest

View Source
const DeleteProjectProjectNameResourceResourceURINoContentCode int = 204

DeleteProjectProjectNameResourceResourceURINoContentCode is the HTTP code returned for type DeleteProjectProjectNameResourceResourceURINoContent

View Source
const GetProjectProjectNameResourceNotFoundCode int = 404

GetProjectProjectNameResourceNotFoundCode is the HTTP code returned for type GetProjectProjectNameResourceNotFound

View Source
const GetProjectProjectNameResourceOKCode int = 200

GetProjectProjectNameResourceOKCode is the HTTP code returned for type GetProjectProjectNameResourceOK

View Source
const GetProjectProjectNameResourceResourceURINotFoundCode int = 404

GetProjectProjectNameResourceResourceURINotFoundCode is the HTTP code returned for type GetProjectProjectNameResourceResourceURINotFound

View Source
const GetProjectProjectNameResourceResourceURIOKCode int = 200

GetProjectProjectNameResourceResourceURIOKCode is the HTTP code returned for type GetProjectProjectNameResourceResourceURIOK

View Source
const PostProjectProjectNameResourceBadRequestCode int = 400

PostProjectProjectNameResourceBadRequestCode is the HTTP code returned for type PostProjectProjectNameResourceBadRequest

View Source
const PostProjectProjectNameResourceCreatedCode int = 201

PostProjectProjectNameResourceCreatedCode is the HTTP code returned for type PostProjectProjectNameResourceCreated

View Source
const PutProjectProjectNameResourceBadRequestCode int = 400

PutProjectProjectNameResourceBadRequestCode is the HTTP code returned for type PutProjectProjectNameResourceBadRequest

View Source
const PutProjectProjectNameResourceCreatedCode int = 201

PutProjectProjectNameResourceCreatedCode is the HTTP code returned for type PutProjectProjectNameResourceCreated

View Source
const PutProjectProjectNameResourceResourceURIBadRequestCode int = 400

PutProjectProjectNameResourceResourceURIBadRequestCode is the HTTP code returned for type PutProjectProjectNameResourceResourceURIBadRequest

View Source
const PutProjectProjectNameResourceResourceURICreatedCode int = 201

PutProjectProjectNameResourceResourceURICreatedCode is the HTTP code returned for type PutProjectProjectNameResourceResourceURICreated

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteProjectProjectNameResourceResourceURI

type DeleteProjectProjectNameResourceResourceURI struct {
	Context *middleware.Context
	Handler DeleteProjectProjectNameResourceResourceURIHandler
}

DeleteProjectProjectNameResourceResourceURI swagger:route DELETE /project/{projectName}/resource/{resourceURI} Project Resource deleteProjectProjectNameResourceResourceUri

Delete the specified resource

func NewDeleteProjectProjectNameResourceResourceURI

NewDeleteProjectProjectNameResourceResourceURI creates a new http.Handler for the delete project project name resource resource URI operation

func (*DeleteProjectProjectNameResourceResourceURI) ServeHTTP

type DeleteProjectProjectNameResourceResourceURIBadRequest

type DeleteProjectProjectNameResourceResourceURIBadRequest struct {

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

DeleteProjectProjectNameResourceResourceURIBadRequest Failed. Project resource could not be deleted.

swagger:response deleteProjectProjectNameResourceResourceUriBadRequest

func NewDeleteProjectProjectNameResourceResourceURIBadRequest

func NewDeleteProjectProjectNameResourceResourceURIBadRequest() *DeleteProjectProjectNameResourceResourceURIBadRequest

NewDeleteProjectProjectNameResourceResourceURIBadRequest creates DeleteProjectProjectNameResourceResourceURIBadRequest with default headers values

func (*DeleteProjectProjectNameResourceResourceURIBadRequest) SetPayload

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

func (*DeleteProjectProjectNameResourceResourceURIBadRequest) WithPayload

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

func (*DeleteProjectProjectNameResourceResourceURIBadRequest) WriteResponse

WriteResponse to the client

type DeleteProjectProjectNameResourceResourceURIDefault

type DeleteProjectProjectNameResourceResourceURIDefault struct {

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

DeleteProjectProjectNameResourceResourceURIDefault Error

swagger:response deleteProjectProjectNameResourceResourceUriDefault

func NewDeleteProjectProjectNameResourceResourceURIDefault

func NewDeleteProjectProjectNameResourceResourceURIDefault(code int) *DeleteProjectProjectNameResourceResourceURIDefault

NewDeleteProjectProjectNameResourceResourceURIDefault creates DeleteProjectProjectNameResourceResourceURIDefault with default headers values

func (*DeleteProjectProjectNameResourceResourceURIDefault) SetPayload

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

func (*DeleteProjectProjectNameResourceResourceURIDefault) SetStatusCode

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

func (*DeleteProjectProjectNameResourceResourceURIDefault) WithPayload

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

func (*DeleteProjectProjectNameResourceResourceURIDefault) WithStatusCode

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

func (*DeleteProjectProjectNameResourceResourceURIDefault) WriteResponse

WriteResponse to the client

type DeleteProjectProjectNameResourceResourceURIHandler

type DeleteProjectProjectNameResourceResourceURIHandler interface {
	Handle(DeleteProjectProjectNameResourceResourceURIParams) middleware.Responder
}

DeleteProjectProjectNameResourceResourceURIHandler interface for that can handle valid delete project project name resource resource URI params

type DeleteProjectProjectNameResourceResourceURIHandlerFunc

type DeleteProjectProjectNameResourceResourceURIHandlerFunc func(DeleteProjectProjectNameResourceResourceURIParams) middleware.Responder

DeleteProjectProjectNameResourceResourceURIHandlerFunc turns a function with the right signature into a delete project project name resource resource URI handler

func (DeleteProjectProjectNameResourceResourceURIHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteProjectProjectNameResourceResourceURINoContent

type DeleteProjectProjectNameResourceResourceURINoContent struct {

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

DeleteProjectProjectNameResourceResourceURINoContent Success. Project resource has been deleted.

swagger:response deleteProjectProjectNameResourceResourceUriNoContent

func NewDeleteProjectProjectNameResourceResourceURINoContent

func NewDeleteProjectProjectNameResourceResourceURINoContent() *DeleteProjectProjectNameResourceResourceURINoContent

NewDeleteProjectProjectNameResourceResourceURINoContent creates DeleteProjectProjectNameResourceResourceURINoContent with default headers values

func (*DeleteProjectProjectNameResourceResourceURINoContent) SetPayload

SetPayload sets the payload to the delete project project name resource resource Uri no content response

func (*DeleteProjectProjectNameResourceResourceURINoContent) WithPayload

WithPayload adds the payload to the delete project project name resource resource Uri no content response

func (*DeleteProjectProjectNameResourceResourceURINoContent) WriteResponse

WriteResponse to the client

type DeleteProjectProjectNameResourceResourceURIParams

type DeleteProjectProjectNameResourceResourceURIParams struct {

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

	/*Disable sync of upstream repo before reading content
	  In: query
	  Default: false
	*/
	DisableUpstreamSync *bool
	/*Name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
	/*Resource URI
	  Required: true
	  In: path
	*/
	ResourceURI string
}

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

swagger:parameters DeleteProjectProjectNameResourceResourceURI

func NewDeleteProjectProjectNameResourceResourceURIParams

func NewDeleteProjectProjectNameResourceResourceURIParams() DeleteProjectProjectNameResourceResourceURIParams

NewDeleteProjectProjectNameResourceResourceURIParams creates a new DeleteProjectProjectNameResourceResourceURIParams object with the default values initialized.

func (*DeleteProjectProjectNameResourceResourceURIParams) 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 NewDeleteProjectProjectNameResourceResourceURIParams() beforehand.

type DeleteProjectProjectNameResourceResourceURIURL

type DeleteProjectProjectNameResourceResourceURIURL struct {
	ProjectName string
	ResourceURI string

	DisableUpstreamSync *bool
	// contains filtered or unexported fields
}

DeleteProjectProjectNameResourceResourceURIURL generates an URL for the delete project project name resource resource URI operation

func (*DeleteProjectProjectNameResourceResourceURIURL) Build

Build a url path and query string

func (*DeleteProjectProjectNameResourceResourceURIURL) BuildFull

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

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

func (*DeleteProjectProjectNameResourceResourceURIURL) Must

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

func (*DeleteProjectProjectNameResourceResourceURIURL) SetBasePath

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 (*DeleteProjectProjectNameResourceResourceURIURL) String

String returns the string representation of the path with query string

func (*DeleteProjectProjectNameResourceResourceURIURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteProjectProjectNameResourceResourceURIURL) 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 GetProjectProjectNameResource

type GetProjectProjectNameResource struct {
	Context *middleware.Context
	Handler GetProjectProjectNameResourceHandler
}

GetProjectProjectNameResource swagger:route GET /project/{projectName}/resource Project Resource getProjectProjectNameResource

Get list of project resources

func NewGetProjectProjectNameResource

func NewGetProjectProjectNameResource(ctx *middleware.Context, handler GetProjectProjectNameResourceHandler) *GetProjectProjectNameResource

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

func (*GetProjectProjectNameResource) ServeHTTP

type GetProjectProjectNameResourceDefault

type GetProjectProjectNameResourceDefault struct {

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

GetProjectProjectNameResourceDefault Error

swagger:response getProjectProjectNameResourceDefault

func NewGetProjectProjectNameResourceDefault

func NewGetProjectProjectNameResourceDefault(code int) *GetProjectProjectNameResourceDefault

NewGetProjectProjectNameResourceDefault creates GetProjectProjectNameResourceDefault with default headers values

func (*GetProjectProjectNameResourceDefault) SetPayload

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

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

func (*GetProjectProjectNameResourceDefault) SetStatusCode

func (o *GetProjectProjectNameResourceDefault) SetStatusCode(code int)

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

func (*GetProjectProjectNameResourceDefault) WithPayload

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

func (*GetProjectProjectNameResourceDefault) WithStatusCode

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

func (*GetProjectProjectNameResourceDefault) WriteResponse

WriteResponse to the client

type GetProjectProjectNameResourceHandler

type GetProjectProjectNameResourceHandler interface {
	Handle(GetProjectProjectNameResourceParams) middleware.Responder
}

GetProjectProjectNameResourceHandler interface for that can handle valid get project project name resource params

type GetProjectProjectNameResourceHandlerFunc

type GetProjectProjectNameResourceHandlerFunc func(GetProjectProjectNameResourceParams) middleware.Responder

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

func (GetProjectProjectNameResourceHandlerFunc) Handle

Handle executing the request and returning a response

type GetProjectProjectNameResourceNotFound

type GetProjectProjectNameResourceNotFound struct {

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

GetProjectProjectNameResourceNotFound Failed. Containing project could not be found.

swagger:response getProjectProjectNameResourceNotFound

func NewGetProjectProjectNameResourceNotFound

func NewGetProjectProjectNameResourceNotFound() *GetProjectProjectNameResourceNotFound

NewGetProjectProjectNameResourceNotFound creates GetProjectProjectNameResourceNotFound with default headers values

func (*GetProjectProjectNameResourceNotFound) SetPayload

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

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

func (*GetProjectProjectNameResourceNotFound) WithPayload

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

func (*GetProjectProjectNameResourceNotFound) WriteResponse

WriteResponse to the client

type GetProjectProjectNameResourceOK

type GetProjectProjectNameResourceOK struct {

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

GetProjectProjectNameResourceOK Success

swagger:response getProjectProjectNameResourceOK

func NewGetProjectProjectNameResourceOK

func NewGetProjectProjectNameResourceOK() *GetProjectProjectNameResourceOK

NewGetProjectProjectNameResourceOK creates GetProjectProjectNameResourceOK with default headers values

func (*GetProjectProjectNameResourceOK) SetPayload

func (o *GetProjectProjectNameResourceOK) SetPayload(payload *models.Resources)

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

func (*GetProjectProjectNameResourceOK) WithPayload

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

func (*GetProjectProjectNameResourceOK) WriteResponse

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

WriteResponse to the client

type GetProjectProjectNameResourceParams

type GetProjectProjectNameResourceParams 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
	/*Name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
}

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

swagger:parameters GetProjectProjectNameResource

func NewGetProjectProjectNameResourceParams

func NewGetProjectProjectNameResourceParams() GetProjectProjectNameResourceParams

NewGetProjectProjectNameResourceParams creates a new GetProjectProjectNameResourceParams object with the default values initialized.

func (*GetProjectProjectNameResourceParams) 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 NewGetProjectProjectNameResourceParams() beforehand.

type GetProjectProjectNameResourceResourceURI

type GetProjectProjectNameResourceResourceURI struct {
	Context *middleware.Context
	Handler GetProjectProjectNameResourceResourceURIHandler
}

GetProjectProjectNameResourceResourceURI swagger:route GET /project/{projectName}/resource/{resourceURI} Project Resource getProjectProjectNameResourceResourceUri

Get the specified resource

func NewGetProjectProjectNameResourceResourceURI

func NewGetProjectProjectNameResourceResourceURI(ctx *middleware.Context, handler GetProjectProjectNameResourceResourceURIHandler) *GetProjectProjectNameResourceResourceURI

NewGetProjectProjectNameResourceResourceURI creates a new http.Handler for the get project project name resource resource URI operation

func (*GetProjectProjectNameResourceResourceURI) ServeHTTP

type GetProjectProjectNameResourceResourceURIDefault

type GetProjectProjectNameResourceResourceURIDefault struct {

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

GetProjectProjectNameResourceResourceURIDefault Error

swagger:response getProjectProjectNameResourceResourceUriDefault

func NewGetProjectProjectNameResourceResourceURIDefault

func NewGetProjectProjectNameResourceResourceURIDefault(code int) *GetProjectProjectNameResourceResourceURIDefault

NewGetProjectProjectNameResourceResourceURIDefault creates GetProjectProjectNameResourceResourceURIDefault with default headers values

func (*GetProjectProjectNameResourceResourceURIDefault) SetPayload

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

func (*GetProjectProjectNameResourceResourceURIDefault) SetStatusCode

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

func (*GetProjectProjectNameResourceResourceURIDefault) WithPayload

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

func (*GetProjectProjectNameResourceResourceURIDefault) WithStatusCode

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

func (*GetProjectProjectNameResourceResourceURIDefault) WriteResponse

WriteResponse to the client

type GetProjectProjectNameResourceResourceURIHandler

type GetProjectProjectNameResourceResourceURIHandler interface {
	Handle(GetProjectProjectNameResourceResourceURIParams) middleware.Responder
}

GetProjectProjectNameResourceResourceURIHandler interface for that can handle valid get project project name resource resource URI params

type GetProjectProjectNameResourceResourceURIHandlerFunc

type GetProjectProjectNameResourceResourceURIHandlerFunc func(GetProjectProjectNameResourceResourceURIParams) middleware.Responder

GetProjectProjectNameResourceResourceURIHandlerFunc turns a function with the right signature into a get project project name resource resource URI handler

func (GetProjectProjectNameResourceResourceURIHandlerFunc) Handle

Handle executing the request and returning a response

type GetProjectProjectNameResourceResourceURINotFound

type GetProjectProjectNameResourceResourceURINotFound struct {

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

GetProjectProjectNameResourceResourceURINotFound Failed. Project resource could not be found.

swagger:response getProjectProjectNameResourceResourceUriNotFound

func NewGetProjectProjectNameResourceResourceURINotFound

func NewGetProjectProjectNameResourceResourceURINotFound() *GetProjectProjectNameResourceResourceURINotFound

NewGetProjectProjectNameResourceResourceURINotFound creates GetProjectProjectNameResourceResourceURINotFound with default headers values

func (*GetProjectProjectNameResourceResourceURINotFound) SetPayload

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

func (*GetProjectProjectNameResourceResourceURINotFound) WithPayload

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

func (*GetProjectProjectNameResourceResourceURINotFound) WriteResponse

WriteResponse to the client

type GetProjectProjectNameResourceResourceURIOK

type GetProjectProjectNameResourceResourceURIOK struct {

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

GetProjectProjectNameResourceResourceURIOK Success

swagger:response getProjectProjectNameResourceResourceUriOK

func NewGetProjectProjectNameResourceResourceURIOK

func NewGetProjectProjectNameResourceResourceURIOK() *GetProjectProjectNameResourceResourceURIOK

NewGetProjectProjectNameResourceResourceURIOK creates GetProjectProjectNameResourceResourceURIOK with default headers values

func (*GetProjectProjectNameResourceResourceURIOK) SetPayload

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

func (*GetProjectProjectNameResourceResourceURIOK) WithPayload

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

func (*GetProjectProjectNameResourceResourceURIOK) WriteResponse

WriteResponse to the client

type GetProjectProjectNameResourceResourceURIParams

type GetProjectProjectNameResourceResourceURIParams struct {

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

	/*Disable sync of upstream repo before reading content
	  In: query
	  Default: false
	*/
	DisableUpstreamSync *bool
	/*Name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
	/*Resource URI
	  Required: true
	  In: path
	*/
	ResourceURI string
}

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

swagger:parameters GetProjectProjectNameResourceResourceURI

func NewGetProjectProjectNameResourceResourceURIParams

func NewGetProjectProjectNameResourceResourceURIParams() GetProjectProjectNameResourceResourceURIParams

NewGetProjectProjectNameResourceResourceURIParams creates a new GetProjectProjectNameResourceResourceURIParams object with the default values initialized.

func (*GetProjectProjectNameResourceResourceURIParams) 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 NewGetProjectProjectNameResourceResourceURIParams() beforehand.

type GetProjectProjectNameResourceResourceURIURL

type GetProjectProjectNameResourceResourceURIURL struct {
	ProjectName string
	ResourceURI string

	DisableUpstreamSync *bool
	// contains filtered or unexported fields
}

GetProjectProjectNameResourceResourceURIURL generates an URL for the get project project name resource resource URI operation

func (*GetProjectProjectNameResourceResourceURIURL) Build

Build a url path and query string

func (*GetProjectProjectNameResourceResourceURIURL) BuildFull

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

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

func (*GetProjectProjectNameResourceResourceURIURL) Must

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

func (*GetProjectProjectNameResourceResourceURIURL) SetBasePath

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 (*GetProjectProjectNameResourceResourceURIURL) String

String returns the string representation of the path with query string

func (*GetProjectProjectNameResourceResourceURIURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetProjectProjectNameResourceResourceURIURL) 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 GetProjectProjectNameResourceURL

type GetProjectProjectNameResourceURL struct {
	ProjectName string

	DisableUpstreamSync *bool
	NextPageKey         *string
	PageSize            *int64
	// contains filtered or unexported fields
}

GetProjectProjectNameResourceURL generates an URL for the get project project name resource operation

func (*GetProjectProjectNameResourceURL) Build

Build a url path and query string

func (*GetProjectProjectNameResourceURL) BuildFull

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

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

func (*GetProjectProjectNameResourceURL) Must

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

func (*GetProjectProjectNameResourceURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetProjectProjectNameResourceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetProjectProjectNameResourceURL) 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 PostProjectProjectNameResource

type PostProjectProjectNameResource struct {
	Context *middleware.Context
	Handler PostProjectProjectNameResourceHandler
}

PostProjectProjectNameResource swagger:route POST /project/{projectName}/resource Project Resource postProjectProjectNameResource

Create list of new resources for the project

func NewPostProjectProjectNameResource

func NewPostProjectProjectNameResource(ctx *middleware.Context, handler PostProjectProjectNameResourceHandler) *PostProjectProjectNameResource

NewPostProjectProjectNameResource creates a new http.Handler for the post project project name resource operation

func (*PostProjectProjectNameResource) ServeHTTP

type PostProjectProjectNameResourceBadRequest

type PostProjectProjectNameResourceBadRequest struct {

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

PostProjectProjectNameResourceBadRequest Failed. Project resource could not be created.

swagger:response postProjectProjectNameResourceBadRequest

func NewPostProjectProjectNameResourceBadRequest

func NewPostProjectProjectNameResourceBadRequest() *PostProjectProjectNameResourceBadRequest

NewPostProjectProjectNameResourceBadRequest creates PostProjectProjectNameResourceBadRequest with default headers values

func (*PostProjectProjectNameResourceBadRequest) SetPayload

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

SetPayload sets the payload to the post project project name resource bad request response

func (*PostProjectProjectNameResourceBadRequest) WithPayload

WithPayload adds the payload to the post project project name resource bad request response

func (*PostProjectProjectNameResourceBadRequest) WriteResponse

WriteResponse to the client

type PostProjectProjectNameResourceBody

type PostProjectProjectNameResourceBody struct {

	// resources
	Resources []*models.Resource `json:"resources"`
}

PostProjectProjectNameResourceBody post project project name resource body

swagger:model PostProjectProjectNameResourceBody

func (*PostProjectProjectNameResourceBody) MarshalBinary

func (o *PostProjectProjectNameResourceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostProjectProjectNameResourceBody) UnmarshalBinary

func (o *PostProjectProjectNameResourceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostProjectProjectNameResourceBody) Validate

Validate validates this post project project name resource body

type PostProjectProjectNameResourceCreated

type PostProjectProjectNameResourceCreated struct {

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

PostProjectProjectNameResourceCreated Success. Project resource has been created. The version of the new configuration is returned.

swagger:response postProjectProjectNameResourceCreated

func NewPostProjectProjectNameResourceCreated

func NewPostProjectProjectNameResourceCreated() *PostProjectProjectNameResourceCreated

NewPostProjectProjectNameResourceCreated creates PostProjectProjectNameResourceCreated with default headers values

func (*PostProjectProjectNameResourceCreated) SetPayload

func (o *PostProjectProjectNameResourceCreated) SetPayload(payload *models.Version)

SetPayload sets the payload to the post project project name resource created response

func (*PostProjectProjectNameResourceCreated) WithPayload

WithPayload adds the payload to the post project project name resource created response

func (*PostProjectProjectNameResourceCreated) WriteResponse

WriteResponse to the client

type PostProjectProjectNameResourceDefault

type PostProjectProjectNameResourceDefault struct {

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

PostProjectProjectNameResourceDefault Error

swagger:response postProjectProjectNameResourceDefault

func NewPostProjectProjectNameResourceDefault

func NewPostProjectProjectNameResourceDefault(code int) *PostProjectProjectNameResourceDefault

NewPostProjectProjectNameResourceDefault creates PostProjectProjectNameResourceDefault with default headers values

func (*PostProjectProjectNameResourceDefault) SetPayload

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

SetPayload sets the payload to the post project project name resource default response

func (*PostProjectProjectNameResourceDefault) SetStatusCode

func (o *PostProjectProjectNameResourceDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post project project name resource default response

func (*PostProjectProjectNameResourceDefault) WithPayload

WithPayload adds the payload to the post project project name resource default response

func (*PostProjectProjectNameResourceDefault) WithStatusCode

WithStatusCode adds the status to the post project project name resource default response

func (*PostProjectProjectNameResourceDefault) WriteResponse

WriteResponse to the client

type PostProjectProjectNameResourceHandler

type PostProjectProjectNameResourceHandler interface {
	Handle(PostProjectProjectNameResourceParams) middleware.Responder
}

PostProjectProjectNameResourceHandler interface for that can handle valid post project project name resource params

type PostProjectProjectNameResourceHandlerFunc

type PostProjectProjectNameResourceHandlerFunc func(PostProjectProjectNameResourceParams) middleware.Responder

PostProjectProjectNameResourceHandlerFunc turns a function with the right signature into a post project project name resource handler

func (PostProjectProjectNameResourceHandlerFunc) Handle

Handle executing the request and returning a response

type PostProjectProjectNameResourceParams

type PostProjectProjectNameResourceParams struct {

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

	/*Name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
	/*List of resources
	  In: body
	*/
	Resources PostProjectProjectNameResourceBody
}

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

swagger:parameters PostProjectProjectNameResource

func NewPostProjectProjectNameResourceParams

func NewPostProjectProjectNameResourceParams() PostProjectProjectNameResourceParams

NewPostProjectProjectNameResourceParams creates a new PostProjectProjectNameResourceParams object no default values defined in spec.

func (*PostProjectProjectNameResourceParams) 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 NewPostProjectProjectNameResourceParams() beforehand.

type PostProjectProjectNameResourceURL

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

PostProjectProjectNameResourceURL generates an URL for the post project project name resource operation

func (*PostProjectProjectNameResourceURL) Build

Build a url path and query string

func (*PostProjectProjectNameResourceURL) BuildFull

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

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

func (*PostProjectProjectNameResourceURL) Must

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

func (*PostProjectProjectNameResourceURL) SetBasePath

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

String returns the string representation of the path with query string

func (*PostProjectProjectNameResourceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostProjectProjectNameResourceURL) 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 PutProjectProjectNameResource

type PutProjectProjectNameResource struct {
	Context *middleware.Context
	Handler PutProjectProjectNameResourceHandler
}

PutProjectProjectNameResource swagger:route PUT /project/{projectName}/resource Project Resource putProjectProjectNameResource

Update list of project resources

func NewPutProjectProjectNameResource

func NewPutProjectProjectNameResource(ctx *middleware.Context, handler PutProjectProjectNameResourceHandler) *PutProjectProjectNameResource

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

func (*PutProjectProjectNameResource) ServeHTTP

type PutProjectProjectNameResourceBadRequest

type PutProjectProjectNameResourceBadRequest struct {

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

PutProjectProjectNameResourceBadRequest Failed. Project resources could not be updated.

swagger:response putProjectProjectNameResourceBadRequest

func NewPutProjectProjectNameResourceBadRequest

func NewPutProjectProjectNameResourceBadRequest() *PutProjectProjectNameResourceBadRequest

NewPutProjectProjectNameResourceBadRequest creates PutProjectProjectNameResourceBadRequest with default headers values

func (*PutProjectProjectNameResourceBadRequest) SetPayload

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

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

func (*PutProjectProjectNameResourceBadRequest) WithPayload

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

func (*PutProjectProjectNameResourceBadRequest) WriteResponse

WriteResponse to the client

type PutProjectProjectNameResourceBody

type PutProjectProjectNameResourceBody struct {

	// resources
	Resources []*models.Resource `json:"resources"`
}

PutProjectProjectNameResourceBody put project project name resource body

swagger:model PutProjectProjectNameResourceBody

func (*PutProjectProjectNameResourceBody) MarshalBinary

func (o *PutProjectProjectNameResourceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutProjectProjectNameResourceBody) UnmarshalBinary

func (o *PutProjectProjectNameResourceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutProjectProjectNameResourceBody) Validate

Validate validates this put project project name resource body

type PutProjectProjectNameResourceCreated

type PutProjectProjectNameResourceCreated struct {

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

PutProjectProjectNameResourceCreated Success. Project resources have been updated. The version of the new configuration is returned.

swagger:response putProjectProjectNameResourceCreated

func NewPutProjectProjectNameResourceCreated

func NewPutProjectProjectNameResourceCreated() *PutProjectProjectNameResourceCreated

NewPutProjectProjectNameResourceCreated creates PutProjectProjectNameResourceCreated with default headers values

func (*PutProjectProjectNameResourceCreated) SetPayload

func (o *PutProjectProjectNameResourceCreated) SetPayload(payload *models.Version)

SetPayload sets the payload to the put project project name resource created response

func (*PutProjectProjectNameResourceCreated) WithPayload

WithPayload adds the payload to the put project project name resource created response

func (*PutProjectProjectNameResourceCreated) WriteResponse

WriteResponse to the client

type PutProjectProjectNameResourceDefault

type PutProjectProjectNameResourceDefault struct {

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

PutProjectProjectNameResourceDefault Error

swagger:response putProjectProjectNameResourceDefault

func NewPutProjectProjectNameResourceDefault

func NewPutProjectProjectNameResourceDefault(code int) *PutProjectProjectNameResourceDefault

NewPutProjectProjectNameResourceDefault creates PutProjectProjectNameResourceDefault with default headers values

func (*PutProjectProjectNameResourceDefault) SetPayload

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

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

func (*PutProjectProjectNameResourceDefault) SetStatusCode

func (o *PutProjectProjectNameResourceDefault) SetStatusCode(code int)

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

func (*PutProjectProjectNameResourceDefault) WithPayload

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

func (*PutProjectProjectNameResourceDefault) WithStatusCode

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

func (*PutProjectProjectNameResourceDefault) WriteResponse

WriteResponse to the client

type PutProjectProjectNameResourceHandler

type PutProjectProjectNameResourceHandler interface {
	Handle(PutProjectProjectNameResourceParams) middleware.Responder
}

PutProjectProjectNameResourceHandler interface for that can handle valid put project project name resource params

type PutProjectProjectNameResourceHandlerFunc

type PutProjectProjectNameResourceHandlerFunc func(PutProjectProjectNameResourceParams) middleware.Responder

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

func (PutProjectProjectNameResourceHandlerFunc) Handle

Handle executing the request and returning a response

type PutProjectProjectNameResourceParams

type PutProjectProjectNameResourceParams struct {

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

	/*Name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
	/*List of resources
	  In: body
	*/
	Resources PutProjectProjectNameResourceBody
}

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

swagger:parameters PutProjectProjectNameResource

func NewPutProjectProjectNameResourceParams

func NewPutProjectProjectNameResourceParams() PutProjectProjectNameResourceParams

NewPutProjectProjectNameResourceParams creates a new PutProjectProjectNameResourceParams object no default values defined in spec.

func (*PutProjectProjectNameResourceParams) 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 NewPutProjectProjectNameResourceParams() beforehand.

type PutProjectProjectNameResourceResourceURI

type PutProjectProjectNameResourceResourceURI struct {
	Context *middleware.Context
	Handler PutProjectProjectNameResourceResourceURIHandler
}

PutProjectProjectNameResourceResourceURI swagger:route PUT /project/{projectName}/resource/{resourceURI} Project Resource putProjectProjectNameResourceResourceUri

Update the specified resource

func NewPutProjectProjectNameResourceResourceURI

func NewPutProjectProjectNameResourceResourceURI(ctx *middleware.Context, handler PutProjectProjectNameResourceResourceURIHandler) *PutProjectProjectNameResourceResourceURI

NewPutProjectProjectNameResourceResourceURI creates a new http.Handler for the put project project name resource resource URI operation

func (*PutProjectProjectNameResourceResourceURI) ServeHTTP

type PutProjectProjectNameResourceResourceURIBadRequest

type PutProjectProjectNameResourceResourceURIBadRequest struct {

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

PutProjectProjectNameResourceResourceURIBadRequest Failed. Project resource could not be updated.

swagger:response putProjectProjectNameResourceResourceUriBadRequest

func NewPutProjectProjectNameResourceResourceURIBadRequest

func NewPutProjectProjectNameResourceResourceURIBadRequest() *PutProjectProjectNameResourceResourceURIBadRequest

NewPutProjectProjectNameResourceResourceURIBadRequest creates PutProjectProjectNameResourceResourceURIBadRequest with default headers values

func (*PutProjectProjectNameResourceResourceURIBadRequest) SetPayload

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

func (*PutProjectProjectNameResourceResourceURIBadRequest) WithPayload

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

func (*PutProjectProjectNameResourceResourceURIBadRequest) WriteResponse

WriteResponse to the client

type PutProjectProjectNameResourceResourceURICreated

type PutProjectProjectNameResourceResourceURICreated struct {

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

PutProjectProjectNameResourceResourceURICreated Success. Project resource has been updated. The version of the new configuration is returned.

swagger:response putProjectProjectNameResourceResourceUriCreated

func NewPutProjectProjectNameResourceResourceURICreated

func NewPutProjectProjectNameResourceResourceURICreated() *PutProjectProjectNameResourceResourceURICreated

NewPutProjectProjectNameResourceResourceURICreated creates PutProjectProjectNameResourceResourceURICreated with default headers values

func (*PutProjectProjectNameResourceResourceURICreated) SetPayload

SetPayload sets the payload to the put project project name resource resource Uri created response

func (*PutProjectProjectNameResourceResourceURICreated) WithPayload

WithPayload adds the payload to the put project project name resource resource Uri created response

func (*PutProjectProjectNameResourceResourceURICreated) WriteResponse

WriteResponse to the client

type PutProjectProjectNameResourceResourceURIDefault

type PutProjectProjectNameResourceResourceURIDefault struct {

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

PutProjectProjectNameResourceResourceURIDefault Error

swagger:response putProjectProjectNameResourceResourceUriDefault

func NewPutProjectProjectNameResourceResourceURIDefault

func NewPutProjectProjectNameResourceResourceURIDefault(code int) *PutProjectProjectNameResourceResourceURIDefault

NewPutProjectProjectNameResourceResourceURIDefault creates PutProjectProjectNameResourceResourceURIDefault with default headers values

func (*PutProjectProjectNameResourceResourceURIDefault) SetPayload

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

func (*PutProjectProjectNameResourceResourceURIDefault) SetStatusCode

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

func (*PutProjectProjectNameResourceResourceURIDefault) WithPayload

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

func (*PutProjectProjectNameResourceResourceURIDefault) WithStatusCode

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

func (*PutProjectProjectNameResourceResourceURIDefault) WriteResponse

WriteResponse to the client

type PutProjectProjectNameResourceResourceURIHandler

type PutProjectProjectNameResourceResourceURIHandler interface {
	Handle(PutProjectProjectNameResourceResourceURIParams) middleware.Responder
}

PutProjectProjectNameResourceResourceURIHandler interface for that can handle valid put project project name resource resource URI params

type PutProjectProjectNameResourceResourceURIHandlerFunc

type PutProjectProjectNameResourceResourceURIHandlerFunc func(PutProjectProjectNameResourceResourceURIParams) middleware.Responder

PutProjectProjectNameResourceResourceURIHandlerFunc turns a function with the right signature into a put project project name resource resource URI handler

func (PutProjectProjectNameResourceResourceURIHandlerFunc) Handle

Handle executing the request and returning a response

type PutProjectProjectNameResourceResourceURIParams

type PutProjectProjectNameResourceResourceURIParams struct {

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

	/*Disable sync of upstream repo before reading content
	  In: query
	  Default: false
	*/
	DisableUpstreamSync *bool
	/*Name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
	/*Resource
	  In: body
	*/
	Resource *models.Resource
	/*Resource URI
	  Required: true
	  In: path
	*/
	ResourceURI string
}

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

swagger:parameters PutProjectProjectNameResourceResourceURI

func NewPutProjectProjectNameResourceResourceURIParams

func NewPutProjectProjectNameResourceResourceURIParams() PutProjectProjectNameResourceResourceURIParams

NewPutProjectProjectNameResourceResourceURIParams creates a new PutProjectProjectNameResourceResourceURIParams object with the default values initialized.

func (*PutProjectProjectNameResourceResourceURIParams) 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 NewPutProjectProjectNameResourceResourceURIParams() beforehand.

type PutProjectProjectNameResourceResourceURIURL

type PutProjectProjectNameResourceResourceURIURL struct {
	ProjectName string
	ResourceURI string

	DisableUpstreamSync *bool
	// contains filtered or unexported fields
}

PutProjectProjectNameResourceResourceURIURL generates an URL for the put project project name resource resource URI operation

func (*PutProjectProjectNameResourceResourceURIURL) Build

Build a url path and query string

func (*PutProjectProjectNameResourceResourceURIURL) BuildFull

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

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

func (*PutProjectProjectNameResourceResourceURIURL) Must

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

func (*PutProjectProjectNameResourceResourceURIURL) SetBasePath

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 (*PutProjectProjectNameResourceResourceURIURL) String

String returns the string representation of the path with query string

func (*PutProjectProjectNameResourceResourceURIURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PutProjectProjectNameResourceResourceURIURL) 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 PutProjectProjectNameResourceURL

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

PutProjectProjectNameResourceURL generates an URL for the put project project name resource operation

func (*PutProjectProjectNameResourceURL) Build

Build a url path and query string

func (*PutProjectProjectNameResourceURL) BuildFull

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

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

func (*PutProjectProjectNameResourceURL) Must

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

func (*PutProjectProjectNameResourceURL) SetBasePath

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

String returns the string representation of the path with query string

func (*PutProjectProjectNameResourceURL) StringFull

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

StringFull returns the string representation of a complete url

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