Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateProxyconfigInWorkspace(params *CreateProxyconfigInWorkspaceParams) (*CreateProxyconfigInWorkspaceOK, error)
- func (a *Client) DeleteProxyconfigInWorkspace(params *DeleteProxyconfigInWorkspaceParams) (*DeleteProxyconfigInWorkspaceOK, error)
- func (a *Client) GetProxyconfigInWorkspace(params *GetProxyconfigInWorkspaceParams) (*GetProxyconfigInWorkspaceOK, error)
- func (a *Client) ListProxyconfigsByWorkspace(params *ListProxyconfigsByWorkspaceParams) (*ListProxyconfigsByWorkspaceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateProxyconfigInWorkspaceOK
- type CreateProxyconfigInWorkspaceParams
- func NewCreateProxyconfigInWorkspaceParams() *CreateProxyconfigInWorkspaceParams
- func NewCreateProxyconfigInWorkspaceParamsWithContext(ctx context.Context) *CreateProxyconfigInWorkspaceParams
- func NewCreateProxyconfigInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateProxyconfigInWorkspaceParams
- func NewCreateProxyconfigInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateProxyconfigInWorkspaceParams
- func (o *CreateProxyconfigInWorkspaceParams) SetBody(body *models_cloudbreak.ProxyConfigRequest)
- func (o *CreateProxyconfigInWorkspaceParams) SetContext(ctx context.Context)
- func (o *CreateProxyconfigInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateProxyconfigInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateProxyconfigInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *CreateProxyconfigInWorkspaceParams) WithBody(body *models_cloudbreak.ProxyConfigRequest) *CreateProxyconfigInWorkspaceParams
- func (o *CreateProxyconfigInWorkspaceParams) WithContext(ctx context.Context) *CreateProxyconfigInWorkspaceParams
- func (o *CreateProxyconfigInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateProxyconfigInWorkspaceParams
- func (o *CreateProxyconfigInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateProxyconfigInWorkspaceParams
- func (o *CreateProxyconfigInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateProxyconfigInWorkspaceParams
- func (o *CreateProxyconfigInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProxyconfigInWorkspaceReader
- type DeleteProxyconfigInWorkspaceOK
- type DeleteProxyconfigInWorkspaceParams
- func NewDeleteProxyconfigInWorkspaceParams() *DeleteProxyconfigInWorkspaceParams
- func NewDeleteProxyconfigInWorkspaceParamsWithContext(ctx context.Context) *DeleteProxyconfigInWorkspaceParams
- func NewDeleteProxyconfigInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteProxyconfigInWorkspaceParams
- func NewDeleteProxyconfigInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteProxyconfigInWorkspaceParams
- func (o *DeleteProxyconfigInWorkspaceParams) SetContext(ctx context.Context)
- func (o *DeleteProxyconfigInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProxyconfigInWorkspaceParams) SetName(name string)
- func (o *DeleteProxyconfigInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProxyconfigInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *DeleteProxyconfigInWorkspaceParams) WithContext(ctx context.Context) *DeleteProxyconfigInWorkspaceParams
- func (o *DeleteProxyconfigInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteProxyconfigInWorkspaceParams
- func (o *DeleteProxyconfigInWorkspaceParams) WithName(name string) *DeleteProxyconfigInWorkspaceParams
- func (o *DeleteProxyconfigInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteProxyconfigInWorkspaceParams
- func (o *DeleteProxyconfigInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteProxyconfigInWorkspaceParams
- func (o *DeleteProxyconfigInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProxyconfigInWorkspaceReader
- type GetProxyconfigInWorkspaceOK
- type GetProxyconfigInWorkspaceParams
- func NewGetProxyconfigInWorkspaceParams() *GetProxyconfigInWorkspaceParams
- func NewGetProxyconfigInWorkspaceParamsWithContext(ctx context.Context) *GetProxyconfigInWorkspaceParams
- func NewGetProxyconfigInWorkspaceParamsWithHTTPClient(client *http.Client) *GetProxyconfigInWorkspaceParams
- func NewGetProxyconfigInWorkspaceParamsWithTimeout(timeout time.Duration) *GetProxyconfigInWorkspaceParams
- func (o *GetProxyconfigInWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetProxyconfigInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetProxyconfigInWorkspaceParams) SetName(name string)
- func (o *GetProxyconfigInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetProxyconfigInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *GetProxyconfigInWorkspaceParams) WithContext(ctx context.Context) *GetProxyconfigInWorkspaceParams
- func (o *GetProxyconfigInWorkspaceParams) WithHTTPClient(client *http.Client) *GetProxyconfigInWorkspaceParams
- func (o *GetProxyconfigInWorkspaceParams) WithName(name string) *GetProxyconfigInWorkspaceParams
- func (o *GetProxyconfigInWorkspaceParams) WithTimeout(timeout time.Duration) *GetProxyconfigInWorkspaceParams
- func (o *GetProxyconfigInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetProxyconfigInWorkspaceParams
- func (o *GetProxyconfigInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProxyconfigInWorkspaceReader
- type ListProxyconfigsByWorkspaceOK
- type ListProxyconfigsByWorkspaceParams
- func NewListProxyconfigsByWorkspaceParams() *ListProxyconfigsByWorkspaceParams
- func NewListProxyconfigsByWorkspaceParamsWithContext(ctx context.Context) *ListProxyconfigsByWorkspaceParams
- func NewListProxyconfigsByWorkspaceParamsWithHTTPClient(client *http.Client) *ListProxyconfigsByWorkspaceParams
- func NewListProxyconfigsByWorkspaceParamsWithTimeout(timeout time.Duration) *ListProxyconfigsByWorkspaceParams
- func (o *ListProxyconfigsByWorkspaceParams) SetContext(ctx context.Context)
- func (o *ListProxyconfigsByWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *ListProxyconfigsByWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *ListProxyconfigsByWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *ListProxyconfigsByWorkspaceParams) WithContext(ctx context.Context) *ListProxyconfigsByWorkspaceParams
- func (o *ListProxyconfigsByWorkspaceParams) WithHTTPClient(client *http.Client) *ListProxyconfigsByWorkspaceParams
- func (o *ListProxyconfigsByWorkspaceParams) WithTimeout(timeout time.Duration) *ListProxyconfigsByWorkspaceParams
- func (o *ListProxyconfigsByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListProxyconfigsByWorkspaceParams
- func (o *ListProxyconfigsByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProxyconfigsByWorkspaceReader
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 ¶
func (o *CreateProxyconfigInWorkspaceOK) Error() string
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 ¶
func (o *CreateProxyconfigInWorkspaceParams) SetBody(body *models_cloudbreak.ProxyConfigRequest)
SetBody adds the body to the create proxyconfig in workspace params
func (*CreateProxyconfigInWorkspaceParams) SetContext ¶
func (o *CreateProxyconfigInWorkspaceParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateProxyconfigInWorkspaceParams) WithBody(body *models_cloudbreak.ProxyConfigRequest) *CreateProxyconfigInWorkspaceParams
WithBody adds the body to the create proxyconfig in workspace params
func (*CreateProxyconfigInWorkspaceParams) WithContext ¶
func (o *CreateProxyconfigInWorkspaceParams) WithContext(ctx context.Context) *CreateProxyconfigInWorkspaceParams
WithContext adds the context to the create proxyconfig in workspace params
func (*CreateProxyconfigInWorkspaceParams) WithHTTPClient ¶
func (o *CreateProxyconfigInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateProxyconfigInWorkspaceParams
WithHTTPClient adds the HTTPClient to the create proxyconfig in workspace params
func (*CreateProxyconfigInWorkspaceParams) WithTimeout ¶
func (o *CreateProxyconfigInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateProxyconfigInWorkspaceParams
WithTimeout adds the timeout to the create proxyconfig in workspace params
func (*CreateProxyconfigInWorkspaceParams) WithWorkspaceID ¶
func (o *CreateProxyconfigInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateProxyconfigInWorkspaceParams
WithWorkspaceID adds the workspaceID to the create proxyconfig in workspace params
func (*CreateProxyconfigInWorkspaceParams) WriteToRequest ¶
func (o *CreateProxyconfigInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteProxyconfigInWorkspaceOK) Error() string
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 ¶
func (o *DeleteProxyconfigInWorkspaceParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteProxyconfigInWorkspaceParams) WithContext(ctx context.Context) *DeleteProxyconfigInWorkspaceParams
WithContext adds the context to the delete proxyconfig in workspace params
func (*DeleteProxyconfigInWorkspaceParams) WithHTTPClient ¶
func (o *DeleteProxyconfigInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteProxyconfigInWorkspaceParams
WithHTTPClient adds the HTTPClient to the delete proxyconfig in workspace params
func (*DeleteProxyconfigInWorkspaceParams) WithName ¶
func (o *DeleteProxyconfigInWorkspaceParams) WithName(name string) *DeleteProxyconfigInWorkspaceParams
WithName adds the name to the delete proxyconfig in workspace params
func (*DeleteProxyconfigInWorkspaceParams) WithTimeout ¶
func (o *DeleteProxyconfigInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteProxyconfigInWorkspaceParams
WithTimeout adds the timeout to the delete proxyconfig in workspace params
func (*DeleteProxyconfigInWorkspaceParams) WithWorkspaceID ¶
func (o *DeleteProxyconfigInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteProxyconfigInWorkspaceParams
WithWorkspaceID adds the workspaceID to the delete proxyconfig in workspace params
func (*DeleteProxyconfigInWorkspaceParams) WriteToRequest ¶
func (o *DeleteProxyconfigInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetProxyconfigInWorkspaceOK) Error() string
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 ¶
func (o *GetProxyconfigInWorkspaceParams) WithContext(ctx context.Context) *GetProxyconfigInWorkspaceParams
WithContext adds the context to the get proxyconfig in workspace params
func (*GetProxyconfigInWorkspaceParams) WithHTTPClient ¶
func (o *GetProxyconfigInWorkspaceParams) WithHTTPClient(client *http.Client) *GetProxyconfigInWorkspaceParams
WithHTTPClient adds the HTTPClient to the get proxyconfig in workspace params
func (*GetProxyconfigInWorkspaceParams) WithName ¶
func (o *GetProxyconfigInWorkspaceParams) WithName(name string) *GetProxyconfigInWorkspaceParams
WithName adds the name to the get proxyconfig in workspace params
func (*GetProxyconfigInWorkspaceParams) WithTimeout ¶
func (o *GetProxyconfigInWorkspaceParams) WithTimeout(timeout time.Duration) *GetProxyconfigInWorkspaceParams
WithTimeout adds the timeout to the get proxyconfig in workspace params
func (*GetProxyconfigInWorkspaceParams) WithWorkspaceID ¶
func (o *GetProxyconfigInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetProxyconfigInWorkspaceParams
WithWorkspaceID adds the workspaceID to the get proxyconfig in workspace params
func (*GetProxyconfigInWorkspaceParams) WriteToRequest ¶
func (o *GetProxyconfigInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListProxyconfigsByWorkspaceOK) Error() string
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 ¶
func (o *ListProxyconfigsByWorkspaceParams) SetContext(ctx context.Context)
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 ¶
func (o *ListProxyconfigsByWorkspaceParams) WithContext(ctx context.Context) *ListProxyconfigsByWorkspaceParams
WithContext adds the context to the list proxyconfigs by workspace params
func (*ListProxyconfigsByWorkspaceParams) WithHTTPClient ¶
func (o *ListProxyconfigsByWorkspaceParams) WithHTTPClient(client *http.Client) *ListProxyconfigsByWorkspaceParams
WithHTTPClient adds the HTTPClient to the list proxyconfigs by workspace params
func (*ListProxyconfigsByWorkspaceParams) WithTimeout ¶
func (o *ListProxyconfigsByWorkspaceParams) WithTimeout(timeout time.Duration) *ListProxyconfigsByWorkspaceParams
WithTimeout adds the timeout to the list proxyconfigs by workspace params
func (*ListProxyconfigsByWorkspaceParams) WithWorkspaceID ¶
func (o *ListProxyconfigsByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListProxyconfigsByWorkspaceParams
WithWorkspaceID adds the workspaceID to the list proxyconfigs by workspace params
func (*ListProxyconfigsByWorkspaceParams) WriteToRequest ¶
func (o *ListProxyconfigsByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_proxyconfig_in_workspace_parameters.go
- create_proxyconfig_in_workspace_responses.go
- delete_proxyconfig_in_workspace_parameters.go
- delete_proxyconfig_in_workspace_responses.go
- get_proxyconfig_in_workspace_parameters.go
- get_proxyconfig_in_workspace_responses.go
- list_proxyconfigs_by_workspace_parameters.go
- list_proxyconfigs_by_workspace_responses.go
- v3_workspace_id_proxyconfigs_client.go