Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateService(params *CreateServiceParams, opts ...ClientOption) (*CreateServiceCreated, error)
- func (a *Client) DeleteService(params *DeleteServiceParams, opts ...ClientOption) (*DeleteServiceOK, error)
- func (a *Client) DetailService(params *DetailServiceParams, opts ...ClientOption) (*DetailServiceOK, error)
- func (a *Client) ListServiceTerminators(params *ListServiceTerminatorsParams, opts ...ClientOption) (*ListServiceTerminatorsOK, error)
- func (a *Client) ListServices(params *ListServicesParams, opts ...ClientOption) (*ListServicesOK, error)
- func (a *Client) PatchService(params *PatchServiceParams, opts ...ClientOption) (*PatchServiceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateService(params *UpdateServiceParams, opts ...ClientOption) (*UpdateServiceOK, error)
- type ClientOption
- type ClientService
- type CreateServiceBadRequest
- func (o *CreateServiceBadRequest) Error() string
- func (o *CreateServiceBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateServiceBadRequest) IsClientError() bool
- func (o *CreateServiceBadRequest) IsCode(code int) bool
- func (o *CreateServiceBadRequest) IsRedirect() bool
- func (o *CreateServiceBadRequest) IsServerError() bool
- func (o *CreateServiceBadRequest) IsSuccess() bool
- func (o *CreateServiceBadRequest) String() string
- type CreateServiceCreated
- func (o *CreateServiceCreated) Error() string
- func (o *CreateServiceCreated) GetPayload() *rest_model.CreateEnvelope
- func (o *CreateServiceCreated) IsClientError() bool
- func (o *CreateServiceCreated) IsCode(code int) bool
- func (o *CreateServiceCreated) IsRedirect() bool
- func (o *CreateServiceCreated) IsServerError() bool
- func (o *CreateServiceCreated) IsSuccess() bool
- func (o *CreateServiceCreated) String() string
- type CreateServiceParams
- func (o *CreateServiceParams) SetContext(ctx context.Context)
- func (o *CreateServiceParams) SetDefaults()
- func (o *CreateServiceParams) SetHTTPClient(client *http.Client)
- func (o *CreateServiceParams) SetService(service *rest_model.ServiceCreate)
- func (o *CreateServiceParams) SetTimeout(timeout time.Duration)
- func (o *CreateServiceParams) WithContext(ctx context.Context) *CreateServiceParams
- func (o *CreateServiceParams) WithDefaults() *CreateServiceParams
- func (o *CreateServiceParams) WithHTTPClient(client *http.Client) *CreateServiceParams
- func (o *CreateServiceParams) WithService(service *rest_model.ServiceCreate) *CreateServiceParams
- func (o *CreateServiceParams) WithTimeout(timeout time.Duration) *CreateServiceParams
- func (o *CreateServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServiceReader
- type CreateServiceUnauthorized
- func (o *CreateServiceUnauthorized) Error() string
- func (o *CreateServiceUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateServiceUnauthorized) IsClientError() bool
- func (o *CreateServiceUnauthorized) IsCode(code int) bool
- func (o *CreateServiceUnauthorized) IsRedirect() bool
- func (o *CreateServiceUnauthorized) IsServerError() bool
- func (o *CreateServiceUnauthorized) IsSuccess() bool
- func (o *CreateServiceUnauthorized) String() string
- type DeleteServiceBadRequest
- func (o *DeleteServiceBadRequest) Error() string
- func (o *DeleteServiceBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeleteServiceBadRequest) IsClientError() bool
- func (o *DeleteServiceBadRequest) IsCode(code int) bool
- func (o *DeleteServiceBadRequest) IsRedirect() bool
- func (o *DeleteServiceBadRequest) IsServerError() bool
- func (o *DeleteServiceBadRequest) IsSuccess() bool
- func (o *DeleteServiceBadRequest) String() string
- type DeleteServiceConflict
- func (o *DeleteServiceConflict) Error() string
- func (o *DeleteServiceConflict) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeleteServiceConflict) IsClientError() bool
- func (o *DeleteServiceConflict) IsCode(code int) bool
- func (o *DeleteServiceConflict) IsRedirect() bool
- func (o *DeleteServiceConflict) IsServerError() bool
- func (o *DeleteServiceConflict) IsSuccess() bool
- func (o *DeleteServiceConflict) String() string
- type DeleteServiceOK
- func (o *DeleteServiceOK) Error() string
- func (o *DeleteServiceOK) GetPayload() *rest_model.Empty
- func (o *DeleteServiceOK) IsClientError() bool
- func (o *DeleteServiceOK) IsCode(code int) bool
- func (o *DeleteServiceOK) IsRedirect() bool
- func (o *DeleteServiceOK) IsServerError() bool
- func (o *DeleteServiceOK) IsSuccess() bool
- func (o *DeleteServiceOK) String() string
- type DeleteServiceParams
- func (o *DeleteServiceParams) SetContext(ctx context.Context)
- func (o *DeleteServiceParams) SetDefaults()
- func (o *DeleteServiceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServiceParams) SetID(id string)
- func (o *DeleteServiceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServiceParams) WithContext(ctx context.Context) *DeleteServiceParams
- func (o *DeleteServiceParams) WithDefaults() *DeleteServiceParams
- func (o *DeleteServiceParams) WithHTTPClient(client *http.Client) *DeleteServiceParams
- func (o *DeleteServiceParams) WithID(id string) *DeleteServiceParams
- func (o *DeleteServiceParams) WithTimeout(timeout time.Duration) *DeleteServiceParams
- func (o *DeleteServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServiceReader
- type DeleteServiceUnauthorized
- func (o *DeleteServiceUnauthorized) Error() string
- func (o *DeleteServiceUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeleteServiceUnauthorized) IsClientError() bool
- func (o *DeleteServiceUnauthorized) IsCode(code int) bool
- func (o *DeleteServiceUnauthorized) IsRedirect() bool
- func (o *DeleteServiceUnauthorized) IsServerError() bool
- func (o *DeleteServiceUnauthorized) IsSuccess() bool
- func (o *DeleteServiceUnauthorized) String() string
- type DetailServiceNotFound
- func (o *DetailServiceNotFound) Error() string
- func (o *DetailServiceNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailServiceNotFound) IsClientError() bool
- func (o *DetailServiceNotFound) IsCode(code int) bool
- func (o *DetailServiceNotFound) IsRedirect() bool
- func (o *DetailServiceNotFound) IsServerError() bool
- func (o *DetailServiceNotFound) IsSuccess() bool
- func (o *DetailServiceNotFound) String() string
- type DetailServiceOK
- func (o *DetailServiceOK) Error() string
- func (o *DetailServiceOK) GetPayload() *rest_model.DetailServiceEnvelope
- func (o *DetailServiceOK) IsClientError() bool
- func (o *DetailServiceOK) IsCode(code int) bool
- func (o *DetailServiceOK) IsRedirect() bool
- func (o *DetailServiceOK) IsServerError() bool
- func (o *DetailServiceOK) IsSuccess() bool
- func (o *DetailServiceOK) String() string
- type DetailServiceParams
- func (o *DetailServiceParams) SetContext(ctx context.Context)
- func (o *DetailServiceParams) SetDefaults()
- func (o *DetailServiceParams) SetHTTPClient(client *http.Client)
- func (o *DetailServiceParams) SetID(id string)
- func (o *DetailServiceParams) SetTimeout(timeout time.Duration)
- func (o *DetailServiceParams) WithContext(ctx context.Context) *DetailServiceParams
- func (o *DetailServiceParams) WithDefaults() *DetailServiceParams
- func (o *DetailServiceParams) WithHTTPClient(client *http.Client) *DetailServiceParams
- func (o *DetailServiceParams) WithID(id string) *DetailServiceParams
- func (o *DetailServiceParams) WithTimeout(timeout time.Duration) *DetailServiceParams
- func (o *DetailServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailServiceReader
- type DetailServiceUnauthorized
- func (o *DetailServiceUnauthorized) Error() string
- func (o *DetailServiceUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailServiceUnauthorized) IsClientError() bool
- func (o *DetailServiceUnauthorized) IsCode(code int) bool
- func (o *DetailServiceUnauthorized) IsRedirect() bool
- func (o *DetailServiceUnauthorized) IsServerError() bool
- func (o *DetailServiceUnauthorized) IsSuccess() bool
- func (o *DetailServiceUnauthorized) String() string
- type ListServiceTerminatorsBadRequest
- func (o *ListServiceTerminatorsBadRequest) Error() string
- func (o *ListServiceTerminatorsBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListServiceTerminatorsBadRequest) IsClientError() bool
- func (o *ListServiceTerminatorsBadRequest) IsCode(code int) bool
- func (o *ListServiceTerminatorsBadRequest) IsRedirect() bool
- func (o *ListServiceTerminatorsBadRequest) IsServerError() bool
- func (o *ListServiceTerminatorsBadRequest) IsSuccess() bool
- func (o *ListServiceTerminatorsBadRequest) String() string
- type ListServiceTerminatorsOK
- func (o *ListServiceTerminatorsOK) Error() string
- func (o *ListServiceTerminatorsOK) GetPayload() *rest_model.ListTerminatorsEnvelope
- func (o *ListServiceTerminatorsOK) IsClientError() bool
- func (o *ListServiceTerminatorsOK) IsCode(code int) bool
- func (o *ListServiceTerminatorsOK) IsRedirect() bool
- func (o *ListServiceTerminatorsOK) IsServerError() bool
- func (o *ListServiceTerminatorsOK) IsSuccess() bool
- func (o *ListServiceTerminatorsOK) String() string
- type ListServiceTerminatorsParams
- func NewListServiceTerminatorsParams() *ListServiceTerminatorsParams
- func NewListServiceTerminatorsParamsWithContext(ctx context.Context) *ListServiceTerminatorsParams
- func NewListServiceTerminatorsParamsWithHTTPClient(client *http.Client) *ListServiceTerminatorsParams
- func NewListServiceTerminatorsParamsWithTimeout(timeout time.Duration) *ListServiceTerminatorsParams
- func (o *ListServiceTerminatorsParams) SetContext(ctx context.Context)
- func (o *ListServiceTerminatorsParams) SetDefaults()
- func (o *ListServiceTerminatorsParams) SetFilter(filter *string)
- func (o *ListServiceTerminatorsParams) SetHTTPClient(client *http.Client)
- func (o *ListServiceTerminatorsParams) SetID(id string)
- func (o *ListServiceTerminatorsParams) SetLimit(limit *int64)
- func (o *ListServiceTerminatorsParams) SetOffset(offset *int64)
- func (o *ListServiceTerminatorsParams) SetTimeout(timeout time.Duration)
- func (o *ListServiceTerminatorsParams) WithContext(ctx context.Context) *ListServiceTerminatorsParams
- func (o *ListServiceTerminatorsParams) WithDefaults() *ListServiceTerminatorsParams
- func (o *ListServiceTerminatorsParams) WithFilter(filter *string) *ListServiceTerminatorsParams
- func (o *ListServiceTerminatorsParams) WithHTTPClient(client *http.Client) *ListServiceTerminatorsParams
- func (o *ListServiceTerminatorsParams) WithID(id string) *ListServiceTerminatorsParams
- func (o *ListServiceTerminatorsParams) WithLimit(limit *int64) *ListServiceTerminatorsParams
- func (o *ListServiceTerminatorsParams) WithOffset(offset *int64) *ListServiceTerminatorsParams
- func (o *ListServiceTerminatorsParams) WithTimeout(timeout time.Duration) *ListServiceTerminatorsParams
- func (o *ListServiceTerminatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServiceTerminatorsReader
- type ListServiceTerminatorsUnauthorized
- func (o *ListServiceTerminatorsUnauthorized) Error() string
- func (o *ListServiceTerminatorsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListServiceTerminatorsUnauthorized) IsClientError() bool
- func (o *ListServiceTerminatorsUnauthorized) IsCode(code int) bool
- func (o *ListServiceTerminatorsUnauthorized) IsRedirect() bool
- func (o *ListServiceTerminatorsUnauthorized) IsServerError() bool
- func (o *ListServiceTerminatorsUnauthorized) IsSuccess() bool
- func (o *ListServiceTerminatorsUnauthorized) String() string
- type ListServicesOK
- func (o *ListServicesOK) Error() string
- func (o *ListServicesOK) GetPayload() *rest_model.ListServicesEnvelope
- func (o *ListServicesOK) IsClientError() bool
- func (o *ListServicesOK) IsCode(code int) bool
- func (o *ListServicesOK) IsRedirect() bool
- func (o *ListServicesOK) IsServerError() bool
- func (o *ListServicesOK) IsSuccess() bool
- func (o *ListServicesOK) String() string
- type ListServicesParams
- func (o *ListServicesParams) SetContext(ctx context.Context)
- func (o *ListServicesParams) SetDefaults()
- func (o *ListServicesParams) SetFilter(filter *string)
- func (o *ListServicesParams) SetHTTPClient(client *http.Client)
- func (o *ListServicesParams) SetLimit(limit *int64)
- func (o *ListServicesParams) SetOffset(offset *int64)
- func (o *ListServicesParams) SetTimeout(timeout time.Duration)
- func (o *ListServicesParams) WithContext(ctx context.Context) *ListServicesParams
- func (o *ListServicesParams) WithDefaults() *ListServicesParams
- func (o *ListServicesParams) WithFilter(filter *string) *ListServicesParams
- func (o *ListServicesParams) WithHTTPClient(client *http.Client) *ListServicesParams
- func (o *ListServicesParams) WithLimit(limit *int64) *ListServicesParams
- func (o *ListServicesParams) WithOffset(offset *int64) *ListServicesParams
- func (o *ListServicesParams) WithTimeout(timeout time.Duration) *ListServicesParams
- func (o *ListServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicesReader
- type ListServicesUnauthorized
- func (o *ListServicesUnauthorized) Error() string
- func (o *ListServicesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListServicesUnauthorized) IsClientError() bool
- func (o *ListServicesUnauthorized) IsCode(code int) bool
- func (o *ListServicesUnauthorized) IsRedirect() bool
- func (o *ListServicesUnauthorized) IsServerError() bool
- func (o *ListServicesUnauthorized) IsSuccess() bool
- func (o *ListServicesUnauthorized) String() string
- type PatchServiceBadRequest
- func (o *PatchServiceBadRequest) Error() string
- func (o *PatchServiceBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchServiceBadRequest) IsClientError() bool
- func (o *PatchServiceBadRequest) IsCode(code int) bool
- func (o *PatchServiceBadRequest) IsRedirect() bool
- func (o *PatchServiceBadRequest) IsServerError() bool
- func (o *PatchServiceBadRequest) IsSuccess() bool
- func (o *PatchServiceBadRequest) String() string
- type PatchServiceNotFound
- func (o *PatchServiceNotFound) Error() string
- func (o *PatchServiceNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchServiceNotFound) IsClientError() bool
- func (o *PatchServiceNotFound) IsCode(code int) bool
- func (o *PatchServiceNotFound) IsRedirect() bool
- func (o *PatchServiceNotFound) IsServerError() bool
- func (o *PatchServiceNotFound) IsSuccess() bool
- func (o *PatchServiceNotFound) String() string
- type PatchServiceOK
- func (o *PatchServiceOK) Error() string
- func (o *PatchServiceOK) GetPayload() *rest_model.Empty
- func (o *PatchServiceOK) IsClientError() bool
- func (o *PatchServiceOK) IsCode(code int) bool
- func (o *PatchServiceOK) IsRedirect() bool
- func (o *PatchServiceOK) IsServerError() bool
- func (o *PatchServiceOK) IsSuccess() bool
- func (o *PatchServiceOK) String() string
- type PatchServiceParams
- func (o *PatchServiceParams) SetContext(ctx context.Context)
- func (o *PatchServiceParams) SetDefaults()
- func (o *PatchServiceParams) SetHTTPClient(client *http.Client)
- func (o *PatchServiceParams) SetID(id string)
- func (o *PatchServiceParams) SetService(service *rest_model.ServicePatch)
- func (o *PatchServiceParams) SetTimeout(timeout time.Duration)
- func (o *PatchServiceParams) WithContext(ctx context.Context) *PatchServiceParams
- func (o *PatchServiceParams) WithDefaults() *PatchServiceParams
- func (o *PatchServiceParams) WithHTTPClient(client *http.Client) *PatchServiceParams
- func (o *PatchServiceParams) WithID(id string) *PatchServiceParams
- func (o *PatchServiceParams) WithService(service *rest_model.ServicePatch) *PatchServiceParams
- func (o *PatchServiceParams) WithTimeout(timeout time.Duration) *PatchServiceParams
- func (o *PatchServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchServiceReader
- type PatchServiceUnauthorized
- func (o *PatchServiceUnauthorized) Error() string
- func (o *PatchServiceUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchServiceUnauthorized) IsClientError() bool
- func (o *PatchServiceUnauthorized) IsCode(code int) bool
- func (o *PatchServiceUnauthorized) IsRedirect() bool
- func (o *PatchServiceUnauthorized) IsServerError() bool
- func (o *PatchServiceUnauthorized) IsSuccess() bool
- func (o *PatchServiceUnauthorized) String() string
- type UpdateServiceBadRequest
- func (o *UpdateServiceBadRequest) Error() string
- func (o *UpdateServiceBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdateServiceBadRequest) IsClientError() bool
- func (o *UpdateServiceBadRequest) IsCode(code int) bool
- func (o *UpdateServiceBadRequest) IsRedirect() bool
- func (o *UpdateServiceBadRequest) IsServerError() bool
- func (o *UpdateServiceBadRequest) IsSuccess() bool
- func (o *UpdateServiceBadRequest) String() string
- type UpdateServiceNotFound
- func (o *UpdateServiceNotFound) Error() string
- func (o *UpdateServiceNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdateServiceNotFound) IsClientError() bool
- func (o *UpdateServiceNotFound) IsCode(code int) bool
- func (o *UpdateServiceNotFound) IsRedirect() bool
- func (o *UpdateServiceNotFound) IsServerError() bool
- func (o *UpdateServiceNotFound) IsSuccess() bool
- func (o *UpdateServiceNotFound) String() string
- type UpdateServiceOK
- func (o *UpdateServiceOK) Error() string
- func (o *UpdateServiceOK) GetPayload() *rest_model.Empty
- func (o *UpdateServiceOK) IsClientError() bool
- func (o *UpdateServiceOK) IsCode(code int) bool
- func (o *UpdateServiceOK) IsRedirect() bool
- func (o *UpdateServiceOK) IsServerError() bool
- func (o *UpdateServiceOK) IsSuccess() bool
- func (o *UpdateServiceOK) String() string
- type UpdateServiceParams
- func (o *UpdateServiceParams) SetContext(ctx context.Context)
- func (o *UpdateServiceParams) SetDefaults()
- func (o *UpdateServiceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServiceParams) SetID(id string)
- func (o *UpdateServiceParams) SetService(service *rest_model.ServiceUpdate)
- func (o *UpdateServiceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServiceParams) WithContext(ctx context.Context) *UpdateServiceParams
- func (o *UpdateServiceParams) WithDefaults() *UpdateServiceParams
- func (o *UpdateServiceParams) WithHTTPClient(client *http.Client) *UpdateServiceParams
- func (o *UpdateServiceParams) WithID(id string) *UpdateServiceParams
- func (o *UpdateServiceParams) WithService(service *rest_model.ServiceUpdate) *UpdateServiceParams
- func (o *UpdateServiceParams) WithTimeout(timeout time.Duration) *UpdateServiceParams
- func (o *UpdateServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServiceReader
- type UpdateServiceUnauthorized
- func (o *UpdateServiceUnauthorized) Error() string
- func (o *UpdateServiceUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdateServiceUnauthorized) IsClientError() bool
- func (o *UpdateServiceUnauthorized) IsCode(code int) bool
- func (o *UpdateServiceUnauthorized) IsRedirect() bool
- func (o *UpdateServiceUnauthorized) IsServerError() bool
- func (o *UpdateServiceUnauthorized) IsSuccess() bool
- func (o *UpdateServiceUnauthorized) String() string
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) CreateService ¶
func (a *Client) CreateService(params *CreateServiceParams, opts ...ClientOption) (*CreateServiceCreated, error)
CreateService creates a service resource
Create a service resource. Requires admin access.
func (*Client) DeleteService ¶
func (a *Client) DeleteService(params *DeleteServiceParams, opts ...ClientOption) (*DeleteServiceOK, error)
DeleteService deletes a service
Delete a service by id. Requires admin access.
func (*Client) DetailService ¶
func (a *Client) DetailService(params *DetailServiceParams, opts ...ClientOption) (*DetailServiceOK, error)
DetailService retrieves a single service
Retrieves a single service by id. Requires admin access.
func (*Client) ListServiceTerminators ¶
func (a *Client) ListServiceTerminators(params *ListServiceTerminatorsParams, opts ...ClientOption) (*ListServiceTerminatorsOK, error)
ListServiceTerminators lists of terminators assigned to a service
Retrieves a list of terminator resources that are assigned specific service; supports filtering, sorting, and pagination.
func (*Client) ListServices ¶
func (a *Client) ListServices(params *ListServicesParams, opts ...ClientOption) (*ListServicesOK, error)
ListServices lists services
Retrieves a list of service resources; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) PatchService ¶
func (a *Client) PatchService(params *PatchServiceParams, opts ...ClientOption) (*PatchServiceOK, error)
PatchService updates the supplied fields on a service
Update the supplied fields on a service. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateService ¶
func (a *Client) UpdateService(params *UpdateServiceParams, opts ...ClientOption) (*UpdateServiceOK, error)
UpdateService updates all fields on a service
Update all fields on a service by id. Requires admin access.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateService(params *CreateServiceParams, opts ...ClientOption) (*CreateServiceCreated, error) DeleteService(params *DeleteServiceParams, opts ...ClientOption) (*DeleteServiceOK, error) DetailService(params *DetailServiceParams, opts ...ClientOption) (*DetailServiceOK, error) ListServiceTerminators(params *ListServiceTerminatorsParams, opts ...ClientOption) (*ListServiceTerminatorsOK, error) ListServices(params *ListServicesParams, opts ...ClientOption) (*ListServicesOK, error) PatchService(params *PatchServiceParams, opts ...ClientOption) (*PatchServiceOK, error) UpdateService(params *UpdateServiceParams, opts ...ClientOption) (*UpdateServiceOK, 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 CreateServiceBadRequest ¶
type CreateServiceBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateServiceBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreateServiceBadRequest ¶
func NewCreateServiceBadRequest() *CreateServiceBadRequest
NewCreateServiceBadRequest creates a CreateServiceBadRequest with default headers values
func (*CreateServiceBadRequest) Error ¶
func (o *CreateServiceBadRequest) Error() string
func (*CreateServiceBadRequest) GetPayload ¶
func (o *CreateServiceBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateServiceBadRequest) IsClientError ¶ added in v0.21.38
func (o *CreateServiceBadRequest) IsClientError() bool
IsClientError returns true when this create service bad request response has a 4xx status code
func (*CreateServiceBadRequest) IsCode ¶ added in v0.21.38
func (o *CreateServiceBadRequest) IsCode(code int) bool
IsCode returns true when this create service bad request response a status code equal to that given
func (*CreateServiceBadRequest) IsRedirect ¶ added in v0.21.38
func (o *CreateServiceBadRequest) IsRedirect() bool
IsRedirect returns true when this create service bad request response has a 3xx status code
func (*CreateServiceBadRequest) IsServerError ¶ added in v0.21.38
func (o *CreateServiceBadRequest) IsServerError() bool
IsServerError returns true when this create service bad request response has a 5xx status code
func (*CreateServiceBadRequest) IsSuccess ¶ added in v0.21.38
func (o *CreateServiceBadRequest) IsSuccess() bool
IsSuccess returns true when this create service bad request response has a 2xx status code
func (*CreateServiceBadRequest) String ¶ added in v0.21.38
func (o *CreateServiceBadRequest) String() string
type CreateServiceCreated ¶
type CreateServiceCreated struct {
Payload *rest_model.CreateEnvelope
}
CreateServiceCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateServiceCreated ¶
func NewCreateServiceCreated() *CreateServiceCreated
NewCreateServiceCreated creates a CreateServiceCreated with default headers values
func (*CreateServiceCreated) Error ¶
func (o *CreateServiceCreated) Error() string
func (*CreateServiceCreated) GetPayload ¶
func (o *CreateServiceCreated) GetPayload() *rest_model.CreateEnvelope
func (*CreateServiceCreated) IsClientError ¶ added in v0.21.38
func (o *CreateServiceCreated) IsClientError() bool
IsClientError returns true when this create service created response has a 4xx status code
func (*CreateServiceCreated) IsCode ¶ added in v0.21.38
func (o *CreateServiceCreated) IsCode(code int) bool
IsCode returns true when this create service created response a status code equal to that given
func (*CreateServiceCreated) IsRedirect ¶ added in v0.21.38
func (o *CreateServiceCreated) IsRedirect() bool
IsRedirect returns true when this create service created response has a 3xx status code
func (*CreateServiceCreated) IsServerError ¶ added in v0.21.38
func (o *CreateServiceCreated) IsServerError() bool
IsServerError returns true when this create service created response has a 5xx status code
func (*CreateServiceCreated) IsSuccess ¶ added in v0.21.38
func (o *CreateServiceCreated) IsSuccess() bool
IsSuccess returns true when this create service created response has a 2xx status code
func (*CreateServiceCreated) String ¶ added in v0.21.38
func (o *CreateServiceCreated) String() string
type CreateServiceParams ¶
type CreateServiceParams struct { /* Service. A service to create */ Service *rest_model.ServiceCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateServiceParams contains all the parameters to send to the API endpoint
for the create service operation. Typically these are written to a http.Request.
func NewCreateServiceParams ¶
func NewCreateServiceParams() *CreateServiceParams
NewCreateServiceParams creates a new CreateServiceParams 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 NewCreateServiceParamsWithContext ¶
func NewCreateServiceParamsWithContext(ctx context.Context) *CreateServiceParams
NewCreateServiceParamsWithContext creates a new CreateServiceParams object with the ability to set a context for a request.
func NewCreateServiceParamsWithHTTPClient ¶
func NewCreateServiceParamsWithHTTPClient(client *http.Client) *CreateServiceParams
NewCreateServiceParamsWithHTTPClient creates a new CreateServiceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateServiceParamsWithTimeout ¶
func NewCreateServiceParamsWithTimeout(timeout time.Duration) *CreateServiceParams
NewCreateServiceParamsWithTimeout creates a new CreateServiceParams object with the ability to set a timeout on a request.
func (*CreateServiceParams) SetContext ¶
func (o *CreateServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the create service params
func (*CreateServiceParams) SetDefaults ¶
func (o *CreateServiceParams) SetDefaults()
SetDefaults hydrates default values in the create service params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServiceParams) SetHTTPClient ¶
func (o *CreateServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create service params
func (*CreateServiceParams) SetService ¶
func (o *CreateServiceParams) SetService(service *rest_model.ServiceCreate)
SetService adds the service to the create service params
func (*CreateServiceParams) SetTimeout ¶
func (o *CreateServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create service params
func (*CreateServiceParams) WithContext ¶
func (o *CreateServiceParams) WithContext(ctx context.Context) *CreateServiceParams
WithContext adds the context to the create service params
func (*CreateServiceParams) WithDefaults ¶
func (o *CreateServiceParams) WithDefaults() *CreateServiceParams
WithDefaults hydrates default values in the create service params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServiceParams) WithHTTPClient ¶
func (o *CreateServiceParams) WithHTTPClient(client *http.Client) *CreateServiceParams
WithHTTPClient adds the HTTPClient to the create service params
func (*CreateServiceParams) WithService ¶
func (o *CreateServiceParams) WithService(service *rest_model.ServiceCreate) *CreateServiceParams
WithService adds the service to the create service params
func (*CreateServiceParams) WithTimeout ¶
func (o *CreateServiceParams) WithTimeout(timeout time.Duration) *CreateServiceParams
WithTimeout adds the timeout to the create service params
func (*CreateServiceParams) WriteToRequest ¶
func (o *CreateServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateServiceReader ¶
type CreateServiceReader struct {
// contains filtered or unexported fields
}
CreateServiceReader is a Reader for the CreateService structure.
func (*CreateServiceReader) ReadResponse ¶
func (o *CreateServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateServiceUnauthorized ¶
type CreateServiceUnauthorized struct {
}CreateServiceUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateServiceUnauthorized ¶
func NewCreateServiceUnauthorized() *CreateServiceUnauthorized
NewCreateServiceUnauthorized creates a CreateServiceUnauthorized with default headers values
func (*CreateServiceUnauthorized) Error ¶
func (o *CreateServiceUnauthorized) Error() string
func (*CreateServiceUnauthorized) GetPayload ¶
func (o *CreateServiceUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateServiceUnauthorized) IsClientError ¶ added in v0.21.38
func (o *CreateServiceUnauthorized) IsClientError() bool
IsClientError returns true when this create service unauthorized response has a 4xx status code
func (*CreateServiceUnauthorized) IsCode ¶ added in v0.21.38
func (o *CreateServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this create service unauthorized response a status code equal to that given
func (*CreateServiceUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *CreateServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this create service unauthorized response has a 3xx status code
func (*CreateServiceUnauthorized) IsServerError ¶ added in v0.21.38
func (o *CreateServiceUnauthorized) IsServerError() bool
IsServerError returns true when this create service unauthorized response has a 5xx status code
func (*CreateServiceUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *CreateServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this create service unauthorized response has a 2xx status code
func (*CreateServiceUnauthorized) String ¶ added in v0.21.38
func (o *CreateServiceUnauthorized) String() string
type DeleteServiceBadRequest ¶
type DeleteServiceBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteServiceBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewDeleteServiceBadRequest ¶
func NewDeleteServiceBadRequest() *DeleteServiceBadRequest
NewDeleteServiceBadRequest creates a DeleteServiceBadRequest with default headers values
func (*DeleteServiceBadRequest) Error ¶
func (o *DeleteServiceBadRequest) Error() string
func (*DeleteServiceBadRequest) GetPayload ¶
func (o *DeleteServiceBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*DeleteServiceBadRequest) IsClientError ¶ added in v0.21.38
func (o *DeleteServiceBadRequest) IsClientError() bool
IsClientError returns true when this delete service bad request response has a 4xx status code
func (*DeleteServiceBadRequest) IsCode ¶ added in v0.21.38
func (o *DeleteServiceBadRequest) IsCode(code int) bool
IsCode returns true when this delete service bad request response a status code equal to that given
func (*DeleteServiceBadRequest) IsRedirect ¶ added in v0.21.38
func (o *DeleteServiceBadRequest) IsRedirect() bool
IsRedirect returns true when this delete service bad request response has a 3xx status code
func (*DeleteServiceBadRequest) IsServerError ¶ added in v0.21.38
func (o *DeleteServiceBadRequest) IsServerError() bool
IsServerError returns true when this delete service bad request response has a 5xx status code
func (*DeleteServiceBadRequest) IsSuccess ¶ added in v0.21.38
func (o *DeleteServiceBadRequest) IsSuccess() bool
IsSuccess returns true when this delete service bad request response has a 2xx status code
func (*DeleteServiceBadRequest) String ¶ added in v0.21.38
func (o *DeleteServiceBadRequest) String() string
type DeleteServiceConflict ¶
type DeleteServiceConflict struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteServiceConflict describes a response with status code 409, with default header values.
The resource requested to be removed/altered cannot be as it is referenced by another object.
func NewDeleteServiceConflict ¶
func NewDeleteServiceConflict() *DeleteServiceConflict
NewDeleteServiceConflict creates a DeleteServiceConflict with default headers values
func (*DeleteServiceConflict) Error ¶
func (o *DeleteServiceConflict) Error() string
func (*DeleteServiceConflict) GetPayload ¶
func (o *DeleteServiceConflict) GetPayload() *rest_model.APIErrorEnvelope
func (*DeleteServiceConflict) IsClientError ¶ added in v0.21.38
func (o *DeleteServiceConflict) IsClientError() bool
IsClientError returns true when this delete service conflict response has a 4xx status code
func (*DeleteServiceConflict) IsCode ¶ added in v0.21.38
func (o *DeleteServiceConflict) IsCode(code int) bool
IsCode returns true when this delete service conflict response a status code equal to that given
func (*DeleteServiceConflict) IsRedirect ¶ added in v0.21.38
func (o *DeleteServiceConflict) IsRedirect() bool
IsRedirect returns true when this delete service conflict response has a 3xx status code
func (*DeleteServiceConflict) IsServerError ¶ added in v0.21.38
func (o *DeleteServiceConflict) IsServerError() bool
IsServerError returns true when this delete service conflict response has a 5xx status code
func (*DeleteServiceConflict) IsSuccess ¶ added in v0.21.38
func (o *DeleteServiceConflict) IsSuccess() bool
IsSuccess returns true when this delete service conflict response has a 2xx status code
func (*DeleteServiceConflict) String ¶ added in v0.21.38
func (o *DeleteServiceConflict) String() string
type DeleteServiceOK ¶
type DeleteServiceOK struct {
Payload *rest_model.Empty
}
DeleteServiceOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeleteServiceOK ¶
func NewDeleteServiceOK() *DeleteServiceOK
NewDeleteServiceOK creates a DeleteServiceOK with default headers values
func (*DeleteServiceOK) Error ¶
func (o *DeleteServiceOK) Error() string
func (*DeleteServiceOK) GetPayload ¶
func (o *DeleteServiceOK) GetPayload() *rest_model.Empty
func (*DeleteServiceOK) IsClientError ¶ added in v0.21.38
func (o *DeleteServiceOK) IsClientError() bool
IsClientError returns true when this delete service o k response has a 4xx status code
func (*DeleteServiceOK) IsCode ¶ added in v0.21.38
func (o *DeleteServiceOK) IsCode(code int) bool
IsCode returns true when this delete service o k response a status code equal to that given
func (*DeleteServiceOK) IsRedirect ¶ added in v0.21.38
func (o *DeleteServiceOK) IsRedirect() bool
IsRedirect returns true when this delete service o k response has a 3xx status code
func (*DeleteServiceOK) IsServerError ¶ added in v0.21.38
func (o *DeleteServiceOK) IsServerError() bool
IsServerError returns true when this delete service o k response has a 5xx status code
func (*DeleteServiceOK) IsSuccess ¶ added in v0.21.38
func (o *DeleteServiceOK) IsSuccess() bool
IsSuccess returns true when this delete service o k response has a 2xx status code
func (*DeleteServiceOK) String ¶ added in v0.21.38
func (o *DeleteServiceOK) String() string
type DeleteServiceParams ¶
type DeleteServiceParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteServiceParams contains all the parameters to send to the API endpoint
for the delete service operation. Typically these are written to a http.Request.
func NewDeleteServiceParams ¶
func NewDeleteServiceParams() *DeleteServiceParams
NewDeleteServiceParams creates a new DeleteServiceParams 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 NewDeleteServiceParamsWithContext ¶
func NewDeleteServiceParamsWithContext(ctx context.Context) *DeleteServiceParams
NewDeleteServiceParamsWithContext creates a new DeleteServiceParams object with the ability to set a context for a request.
func NewDeleteServiceParamsWithHTTPClient ¶
func NewDeleteServiceParamsWithHTTPClient(client *http.Client) *DeleteServiceParams
NewDeleteServiceParamsWithHTTPClient creates a new DeleteServiceParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteServiceParamsWithTimeout ¶
func NewDeleteServiceParamsWithTimeout(timeout time.Duration) *DeleteServiceParams
NewDeleteServiceParamsWithTimeout creates a new DeleteServiceParams object with the ability to set a timeout on a request.
func (*DeleteServiceParams) SetContext ¶
func (o *DeleteServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete service params
func (*DeleteServiceParams) SetDefaults ¶
func (o *DeleteServiceParams) SetDefaults()
SetDefaults hydrates default values in the delete service params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServiceParams) SetHTTPClient ¶
func (o *DeleteServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete service params
func (*DeleteServiceParams) SetID ¶
func (o *DeleteServiceParams) SetID(id string)
SetID adds the id to the delete service params
func (*DeleteServiceParams) SetTimeout ¶
func (o *DeleteServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete service params
func (*DeleteServiceParams) WithContext ¶
func (o *DeleteServiceParams) WithContext(ctx context.Context) *DeleteServiceParams
WithContext adds the context to the delete service params
func (*DeleteServiceParams) WithDefaults ¶
func (o *DeleteServiceParams) WithDefaults() *DeleteServiceParams
WithDefaults hydrates default values in the delete service params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServiceParams) WithHTTPClient ¶
func (o *DeleteServiceParams) WithHTTPClient(client *http.Client) *DeleteServiceParams
WithHTTPClient adds the HTTPClient to the delete service params
func (*DeleteServiceParams) WithID ¶
func (o *DeleteServiceParams) WithID(id string) *DeleteServiceParams
WithID adds the id to the delete service params
func (*DeleteServiceParams) WithTimeout ¶
func (o *DeleteServiceParams) WithTimeout(timeout time.Duration) *DeleteServiceParams
WithTimeout adds the timeout to the delete service params
func (*DeleteServiceParams) WriteToRequest ¶
func (o *DeleteServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServiceReader ¶
type DeleteServiceReader struct {
// contains filtered or unexported fields
}
DeleteServiceReader is a Reader for the DeleteService structure.
func (*DeleteServiceReader) ReadResponse ¶
func (o *DeleteServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteServiceUnauthorized ¶
type DeleteServiceUnauthorized struct {
}DeleteServiceUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeleteServiceUnauthorized ¶
func NewDeleteServiceUnauthorized() *DeleteServiceUnauthorized
NewDeleteServiceUnauthorized creates a DeleteServiceUnauthorized with default headers values
func (*DeleteServiceUnauthorized) Error ¶
func (o *DeleteServiceUnauthorized) Error() string
func (*DeleteServiceUnauthorized) GetPayload ¶
func (o *DeleteServiceUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DeleteServiceUnauthorized) IsClientError ¶ added in v0.21.38
func (o *DeleteServiceUnauthorized) IsClientError() bool
IsClientError returns true when this delete service unauthorized response has a 4xx status code
func (*DeleteServiceUnauthorized) IsCode ¶ added in v0.21.38
func (o *DeleteServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this delete service unauthorized response a status code equal to that given
func (*DeleteServiceUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *DeleteServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete service unauthorized response has a 3xx status code
func (*DeleteServiceUnauthorized) IsServerError ¶ added in v0.21.38
func (o *DeleteServiceUnauthorized) IsServerError() bool
IsServerError returns true when this delete service unauthorized response has a 5xx status code
func (*DeleteServiceUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *DeleteServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete service unauthorized response has a 2xx status code
func (*DeleteServiceUnauthorized) String ¶ added in v0.21.38
func (o *DeleteServiceUnauthorized) String() string
type DetailServiceNotFound ¶
type DetailServiceNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailServiceNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailServiceNotFound ¶
func NewDetailServiceNotFound() *DetailServiceNotFound
NewDetailServiceNotFound creates a DetailServiceNotFound with default headers values
func (*DetailServiceNotFound) Error ¶
func (o *DetailServiceNotFound) Error() string
func (*DetailServiceNotFound) GetPayload ¶
func (o *DetailServiceNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailServiceNotFound) IsClientError ¶ added in v0.21.38
func (o *DetailServiceNotFound) IsClientError() bool
IsClientError returns true when this detail service not found response has a 4xx status code
func (*DetailServiceNotFound) IsCode ¶ added in v0.21.38
func (o *DetailServiceNotFound) IsCode(code int) bool
IsCode returns true when this detail service not found response a status code equal to that given
func (*DetailServiceNotFound) IsRedirect ¶ added in v0.21.38
func (o *DetailServiceNotFound) IsRedirect() bool
IsRedirect returns true when this detail service not found response has a 3xx status code
func (*DetailServiceNotFound) IsServerError ¶ added in v0.21.38
func (o *DetailServiceNotFound) IsServerError() bool
IsServerError returns true when this detail service not found response has a 5xx status code
func (*DetailServiceNotFound) IsSuccess ¶ added in v0.21.38
func (o *DetailServiceNotFound) IsSuccess() bool
IsSuccess returns true when this detail service not found response has a 2xx status code
func (*DetailServiceNotFound) String ¶ added in v0.21.38
func (o *DetailServiceNotFound) String() string
type DetailServiceOK ¶
type DetailServiceOK struct {
Payload *rest_model.DetailServiceEnvelope
}
DetailServiceOK describes a response with status code 200, with default header values.
A single service
func NewDetailServiceOK ¶
func NewDetailServiceOK() *DetailServiceOK
NewDetailServiceOK creates a DetailServiceOK with default headers values
func (*DetailServiceOK) Error ¶
func (o *DetailServiceOK) Error() string
func (*DetailServiceOK) GetPayload ¶
func (o *DetailServiceOK) GetPayload() *rest_model.DetailServiceEnvelope
func (*DetailServiceOK) IsClientError ¶ added in v0.21.38
func (o *DetailServiceOK) IsClientError() bool
IsClientError returns true when this detail service o k response has a 4xx status code
func (*DetailServiceOK) IsCode ¶ added in v0.21.38
func (o *DetailServiceOK) IsCode(code int) bool
IsCode returns true when this detail service o k response a status code equal to that given
func (*DetailServiceOK) IsRedirect ¶ added in v0.21.38
func (o *DetailServiceOK) IsRedirect() bool
IsRedirect returns true when this detail service o k response has a 3xx status code
func (*DetailServiceOK) IsServerError ¶ added in v0.21.38
func (o *DetailServiceOK) IsServerError() bool
IsServerError returns true when this detail service o k response has a 5xx status code
func (*DetailServiceOK) IsSuccess ¶ added in v0.21.38
func (o *DetailServiceOK) IsSuccess() bool
IsSuccess returns true when this detail service o k response has a 2xx status code
func (*DetailServiceOK) String ¶ added in v0.21.38
func (o *DetailServiceOK) String() string
type DetailServiceParams ¶
type DetailServiceParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailServiceParams contains all the parameters to send to the API endpoint
for the detail service operation. Typically these are written to a http.Request.
func NewDetailServiceParams ¶
func NewDetailServiceParams() *DetailServiceParams
NewDetailServiceParams creates a new DetailServiceParams 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 NewDetailServiceParamsWithContext ¶
func NewDetailServiceParamsWithContext(ctx context.Context) *DetailServiceParams
NewDetailServiceParamsWithContext creates a new DetailServiceParams object with the ability to set a context for a request.
func NewDetailServiceParamsWithHTTPClient ¶
func NewDetailServiceParamsWithHTTPClient(client *http.Client) *DetailServiceParams
NewDetailServiceParamsWithHTTPClient creates a new DetailServiceParams object with the ability to set a custom HTTPClient for a request.
func NewDetailServiceParamsWithTimeout ¶
func NewDetailServiceParamsWithTimeout(timeout time.Duration) *DetailServiceParams
NewDetailServiceParamsWithTimeout creates a new DetailServiceParams object with the ability to set a timeout on a request.
func (*DetailServiceParams) SetContext ¶
func (o *DetailServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the detail service params
func (*DetailServiceParams) SetDefaults ¶
func (o *DetailServiceParams) SetDefaults()
SetDefaults hydrates default values in the detail service params (not the query body).
All values with no default are reset to their zero value.
func (*DetailServiceParams) SetHTTPClient ¶
func (o *DetailServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail service params
func (*DetailServiceParams) SetID ¶
func (o *DetailServiceParams) SetID(id string)
SetID adds the id to the detail service params
func (*DetailServiceParams) SetTimeout ¶
func (o *DetailServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail service params
func (*DetailServiceParams) WithContext ¶
func (o *DetailServiceParams) WithContext(ctx context.Context) *DetailServiceParams
WithContext adds the context to the detail service params
func (*DetailServiceParams) WithDefaults ¶
func (o *DetailServiceParams) WithDefaults() *DetailServiceParams
WithDefaults hydrates default values in the detail service params (not the query body).
All values with no default are reset to their zero value.
func (*DetailServiceParams) WithHTTPClient ¶
func (o *DetailServiceParams) WithHTTPClient(client *http.Client) *DetailServiceParams
WithHTTPClient adds the HTTPClient to the detail service params
func (*DetailServiceParams) WithID ¶
func (o *DetailServiceParams) WithID(id string) *DetailServiceParams
WithID adds the id to the detail service params
func (*DetailServiceParams) WithTimeout ¶
func (o *DetailServiceParams) WithTimeout(timeout time.Duration) *DetailServiceParams
WithTimeout adds the timeout to the detail service params
func (*DetailServiceParams) WriteToRequest ¶
func (o *DetailServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailServiceReader ¶
type DetailServiceReader struct {
// contains filtered or unexported fields
}
DetailServiceReader is a Reader for the DetailService structure.
func (*DetailServiceReader) ReadResponse ¶
func (o *DetailServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailServiceUnauthorized ¶
type DetailServiceUnauthorized struct {
}DetailServiceUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailServiceUnauthorized ¶
func NewDetailServiceUnauthorized() *DetailServiceUnauthorized
NewDetailServiceUnauthorized creates a DetailServiceUnauthorized with default headers values
func (*DetailServiceUnauthorized) Error ¶
func (o *DetailServiceUnauthorized) Error() string
func (*DetailServiceUnauthorized) GetPayload ¶
func (o *DetailServiceUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailServiceUnauthorized) IsClientError ¶ added in v0.21.38
func (o *DetailServiceUnauthorized) IsClientError() bool
IsClientError returns true when this detail service unauthorized response has a 4xx status code
func (*DetailServiceUnauthorized) IsCode ¶ added in v0.21.38
func (o *DetailServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this detail service unauthorized response a status code equal to that given
func (*DetailServiceUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *DetailServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this detail service unauthorized response has a 3xx status code
func (*DetailServiceUnauthorized) IsServerError ¶ added in v0.21.38
func (o *DetailServiceUnauthorized) IsServerError() bool
IsServerError returns true when this detail service unauthorized response has a 5xx status code
func (*DetailServiceUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *DetailServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this detail service unauthorized response has a 2xx status code
func (*DetailServiceUnauthorized) String ¶ added in v0.21.38
func (o *DetailServiceUnauthorized) String() string
type ListServiceTerminatorsBadRequest ¶
type ListServiceTerminatorsBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListServiceTerminatorsBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewListServiceTerminatorsBadRequest ¶
func NewListServiceTerminatorsBadRequest() *ListServiceTerminatorsBadRequest
NewListServiceTerminatorsBadRequest creates a ListServiceTerminatorsBadRequest with default headers values
func (*ListServiceTerminatorsBadRequest) Error ¶
func (o *ListServiceTerminatorsBadRequest) Error() string
func (*ListServiceTerminatorsBadRequest) GetPayload ¶
func (o *ListServiceTerminatorsBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*ListServiceTerminatorsBadRequest) IsClientError ¶ added in v0.21.38
func (o *ListServiceTerminatorsBadRequest) IsClientError() bool
IsClientError returns true when this list service terminators bad request response has a 4xx status code
func (*ListServiceTerminatorsBadRequest) IsCode ¶ added in v0.21.38
func (o *ListServiceTerminatorsBadRequest) IsCode(code int) bool
IsCode returns true when this list service terminators bad request response a status code equal to that given
func (*ListServiceTerminatorsBadRequest) IsRedirect ¶ added in v0.21.38
func (o *ListServiceTerminatorsBadRequest) IsRedirect() bool
IsRedirect returns true when this list service terminators bad request response has a 3xx status code
func (*ListServiceTerminatorsBadRequest) IsServerError ¶ added in v0.21.38
func (o *ListServiceTerminatorsBadRequest) IsServerError() bool
IsServerError returns true when this list service terminators bad request response has a 5xx status code
func (*ListServiceTerminatorsBadRequest) IsSuccess ¶ added in v0.21.38
func (o *ListServiceTerminatorsBadRequest) IsSuccess() bool
IsSuccess returns true when this list service terminators bad request response has a 2xx status code
func (*ListServiceTerminatorsBadRequest) String ¶ added in v0.21.38
func (o *ListServiceTerminatorsBadRequest) String() string
type ListServiceTerminatorsOK ¶
type ListServiceTerminatorsOK struct {
Payload *rest_model.ListTerminatorsEnvelope
}
ListServiceTerminatorsOK describes a response with status code 200, with default header values.
A list of terminators
func NewListServiceTerminatorsOK ¶
func NewListServiceTerminatorsOK() *ListServiceTerminatorsOK
NewListServiceTerminatorsOK creates a ListServiceTerminatorsOK with default headers values
func (*ListServiceTerminatorsOK) Error ¶
func (o *ListServiceTerminatorsOK) Error() string
func (*ListServiceTerminatorsOK) GetPayload ¶
func (o *ListServiceTerminatorsOK) GetPayload() *rest_model.ListTerminatorsEnvelope
func (*ListServiceTerminatorsOK) IsClientError ¶ added in v0.21.38
func (o *ListServiceTerminatorsOK) IsClientError() bool
IsClientError returns true when this list service terminators o k response has a 4xx status code
func (*ListServiceTerminatorsOK) IsCode ¶ added in v0.21.38
func (o *ListServiceTerminatorsOK) IsCode(code int) bool
IsCode returns true when this list service terminators o k response a status code equal to that given
func (*ListServiceTerminatorsOK) IsRedirect ¶ added in v0.21.38
func (o *ListServiceTerminatorsOK) IsRedirect() bool
IsRedirect returns true when this list service terminators o k response has a 3xx status code
func (*ListServiceTerminatorsOK) IsServerError ¶ added in v0.21.38
func (o *ListServiceTerminatorsOK) IsServerError() bool
IsServerError returns true when this list service terminators o k response has a 5xx status code
func (*ListServiceTerminatorsOK) IsSuccess ¶ added in v0.21.38
func (o *ListServiceTerminatorsOK) IsSuccess() bool
IsSuccess returns true when this list service terminators o k response has a 2xx status code
func (*ListServiceTerminatorsOK) String ¶ added in v0.21.38
func (o *ListServiceTerminatorsOK) String() string
type ListServiceTerminatorsParams ¶
type ListServiceTerminatorsParams struct { // Filter. Filter *string /* ID. The id of the requested resource */ ID string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServiceTerminatorsParams contains all the parameters to send to the API endpoint
for the list service terminators operation. Typically these are written to a http.Request.
func NewListServiceTerminatorsParams ¶
func NewListServiceTerminatorsParams() *ListServiceTerminatorsParams
NewListServiceTerminatorsParams creates a new ListServiceTerminatorsParams 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 NewListServiceTerminatorsParamsWithContext ¶
func NewListServiceTerminatorsParamsWithContext(ctx context.Context) *ListServiceTerminatorsParams
NewListServiceTerminatorsParamsWithContext creates a new ListServiceTerminatorsParams object with the ability to set a context for a request.
func NewListServiceTerminatorsParamsWithHTTPClient ¶
func NewListServiceTerminatorsParamsWithHTTPClient(client *http.Client) *ListServiceTerminatorsParams
NewListServiceTerminatorsParamsWithHTTPClient creates a new ListServiceTerminatorsParams object with the ability to set a custom HTTPClient for a request.
func NewListServiceTerminatorsParamsWithTimeout ¶
func NewListServiceTerminatorsParamsWithTimeout(timeout time.Duration) *ListServiceTerminatorsParams
NewListServiceTerminatorsParamsWithTimeout creates a new ListServiceTerminatorsParams object with the ability to set a timeout on a request.
func (*ListServiceTerminatorsParams) SetContext ¶
func (o *ListServiceTerminatorsParams) SetContext(ctx context.Context)
SetContext adds the context to the list service terminators params
func (*ListServiceTerminatorsParams) SetDefaults ¶
func (o *ListServiceTerminatorsParams) SetDefaults()
SetDefaults hydrates default values in the list service terminators params (not the query body).
All values with no default are reset to their zero value.
func (*ListServiceTerminatorsParams) SetFilter ¶
func (o *ListServiceTerminatorsParams) SetFilter(filter *string)
SetFilter adds the filter to the list service terminators params
func (*ListServiceTerminatorsParams) SetHTTPClient ¶
func (o *ListServiceTerminatorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service terminators params
func (*ListServiceTerminatorsParams) SetID ¶
func (o *ListServiceTerminatorsParams) SetID(id string)
SetID adds the id to the list service terminators params
func (*ListServiceTerminatorsParams) SetLimit ¶
func (o *ListServiceTerminatorsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list service terminators params
func (*ListServiceTerminatorsParams) SetOffset ¶
func (o *ListServiceTerminatorsParams) SetOffset(offset *int64)
SetOffset adds the offset to the list service terminators params
func (*ListServiceTerminatorsParams) SetTimeout ¶
func (o *ListServiceTerminatorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service terminators params
func (*ListServiceTerminatorsParams) WithContext ¶
func (o *ListServiceTerminatorsParams) WithContext(ctx context.Context) *ListServiceTerminatorsParams
WithContext adds the context to the list service terminators params
func (*ListServiceTerminatorsParams) WithDefaults ¶
func (o *ListServiceTerminatorsParams) WithDefaults() *ListServiceTerminatorsParams
WithDefaults hydrates default values in the list service terminators params (not the query body).
All values with no default are reset to their zero value.
func (*ListServiceTerminatorsParams) WithFilter ¶
func (o *ListServiceTerminatorsParams) WithFilter(filter *string) *ListServiceTerminatorsParams
WithFilter adds the filter to the list service terminators params
func (*ListServiceTerminatorsParams) WithHTTPClient ¶
func (o *ListServiceTerminatorsParams) WithHTTPClient(client *http.Client) *ListServiceTerminatorsParams
WithHTTPClient adds the HTTPClient to the list service terminators params
func (*ListServiceTerminatorsParams) WithID ¶
func (o *ListServiceTerminatorsParams) WithID(id string) *ListServiceTerminatorsParams
WithID adds the id to the list service terminators params
func (*ListServiceTerminatorsParams) WithLimit ¶
func (o *ListServiceTerminatorsParams) WithLimit(limit *int64) *ListServiceTerminatorsParams
WithLimit adds the limit to the list service terminators params
func (*ListServiceTerminatorsParams) WithOffset ¶
func (o *ListServiceTerminatorsParams) WithOffset(offset *int64) *ListServiceTerminatorsParams
WithOffset adds the offset to the list service terminators params
func (*ListServiceTerminatorsParams) WithTimeout ¶
func (o *ListServiceTerminatorsParams) WithTimeout(timeout time.Duration) *ListServiceTerminatorsParams
WithTimeout adds the timeout to the list service terminators params
func (*ListServiceTerminatorsParams) WriteToRequest ¶
func (o *ListServiceTerminatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServiceTerminatorsReader ¶
type ListServiceTerminatorsReader struct {
// contains filtered or unexported fields
}
ListServiceTerminatorsReader is a Reader for the ListServiceTerminators structure.
func (*ListServiceTerminatorsReader) ReadResponse ¶
func (o *ListServiceTerminatorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServiceTerminatorsUnauthorized ¶
type ListServiceTerminatorsUnauthorized struct {
}ListServiceTerminatorsUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServiceTerminatorsUnauthorized ¶
func NewListServiceTerminatorsUnauthorized() *ListServiceTerminatorsUnauthorized
NewListServiceTerminatorsUnauthorized creates a ListServiceTerminatorsUnauthorized with default headers values
func (*ListServiceTerminatorsUnauthorized) Error ¶
func (o *ListServiceTerminatorsUnauthorized) Error() string
func (*ListServiceTerminatorsUnauthorized) GetPayload ¶
func (o *ListServiceTerminatorsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*ListServiceTerminatorsUnauthorized) IsClientError ¶ added in v0.21.38
func (o *ListServiceTerminatorsUnauthorized) IsClientError() bool
IsClientError returns true when this list service terminators unauthorized response has a 4xx status code
func (*ListServiceTerminatorsUnauthorized) IsCode ¶ added in v0.21.38
func (o *ListServiceTerminatorsUnauthorized) IsCode(code int) bool
IsCode returns true when this list service terminators unauthorized response a status code equal to that given
func (*ListServiceTerminatorsUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *ListServiceTerminatorsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list service terminators unauthorized response has a 3xx status code
func (*ListServiceTerminatorsUnauthorized) IsServerError ¶ added in v0.21.38
func (o *ListServiceTerminatorsUnauthorized) IsServerError() bool
IsServerError returns true when this list service terminators unauthorized response has a 5xx status code
func (*ListServiceTerminatorsUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *ListServiceTerminatorsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list service terminators unauthorized response has a 2xx status code
func (*ListServiceTerminatorsUnauthorized) String ¶ added in v0.21.38
func (o *ListServiceTerminatorsUnauthorized) String() string
type ListServicesOK ¶
type ListServicesOK struct {
Payload *rest_model.ListServicesEnvelope
}
ListServicesOK describes a response with status code 200, with default header values.
A list of services
func NewListServicesOK ¶
func NewListServicesOK() *ListServicesOK
NewListServicesOK creates a ListServicesOK with default headers values
func (*ListServicesOK) Error ¶
func (o *ListServicesOK) Error() string
func (*ListServicesOK) GetPayload ¶
func (o *ListServicesOK) GetPayload() *rest_model.ListServicesEnvelope
func (*ListServicesOK) IsClientError ¶ added in v0.21.38
func (o *ListServicesOK) IsClientError() bool
IsClientError returns true when this list services o k response has a 4xx status code
func (*ListServicesOK) IsCode ¶ added in v0.21.38
func (o *ListServicesOK) IsCode(code int) bool
IsCode returns true when this list services o k response a status code equal to that given
func (*ListServicesOK) IsRedirect ¶ added in v0.21.38
func (o *ListServicesOK) IsRedirect() bool
IsRedirect returns true when this list services o k response has a 3xx status code
func (*ListServicesOK) IsServerError ¶ added in v0.21.38
func (o *ListServicesOK) IsServerError() bool
IsServerError returns true when this list services o k response has a 5xx status code
func (*ListServicesOK) IsSuccess ¶ added in v0.21.38
func (o *ListServicesOK) IsSuccess() bool
IsSuccess returns true when this list services o k response has a 2xx status code
func (*ListServicesOK) String ¶ added in v0.21.38
func (o *ListServicesOK) String() string
type ListServicesParams ¶
type ListServicesParams struct { // Filter. Filter *string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicesParams contains all the parameters to send to the API endpoint
for the list services operation. Typically these are written to a http.Request.
func NewListServicesParams ¶
func NewListServicesParams() *ListServicesParams
NewListServicesParams creates a new ListServicesParams 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 NewListServicesParamsWithContext ¶
func NewListServicesParamsWithContext(ctx context.Context) *ListServicesParams
NewListServicesParamsWithContext creates a new ListServicesParams object with the ability to set a context for a request.
func NewListServicesParamsWithHTTPClient ¶
func NewListServicesParamsWithHTTPClient(client *http.Client) *ListServicesParams
NewListServicesParamsWithHTTPClient creates a new ListServicesParams object with the ability to set a custom HTTPClient for a request.
func NewListServicesParamsWithTimeout ¶
func NewListServicesParamsWithTimeout(timeout time.Duration) *ListServicesParams
NewListServicesParamsWithTimeout creates a new ListServicesParams object with the ability to set a timeout on a request.
func (*ListServicesParams) SetContext ¶
func (o *ListServicesParams) SetContext(ctx context.Context)
SetContext adds the context to the list services params
func (*ListServicesParams) SetDefaults ¶
func (o *ListServicesParams) SetDefaults()
SetDefaults hydrates default values in the list services params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicesParams) SetFilter ¶
func (o *ListServicesParams) SetFilter(filter *string)
SetFilter adds the filter to the list services params
func (*ListServicesParams) SetHTTPClient ¶
func (o *ListServicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list services params
func (*ListServicesParams) SetLimit ¶
func (o *ListServicesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list services params
func (*ListServicesParams) SetOffset ¶
func (o *ListServicesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list services params
func (*ListServicesParams) SetTimeout ¶
func (o *ListServicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list services params
func (*ListServicesParams) WithContext ¶
func (o *ListServicesParams) WithContext(ctx context.Context) *ListServicesParams
WithContext adds the context to the list services params
func (*ListServicesParams) WithDefaults ¶
func (o *ListServicesParams) WithDefaults() *ListServicesParams
WithDefaults hydrates default values in the list services params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicesParams) WithFilter ¶
func (o *ListServicesParams) WithFilter(filter *string) *ListServicesParams
WithFilter adds the filter to the list services params
func (*ListServicesParams) WithHTTPClient ¶
func (o *ListServicesParams) WithHTTPClient(client *http.Client) *ListServicesParams
WithHTTPClient adds the HTTPClient to the list services params
func (*ListServicesParams) WithLimit ¶
func (o *ListServicesParams) WithLimit(limit *int64) *ListServicesParams
WithLimit adds the limit to the list services params
func (*ListServicesParams) WithOffset ¶
func (o *ListServicesParams) WithOffset(offset *int64) *ListServicesParams
WithOffset adds the offset to the list services params
func (*ListServicesParams) WithTimeout ¶
func (o *ListServicesParams) WithTimeout(timeout time.Duration) *ListServicesParams
WithTimeout adds the timeout to the list services params
func (*ListServicesParams) WriteToRequest ¶
func (o *ListServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicesReader ¶
type ListServicesReader struct {
// contains filtered or unexported fields
}
ListServicesReader is a Reader for the ListServices structure.
func (*ListServicesReader) ReadResponse ¶
func (o *ListServicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicesUnauthorized ¶
type ListServicesUnauthorized struct {
}ListServicesUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServicesUnauthorized ¶
func NewListServicesUnauthorized() *ListServicesUnauthorized
NewListServicesUnauthorized creates a ListServicesUnauthorized with default headers values
func (*ListServicesUnauthorized) Error ¶
func (o *ListServicesUnauthorized) Error() string
func (*ListServicesUnauthorized) GetPayload ¶
func (o *ListServicesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*ListServicesUnauthorized) IsClientError ¶ added in v0.21.38
func (o *ListServicesUnauthorized) IsClientError() bool
IsClientError returns true when this list services unauthorized response has a 4xx status code
func (*ListServicesUnauthorized) IsCode ¶ added in v0.21.38
func (o *ListServicesUnauthorized) IsCode(code int) bool
IsCode returns true when this list services unauthorized response a status code equal to that given
func (*ListServicesUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *ListServicesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list services unauthorized response has a 3xx status code
func (*ListServicesUnauthorized) IsServerError ¶ added in v0.21.38
func (o *ListServicesUnauthorized) IsServerError() bool
IsServerError returns true when this list services unauthorized response has a 5xx status code
func (*ListServicesUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *ListServicesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list services unauthorized response has a 2xx status code
func (*ListServicesUnauthorized) String ¶ added in v0.21.38
func (o *ListServicesUnauthorized) String() string
type PatchServiceBadRequest ¶
type PatchServiceBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchServiceBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchServiceBadRequest ¶
func NewPatchServiceBadRequest() *PatchServiceBadRequest
NewPatchServiceBadRequest creates a PatchServiceBadRequest with default headers values
func (*PatchServiceBadRequest) Error ¶
func (o *PatchServiceBadRequest) Error() string
func (*PatchServiceBadRequest) GetPayload ¶
func (o *PatchServiceBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchServiceBadRequest) IsClientError ¶ added in v0.21.38
func (o *PatchServiceBadRequest) IsClientError() bool
IsClientError returns true when this patch service bad request response has a 4xx status code
func (*PatchServiceBadRequest) IsCode ¶ added in v0.21.38
func (o *PatchServiceBadRequest) IsCode(code int) bool
IsCode returns true when this patch service bad request response a status code equal to that given
func (*PatchServiceBadRequest) IsRedirect ¶ added in v0.21.38
func (o *PatchServiceBadRequest) IsRedirect() bool
IsRedirect returns true when this patch service bad request response has a 3xx status code
func (*PatchServiceBadRequest) IsServerError ¶ added in v0.21.38
func (o *PatchServiceBadRequest) IsServerError() bool
IsServerError returns true when this patch service bad request response has a 5xx status code
func (*PatchServiceBadRequest) IsSuccess ¶ added in v0.21.38
func (o *PatchServiceBadRequest) IsSuccess() bool
IsSuccess returns true when this patch service bad request response has a 2xx status code
func (*PatchServiceBadRequest) String ¶ added in v0.21.38
func (o *PatchServiceBadRequest) String() string
type PatchServiceNotFound ¶
type PatchServiceNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchServiceNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchServiceNotFound ¶
func NewPatchServiceNotFound() *PatchServiceNotFound
NewPatchServiceNotFound creates a PatchServiceNotFound with default headers values
func (*PatchServiceNotFound) Error ¶
func (o *PatchServiceNotFound) Error() string
func (*PatchServiceNotFound) GetPayload ¶
func (o *PatchServiceNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchServiceNotFound) IsClientError ¶ added in v0.21.38
func (o *PatchServiceNotFound) IsClientError() bool
IsClientError returns true when this patch service not found response has a 4xx status code
func (*PatchServiceNotFound) IsCode ¶ added in v0.21.38
func (o *PatchServiceNotFound) IsCode(code int) bool
IsCode returns true when this patch service not found response a status code equal to that given
func (*PatchServiceNotFound) IsRedirect ¶ added in v0.21.38
func (o *PatchServiceNotFound) IsRedirect() bool
IsRedirect returns true when this patch service not found response has a 3xx status code
func (*PatchServiceNotFound) IsServerError ¶ added in v0.21.38
func (o *PatchServiceNotFound) IsServerError() bool
IsServerError returns true when this patch service not found response has a 5xx status code
func (*PatchServiceNotFound) IsSuccess ¶ added in v0.21.38
func (o *PatchServiceNotFound) IsSuccess() bool
IsSuccess returns true when this patch service not found response has a 2xx status code
func (*PatchServiceNotFound) String ¶ added in v0.21.38
func (o *PatchServiceNotFound) String() string
type PatchServiceOK ¶
type PatchServiceOK struct {
Payload *rest_model.Empty
}
PatchServiceOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchServiceOK ¶
func NewPatchServiceOK() *PatchServiceOK
NewPatchServiceOK creates a PatchServiceOK with default headers values
func (*PatchServiceOK) Error ¶
func (o *PatchServiceOK) Error() string
func (*PatchServiceOK) GetPayload ¶
func (o *PatchServiceOK) GetPayload() *rest_model.Empty
func (*PatchServiceOK) IsClientError ¶ added in v0.21.38
func (o *PatchServiceOK) IsClientError() bool
IsClientError returns true when this patch service o k response has a 4xx status code
func (*PatchServiceOK) IsCode ¶ added in v0.21.38
func (o *PatchServiceOK) IsCode(code int) bool
IsCode returns true when this patch service o k response a status code equal to that given
func (*PatchServiceOK) IsRedirect ¶ added in v0.21.38
func (o *PatchServiceOK) IsRedirect() bool
IsRedirect returns true when this patch service o k response has a 3xx status code
func (*PatchServiceOK) IsServerError ¶ added in v0.21.38
func (o *PatchServiceOK) IsServerError() bool
IsServerError returns true when this patch service o k response has a 5xx status code
func (*PatchServiceOK) IsSuccess ¶ added in v0.21.38
func (o *PatchServiceOK) IsSuccess() bool
IsSuccess returns true when this patch service o k response has a 2xx status code
func (*PatchServiceOK) String ¶ added in v0.21.38
func (o *PatchServiceOK) String() string
type PatchServiceParams ¶
type PatchServiceParams struct { /* ID. The id of the requested resource */ ID string /* Service. A service patch object */ Service *rest_model.ServicePatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchServiceParams contains all the parameters to send to the API endpoint
for the patch service operation. Typically these are written to a http.Request.
func NewPatchServiceParams ¶
func NewPatchServiceParams() *PatchServiceParams
NewPatchServiceParams creates a new PatchServiceParams 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 NewPatchServiceParamsWithContext ¶
func NewPatchServiceParamsWithContext(ctx context.Context) *PatchServiceParams
NewPatchServiceParamsWithContext creates a new PatchServiceParams object with the ability to set a context for a request.
func NewPatchServiceParamsWithHTTPClient ¶
func NewPatchServiceParamsWithHTTPClient(client *http.Client) *PatchServiceParams
NewPatchServiceParamsWithHTTPClient creates a new PatchServiceParams object with the ability to set a custom HTTPClient for a request.
func NewPatchServiceParamsWithTimeout ¶
func NewPatchServiceParamsWithTimeout(timeout time.Duration) *PatchServiceParams
NewPatchServiceParamsWithTimeout creates a new PatchServiceParams object with the ability to set a timeout on a request.
func (*PatchServiceParams) SetContext ¶
func (o *PatchServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the patch service params
func (*PatchServiceParams) SetDefaults ¶
func (o *PatchServiceParams) SetDefaults()
SetDefaults hydrates default values in the patch service params (not the query body).
All values with no default are reset to their zero value.
func (*PatchServiceParams) SetHTTPClient ¶
func (o *PatchServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch service params
func (*PatchServiceParams) SetID ¶
func (o *PatchServiceParams) SetID(id string)
SetID adds the id to the patch service params
func (*PatchServiceParams) SetService ¶
func (o *PatchServiceParams) SetService(service *rest_model.ServicePatch)
SetService adds the service to the patch service params
func (*PatchServiceParams) SetTimeout ¶
func (o *PatchServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch service params
func (*PatchServiceParams) WithContext ¶
func (o *PatchServiceParams) WithContext(ctx context.Context) *PatchServiceParams
WithContext adds the context to the patch service params
func (*PatchServiceParams) WithDefaults ¶
func (o *PatchServiceParams) WithDefaults() *PatchServiceParams
WithDefaults hydrates default values in the patch service params (not the query body).
All values with no default are reset to their zero value.
func (*PatchServiceParams) WithHTTPClient ¶
func (o *PatchServiceParams) WithHTTPClient(client *http.Client) *PatchServiceParams
WithHTTPClient adds the HTTPClient to the patch service params
func (*PatchServiceParams) WithID ¶
func (o *PatchServiceParams) WithID(id string) *PatchServiceParams
WithID adds the id to the patch service params
func (*PatchServiceParams) WithService ¶
func (o *PatchServiceParams) WithService(service *rest_model.ServicePatch) *PatchServiceParams
WithService adds the service to the patch service params
func (*PatchServiceParams) WithTimeout ¶
func (o *PatchServiceParams) WithTimeout(timeout time.Duration) *PatchServiceParams
WithTimeout adds the timeout to the patch service params
func (*PatchServiceParams) WriteToRequest ¶
func (o *PatchServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchServiceReader ¶
type PatchServiceReader struct {
// contains filtered or unexported fields
}
PatchServiceReader is a Reader for the PatchService structure.
func (*PatchServiceReader) ReadResponse ¶
func (o *PatchServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchServiceUnauthorized ¶
type PatchServiceUnauthorized struct {
}PatchServiceUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewPatchServiceUnauthorized ¶
func NewPatchServiceUnauthorized() *PatchServiceUnauthorized
NewPatchServiceUnauthorized creates a PatchServiceUnauthorized with default headers values
func (*PatchServiceUnauthorized) Error ¶
func (o *PatchServiceUnauthorized) Error() string
func (*PatchServiceUnauthorized) GetPayload ¶
func (o *PatchServiceUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchServiceUnauthorized) IsClientError ¶ added in v0.21.38
func (o *PatchServiceUnauthorized) IsClientError() bool
IsClientError returns true when this patch service unauthorized response has a 4xx status code
func (*PatchServiceUnauthorized) IsCode ¶ added in v0.21.38
func (o *PatchServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this patch service unauthorized response a status code equal to that given
func (*PatchServiceUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *PatchServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this patch service unauthorized response has a 3xx status code
func (*PatchServiceUnauthorized) IsServerError ¶ added in v0.21.38
func (o *PatchServiceUnauthorized) IsServerError() bool
IsServerError returns true when this patch service unauthorized response has a 5xx status code
func (*PatchServiceUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *PatchServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this patch service unauthorized response has a 2xx status code
func (*PatchServiceUnauthorized) String ¶ added in v0.21.38
func (o *PatchServiceUnauthorized) String() string
type UpdateServiceBadRequest ¶
type UpdateServiceBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateServiceBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdateServiceBadRequest ¶
func NewUpdateServiceBadRequest() *UpdateServiceBadRequest
NewUpdateServiceBadRequest creates a UpdateServiceBadRequest with default headers values
func (*UpdateServiceBadRequest) Error ¶
func (o *UpdateServiceBadRequest) Error() string
func (*UpdateServiceBadRequest) GetPayload ¶
func (o *UpdateServiceBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdateServiceBadRequest) IsClientError ¶ added in v0.21.38
func (o *UpdateServiceBadRequest) IsClientError() bool
IsClientError returns true when this update service bad request response has a 4xx status code
func (*UpdateServiceBadRequest) IsCode ¶ added in v0.21.38
func (o *UpdateServiceBadRequest) IsCode(code int) bool
IsCode returns true when this update service bad request response a status code equal to that given
func (*UpdateServiceBadRequest) IsRedirect ¶ added in v0.21.38
func (o *UpdateServiceBadRequest) IsRedirect() bool
IsRedirect returns true when this update service bad request response has a 3xx status code
func (*UpdateServiceBadRequest) IsServerError ¶ added in v0.21.38
func (o *UpdateServiceBadRequest) IsServerError() bool
IsServerError returns true when this update service bad request response has a 5xx status code
func (*UpdateServiceBadRequest) IsSuccess ¶ added in v0.21.38
func (o *UpdateServiceBadRequest) IsSuccess() bool
IsSuccess returns true when this update service bad request response has a 2xx status code
func (*UpdateServiceBadRequest) String ¶ added in v0.21.38
func (o *UpdateServiceBadRequest) String() string
type UpdateServiceNotFound ¶
type UpdateServiceNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateServiceNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdateServiceNotFound ¶
func NewUpdateServiceNotFound() *UpdateServiceNotFound
NewUpdateServiceNotFound creates a UpdateServiceNotFound with default headers values
func (*UpdateServiceNotFound) Error ¶
func (o *UpdateServiceNotFound) Error() string
func (*UpdateServiceNotFound) GetPayload ¶
func (o *UpdateServiceNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdateServiceNotFound) IsClientError ¶ added in v0.21.38
func (o *UpdateServiceNotFound) IsClientError() bool
IsClientError returns true when this update service not found response has a 4xx status code
func (*UpdateServiceNotFound) IsCode ¶ added in v0.21.38
func (o *UpdateServiceNotFound) IsCode(code int) bool
IsCode returns true when this update service not found response a status code equal to that given
func (*UpdateServiceNotFound) IsRedirect ¶ added in v0.21.38
func (o *UpdateServiceNotFound) IsRedirect() bool
IsRedirect returns true when this update service not found response has a 3xx status code
func (*UpdateServiceNotFound) IsServerError ¶ added in v0.21.38
func (o *UpdateServiceNotFound) IsServerError() bool
IsServerError returns true when this update service not found response has a 5xx status code
func (*UpdateServiceNotFound) IsSuccess ¶ added in v0.21.38
func (o *UpdateServiceNotFound) IsSuccess() bool
IsSuccess returns true when this update service not found response has a 2xx status code
func (*UpdateServiceNotFound) String ¶ added in v0.21.38
func (o *UpdateServiceNotFound) String() string
type UpdateServiceOK ¶
type UpdateServiceOK struct {
Payload *rest_model.Empty
}
UpdateServiceOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdateServiceOK ¶
func NewUpdateServiceOK() *UpdateServiceOK
NewUpdateServiceOK creates a UpdateServiceOK with default headers values
func (*UpdateServiceOK) Error ¶
func (o *UpdateServiceOK) Error() string
func (*UpdateServiceOK) GetPayload ¶
func (o *UpdateServiceOK) GetPayload() *rest_model.Empty
func (*UpdateServiceOK) IsClientError ¶ added in v0.21.38
func (o *UpdateServiceOK) IsClientError() bool
IsClientError returns true when this update service o k response has a 4xx status code
func (*UpdateServiceOK) IsCode ¶ added in v0.21.38
func (o *UpdateServiceOK) IsCode(code int) bool
IsCode returns true when this update service o k response a status code equal to that given
func (*UpdateServiceOK) IsRedirect ¶ added in v0.21.38
func (o *UpdateServiceOK) IsRedirect() bool
IsRedirect returns true when this update service o k response has a 3xx status code
func (*UpdateServiceOK) IsServerError ¶ added in v0.21.38
func (o *UpdateServiceOK) IsServerError() bool
IsServerError returns true when this update service o k response has a 5xx status code
func (*UpdateServiceOK) IsSuccess ¶ added in v0.21.38
func (o *UpdateServiceOK) IsSuccess() bool
IsSuccess returns true when this update service o k response has a 2xx status code
func (*UpdateServiceOK) String ¶ added in v0.21.38
func (o *UpdateServiceOK) String() string
type UpdateServiceParams ¶
type UpdateServiceParams struct { /* ID. The id of the requested resource */ ID string /* Service. A service update object */ Service *rest_model.ServiceUpdate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateServiceParams contains all the parameters to send to the API endpoint
for the update service operation. Typically these are written to a http.Request.
func NewUpdateServiceParams ¶
func NewUpdateServiceParams() *UpdateServiceParams
NewUpdateServiceParams creates a new UpdateServiceParams 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 NewUpdateServiceParamsWithContext ¶
func NewUpdateServiceParamsWithContext(ctx context.Context) *UpdateServiceParams
NewUpdateServiceParamsWithContext creates a new UpdateServiceParams object with the ability to set a context for a request.
func NewUpdateServiceParamsWithHTTPClient ¶
func NewUpdateServiceParamsWithHTTPClient(client *http.Client) *UpdateServiceParams
NewUpdateServiceParamsWithHTTPClient creates a new UpdateServiceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateServiceParamsWithTimeout ¶
func NewUpdateServiceParamsWithTimeout(timeout time.Duration) *UpdateServiceParams
NewUpdateServiceParamsWithTimeout creates a new UpdateServiceParams object with the ability to set a timeout on a request.
func (*UpdateServiceParams) SetContext ¶
func (o *UpdateServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the update service params
func (*UpdateServiceParams) SetDefaults ¶
func (o *UpdateServiceParams) SetDefaults()
SetDefaults hydrates default values in the update service params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateServiceParams) SetHTTPClient ¶
func (o *UpdateServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update service params
func (*UpdateServiceParams) SetID ¶
func (o *UpdateServiceParams) SetID(id string)
SetID adds the id to the update service params
func (*UpdateServiceParams) SetService ¶
func (o *UpdateServiceParams) SetService(service *rest_model.ServiceUpdate)
SetService adds the service to the update service params
func (*UpdateServiceParams) SetTimeout ¶
func (o *UpdateServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update service params
func (*UpdateServiceParams) WithContext ¶
func (o *UpdateServiceParams) WithContext(ctx context.Context) *UpdateServiceParams
WithContext adds the context to the update service params
func (*UpdateServiceParams) WithDefaults ¶
func (o *UpdateServiceParams) WithDefaults() *UpdateServiceParams
WithDefaults hydrates default values in the update service params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateServiceParams) WithHTTPClient ¶
func (o *UpdateServiceParams) WithHTTPClient(client *http.Client) *UpdateServiceParams
WithHTTPClient adds the HTTPClient to the update service params
func (*UpdateServiceParams) WithID ¶
func (o *UpdateServiceParams) WithID(id string) *UpdateServiceParams
WithID adds the id to the update service params
func (*UpdateServiceParams) WithService ¶
func (o *UpdateServiceParams) WithService(service *rest_model.ServiceUpdate) *UpdateServiceParams
WithService adds the service to the update service params
func (*UpdateServiceParams) WithTimeout ¶
func (o *UpdateServiceParams) WithTimeout(timeout time.Duration) *UpdateServiceParams
WithTimeout adds the timeout to the update service params
func (*UpdateServiceParams) WriteToRequest ¶
func (o *UpdateServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateServiceReader ¶
type UpdateServiceReader struct {
// contains filtered or unexported fields
}
UpdateServiceReader is a Reader for the UpdateService structure.
func (*UpdateServiceReader) ReadResponse ¶
func (o *UpdateServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateServiceUnauthorized ¶
type UpdateServiceUnauthorized struct {
}UpdateServiceUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewUpdateServiceUnauthorized ¶
func NewUpdateServiceUnauthorized() *UpdateServiceUnauthorized
NewUpdateServiceUnauthorized creates a UpdateServiceUnauthorized with default headers values
func (*UpdateServiceUnauthorized) Error ¶
func (o *UpdateServiceUnauthorized) Error() string
func (*UpdateServiceUnauthorized) GetPayload ¶
func (o *UpdateServiceUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdateServiceUnauthorized) IsClientError ¶ added in v0.21.38
func (o *UpdateServiceUnauthorized) IsClientError() bool
IsClientError returns true when this update service unauthorized response has a 4xx status code
func (*UpdateServiceUnauthorized) IsCode ¶ added in v0.21.38
func (o *UpdateServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this update service unauthorized response a status code equal to that given
func (*UpdateServiceUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *UpdateServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this update service unauthorized response has a 3xx status code
func (*UpdateServiceUnauthorized) IsServerError ¶ added in v0.21.38
func (o *UpdateServiceUnauthorized) IsServerError() bool
IsServerError returns true when this update service unauthorized response has a 5xx status code
func (*UpdateServiceUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *UpdateServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this update service unauthorized response has a 2xx status code
func (*UpdateServiceUnauthorized) String ¶ added in v0.21.38
func (o *UpdateServiceUnauthorized) String() string
Source Files ¶
- create_service_parameters.go
- create_service_responses.go
- delete_service_parameters.go
- delete_service_responses.go
- detail_service_parameters.go
- detail_service_responses.go
- list_service_terminators_parameters.go
- list_service_terminators_responses.go
- list_services_parameters.go
- list_services_responses.go
- patch_service_parameters.go
- patch_service_responses.go
- service_client.go
- update_service_parameters.go
- update_service_responses.go