service_dependencies

package
v0.0.0-...-4387d94 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for service dependencies API

func (*Client) DeleteV1ServiceDependenciesServiceDependencyID

DeleteV1ServiceDependenciesServiceDependencyID deletes a service dependency

Deletes a single service dependency

func (*Client) GetV1ServiceDependenciesServiceDependencyID

GetV1ServiceDependenciesServiceDependencyID retrieves a single service dependency

Retrieves a single service dependency by ID

func (*Client) PatchV1ServiceDependenciesServiceDependencyID

PatchV1ServiceDependenciesServiceDependencyID updates a service dependency

Update the notes of the service dependency

func (*Client) PostV1ServiceDependencies

func (a *Client) PostV1ServiceDependencies(params *PostV1ServiceDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1ServiceDependenciesCreated, error)

PostV1ServiceDependencies creates a service dependency

Creates a service dependency relationship between two services

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteV1ServiceDependenciesServiceDependencyID(params *DeleteV1ServiceDependenciesServiceDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1ServiceDependenciesServiceDependencyIDOK, error)

	GetV1ServiceDependenciesServiceDependencyID(params *GetV1ServiceDependenciesServiceDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ServiceDependenciesServiceDependencyIDOK, error)

	PatchV1ServiceDependenciesServiceDependencyID(params *PatchV1ServiceDependenciesServiceDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1ServiceDependenciesServiceDependencyIDOK, error)

	PostV1ServiceDependencies(params *PostV1ServiceDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1ServiceDependenciesCreated, 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 dependencies API client.

type DeleteV1ServiceDependenciesServiceDependencyIDOK

type DeleteV1ServiceDependenciesServiceDependencyIDOK struct {
	Payload *models.ServiceDependencyEntity
}

DeleteV1ServiceDependenciesServiceDependencyIDOK describes a response with status code 200, with default header values.

Deletes a single service dependency

func NewDeleteV1ServiceDependenciesServiceDependencyIDOK

func NewDeleteV1ServiceDependenciesServiceDependencyIDOK() *DeleteV1ServiceDependenciesServiceDependencyIDOK

NewDeleteV1ServiceDependenciesServiceDependencyIDOK creates a DeleteV1ServiceDependenciesServiceDependencyIDOK with default headers values

func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) Error

func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) GetPayload

func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) IsClientError

IsClientError returns true when this delete v1 service dependencies service dependency Id o k response has a 4xx status code

func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) IsCode

IsCode returns true when this delete v1 service dependencies service dependency Id o k response a status code equal to that given

func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) IsRedirect

IsRedirect returns true when this delete v1 service dependencies service dependency Id o k response has a 3xx status code

func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) IsServerError

IsServerError returns true when this delete v1 service dependencies service dependency Id o k response has a 5xx status code

func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) IsSuccess

IsSuccess returns true when this delete v1 service dependencies service dependency Id o k response has a 2xx status code

func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) String

type DeleteV1ServiceDependenciesServiceDependencyIDParams

type DeleteV1ServiceDependenciesServiceDependencyIDParams struct {

	// ServiceDependencyID.
	ServiceDependencyID string

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

DeleteV1ServiceDependenciesServiceDependencyIDParams contains all the parameters to send to the API endpoint

for the delete v1 service dependencies service dependency Id operation.

Typically these are written to a http.Request.

func NewDeleteV1ServiceDependenciesServiceDependencyIDParams

func NewDeleteV1ServiceDependenciesServiceDependencyIDParams() *DeleteV1ServiceDependenciesServiceDependencyIDParams

NewDeleteV1ServiceDependenciesServiceDependencyIDParams creates a new DeleteV1ServiceDependenciesServiceDependencyIDParams 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 NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithContext

func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithContext(ctx context.Context) *DeleteV1ServiceDependenciesServiceDependencyIDParams

NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithContext creates a new DeleteV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a context for a request.

func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient

func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient(client *http.Client) *DeleteV1ServiceDependenciesServiceDependencyIDParams

NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient creates a new DeleteV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithTimeout

func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithTimeout(timeout time.Duration) *DeleteV1ServiceDependenciesServiceDependencyIDParams

NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithTimeout creates a new DeleteV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a timeout on a request.

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) SetContext

SetContext adds the context to the delete v1 service dependencies service dependency Id params

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 service dependencies service dependency Id params (not the query body).

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

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 service dependencies service dependency Id params

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID

func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID(serviceDependencyID string)

SetServiceDependencyID adds the serviceDependencyId to the delete v1 service dependencies service dependency Id params

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 service dependencies service dependency Id params

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WithContext

WithContext adds the context to the delete v1 service dependencies service dependency Id params

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 service dependencies service dependency Id params (not the query body).

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

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 service dependencies service dependency Id params

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID

WithServiceDependencyID adds the serviceDependencyID to the delete v1 service dependencies service dependency Id params

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 service dependencies service dependency Id params

func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1ServiceDependenciesServiceDependencyIDReader

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

DeleteV1ServiceDependenciesServiceDependencyIDReader is a Reader for the DeleteV1ServiceDependenciesServiceDependencyID structure.

func (*DeleteV1ServiceDependenciesServiceDependencyIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1ServiceDependenciesServiceDependencyIDOK

type GetV1ServiceDependenciesServiceDependencyIDOK struct {
	Payload *models.ServiceDependencyEntity
}

GetV1ServiceDependenciesServiceDependencyIDOK describes a response with status code 200, with default header values.

Retrieves a single service dependency by ID

func NewGetV1ServiceDependenciesServiceDependencyIDOK

func NewGetV1ServiceDependenciesServiceDependencyIDOK() *GetV1ServiceDependenciesServiceDependencyIDOK

NewGetV1ServiceDependenciesServiceDependencyIDOK creates a GetV1ServiceDependenciesServiceDependencyIDOK with default headers values

func (*GetV1ServiceDependenciesServiceDependencyIDOK) Error

func (*GetV1ServiceDependenciesServiceDependencyIDOK) GetPayload

func (*GetV1ServiceDependenciesServiceDependencyIDOK) IsClientError

IsClientError returns true when this get v1 service dependencies service dependency Id o k response has a 4xx status code

func (*GetV1ServiceDependenciesServiceDependencyIDOK) IsCode

IsCode returns true when this get v1 service dependencies service dependency Id o k response a status code equal to that given

func (*GetV1ServiceDependenciesServiceDependencyIDOK) IsRedirect

IsRedirect returns true when this get v1 service dependencies service dependency Id o k response has a 3xx status code

func (*GetV1ServiceDependenciesServiceDependencyIDOK) IsServerError

IsServerError returns true when this get v1 service dependencies service dependency Id o k response has a 5xx status code

func (*GetV1ServiceDependenciesServiceDependencyIDOK) IsSuccess

IsSuccess returns true when this get v1 service dependencies service dependency Id o k response has a 2xx status code

func (*GetV1ServiceDependenciesServiceDependencyIDOK) String

type GetV1ServiceDependenciesServiceDependencyIDParams

type GetV1ServiceDependenciesServiceDependencyIDParams struct {

	// ServiceDependencyID.
	ServiceDependencyID string

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

GetV1ServiceDependenciesServiceDependencyIDParams contains all the parameters to send to the API endpoint

for the get v1 service dependencies service dependency Id operation.

Typically these are written to a http.Request.

func NewGetV1ServiceDependenciesServiceDependencyIDParams

func NewGetV1ServiceDependenciesServiceDependencyIDParams() *GetV1ServiceDependenciesServiceDependencyIDParams

NewGetV1ServiceDependenciesServiceDependencyIDParams creates a new GetV1ServiceDependenciesServiceDependencyIDParams 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 NewGetV1ServiceDependenciesServiceDependencyIDParamsWithContext

func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithContext(ctx context.Context) *GetV1ServiceDependenciesServiceDependencyIDParams

NewGetV1ServiceDependenciesServiceDependencyIDParamsWithContext creates a new GetV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a context for a request.

func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient

func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient(client *http.Client) *GetV1ServiceDependenciesServiceDependencyIDParams

NewGetV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient creates a new GetV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithTimeout

func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithTimeout(timeout time.Duration) *GetV1ServiceDependenciesServiceDependencyIDParams

NewGetV1ServiceDependenciesServiceDependencyIDParamsWithTimeout creates a new GetV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a timeout on a request.

func (*GetV1ServiceDependenciesServiceDependencyIDParams) SetContext

SetContext adds the context to the get v1 service dependencies service dependency Id params

func (*GetV1ServiceDependenciesServiceDependencyIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 service dependencies service dependency Id params (not the query body).

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

func (*GetV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 service dependencies service dependency Id params

func (*GetV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID

func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID(serviceDependencyID string)

SetServiceDependencyID adds the serviceDependencyId to the get v1 service dependencies service dependency Id params

func (*GetV1ServiceDependenciesServiceDependencyIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 service dependencies service dependency Id params

func (*GetV1ServiceDependenciesServiceDependencyIDParams) WithContext

WithContext adds the context to the get v1 service dependencies service dependency Id params

func (*GetV1ServiceDependenciesServiceDependencyIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 service dependencies service dependency Id params (not the query body).

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

func (*GetV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 service dependencies service dependency Id params

func (*GetV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID

WithServiceDependencyID adds the serviceDependencyID to the get v1 service dependencies service dependency Id params

func (*GetV1ServiceDependenciesServiceDependencyIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 service dependencies service dependency Id params

func (*GetV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1ServiceDependenciesServiceDependencyIDReader

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

GetV1ServiceDependenciesServiceDependencyIDReader is a Reader for the GetV1ServiceDependenciesServiceDependencyID structure.

func (*GetV1ServiceDependenciesServiceDependencyIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1ServiceDependenciesServiceDependencyIDOK

type PatchV1ServiceDependenciesServiceDependencyIDOK struct {
	Payload *models.ServiceDependencyEntity
}

PatchV1ServiceDependenciesServiceDependencyIDOK describes a response with status code 200, with default header values.

Update the notes of the service dependency

func NewPatchV1ServiceDependenciesServiceDependencyIDOK

func NewPatchV1ServiceDependenciesServiceDependencyIDOK() *PatchV1ServiceDependenciesServiceDependencyIDOK

NewPatchV1ServiceDependenciesServiceDependencyIDOK creates a PatchV1ServiceDependenciesServiceDependencyIDOK with default headers values

func (*PatchV1ServiceDependenciesServiceDependencyIDOK) Error

func (*PatchV1ServiceDependenciesServiceDependencyIDOK) GetPayload

func (*PatchV1ServiceDependenciesServiceDependencyIDOK) IsClientError

IsClientError returns true when this patch v1 service dependencies service dependency Id o k response has a 4xx status code

func (*PatchV1ServiceDependenciesServiceDependencyIDOK) IsCode

IsCode returns true when this patch v1 service dependencies service dependency Id o k response a status code equal to that given

func (*PatchV1ServiceDependenciesServiceDependencyIDOK) IsRedirect

IsRedirect returns true when this patch v1 service dependencies service dependency Id o k response has a 3xx status code

func (*PatchV1ServiceDependenciesServiceDependencyIDOK) IsServerError

IsServerError returns true when this patch v1 service dependencies service dependency Id o k response has a 5xx status code

func (*PatchV1ServiceDependenciesServiceDependencyIDOK) IsSuccess

IsSuccess returns true when this patch v1 service dependencies service dependency Id o k response has a 2xx status code

func (*PatchV1ServiceDependenciesServiceDependencyIDOK) String

type PatchV1ServiceDependenciesServiceDependencyIDParams

type PatchV1ServiceDependenciesServiceDependencyIDParams struct {

	// PatchV1ServiceDependenciesServiceDependencyID.
	PatchV1ServiceDependenciesServiceDependencyID *models.PatchV1ServiceDependenciesServiceDependencyID

	// ServiceDependencyID.
	ServiceDependencyID string

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

PatchV1ServiceDependenciesServiceDependencyIDParams contains all the parameters to send to the API endpoint

for the patch v1 service dependencies service dependency Id operation.

Typically these are written to a http.Request.

func NewPatchV1ServiceDependenciesServiceDependencyIDParams

func NewPatchV1ServiceDependenciesServiceDependencyIDParams() *PatchV1ServiceDependenciesServiceDependencyIDParams

NewPatchV1ServiceDependenciesServiceDependencyIDParams creates a new PatchV1ServiceDependenciesServiceDependencyIDParams 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 NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithContext

func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithContext(ctx context.Context) *PatchV1ServiceDependenciesServiceDependencyIDParams

NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithContext creates a new PatchV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a context for a request.

func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient

func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient(client *http.Client) *PatchV1ServiceDependenciesServiceDependencyIDParams

NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient creates a new PatchV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithTimeout

func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithTimeout(timeout time.Duration) *PatchV1ServiceDependenciesServiceDependencyIDParams

NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithTimeout creates a new PatchV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a timeout on a request.

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetContext

SetContext adds the context to the patch v1 service dependencies service dependency Id params

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 service dependencies service dependency Id params (not the query body).

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

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 service dependencies service dependency Id params

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetPatchV1ServiceDependenciesServiceDependencyID

func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetPatchV1ServiceDependenciesServiceDependencyID(patchV1ServiceDependenciesServiceDependencyID *models.PatchV1ServiceDependenciesServiceDependencyID)

SetPatchV1ServiceDependenciesServiceDependencyID adds the patchV1ServiceDependenciesServiceDependencyId to the patch v1 service dependencies service dependency Id params

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID

func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID(serviceDependencyID string)

SetServiceDependencyID adds the serviceDependencyId to the patch v1 service dependencies service dependency Id params

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 service dependencies service dependency Id params

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithContext

WithContext adds the context to the patch v1 service dependencies service dependency Id params

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 service dependencies service dependency Id params (not the query body).

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

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 service dependencies service dependency Id params

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithPatchV1ServiceDependenciesServiceDependencyID

func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithPatchV1ServiceDependenciesServiceDependencyID(patchV1ServiceDependenciesServiceDependencyID *models.PatchV1ServiceDependenciesServiceDependencyID) *PatchV1ServiceDependenciesServiceDependencyIDParams

WithPatchV1ServiceDependenciesServiceDependencyID adds the patchV1ServiceDependenciesServiceDependencyID to the patch v1 service dependencies service dependency Id params

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID

WithServiceDependencyID adds the serviceDependencyID to the patch v1 service dependencies service dependency Id params

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 service dependencies service dependency Id params

func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1ServiceDependenciesServiceDependencyIDReader

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

PatchV1ServiceDependenciesServiceDependencyIDReader is a Reader for the PatchV1ServiceDependenciesServiceDependencyID structure.

func (*PatchV1ServiceDependenciesServiceDependencyIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1ServiceDependenciesCreated

type PostV1ServiceDependenciesCreated struct {
	Payload *models.ServiceDependencyEntity
}

PostV1ServiceDependenciesCreated describes a response with status code 201, with default header values.

Creates a service dependency relationship between two services

func NewPostV1ServiceDependenciesCreated

func NewPostV1ServiceDependenciesCreated() *PostV1ServiceDependenciesCreated

NewPostV1ServiceDependenciesCreated creates a PostV1ServiceDependenciesCreated with default headers values

func (*PostV1ServiceDependenciesCreated) Error

func (*PostV1ServiceDependenciesCreated) GetPayload

func (*PostV1ServiceDependenciesCreated) IsClientError

func (o *PostV1ServiceDependenciesCreated) IsClientError() bool

IsClientError returns true when this post v1 service dependencies created response has a 4xx status code

func (*PostV1ServiceDependenciesCreated) IsCode

func (o *PostV1ServiceDependenciesCreated) IsCode(code int) bool

IsCode returns true when this post v1 service dependencies created response a status code equal to that given

func (*PostV1ServiceDependenciesCreated) IsRedirect

func (o *PostV1ServiceDependenciesCreated) IsRedirect() bool

IsRedirect returns true when this post v1 service dependencies created response has a 3xx status code

func (*PostV1ServiceDependenciesCreated) IsServerError

func (o *PostV1ServiceDependenciesCreated) IsServerError() bool

IsServerError returns true when this post v1 service dependencies created response has a 5xx status code

func (*PostV1ServiceDependenciesCreated) IsSuccess

func (o *PostV1ServiceDependenciesCreated) IsSuccess() bool

IsSuccess returns true when this post v1 service dependencies created response has a 2xx status code

func (*PostV1ServiceDependenciesCreated) String

type PostV1ServiceDependenciesParams

type PostV1ServiceDependenciesParams struct {

	// PostV1ServiceDependencies.
	PostV1ServiceDependencies *models.PostV1ServiceDependencies

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

PostV1ServiceDependenciesParams contains all the parameters to send to the API endpoint

for the post v1 service dependencies operation.

Typically these are written to a http.Request.

func NewPostV1ServiceDependenciesParams

func NewPostV1ServiceDependenciesParams() *PostV1ServiceDependenciesParams

NewPostV1ServiceDependenciesParams creates a new PostV1ServiceDependenciesParams 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 NewPostV1ServiceDependenciesParamsWithContext

func NewPostV1ServiceDependenciesParamsWithContext(ctx context.Context) *PostV1ServiceDependenciesParams

NewPostV1ServiceDependenciesParamsWithContext creates a new PostV1ServiceDependenciesParams object with the ability to set a context for a request.

func NewPostV1ServiceDependenciesParamsWithHTTPClient

func NewPostV1ServiceDependenciesParamsWithHTTPClient(client *http.Client) *PostV1ServiceDependenciesParams

NewPostV1ServiceDependenciesParamsWithHTTPClient creates a new PostV1ServiceDependenciesParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1ServiceDependenciesParamsWithTimeout

func NewPostV1ServiceDependenciesParamsWithTimeout(timeout time.Duration) *PostV1ServiceDependenciesParams

NewPostV1ServiceDependenciesParamsWithTimeout creates a new PostV1ServiceDependenciesParams object with the ability to set a timeout on a request.

func (*PostV1ServiceDependenciesParams) SetContext

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

SetContext adds the context to the post v1 service dependencies params

func (*PostV1ServiceDependenciesParams) SetDefaults

func (o *PostV1ServiceDependenciesParams) SetDefaults()

SetDefaults hydrates default values in the post v1 service dependencies params (not the query body).

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

func (*PostV1ServiceDependenciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 service dependencies params

func (*PostV1ServiceDependenciesParams) SetPostV1ServiceDependencies

func (o *PostV1ServiceDependenciesParams) SetPostV1ServiceDependencies(postV1ServiceDependencies *models.PostV1ServiceDependencies)

SetPostV1ServiceDependencies adds the postV1ServiceDependencies to the post v1 service dependencies params

func (*PostV1ServiceDependenciesParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 service dependencies params

func (*PostV1ServiceDependenciesParams) WithContext

WithContext adds the context to the post v1 service dependencies params

func (*PostV1ServiceDependenciesParams) WithDefaults

WithDefaults hydrates default values in the post v1 service dependencies params (not the query body).

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

func (*PostV1ServiceDependenciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 service dependencies params

func (*PostV1ServiceDependenciesParams) WithPostV1ServiceDependencies

func (o *PostV1ServiceDependenciesParams) WithPostV1ServiceDependencies(postV1ServiceDependencies *models.PostV1ServiceDependencies) *PostV1ServiceDependenciesParams

WithPostV1ServiceDependencies adds the postV1ServiceDependencies to the post v1 service dependencies params

func (*PostV1ServiceDependenciesParams) WithTimeout

WithTimeout adds the timeout to the post v1 service dependencies params

func (*PostV1ServiceDependenciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1ServiceDependenciesReader

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

PostV1ServiceDependenciesReader is a Reader for the PostV1ServiceDependencies structure.

func (*PostV1ServiceDependenciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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