feature_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 feature controller API

func (*Client) ListFeature

func (a *Client) ListFeature(params *ListFeatureParams, authInfo runtime.ClientAuthInfoWriter) (*ListFeatureOK, error)

ListFeature lists

func (*Client) ReadFeature

func (a *Client) ReadFeature(params *ReadFeatureParams, authInfo runtime.ClientAuthInfoWriter) (*ReadFeatureOK, error)

ReadFeature reads

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListFeature(params *ListFeatureParams, authInfo runtime.ClientAuthInfoWriter) (*ListFeatureOK, error)

	ReadFeature(params *ReadFeatureParams, authInfo runtime.ClientAuthInfoWriter) (*ReadFeatureOK, 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 feature controller API client.

type ListFeatureBadRequest

type ListFeatureBadRequest struct {
	Payload *models.APIResult
}

ListFeatureBadRequest handles this case with default header values.

Bad Request

func NewListFeatureBadRequest

func NewListFeatureBadRequest() *ListFeatureBadRequest

NewListFeatureBadRequest creates a ListFeatureBadRequest with default headers values

func (*ListFeatureBadRequest) Error

func (o *ListFeatureBadRequest) Error() string

func (*ListFeatureBadRequest) GetPayload

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

type ListFeatureConflict

type ListFeatureConflict struct {
	Payload *models.APIResult
}

ListFeatureConflict handles this case with default header values.

Conflict

func NewListFeatureConflict

func NewListFeatureConflict() *ListFeatureConflict

NewListFeatureConflict creates a ListFeatureConflict with default headers values

func (*ListFeatureConflict) Error

func (o *ListFeatureConflict) Error() string

func (*ListFeatureConflict) GetPayload

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

type ListFeatureForbidden

type ListFeatureForbidden struct {
	Payload *models.APIResult
}

ListFeatureForbidden handles this case with default header values.

Forbidden

func NewListFeatureForbidden

func NewListFeatureForbidden() *ListFeatureForbidden

NewListFeatureForbidden creates a ListFeatureForbidden with default headers values

func (*ListFeatureForbidden) Error

func (o *ListFeatureForbidden) Error() string

func (*ListFeatureForbidden) GetPayload

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

type ListFeatureInternalServerError

type ListFeatureInternalServerError struct {
	Payload *models.APIResult
}

ListFeatureInternalServerError handles this case with default header values.

Internal Server Error

func NewListFeatureInternalServerError

func NewListFeatureInternalServerError() *ListFeatureInternalServerError

NewListFeatureInternalServerError creates a ListFeatureInternalServerError with default headers values

func (*ListFeatureInternalServerError) Error

func (*ListFeatureInternalServerError) GetPayload

type ListFeatureNotFound

type ListFeatureNotFound struct {
	Payload *models.APIResult
}

ListFeatureNotFound handles this case with default header values.

Not Found

func NewListFeatureNotFound

func NewListFeatureNotFound() *ListFeatureNotFound

NewListFeatureNotFound creates a ListFeatureNotFound with default headers values

func (*ListFeatureNotFound) Error

func (o *ListFeatureNotFound) Error() string

func (*ListFeatureNotFound) GetPayload

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

type ListFeatureOK

type ListFeatureOK struct {
	Payload *models.APIResultListFeature
}

ListFeatureOK handles this case with default header values.

OK

func NewListFeatureOK

func NewListFeatureOK() *ListFeatureOK

NewListFeatureOK creates a ListFeatureOK with default headers values

func (*ListFeatureOK) Error

func (o *ListFeatureOK) Error() string

func (*ListFeatureOK) GetPayload

func (o *ListFeatureOK) GetPayload() *models.APIResultListFeature

type ListFeatureParams

type ListFeatureParams 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
	/*UseStableAPI
	  use_stable_api

	*/
	UseStableAPI *bool

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

ListFeatureParams contains all the parameters to send to the API endpoint for the list feature operation typically these are written to a http.Request

func NewListFeatureParams

func NewListFeatureParams() *ListFeatureParams

NewListFeatureParams creates a new ListFeatureParams object with the default values initialized.

func NewListFeatureParamsWithContext

func NewListFeatureParamsWithContext(ctx context.Context) *ListFeatureParams

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

func NewListFeatureParamsWithHTTPClient

func NewListFeatureParamsWithHTTPClient(client *http.Client) *ListFeatureParams

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

func NewListFeatureParamsWithTimeout

func NewListFeatureParamsWithTimeout(timeout time.Duration) *ListFeatureParams

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

func (*ListFeatureParams) SetContext

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

SetContext adds the context to the list feature params

func (*ListFeatureParams) SetFields

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

SetFields adds the fields to the list feature params

func (*ListFeatureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list feature params

func (*ListFeatureParams) SetLimit

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

SetLimit adds the limit to the list feature params

func (*ListFeatureParams) SetOrderby

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

SetOrderby adds the orderby to the list feature params

func (*ListFeatureParams) SetQ

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

SetQ adds the q to the list feature params

func (*ListFeatureParams) SetStart

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

SetStart adds the start to the list feature params

func (*ListFeatureParams) SetTimeout

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

SetTimeout adds the timeout to the list feature params

func (*ListFeatureParams) SetUseStableAPI

func (o *ListFeatureParams) SetUseStableAPI(useStableAPI *bool)

SetUseStableAPI adds the useStableApi to the list feature params

func (*ListFeatureParams) WithContext

func (o *ListFeatureParams) WithContext(ctx context.Context) *ListFeatureParams

WithContext adds the context to the list feature params

func (*ListFeatureParams) WithFields

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

WithFields adds the fields to the list feature params

func (*ListFeatureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list feature params

func (*ListFeatureParams) WithLimit

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

WithLimit adds the limit to the list feature params

func (*ListFeatureParams) WithOrderby

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

WithOrderby adds the orderby to the list feature params

func (*ListFeatureParams) WithQ

WithQ adds the q to the list feature params

func (*ListFeatureParams) WithStart

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

WithStart adds the start to the list feature params

func (*ListFeatureParams) WithTimeout

func (o *ListFeatureParams) WithTimeout(timeout time.Duration) *ListFeatureParams

WithTimeout adds the timeout to the list feature params

func (*ListFeatureParams) WithUseStableAPI

func (o *ListFeatureParams) WithUseStableAPI(useStableAPI *bool) *ListFeatureParams

WithUseStableAPI adds the useStableAPI to the list feature params

func (*ListFeatureParams) WriteToRequest

func (o *ListFeatureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListFeatureReader

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

ListFeatureReader is a Reader for the ListFeature structure.

func (*ListFeatureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListFeatureUnauthorized

type ListFeatureUnauthorized struct {
	Payload *models.APIResult
}

ListFeatureUnauthorized handles this case with default header values.

Unauthorized

func NewListFeatureUnauthorized

func NewListFeatureUnauthorized() *ListFeatureUnauthorized

NewListFeatureUnauthorized creates a ListFeatureUnauthorized with default headers values

func (*ListFeatureUnauthorized) Error

func (o *ListFeatureUnauthorized) Error() string

func (*ListFeatureUnauthorized) GetPayload

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

type ReadFeatureBadRequest

type ReadFeatureBadRequest struct {
	Payload *models.APIResult
}

ReadFeatureBadRequest handles this case with default header values.

Bad Request

func NewReadFeatureBadRequest

func NewReadFeatureBadRequest() *ReadFeatureBadRequest

NewReadFeatureBadRequest creates a ReadFeatureBadRequest with default headers values

func (*ReadFeatureBadRequest) Error

func (o *ReadFeatureBadRequest) Error() string

func (*ReadFeatureBadRequest) GetPayload

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

type ReadFeatureConflict

type ReadFeatureConflict struct {
	Payload *models.APIResult
}

ReadFeatureConflict handles this case with default header values.

Conflict

func NewReadFeatureConflict

func NewReadFeatureConflict() *ReadFeatureConflict

NewReadFeatureConflict creates a ReadFeatureConflict with default headers values

func (*ReadFeatureConflict) Error

func (o *ReadFeatureConflict) Error() string

func (*ReadFeatureConflict) GetPayload

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

type ReadFeatureForbidden

type ReadFeatureForbidden struct {
	Payload *models.APIResult
}

ReadFeatureForbidden handles this case with default header values.

Forbidden

func NewReadFeatureForbidden

func NewReadFeatureForbidden() *ReadFeatureForbidden

NewReadFeatureForbidden creates a ReadFeatureForbidden with default headers values

func (*ReadFeatureForbidden) Error

func (o *ReadFeatureForbidden) Error() string

func (*ReadFeatureForbidden) GetPayload

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

type ReadFeatureInternalServerError

type ReadFeatureInternalServerError struct {
	Payload *models.APIResult
}

ReadFeatureInternalServerError handles this case with default header values.

Internal Server Error

func NewReadFeatureInternalServerError

func NewReadFeatureInternalServerError() *ReadFeatureInternalServerError

NewReadFeatureInternalServerError creates a ReadFeatureInternalServerError with default headers values

func (*ReadFeatureInternalServerError) Error

func (*ReadFeatureInternalServerError) GetPayload

type ReadFeatureNotFound

type ReadFeatureNotFound struct {
	Payload *models.APIResult
}

ReadFeatureNotFound handles this case with default header values.

Not Found

func NewReadFeatureNotFound

func NewReadFeatureNotFound() *ReadFeatureNotFound

NewReadFeatureNotFound creates a ReadFeatureNotFound with default headers values

func (*ReadFeatureNotFound) Error

func (o *ReadFeatureNotFound) Error() string

func (*ReadFeatureNotFound) GetPayload

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

type ReadFeatureOK

type ReadFeatureOK struct {
	Payload *models.APIResultFeature
}

ReadFeatureOK handles this case with default header values.

OK

func NewReadFeatureOK

func NewReadFeatureOK() *ReadFeatureOK

NewReadFeatureOK creates a ReadFeatureOK with default headers values

func (*ReadFeatureOK) Error

func (o *ReadFeatureOK) Error() string

func (*ReadFeatureOK) GetPayload

func (o *ReadFeatureOK) GetPayload() *models.APIResultFeature

type ReadFeatureParams

type ReadFeatureParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*ID
	  id

	*/
	ID string

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

ReadFeatureParams contains all the parameters to send to the API endpoint for the read feature operation typically these are written to a http.Request

func NewReadFeatureParams

func NewReadFeatureParams() *ReadFeatureParams

NewReadFeatureParams creates a new ReadFeatureParams object with the default values initialized.

func NewReadFeatureParamsWithContext

func NewReadFeatureParamsWithContext(ctx context.Context) *ReadFeatureParams

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

func NewReadFeatureParamsWithHTTPClient

func NewReadFeatureParamsWithHTTPClient(client *http.Client) *ReadFeatureParams

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

func NewReadFeatureParamsWithTimeout

func NewReadFeatureParamsWithTimeout(timeout time.Duration) *ReadFeatureParams

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

func (*ReadFeatureParams) SetContext

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

SetContext adds the context to the read feature params

func (*ReadFeatureParams) SetFields

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

SetFields adds the fields to the read feature params

func (*ReadFeatureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read feature params

func (*ReadFeatureParams) SetID

func (o *ReadFeatureParams) SetID(id string)

SetID adds the id to the read feature params

func (*ReadFeatureParams) SetTimeout

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

SetTimeout adds the timeout to the read feature params

func (*ReadFeatureParams) WithContext

func (o *ReadFeatureParams) WithContext(ctx context.Context) *ReadFeatureParams

WithContext adds the context to the read feature params

func (*ReadFeatureParams) WithFields

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

WithFields adds the fields to the read feature params

func (*ReadFeatureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read feature params

func (*ReadFeatureParams) WithID

WithID adds the id to the read feature params

func (*ReadFeatureParams) WithTimeout

func (o *ReadFeatureParams) WithTimeout(timeout time.Duration) *ReadFeatureParams

WithTimeout adds the timeout to the read feature params

func (*ReadFeatureParams) WriteToRequest

func (o *ReadFeatureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadFeatureReader

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

ReadFeatureReader is a Reader for the ReadFeature structure.

func (*ReadFeatureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadFeatureUnauthorized

type ReadFeatureUnauthorized struct {
	Payload *models.APIResult
}

ReadFeatureUnauthorized handles this case with default header values.

Unauthorized

func NewReadFeatureUnauthorized

func NewReadFeatureUnauthorized() *ReadFeatureUnauthorized

NewReadFeatureUnauthorized creates a ReadFeatureUnauthorized with default headers values

func (*ReadFeatureUnauthorized) Error

func (o *ReadFeatureUnauthorized) Error() string

func (*ReadFeatureUnauthorized) GetPayload

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

Jump to

Keyboard shortcuts

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