organization_external_backends

package
v1.0.58-rc Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 13 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 organization external backends API

func New

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

New creates a new organization external backends API client.

func (*Client) CreateExternalBackend

func (a *Client) CreateExternalBackend(params *CreateExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*CreateExternalBackendOK, error)

CreateExternalBackend Save information about the external backend

func (*Client) DeleteExternalBackend

DeleteExternalBackend delete an External Backend

func (*Client) GetExternalBackend

func (a *Client) GetExternalBackend(params *GetExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*GetExternalBackendOK, error)

GetExternalBackend Get the external backend

func (*Client) GetExternalBackends

func (a *Client) GetExternalBackends(params *GetExternalBackendsParams, authInfo runtime.ClientAuthInfoWriter) (*GetExternalBackendsOK, error)

GetExternalBackends Get the list of organization external backends

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateExternalBackend

func (a *Client) UpdateExternalBackend(params *UpdateExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateExternalBackendOK, error)

UpdateExternalBackend Update an External Backend

type CreateExternalBackendOK

type CreateExternalBackendOK struct {
	Payload *CreateExternalBackendOKBody
}

CreateExternalBackendOK handles this case with default header values.

external backend has been registered

func NewCreateExternalBackendOK

func NewCreateExternalBackendOK() *CreateExternalBackendOK

NewCreateExternalBackendOK creates a CreateExternalBackendOK with default headers values

func (*CreateExternalBackendOK) Error

func (o *CreateExternalBackendOK) Error() string

func (*CreateExternalBackendOK) GetPayload

type CreateExternalBackendOKBody

type CreateExternalBackendOKBody struct {

	// data
	// Required: true
	Data *models.ExternalBackend `json:"data"`
}

CreateExternalBackendOKBody create external backend o k body swagger:model CreateExternalBackendOKBody

func (*CreateExternalBackendOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateExternalBackendOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateExternalBackendOKBody) Validate

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

Validate validates this create external backend o k body

type CreateExternalBackendParams

type CreateExternalBackendParams struct {

	/*Body
	  The information of the external backend

	*/
	Body *models.NewExternalBackend
	/*Environment
	  The environment canonical to use a query filter

	*/
	Environment *string
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*Project
	  A canonical of a project used for filtering.

	*/
	Project *string

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

CreateExternalBackendParams contains all the parameters to send to the API endpoint for the create external backend operation typically these are written to a http.Request

func NewCreateExternalBackendParams

func NewCreateExternalBackendParams() *CreateExternalBackendParams

NewCreateExternalBackendParams creates a new CreateExternalBackendParams object with the default values initialized.

func NewCreateExternalBackendParamsWithContext

func NewCreateExternalBackendParamsWithContext(ctx context.Context) *CreateExternalBackendParams

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

func NewCreateExternalBackendParamsWithHTTPClient

func NewCreateExternalBackendParamsWithHTTPClient(client *http.Client) *CreateExternalBackendParams

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

func NewCreateExternalBackendParamsWithTimeout

func NewCreateExternalBackendParamsWithTimeout(timeout time.Duration) *CreateExternalBackendParams

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

func (*CreateExternalBackendParams) SetBody

SetBody adds the body to the create external backend params

func (*CreateExternalBackendParams) SetContext

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

SetContext adds the context to the create external backend params

func (*CreateExternalBackendParams) SetEnvironment

func (o *CreateExternalBackendParams) SetEnvironment(environment *string)

SetEnvironment adds the environment to the create external backend params

func (*CreateExternalBackendParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create external backend params

func (*CreateExternalBackendParams) SetOrganizationCanonical

func (o *CreateExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the create external backend params

func (*CreateExternalBackendParams) SetProject

func (o *CreateExternalBackendParams) SetProject(project *string)

SetProject adds the project to the create external backend params

func (*CreateExternalBackendParams) SetTimeout

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

SetTimeout adds the timeout to the create external backend params

func (*CreateExternalBackendParams) WithBody

WithBody adds the body to the create external backend params

func (*CreateExternalBackendParams) WithContext

WithContext adds the context to the create external backend params

func (*CreateExternalBackendParams) WithEnvironment

func (o *CreateExternalBackendParams) WithEnvironment(environment *string) *CreateExternalBackendParams

WithEnvironment adds the environment to the create external backend params

func (*CreateExternalBackendParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create external backend params

func (*CreateExternalBackendParams) WithOrganizationCanonical

func (o *CreateExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *CreateExternalBackendParams

WithOrganizationCanonical adds the organizationCanonical to the create external backend params

func (*CreateExternalBackendParams) WithProject

WithProject adds the project to the create external backend params

func (*CreateExternalBackendParams) WithTimeout

WithTimeout adds the timeout to the create external backend params

func (*CreateExternalBackendParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateExternalBackendReader

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

CreateExternalBackendReader is a Reader for the CreateExternalBackend structure.

func (*CreateExternalBackendReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteExternalBackendDefault

type DeleteExternalBackendDefault struct {
	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

DeleteExternalBackendDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewDeleteExternalBackendDefault

func NewDeleteExternalBackendDefault(code int) *DeleteExternalBackendDefault

NewDeleteExternalBackendDefault creates a DeleteExternalBackendDefault with default headers values

func (*DeleteExternalBackendDefault) Code

Code gets the status code for the delete external backend default response

func (*DeleteExternalBackendDefault) Error

func (*DeleteExternalBackendDefault) GetPayload

type DeleteExternalBackendForbidden

type DeleteExternalBackendForbidden struct {
	Payload *models.ErrorPayload
}

DeleteExternalBackendForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewDeleteExternalBackendForbidden

func NewDeleteExternalBackendForbidden() *DeleteExternalBackendForbidden

NewDeleteExternalBackendForbidden creates a DeleteExternalBackendForbidden with default headers values

func (*DeleteExternalBackendForbidden) Error

func (*DeleteExternalBackendForbidden) GetPayload

type DeleteExternalBackendNoContent

type DeleteExternalBackendNoContent struct {
}

DeleteExternalBackendNoContent handles this case with default header values.

Organization Service Catalog Sources has been deleted

func NewDeleteExternalBackendNoContent

func NewDeleteExternalBackendNoContent() *DeleteExternalBackendNoContent

NewDeleteExternalBackendNoContent creates a DeleteExternalBackendNoContent with default headers values

func (*DeleteExternalBackendNoContent) Error

type DeleteExternalBackendNotFound

type DeleteExternalBackendNotFound struct {
	Payload *models.ErrorPayload
}

DeleteExternalBackendNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewDeleteExternalBackendNotFound

func NewDeleteExternalBackendNotFound() *DeleteExternalBackendNotFound

NewDeleteExternalBackendNotFound creates a DeleteExternalBackendNotFound with default headers values

func (*DeleteExternalBackendNotFound) Error

func (*DeleteExternalBackendNotFound) GetPayload

type DeleteExternalBackendParams

type DeleteExternalBackendParams struct {

	/*ExternalBackendID
	  External Backend ID

	*/
	ExternalBackendID uint32
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string

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

DeleteExternalBackendParams contains all the parameters to send to the API endpoint for the delete external backend operation typically these are written to a http.Request

func NewDeleteExternalBackendParams

func NewDeleteExternalBackendParams() *DeleteExternalBackendParams

NewDeleteExternalBackendParams creates a new DeleteExternalBackendParams object with the default values initialized.

func NewDeleteExternalBackendParamsWithContext

func NewDeleteExternalBackendParamsWithContext(ctx context.Context) *DeleteExternalBackendParams

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

func NewDeleteExternalBackendParamsWithHTTPClient

func NewDeleteExternalBackendParamsWithHTTPClient(client *http.Client) *DeleteExternalBackendParams

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

func NewDeleteExternalBackendParamsWithTimeout

func NewDeleteExternalBackendParamsWithTimeout(timeout time.Duration) *DeleteExternalBackendParams

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

func (*DeleteExternalBackendParams) SetContext

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

SetContext adds the context to the delete external backend params

func (*DeleteExternalBackendParams) SetExternalBackendID

func (o *DeleteExternalBackendParams) SetExternalBackendID(externalBackendID uint32)

SetExternalBackendID adds the externalBackendId to the delete external backend params

func (*DeleteExternalBackendParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete external backend params

func (*DeleteExternalBackendParams) SetOrganizationCanonical

func (o *DeleteExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the delete external backend params

func (*DeleteExternalBackendParams) SetTimeout

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

SetTimeout adds the timeout to the delete external backend params

func (*DeleteExternalBackendParams) WithContext

WithContext adds the context to the delete external backend params

func (*DeleteExternalBackendParams) WithExternalBackendID

func (o *DeleteExternalBackendParams) WithExternalBackendID(externalBackendID uint32) *DeleteExternalBackendParams

WithExternalBackendID adds the externalBackendID to the delete external backend params

func (*DeleteExternalBackendParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete external backend params

func (*DeleteExternalBackendParams) WithOrganizationCanonical

func (o *DeleteExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *DeleteExternalBackendParams

WithOrganizationCanonical adds the organizationCanonical to the delete external backend params

func (*DeleteExternalBackendParams) WithTimeout

WithTimeout adds the timeout to the delete external backend params

func (*DeleteExternalBackendParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteExternalBackendReader

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

DeleteExternalBackendReader is a Reader for the DeleteExternalBackend structure.

func (*DeleteExternalBackendReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteExternalBackendUnprocessableEntity

type DeleteExternalBackendUnprocessableEntity struct {
	Payload *models.ErrorPayload
}

DeleteExternalBackendUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewDeleteExternalBackendUnprocessableEntity

func NewDeleteExternalBackendUnprocessableEntity() *DeleteExternalBackendUnprocessableEntity

NewDeleteExternalBackendUnprocessableEntity creates a DeleteExternalBackendUnprocessableEntity with default headers values

func (*DeleteExternalBackendUnprocessableEntity) Error

func (*DeleteExternalBackendUnprocessableEntity) GetPayload

type GetExternalBackendDefault

type GetExternalBackendDefault struct {
	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

GetExternalBackendDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetExternalBackendDefault

func NewGetExternalBackendDefault(code int) *GetExternalBackendDefault

NewGetExternalBackendDefault creates a GetExternalBackendDefault with default headers values

func (*GetExternalBackendDefault) Code

func (o *GetExternalBackendDefault) Code() int

Code gets the status code for the get external backend default response

func (*GetExternalBackendDefault) Error

func (o *GetExternalBackendDefault) Error() string

func (*GetExternalBackendDefault) GetPayload

type GetExternalBackendForbidden

type GetExternalBackendForbidden struct {
	Payload *models.ErrorPayload
}

GetExternalBackendForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetExternalBackendForbidden

func NewGetExternalBackendForbidden() *GetExternalBackendForbidden

NewGetExternalBackendForbidden creates a GetExternalBackendForbidden with default headers values

func (*GetExternalBackendForbidden) Error

func (*GetExternalBackendForbidden) GetPayload

type GetExternalBackendOK

type GetExternalBackendOK struct {
	Payload *GetExternalBackendOKBody
}

GetExternalBackendOK handles this case with default header values.

The external backend

func NewGetExternalBackendOK

func NewGetExternalBackendOK() *GetExternalBackendOK

NewGetExternalBackendOK creates a GetExternalBackendOK with default headers values

func (*GetExternalBackendOK) Error

func (o *GetExternalBackendOK) Error() string

func (*GetExternalBackendOK) GetPayload

type GetExternalBackendOKBody

type GetExternalBackendOKBody struct {

	// data
	// Required: true
	Data *models.ExternalBackend `json:"data"`
}

GetExternalBackendOKBody get external backend o k body swagger:model GetExternalBackendOKBody

func (*GetExternalBackendOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetExternalBackendOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetExternalBackendOKBody) Validate

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

Validate validates this get external backend o k body

type GetExternalBackendParams

type GetExternalBackendParams struct {

	/*ExternalBackendID
	  External Backend ID

	*/
	ExternalBackendID uint32
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string

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

GetExternalBackendParams contains all the parameters to send to the API endpoint for the get external backend operation typically these are written to a http.Request

func NewGetExternalBackendParams

func NewGetExternalBackendParams() *GetExternalBackendParams

NewGetExternalBackendParams creates a new GetExternalBackendParams object with the default values initialized.

func NewGetExternalBackendParamsWithContext

func NewGetExternalBackendParamsWithContext(ctx context.Context) *GetExternalBackendParams

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

func NewGetExternalBackendParamsWithHTTPClient

func NewGetExternalBackendParamsWithHTTPClient(client *http.Client) *GetExternalBackendParams

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

func NewGetExternalBackendParamsWithTimeout

func NewGetExternalBackendParamsWithTimeout(timeout time.Duration) *GetExternalBackendParams

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

func (*GetExternalBackendParams) SetContext

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

SetContext adds the context to the get external backend params

func (*GetExternalBackendParams) SetExternalBackendID

func (o *GetExternalBackendParams) SetExternalBackendID(externalBackendID uint32)

SetExternalBackendID adds the externalBackendId to the get external backend params

func (*GetExternalBackendParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get external backend params

func (*GetExternalBackendParams) SetOrganizationCanonical

func (o *GetExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get external backend params

func (*GetExternalBackendParams) SetTimeout

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

SetTimeout adds the timeout to the get external backend params

func (*GetExternalBackendParams) WithContext

WithContext adds the context to the get external backend params

func (*GetExternalBackendParams) WithExternalBackendID

func (o *GetExternalBackendParams) WithExternalBackendID(externalBackendID uint32) *GetExternalBackendParams

WithExternalBackendID adds the externalBackendID to the get external backend params

func (*GetExternalBackendParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get external backend params

func (*GetExternalBackendParams) WithOrganizationCanonical

func (o *GetExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *GetExternalBackendParams

WithOrganizationCanonical adds the organizationCanonical to the get external backend params

func (*GetExternalBackendParams) WithTimeout

WithTimeout adds the timeout to the get external backend params

func (*GetExternalBackendParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetExternalBackendReader

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

GetExternalBackendReader is a Reader for the GetExternalBackend structure.

func (*GetExternalBackendReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetExternalBackendUnprocessableEntity

type GetExternalBackendUnprocessableEntity struct {
	Payload *models.ErrorPayload
}

GetExternalBackendUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewGetExternalBackendUnprocessableEntity

func NewGetExternalBackendUnprocessableEntity() *GetExternalBackendUnprocessableEntity

NewGetExternalBackendUnprocessableEntity creates a GetExternalBackendUnprocessableEntity with default headers values

func (*GetExternalBackendUnprocessableEntity) Error

func (*GetExternalBackendUnprocessableEntity) GetPayload

type GetExternalBackendsDefault

type GetExternalBackendsDefault struct {
	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

GetExternalBackendsDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetExternalBackendsDefault

func NewGetExternalBackendsDefault(code int) *GetExternalBackendsDefault

NewGetExternalBackendsDefault creates a GetExternalBackendsDefault with default headers values

func (*GetExternalBackendsDefault) Code

func (o *GetExternalBackendsDefault) Code() int

Code gets the status code for the get external backends default response

func (*GetExternalBackendsDefault) Error

func (*GetExternalBackendsDefault) GetPayload

type GetExternalBackendsForbidden

type GetExternalBackendsForbidden struct {
	Payload *models.ErrorPayload
}

GetExternalBackendsForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetExternalBackendsForbidden

func NewGetExternalBackendsForbidden() *GetExternalBackendsForbidden

NewGetExternalBackendsForbidden creates a GetExternalBackendsForbidden with default headers values

func (*GetExternalBackendsForbidden) Error

func (*GetExternalBackendsForbidden) GetPayload

type GetExternalBackendsOK

type GetExternalBackendsOK struct {
	Payload *GetExternalBackendsOKBody
}

GetExternalBackendsOK handles this case with default header values.

The list of the external backends

func NewGetExternalBackendsOK

func NewGetExternalBackendsOK() *GetExternalBackendsOK

NewGetExternalBackendsOK creates a GetExternalBackendsOK with default headers values

func (*GetExternalBackendsOK) Error

func (o *GetExternalBackendsOK) Error() string

func (*GetExternalBackendsOK) GetPayload

type GetExternalBackendsOKBody

type GetExternalBackendsOKBody struct {

	// data
	// Required: true
	Data []*models.ExternalBackend `json:"data"`

	// pagination
	Pagination *models.Pagination `json:"pagination,omitempty"`
}

GetExternalBackendsOKBody get external backends o k body swagger:model GetExternalBackendsOKBody

func (*GetExternalBackendsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetExternalBackendsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetExternalBackendsOKBody) Validate

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

Validate validates this get external backends o k body

type GetExternalBackendsParams

type GetExternalBackendsParams struct {

	/*Environment
	  The environment canonical to use a query filter

	*/
	Environment *string
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*Project
	  A canonical of a project used for filtering.

	*/
	Project *string

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

GetExternalBackendsParams contains all the parameters to send to the API endpoint for the get external backends operation typically these are written to a http.Request

func NewGetExternalBackendsParams

func NewGetExternalBackendsParams() *GetExternalBackendsParams

NewGetExternalBackendsParams creates a new GetExternalBackendsParams object with the default values initialized.

func NewGetExternalBackendsParamsWithContext

func NewGetExternalBackendsParamsWithContext(ctx context.Context) *GetExternalBackendsParams

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

func NewGetExternalBackendsParamsWithHTTPClient

func NewGetExternalBackendsParamsWithHTTPClient(client *http.Client) *GetExternalBackendsParams

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

func NewGetExternalBackendsParamsWithTimeout

func NewGetExternalBackendsParamsWithTimeout(timeout time.Duration) *GetExternalBackendsParams

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

func (*GetExternalBackendsParams) SetContext

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

SetContext adds the context to the get external backends params

func (*GetExternalBackendsParams) SetEnvironment

func (o *GetExternalBackendsParams) SetEnvironment(environment *string)

SetEnvironment adds the environment to the get external backends params

func (*GetExternalBackendsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get external backends params

func (*GetExternalBackendsParams) SetOrganizationCanonical

func (o *GetExternalBackendsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get external backends params

func (*GetExternalBackendsParams) SetProject

func (o *GetExternalBackendsParams) SetProject(project *string)

SetProject adds the project to the get external backends params

func (*GetExternalBackendsParams) SetTimeout

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

SetTimeout adds the timeout to the get external backends params

func (*GetExternalBackendsParams) WithContext

WithContext adds the context to the get external backends params

func (*GetExternalBackendsParams) WithEnvironment

func (o *GetExternalBackendsParams) WithEnvironment(environment *string) *GetExternalBackendsParams

WithEnvironment adds the environment to the get external backends params

func (*GetExternalBackendsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get external backends params

func (*GetExternalBackendsParams) WithOrganizationCanonical

func (o *GetExternalBackendsParams) WithOrganizationCanonical(organizationCanonical string) *GetExternalBackendsParams

WithOrganizationCanonical adds the organizationCanonical to the get external backends params

func (*GetExternalBackendsParams) WithProject

WithProject adds the project to the get external backends params

func (*GetExternalBackendsParams) WithTimeout

WithTimeout adds the timeout to the get external backends params

func (*GetExternalBackendsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetExternalBackendsReader

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

GetExternalBackendsReader is a Reader for the GetExternalBackends structure.

func (*GetExternalBackendsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetExternalBackendsUnprocessableEntity

type GetExternalBackendsUnprocessableEntity struct {
	Payload *models.ErrorPayload
}

GetExternalBackendsUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewGetExternalBackendsUnprocessableEntity

func NewGetExternalBackendsUnprocessableEntity() *GetExternalBackendsUnprocessableEntity

NewGetExternalBackendsUnprocessableEntity creates a GetExternalBackendsUnprocessableEntity with default headers values

func (*GetExternalBackendsUnprocessableEntity) Error

func (*GetExternalBackendsUnprocessableEntity) GetPayload

type UpdateExternalBackendDefault

type UpdateExternalBackendDefault struct {
	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

UpdateExternalBackendDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewUpdateExternalBackendDefault

func NewUpdateExternalBackendDefault(code int) *UpdateExternalBackendDefault

NewUpdateExternalBackendDefault creates a UpdateExternalBackendDefault with default headers values

func (*UpdateExternalBackendDefault) Code

Code gets the status code for the update external backend default response

func (*UpdateExternalBackendDefault) Error

func (*UpdateExternalBackendDefault) GetPayload

type UpdateExternalBackendForbidden

type UpdateExternalBackendForbidden struct {
	Payload *models.ErrorPayload
}

UpdateExternalBackendForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewUpdateExternalBackendForbidden

func NewUpdateExternalBackendForbidden() *UpdateExternalBackendForbidden

NewUpdateExternalBackendForbidden creates a UpdateExternalBackendForbidden with default headers values

func (*UpdateExternalBackendForbidden) Error

func (*UpdateExternalBackendForbidden) GetPayload

type UpdateExternalBackendLengthRequired

type UpdateExternalBackendLengthRequired struct {
}

UpdateExternalBackendLengthRequired handles this case with default header values.

The request has a body but it doesn't have a Content-Length header.

func NewUpdateExternalBackendLengthRequired

func NewUpdateExternalBackendLengthRequired() *UpdateExternalBackendLengthRequired

NewUpdateExternalBackendLengthRequired creates a UpdateExternalBackendLengthRequired with default headers values

func (*UpdateExternalBackendLengthRequired) Error

type UpdateExternalBackendOK

type UpdateExternalBackendOK struct {
	Payload *UpdateExternalBackendOKBody
}

UpdateExternalBackendOK handles this case with default header values.

Success update

func NewUpdateExternalBackendOK

func NewUpdateExternalBackendOK() *UpdateExternalBackendOK

NewUpdateExternalBackendOK creates a UpdateExternalBackendOK with default headers values

func (*UpdateExternalBackendOK) Error

func (o *UpdateExternalBackendOK) Error() string

func (*UpdateExternalBackendOK) GetPayload

type UpdateExternalBackendOKBody

type UpdateExternalBackendOKBody struct {

	// data
	// Required: true
	Data *models.ExternalBackend `json:"data"`
}

UpdateExternalBackendOKBody update external backend o k body swagger:model UpdateExternalBackendOKBody

func (*UpdateExternalBackendOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateExternalBackendOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateExternalBackendOKBody) Validate

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

Validate validates this update external backend o k body

type UpdateExternalBackendParams

type UpdateExternalBackendParams struct {

	/*Body
	  The information of the external backend new data

	*/
	Body *models.NewExternalBackend
	/*ExternalBackendID
	  External Backend ID

	*/
	ExternalBackendID uint32
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string

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

UpdateExternalBackendParams contains all the parameters to send to the API endpoint for the update external backend operation typically these are written to a http.Request

func NewUpdateExternalBackendParams

func NewUpdateExternalBackendParams() *UpdateExternalBackendParams

NewUpdateExternalBackendParams creates a new UpdateExternalBackendParams object with the default values initialized.

func NewUpdateExternalBackendParamsWithContext

func NewUpdateExternalBackendParamsWithContext(ctx context.Context) *UpdateExternalBackendParams

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

func NewUpdateExternalBackendParamsWithHTTPClient

func NewUpdateExternalBackendParamsWithHTTPClient(client *http.Client) *UpdateExternalBackendParams

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

func NewUpdateExternalBackendParamsWithTimeout

func NewUpdateExternalBackendParamsWithTimeout(timeout time.Duration) *UpdateExternalBackendParams

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

func (*UpdateExternalBackendParams) SetBody

SetBody adds the body to the update external backend params

func (*UpdateExternalBackendParams) SetContext

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

SetContext adds the context to the update external backend params

func (*UpdateExternalBackendParams) SetExternalBackendID

func (o *UpdateExternalBackendParams) SetExternalBackendID(externalBackendID uint32)

SetExternalBackendID adds the externalBackendId to the update external backend params

func (*UpdateExternalBackendParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update external backend params

func (*UpdateExternalBackendParams) SetOrganizationCanonical

func (o *UpdateExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the update external backend params

func (*UpdateExternalBackendParams) SetTimeout

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

SetTimeout adds the timeout to the update external backend params

func (*UpdateExternalBackendParams) WithBody

WithBody adds the body to the update external backend params

func (*UpdateExternalBackendParams) WithContext

WithContext adds the context to the update external backend params

func (*UpdateExternalBackendParams) WithExternalBackendID

func (o *UpdateExternalBackendParams) WithExternalBackendID(externalBackendID uint32) *UpdateExternalBackendParams

WithExternalBackendID adds the externalBackendID to the update external backend params

func (*UpdateExternalBackendParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update external backend params

func (*UpdateExternalBackendParams) WithOrganizationCanonical

func (o *UpdateExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *UpdateExternalBackendParams

WithOrganizationCanonical adds the organizationCanonical to the update external backend params

func (*UpdateExternalBackendParams) WithTimeout

WithTimeout adds the timeout to the update external backend params

func (*UpdateExternalBackendParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateExternalBackendReader

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

UpdateExternalBackendReader is a Reader for the UpdateExternalBackend structure.

func (*UpdateExternalBackendReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateExternalBackendUnprocessableEntity

type UpdateExternalBackendUnprocessableEntity struct {
	Payload *models.ErrorPayload
}

UpdateExternalBackendUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewUpdateExternalBackendUnprocessableEntity

func NewUpdateExternalBackendUnprocessableEntity() *UpdateExternalBackendUnprocessableEntity

NewUpdateExternalBackendUnprocessableEntity creates a UpdateExternalBackendUnprocessableEntity with default headers values

func (*UpdateExternalBackendUnprocessableEntity) Error

func (*UpdateExternalBackendUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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