service

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for service API

func (*Client) CreateService

func (a *Client) CreateService(params *CreateServiceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateServiceCreated, error)

CreateService creates a services resource

Create a services resource. Requires admin access.

func (*Client) DeleteService

func (a *Client) DeleteService(params *DeleteServiceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServiceOK, error)

DeleteService deletes a service

Delete a service by id. Requires admin access.

func (*Client) DetailService

func (a *Client) DetailService(params *DetailServiceParams, authInfo runtime.ClientAuthInfoWriter) (*DetailServiceOK, error)

DetailService retrieves a single service

Retrieves a single service by id. Requires admin access.

func (*Client) ListServiceConfig

func (a *Client) ListServiceConfig(params *ListServiceConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceConfigOK, error)

ListServiceConfig lists configs associated to a specific service

Retrieves a list of config resources associated to a specific service; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListServiceEdgeRouters

func (a *Client) ListServiceEdgeRouters(params *ListServiceEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceEdgeRoutersOK, error)

ListServiceEdgeRouters lists accessible edge routers

Retrieves a list of edge-routers that may be used to access the given service. Supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListServiceIdentities

func (a *Client) ListServiceIdentities(params *ListServiceIdentitiesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceIdentitiesOK, error)

ListServiceIdentities lists identities with access

Retrieves a list of identities that have access to this service. Supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListServiceServiceEdgeRouterPolicies

ListServiceServiceEdgeRouterPolicies lists service edge router policies that affect a specific service

Retrieves a list of service edge router policy resources that affect a specific service; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListServiceServicePolicies

func (a *Client) ListServiceServicePolicies(params *ListServiceServicePoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceServicePoliciesOK, error)

ListServiceServicePolicies lists service policies that affect a specific service

Retrieves a list of service policy resources that affect specific service; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListServiceTerminators

func (a *Client) ListServiceTerminators(params *ListServiceTerminatorsParams, authInfo runtime.ClientAuthInfoWriter) (*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, authInfo runtime.ClientAuthInfoWriter) (*ListServicesOK, error)

ListServices lists services

Retrieves a list of config resources; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) PatchService

func (a *Client) PatchService(params *PatchServiceParams, authInfo runtime.ClientAuthInfoWriter) (*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, authInfo runtime.ClientAuthInfoWriter) (*UpdateServiceOK, error)

UpdateService updates all fields on a service

Update all fields on a service by id. Requires admin access.

type ClientService

type ClientService interface {
	CreateService(params *CreateServiceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateServiceCreated, error)

	DeleteService(params *DeleteServiceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServiceOK, error)

	DetailService(params *DetailServiceParams, authInfo runtime.ClientAuthInfoWriter) (*DetailServiceOK, error)

	ListServiceConfig(params *ListServiceConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceConfigOK, error)

	ListServiceEdgeRouters(params *ListServiceEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceEdgeRoutersOK, error)

	ListServiceIdentities(params *ListServiceIdentitiesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceIdentitiesOK, error)

	ListServiceServiceEdgeRouterPolicies(params *ListServiceServiceEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceServiceEdgeRouterPoliciesOK, error)

	ListServiceServicePolicies(params *ListServiceServicePoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceServicePoliciesOK, error)

	ListServiceTerminators(params *ListServiceTerminatorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceTerminatorsOK, error)

	ListServices(params *ListServicesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicesOK, error)

	PatchService(params *PatchServiceParams, authInfo runtime.ClientAuthInfoWriter) (*PatchServiceOK, error)

	UpdateService(params *UpdateServiceParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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

type CreateServiceCreated added in v0.17.52

type CreateServiceCreated struct {
	Payload *rest_model.CreateEnvelope
}

CreateServiceCreated handles this case with default header values.

The create request was successful and the resource has been added at the following location

func NewCreateServiceCreated added in v0.17.52

func NewCreateServiceCreated() *CreateServiceCreated

NewCreateServiceCreated creates a CreateServiceCreated with default headers values

func (*CreateServiceCreated) Error added in v0.17.52

func (o *CreateServiceCreated) Error() string

func (*CreateServiceCreated) GetPayload added in v0.17.52

type CreateServiceParams

type CreateServiceParams struct {

	/*Body
	  A service to create

	*/
	Body *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 values initialized.

func NewCreateServiceParamsWithContext

func NewCreateServiceParamsWithContext(ctx context.Context) *CreateServiceParams

NewCreateServiceParamsWithContext creates a new CreateServiceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*CreateServiceParams) SetBody

func (o *CreateServiceParams) SetBody(body *rest_model.ServiceCreate)

SetBody adds the body to the create service params

func (*CreateServiceParams) SetContext

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

SetContext adds the context to the create service params

func (*CreateServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient 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) WithBody

WithBody adds the body to the create service params

func (*CreateServiceParams) WithContext

WithContext adds the context to the create service params

func (*CreateServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient 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 {
	Payload *rest_model.APIErrorEnvelope
}

CreateServiceUnauthorized handles this case 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

type DeleteServiceBadRequest

type DeleteServiceBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

DeleteServiceBadRequest handles this case 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

type DeleteServiceConflict

type DeleteServiceConflict struct {
	Payload *rest_model.APIErrorEnvelope
}

DeleteServiceConflict handles this case 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

type DeleteServiceOK

type DeleteServiceOK struct {
	Payload *rest_model.Empty
}

DeleteServiceOK handles this case 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

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 values initialized.

func NewDeleteServiceParamsWithContext

func NewDeleteServiceParamsWithContext(ctx context.Context) *DeleteServiceParams

NewDeleteServiceParamsWithContext creates a new DeleteServiceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the delete service params

func (*DeleteServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete service params

func (*DeleteServiceParams) WithID

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 {
	Payload *rest_model.APIErrorEnvelope
}

DeleteServiceUnauthorized handles this case 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

type DetailServiceNotFound

type DetailServiceNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

DetailServiceNotFound handles this case 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

type DetailServiceOK

type DetailServiceOK struct {
	Payload *rest_model.DetailServiceEnvelope
}

DetailServiceOK handles this case 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

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 values initialized.

func NewDetailServiceParamsWithContext

func NewDetailServiceParamsWithContext(ctx context.Context) *DetailServiceParams

NewDetailServiceParamsWithContext creates a new DetailServiceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the detail service params

func (*DetailServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the detail service params

func (*DetailServiceParams) WithID

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 {
	Payload *rest_model.APIErrorEnvelope
}

DetailServiceUnauthorized handles this case 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

type ListServiceConfigOK

type ListServiceConfigOK struct {
	Payload *rest_model.ListConfigsEnvelope
}

ListServiceConfigOK handles this case with default header values.

A list of configs

func NewListServiceConfigOK

func NewListServiceConfigOK() *ListServiceConfigOK

NewListServiceConfigOK creates a ListServiceConfigOK with default headers values

func (*ListServiceConfigOK) Error

func (o *ListServiceConfigOK) Error() string

func (*ListServiceConfigOK) GetPayload

type ListServiceConfigParams

type ListServiceConfigParams 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
}

ListServiceConfigParams contains all the parameters to send to the API endpoint for the list service config operation typically these are written to a http.Request

func NewListServiceConfigParams

func NewListServiceConfigParams() *ListServiceConfigParams

NewListServiceConfigParams creates a new ListServiceConfigParams object with the default values initialized.

func NewListServiceConfigParamsWithContext

func NewListServiceConfigParamsWithContext(ctx context.Context) *ListServiceConfigParams

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

func NewListServiceConfigParamsWithHTTPClient

func NewListServiceConfigParamsWithHTTPClient(client *http.Client) *ListServiceConfigParams

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

func NewListServiceConfigParamsWithTimeout

func NewListServiceConfigParamsWithTimeout(timeout time.Duration) *ListServiceConfigParams

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

func (*ListServiceConfigParams) SetContext

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

SetContext adds the context to the list service config params

func (*ListServiceConfigParams) SetFilter

func (o *ListServiceConfigParams) SetFilter(filter *string)

SetFilter adds the filter to the list service config params

func (*ListServiceConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list service config params

func (*ListServiceConfigParams) SetID

func (o *ListServiceConfigParams) SetID(id string)

SetID adds the id to the list service config params

func (*ListServiceConfigParams) SetLimit

func (o *ListServiceConfigParams) SetLimit(limit *int64)

SetLimit adds the limit to the list service config params

func (*ListServiceConfigParams) SetOffset

func (o *ListServiceConfigParams) SetOffset(offset *int64)

SetOffset adds the offset to the list service config params

func (*ListServiceConfigParams) SetTimeout

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

SetTimeout adds the timeout to the list service config params

func (*ListServiceConfigParams) WithContext

WithContext adds the context to the list service config params

func (*ListServiceConfigParams) WithFilter

func (o *ListServiceConfigParams) WithFilter(filter *string) *ListServiceConfigParams

WithFilter adds the filter to the list service config params

func (*ListServiceConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list service config params

func (*ListServiceConfigParams) WithID

WithID adds the id to the list service config params

func (*ListServiceConfigParams) WithLimit

WithLimit adds the limit to the list service config params

func (*ListServiceConfigParams) WithOffset

func (o *ListServiceConfigParams) WithOffset(offset *int64) *ListServiceConfigParams

WithOffset adds the offset to the list service config params

func (*ListServiceConfigParams) WithTimeout

WithTimeout adds the timeout to the list service config params

func (*ListServiceConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceConfigReader

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

ListServiceConfigReader is a Reader for the ListServiceConfig structure.

func (*ListServiceConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceConfigUnauthorized

type ListServiceConfigUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

ListServiceConfigUnauthorized handles this case with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListServiceConfigUnauthorized

func NewListServiceConfigUnauthorized() *ListServiceConfigUnauthorized

NewListServiceConfigUnauthorized creates a ListServiceConfigUnauthorized with default headers values

func (*ListServiceConfigUnauthorized) Error

func (*ListServiceConfigUnauthorized) GetPayload

type ListServiceEdgeRoutersOK

type ListServiceEdgeRoutersOK struct {
	Payload *rest_model.ListEdgeRoutersEnvelope
}

ListServiceEdgeRoutersOK handles this case with default header values.

A list of edge routers

func NewListServiceEdgeRoutersOK

func NewListServiceEdgeRoutersOK() *ListServiceEdgeRoutersOK

NewListServiceEdgeRoutersOK creates a ListServiceEdgeRoutersOK with default headers values

func (*ListServiceEdgeRoutersOK) Error

func (o *ListServiceEdgeRoutersOK) Error() string

func (*ListServiceEdgeRoutersOK) GetPayload

type ListServiceEdgeRoutersParams

type ListServiceEdgeRoutersParams 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
}

ListServiceEdgeRoutersParams contains all the parameters to send to the API endpoint for the list service edge routers operation typically these are written to a http.Request

func NewListServiceEdgeRoutersParams

func NewListServiceEdgeRoutersParams() *ListServiceEdgeRoutersParams

NewListServiceEdgeRoutersParams creates a new ListServiceEdgeRoutersParams object with the default values initialized.

func NewListServiceEdgeRoutersParamsWithContext

func NewListServiceEdgeRoutersParamsWithContext(ctx context.Context) *ListServiceEdgeRoutersParams

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

func NewListServiceEdgeRoutersParamsWithHTTPClient

func NewListServiceEdgeRoutersParamsWithHTTPClient(client *http.Client) *ListServiceEdgeRoutersParams

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

func NewListServiceEdgeRoutersParamsWithTimeout

func NewListServiceEdgeRoutersParamsWithTimeout(timeout time.Duration) *ListServiceEdgeRoutersParams

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

func (*ListServiceEdgeRoutersParams) SetContext

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

SetContext adds the context to the list service edge routers params

func (*ListServiceEdgeRoutersParams) SetFilter

func (o *ListServiceEdgeRoutersParams) SetFilter(filter *string)

SetFilter adds the filter to the list service edge routers params

func (*ListServiceEdgeRoutersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list service edge routers params

func (*ListServiceEdgeRoutersParams) SetID

func (o *ListServiceEdgeRoutersParams) SetID(id string)

SetID adds the id to the list service edge routers params

func (*ListServiceEdgeRoutersParams) SetLimit

func (o *ListServiceEdgeRoutersParams) SetLimit(limit *int64)

SetLimit adds the limit to the list service edge routers params

func (*ListServiceEdgeRoutersParams) SetOffset

func (o *ListServiceEdgeRoutersParams) SetOffset(offset *int64)

SetOffset adds the offset to the list service edge routers params

func (*ListServiceEdgeRoutersParams) SetTimeout

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

SetTimeout adds the timeout to the list service edge routers params

func (*ListServiceEdgeRoutersParams) WithContext

WithContext adds the context to the list service edge routers params

func (*ListServiceEdgeRoutersParams) WithFilter

WithFilter adds the filter to the list service edge routers params

func (*ListServiceEdgeRoutersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list service edge routers params

func (*ListServiceEdgeRoutersParams) WithID

WithID adds the id to the list service edge routers params

func (*ListServiceEdgeRoutersParams) WithLimit

WithLimit adds the limit to the list service edge routers params

func (*ListServiceEdgeRoutersParams) WithOffset

WithOffset adds the offset to the list service edge routers params

func (*ListServiceEdgeRoutersParams) WithTimeout

WithTimeout adds the timeout to the list service edge routers params

func (*ListServiceEdgeRoutersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceEdgeRoutersReader

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

ListServiceEdgeRoutersReader is a Reader for the ListServiceEdgeRouters structure.

func (*ListServiceEdgeRoutersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceEdgeRoutersUnauthorized

type ListServiceEdgeRoutersUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

ListServiceEdgeRoutersUnauthorized handles this case with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListServiceEdgeRoutersUnauthorized

func NewListServiceEdgeRoutersUnauthorized() *ListServiceEdgeRoutersUnauthorized

NewListServiceEdgeRoutersUnauthorized creates a ListServiceEdgeRoutersUnauthorized with default headers values

func (*ListServiceEdgeRoutersUnauthorized) Error

func (*ListServiceEdgeRoutersUnauthorized) GetPayload

type ListServiceIdentitiesOK

type ListServiceIdentitiesOK struct {
	Payload *rest_model.ListIdentitiesEnvelope
}

ListServiceIdentitiesOK handles this case with default header values.

A list of identities

func NewListServiceIdentitiesOK

func NewListServiceIdentitiesOK() *ListServiceIdentitiesOK

NewListServiceIdentitiesOK creates a ListServiceIdentitiesOK with default headers values

func (*ListServiceIdentitiesOK) Error

func (o *ListServiceIdentitiesOK) Error() string

func (*ListServiceIdentitiesOK) GetPayload

type ListServiceIdentitiesParams

type ListServiceIdentitiesParams 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
}

ListServiceIdentitiesParams contains all the parameters to send to the API endpoint for the list service identities operation typically these are written to a http.Request

func NewListServiceIdentitiesParams

func NewListServiceIdentitiesParams() *ListServiceIdentitiesParams

NewListServiceIdentitiesParams creates a new ListServiceIdentitiesParams object with the default values initialized.

func NewListServiceIdentitiesParamsWithContext

func NewListServiceIdentitiesParamsWithContext(ctx context.Context) *ListServiceIdentitiesParams

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

func NewListServiceIdentitiesParamsWithHTTPClient

func NewListServiceIdentitiesParamsWithHTTPClient(client *http.Client) *ListServiceIdentitiesParams

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

func NewListServiceIdentitiesParamsWithTimeout

func NewListServiceIdentitiesParamsWithTimeout(timeout time.Duration) *ListServiceIdentitiesParams

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

func (*ListServiceIdentitiesParams) SetContext

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

SetContext adds the context to the list service identities params

func (*ListServiceIdentitiesParams) SetFilter

func (o *ListServiceIdentitiesParams) SetFilter(filter *string)

SetFilter adds the filter to the list service identities params

func (*ListServiceIdentitiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list service identities params

func (*ListServiceIdentitiesParams) SetID

func (o *ListServiceIdentitiesParams) SetID(id string)

SetID adds the id to the list service identities params

func (*ListServiceIdentitiesParams) SetLimit

func (o *ListServiceIdentitiesParams) SetLimit(limit *int64)

SetLimit adds the limit to the list service identities params

func (*ListServiceIdentitiesParams) SetOffset

func (o *ListServiceIdentitiesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list service identities params

func (*ListServiceIdentitiesParams) SetTimeout

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

SetTimeout adds the timeout to the list service identities params

func (*ListServiceIdentitiesParams) WithContext

WithContext adds the context to the list service identities params

func (*ListServiceIdentitiesParams) WithFilter

WithFilter adds the filter to the list service identities params

func (*ListServiceIdentitiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list service identities params

func (*ListServiceIdentitiesParams) WithID

WithID adds the id to the list service identities params

func (*ListServiceIdentitiesParams) WithLimit

WithLimit adds the limit to the list service identities params

func (*ListServiceIdentitiesParams) WithOffset

WithOffset adds the offset to the list service identities params

func (*ListServiceIdentitiesParams) WithTimeout

WithTimeout adds the timeout to the list service identities params

func (*ListServiceIdentitiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceIdentitiesReader

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

ListServiceIdentitiesReader is a Reader for the ListServiceIdentities structure.

func (*ListServiceIdentitiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceIdentitiesUnauthorized

type ListServiceIdentitiesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

ListServiceIdentitiesUnauthorized handles this case with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListServiceIdentitiesUnauthorized

func NewListServiceIdentitiesUnauthorized() *ListServiceIdentitiesUnauthorized

NewListServiceIdentitiesUnauthorized creates a ListServiceIdentitiesUnauthorized with default headers values

func (*ListServiceIdentitiesUnauthorized) Error

func (*ListServiceIdentitiesUnauthorized) GetPayload

type ListServiceServiceEdgeRouterPoliciesOK

type ListServiceServiceEdgeRouterPoliciesOK struct {
	Payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope
}

ListServiceServiceEdgeRouterPoliciesOK handles this case with default header values.

A list of service edge router policies

func NewListServiceServiceEdgeRouterPoliciesOK

func NewListServiceServiceEdgeRouterPoliciesOK() *ListServiceServiceEdgeRouterPoliciesOK

NewListServiceServiceEdgeRouterPoliciesOK creates a ListServiceServiceEdgeRouterPoliciesOK with default headers values

func (*ListServiceServiceEdgeRouterPoliciesOK) Error

func (*ListServiceServiceEdgeRouterPoliciesOK) GetPayload

type ListServiceServiceEdgeRouterPoliciesParams

type ListServiceServiceEdgeRouterPoliciesParams 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
}

ListServiceServiceEdgeRouterPoliciesParams contains all the parameters to send to the API endpoint for the list service service edge router policies operation typically these are written to a http.Request

func NewListServiceServiceEdgeRouterPoliciesParams

func NewListServiceServiceEdgeRouterPoliciesParams() *ListServiceServiceEdgeRouterPoliciesParams

NewListServiceServiceEdgeRouterPoliciesParams creates a new ListServiceServiceEdgeRouterPoliciesParams object with the default values initialized.

func NewListServiceServiceEdgeRouterPoliciesParamsWithContext

func NewListServiceServiceEdgeRouterPoliciesParamsWithContext(ctx context.Context) *ListServiceServiceEdgeRouterPoliciesParams

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

func NewListServiceServiceEdgeRouterPoliciesParamsWithHTTPClient

func NewListServiceServiceEdgeRouterPoliciesParamsWithHTTPClient(client *http.Client) *ListServiceServiceEdgeRouterPoliciesParams

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

func NewListServiceServiceEdgeRouterPoliciesParamsWithTimeout

func NewListServiceServiceEdgeRouterPoliciesParamsWithTimeout(timeout time.Duration) *ListServiceServiceEdgeRouterPoliciesParams

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

func (*ListServiceServiceEdgeRouterPoliciesParams) SetContext

SetContext adds the context to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) SetFilter

func (o *ListServiceServiceEdgeRouterPoliciesParams) SetFilter(filter *string)

SetFilter adds the filter to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) SetID

SetID adds the id to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) SetLimit

SetLimit adds the limit to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) SetOffset

func (o *ListServiceServiceEdgeRouterPoliciesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) SetTimeout

SetTimeout adds the timeout to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) WithContext

WithContext adds the context to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) WithFilter

WithFilter adds the filter to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) WithID

WithID adds the id to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) WithLimit

WithLimit adds the limit to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) WithOffset

WithOffset adds the offset to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) WithTimeout

WithTimeout adds the timeout to the list service service edge router policies params

func (*ListServiceServiceEdgeRouterPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceServiceEdgeRouterPoliciesReader

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

ListServiceServiceEdgeRouterPoliciesReader is a Reader for the ListServiceServiceEdgeRouterPolicies structure.

func (*ListServiceServiceEdgeRouterPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceServiceEdgeRouterPoliciesUnauthorized

type ListServiceServiceEdgeRouterPoliciesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

ListServiceServiceEdgeRouterPoliciesUnauthorized handles this case with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListServiceServiceEdgeRouterPoliciesUnauthorized

func NewListServiceServiceEdgeRouterPoliciesUnauthorized() *ListServiceServiceEdgeRouterPoliciesUnauthorized

NewListServiceServiceEdgeRouterPoliciesUnauthorized creates a ListServiceServiceEdgeRouterPoliciesUnauthorized with default headers values

func (*ListServiceServiceEdgeRouterPoliciesUnauthorized) Error

func (*ListServiceServiceEdgeRouterPoliciesUnauthorized) GetPayload

type ListServiceServicePoliciesOK

type ListServiceServicePoliciesOK struct {
	Payload *rest_model.ListServicePoliciesEnvelope
}

ListServiceServicePoliciesOK handles this case with default header values.

A list of service policies

func NewListServiceServicePoliciesOK

func NewListServiceServicePoliciesOK() *ListServiceServicePoliciesOK

NewListServiceServicePoliciesOK creates a ListServiceServicePoliciesOK with default headers values

func (*ListServiceServicePoliciesOK) Error

func (*ListServiceServicePoliciesOK) GetPayload

type ListServiceServicePoliciesParams

type ListServiceServicePoliciesParams 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
}

ListServiceServicePoliciesParams contains all the parameters to send to the API endpoint for the list service service policies operation typically these are written to a http.Request

func NewListServiceServicePoliciesParams

func NewListServiceServicePoliciesParams() *ListServiceServicePoliciesParams

NewListServiceServicePoliciesParams creates a new ListServiceServicePoliciesParams object with the default values initialized.

func NewListServiceServicePoliciesParamsWithContext

func NewListServiceServicePoliciesParamsWithContext(ctx context.Context) *ListServiceServicePoliciesParams

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

func NewListServiceServicePoliciesParamsWithHTTPClient

func NewListServiceServicePoliciesParamsWithHTTPClient(client *http.Client) *ListServiceServicePoliciesParams

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

func NewListServiceServicePoliciesParamsWithTimeout

func NewListServiceServicePoliciesParamsWithTimeout(timeout time.Duration) *ListServiceServicePoliciesParams

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

func (*ListServiceServicePoliciesParams) SetContext

SetContext adds the context to the list service service policies params

func (*ListServiceServicePoliciesParams) SetFilter

func (o *ListServiceServicePoliciesParams) SetFilter(filter *string)

SetFilter adds the filter to the list service service policies params

func (*ListServiceServicePoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list service service policies params

func (*ListServiceServicePoliciesParams) SetID

SetID adds the id to the list service service policies params

func (*ListServiceServicePoliciesParams) SetLimit

func (o *ListServiceServicePoliciesParams) SetLimit(limit *int64)

SetLimit adds the limit to the list service service policies params

func (*ListServiceServicePoliciesParams) SetOffset

func (o *ListServiceServicePoliciesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list service service policies params

func (*ListServiceServicePoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the list service service policies params

func (*ListServiceServicePoliciesParams) WithContext

WithContext adds the context to the list service service policies params

func (*ListServiceServicePoliciesParams) WithFilter

WithFilter adds the filter to the list service service policies params

func (*ListServiceServicePoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list service service policies params

func (*ListServiceServicePoliciesParams) WithID

WithID adds the id to the list service service policies params

func (*ListServiceServicePoliciesParams) WithLimit

WithLimit adds the limit to the list service service policies params

func (*ListServiceServicePoliciesParams) WithOffset

WithOffset adds the offset to the list service service policies params

func (*ListServiceServicePoliciesParams) WithTimeout

WithTimeout adds the timeout to the list service service policies params

func (*ListServiceServicePoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceServicePoliciesReader

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

ListServiceServicePoliciesReader is a Reader for the ListServiceServicePolicies structure.

func (*ListServiceServicePoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceServicePoliciesUnauthorized

type ListServiceServicePoliciesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

ListServiceServicePoliciesUnauthorized handles this case with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListServiceServicePoliciesUnauthorized

func NewListServiceServicePoliciesUnauthorized() *ListServiceServicePoliciesUnauthorized

NewListServiceServicePoliciesUnauthorized creates a ListServiceServicePoliciesUnauthorized with default headers values

func (*ListServiceServicePoliciesUnauthorized) Error

func (*ListServiceServicePoliciesUnauthorized) GetPayload

type ListServiceTerminatorsOK

type ListServiceTerminatorsOK struct {
	Payload *rest_model.ListTerminatorsEnvelope
}

ListServiceTerminatorsOK handles this case 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

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 values initialized.

func NewListServiceTerminatorsParamsWithContext

func NewListServiceTerminatorsParamsWithContext(ctx context.Context) *ListServiceTerminatorsParams

NewListServiceTerminatorsParamsWithContext creates a new ListServiceTerminatorsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the list service terminators params

func (*ListServiceTerminatorsParams) WithFilter

WithFilter adds the filter to the list service terminators params

func (*ListServiceTerminatorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list service terminators params

func (*ListServiceTerminatorsParams) WithID

WithID adds the id to the list service terminators params

func (*ListServiceTerminatorsParams) WithLimit

WithLimit adds the limit to the list service terminators params

func (*ListServiceTerminatorsParams) WithOffset

WithOffset adds the offset to the list service terminators params

func (*ListServiceTerminatorsParams) WithTimeout

WithTimeout adds the timeout to the list service terminators params

func (*ListServiceTerminatorsParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}

ListServiceTerminatorsUnauthorized handles this case 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 (*ListServiceTerminatorsUnauthorized) GetPayload

type ListServicesOK

type ListServicesOK struct {
	Payload *rest_model.ListServicesEnvelope
}

ListServicesOK handles this case 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

type ListServicesParams

type ListServicesParams struct {

	/*Filter*/
	Filter *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*RoleFilter*/
	RoleFilter []string
	/*RoleSemantic*/
	RoleSemantic *string

	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 values initialized.

func NewListServicesParamsWithContext

func NewListServicesParamsWithContext(ctx context.Context) *ListServicesParams

NewListServicesParamsWithContext creates a new ListServicesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) SetRoleFilter

func (o *ListServicesParams) SetRoleFilter(roleFilter []string)

SetRoleFilter adds the roleFilter to the list services params

func (*ListServicesParams) SetRoleSemantic

func (o *ListServicesParams) SetRoleSemantic(roleSemantic *string)

SetRoleSemantic adds the roleSemantic 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

WithContext adds the context to the list services params

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) WithRoleFilter

func (o *ListServicesParams) WithRoleFilter(roleFilter []string) *ListServicesParams

WithRoleFilter adds the roleFilter to the list services params

func (*ListServicesParams) WithRoleSemantic

func (o *ListServicesParams) WithRoleSemantic(roleSemantic *string) *ListServicesParams

WithRoleSemantic adds the roleSemantic 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 {
	Payload *rest_model.APIErrorEnvelope
}

ListServicesUnauthorized handles this case 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

type PatchServiceBadRequest

type PatchServiceBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

PatchServiceBadRequest handles this case 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

type PatchServiceNotFound

type PatchServiceNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

PatchServiceNotFound handles this case 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

type PatchServiceOK

type PatchServiceOK struct {
	Payload *rest_model.Empty
}

PatchServiceOK handles this case 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

type PatchServiceParams

type PatchServiceParams struct {

	/*Body
	  A service patch object

	*/
	Body *rest_model.ServicePatch
	/*ID
	  The id of the requested resource

	*/
	ID string

	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 values initialized.

func NewPatchServiceParamsWithContext

func NewPatchServiceParamsWithContext(ctx context.Context) *PatchServiceParams

NewPatchServiceParamsWithContext creates a new PatchServiceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*PatchServiceParams) SetBody

func (o *PatchServiceParams) SetBody(body *rest_model.ServicePatch)

SetBody adds the body to the patch service params

func (*PatchServiceParams) SetContext

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

SetContext adds the context to the patch service params

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) SetTimeout

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

SetTimeout adds the timeout to the patch service params

func (*PatchServiceParams) WithBody

WithBody adds the body to the patch service params

func (*PatchServiceParams) WithContext

WithContext adds the context to the patch service params

func (*PatchServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch service params

func (*PatchServiceParams) WithID

WithID adds the id 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 {
	Payload *rest_model.APIErrorEnvelope
}

PatchServiceUnauthorized handles this case 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

type UpdateServiceBadRequest

type UpdateServiceBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

UpdateServiceBadRequest handles this case 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

type UpdateServiceNotFound

type UpdateServiceNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

UpdateServiceNotFound handles this case 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

type UpdateServiceOK

type UpdateServiceOK struct {
	Payload *rest_model.Empty
}

UpdateServiceOK handles this case 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

type UpdateServiceParams

type UpdateServiceParams struct {

	/*Body
	  A service update object

	*/
	Body *rest_model.ServiceUpdate
	/*ID
	  The id of the requested resource

	*/
	ID string

	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 values initialized.

func NewUpdateServiceParamsWithContext

func NewUpdateServiceParamsWithContext(ctx context.Context) *UpdateServiceParams

NewUpdateServiceParamsWithContext creates a new UpdateServiceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*UpdateServiceParams) SetBody

func (o *UpdateServiceParams) SetBody(body *rest_model.ServiceUpdate)

SetBody adds the body to the update service params

func (*UpdateServiceParams) SetContext

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

SetContext adds the context to the update service params

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) SetTimeout

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

SetTimeout adds the timeout to the update service params

func (*UpdateServiceParams) WithBody

WithBody adds the body to the update service params

func (*UpdateServiceParams) WithContext

WithContext adds the context to the update service params

func (*UpdateServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update service params

func (*UpdateServiceParams) WithID

WithID adds the id 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 {
	Payload *rest_model.APIErrorEnvelope
}

UpdateServiceUnauthorized handles this case 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

Jump to

Keyboard shortcuts

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