modules

package
v0.0.0-...-3fd5aad Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 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 modules API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new modules API client.

func (*Client) CreateModule

func (a *Client) CreateModule(params *CreateModuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateModuleCreated, error)

CreateModule Upload a Terraform module

func (*Client) DeleteModule

func (a *Client) DeleteModule(params *DeleteModuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteModuleNoContent, error)

DeleteModule Delete a terraform module

func (*Client) GetModule

func (a *Client) GetModule(params *GetModuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetModuleOK, error)

GetModule Get a Terraform module

func (*Client) ListModules

func (a *Client) ListModules(params *ListModulesParams, authInfo runtime.ClientAuthInfoWriter) (*ListModulesOK, error)

ListModules List TF modules

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateModuleBadRequest

type CreateModuleBadRequest struct {
	Payload *models.ServerError
}

CreateModuleBadRequest handles this case with default header values.

Bad Request

func NewCreateModuleBadRequest

func NewCreateModuleBadRequest() *CreateModuleBadRequest

NewCreateModuleBadRequest creates a CreateModuleBadRequest with default headers values

func (*CreateModuleBadRequest) Error

func (o *CreateModuleBadRequest) Error() string

type CreateModuleCreated

type CreateModuleCreated struct {
	Payload *models.ResourceTfModule
}

CreateModuleCreated handles this case with default header values.

OK

func NewCreateModuleCreated

func NewCreateModuleCreated() *CreateModuleCreated

NewCreateModuleCreated creates a CreateModuleCreated with default headers values

func (*CreateModuleCreated) Error

func (o *CreateModuleCreated) Error() string

type CreateModuleParams

type CreateModuleParams struct {

	/*TerraformModule
	  A terraform module

	*/
	TerraformModule *models.ResourceTfModule

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

CreateModuleParams contains all the parameters to send to the API endpoint for the create module operation typically these are written to a http.Request

func NewCreateModuleParams

func NewCreateModuleParams() *CreateModuleParams

NewCreateModuleParams creates a new CreateModuleParams object with the default values initialized.

func NewCreateModuleParamsWithContext

func NewCreateModuleParamsWithContext(ctx context.Context) *CreateModuleParams

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

func NewCreateModuleParamsWithHTTPClient

func NewCreateModuleParamsWithHTTPClient(client *http.Client) *CreateModuleParams

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

func NewCreateModuleParamsWithTimeout

func NewCreateModuleParamsWithTimeout(timeout time.Duration) *CreateModuleParams

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

func (*CreateModuleParams) SetContext

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

SetContext adds the context to the create module params

func (*CreateModuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create module params

func (*CreateModuleParams) SetTerraformModule

func (o *CreateModuleParams) SetTerraformModule(terraformModule *models.ResourceTfModule)

SetTerraformModule adds the terraformModule to the create module params

func (*CreateModuleParams) SetTimeout

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

SetTimeout adds the timeout to the create module params

func (*CreateModuleParams) WithContext

WithContext adds the context to the create module params

func (*CreateModuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create module params

func (*CreateModuleParams) WithTerraformModule

func (o *CreateModuleParams) WithTerraformModule(terraformModule *models.ResourceTfModule) *CreateModuleParams

WithTerraformModule adds the terraformModule to the create module params

func (*CreateModuleParams) WithTimeout

func (o *CreateModuleParams) WithTimeout(timeout time.Duration) *CreateModuleParams

WithTimeout adds the timeout to the create module params

func (*CreateModuleParams) WriteToRequest

func (o *CreateModuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateModuleReader

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

CreateModuleReader is a Reader for the CreateModule structure.

func (*CreateModuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteModuleInternalServerError

type DeleteModuleInternalServerError struct {
	Payload *models.ServerError
}

DeleteModuleInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteModuleInternalServerError

func NewDeleteModuleInternalServerError() *DeleteModuleInternalServerError

NewDeleteModuleInternalServerError creates a DeleteModuleInternalServerError with default headers values

func (*DeleteModuleInternalServerError) Error

type DeleteModuleNoContent

type DeleteModuleNoContent struct {
}

DeleteModuleNoContent handles this case with default header values.

No Content

func NewDeleteModuleNoContent

func NewDeleteModuleNoContent() *DeleteModuleNoContent

NewDeleteModuleNoContent creates a DeleteModuleNoContent with default headers values

func (*DeleteModuleNoContent) Error

func (o *DeleteModuleNoContent) Error() string

type DeleteModuleNotFound

type DeleteModuleNotFound struct {
	Payload *models.ServerError
}

DeleteModuleNotFound handles this case with default header values.

Not Found

func NewDeleteModuleNotFound

func NewDeleteModuleNotFound() *DeleteModuleNotFound

NewDeleteModuleNotFound creates a DeleteModuleNotFound with default headers values

func (*DeleteModuleNotFound) Error

func (o *DeleteModuleNotFound) Error() string

type DeleteModuleParams

type DeleteModuleParams struct {

	/*ID
	  Unique identifier for this module

	*/
	ID string

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

DeleteModuleParams contains all the parameters to send to the API endpoint for the delete module operation typically these are written to a http.Request

func NewDeleteModuleParams

func NewDeleteModuleParams() *DeleteModuleParams

NewDeleteModuleParams creates a new DeleteModuleParams object with the default values initialized.

func NewDeleteModuleParamsWithContext

func NewDeleteModuleParamsWithContext(ctx context.Context) *DeleteModuleParams

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

func NewDeleteModuleParamsWithHTTPClient

func NewDeleteModuleParamsWithHTTPClient(client *http.Client) *DeleteModuleParams

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

func NewDeleteModuleParamsWithTimeout

func NewDeleteModuleParamsWithTimeout(timeout time.Duration) *DeleteModuleParams

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

func (*DeleteModuleParams) SetContext

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

SetContext adds the context to the delete module params

func (*DeleteModuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete module params

func (*DeleteModuleParams) SetID

func (o *DeleteModuleParams) SetID(id string)

SetID adds the id to the delete module params

func (*DeleteModuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete module params

func (*DeleteModuleParams) WithContext

WithContext adds the context to the delete module params

func (*DeleteModuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete module params

func (*DeleteModuleParams) WithID

WithID adds the id to the delete module params

func (*DeleteModuleParams) WithTimeout

func (o *DeleteModuleParams) WithTimeout(timeout time.Duration) *DeleteModuleParams

WithTimeout adds the timeout to the delete module params

func (*DeleteModuleParams) WriteToRequest

func (o *DeleteModuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteModuleReader

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

DeleteModuleReader is a Reader for the DeleteModule structure.

func (*DeleteModuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteModuleUnprocessableEntity

type DeleteModuleUnprocessableEntity struct {
	Payload *models.ServerError
}

DeleteModuleUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewDeleteModuleUnprocessableEntity

func NewDeleteModuleUnprocessableEntity() *DeleteModuleUnprocessableEntity

NewDeleteModuleUnprocessableEntity creates a DeleteModuleUnprocessableEntity with default headers values

func (*DeleteModuleUnprocessableEntity) Error

type GetModuleInternalServerError

type GetModuleInternalServerError struct {
	Payload *models.ServerError
}

GetModuleInternalServerError handles this case with default header values.

Internal Server Error

func NewGetModuleInternalServerError

func NewGetModuleInternalServerError() *GetModuleInternalServerError

NewGetModuleInternalServerError creates a GetModuleInternalServerError with default headers values

func (*GetModuleInternalServerError) Error

type GetModuleNotFound

type GetModuleNotFound struct {
	Payload *models.ServerError
}

GetModuleNotFound handles this case with default header values.

Not Found

func NewGetModuleNotFound

func NewGetModuleNotFound() *GetModuleNotFound

NewGetModuleNotFound creates a GetModuleNotFound with default headers values

func (*GetModuleNotFound) Error

func (o *GetModuleNotFound) Error() string

type GetModuleOK

type GetModuleOK struct {
	Payload *models.ResourceTfModule
}

GetModuleOK handles this case with default header values.

OK

func NewGetModuleOK

func NewGetModuleOK() *GetModuleOK

NewGetModuleOK creates a GetModuleOK with default headers values

func (*GetModuleOK) Error

func (o *GetModuleOK) Error() string

type GetModuleParams

type GetModuleParams struct {

	/*ID
	  Unique identifier for this module

	*/
	ID string

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

GetModuleParams contains all the parameters to send to the API endpoint for the get module operation typically these are written to a http.Request

func NewGetModuleParams

func NewGetModuleParams() *GetModuleParams

NewGetModuleParams creates a new GetModuleParams object with the default values initialized.

func NewGetModuleParamsWithContext

func NewGetModuleParamsWithContext(ctx context.Context) *GetModuleParams

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

func NewGetModuleParamsWithHTTPClient

func NewGetModuleParamsWithHTTPClient(client *http.Client) *GetModuleParams

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

func NewGetModuleParamsWithTimeout

func NewGetModuleParamsWithTimeout(timeout time.Duration) *GetModuleParams

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

func (*GetModuleParams) SetContext

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

SetContext adds the context to the get module params

func (*GetModuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get module params

func (*GetModuleParams) SetID

func (o *GetModuleParams) SetID(id string)

SetID adds the id to the get module params

func (*GetModuleParams) SetTimeout

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

SetTimeout adds the timeout to the get module params

func (*GetModuleParams) WithContext

func (o *GetModuleParams) WithContext(ctx context.Context) *GetModuleParams

WithContext adds the context to the get module params

func (*GetModuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get module params

func (*GetModuleParams) WithID

func (o *GetModuleParams) WithID(id string) *GetModuleParams

WithID adds the id to the get module params

func (*GetModuleParams) WithTimeout

func (o *GetModuleParams) WithTimeout(timeout time.Duration) *GetModuleParams

WithTimeout adds the timeout to the get module params

func (*GetModuleParams) WriteToRequest

func (o *GetModuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetModuleReader

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

GetModuleReader is a Reader for the GetModule structure.

func (*GetModuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListModulesInternalServerError

type ListModulesInternalServerError struct {
	Payload *models.ServerError
}

ListModulesInternalServerError handles this case with default header values.

Internal Server Error

func NewListModulesInternalServerError

func NewListModulesInternalServerError() *ListModulesInternalServerError

NewListModulesInternalServerError creates a ListModulesInternalServerError with default headers values

func (*ListModulesInternalServerError) Error

type ListModulesNotFound

type ListModulesNotFound struct {
	Payload *models.ServerError
}

ListModulesNotFound handles this case with default header values.

Not Found

func NewListModulesNotFound

func NewListModulesNotFound() *ListModulesNotFound

NewListModulesNotFound creates a ListModulesNotFound with default headers values

func (*ListModulesNotFound) Error

func (o *ListModulesNotFound) Error() string

type ListModulesOK

type ListModulesOK struct {
	Payload *models.ResponseListTfModules
}

ListModulesOK handles this case with default header values.

OK

func NewListModulesOK

func NewListModulesOK() *ListModulesOK

NewListModulesOK creates a ListModulesOK with default headers values

func (*ListModulesOK) Error

func (o *ListModulesOK) Error() string

type ListModulesParams

type ListModulesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListModulesParams contains all the parameters to send to the API endpoint for the list modules operation typically these are written to a http.Request

func NewListModulesParams

func NewListModulesParams() *ListModulesParams

NewListModulesParams creates a new ListModulesParams object with the default values initialized.

func NewListModulesParamsWithContext

func NewListModulesParamsWithContext(ctx context.Context) *ListModulesParams

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

func NewListModulesParamsWithHTTPClient

func NewListModulesParamsWithHTTPClient(client *http.Client) *ListModulesParams

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

func NewListModulesParamsWithTimeout

func NewListModulesParamsWithTimeout(timeout time.Duration) *ListModulesParams

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

func (*ListModulesParams) SetContext

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

SetContext adds the context to the list modules params

func (*ListModulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list modules params

func (*ListModulesParams) SetTimeout

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

SetTimeout adds the timeout to the list modules params

func (*ListModulesParams) WithContext

func (o *ListModulesParams) WithContext(ctx context.Context) *ListModulesParams

WithContext adds the context to the list modules params

func (*ListModulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list modules params

func (*ListModulesParams) WithTimeout

func (o *ListModulesParams) WithTimeout(timeout time.Duration) *ListModulesParams

WithTimeout adds the timeout to the list modules params

func (*ListModulesParams) WriteToRequest

func (o *ListModulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListModulesReader

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

ListModulesReader is a Reader for the ListModules structure.

func (*ListModulesReader) ReadResponse

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