rulepack_core_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for rulepack core controller API

func (*Client) DeleteRulepackCore

func (a *Client) DeleteRulepackCore(params *DeleteRulepackCoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRulepackCoreOK, error)

DeleteRulepackCore deletes

func (*Client) ListRulepackCore

func (a *Client) ListRulepackCore(params *ListRulepackCoreParams, authInfo runtime.ClientAuthInfoWriter) (*ListRulepackCoreOK, error)

ListRulepackCore lists

func (*Client) MultiDeleteRulepackCore

func (a *Client) MultiDeleteRulepackCore(params *MultiDeleteRulepackCoreParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteRulepackCoreOK, error)

MultiDeleteRulepackCore multis delete

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UploadRulepackCore

func (a *Client) UploadRulepackCore(params *UploadRulepackCoreParams, authInfo runtime.ClientAuthInfoWriter) (*UploadRulepackCoreOK, error)

UploadRulepackCore uploads

type ClientService

type ClientService interface {
	DeleteRulepackCore(params *DeleteRulepackCoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRulepackCoreOK, error)

	ListRulepackCore(params *ListRulepackCoreParams, authInfo runtime.ClientAuthInfoWriter) (*ListRulepackCoreOK, error)

	MultiDeleteRulepackCore(params *MultiDeleteRulepackCoreParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteRulepackCoreOK, error)

	UploadRulepackCore(params *UploadRulepackCoreParams, authInfo runtime.ClientAuthInfoWriter) (*UploadRulepackCoreOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new rulepack core controller API client.

type DeleteRulepackCoreBadRequest

type DeleteRulepackCoreBadRequest struct {
	Payload *models.APIResult
}

DeleteRulepackCoreBadRequest handles this case with default header values.

Bad Request

func NewDeleteRulepackCoreBadRequest

func NewDeleteRulepackCoreBadRequest() *DeleteRulepackCoreBadRequest

NewDeleteRulepackCoreBadRequest creates a DeleteRulepackCoreBadRequest with default headers values

func (*DeleteRulepackCoreBadRequest) Error

func (*DeleteRulepackCoreBadRequest) GetPayload

type DeleteRulepackCoreConflict

type DeleteRulepackCoreConflict struct {
	Payload *models.APIResult
}

DeleteRulepackCoreConflict handles this case with default header values.

Conflict

func NewDeleteRulepackCoreConflict

func NewDeleteRulepackCoreConflict() *DeleteRulepackCoreConflict

NewDeleteRulepackCoreConflict creates a DeleteRulepackCoreConflict with default headers values

func (*DeleteRulepackCoreConflict) Error

func (*DeleteRulepackCoreConflict) GetPayload

func (o *DeleteRulepackCoreConflict) GetPayload() *models.APIResult

type DeleteRulepackCoreForbidden

type DeleteRulepackCoreForbidden struct {
	Payload *models.APIResult
}

DeleteRulepackCoreForbidden handles this case with default header values.

Forbidden

func NewDeleteRulepackCoreForbidden

func NewDeleteRulepackCoreForbidden() *DeleteRulepackCoreForbidden

NewDeleteRulepackCoreForbidden creates a DeleteRulepackCoreForbidden with default headers values

func (*DeleteRulepackCoreForbidden) Error

func (*DeleteRulepackCoreForbidden) GetPayload

func (o *DeleteRulepackCoreForbidden) GetPayload() *models.APIResult

type DeleteRulepackCoreInternalServerError

type DeleteRulepackCoreInternalServerError struct {
	Payload *models.APIResult
}

DeleteRulepackCoreInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteRulepackCoreInternalServerError

func NewDeleteRulepackCoreInternalServerError() *DeleteRulepackCoreInternalServerError

NewDeleteRulepackCoreInternalServerError creates a DeleteRulepackCoreInternalServerError with default headers values

func (*DeleteRulepackCoreInternalServerError) Error

func (*DeleteRulepackCoreInternalServerError) GetPayload

type DeleteRulepackCoreNotFound

type DeleteRulepackCoreNotFound struct {
	Payload *models.APIResult
}

DeleteRulepackCoreNotFound handles this case with default header values.

Not Found

func NewDeleteRulepackCoreNotFound

func NewDeleteRulepackCoreNotFound() *DeleteRulepackCoreNotFound

NewDeleteRulepackCoreNotFound creates a DeleteRulepackCoreNotFound with default headers values

func (*DeleteRulepackCoreNotFound) Error

func (*DeleteRulepackCoreNotFound) GetPayload

func (o *DeleteRulepackCoreNotFound) GetPayload() *models.APIResult

type DeleteRulepackCoreOK

type DeleteRulepackCoreOK struct {
	Payload *models.APIResultVoid
}

DeleteRulepackCoreOK handles this case with default header values.

OK

func NewDeleteRulepackCoreOK

func NewDeleteRulepackCoreOK() *DeleteRulepackCoreOK

NewDeleteRulepackCoreOK creates a DeleteRulepackCoreOK with default headers values

func (*DeleteRulepackCoreOK) Error

func (o *DeleteRulepackCoreOK) Error() string

func (*DeleteRulepackCoreOK) GetPayload

func (o *DeleteRulepackCoreOK) GetPayload() *models.APIResultVoid

type DeleteRulepackCoreParams

type DeleteRulepackCoreParams struct {

	/*ID
	  id

	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteRulepackCoreParams contains all the parameters to send to the API endpoint for the delete rulepack core operation typically these are written to a http.Request

func NewDeleteRulepackCoreParams

func NewDeleteRulepackCoreParams() *DeleteRulepackCoreParams

NewDeleteRulepackCoreParams creates a new DeleteRulepackCoreParams object with the default values initialized.

func NewDeleteRulepackCoreParamsWithContext

func NewDeleteRulepackCoreParamsWithContext(ctx context.Context) *DeleteRulepackCoreParams

NewDeleteRulepackCoreParamsWithContext creates a new DeleteRulepackCoreParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteRulepackCoreParamsWithHTTPClient

func NewDeleteRulepackCoreParamsWithHTTPClient(client *http.Client) *DeleteRulepackCoreParams

NewDeleteRulepackCoreParamsWithHTTPClient creates a new DeleteRulepackCoreParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteRulepackCoreParamsWithTimeout

func NewDeleteRulepackCoreParamsWithTimeout(timeout time.Duration) *DeleteRulepackCoreParams

NewDeleteRulepackCoreParamsWithTimeout creates a new DeleteRulepackCoreParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteRulepackCoreParams) SetContext

func (o *DeleteRulepackCoreParams) SetContext(ctx context.Context)

SetContext adds the context to the delete rulepack core params

func (*DeleteRulepackCoreParams) SetHTTPClient

func (o *DeleteRulepackCoreParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete rulepack core params

func (*DeleteRulepackCoreParams) SetID

func (o *DeleteRulepackCoreParams) SetID(id int64)

SetID adds the id to the delete rulepack core params

func (*DeleteRulepackCoreParams) SetTimeout

func (o *DeleteRulepackCoreParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete rulepack core params

func (*DeleteRulepackCoreParams) WithContext

WithContext adds the context to the delete rulepack core params

func (*DeleteRulepackCoreParams) WithHTTPClient

func (o *DeleteRulepackCoreParams) WithHTTPClient(client *http.Client) *DeleteRulepackCoreParams

WithHTTPClient adds the HTTPClient to the delete rulepack core params

func (*DeleteRulepackCoreParams) WithID

WithID adds the id to the delete rulepack core params

func (*DeleteRulepackCoreParams) WithTimeout

WithTimeout adds the timeout to the delete rulepack core params

func (*DeleteRulepackCoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRulepackCoreReader

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

DeleteRulepackCoreReader is a Reader for the DeleteRulepackCore structure.

func (*DeleteRulepackCoreReader) ReadResponse

func (o *DeleteRulepackCoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteRulepackCoreUnauthorized

type DeleteRulepackCoreUnauthorized struct {
	Payload *models.APIResult
}

DeleteRulepackCoreUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteRulepackCoreUnauthorized

func NewDeleteRulepackCoreUnauthorized() *DeleteRulepackCoreUnauthorized

NewDeleteRulepackCoreUnauthorized creates a DeleteRulepackCoreUnauthorized with default headers values

func (*DeleteRulepackCoreUnauthorized) Error

func (*DeleteRulepackCoreUnauthorized) GetPayload

type ListRulepackCoreBadRequest

type ListRulepackCoreBadRequest struct {
	Payload *models.APIResult
}

ListRulepackCoreBadRequest handles this case with default header values.

Bad Request

func NewListRulepackCoreBadRequest

func NewListRulepackCoreBadRequest() *ListRulepackCoreBadRequest

NewListRulepackCoreBadRequest creates a ListRulepackCoreBadRequest with default headers values

func (*ListRulepackCoreBadRequest) Error

func (*ListRulepackCoreBadRequest) GetPayload

func (o *ListRulepackCoreBadRequest) GetPayload() *models.APIResult

type ListRulepackCoreConflict

type ListRulepackCoreConflict struct {
	Payload *models.APIResult
}

ListRulepackCoreConflict handles this case with default header values.

Conflict

func NewListRulepackCoreConflict

func NewListRulepackCoreConflict() *ListRulepackCoreConflict

NewListRulepackCoreConflict creates a ListRulepackCoreConflict with default headers values

func (*ListRulepackCoreConflict) Error

func (o *ListRulepackCoreConflict) Error() string

func (*ListRulepackCoreConflict) GetPayload

func (o *ListRulepackCoreConflict) GetPayload() *models.APIResult

type ListRulepackCoreForbidden

type ListRulepackCoreForbidden struct {
	Payload *models.APIResult
}

ListRulepackCoreForbidden handles this case with default header values.

Forbidden

func NewListRulepackCoreForbidden

func NewListRulepackCoreForbidden() *ListRulepackCoreForbidden

NewListRulepackCoreForbidden creates a ListRulepackCoreForbidden with default headers values

func (*ListRulepackCoreForbidden) Error

func (o *ListRulepackCoreForbidden) Error() string

func (*ListRulepackCoreForbidden) GetPayload

func (o *ListRulepackCoreForbidden) GetPayload() *models.APIResult

type ListRulepackCoreInternalServerError

type ListRulepackCoreInternalServerError struct {
	Payload *models.APIResult
}

ListRulepackCoreInternalServerError handles this case with default header values.

Internal Server Error

func NewListRulepackCoreInternalServerError

func NewListRulepackCoreInternalServerError() *ListRulepackCoreInternalServerError

NewListRulepackCoreInternalServerError creates a ListRulepackCoreInternalServerError with default headers values

func (*ListRulepackCoreInternalServerError) Error

func (*ListRulepackCoreInternalServerError) GetPayload

type ListRulepackCoreNotFound

type ListRulepackCoreNotFound struct {
	Payload *models.APIResult
}

ListRulepackCoreNotFound handles this case with default header values.

Not Found

func NewListRulepackCoreNotFound

func NewListRulepackCoreNotFound() *ListRulepackCoreNotFound

NewListRulepackCoreNotFound creates a ListRulepackCoreNotFound with default headers values

func (*ListRulepackCoreNotFound) Error

func (o *ListRulepackCoreNotFound) Error() string

func (*ListRulepackCoreNotFound) GetPayload

func (o *ListRulepackCoreNotFound) GetPayload() *models.APIResult

type ListRulepackCoreOK

type ListRulepackCoreOK struct {
	Payload *models.APIResultListRulepackCore
}

ListRulepackCoreOK handles this case with default header values.

OK

func NewListRulepackCoreOK

func NewListRulepackCoreOK() *ListRulepackCoreOK

NewListRulepackCoreOK creates a ListRulepackCoreOK with default headers values

func (*ListRulepackCoreOK) Error

func (o *ListRulepackCoreOK) Error() string

func (*ListRulepackCoreOK) GetPayload

type ListRulepackCoreParams

type ListRulepackCoreParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*Limit
	  A maximum number of returned objects in listing, if '-1' or '0' no limit is applied

	*/
	Limit *int32
	/*Orderby
	  Fields to order by

	*/
	Orderby *string
	/*Q
	  A search query

	*/
	Q *string
	/*Start
	  A start offset in object listing

	*/
	Start *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListRulepackCoreParams contains all the parameters to send to the API endpoint for the list rulepack core operation typically these are written to a http.Request

func NewListRulepackCoreParams

func NewListRulepackCoreParams() *ListRulepackCoreParams

NewListRulepackCoreParams creates a new ListRulepackCoreParams object with the default values initialized.

func NewListRulepackCoreParamsWithContext

func NewListRulepackCoreParamsWithContext(ctx context.Context) *ListRulepackCoreParams

NewListRulepackCoreParamsWithContext creates a new ListRulepackCoreParams object with the default values initialized, and the ability to set a context for a request

func NewListRulepackCoreParamsWithHTTPClient

func NewListRulepackCoreParamsWithHTTPClient(client *http.Client) *ListRulepackCoreParams

NewListRulepackCoreParamsWithHTTPClient creates a new ListRulepackCoreParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListRulepackCoreParamsWithTimeout

func NewListRulepackCoreParamsWithTimeout(timeout time.Duration) *ListRulepackCoreParams

NewListRulepackCoreParamsWithTimeout creates a new ListRulepackCoreParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListRulepackCoreParams) SetContext

func (o *ListRulepackCoreParams) SetContext(ctx context.Context)

SetContext adds the context to the list rulepack core params

func (*ListRulepackCoreParams) SetFields

func (o *ListRulepackCoreParams) SetFields(fields *string)

SetFields adds the fields to the list rulepack core params

func (*ListRulepackCoreParams) SetHTTPClient

func (o *ListRulepackCoreParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list rulepack core params

func (*ListRulepackCoreParams) SetLimit

func (o *ListRulepackCoreParams) SetLimit(limit *int32)

SetLimit adds the limit to the list rulepack core params

func (*ListRulepackCoreParams) SetOrderby

func (o *ListRulepackCoreParams) SetOrderby(orderby *string)

SetOrderby adds the orderby to the list rulepack core params

func (*ListRulepackCoreParams) SetQ

func (o *ListRulepackCoreParams) SetQ(q *string)

SetQ adds the q to the list rulepack core params

func (*ListRulepackCoreParams) SetStart

func (o *ListRulepackCoreParams) SetStart(start *int32)

SetStart adds the start to the list rulepack core params

func (*ListRulepackCoreParams) SetTimeout

func (o *ListRulepackCoreParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list rulepack core params

func (*ListRulepackCoreParams) WithContext

WithContext adds the context to the list rulepack core params

func (*ListRulepackCoreParams) WithFields

func (o *ListRulepackCoreParams) WithFields(fields *string) *ListRulepackCoreParams

WithFields adds the fields to the list rulepack core params

func (*ListRulepackCoreParams) WithHTTPClient

func (o *ListRulepackCoreParams) WithHTTPClient(client *http.Client) *ListRulepackCoreParams

WithHTTPClient adds the HTTPClient to the list rulepack core params

func (*ListRulepackCoreParams) WithLimit

func (o *ListRulepackCoreParams) WithLimit(limit *int32) *ListRulepackCoreParams

WithLimit adds the limit to the list rulepack core params

func (*ListRulepackCoreParams) WithOrderby

func (o *ListRulepackCoreParams) WithOrderby(orderby *string) *ListRulepackCoreParams

WithOrderby adds the orderby to the list rulepack core params

func (*ListRulepackCoreParams) WithQ

WithQ adds the q to the list rulepack core params

func (*ListRulepackCoreParams) WithStart

func (o *ListRulepackCoreParams) WithStart(start *int32) *ListRulepackCoreParams

WithStart adds the start to the list rulepack core params

func (*ListRulepackCoreParams) WithTimeout

WithTimeout adds the timeout to the list rulepack core params

func (*ListRulepackCoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListRulepackCoreReader

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

ListRulepackCoreReader is a Reader for the ListRulepackCore structure.

func (*ListRulepackCoreReader) ReadResponse

func (o *ListRulepackCoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListRulepackCoreUnauthorized

type ListRulepackCoreUnauthorized struct {
	Payload *models.APIResult
}

ListRulepackCoreUnauthorized handles this case with default header values.

Unauthorized

func NewListRulepackCoreUnauthorized

func NewListRulepackCoreUnauthorized() *ListRulepackCoreUnauthorized

NewListRulepackCoreUnauthorized creates a ListRulepackCoreUnauthorized with default headers values

func (*ListRulepackCoreUnauthorized) Error

func (*ListRulepackCoreUnauthorized) GetPayload

type MultiDeleteRulepackCoreBadRequest

type MultiDeleteRulepackCoreBadRequest struct {
	Payload *models.APIResult
}

MultiDeleteRulepackCoreBadRequest handles this case with default header values.

Bad Request

func NewMultiDeleteRulepackCoreBadRequest

func NewMultiDeleteRulepackCoreBadRequest() *MultiDeleteRulepackCoreBadRequest

NewMultiDeleteRulepackCoreBadRequest creates a MultiDeleteRulepackCoreBadRequest with default headers values

func (*MultiDeleteRulepackCoreBadRequest) Error

func (*MultiDeleteRulepackCoreBadRequest) GetPayload

type MultiDeleteRulepackCoreConflict

type MultiDeleteRulepackCoreConflict struct {
	Payload *models.APIResult
}

MultiDeleteRulepackCoreConflict handles this case with default header values.

Conflict

func NewMultiDeleteRulepackCoreConflict

func NewMultiDeleteRulepackCoreConflict() *MultiDeleteRulepackCoreConflict

NewMultiDeleteRulepackCoreConflict creates a MultiDeleteRulepackCoreConflict with default headers values

func (*MultiDeleteRulepackCoreConflict) Error

func (*MultiDeleteRulepackCoreConflict) GetPayload

type MultiDeleteRulepackCoreForbidden

type MultiDeleteRulepackCoreForbidden struct {
	Payload *models.APIResult
}

MultiDeleteRulepackCoreForbidden handles this case with default header values.

Forbidden

func NewMultiDeleteRulepackCoreForbidden

func NewMultiDeleteRulepackCoreForbidden() *MultiDeleteRulepackCoreForbidden

NewMultiDeleteRulepackCoreForbidden creates a MultiDeleteRulepackCoreForbidden with default headers values

func (*MultiDeleteRulepackCoreForbidden) Error

func (*MultiDeleteRulepackCoreForbidden) GetPayload

type MultiDeleteRulepackCoreInternalServerError

type MultiDeleteRulepackCoreInternalServerError struct {
	Payload *models.APIResult
}

MultiDeleteRulepackCoreInternalServerError handles this case with default header values.

Internal Server Error

func NewMultiDeleteRulepackCoreInternalServerError

func NewMultiDeleteRulepackCoreInternalServerError() *MultiDeleteRulepackCoreInternalServerError

NewMultiDeleteRulepackCoreInternalServerError creates a MultiDeleteRulepackCoreInternalServerError with default headers values

func (*MultiDeleteRulepackCoreInternalServerError) Error

func (*MultiDeleteRulepackCoreInternalServerError) GetPayload

type MultiDeleteRulepackCoreNotFound

type MultiDeleteRulepackCoreNotFound struct {
	Payload *models.APIResult
}

MultiDeleteRulepackCoreNotFound handles this case with default header values.

Not Found

func NewMultiDeleteRulepackCoreNotFound

func NewMultiDeleteRulepackCoreNotFound() *MultiDeleteRulepackCoreNotFound

NewMultiDeleteRulepackCoreNotFound creates a MultiDeleteRulepackCoreNotFound with default headers values

func (*MultiDeleteRulepackCoreNotFound) Error

func (*MultiDeleteRulepackCoreNotFound) GetPayload

type MultiDeleteRulepackCoreOK

type MultiDeleteRulepackCoreOK struct {
	Payload *models.APIResultVoid
}

MultiDeleteRulepackCoreOK handles this case with default header values.

OK

func NewMultiDeleteRulepackCoreOK

func NewMultiDeleteRulepackCoreOK() *MultiDeleteRulepackCoreOK

NewMultiDeleteRulepackCoreOK creates a MultiDeleteRulepackCoreOK with default headers values

func (*MultiDeleteRulepackCoreOK) Error

func (o *MultiDeleteRulepackCoreOK) Error() string

func (*MultiDeleteRulepackCoreOK) GetPayload

type MultiDeleteRulepackCoreParams

type MultiDeleteRulepackCoreParams struct {

	/*Ids
	  A comma-separated list of resource identifiers

	*/
	Ids string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MultiDeleteRulepackCoreParams contains all the parameters to send to the API endpoint for the multi delete rulepack core operation typically these are written to a http.Request

func NewMultiDeleteRulepackCoreParams

func NewMultiDeleteRulepackCoreParams() *MultiDeleteRulepackCoreParams

NewMultiDeleteRulepackCoreParams creates a new MultiDeleteRulepackCoreParams object with the default values initialized.

func NewMultiDeleteRulepackCoreParamsWithContext

func NewMultiDeleteRulepackCoreParamsWithContext(ctx context.Context) *MultiDeleteRulepackCoreParams

NewMultiDeleteRulepackCoreParamsWithContext creates a new MultiDeleteRulepackCoreParams object with the default values initialized, and the ability to set a context for a request

func NewMultiDeleteRulepackCoreParamsWithHTTPClient

func NewMultiDeleteRulepackCoreParamsWithHTTPClient(client *http.Client) *MultiDeleteRulepackCoreParams

NewMultiDeleteRulepackCoreParamsWithHTTPClient creates a new MultiDeleteRulepackCoreParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewMultiDeleteRulepackCoreParamsWithTimeout

func NewMultiDeleteRulepackCoreParamsWithTimeout(timeout time.Duration) *MultiDeleteRulepackCoreParams

NewMultiDeleteRulepackCoreParamsWithTimeout creates a new MultiDeleteRulepackCoreParams object with the default values initialized, and the ability to set a timeout on a request

func (*MultiDeleteRulepackCoreParams) SetContext

func (o *MultiDeleteRulepackCoreParams) SetContext(ctx context.Context)

SetContext adds the context to the multi delete rulepack core params

func (*MultiDeleteRulepackCoreParams) SetHTTPClient

func (o *MultiDeleteRulepackCoreParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the multi delete rulepack core params

func (*MultiDeleteRulepackCoreParams) SetIds

func (o *MultiDeleteRulepackCoreParams) SetIds(ids string)

SetIds adds the ids to the multi delete rulepack core params

func (*MultiDeleteRulepackCoreParams) SetTimeout

func (o *MultiDeleteRulepackCoreParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the multi delete rulepack core params

func (*MultiDeleteRulepackCoreParams) WithContext

WithContext adds the context to the multi delete rulepack core params

func (*MultiDeleteRulepackCoreParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the multi delete rulepack core params

func (*MultiDeleteRulepackCoreParams) WithIds

WithIds adds the ids to the multi delete rulepack core params

func (*MultiDeleteRulepackCoreParams) WithTimeout

WithTimeout adds the timeout to the multi delete rulepack core params

func (*MultiDeleteRulepackCoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MultiDeleteRulepackCoreReader

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

MultiDeleteRulepackCoreReader is a Reader for the MultiDeleteRulepackCore structure.

func (*MultiDeleteRulepackCoreReader) ReadResponse

func (o *MultiDeleteRulepackCoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MultiDeleteRulepackCoreUnauthorized

type MultiDeleteRulepackCoreUnauthorized struct {
	Payload *models.APIResult
}

MultiDeleteRulepackCoreUnauthorized handles this case with default header values.

Unauthorized

func NewMultiDeleteRulepackCoreUnauthorized

func NewMultiDeleteRulepackCoreUnauthorized() *MultiDeleteRulepackCoreUnauthorized

NewMultiDeleteRulepackCoreUnauthorized creates a MultiDeleteRulepackCoreUnauthorized with default headers values

func (*MultiDeleteRulepackCoreUnauthorized) Error

func (*MultiDeleteRulepackCoreUnauthorized) GetPayload

type UploadRulepackCoreBadRequest

type UploadRulepackCoreBadRequest struct {
	Payload *models.APIResult
}

UploadRulepackCoreBadRequest handles this case with default header values.

Bad Request

func NewUploadRulepackCoreBadRequest

func NewUploadRulepackCoreBadRequest() *UploadRulepackCoreBadRequest

NewUploadRulepackCoreBadRequest creates a UploadRulepackCoreBadRequest with default headers values

func (*UploadRulepackCoreBadRequest) Error

func (*UploadRulepackCoreBadRequest) GetPayload

type UploadRulepackCoreConflict

type UploadRulepackCoreConflict struct {
	Payload *models.APIResult
}

UploadRulepackCoreConflict handles this case with default header values.

Conflict

func NewUploadRulepackCoreConflict

func NewUploadRulepackCoreConflict() *UploadRulepackCoreConflict

NewUploadRulepackCoreConflict creates a UploadRulepackCoreConflict with default headers values

func (*UploadRulepackCoreConflict) Error

func (*UploadRulepackCoreConflict) GetPayload

func (o *UploadRulepackCoreConflict) GetPayload() *models.APIResult

type UploadRulepackCoreForbidden

type UploadRulepackCoreForbidden struct {
	Payload *models.APIResult
}

UploadRulepackCoreForbidden handles this case with default header values.

Forbidden

func NewUploadRulepackCoreForbidden

func NewUploadRulepackCoreForbidden() *UploadRulepackCoreForbidden

NewUploadRulepackCoreForbidden creates a UploadRulepackCoreForbidden with default headers values

func (*UploadRulepackCoreForbidden) Error

func (*UploadRulepackCoreForbidden) GetPayload

func (o *UploadRulepackCoreForbidden) GetPayload() *models.APIResult

type UploadRulepackCoreInternalServerError

type UploadRulepackCoreInternalServerError struct {
	Payload *models.APIResult
}

UploadRulepackCoreInternalServerError handles this case with default header values.

Internal Server Error

func NewUploadRulepackCoreInternalServerError

func NewUploadRulepackCoreInternalServerError() *UploadRulepackCoreInternalServerError

NewUploadRulepackCoreInternalServerError creates a UploadRulepackCoreInternalServerError with default headers values

func (*UploadRulepackCoreInternalServerError) Error

func (*UploadRulepackCoreInternalServerError) GetPayload

type UploadRulepackCoreNotFound

type UploadRulepackCoreNotFound struct {
	Payload *models.APIResult
}

UploadRulepackCoreNotFound handles this case with default header values.

Not Found

func NewUploadRulepackCoreNotFound

func NewUploadRulepackCoreNotFound() *UploadRulepackCoreNotFound

NewUploadRulepackCoreNotFound creates a UploadRulepackCoreNotFound with default headers values

func (*UploadRulepackCoreNotFound) Error

func (*UploadRulepackCoreNotFound) GetPayload

func (o *UploadRulepackCoreNotFound) GetPayload() *models.APIResult

type UploadRulepackCoreOK

type UploadRulepackCoreOK struct {
	Payload *models.APIResultListRulepackStatus
}

UploadRulepackCoreOK handles this case with default header values.

OK

func NewUploadRulepackCoreOK

func NewUploadRulepackCoreOK() *UploadRulepackCoreOK

NewUploadRulepackCoreOK creates a UploadRulepackCoreOK with default headers values

func (*UploadRulepackCoreOK) Error

func (o *UploadRulepackCoreOK) Error() string

func (*UploadRulepackCoreOK) GetPayload

type UploadRulepackCoreParams

type UploadRulepackCoreParams struct {

	/*File
	  file

	*/
	File runtime.NamedReadCloser

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UploadRulepackCoreParams contains all the parameters to send to the API endpoint for the upload rulepack core operation typically these are written to a http.Request

func NewUploadRulepackCoreParams

func NewUploadRulepackCoreParams() *UploadRulepackCoreParams

NewUploadRulepackCoreParams creates a new UploadRulepackCoreParams object with the default values initialized.

func NewUploadRulepackCoreParamsWithContext

func NewUploadRulepackCoreParamsWithContext(ctx context.Context) *UploadRulepackCoreParams

NewUploadRulepackCoreParamsWithContext creates a new UploadRulepackCoreParams object with the default values initialized, and the ability to set a context for a request

func NewUploadRulepackCoreParamsWithHTTPClient

func NewUploadRulepackCoreParamsWithHTTPClient(client *http.Client) *UploadRulepackCoreParams

NewUploadRulepackCoreParamsWithHTTPClient creates a new UploadRulepackCoreParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUploadRulepackCoreParamsWithTimeout

func NewUploadRulepackCoreParamsWithTimeout(timeout time.Duration) *UploadRulepackCoreParams

NewUploadRulepackCoreParamsWithTimeout creates a new UploadRulepackCoreParams object with the default values initialized, and the ability to set a timeout on a request

func (*UploadRulepackCoreParams) SetContext

func (o *UploadRulepackCoreParams) SetContext(ctx context.Context)

SetContext adds the context to the upload rulepack core params

func (*UploadRulepackCoreParams) SetFile

SetFile adds the file to the upload rulepack core params

func (*UploadRulepackCoreParams) SetHTTPClient

func (o *UploadRulepackCoreParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the upload rulepack core params

func (*UploadRulepackCoreParams) SetTimeout

func (o *UploadRulepackCoreParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the upload rulepack core params

func (*UploadRulepackCoreParams) WithContext

WithContext adds the context to the upload rulepack core params

func (*UploadRulepackCoreParams) WithFile

WithFile adds the file to the upload rulepack core params

func (*UploadRulepackCoreParams) WithHTTPClient

func (o *UploadRulepackCoreParams) WithHTTPClient(client *http.Client) *UploadRulepackCoreParams

WithHTTPClient adds the HTTPClient to the upload rulepack core params

func (*UploadRulepackCoreParams) WithTimeout

WithTimeout adds the timeout to the upload rulepack core params

func (*UploadRulepackCoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadRulepackCoreReader

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

UploadRulepackCoreReader is a Reader for the UploadRulepackCore structure.

func (*UploadRulepackCoreReader) ReadResponse

func (o *UploadRulepackCoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UploadRulepackCoreUnauthorized

type UploadRulepackCoreUnauthorized struct {
	Payload *models.APIResult
}

UploadRulepackCoreUnauthorized handles this case with default header values.

Unauthorized

func NewUploadRulepackCoreUnauthorized

func NewUploadRulepackCoreUnauthorized() *UploadRulepackCoreUnauthorized

NewUploadRulepackCoreUnauthorized creates a UploadRulepackCoreUnauthorized with default headers values

func (*UploadRulepackCoreUnauthorized) Error

func (*UploadRulepackCoreUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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