default_services

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for default services API

func (*Client) ServiceGetUsingGET

func (a *Client) ServiceGetUsingGET(params *ServiceGetUsingGETParams) (*ServiceGetUsingGETOK, error)

ServiceGetUsingGET gets

Get default service from NSX-T

func (*Client) ServiceListUsingGET

func (a *Client) ServiceListUsingGET(params *ServiceListUsingGETParams) (*ServiceListUsingGETOK, error)

ServiceListUsingGET lists

List default services from NSX-T

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ServiceGetUsingGET(params *ServiceGetUsingGETParams) (*ServiceGetUsingGETOK, error)

	ServiceListUsingGET(params *ServiceListUsingGETParams) (*ServiceListUsingGETOK, 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 default services API client.

type ServiceGetUsingGETBadRequest

type ServiceGetUsingGETBadRequest struct {
}

ServiceGetUsingGETBadRequest handles this case with default header values.

Bad request, error occurred. For more details see log messages.

func NewServiceGetUsingGETBadRequest

func NewServiceGetUsingGETBadRequest() *ServiceGetUsingGETBadRequest

NewServiceGetUsingGETBadRequest creates a ServiceGetUsingGETBadRequest with default headers values

func (*ServiceGetUsingGETBadRequest) Error

type ServiceGetUsingGETNotFound

type ServiceGetUsingGETNotFound struct {
}

ServiceGetUsingGETNotFound handles this case with default header values.

Entity not found.

func NewServiceGetUsingGETNotFound

func NewServiceGetUsingGETNotFound() *ServiceGetUsingGETNotFound

NewServiceGetUsingGETNotFound creates a ServiceGetUsingGETNotFound with default headers values

func (*ServiceGetUsingGETNotFound) Error

type ServiceGetUsingGETOK

type ServiceGetUsingGETOK struct {
	Payload *models.ServiceGetResponse
}

ServiceGetUsingGETOK handles this case with default header values.

OK

func NewServiceGetUsingGETOK

func NewServiceGetUsingGETOK() *ServiceGetUsingGETOK

NewServiceGetUsingGETOK creates a ServiceGetUsingGETOK with default headers values

func (*ServiceGetUsingGETOK) Error

func (o *ServiceGetUsingGETOK) Error() string

func (*ServiceGetUsingGETOK) GetPayload

type ServiceGetUsingGETParams

type ServiceGetUsingGETParams struct {

	/*ServiceID
	  serviceId

	*/
	ServiceID string

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

ServiceGetUsingGETParams contains all the parameters to send to the API endpoint for the service get using g e t operation typically these are written to a http.Request

func NewServiceGetUsingGETParams

func NewServiceGetUsingGETParams() *ServiceGetUsingGETParams

NewServiceGetUsingGETParams creates a new ServiceGetUsingGETParams object with the default values initialized.

func NewServiceGetUsingGETParamsWithContext

func NewServiceGetUsingGETParamsWithContext(ctx context.Context) *ServiceGetUsingGETParams

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

func NewServiceGetUsingGETParamsWithHTTPClient

func NewServiceGetUsingGETParamsWithHTTPClient(client *http.Client) *ServiceGetUsingGETParams

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

func NewServiceGetUsingGETParamsWithTimeout

func NewServiceGetUsingGETParamsWithTimeout(timeout time.Duration) *ServiceGetUsingGETParams

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

func (*ServiceGetUsingGETParams) SetContext

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

SetContext adds the context to the service get using g e t params

func (*ServiceGetUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service get using g e t params

func (*ServiceGetUsingGETParams) SetServiceID

func (o *ServiceGetUsingGETParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service get using g e t params

func (*ServiceGetUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the service get using g e t params

func (*ServiceGetUsingGETParams) WithContext

WithContext adds the context to the service get using g e t params

func (*ServiceGetUsingGETParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service get using g e t params

func (*ServiceGetUsingGETParams) WithServiceID

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

WithServiceID adds the serviceID to the service get using g e t params

func (*ServiceGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the service get using g e t params

func (*ServiceGetUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceGetUsingGETReader

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

ServiceGetUsingGETReader is a Reader for the ServiceGetUsingGET structure.

func (*ServiceGetUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceListUsingGETBadRequest

type ServiceListUsingGETBadRequest struct {
}

ServiceListUsingGETBadRequest handles this case with default header values.

Bad request, error occurred. For more details see log messages.

func NewServiceListUsingGETBadRequest

func NewServiceListUsingGETBadRequest() *ServiceListUsingGETBadRequest

NewServiceListUsingGETBadRequest creates a ServiceListUsingGETBadRequest with default headers values

func (*ServiceListUsingGETBadRequest) Error

type ServiceListUsingGETOK

type ServiceListUsingGETOK struct {
	Payload *models.ServiceListResponse
}

ServiceListUsingGETOK handles this case with default header values.

OK

func NewServiceListUsingGETOK

func NewServiceListUsingGETOK() *ServiceListUsingGETOK

NewServiceListUsingGETOK creates a ServiceListUsingGETOK with default headers values

func (*ServiceListUsingGETOK) Error

func (o *ServiceListUsingGETOK) Error() string

func (*ServiceListUsingGETOK) GetPayload

type ServiceListUsingGETParams

type ServiceListUsingGETParams struct {

	/*DisplayName
	  displayName

	*/
	DisplayName *string

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

ServiceListUsingGETParams contains all the parameters to send to the API endpoint for the service list using g e t operation typically these are written to a http.Request

func NewServiceListUsingGETParams

func NewServiceListUsingGETParams() *ServiceListUsingGETParams

NewServiceListUsingGETParams creates a new ServiceListUsingGETParams object with the default values initialized.

func NewServiceListUsingGETParamsWithContext

func NewServiceListUsingGETParamsWithContext(ctx context.Context) *ServiceListUsingGETParams

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

func NewServiceListUsingGETParamsWithHTTPClient

func NewServiceListUsingGETParamsWithHTTPClient(client *http.Client) *ServiceListUsingGETParams

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

func NewServiceListUsingGETParamsWithTimeout

func NewServiceListUsingGETParamsWithTimeout(timeout time.Duration) *ServiceListUsingGETParams

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

func (*ServiceListUsingGETParams) SetContext

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

SetContext adds the context to the service list using g e t params

func (*ServiceListUsingGETParams) SetDisplayName

func (o *ServiceListUsingGETParams) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the service list using g e t params

func (*ServiceListUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service list using g e t params

func (*ServiceListUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the service list using g e t params

func (*ServiceListUsingGETParams) WithContext

WithContext adds the context to the service list using g e t params

func (*ServiceListUsingGETParams) WithDisplayName

func (o *ServiceListUsingGETParams) WithDisplayName(displayName *string) *ServiceListUsingGETParams

WithDisplayName adds the displayName to the service list using g e t params

func (*ServiceListUsingGETParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service list using g e t params

func (*ServiceListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the service list using g e t params

func (*ServiceListUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceListUsingGETReader

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

ServiceListUsingGETReader is a Reader for the ServiceListUsingGET structure.

func (*ServiceListUsingGETReader) ReadResponse

func (o *ServiceListUsingGETReader) 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