v3_workspace_id_proxyconfigs

package
v2.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 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 v3 workspace id proxyconfigs API

func New

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

New creates a new v3 workspace id proxyconfigs API client.

func (*Client) CreateProxyconfigInWorkspace

func (a *Client) CreateProxyconfigInWorkspace(params *CreateProxyconfigInWorkspaceParams) (*CreateProxyconfigInWorkspaceOK, error)

CreateProxyconfigInWorkspace creates proxy configuration in workspace

An proxy Configuration describe a connection to an external proxy server which provides internet access cluster members. It's applied for package manager and Ambari too

func (*Client) DeleteProxyconfigInWorkspace

func (a *Client) DeleteProxyconfigInWorkspace(params *DeleteProxyconfigInWorkspaceParams) (*DeleteProxyconfigInWorkspaceOK, error)

DeleteProxyconfigInWorkspace deletes proxy configuration by name in workspace

An proxy Configuration describe a connection to an external proxy server which provides internet access cluster members. It's applied for package manager and Ambari too

func (*Client) GetProxyconfigInWorkspace

func (a *Client) GetProxyconfigInWorkspace(params *GetProxyconfigInWorkspaceParams) (*GetProxyconfigInWorkspaceOK, error)

GetProxyconfigInWorkspace gets proxy configuration by name in workspace

An proxy Configuration describe a connection to an external proxy server which provides internet access cluster members. It's applied for package manager and Ambari too

func (*Client) ListProxyconfigsByWorkspace

func (a *Client) ListProxyconfigsByWorkspace(params *ListProxyconfigsByWorkspaceParams) (*ListProxyconfigsByWorkspaceOK, error)

ListProxyconfigsByWorkspace lists proxy configurations for the given workspace

An proxy Configuration describe a connection to an external proxy server which provides internet access cluster members. It's applied for package manager and Ambari too

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateProxyconfigInWorkspaceOK

type CreateProxyconfigInWorkspaceOK struct {
	Payload *models_cloudbreak.ProxyConfigResponse
}

CreateProxyconfigInWorkspaceOK handles this case with default header values.

successful operation

func NewCreateProxyconfigInWorkspaceOK

func NewCreateProxyconfigInWorkspaceOK() *CreateProxyconfigInWorkspaceOK

NewCreateProxyconfigInWorkspaceOK creates a CreateProxyconfigInWorkspaceOK with default headers values

func (*CreateProxyconfigInWorkspaceOK) Error

type CreateProxyconfigInWorkspaceParams

type CreateProxyconfigInWorkspaceParams struct {

	/*Body*/
	Body *models_cloudbreak.ProxyConfigRequest
	/*WorkspaceID*/
	WorkspaceID int64

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

CreateProxyconfigInWorkspaceParams contains all the parameters to send to the API endpoint for the create proxyconfig in workspace operation typically these are written to a http.Request

func NewCreateProxyconfigInWorkspaceParams

func NewCreateProxyconfigInWorkspaceParams() *CreateProxyconfigInWorkspaceParams

NewCreateProxyconfigInWorkspaceParams creates a new CreateProxyconfigInWorkspaceParams object with the default values initialized.

func NewCreateProxyconfigInWorkspaceParamsWithContext

func NewCreateProxyconfigInWorkspaceParamsWithContext(ctx context.Context) *CreateProxyconfigInWorkspaceParams

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

func NewCreateProxyconfigInWorkspaceParamsWithHTTPClient

func NewCreateProxyconfigInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateProxyconfigInWorkspaceParams

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

func NewCreateProxyconfigInWorkspaceParamsWithTimeout

func NewCreateProxyconfigInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateProxyconfigInWorkspaceParams

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

func (*CreateProxyconfigInWorkspaceParams) SetBody

SetBody adds the body to the create proxyconfig in workspace params

func (*CreateProxyconfigInWorkspaceParams) SetContext

SetContext adds the context to the create proxyconfig in workspace params

func (*CreateProxyconfigInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create proxyconfig in workspace params

func (*CreateProxyconfigInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the create proxyconfig in workspace params

func (*CreateProxyconfigInWorkspaceParams) SetWorkspaceID

func (o *CreateProxyconfigInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the create proxyconfig in workspace params

func (*CreateProxyconfigInWorkspaceParams) WithBody

WithBody adds the body to the create proxyconfig in workspace params

func (*CreateProxyconfigInWorkspaceParams) WithContext

WithContext adds the context to the create proxyconfig in workspace params

func (*CreateProxyconfigInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create proxyconfig in workspace params

func (*CreateProxyconfigInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the create proxyconfig in workspace params

func (*CreateProxyconfigInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the create proxyconfig in workspace params

func (*CreateProxyconfigInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateProxyconfigInWorkspaceReader

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

CreateProxyconfigInWorkspaceReader is a Reader for the CreateProxyconfigInWorkspace structure.

func (*CreateProxyconfigInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteProxyconfigInWorkspaceOK

type DeleteProxyconfigInWorkspaceOK struct {
	Payload *models_cloudbreak.ProxyConfigResponse
}

DeleteProxyconfigInWorkspaceOK handles this case with default header values.

successful operation

func NewDeleteProxyconfigInWorkspaceOK

func NewDeleteProxyconfigInWorkspaceOK() *DeleteProxyconfigInWorkspaceOK

NewDeleteProxyconfigInWorkspaceOK creates a DeleteProxyconfigInWorkspaceOK with default headers values

func (*DeleteProxyconfigInWorkspaceOK) Error

type DeleteProxyconfigInWorkspaceParams

type DeleteProxyconfigInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

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

DeleteProxyconfigInWorkspaceParams contains all the parameters to send to the API endpoint for the delete proxyconfig in workspace operation typically these are written to a http.Request

func NewDeleteProxyconfigInWorkspaceParams

func NewDeleteProxyconfigInWorkspaceParams() *DeleteProxyconfigInWorkspaceParams

NewDeleteProxyconfigInWorkspaceParams creates a new DeleteProxyconfigInWorkspaceParams object with the default values initialized.

func NewDeleteProxyconfigInWorkspaceParamsWithContext

func NewDeleteProxyconfigInWorkspaceParamsWithContext(ctx context.Context) *DeleteProxyconfigInWorkspaceParams

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

func NewDeleteProxyconfigInWorkspaceParamsWithHTTPClient

func NewDeleteProxyconfigInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteProxyconfigInWorkspaceParams

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

func NewDeleteProxyconfigInWorkspaceParamsWithTimeout

func NewDeleteProxyconfigInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteProxyconfigInWorkspaceParams

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

func (*DeleteProxyconfigInWorkspaceParams) SetContext

SetContext adds the context to the delete proxyconfig in workspace params

func (*DeleteProxyconfigInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete proxyconfig in workspace params

func (*DeleteProxyconfigInWorkspaceParams) SetName

func (o *DeleteProxyconfigInWorkspaceParams) SetName(name string)

SetName adds the name to the delete proxyconfig in workspace params

func (*DeleteProxyconfigInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete proxyconfig in workspace params

func (*DeleteProxyconfigInWorkspaceParams) SetWorkspaceID

func (o *DeleteProxyconfigInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the delete proxyconfig in workspace params

func (*DeleteProxyconfigInWorkspaceParams) WithContext

WithContext adds the context to the delete proxyconfig in workspace params

func (*DeleteProxyconfigInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete proxyconfig in workspace params

func (*DeleteProxyconfigInWorkspaceParams) WithName

WithName adds the name to the delete proxyconfig in workspace params

func (*DeleteProxyconfigInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the delete proxyconfig in workspace params

func (*DeleteProxyconfigInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the delete proxyconfig in workspace params

func (*DeleteProxyconfigInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProxyconfigInWorkspaceReader

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

DeleteProxyconfigInWorkspaceReader is a Reader for the DeleteProxyconfigInWorkspace structure.

func (*DeleteProxyconfigInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProxyconfigInWorkspaceOK

type GetProxyconfigInWorkspaceOK struct {
	Payload *models_cloudbreak.ProxyConfigResponse
}

GetProxyconfigInWorkspaceOK handles this case with default header values.

successful operation

func NewGetProxyconfigInWorkspaceOK

func NewGetProxyconfigInWorkspaceOK() *GetProxyconfigInWorkspaceOK

NewGetProxyconfigInWorkspaceOK creates a GetProxyconfigInWorkspaceOK with default headers values

func (*GetProxyconfigInWorkspaceOK) Error

type GetProxyconfigInWorkspaceParams

type GetProxyconfigInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

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

GetProxyconfigInWorkspaceParams contains all the parameters to send to the API endpoint for the get proxyconfig in workspace operation typically these are written to a http.Request

func NewGetProxyconfigInWorkspaceParams

func NewGetProxyconfigInWorkspaceParams() *GetProxyconfigInWorkspaceParams

NewGetProxyconfigInWorkspaceParams creates a new GetProxyconfigInWorkspaceParams object with the default values initialized.

func NewGetProxyconfigInWorkspaceParamsWithContext

func NewGetProxyconfigInWorkspaceParamsWithContext(ctx context.Context) *GetProxyconfigInWorkspaceParams

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

func NewGetProxyconfigInWorkspaceParamsWithHTTPClient

func NewGetProxyconfigInWorkspaceParamsWithHTTPClient(client *http.Client) *GetProxyconfigInWorkspaceParams

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

func NewGetProxyconfigInWorkspaceParamsWithTimeout

func NewGetProxyconfigInWorkspaceParamsWithTimeout(timeout time.Duration) *GetProxyconfigInWorkspaceParams

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

func (*GetProxyconfigInWorkspaceParams) SetContext

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

SetContext adds the context to the get proxyconfig in workspace params

func (*GetProxyconfigInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get proxyconfig in workspace params

func (*GetProxyconfigInWorkspaceParams) SetName

func (o *GetProxyconfigInWorkspaceParams) SetName(name string)

SetName adds the name to the get proxyconfig in workspace params

func (*GetProxyconfigInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the get proxyconfig in workspace params

func (*GetProxyconfigInWorkspaceParams) SetWorkspaceID

func (o *GetProxyconfigInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get proxyconfig in workspace params

func (*GetProxyconfigInWorkspaceParams) WithContext

WithContext adds the context to the get proxyconfig in workspace params

func (*GetProxyconfigInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get proxyconfig in workspace params

func (*GetProxyconfigInWorkspaceParams) WithName

WithName adds the name to the get proxyconfig in workspace params

func (*GetProxyconfigInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get proxyconfig in workspace params

func (*GetProxyconfigInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get proxyconfig in workspace params

func (*GetProxyconfigInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProxyconfigInWorkspaceReader

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

GetProxyconfigInWorkspaceReader is a Reader for the GetProxyconfigInWorkspace structure.

func (*GetProxyconfigInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListProxyconfigsByWorkspaceOK

type ListProxyconfigsByWorkspaceOK struct {
	Payload []*models_cloudbreak.ProxyConfigResponse
}

ListProxyconfigsByWorkspaceOK handles this case with default header values.

successful operation

func NewListProxyconfigsByWorkspaceOK

func NewListProxyconfigsByWorkspaceOK() *ListProxyconfigsByWorkspaceOK

NewListProxyconfigsByWorkspaceOK creates a ListProxyconfigsByWorkspaceOK with default headers values

func (*ListProxyconfigsByWorkspaceOK) Error

type ListProxyconfigsByWorkspaceParams

type ListProxyconfigsByWorkspaceParams struct {

	/*WorkspaceID*/
	WorkspaceID int64

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

ListProxyconfigsByWorkspaceParams contains all the parameters to send to the API endpoint for the list proxyconfigs by workspace operation typically these are written to a http.Request

func NewListProxyconfigsByWorkspaceParams

func NewListProxyconfigsByWorkspaceParams() *ListProxyconfigsByWorkspaceParams

NewListProxyconfigsByWorkspaceParams creates a new ListProxyconfigsByWorkspaceParams object with the default values initialized.

func NewListProxyconfigsByWorkspaceParamsWithContext

func NewListProxyconfigsByWorkspaceParamsWithContext(ctx context.Context) *ListProxyconfigsByWorkspaceParams

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

func NewListProxyconfigsByWorkspaceParamsWithHTTPClient

func NewListProxyconfigsByWorkspaceParamsWithHTTPClient(client *http.Client) *ListProxyconfigsByWorkspaceParams

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

func NewListProxyconfigsByWorkspaceParamsWithTimeout

func NewListProxyconfigsByWorkspaceParamsWithTimeout(timeout time.Duration) *ListProxyconfigsByWorkspaceParams

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

func (*ListProxyconfigsByWorkspaceParams) SetContext

SetContext adds the context to the list proxyconfigs by workspace params

func (*ListProxyconfigsByWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list proxyconfigs by workspace params

func (*ListProxyconfigsByWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the list proxyconfigs by workspace params

func (*ListProxyconfigsByWorkspaceParams) SetWorkspaceID

func (o *ListProxyconfigsByWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the list proxyconfigs by workspace params

func (*ListProxyconfigsByWorkspaceParams) WithContext

WithContext adds the context to the list proxyconfigs by workspace params

func (*ListProxyconfigsByWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list proxyconfigs by workspace params

func (*ListProxyconfigsByWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the list proxyconfigs by workspace params

func (*ListProxyconfigsByWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the list proxyconfigs by workspace params

func (*ListProxyconfigsByWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProxyconfigsByWorkspaceReader

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

ListProxyconfigsByWorkspaceReader is a Reader for the ListProxyconfigsByWorkspace structure.

func (*ListProxyconfigsByWorkspaceReader) ReadResponse

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