listor

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const GetListorGetDefinitionNotFoundCode int = 404

GetListorGetDefinitionNotFoundCode is the HTTP code returned for type GetListorGetDefinitionNotFound

View Source
const GetListorGetDefinitionOKCode int = 200

GetListorGetDefinitionOKCode is the HTTP code returned for type GetListorGetDefinitionOK

View Source
const GetListorGetIdsOKCode int = 200

GetListorGetIdsOKCode is the HTTP code returned for type GetListorGetIdsOK

View Source
const GetListorListDataBadRequestCode int = 400

GetListorListDataBadRequestCode is the HTTP code returned for type GetListorListDataBadRequest

View Source
const GetListorListDataNotFoundCode int = 404

GetListorListDataNotFoundCode is the HTTP code returned for type GetListorListDataNotFound

View Source
const GetListorListDataOKCode int = 200

GetListorListDataOKCode is the HTTP code returned for type GetListorListDataOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetListorGetDefinition

type GetListorGetDefinition struct {
	Context *middleware.Context
	Handler GetListorGetDefinitionHandler
}
GetListorGetDefinition swagger:route GET /listor/getDefinition listor getListorGetDefinition

Get definition of a Listor

func NewGetListorGetDefinition

func NewGetListorGetDefinition(ctx *middleware.Context, handler GetListorGetDefinitionHandler) *GetListorGetDefinition

NewGetListorGetDefinition creates a new http.Handler for the get listor get definition operation

func (*GetListorGetDefinition) ServeHTTP

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

type GetListorGetDefinitionHandler

type GetListorGetDefinitionHandler interface {
	Handle(GetListorGetDefinitionParams) middleware.Responder
}

GetListorGetDefinitionHandler interface for that can handle valid get listor get definition params

type GetListorGetDefinitionHandlerFunc

type GetListorGetDefinitionHandlerFunc func(GetListorGetDefinitionParams) middleware.Responder

GetListorGetDefinitionHandlerFunc turns a function with the right signature into a get listor get definition handler

func (GetListorGetDefinitionHandlerFunc) Handle

Handle executing the request and returning a response

type GetListorGetDefinitionNotFound

type GetListorGetDefinitionNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetListorGetDefinitionNotFound Id not found

swagger:response getListorGetDefinitionNotFound

func NewGetListorGetDefinitionNotFound

func NewGetListorGetDefinitionNotFound() *GetListorGetDefinitionNotFound

NewGetListorGetDefinitionNotFound creates GetListorGetDefinitionNotFound with default headers values

func (*GetListorGetDefinitionNotFound) SetPayload

func (o *GetListorGetDefinitionNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the get listor get definition not found response

func (*GetListorGetDefinitionNotFound) WithPayload

func (o *GetListorGetDefinitionNotFound) WithPayload(payload interface{}) *GetListorGetDefinitionNotFound

WithPayload adds the payload to the get listor get definition not found response

func (*GetListorGetDefinitionNotFound) WriteResponse

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

WriteResponse to the client

type GetListorGetDefinitionOK

type GetListorGetDefinitionOK struct {

	/*
	  In: Body
	*/
	Payload *GetListorGetDefinitionOKBody `json:"body,omitempty"`
}

GetListorGetDefinitionOK Definition of a Listor

swagger:response getListorGetDefinitionOK

func NewGetListorGetDefinitionOK

func NewGetListorGetDefinitionOK() *GetListorGetDefinitionOK

NewGetListorGetDefinitionOK creates GetListorGetDefinitionOK with default headers values

func (*GetListorGetDefinitionOK) SetPayload

SetPayload sets the payload to the get listor get definition o k response

func (*GetListorGetDefinitionOK) WithPayload

WithPayload adds the payload to the get listor get definition o k response

func (*GetListorGetDefinitionOK) WriteResponse

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

WriteResponse to the client

type GetListorGetDefinitionOKBody

type GetListorGetDefinitionOKBody struct {

	// code
	Code int64 `json:"code,omitempty"`

	// data
	Data *server_model.Listor4api `json:"data,omitempty"`

	// msg
	Msg string `json:"msg,omitempty"`
}

GetListorGetDefinitionOKBody get listor get definition o k body

swagger:model GetListorGetDefinitionOKBody

func (*GetListorGetDefinitionOKBody) ContextValidate

func (o *GetListorGetDefinitionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get listor get definition o k body based on the context it is used

func (*GetListorGetDefinitionOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetListorGetDefinitionOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetListorGetDefinitionOKBody) Validate

func (o *GetListorGetDefinitionOKBody) Validate(formats strfmt.Registry) error

Validate validates this get listor get definition o k body

type GetListorGetDefinitionParams

type GetListorGetDefinitionParams struct {

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

	/*Id of Listor
	  Required: true
	  In: query
	*/
	ID int64
	/*Include hash of definition
	  In: query
	  Default: false
	*/
	WithHash *bool
	/*Include yaml of definition
	  In: query
	  Default: false
	*/
	WithYaml *bool
}

GetListorGetDefinitionParams contains all the bound params for the get listor get definition operation typically these are obtained from a http.Request

swagger:parameters GetListorGetDefinition

func NewGetListorGetDefinitionParams

func NewGetListorGetDefinitionParams() GetListorGetDefinitionParams

NewGetListorGetDefinitionParams creates a new GetListorGetDefinitionParams object with the default values initialized.

func (*GetListorGetDefinitionParams) 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 NewGetListorGetDefinitionParams() beforehand.

type GetListorGetDefinitionURL

type GetListorGetDefinitionURL struct {
	ID       int64
	WithHash *bool
	WithYaml *bool
	// contains filtered or unexported fields
}

GetListorGetDefinitionURL generates an URL for the get listor get definition operation

func (*GetListorGetDefinitionURL) Build

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

Build a url path and query string

func (*GetListorGetDefinitionURL) BuildFull

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

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

func (*GetListorGetDefinitionURL) Must

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

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

func (*GetListorGetDefinitionURL) SetBasePath

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

func (o *GetListorGetDefinitionURL) String() string

String returns the string representation of the path with query string

func (*GetListorGetDefinitionURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetListorGetIds struct {
	Context *middleware.Context
	Handler GetListorGetIdsHandler
}
GetListorGetIds swagger:route GET /listor/getIds listor getListorGetIds

Get ids of Listor

func NewGetListorGetIds

func NewGetListorGetIds(ctx *middleware.Context, handler GetListorGetIdsHandler) *GetListorGetIds

NewGetListorGetIds creates a new http.Handler for the get listor get ids operation

func (*GetListorGetIds) ServeHTTP

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

type GetListorGetIdsHandler

type GetListorGetIdsHandler interface {
	Handle(GetListorGetIdsParams) middleware.Responder
}

GetListorGetIdsHandler interface for that can handle valid get listor get ids params

type GetListorGetIdsHandlerFunc

type GetListorGetIdsHandlerFunc func(GetListorGetIdsParams) middleware.Responder

GetListorGetIdsHandlerFunc turns a function with the right signature into a get listor get ids handler

func (GetListorGetIdsHandlerFunc) Handle

Handle executing the request and returning a response

type GetListorGetIdsOK

type GetListorGetIdsOK struct {

	/*
	  In: Body
	*/
	Payload *GetListorGetIdsOKBody `json:"body,omitempty"`
}

GetListorGetIdsOK Ids of Listor

swagger:response getListorGetIdsOK

func NewGetListorGetIdsOK

func NewGetListorGetIdsOK() *GetListorGetIdsOK

NewGetListorGetIdsOK creates GetListorGetIdsOK with default headers values

func (*GetListorGetIdsOK) SetPayload

func (o *GetListorGetIdsOK) SetPayload(payload *GetListorGetIdsOKBody)

SetPayload sets the payload to the get listor get ids o k response

func (*GetListorGetIdsOK) WithPayload

func (o *GetListorGetIdsOK) WithPayload(payload *GetListorGetIdsOKBody) *GetListorGetIdsOK

WithPayload adds the payload to the get listor get ids o k response

func (*GetListorGetIdsOK) WriteResponse

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

WriteResponse to the client

type GetListorGetIdsOKBody

type GetListorGetIdsOKBody struct {

	// code
	Code int64 `json:"code,omitempty"`

	// data
	Data []int64 `json:"data"`

	// msg
	Msg string `json:"msg,omitempty"`
}

GetListorGetIdsOKBody get listor get ids o k body

swagger:model GetListorGetIdsOKBody

func (*GetListorGetIdsOKBody) ContextValidate

func (o *GetListorGetIdsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get listor get ids o k body based on context it is used

func (*GetListorGetIdsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetListorGetIdsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetListorGetIdsOKBody) Validate

func (o *GetListorGetIdsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get listor get ids o k body

type GetListorGetIdsParams

type GetListorGetIdsParams struct {

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

	/*Cloud type to filter
	  In: query
	*/
	CloudType *string
}

GetListorGetIdsParams contains all the bound params for the get listor get ids operation typically these are obtained from a http.Request

swagger:parameters GetListorGetIds

func NewGetListorGetIdsParams

func NewGetListorGetIdsParams() GetListorGetIdsParams

NewGetListorGetIdsParams creates a new GetListorGetIdsParams object

There are no default values defined in the spec.

func (*GetListorGetIdsParams) BindRequest

func (o *GetListorGetIdsParams) 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 NewGetListorGetIdsParams() beforehand.

type GetListorGetIdsURL

type GetListorGetIdsURL struct {
	CloudType *string
	// contains filtered or unexported fields
}

GetListorGetIdsURL generates an URL for the get listor get ids operation

func (*GetListorGetIdsURL) Build

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

Build a url path and query string

func (*GetListorGetIdsURL) BuildFull

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

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

func (*GetListorGetIdsURL) Must

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

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

func (*GetListorGetIdsURL) SetBasePath

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

func (o *GetListorGetIdsURL) String() string

String returns the string representation of the path with query string

func (*GetListorGetIdsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetListorGetIdsURL) WithBasePath

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

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 GetListorListData

type GetListorListData struct {
	Context *middleware.Context
	Handler GetListorListDataHandler
}
GetListorListData swagger:route GET /listor/listData listor getListorListData

Get list of all raw data according to the definition

func NewGetListorListData

func NewGetListorListData(ctx *middleware.Context, handler GetListorListDataHandler) *GetListorListData

NewGetListorListData creates a new http.Handler for the get listor list data operation

func (*GetListorListData) ServeHTTP

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

type GetListorListDataBadRequest

type GetListorListDataBadRequest struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetListorListDataBadRequest Error occurs

swagger:response getListorListDataBadRequest

func NewGetListorListDataBadRequest

func NewGetListorListDataBadRequest() *GetListorListDataBadRequest

NewGetListorListDataBadRequest creates GetListorListDataBadRequest with default headers values

func (*GetListorListDataBadRequest) SetPayload

func (o *GetListorListDataBadRequest) SetPayload(payload interface{})

SetPayload sets the payload to the get listor list data bad request response

func (*GetListorListDataBadRequest) WithPayload

func (o *GetListorListDataBadRequest) WithPayload(payload interface{}) *GetListorListDataBadRequest

WithPayload adds the payload to the get listor list data bad request response

func (*GetListorListDataBadRequest) WriteResponse

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

WriteResponse to the client

type GetListorListDataHandler

type GetListorListDataHandler interface {
	Handle(GetListorListDataParams) middleware.Responder
}

GetListorListDataHandler interface for that can handle valid get listor list data params

type GetListorListDataHandlerFunc

type GetListorListDataHandlerFunc func(GetListorListDataParams) middleware.Responder

GetListorListDataHandlerFunc turns a function with the right signature into a get listor list data handler

func (GetListorListDataHandlerFunc) Handle

Handle executing the request and returning a response

type GetListorListDataNotFound

type GetListorListDataNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetListorListDataNotFound Id not found

swagger:response getListorListDataNotFound

func NewGetListorListDataNotFound

func NewGetListorListDataNotFound() *GetListorListDataNotFound

NewGetListorListDataNotFound creates GetListorListDataNotFound with default headers values

func (*GetListorListDataNotFound) SetPayload

func (o *GetListorListDataNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the get listor list data not found response

func (*GetListorListDataNotFound) WithPayload

func (o *GetListorListDataNotFound) WithPayload(payload interface{}) *GetListorListDataNotFound

WithPayload adds the payload to the get listor list data not found response

func (*GetListorListDataNotFound) WriteResponse

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

WriteResponse to the client

type GetListorListDataOK

type GetListorListDataOK struct {

	/*
	  In: Body
	*/
	Payload *GetListorListDataOKBody `json:"body,omitempty"`
}

GetListorListDataOK List of raw data

swagger:response getListorListDataOK

func NewGetListorListDataOK

func NewGetListorListDataOK() *GetListorListDataOK

NewGetListorListDataOK creates GetListorListDataOK with default headers values

func (*GetListorListDataOK) SetPayload

func (o *GetListorListDataOK) SetPayload(payload *GetListorListDataOKBody)

SetPayload sets the payload to the get listor list data o k response

func (*GetListorListDataOK) WithPayload

WithPayload adds the payload to the get listor list data o k response

func (*GetListorListDataOK) WriteResponse

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

WriteResponse to the client

type GetListorListDataOKBody

type GetListorListDataOKBody struct {

	// code
	Code int64 `json:"code,omitempty"`

	// data
	Data *server_model.ListorData `json:"data,omitempty"`

	// msg
	Msg string `json:"msg,omitempty"`
}

GetListorListDataOKBody get listor list data o k body

swagger:model GetListorListDataOKBody

func (*GetListorListDataOKBody) ContextValidate

func (o *GetListorListDataOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get listor list data o k body based on the context it is used

func (*GetListorListDataOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetListorListDataOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetListorListDataOKBody) Validate

func (o *GetListorListDataOKBody) Validate(formats strfmt.Registry) error

Validate validates this get listor list data o k body

type GetListorListDataParams

type GetListorListDataParams struct {

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

	/*Id of Listor
	  Required: true
	  In: query
	*/
	ID int64
	/*Name of authentication profile
	  Required: true
	  In: header
	*/
	Profile string
}

GetListorListDataParams contains all the bound params for the get listor list data operation typically these are obtained from a http.Request

swagger:parameters GetListorListData

func NewGetListorListDataParams

func NewGetListorListDataParams() GetListorListDataParams

NewGetListorListDataParams creates a new GetListorListDataParams object

There are no default values defined in the spec.

func (*GetListorListDataParams) BindRequest

func (o *GetListorListDataParams) 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 NewGetListorListDataParams() beforehand.

type GetListorListDataURL

type GetListorListDataURL struct {
	ID int64
	// contains filtered or unexported fields
}

GetListorListDataURL generates an URL for the get listor list data operation

func (*GetListorListDataURL) Build

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

Build a url path and query string

func (*GetListorListDataURL) BuildFull

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

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

func (*GetListorListDataURL) Must

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

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

func (*GetListorListDataURL) SetBasePath

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

func (o *GetListorListDataURL) String() string

String returns the string representation of the path with query string

func (*GetListorListDataURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetListorListDataURL) WithBasePath

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

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