service

package
v0.0.0-...-82ba225 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 10 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 service API

func (*Client) ServiceAdd

func (a *Client) ServiceAdd(params *ServiceAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceAddCreated, error)

ServiceAdd adds a service item

Adds service object

func (*Client) ServiceArchive

func (a *Client) ServiceArchive(params *ServiceArchiveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceArchiveOK, error)

ServiceArchive archives service

archive service (for example, if user subscription got cancelled)

func (*Client) ServiceCredentialsUpdate

func (a *Client) ServiceCredentialsUpdate(params *ServiceCredentialsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceCredentialsUpdateOK, error)

ServiceCredentialsUpdate updates service credentials

updates service credentials with passed data

func (*Client) ServiceDelete

func (a *Client) ServiceDelete(params *ServiceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceDeleteOK, error)

ServiceDelete deletes a service item

Deletes a service object

func (*Client) ServiceEdit

func (a *Client) ServiceEdit(params *ServiceEditParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceEditOK, error)

ServiceEdit edits a service item

Edit service object

func (*Client) ServiceExplain

func (a *Client) ServiceExplain(params *ServiceExplainParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceExplainOK, error)

ServiceExplain explains status of service

Explain status of service

func (*Client) ServiceGet

func (a *Client) ServiceGet(params *ServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceGetOK, error)

ServiceGet gets a service item

Get service object

func (*Client) ServiceList

func (a *Client) ServiceList(params *ServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceListOK, error)

ServiceList lists all services

List of service objects

func (*Client) ServiceLogs

func (a *Client) ServiceLogs(params *ServiceLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceLogsOK, error)

ServiceLogs lists service logs

List service pod logs

func (*Client) ServiceSecretsList

func (a *Client) ServiceSecretsList(params *ServiceSecretsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceSecretsListOK, error)

ServiceSecretsList retrieves service secrets

retrieves service secrets

func (*Client) ServiceUnarchive

func (a *Client) ServiceUnarchive(params *ServiceUnarchiveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceUnarchiveOK, error)

ServiceUnarchive unarchives service

unarchive service (for example, if user subscription resumed from canceled state)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ServiceAdd(params *ServiceAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceAddCreated, error)

	ServiceArchive(params *ServiceArchiveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceArchiveOK, error)

	ServiceCredentialsUpdate(params *ServiceCredentialsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceCredentialsUpdateOK, error)

	ServiceDelete(params *ServiceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceDeleteOK, error)

	ServiceEdit(params *ServiceEditParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceEditOK, error)

	ServiceExplain(params *ServiceExplainParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceExplainOK, error)

	ServiceGet(params *ServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceGetOK, error)

	ServiceList(params *ServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceListOK, error)

	ServiceLogs(params *ServiceLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceLogsOK, error)

	ServiceSecretsList(params *ServiceSecretsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceSecretsListOK, error)

	ServiceUnarchive(params *ServiceUnarchiveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceUnarchiveOK, 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 service API client.

type ServiceAddBadRequest

type ServiceAddBadRequest struct {
	Payload *models.Error
}
ServiceAddBadRequest describes a response with status code 400, with default header values.

invalid input, object invalid

func NewServiceAddBadRequest

func NewServiceAddBadRequest() *ServiceAddBadRequest

NewServiceAddBadRequest creates a ServiceAddBadRequest with default headers values

func (*ServiceAddBadRequest) Error

func (o *ServiceAddBadRequest) Error() string

func (*ServiceAddBadRequest) GetPayload

func (o *ServiceAddBadRequest) GetPayload() *models.Error

type ServiceAddConflict

type ServiceAddConflict struct {
}
ServiceAddConflict describes a response with status code 409, with default header values.

item already exists

func NewServiceAddConflict

func NewServiceAddConflict() *ServiceAddConflict

NewServiceAddConflict creates a ServiceAddConflict with default headers values

func (*ServiceAddConflict) Error

func (o *ServiceAddConflict) Error() string

type ServiceAddCreated

type ServiceAddCreated struct {
	Payload *models.Service
}
ServiceAddCreated describes a response with status code 201, with default header values.

item created

func NewServiceAddCreated

func NewServiceAddCreated() *ServiceAddCreated

NewServiceAddCreated creates a ServiceAddCreated with default headers values

func (*ServiceAddCreated) Error

func (o *ServiceAddCreated) Error() string

func (*ServiceAddCreated) GetPayload

func (o *ServiceAddCreated) GetPayload() *models.Service

type ServiceAddForbidden

type ServiceAddForbidden struct {
}
ServiceAddForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceAddForbidden

func NewServiceAddForbidden() *ServiceAddForbidden

NewServiceAddForbidden creates a ServiceAddForbidden with default headers values

func (*ServiceAddForbidden) Error

func (o *ServiceAddForbidden) Error() string

type ServiceAddParams

type ServiceAddParams struct {

	/* ServiceItem.

	   service item
	*/
	ServiceItem *models.Service

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

ServiceAddParams contains all the parameters to send to the API endpoint

for the service add operation.

Typically these are written to a http.Request.

func NewServiceAddParams

func NewServiceAddParams() *ServiceAddParams

NewServiceAddParams creates a new ServiceAddParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceAddParamsWithContext

func NewServiceAddParamsWithContext(ctx context.Context) *ServiceAddParams

NewServiceAddParamsWithContext creates a new ServiceAddParams object with the ability to set a context for a request.

func NewServiceAddParamsWithHTTPClient

func NewServiceAddParamsWithHTTPClient(client *http.Client) *ServiceAddParams

NewServiceAddParamsWithHTTPClient creates a new ServiceAddParams object with the ability to set a custom HTTPClient for a request.

func NewServiceAddParamsWithTimeout

func NewServiceAddParamsWithTimeout(timeout time.Duration) *ServiceAddParams

NewServiceAddParamsWithTimeout creates a new ServiceAddParams object with the ability to set a timeout on a request.

func (*ServiceAddParams) SetContext

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

SetContext adds the context to the service add params

func (*ServiceAddParams) SetDefaults

func (o *ServiceAddParams) SetDefaults()

SetDefaults hydrates default values in the service add params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceAddParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service add params

func (*ServiceAddParams) SetServiceItem

func (o *ServiceAddParams) SetServiceItem(serviceItem *models.Service)

SetServiceItem adds the serviceItem to the service add params

func (*ServiceAddParams) SetTimeout

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

SetTimeout adds the timeout to the service add params

func (*ServiceAddParams) WithContext

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

WithContext adds the context to the service add params

func (*ServiceAddParams) WithDefaults

func (o *ServiceAddParams) WithDefaults() *ServiceAddParams

WithDefaults hydrates default values in the service add params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceAddParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service add params

func (*ServiceAddParams) WithServiceItem

func (o *ServiceAddParams) WithServiceItem(serviceItem *models.Service) *ServiceAddParams

WithServiceItem adds the serviceItem to the service add params

func (*ServiceAddParams) WithTimeout

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

WithTimeout adds the timeout to the service add params

func (*ServiceAddParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServiceAddReader

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

ServiceAddReader is a Reader for the ServiceAdd structure.

func (*ServiceAddReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceAddServiceUnavailable

type ServiceAddServiceUnavailable struct {
	Payload *models.Error
}
ServiceAddServiceUnavailable describes a response with status code 503, with default header values.

internal server error

func NewServiceAddServiceUnavailable

func NewServiceAddServiceUnavailable() *ServiceAddServiceUnavailable

NewServiceAddServiceUnavailable creates a ServiceAddServiceUnavailable with default headers values

func (*ServiceAddServiceUnavailable) Error

func (*ServiceAddServiceUnavailable) GetPayload

func (o *ServiceAddServiceUnavailable) GetPayload() *models.Error

type ServiceAddUnauthorized

type ServiceAddUnauthorized struct {
}
ServiceAddUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceAddUnauthorized

func NewServiceAddUnauthorized() *ServiceAddUnauthorized

NewServiceAddUnauthorized creates a ServiceAddUnauthorized with default headers values

func (*ServiceAddUnauthorized) Error

func (o *ServiceAddUnauthorized) Error() string

type ServiceAddUnprocessableEntity

type ServiceAddUnprocessableEntity struct {
	Payload *models.Error
}
ServiceAddUnprocessableEntity describes a response with status code 422, with default header values.

bad validation

func NewServiceAddUnprocessableEntity

func NewServiceAddUnprocessableEntity() *ServiceAddUnprocessableEntity

NewServiceAddUnprocessableEntity creates a ServiceAddUnprocessableEntity with default headers values

func (*ServiceAddUnprocessableEntity) Error

func (*ServiceAddUnprocessableEntity) GetPayload

func (o *ServiceAddUnprocessableEntity) GetPayload() *models.Error

type ServiceArchiveBadRequest

type ServiceArchiveBadRequest struct {
	Payload *models.Error
}
ServiceArchiveBadRequest describes a response with status code 400, with default header values.

invalid input

func NewServiceArchiveBadRequest

func NewServiceArchiveBadRequest() *ServiceArchiveBadRequest

NewServiceArchiveBadRequest creates a ServiceArchiveBadRequest with default headers values

func (*ServiceArchiveBadRequest) Error

func (o *ServiceArchiveBadRequest) Error() string

func (*ServiceArchiveBadRequest) GetPayload

func (o *ServiceArchiveBadRequest) GetPayload() *models.Error

type ServiceArchiveForbidden

type ServiceArchiveForbidden struct {
}
ServiceArchiveForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceArchiveForbidden

func NewServiceArchiveForbidden() *ServiceArchiveForbidden

NewServiceArchiveForbidden creates a ServiceArchiveForbidden with default headers values

func (*ServiceArchiveForbidden) Error

func (o *ServiceArchiveForbidden) Error() string

type ServiceArchiveNotFound

type ServiceArchiveNotFound struct {
	Payload *models.Error
}
ServiceArchiveNotFound describes a response with status code 404, with default header values.

service not found

func NewServiceArchiveNotFound

func NewServiceArchiveNotFound() *ServiceArchiveNotFound

NewServiceArchiveNotFound creates a ServiceArchiveNotFound with default headers values

func (*ServiceArchiveNotFound) Error

func (o *ServiceArchiveNotFound) Error() string

func (*ServiceArchiveNotFound) GetPayload

func (o *ServiceArchiveNotFound) GetPayload() *models.Error

type ServiceArchiveOK

type ServiceArchiveOK struct {
}
ServiceArchiveOK describes a response with status code 200, with default header values.

service request to archive is sent

func NewServiceArchiveOK

func NewServiceArchiveOK() *ServiceArchiveOK

NewServiceArchiveOK creates a ServiceArchiveOK with default headers values

func (*ServiceArchiveOK) Error

func (o *ServiceArchiveOK) Error() string

type ServiceArchiveParams

type ServiceArchiveParams struct {

	/* ServiceID.

	   service Resource ID
	*/
	ServiceID string

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

ServiceArchiveParams contains all the parameters to send to the API endpoint

for the service archive operation.

Typically these are written to a http.Request.

func NewServiceArchiveParams

func NewServiceArchiveParams() *ServiceArchiveParams

NewServiceArchiveParams creates a new ServiceArchiveParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceArchiveParamsWithContext

func NewServiceArchiveParamsWithContext(ctx context.Context) *ServiceArchiveParams

NewServiceArchiveParamsWithContext creates a new ServiceArchiveParams object with the ability to set a context for a request.

func NewServiceArchiveParamsWithHTTPClient

func NewServiceArchiveParamsWithHTTPClient(client *http.Client) *ServiceArchiveParams

NewServiceArchiveParamsWithHTTPClient creates a new ServiceArchiveParams object with the ability to set a custom HTTPClient for a request.

func NewServiceArchiveParamsWithTimeout

func NewServiceArchiveParamsWithTimeout(timeout time.Duration) *ServiceArchiveParams

NewServiceArchiveParamsWithTimeout creates a new ServiceArchiveParams object with the ability to set a timeout on a request.

func (*ServiceArchiveParams) SetContext

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

SetContext adds the context to the service archive params

func (*ServiceArchiveParams) SetDefaults

func (o *ServiceArchiveParams) SetDefaults()

SetDefaults hydrates default values in the service archive params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceArchiveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service archive params

func (*ServiceArchiveParams) SetServiceID

func (o *ServiceArchiveParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service archive params

func (*ServiceArchiveParams) SetTimeout

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

SetTimeout adds the timeout to the service archive params

func (*ServiceArchiveParams) WithContext

WithContext adds the context to the service archive params

func (*ServiceArchiveParams) WithDefaults

func (o *ServiceArchiveParams) WithDefaults() *ServiceArchiveParams

WithDefaults hydrates default values in the service archive params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceArchiveParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service archive params

func (*ServiceArchiveParams) WithServiceID

func (o *ServiceArchiveParams) WithServiceID(serviceID string) *ServiceArchiveParams

WithServiceID adds the serviceID to the service archive params

func (*ServiceArchiveParams) WithTimeout

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

WithTimeout adds the timeout to the service archive params

func (*ServiceArchiveParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServiceArchiveReader

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

ServiceArchiveReader is a Reader for the ServiceArchive structure.

func (*ServiceArchiveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceArchiveServiceUnavailable

type ServiceArchiveServiceUnavailable struct {
	Payload *models.Error
}
ServiceArchiveServiceUnavailable describes a response with status code 503, with default header values.

internal service error

func NewServiceArchiveServiceUnavailable

func NewServiceArchiveServiceUnavailable() *ServiceArchiveServiceUnavailable

NewServiceArchiveServiceUnavailable creates a ServiceArchiveServiceUnavailable with default headers values

func (*ServiceArchiveServiceUnavailable) Error

func (*ServiceArchiveServiceUnavailable) GetPayload

type ServiceArchiveUnauthorized

type ServiceArchiveUnauthorized struct {
}
ServiceArchiveUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceArchiveUnauthorized

func NewServiceArchiveUnauthorized() *ServiceArchiveUnauthorized

NewServiceArchiveUnauthorized creates a ServiceArchiveUnauthorized with default headers values

func (*ServiceArchiveUnauthorized) Error

type ServiceArchiveUnprocessableEntity

type ServiceArchiveUnprocessableEntity struct {
}
ServiceArchiveUnprocessableEntity describes a response with status code 422, with default header values.

bad validation

func NewServiceArchiveUnprocessableEntity

func NewServiceArchiveUnprocessableEntity() *ServiceArchiveUnprocessableEntity

NewServiceArchiveUnprocessableEntity creates a ServiceArchiveUnprocessableEntity with default headers values

func (*ServiceArchiveUnprocessableEntity) Error

type ServiceCredentialsUpdateBadRequest

type ServiceCredentialsUpdateBadRequest struct {
	Payload *models.Error
}
ServiceCredentialsUpdateBadRequest describes a response with status code 400, with default header values.

invalid input

func NewServiceCredentialsUpdateBadRequest

func NewServiceCredentialsUpdateBadRequest() *ServiceCredentialsUpdateBadRequest

NewServiceCredentialsUpdateBadRequest creates a ServiceCredentialsUpdateBadRequest with default headers values

func (*ServiceCredentialsUpdateBadRequest) Error

func (*ServiceCredentialsUpdateBadRequest) GetPayload

type ServiceCredentialsUpdateForbidden

type ServiceCredentialsUpdateForbidden struct {
}
ServiceCredentialsUpdateForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceCredentialsUpdateForbidden

func NewServiceCredentialsUpdateForbidden() *ServiceCredentialsUpdateForbidden

NewServiceCredentialsUpdateForbidden creates a ServiceCredentialsUpdateForbidden with default headers values

func (*ServiceCredentialsUpdateForbidden) Error

type ServiceCredentialsUpdateOK

type ServiceCredentialsUpdateOK struct {
}
ServiceCredentialsUpdateOK describes a response with status code 200, with default header values.

credentials are updated

func NewServiceCredentialsUpdateOK

func NewServiceCredentialsUpdateOK() *ServiceCredentialsUpdateOK

NewServiceCredentialsUpdateOK creates a ServiceCredentialsUpdateOK with default headers values

func (*ServiceCredentialsUpdateOK) Error

type ServiceCredentialsUpdateParams

type ServiceCredentialsUpdateParams struct {

	/* ServiceCredentials.

	   service credentials
	*/
	ServiceCredentials models.ServiceCredentials

	/* ServiceID.

	   service Resource ID
	*/
	ServiceID string

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

ServiceCredentialsUpdateParams contains all the parameters to send to the API endpoint

for the service credentials update operation.

Typically these are written to a http.Request.

func NewServiceCredentialsUpdateParams

func NewServiceCredentialsUpdateParams() *ServiceCredentialsUpdateParams

NewServiceCredentialsUpdateParams creates a new ServiceCredentialsUpdateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceCredentialsUpdateParamsWithContext

func NewServiceCredentialsUpdateParamsWithContext(ctx context.Context) *ServiceCredentialsUpdateParams

NewServiceCredentialsUpdateParamsWithContext creates a new ServiceCredentialsUpdateParams object with the ability to set a context for a request.

func NewServiceCredentialsUpdateParamsWithHTTPClient

func NewServiceCredentialsUpdateParamsWithHTTPClient(client *http.Client) *ServiceCredentialsUpdateParams

NewServiceCredentialsUpdateParamsWithHTTPClient creates a new ServiceCredentialsUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewServiceCredentialsUpdateParamsWithTimeout

func NewServiceCredentialsUpdateParamsWithTimeout(timeout time.Duration) *ServiceCredentialsUpdateParams

NewServiceCredentialsUpdateParamsWithTimeout creates a new ServiceCredentialsUpdateParams object with the ability to set a timeout on a request.

func (*ServiceCredentialsUpdateParams) SetContext

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

SetContext adds the context to the service credentials update params

func (*ServiceCredentialsUpdateParams) SetDefaults

func (o *ServiceCredentialsUpdateParams) SetDefaults()

SetDefaults hydrates default values in the service credentials update params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceCredentialsUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service credentials update params

func (*ServiceCredentialsUpdateParams) SetServiceCredentials

func (o *ServiceCredentialsUpdateParams) SetServiceCredentials(serviceCredentials models.ServiceCredentials)

SetServiceCredentials adds the serviceCredentials to the service credentials update params

func (*ServiceCredentialsUpdateParams) SetServiceID

func (o *ServiceCredentialsUpdateParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service credentials update params

func (*ServiceCredentialsUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the service credentials update params

func (*ServiceCredentialsUpdateParams) WithContext

WithContext adds the context to the service credentials update params

func (*ServiceCredentialsUpdateParams) WithDefaults

WithDefaults hydrates default values in the service credentials update params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceCredentialsUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service credentials update params

func (*ServiceCredentialsUpdateParams) WithServiceCredentials

func (o *ServiceCredentialsUpdateParams) WithServiceCredentials(serviceCredentials models.ServiceCredentials) *ServiceCredentialsUpdateParams

WithServiceCredentials adds the serviceCredentials to the service credentials update params

func (*ServiceCredentialsUpdateParams) WithServiceID

WithServiceID adds the serviceID to the service credentials update params

func (*ServiceCredentialsUpdateParams) WithTimeout

WithTimeout adds the timeout to the service credentials update params

func (*ServiceCredentialsUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceCredentialsUpdateReader

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

ServiceCredentialsUpdateReader is a Reader for the ServiceCredentialsUpdate structure.

func (*ServiceCredentialsUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceCredentialsUpdateServiceUnavailable

type ServiceCredentialsUpdateServiceUnavailable struct {
	Payload *models.Error
}
ServiceCredentialsUpdateServiceUnavailable describes a response with status code 503, with default header values.

internal service error

func NewServiceCredentialsUpdateServiceUnavailable

func NewServiceCredentialsUpdateServiceUnavailable() *ServiceCredentialsUpdateServiceUnavailable

NewServiceCredentialsUpdateServiceUnavailable creates a ServiceCredentialsUpdateServiceUnavailable with default headers values

func (*ServiceCredentialsUpdateServiceUnavailable) Error

func (*ServiceCredentialsUpdateServiceUnavailable) GetPayload

type ServiceCredentialsUpdateUnauthorized

type ServiceCredentialsUpdateUnauthorized struct {
}
ServiceCredentialsUpdateUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceCredentialsUpdateUnauthorized

func NewServiceCredentialsUpdateUnauthorized() *ServiceCredentialsUpdateUnauthorized

NewServiceCredentialsUpdateUnauthorized creates a ServiceCredentialsUpdateUnauthorized with default headers values

func (*ServiceCredentialsUpdateUnauthorized) Error

type ServiceCredentialsUpdateUnprocessableEntity

type ServiceCredentialsUpdateUnprocessableEntity struct {
}
ServiceCredentialsUpdateUnprocessableEntity describes a response with status code 422, with default header values.

bad validation

func NewServiceCredentialsUpdateUnprocessableEntity

func NewServiceCredentialsUpdateUnprocessableEntity() *ServiceCredentialsUpdateUnprocessableEntity

NewServiceCredentialsUpdateUnprocessableEntity creates a ServiceCredentialsUpdateUnprocessableEntity with default headers values

func (*ServiceCredentialsUpdateUnprocessableEntity) Error

type ServiceDeleteBadRequest

type ServiceDeleteBadRequest struct {
	Payload *models.Error
}
ServiceDeleteBadRequest describes a response with status code 400, with default header values.

invalid input, object invalid

func NewServiceDeleteBadRequest

func NewServiceDeleteBadRequest() *ServiceDeleteBadRequest

NewServiceDeleteBadRequest creates a ServiceDeleteBadRequest with default headers values

func (*ServiceDeleteBadRequest) Error

func (o *ServiceDeleteBadRequest) Error() string

func (*ServiceDeleteBadRequest) GetPayload

func (o *ServiceDeleteBadRequest) GetPayload() *models.Error

type ServiceDeleteForbidden

type ServiceDeleteForbidden struct {
}
ServiceDeleteForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceDeleteForbidden

func NewServiceDeleteForbidden() *ServiceDeleteForbidden

NewServiceDeleteForbidden creates a ServiceDeleteForbidden with default headers values

func (*ServiceDeleteForbidden) Error

func (o *ServiceDeleteForbidden) Error() string

type ServiceDeleteNotFound

type ServiceDeleteNotFound struct {
	Payload *models.Error
}
ServiceDeleteNotFound describes a response with status code 404, with default header values.

item not found

func NewServiceDeleteNotFound

func NewServiceDeleteNotFound() *ServiceDeleteNotFound

NewServiceDeleteNotFound creates a ServiceDeleteNotFound with default headers values

func (*ServiceDeleteNotFound) Error

func (o *ServiceDeleteNotFound) Error() string

func (*ServiceDeleteNotFound) GetPayload

func (o *ServiceDeleteNotFound) GetPayload() *models.Error

type ServiceDeleteOK

type ServiceDeleteOK struct {
}
ServiceDeleteOK describes a response with status code 200, with default header values.

item deleted

func NewServiceDeleteOK

func NewServiceDeleteOK() *ServiceDeleteOK

NewServiceDeleteOK creates a ServiceDeleteOK with default headers values

func (*ServiceDeleteOK) Error

func (o *ServiceDeleteOK) Error() string

type ServiceDeleteParams

type ServiceDeleteParams struct {

	/* ServiceID.

	   service Resource ID
	*/
	ServiceID string

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

ServiceDeleteParams contains all the parameters to send to the API endpoint

for the service delete operation.

Typically these are written to a http.Request.

func NewServiceDeleteParams

func NewServiceDeleteParams() *ServiceDeleteParams

NewServiceDeleteParams creates a new ServiceDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceDeleteParamsWithContext

func NewServiceDeleteParamsWithContext(ctx context.Context) *ServiceDeleteParams

NewServiceDeleteParamsWithContext creates a new ServiceDeleteParams object with the ability to set a context for a request.

func NewServiceDeleteParamsWithHTTPClient

func NewServiceDeleteParamsWithHTTPClient(client *http.Client) *ServiceDeleteParams

NewServiceDeleteParamsWithHTTPClient creates a new ServiceDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewServiceDeleteParamsWithTimeout

func NewServiceDeleteParamsWithTimeout(timeout time.Duration) *ServiceDeleteParams

NewServiceDeleteParamsWithTimeout creates a new ServiceDeleteParams object with the ability to set a timeout on a request.

func (*ServiceDeleteParams) SetContext

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

SetContext adds the context to the service delete params

func (*ServiceDeleteParams) SetDefaults

func (o *ServiceDeleteParams) SetDefaults()

SetDefaults hydrates default values in the service delete params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service delete params

func (*ServiceDeleteParams) SetServiceID

func (o *ServiceDeleteParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service delete params

func (*ServiceDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the service delete params

func (*ServiceDeleteParams) WithContext

WithContext adds the context to the service delete params

func (*ServiceDeleteParams) WithDefaults

func (o *ServiceDeleteParams) WithDefaults() *ServiceDeleteParams

WithDefaults hydrates default values in the service delete params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service delete params

func (*ServiceDeleteParams) WithServiceID

func (o *ServiceDeleteParams) WithServiceID(serviceID string) *ServiceDeleteParams

WithServiceID adds the serviceID to the service delete params

func (*ServiceDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the service delete params

func (*ServiceDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServiceDeleteReader

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

ServiceDeleteReader is a Reader for the ServiceDelete structure.

func (*ServiceDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceDeleteServiceUnavailable

type ServiceDeleteServiceUnavailable struct {
	Payload *models.Error
}
ServiceDeleteServiceUnavailable describes a response with status code 503, with default header values.

internal server error

func NewServiceDeleteServiceUnavailable

func NewServiceDeleteServiceUnavailable() *ServiceDeleteServiceUnavailable

NewServiceDeleteServiceUnavailable creates a ServiceDeleteServiceUnavailable with default headers values

func (*ServiceDeleteServiceUnavailable) Error

func (*ServiceDeleteServiceUnavailable) GetPayload

func (o *ServiceDeleteServiceUnavailable) GetPayload() *models.Error

type ServiceDeleteUnauthorized

type ServiceDeleteUnauthorized struct {
}
ServiceDeleteUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceDeleteUnauthorized

func NewServiceDeleteUnauthorized() *ServiceDeleteUnauthorized

NewServiceDeleteUnauthorized creates a ServiceDeleteUnauthorized with default headers values

func (*ServiceDeleteUnauthorized) Error

func (o *ServiceDeleteUnauthorized) Error() string

type ServiceDeleteUnprocessableEntity

type ServiceDeleteUnprocessableEntity struct {
}
ServiceDeleteUnprocessableEntity describes a response with status code 422, with default header values.

bad validation

func NewServiceDeleteUnprocessableEntity

func NewServiceDeleteUnprocessableEntity() *ServiceDeleteUnprocessableEntity

NewServiceDeleteUnprocessableEntity creates a ServiceDeleteUnprocessableEntity with default headers values

func (*ServiceDeleteUnprocessableEntity) Error

type ServiceEditBadRequest

type ServiceEditBadRequest struct {
	Payload *models.Error
}
ServiceEditBadRequest describes a response with status code 400, with default header values.

invalid input, object invalid

func NewServiceEditBadRequest

func NewServiceEditBadRequest() *ServiceEditBadRequest

NewServiceEditBadRequest creates a ServiceEditBadRequest with default headers values

func (*ServiceEditBadRequest) Error

func (o *ServiceEditBadRequest) Error() string

func (*ServiceEditBadRequest) GetPayload

func (o *ServiceEditBadRequest) GetPayload() *models.Error

type ServiceEditForbidden

type ServiceEditForbidden struct {
}
ServiceEditForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceEditForbidden

func NewServiceEditForbidden() *ServiceEditForbidden

NewServiceEditForbidden creates a ServiceEditForbidden with default headers values

func (*ServiceEditForbidden) Error

func (o *ServiceEditForbidden) Error() string

type ServiceEditNotFound

type ServiceEditNotFound struct {
	Payload *models.Error
}
ServiceEditNotFound describes a response with status code 404, with default header values.

item not found

func NewServiceEditNotFound

func NewServiceEditNotFound() *ServiceEditNotFound

NewServiceEditNotFound creates a ServiceEditNotFound with default headers values

func (*ServiceEditNotFound) Error

func (o *ServiceEditNotFound) Error() string

func (*ServiceEditNotFound) GetPayload

func (o *ServiceEditNotFound) GetPayload() *models.Error

type ServiceEditOK

type ServiceEditOK struct {
	Payload *models.Service
}
ServiceEditOK describes a response with status code 200, with default header values.

item edited

func NewServiceEditOK

func NewServiceEditOK() *ServiceEditOK

NewServiceEditOK creates a ServiceEditOK with default headers values

func (*ServiceEditOK) Error

func (o *ServiceEditOK) Error() string

func (*ServiceEditOK) GetPayload

func (o *ServiceEditOK) GetPayload() *models.Service

type ServiceEditParams

type ServiceEditParams struct {

	/* ServiceID.

	   service Resource ID
	*/
	ServiceID string

	/* ServiceItem.

	   service item
	*/
	ServiceItem *models.Service

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

ServiceEditParams contains all the parameters to send to the API endpoint

for the service edit operation.

Typically these are written to a http.Request.

func NewServiceEditParams

func NewServiceEditParams() *ServiceEditParams

NewServiceEditParams creates a new ServiceEditParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceEditParamsWithContext

func NewServiceEditParamsWithContext(ctx context.Context) *ServiceEditParams

NewServiceEditParamsWithContext creates a new ServiceEditParams object with the ability to set a context for a request.

func NewServiceEditParamsWithHTTPClient

func NewServiceEditParamsWithHTTPClient(client *http.Client) *ServiceEditParams

NewServiceEditParamsWithHTTPClient creates a new ServiceEditParams object with the ability to set a custom HTTPClient for a request.

func NewServiceEditParamsWithTimeout

func NewServiceEditParamsWithTimeout(timeout time.Duration) *ServiceEditParams

NewServiceEditParamsWithTimeout creates a new ServiceEditParams object with the ability to set a timeout on a request.

func (*ServiceEditParams) SetContext

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

SetContext adds the context to the service edit params

func (*ServiceEditParams) SetDefaults

func (o *ServiceEditParams) SetDefaults()

SetDefaults hydrates default values in the service edit params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceEditParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service edit params

func (*ServiceEditParams) SetServiceID

func (o *ServiceEditParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service edit params

func (*ServiceEditParams) SetServiceItem

func (o *ServiceEditParams) SetServiceItem(serviceItem *models.Service)

SetServiceItem adds the serviceItem to the service edit params

func (*ServiceEditParams) SetTimeout

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

SetTimeout adds the timeout to the service edit params

func (*ServiceEditParams) WithContext

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

WithContext adds the context to the service edit params

func (*ServiceEditParams) WithDefaults

func (o *ServiceEditParams) WithDefaults() *ServiceEditParams

WithDefaults hydrates default values in the service edit params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceEditParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service edit params

func (*ServiceEditParams) WithServiceID

func (o *ServiceEditParams) WithServiceID(serviceID string) *ServiceEditParams

WithServiceID adds the serviceID to the service edit params

func (*ServiceEditParams) WithServiceItem

func (o *ServiceEditParams) WithServiceItem(serviceItem *models.Service) *ServiceEditParams

WithServiceItem adds the serviceItem to the service edit params

func (*ServiceEditParams) WithTimeout

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

WithTimeout adds the timeout to the service edit params

func (*ServiceEditParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServiceEditReader

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

ServiceEditReader is a Reader for the ServiceEdit structure.

func (*ServiceEditReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceEditServiceUnavailable

type ServiceEditServiceUnavailable struct {
	Payload *models.Error
}
ServiceEditServiceUnavailable describes a response with status code 503, with default header values.

internal server error

func NewServiceEditServiceUnavailable

func NewServiceEditServiceUnavailable() *ServiceEditServiceUnavailable

NewServiceEditServiceUnavailable creates a ServiceEditServiceUnavailable with default headers values

func (*ServiceEditServiceUnavailable) Error

func (*ServiceEditServiceUnavailable) GetPayload

func (o *ServiceEditServiceUnavailable) GetPayload() *models.Error

type ServiceEditUnauthorized

type ServiceEditUnauthorized struct {
}
ServiceEditUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceEditUnauthorized

func NewServiceEditUnauthorized() *ServiceEditUnauthorized

NewServiceEditUnauthorized creates a ServiceEditUnauthorized with default headers values

func (*ServiceEditUnauthorized) Error

func (o *ServiceEditUnauthorized) Error() string

type ServiceEditUnprocessableEntity

type ServiceEditUnprocessableEntity struct {
	Payload *models.Error
}
ServiceEditUnprocessableEntity describes a response with status code 422, with default header values.

bad validation

func NewServiceEditUnprocessableEntity

func NewServiceEditUnprocessableEntity() *ServiceEditUnprocessableEntity

NewServiceEditUnprocessableEntity creates a ServiceEditUnprocessableEntity with default headers values

func (*ServiceEditUnprocessableEntity) Error

func (*ServiceEditUnprocessableEntity) GetPayload

func (o *ServiceEditUnprocessableEntity) GetPayload() *models.Error

type ServiceExplainBadRequest

type ServiceExplainBadRequest struct {
	Payload *models.Error
}
ServiceExplainBadRequest describes a response with status code 400, with default header values.

bad input parameter

func NewServiceExplainBadRequest

func NewServiceExplainBadRequest() *ServiceExplainBadRequest

NewServiceExplainBadRequest creates a ServiceExplainBadRequest with default headers values

func (*ServiceExplainBadRequest) Error

func (o *ServiceExplainBadRequest) Error() string

func (*ServiceExplainBadRequest) GetPayload

func (o *ServiceExplainBadRequest) GetPayload() *models.Error

type ServiceExplainForbidden

type ServiceExplainForbidden struct {
}
ServiceExplainForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceExplainForbidden

func NewServiceExplainForbidden() *ServiceExplainForbidden

NewServiceExplainForbidden creates a ServiceExplainForbidden with default headers values

func (*ServiceExplainForbidden) Error

func (o *ServiceExplainForbidden) Error() string

type ServiceExplainOK

type ServiceExplainOK struct {
	Payload *models.Explain
}
ServiceExplainOK describes a response with status code 200, with default header values.

kuberlogic service explain

func NewServiceExplainOK

func NewServiceExplainOK() *ServiceExplainOK

NewServiceExplainOK creates a ServiceExplainOK with default headers values

func (*ServiceExplainOK) Error

func (o *ServiceExplainOK) Error() string

func (*ServiceExplainOK) GetPayload

func (o *ServiceExplainOK) GetPayload() *models.Explain

type ServiceExplainParams

type ServiceExplainParams struct {

	/* ServiceID.

	   service Resource ID
	*/
	ServiceID string

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

ServiceExplainParams contains all the parameters to send to the API endpoint

for the service explain operation.

Typically these are written to a http.Request.

func NewServiceExplainParams

func NewServiceExplainParams() *ServiceExplainParams

NewServiceExplainParams creates a new ServiceExplainParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceExplainParamsWithContext

func NewServiceExplainParamsWithContext(ctx context.Context) *ServiceExplainParams

NewServiceExplainParamsWithContext creates a new ServiceExplainParams object with the ability to set a context for a request.

func NewServiceExplainParamsWithHTTPClient

func NewServiceExplainParamsWithHTTPClient(client *http.Client) *ServiceExplainParams

NewServiceExplainParamsWithHTTPClient creates a new ServiceExplainParams object with the ability to set a custom HTTPClient for a request.

func NewServiceExplainParamsWithTimeout

func NewServiceExplainParamsWithTimeout(timeout time.Duration) *ServiceExplainParams

NewServiceExplainParamsWithTimeout creates a new ServiceExplainParams object with the ability to set a timeout on a request.

func (*ServiceExplainParams) SetContext

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

SetContext adds the context to the service explain params

func (*ServiceExplainParams) SetDefaults

func (o *ServiceExplainParams) SetDefaults()

SetDefaults hydrates default values in the service explain params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceExplainParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service explain params

func (*ServiceExplainParams) SetServiceID

func (o *ServiceExplainParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service explain params

func (*ServiceExplainParams) SetTimeout

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

SetTimeout adds the timeout to the service explain params

func (*ServiceExplainParams) WithContext

WithContext adds the context to the service explain params

func (*ServiceExplainParams) WithDefaults

func (o *ServiceExplainParams) WithDefaults() *ServiceExplainParams

WithDefaults hydrates default values in the service explain params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceExplainParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service explain params

func (*ServiceExplainParams) WithServiceID

func (o *ServiceExplainParams) WithServiceID(serviceID string) *ServiceExplainParams

WithServiceID adds the serviceID to the service explain params

func (*ServiceExplainParams) WithTimeout

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

WithTimeout adds the timeout to the service explain params

func (*ServiceExplainParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServiceExplainReader

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

ServiceExplainReader is a Reader for the ServiceExplain structure.

func (*ServiceExplainReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceExplainServiceUnavailable

type ServiceExplainServiceUnavailable struct {
	Payload *models.Error
}
ServiceExplainServiceUnavailable describes a response with status code 503, with default header values.

internal server error

func NewServiceExplainServiceUnavailable

func NewServiceExplainServiceUnavailable() *ServiceExplainServiceUnavailable

NewServiceExplainServiceUnavailable creates a ServiceExplainServiceUnavailable with default headers values

func (*ServiceExplainServiceUnavailable) Error

func (*ServiceExplainServiceUnavailable) GetPayload

type ServiceExplainUnauthorized

type ServiceExplainUnauthorized struct {
}
ServiceExplainUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceExplainUnauthorized

func NewServiceExplainUnauthorized() *ServiceExplainUnauthorized

NewServiceExplainUnauthorized creates a ServiceExplainUnauthorized with default headers values

func (*ServiceExplainUnauthorized) Error

type ServiceExplainUnprocessableEntity

type ServiceExplainUnprocessableEntity struct {
	Payload *models.Error
}
ServiceExplainUnprocessableEntity describes a response with status code 422, with default header values.

bad validation

func NewServiceExplainUnprocessableEntity

func NewServiceExplainUnprocessableEntity() *ServiceExplainUnprocessableEntity

NewServiceExplainUnprocessableEntity creates a ServiceExplainUnprocessableEntity with default headers values

func (*ServiceExplainUnprocessableEntity) Error

func (*ServiceExplainUnprocessableEntity) GetPayload

type ServiceGetBadRequest

type ServiceGetBadRequest struct {
	Payload *models.Error
}
ServiceGetBadRequest describes a response with status code 400, with default header values.

invalid input, object invalid

func NewServiceGetBadRequest

func NewServiceGetBadRequest() *ServiceGetBadRequest

NewServiceGetBadRequest creates a ServiceGetBadRequest with default headers values

func (*ServiceGetBadRequest) Error

func (o *ServiceGetBadRequest) Error() string

func (*ServiceGetBadRequest) GetPayload

func (o *ServiceGetBadRequest) GetPayload() *models.Error

type ServiceGetForbidden

type ServiceGetForbidden struct {
}
ServiceGetForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceGetForbidden

func NewServiceGetForbidden() *ServiceGetForbidden

NewServiceGetForbidden creates a ServiceGetForbidden with default headers values

func (*ServiceGetForbidden) Error

func (o *ServiceGetForbidden) Error() string

type ServiceGetNotFound

type ServiceGetNotFound struct {
	Payload *models.Error
}
ServiceGetNotFound describes a response with status code 404, with default header values.

item not found

func NewServiceGetNotFound

func NewServiceGetNotFound() *ServiceGetNotFound

NewServiceGetNotFound creates a ServiceGetNotFound with default headers values

func (*ServiceGetNotFound) Error

func (o *ServiceGetNotFound) Error() string

func (*ServiceGetNotFound) GetPayload

func (o *ServiceGetNotFound) GetPayload() *models.Error

type ServiceGetOK

type ServiceGetOK struct {
	Payload *models.Service
}
ServiceGetOK describes a response with status code 200, with default header values.

item edited

func NewServiceGetOK

func NewServiceGetOK() *ServiceGetOK

NewServiceGetOK creates a ServiceGetOK with default headers values

func (*ServiceGetOK) Error

func (o *ServiceGetOK) Error() string

func (*ServiceGetOK) GetPayload

func (o *ServiceGetOK) GetPayload() *models.Service

type ServiceGetParams

type ServiceGetParams struct {

	/* ServiceID.

	   service Resource ID
	*/
	ServiceID string

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

ServiceGetParams contains all the parameters to send to the API endpoint

for the service get operation.

Typically these are written to a http.Request.

func NewServiceGetParams

func NewServiceGetParams() *ServiceGetParams

NewServiceGetParams creates a new ServiceGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceGetParamsWithContext

func NewServiceGetParamsWithContext(ctx context.Context) *ServiceGetParams

NewServiceGetParamsWithContext creates a new ServiceGetParams object with the ability to set a context for a request.

func NewServiceGetParamsWithHTTPClient

func NewServiceGetParamsWithHTTPClient(client *http.Client) *ServiceGetParams

NewServiceGetParamsWithHTTPClient creates a new ServiceGetParams object with the ability to set a custom HTTPClient for a request.

func NewServiceGetParamsWithTimeout

func NewServiceGetParamsWithTimeout(timeout time.Duration) *ServiceGetParams

NewServiceGetParamsWithTimeout creates a new ServiceGetParams object with the ability to set a timeout on a request.

func (*ServiceGetParams) SetContext

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

SetContext adds the context to the service get params

func (*ServiceGetParams) SetDefaults

func (o *ServiceGetParams) SetDefaults()

SetDefaults hydrates default values in the service get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service get params

func (*ServiceGetParams) SetServiceID

func (o *ServiceGetParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service get params

func (*ServiceGetParams) SetTimeout

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

SetTimeout adds the timeout to the service get params

func (*ServiceGetParams) WithContext

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

WithContext adds the context to the service get params

func (*ServiceGetParams) WithDefaults

func (o *ServiceGetParams) WithDefaults() *ServiceGetParams

WithDefaults hydrates default values in the service get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service get params

func (*ServiceGetParams) WithServiceID

func (o *ServiceGetParams) WithServiceID(serviceID string) *ServiceGetParams

WithServiceID adds the serviceID to the service get params

func (*ServiceGetParams) WithTimeout

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

WithTimeout adds the timeout to the service get params

func (*ServiceGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServiceGetReader

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

ServiceGetReader is a Reader for the ServiceGet structure.

func (*ServiceGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceGetServiceUnavailable

type ServiceGetServiceUnavailable struct {
	Payload *models.Error
}
ServiceGetServiceUnavailable describes a response with status code 503, with default header values.

internal server error

func NewServiceGetServiceUnavailable

func NewServiceGetServiceUnavailable() *ServiceGetServiceUnavailable

NewServiceGetServiceUnavailable creates a ServiceGetServiceUnavailable with default headers values

func (*ServiceGetServiceUnavailable) Error

func (*ServiceGetServiceUnavailable) GetPayload

func (o *ServiceGetServiceUnavailable) GetPayload() *models.Error

type ServiceGetUnauthorized

type ServiceGetUnauthorized struct {
}
ServiceGetUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceGetUnauthorized

func NewServiceGetUnauthorized() *ServiceGetUnauthorized

NewServiceGetUnauthorized creates a ServiceGetUnauthorized with default headers values

func (*ServiceGetUnauthorized) Error

func (o *ServiceGetUnauthorized) Error() string

type ServiceGetUnprocessableEntity

type ServiceGetUnprocessableEntity struct {
	Payload *models.Error
}
ServiceGetUnprocessableEntity describes a response with status code 422, with default header values.

bad validation

func NewServiceGetUnprocessableEntity

func NewServiceGetUnprocessableEntity() *ServiceGetUnprocessableEntity

NewServiceGetUnprocessableEntity creates a ServiceGetUnprocessableEntity with default headers values

func (*ServiceGetUnprocessableEntity) Error

func (*ServiceGetUnprocessableEntity) GetPayload

func (o *ServiceGetUnprocessableEntity) GetPayload() *models.Error

type ServiceListBadRequest

type ServiceListBadRequest struct {
	Payload *models.Error
}
ServiceListBadRequest describes a response with status code 400, with default header values.

bad input parameter

func NewServiceListBadRequest

func NewServiceListBadRequest() *ServiceListBadRequest

NewServiceListBadRequest creates a ServiceListBadRequest with default headers values

func (*ServiceListBadRequest) Error

func (o *ServiceListBadRequest) Error() string

func (*ServiceListBadRequest) GetPayload

func (o *ServiceListBadRequest) GetPayload() *models.Error

type ServiceListForbidden

type ServiceListForbidden struct {
}
ServiceListForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceListForbidden

func NewServiceListForbidden() *ServiceListForbidden

NewServiceListForbidden creates a ServiceListForbidden with default headers values

func (*ServiceListForbidden) Error

func (o *ServiceListForbidden) Error() string

type ServiceListOK

type ServiceListOK struct {
	Payload models.Services
}
ServiceListOK describes a response with status code 200, with default header values.

search results matching criteria

func NewServiceListOK

func NewServiceListOK() *ServiceListOK

NewServiceListOK creates a ServiceListOK with default headers values

func (*ServiceListOK) Error

func (o *ServiceListOK) Error() string

func (*ServiceListOK) GetPayload

func (o *ServiceListOK) GetPayload() models.Services

type ServiceListParams

type ServiceListParams struct {

	/* SubscriptionID.

	   subscription ID
	*/
	SubscriptionID *string

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

ServiceListParams contains all the parameters to send to the API endpoint

for the service list operation.

Typically these are written to a http.Request.

func NewServiceListParams

func NewServiceListParams() *ServiceListParams

NewServiceListParams creates a new ServiceListParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceListParamsWithContext

func NewServiceListParamsWithContext(ctx context.Context) *ServiceListParams

NewServiceListParamsWithContext creates a new ServiceListParams object with the ability to set a context for a request.

func NewServiceListParamsWithHTTPClient

func NewServiceListParamsWithHTTPClient(client *http.Client) *ServiceListParams

NewServiceListParamsWithHTTPClient creates a new ServiceListParams object with the ability to set a custom HTTPClient for a request.

func NewServiceListParamsWithTimeout

func NewServiceListParamsWithTimeout(timeout time.Duration) *ServiceListParams

NewServiceListParamsWithTimeout creates a new ServiceListParams object with the ability to set a timeout on a request.

func (*ServiceListParams) SetContext

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

SetContext adds the context to the service list params

func (*ServiceListParams) SetDefaults

func (o *ServiceListParams) SetDefaults()

SetDefaults hydrates default values in the service list params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service list params

func (*ServiceListParams) SetSubscriptionID

func (o *ServiceListParams) SetSubscriptionID(subscriptionID *string)

SetSubscriptionID adds the subscriptionId to the service list params

func (*ServiceListParams) SetTimeout

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

SetTimeout adds the timeout to the service list params

func (*ServiceListParams) WithContext

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

WithContext adds the context to the service list params

func (*ServiceListParams) WithDefaults

func (o *ServiceListParams) WithDefaults() *ServiceListParams

WithDefaults hydrates default values in the service list params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service list params

func (*ServiceListParams) WithSubscriptionID

func (o *ServiceListParams) WithSubscriptionID(subscriptionID *string) *ServiceListParams

WithSubscriptionID adds the subscriptionID to the service list params

func (*ServiceListParams) WithTimeout

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

WithTimeout adds the timeout to the service list params

func (*ServiceListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServiceListReader

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

ServiceListReader is a Reader for the ServiceList structure.

func (*ServiceListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceListServiceUnavailable

type ServiceListServiceUnavailable struct {
	Payload *models.Error
}
ServiceListServiceUnavailable describes a response with status code 503, with default header values.

internal server error

func NewServiceListServiceUnavailable

func NewServiceListServiceUnavailable() *ServiceListServiceUnavailable

NewServiceListServiceUnavailable creates a ServiceListServiceUnavailable with default headers values

func (*ServiceListServiceUnavailable) Error

func (*ServiceListServiceUnavailable) GetPayload

func (o *ServiceListServiceUnavailable) GetPayload() *models.Error

type ServiceListUnauthorized

type ServiceListUnauthorized struct {
}
ServiceListUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceListUnauthorized

func NewServiceListUnauthorized() *ServiceListUnauthorized

NewServiceListUnauthorized creates a ServiceListUnauthorized with default headers values

func (*ServiceListUnauthorized) Error

func (o *ServiceListUnauthorized) Error() string

type ServiceListUnprocessableEntity

type ServiceListUnprocessableEntity struct {
	Payload *models.Error
}
ServiceListUnprocessableEntity describes a response with status code 422, with default header values.

bad validation

func NewServiceListUnprocessableEntity

func NewServiceListUnprocessableEntity() *ServiceListUnprocessableEntity

NewServiceListUnprocessableEntity creates a ServiceListUnprocessableEntity with default headers values

func (*ServiceListUnprocessableEntity) Error

func (*ServiceListUnprocessableEntity) GetPayload

func (o *ServiceListUnprocessableEntity) GetPayload() *models.Error

type ServiceLogsBadRequest

type ServiceLogsBadRequest struct {
	Payload *models.Error
}
ServiceLogsBadRequest describes a response with status code 400, with default header values.

bad input parameter

func NewServiceLogsBadRequest

func NewServiceLogsBadRequest() *ServiceLogsBadRequest

NewServiceLogsBadRequest creates a ServiceLogsBadRequest with default headers values

func (*ServiceLogsBadRequest) Error

func (o *ServiceLogsBadRequest) Error() string

func (*ServiceLogsBadRequest) GetPayload

func (o *ServiceLogsBadRequest) GetPayload() *models.Error

type ServiceLogsForbidden

type ServiceLogsForbidden struct {
}
ServiceLogsForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceLogsForbidden

func NewServiceLogsForbidden() *ServiceLogsForbidden

NewServiceLogsForbidden creates a ServiceLogsForbidden with default headers values

func (*ServiceLogsForbidden) Error

func (o *ServiceLogsForbidden) Error() string

type ServiceLogsOK

type ServiceLogsOK struct {
	Payload models.Logs
}
ServiceLogsOK describes a response with status code 200, with default header values.

kuberlogic service logs

func NewServiceLogsOK

func NewServiceLogsOK() *ServiceLogsOK

NewServiceLogsOK creates a ServiceLogsOK with default headers values

func (*ServiceLogsOK) Error

func (o *ServiceLogsOK) Error() string

func (*ServiceLogsOK) GetPayload

func (o *ServiceLogsOK) GetPayload() models.Logs

type ServiceLogsParams

type ServiceLogsParams struct {

	/* ContainerName.

	   service pod container name to query logs by
	*/
	ContainerName *string

	/* ServiceID.

	   service Resource ID
	*/
	ServiceID string

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

ServiceLogsParams contains all the parameters to send to the API endpoint

for the service logs operation.

Typically these are written to a http.Request.

func NewServiceLogsParams

func NewServiceLogsParams() *ServiceLogsParams

NewServiceLogsParams creates a new ServiceLogsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceLogsParamsWithContext

func NewServiceLogsParamsWithContext(ctx context.Context) *ServiceLogsParams

NewServiceLogsParamsWithContext creates a new ServiceLogsParams object with the ability to set a context for a request.

func NewServiceLogsParamsWithHTTPClient

func NewServiceLogsParamsWithHTTPClient(client *http.Client) *ServiceLogsParams

NewServiceLogsParamsWithHTTPClient creates a new ServiceLogsParams object with the ability to set a custom HTTPClient for a request.

func NewServiceLogsParamsWithTimeout

func NewServiceLogsParamsWithTimeout(timeout time.Duration) *ServiceLogsParams

NewServiceLogsParamsWithTimeout creates a new ServiceLogsParams object with the ability to set a timeout on a request.

func (*ServiceLogsParams) SetContainerName

func (o *ServiceLogsParams) SetContainerName(containerName *string)

SetContainerName adds the containerName to the service logs params

func (*ServiceLogsParams) SetContext

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

SetContext adds the context to the service logs params

func (*ServiceLogsParams) SetDefaults

func (o *ServiceLogsParams) SetDefaults()

SetDefaults hydrates default values in the service logs params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service logs params

func (*ServiceLogsParams) SetServiceID

func (o *ServiceLogsParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service logs params

func (*ServiceLogsParams) SetTimeout

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

SetTimeout adds the timeout to the service logs params

func (*ServiceLogsParams) WithContainerName

func (o *ServiceLogsParams) WithContainerName(containerName *string) *ServiceLogsParams

WithContainerName adds the containerName to the service logs params

func (*ServiceLogsParams) WithContext

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

WithContext adds the context to the service logs params

func (*ServiceLogsParams) WithDefaults

func (o *ServiceLogsParams) WithDefaults() *ServiceLogsParams

WithDefaults hydrates default values in the service logs params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service logs params

func (*ServiceLogsParams) WithServiceID

func (o *ServiceLogsParams) WithServiceID(serviceID string) *ServiceLogsParams

WithServiceID adds the serviceID to the service logs params

func (*ServiceLogsParams) WithTimeout

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

WithTimeout adds the timeout to the service logs params

func (*ServiceLogsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServiceLogsReader

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

ServiceLogsReader is a Reader for the ServiceLogs structure.

func (*ServiceLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceLogsServiceUnavailable

type ServiceLogsServiceUnavailable struct {
	Payload *models.Error
}
ServiceLogsServiceUnavailable describes a response with status code 503, with default header values.

internal server error

func NewServiceLogsServiceUnavailable

func NewServiceLogsServiceUnavailable() *ServiceLogsServiceUnavailable

NewServiceLogsServiceUnavailable creates a ServiceLogsServiceUnavailable with default headers values

func (*ServiceLogsServiceUnavailable) Error

func (*ServiceLogsServiceUnavailable) GetPayload

func (o *ServiceLogsServiceUnavailable) GetPayload() *models.Error

type ServiceLogsUnauthorized

type ServiceLogsUnauthorized struct {
}
ServiceLogsUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceLogsUnauthorized

func NewServiceLogsUnauthorized() *ServiceLogsUnauthorized

NewServiceLogsUnauthorized creates a ServiceLogsUnauthorized with default headers values

func (*ServiceLogsUnauthorized) Error

func (o *ServiceLogsUnauthorized) Error() string

type ServiceLogsUnprocessableEntity

type ServiceLogsUnprocessableEntity struct {
	Payload *models.Error
}
ServiceLogsUnprocessableEntity describes a response with status code 422, with default header values.

bad validation

func NewServiceLogsUnprocessableEntity

func NewServiceLogsUnprocessableEntity() *ServiceLogsUnprocessableEntity

NewServiceLogsUnprocessableEntity creates a ServiceLogsUnprocessableEntity with default headers values

func (*ServiceLogsUnprocessableEntity) Error

func (*ServiceLogsUnprocessableEntity) GetPayload

func (o *ServiceLogsUnprocessableEntity) GetPayload() *models.Error

type ServiceSecretsListBadRequest

type ServiceSecretsListBadRequest struct {
	Payload *models.Error
}
ServiceSecretsListBadRequest describes a response with status code 400, with default header values.

invalid input, object invalid

func NewServiceSecretsListBadRequest

func NewServiceSecretsListBadRequest() *ServiceSecretsListBadRequest

NewServiceSecretsListBadRequest creates a ServiceSecretsListBadRequest with default headers values

func (*ServiceSecretsListBadRequest) Error

func (*ServiceSecretsListBadRequest) GetPayload

func (o *ServiceSecretsListBadRequest) GetPayload() *models.Error

type ServiceSecretsListForbidden

type ServiceSecretsListForbidden struct {
}
ServiceSecretsListForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceSecretsListForbidden

func NewServiceSecretsListForbidden() *ServiceSecretsListForbidden

NewServiceSecretsListForbidden creates a ServiceSecretsListForbidden with default headers values

func (*ServiceSecretsListForbidden) Error

type ServiceSecretsListOK

type ServiceSecretsListOK struct {
	Payload models.ServiceSecrets
}
ServiceSecretsListOK describes a response with status code 200, with default header values.

service secrets

func NewServiceSecretsListOK

func NewServiceSecretsListOK() *ServiceSecretsListOK

NewServiceSecretsListOK creates a ServiceSecretsListOK with default headers values

func (*ServiceSecretsListOK) Error

func (o *ServiceSecretsListOK) Error() string

func (*ServiceSecretsListOK) GetPayload

func (o *ServiceSecretsListOK) GetPayload() models.ServiceSecrets

type ServiceSecretsListParams

type ServiceSecretsListParams struct {

	/* ServiceID.

	   service Resource ID
	*/
	ServiceID string

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

ServiceSecretsListParams contains all the parameters to send to the API endpoint

for the service secrets list operation.

Typically these are written to a http.Request.

func NewServiceSecretsListParams

func NewServiceSecretsListParams() *ServiceSecretsListParams

NewServiceSecretsListParams creates a new ServiceSecretsListParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceSecretsListParamsWithContext

func NewServiceSecretsListParamsWithContext(ctx context.Context) *ServiceSecretsListParams

NewServiceSecretsListParamsWithContext creates a new ServiceSecretsListParams object with the ability to set a context for a request.

func NewServiceSecretsListParamsWithHTTPClient

func NewServiceSecretsListParamsWithHTTPClient(client *http.Client) *ServiceSecretsListParams

NewServiceSecretsListParamsWithHTTPClient creates a new ServiceSecretsListParams object with the ability to set a custom HTTPClient for a request.

func NewServiceSecretsListParamsWithTimeout

func NewServiceSecretsListParamsWithTimeout(timeout time.Duration) *ServiceSecretsListParams

NewServiceSecretsListParamsWithTimeout creates a new ServiceSecretsListParams object with the ability to set a timeout on a request.

func (*ServiceSecretsListParams) SetContext

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

SetContext adds the context to the service secrets list params

func (*ServiceSecretsListParams) SetDefaults

func (o *ServiceSecretsListParams) SetDefaults()

SetDefaults hydrates default values in the service secrets list params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceSecretsListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service secrets list params

func (*ServiceSecretsListParams) SetServiceID

func (o *ServiceSecretsListParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service secrets list params

func (*ServiceSecretsListParams) SetTimeout

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

SetTimeout adds the timeout to the service secrets list params

func (*ServiceSecretsListParams) WithContext

WithContext adds the context to the service secrets list params

func (*ServiceSecretsListParams) WithDefaults

WithDefaults hydrates default values in the service secrets list params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceSecretsListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service secrets list params

func (*ServiceSecretsListParams) WithServiceID

func (o *ServiceSecretsListParams) WithServiceID(serviceID string) *ServiceSecretsListParams

WithServiceID adds the serviceID to the service secrets list params

func (*ServiceSecretsListParams) WithTimeout

WithTimeout adds the timeout to the service secrets list params

func (*ServiceSecretsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceSecretsListReader

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

ServiceSecretsListReader is a Reader for the ServiceSecretsList structure.

func (*ServiceSecretsListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceSecretsListServiceUnavailable

type ServiceSecretsListServiceUnavailable struct {
	Payload *models.Error
}
ServiceSecretsListServiceUnavailable describes a response with status code 503, with default header values.

internal service error

func NewServiceSecretsListServiceUnavailable

func NewServiceSecretsListServiceUnavailable() *ServiceSecretsListServiceUnavailable

NewServiceSecretsListServiceUnavailable creates a ServiceSecretsListServiceUnavailable with default headers values

func (*ServiceSecretsListServiceUnavailable) Error

func (*ServiceSecretsListServiceUnavailable) GetPayload

type ServiceSecretsListUnauthorized

type ServiceSecretsListUnauthorized struct {
}
ServiceSecretsListUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceSecretsListUnauthorized

func NewServiceSecretsListUnauthorized() *ServiceSecretsListUnauthorized

NewServiceSecretsListUnauthorized creates a ServiceSecretsListUnauthorized with default headers values

func (*ServiceSecretsListUnauthorized) Error

type ServiceUnarchiveBadRequest

type ServiceUnarchiveBadRequest struct {
	Payload *models.Error
}
ServiceUnarchiveBadRequest describes a response with status code 400, with default header values.

invalid input

func NewServiceUnarchiveBadRequest

func NewServiceUnarchiveBadRequest() *ServiceUnarchiveBadRequest

NewServiceUnarchiveBadRequest creates a ServiceUnarchiveBadRequest with default headers values

func (*ServiceUnarchiveBadRequest) Error

func (*ServiceUnarchiveBadRequest) GetPayload

func (o *ServiceUnarchiveBadRequest) GetPayload() *models.Error

type ServiceUnarchiveForbidden

type ServiceUnarchiveForbidden struct {
}
ServiceUnarchiveForbidden describes a response with status code 403, with default header values.

bad permissions

func NewServiceUnarchiveForbidden

func NewServiceUnarchiveForbidden() *ServiceUnarchiveForbidden

NewServiceUnarchiveForbidden creates a ServiceUnarchiveForbidden with default headers values

func (*ServiceUnarchiveForbidden) Error

func (o *ServiceUnarchiveForbidden) Error() string

type ServiceUnarchiveNotFound

type ServiceUnarchiveNotFound struct {
	Payload *models.Error
}
ServiceUnarchiveNotFound describes a response with status code 404, with default header values.

service not found

func NewServiceUnarchiveNotFound

func NewServiceUnarchiveNotFound() *ServiceUnarchiveNotFound

NewServiceUnarchiveNotFound creates a ServiceUnarchiveNotFound with default headers values

func (*ServiceUnarchiveNotFound) Error

func (o *ServiceUnarchiveNotFound) Error() string

func (*ServiceUnarchiveNotFound) GetPayload

func (o *ServiceUnarchiveNotFound) GetPayload() *models.Error

type ServiceUnarchiveOK

type ServiceUnarchiveOK struct {
}
ServiceUnarchiveOK describes a response with status code 200, with default header values.

service request to unarchive is sent

func NewServiceUnarchiveOK

func NewServiceUnarchiveOK() *ServiceUnarchiveOK

NewServiceUnarchiveOK creates a ServiceUnarchiveOK with default headers values

func (*ServiceUnarchiveOK) Error

func (o *ServiceUnarchiveOK) Error() string

type ServiceUnarchiveParams

type ServiceUnarchiveParams struct {

	/* ServiceID.

	   service Resource ID
	*/
	ServiceID string

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

ServiceUnarchiveParams contains all the parameters to send to the API endpoint

for the service unarchive operation.

Typically these are written to a http.Request.

func NewServiceUnarchiveParams

func NewServiceUnarchiveParams() *ServiceUnarchiveParams

NewServiceUnarchiveParams creates a new ServiceUnarchiveParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceUnarchiveParamsWithContext

func NewServiceUnarchiveParamsWithContext(ctx context.Context) *ServiceUnarchiveParams

NewServiceUnarchiveParamsWithContext creates a new ServiceUnarchiveParams object with the ability to set a context for a request.

func NewServiceUnarchiveParamsWithHTTPClient

func NewServiceUnarchiveParamsWithHTTPClient(client *http.Client) *ServiceUnarchiveParams

NewServiceUnarchiveParamsWithHTTPClient creates a new ServiceUnarchiveParams object with the ability to set a custom HTTPClient for a request.

func NewServiceUnarchiveParamsWithTimeout

func NewServiceUnarchiveParamsWithTimeout(timeout time.Duration) *ServiceUnarchiveParams

NewServiceUnarchiveParamsWithTimeout creates a new ServiceUnarchiveParams object with the ability to set a timeout on a request.

func (*ServiceUnarchiveParams) SetContext

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

SetContext adds the context to the service unarchive params

func (*ServiceUnarchiveParams) SetDefaults

func (o *ServiceUnarchiveParams) SetDefaults()

SetDefaults hydrates default values in the service unarchive params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceUnarchiveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service unarchive params

func (*ServiceUnarchiveParams) SetServiceID

func (o *ServiceUnarchiveParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service unarchive params

func (*ServiceUnarchiveParams) SetTimeout

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

SetTimeout adds the timeout to the service unarchive params

func (*ServiceUnarchiveParams) WithContext

WithContext adds the context to the service unarchive params

func (*ServiceUnarchiveParams) WithDefaults

WithDefaults hydrates default values in the service unarchive params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceUnarchiveParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service unarchive params

func (*ServiceUnarchiveParams) WithServiceID

func (o *ServiceUnarchiveParams) WithServiceID(serviceID string) *ServiceUnarchiveParams

WithServiceID adds the serviceID to the service unarchive params

func (*ServiceUnarchiveParams) WithTimeout

WithTimeout adds the timeout to the service unarchive params

func (*ServiceUnarchiveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceUnarchiveReader

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

ServiceUnarchiveReader is a Reader for the ServiceUnarchive structure.

func (*ServiceUnarchiveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceUnarchiveServiceUnavailable

type ServiceUnarchiveServiceUnavailable struct {
	Payload *models.Error
}
ServiceUnarchiveServiceUnavailable describes a response with status code 503, with default header values.

internal service error

func NewServiceUnarchiveServiceUnavailable

func NewServiceUnarchiveServiceUnavailable() *ServiceUnarchiveServiceUnavailable

NewServiceUnarchiveServiceUnavailable creates a ServiceUnarchiveServiceUnavailable with default headers values

func (*ServiceUnarchiveServiceUnavailable) Error

func (*ServiceUnarchiveServiceUnavailable) GetPayload

type ServiceUnarchiveUnauthorized

type ServiceUnarchiveUnauthorized struct {
}
ServiceUnarchiveUnauthorized describes a response with status code 401, with default header values.

bad authentication

func NewServiceUnarchiveUnauthorized

func NewServiceUnarchiveUnauthorized() *ServiceUnarchiveUnauthorized

NewServiceUnarchiveUnauthorized creates a ServiceUnarchiveUnauthorized with default headers values

func (*ServiceUnarchiveUnauthorized) Error

type ServiceUnarchiveUnprocessableEntity

type ServiceUnarchiveUnprocessableEntity struct {
}
ServiceUnarchiveUnprocessableEntity describes a response with status code 422, with default header values.

bad validation

func NewServiceUnarchiveUnprocessableEntity

func NewServiceUnarchiveUnprocessableEntity() *ServiceUnarchiveUnprocessableEntity

NewServiceUnarchiveUnprocessableEntity creates a ServiceUnarchiveUnprocessableEntity with default headers values

func (*ServiceUnarchiveUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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