util

package
v1.5.0-rc.9 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: Apache-2.0 Imports: 7 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 util API

func New

func New(transport client.Transport, formats strfmt.Registry) *Client

New creates a new util API client.

func (*Client) SetTransport

func (a *Client) SetTransport(transport client.Transport)

SetTransport changes the transport on the client

func (*Client) TestAmbariDatabase

func (a *Client) TestAmbariDatabase(params *TestAmbariDatabaseParams) (*TestAmbariDatabaseOK, error)

TestAmbariDatabase tests a database connection parameters

func (*Client) TestRdsConnection

func (a *Client) TestRdsConnection(params *TestRdsConnectionParams) (*TestRdsConnectionOK, error)

TestRdsConnection tests a r d s connection

type TestAmbariDatabaseOK

type TestAmbariDatabaseOK struct {
	Payload *models.AmbariDatabaseTestResult
}

TestAmbariDatabaseOK handles this case with default header values.

successful operation

func NewTestAmbariDatabaseOK

func NewTestAmbariDatabaseOK() *TestAmbariDatabaseOK

NewTestAmbariDatabaseOK creates a TestAmbariDatabaseOK with default headers values

func (*TestAmbariDatabaseOK) Error

func (o *TestAmbariDatabaseOK) Error() string

type TestAmbariDatabaseParams

type TestAmbariDatabaseParams struct {

	/*Body*/
	Body *models.AmbariDatabaseDetails
}

TestAmbariDatabaseParams contains all the parameters to send to the API endpoint for the test ambari database operation typically these are written to a http.Request

func NewTestAmbariDatabaseParams

func NewTestAmbariDatabaseParams() *TestAmbariDatabaseParams

NewTestAmbariDatabaseParams creates a new TestAmbariDatabaseParams object with the default values initialized.

func (*TestAmbariDatabaseParams) WithBody

WithBody adds the body to the test ambari database params

func (*TestAmbariDatabaseParams) WriteToRequest

func (o *TestAmbariDatabaseParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TestAmbariDatabaseReader

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

TestAmbariDatabaseReader is a Reader for the TestAmbariDatabase structure.

func (*TestAmbariDatabaseReader) ReadResponse

func (o *TestAmbariDatabaseReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type TestRdsConnectionOK

type TestRdsConnectionOK struct {
	Payload *models.RdsTestResult
}

TestRdsConnectionOK handles this case with default header values.

successful operation

func NewTestRdsConnectionOK

func NewTestRdsConnectionOK() *TestRdsConnectionOK

NewTestRdsConnectionOK creates a TestRdsConnectionOK with default headers values

func (*TestRdsConnectionOK) Error

func (o *TestRdsConnectionOK) Error() string

type TestRdsConnectionParams

type TestRdsConnectionParams struct {

	/*Body*/
	Body *models.RDSConfig
}

TestRdsConnectionParams contains all the parameters to send to the API endpoint for the test rds connection operation typically these are written to a http.Request

func NewTestRdsConnectionParams

func NewTestRdsConnectionParams() *TestRdsConnectionParams

NewTestRdsConnectionParams creates a new TestRdsConnectionParams object with the default values initialized.

func (*TestRdsConnectionParams) WithBody

WithBody adds the body to the test rds connection params

func (*TestRdsConnectionParams) WriteToRequest

func (o *TestRdsConnectionParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TestRdsConnectionReader

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

TestRdsConnectionReader is a Reader for the TestRdsConnection structure.

func (*TestRdsConnectionReader) ReadResponse

func (o *TestRdsConnectionReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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