Documentation
¶
Index ¶
- type Client
- type ClientService
- type ServiceGetUsingGETBadRequest
- type ServiceGetUsingGETNotFound
- type ServiceGetUsingGETOK
- type ServiceGetUsingGETParams
- func NewServiceGetUsingGETParams() *ServiceGetUsingGETParams
- func NewServiceGetUsingGETParamsWithContext(ctx context.Context) *ServiceGetUsingGETParams
- func NewServiceGetUsingGETParamsWithHTTPClient(client *http.Client) *ServiceGetUsingGETParams
- func NewServiceGetUsingGETParamsWithTimeout(timeout time.Duration) *ServiceGetUsingGETParams
- func (o *ServiceGetUsingGETParams) SetContext(ctx context.Context)
- func (o *ServiceGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *ServiceGetUsingGETParams) SetServiceID(serviceID string)
- func (o *ServiceGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *ServiceGetUsingGETParams) WithContext(ctx context.Context) *ServiceGetUsingGETParams
- func (o *ServiceGetUsingGETParams) WithHTTPClient(client *http.Client) *ServiceGetUsingGETParams
- func (o *ServiceGetUsingGETParams) WithServiceID(serviceID string) *ServiceGetUsingGETParams
- func (o *ServiceGetUsingGETParams) WithTimeout(timeout time.Duration) *ServiceGetUsingGETParams
- func (o *ServiceGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceGetUsingGETReader
- type ServiceListUsingGETBadRequest
- type ServiceListUsingGETOK
- type ServiceListUsingGETParams
- func NewServiceListUsingGETParams() *ServiceListUsingGETParams
- func NewServiceListUsingGETParamsWithContext(ctx context.Context) *ServiceListUsingGETParams
- func NewServiceListUsingGETParamsWithHTTPClient(client *http.Client) *ServiceListUsingGETParams
- func NewServiceListUsingGETParamsWithTimeout(timeout time.Duration) *ServiceListUsingGETParams
- func (o *ServiceListUsingGETParams) SetContext(ctx context.Context)
- func (o *ServiceListUsingGETParams) SetDisplayName(displayName *string)
- func (o *ServiceListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *ServiceListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *ServiceListUsingGETParams) WithContext(ctx context.Context) *ServiceListUsingGETParams
- func (o *ServiceListUsingGETParams) WithDisplayName(displayName *string) *ServiceListUsingGETParams
- func (o *ServiceListUsingGETParams) WithHTTPClient(client *http.Client) *ServiceListUsingGETParams
- func (o *ServiceListUsingGETParams) WithTimeout(timeout time.Duration) *ServiceListUsingGETParams
- func (o *ServiceListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceListUsingGETReader
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 ¶
func (o *ServiceGetUsingGETBadRequest) Error() string
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 ¶
func (o *ServiceGetUsingGETNotFound) Error() string
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 ¶
func (o *ServiceGetUsingGETOK) GetPayload() *models.ServiceGetResponse
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 ¶
func (o *ServiceGetUsingGETParams) WithContext(ctx context.Context) *ServiceGetUsingGETParams
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 ¶
func (o *ServiceGetUsingGETParams) WithTimeout(timeout time.Duration) *ServiceGetUsingGETParams
WithTimeout adds the timeout to the service get using g e t params
func (*ServiceGetUsingGETParams) WriteToRequest ¶
func (o *ServiceGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ServiceListUsingGETBadRequest) Error() string
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 ¶
func (o *ServiceListUsingGETOK) GetPayload() *models.ServiceListResponse
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 ¶
func (o *ServiceListUsingGETParams) WithContext(ctx context.Context) *ServiceListUsingGETParams
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 ¶
func (o *ServiceListUsingGETParams) WithTimeout(timeout time.Duration) *ServiceListUsingGETParams
WithTimeout adds the timeout to the service list using g e t params
func (*ServiceListUsingGETParams) WriteToRequest ¶
func (o *ServiceListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.