Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteNetwork(params *DeleteNetworkParams) error
- func (a *Client) DeletePrivateNetwork(params *DeletePrivateNetworkParams) error
- func (a *Client) DeletePublicNetwork(params *DeletePublicNetworkParams) error
- func (a *Client) GetNetwork(params *GetNetworkParams) (*GetNetworkOK, error)
- func (a *Client) GetPrivateNetwork(params *GetPrivateNetworkParams) (*GetPrivateNetworkOK, error)
- func (a *Client) GetPrivatesNetwork(params *GetPrivatesNetworkParams) (*GetPrivatesNetworkOK, error)
- func (a *Client) GetPublicNetwork(params *GetPublicNetworkParams) (*GetPublicNetworkOK, error)
- func (a *Client) GetPublicsNetwork(params *GetPublicsNetworkParams) (*GetPublicsNetworkOK, error)
- func (a *Client) PostPrivateNetwork(params *PostPrivateNetworkParams) (*PostPrivateNetworkOK, error)
- func (a *Client) PostPublicNetwork(params *PostPublicNetworkParams) (*PostPublicNetworkOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteNetworkDefault
- type DeleteNetworkParams
- func (o *DeleteNetworkParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkParams) SetID(id int64)
- func (o *DeleteNetworkParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkParams) WithContext(ctx context.Context) *DeleteNetworkParams
- func (o *DeleteNetworkParams) WithHTTPClient(client *http.Client) *DeleteNetworkParams
- func (o *DeleteNetworkParams) WithID(id int64) *DeleteNetworkParams
- func (o *DeleteNetworkParams) WithTimeout(timeout time.Duration) *DeleteNetworkParams
- func (o *DeleteNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkReader
- type DeletePrivateNetworkDefault
- type DeletePrivateNetworkParams
- func NewDeletePrivateNetworkParams() *DeletePrivateNetworkParams
- func NewDeletePrivateNetworkParamsWithContext(ctx context.Context) *DeletePrivateNetworkParams
- func NewDeletePrivateNetworkParamsWithHTTPClient(client *http.Client) *DeletePrivateNetworkParams
- func NewDeletePrivateNetworkParamsWithTimeout(timeout time.Duration) *DeletePrivateNetworkParams
- func (o *DeletePrivateNetworkParams) SetContext(ctx context.Context)
- func (o *DeletePrivateNetworkParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrivateNetworkParams) SetName(name string)
- func (o *DeletePrivateNetworkParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrivateNetworkParams) WithContext(ctx context.Context) *DeletePrivateNetworkParams
- func (o *DeletePrivateNetworkParams) WithHTTPClient(client *http.Client) *DeletePrivateNetworkParams
- func (o *DeletePrivateNetworkParams) WithName(name string) *DeletePrivateNetworkParams
- func (o *DeletePrivateNetworkParams) WithTimeout(timeout time.Duration) *DeletePrivateNetworkParams
- func (o *DeletePrivateNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrivateNetworkReader
- type DeletePublicNetworkDefault
- type DeletePublicNetworkParams
- func NewDeletePublicNetworkParams() *DeletePublicNetworkParams
- func NewDeletePublicNetworkParamsWithContext(ctx context.Context) *DeletePublicNetworkParams
- func NewDeletePublicNetworkParamsWithHTTPClient(client *http.Client) *DeletePublicNetworkParams
- func NewDeletePublicNetworkParamsWithTimeout(timeout time.Duration) *DeletePublicNetworkParams
- func (o *DeletePublicNetworkParams) SetContext(ctx context.Context)
- func (o *DeletePublicNetworkParams) SetHTTPClient(client *http.Client)
- func (o *DeletePublicNetworkParams) SetName(name string)
- func (o *DeletePublicNetworkParams) SetTimeout(timeout time.Duration)
- func (o *DeletePublicNetworkParams) WithContext(ctx context.Context) *DeletePublicNetworkParams
- func (o *DeletePublicNetworkParams) WithHTTPClient(client *http.Client) *DeletePublicNetworkParams
- func (o *DeletePublicNetworkParams) WithName(name string) *DeletePublicNetworkParams
- func (o *DeletePublicNetworkParams) WithTimeout(timeout time.Duration) *DeletePublicNetworkParams
- func (o *DeletePublicNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePublicNetworkReader
- type GetNetworkOK
- type GetNetworkParams
- func (o *GetNetworkParams) SetContext(ctx context.Context)
- func (o *GetNetworkParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkParams) SetID(id int64)
- func (o *GetNetworkParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkParams) WithContext(ctx context.Context) *GetNetworkParams
- func (o *GetNetworkParams) WithHTTPClient(client *http.Client) *GetNetworkParams
- func (o *GetNetworkParams) WithID(id int64) *GetNetworkParams
- func (o *GetNetworkParams) WithTimeout(timeout time.Duration) *GetNetworkParams
- func (o *GetNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkReader
- type GetPrivateNetworkOK
- type GetPrivateNetworkParams
- func NewGetPrivateNetworkParams() *GetPrivateNetworkParams
- func NewGetPrivateNetworkParamsWithContext(ctx context.Context) *GetPrivateNetworkParams
- func NewGetPrivateNetworkParamsWithHTTPClient(client *http.Client) *GetPrivateNetworkParams
- func NewGetPrivateNetworkParamsWithTimeout(timeout time.Duration) *GetPrivateNetworkParams
- func (o *GetPrivateNetworkParams) SetContext(ctx context.Context)
- func (o *GetPrivateNetworkParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateNetworkParams) SetName(name string)
- func (o *GetPrivateNetworkParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateNetworkParams) WithContext(ctx context.Context) *GetPrivateNetworkParams
- func (o *GetPrivateNetworkParams) WithHTTPClient(client *http.Client) *GetPrivateNetworkParams
- func (o *GetPrivateNetworkParams) WithName(name string) *GetPrivateNetworkParams
- func (o *GetPrivateNetworkParams) WithTimeout(timeout time.Duration) *GetPrivateNetworkParams
- func (o *GetPrivateNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateNetworkReader
- type GetPrivatesNetworkOK
- type GetPrivatesNetworkParams
- func NewGetPrivatesNetworkParams() *GetPrivatesNetworkParams
- func NewGetPrivatesNetworkParamsWithContext(ctx context.Context) *GetPrivatesNetworkParams
- func NewGetPrivatesNetworkParamsWithHTTPClient(client *http.Client) *GetPrivatesNetworkParams
- func NewGetPrivatesNetworkParamsWithTimeout(timeout time.Duration) *GetPrivatesNetworkParams
- func (o *GetPrivatesNetworkParams) SetContext(ctx context.Context)
- func (o *GetPrivatesNetworkParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivatesNetworkParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivatesNetworkParams) WithContext(ctx context.Context) *GetPrivatesNetworkParams
- func (o *GetPrivatesNetworkParams) WithHTTPClient(client *http.Client) *GetPrivatesNetworkParams
- func (o *GetPrivatesNetworkParams) WithTimeout(timeout time.Duration) *GetPrivatesNetworkParams
- func (o *GetPrivatesNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivatesNetworkReader
- type GetPublicNetworkOK
- type GetPublicNetworkParams
- func NewGetPublicNetworkParams() *GetPublicNetworkParams
- func NewGetPublicNetworkParamsWithContext(ctx context.Context) *GetPublicNetworkParams
- func NewGetPublicNetworkParamsWithHTTPClient(client *http.Client) *GetPublicNetworkParams
- func NewGetPublicNetworkParamsWithTimeout(timeout time.Duration) *GetPublicNetworkParams
- func (o *GetPublicNetworkParams) SetContext(ctx context.Context)
- func (o *GetPublicNetworkParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicNetworkParams) SetName(name string)
- func (o *GetPublicNetworkParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicNetworkParams) WithContext(ctx context.Context) *GetPublicNetworkParams
- func (o *GetPublicNetworkParams) WithHTTPClient(client *http.Client) *GetPublicNetworkParams
- func (o *GetPublicNetworkParams) WithName(name string) *GetPublicNetworkParams
- func (o *GetPublicNetworkParams) WithTimeout(timeout time.Duration) *GetPublicNetworkParams
- func (o *GetPublicNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicNetworkReader
- type GetPublicsNetworkOK
- type GetPublicsNetworkParams
- func NewGetPublicsNetworkParams() *GetPublicsNetworkParams
- func NewGetPublicsNetworkParamsWithContext(ctx context.Context) *GetPublicsNetworkParams
- func NewGetPublicsNetworkParamsWithHTTPClient(client *http.Client) *GetPublicsNetworkParams
- func NewGetPublicsNetworkParamsWithTimeout(timeout time.Duration) *GetPublicsNetworkParams
- func (o *GetPublicsNetworkParams) SetContext(ctx context.Context)
- func (o *GetPublicsNetworkParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicsNetworkParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicsNetworkParams) WithContext(ctx context.Context) *GetPublicsNetworkParams
- func (o *GetPublicsNetworkParams) WithHTTPClient(client *http.Client) *GetPublicsNetworkParams
- func (o *GetPublicsNetworkParams) WithTimeout(timeout time.Duration) *GetPublicsNetworkParams
- func (o *GetPublicsNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicsNetworkReader
- type PostPrivateNetworkOK
- type PostPrivateNetworkParams
- func NewPostPrivateNetworkParams() *PostPrivateNetworkParams
- func NewPostPrivateNetworkParamsWithContext(ctx context.Context) *PostPrivateNetworkParams
- func NewPostPrivateNetworkParamsWithHTTPClient(client *http.Client) *PostPrivateNetworkParams
- func NewPostPrivateNetworkParamsWithTimeout(timeout time.Duration) *PostPrivateNetworkParams
- func (o *PostPrivateNetworkParams) SetBody(body *models_cloudbreak.NetworkRequest)
- func (o *PostPrivateNetworkParams) SetContext(ctx context.Context)
- func (o *PostPrivateNetworkParams) SetHTTPClient(client *http.Client)
- func (o *PostPrivateNetworkParams) SetTimeout(timeout time.Duration)
- func (o *PostPrivateNetworkParams) WithBody(body *models_cloudbreak.NetworkRequest) *PostPrivateNetworkParams
- func (o *PostPrivateNetworkParams) WithContext(ctx context.Context) *PostPrivateNetworkParams
- func (o *PostPrivateNetworkParams) WithHTTPClient(client *http.Client) *PostPrivateNetworkParams
- func (o *PostPrivateNetworkParams) WithTimeout(timeout time.Duration) *PostPrivateNetworkParams
- func (o *PostPrivateNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPrivateNetworkReader
- type PostPublicNetworkOK
- type PostPublicNetworkParams
- func NewPostPublicNetworkParams() *PostPublicNetworkParams
- func NewPostPublicNetworkParamsWithContext(ctx context.Context) *PostPublicNetworkParams
- func NewPostPublicNetworkParamsWithHTTPClient(client *http.Client) *PostPublicNetworkParams
- func NewPostPublicNetworkParamsWithTimeout(timeout time.Duration) *PostPublicNetworkParams
- func (o *PostPublicNetworkParams) SetBody(body *models_cloudbreak.NetworkRequest)
- func (o *PostPublicNetworkParams) SetContext(ctx context.Context)
- func (o *PostPublicNetworkParams) SetHTTPClient(client *http.Client)
- func (o *PostPublicNetworkParams) SetTimeout(timeout time.Duration)
- func (o *PostPublicNetworkParams) WithBody(body *models_cloudbreak.NetworkRequest) *PostPublicNetworkParams
- func (o *PostPublicNetworkParams) WithContext(ctx context.Context) *PostPublicNetworkParams
- func (o *PostPublicNetworkParams) WithHTTPClient(client *http.Client) *PostPublicNetworkParams
- func (o *PostPublicNetworkParams) WithTimeout(timeout time.Duration) *PostPublicNetworkParams
- func (o *PostPublicNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPublicNetworkReader
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 v1networks API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1networks API client.
func (*Client) DeleteNetwork ¶
func (a *Client) DeleteNetwork(params *DeleteNetworkParams) error
DeleteNetwork deletes network by id
Provider specific network settings could be configured by using Network resources.
func (*Client) DeletePrivateNetwork ¶
func (a *Client) DeletePrivateNetwork(params *DeletePrivateNetworkParams) error
DeletePrivateNetwork deletes private network by name
Provider specific network settings could be configured by using Network resources.
func (*Client) DeletePublicNetwork ¶
func (a *Client) DeletePublicNetwork(params *DeletePublicNetworkParams) error
DeletePublicNetwork deletes public owned or private network by name
Provider specific network settings could be configured by using Network resources.
func (*Client) GetNetwork ¶
func (a *Client) GetNetwork(params *GetNetworkParams) (*GetNetworkOK, error)
GetNetwork retrieves network by id
Provider specific network settings could be configured by using Network resources.
func (*Client) GetPrivateNetwork ¶
func (a *Client) GetPrivateNetwork(params *GetPrivateNetworkParams) (*GetPrivateNetworkOK, error)
GetPrivateNetwork retrieves a private network by name
Provider specific network settings could be configured by using Network resources.
func (*Client) GetPrivatesNetwork ¶
func (a *Client) GetPrivatesNetwork(params *GetPrivatesNetworkParams) (*GetPrivatesNetworkOK, error)
GetPrivatesNetwork retrieves private networks
Provider specific network settings could be configured by using Network resources.
func (*Client) GetPublicNetwork ¶
func (a *Client) GetPublicNetwork(params *GetPublicNetworkParams) (*GetPublicNetworkOK, error)
GetPublicNetwork retrieves a public or private owned network by name
Provider specific network settings could be configured by using Network resources.
func (*Client) GetPublicsNetwork ¶
func (a *Client) GetPublicsNetwork(params *GetPublicsNetworkParams) (*GetPublicsNetworkOK, error)
GetPublicsNetwork retrieves public and private owned networks
Provider specific network settings could be configured by using Network resources.
func (*Client) PostPrivateNetwork ¶
func (a *Client) PostPrivateNetwork(params *PostPrivateNetworkParams) (*PostPrivateNetworkOK, error)
PostPrivateNetwork creates network as private resource
Provider specific network settings could be configured by using Network resources.
func (*Client) PostPublicNetwork ¶
func (a *Client) PostPublicNetwork(params *PostPublicNetworkParams) (*PostPublicNetworkOK, error)
PostPublicNetwork creates network as public resource
Provider specific network settings could be configured by using Network resources.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteNetworkDefault ¶
type DeleteNetworkDefault struct {
// contains filtered or unexported fields
}
DeleteNetworkDefault handles this case with default header values.
successful operation
func NewDeleteNetworkDefault ¶
func NewDeleteNetworkDefault(code int) *DeleteNetworkDefault
NewDeleteNetworkDefault creates a DeleteNetworkDefault with default headers values
func (*DeleteNetworkDefault) Code ¶
func (o *DeleteNetworkDefault) Code() int
Code gets the status code for the delete network default response
func (*DeleteNetworkDefault) Error ¶
func (o *DeleteNetworkDefault) Error() string
type DeleteNetworkParams ¶
type DeleteNetworkParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkParams contains all the parameters to send to the API endpoint for the delete network operation typically these are written to a http.Request
func NewDeleteNetworkParams ¶
func NewDeleteNetworkParams() *DeleteNetworkParams
NewDeleteNetworkParams creates a new DeleteNetworkParams object with the default values initialized.
func NewDeleteNetworkParamsWithContext ¶
func NewDeleteNetworkParamsWithContext(ctx context.Context) *DeleteNetworkParams
NewDeleteNetworkParamsWithContext creates a new DeleteNetworkParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteNetworkParamsWithHTTPClient ¶
func NewDeleteNetworkParamsWithHTTPClient(client *http.Client) *DeleteNetworkParams
NewDeleteNetworkParamsWithHTTPClient creates a new DeleteNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteNetworkParamsWithTimeout ¶
func NewDeleteNetworkParamsWithTimeout(timeout time.Duration) *DeleteNetworkParams
NewDeleteNetworkParamsWithTimeout creates a new DeleteNetworkParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteNetworkParams) SetContext ¶
func (o *DeleteNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network params
func (*DeleteNetworkParams) SetHTTPClient ¶
func (o *DeleteNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete network params
func (*DeleteNetworkParams) SetID ¶
func (o *DeleteNetworkParams) SetID(id int64)
SetID adds the id to the delete network params
func (*DeleteNetworkParams) SetTimeout ¶
func (o *DeleteNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network params
func (*DeleteNetworkParams) WithContext ¶
func (o *DeleteNetworkParams) WithContext(ctx context.Context) *DeleteNetworkParams
WithContext adds the context to the delete network params
func (*DeleteNetworkParams) WithHTTPClient ¶
func (o *DeleteNetworkParams) WithHTTPClient(client *http.Client) *DeleteNetworkParams
WithHTTPClient adds the HTTPClient to the delete network params
func (*DeleteNetworkParams) WithID ¶
func (o *DeleteNetworkParams) WithID(id int64) *DeleteNetworkParams
WithID adds the id to the delete network params
func (*DeleteNetworkParams) WithTimeout ¶
func (o *DeleteNetworkParams) WithTimeout(timeout time.Duration) *DeleteNetworkParams
WithTimeout adds the timeout to the delete network params
func (*DeleteNetworkParams) WriteToRequest ¶
func (o *DeleteNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkReader ¶
type DeleteNetworkReader struct {
// contains filtered or unexported fields
}
DeleteNetworkReader is a Reader for the DeleteNetwork structure.
func (*DeleteNetworkReader) ReadResponse ¶
func (o *DeleteNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePrivateNetworkDefault ¶
type DeletePrivateNetworkDefault struct {
// contains filtered or unexported fields
}
DeletePrivateNetworkDefault handles this case with default header values.
successful operation
func NewDeletePrivateNetworkDefault ¶
func NewDeletePrivateNetworkDefault(code int) *DeletePrivateNetworkDefault
NewDeletePrivateNetworkDefault creates a DeletePrivateNetworkDefault with default headers values
func (*DeletePrivateNetworkDefault) Code ¶
func (o *DeletePrivateNetworkDefault) Code() int
Code gets the status code for the delete private network default response
func (*DeletePrivateNetworkDefault) Error ¶
func (o *DeletePrivateNetworkDefault) Error() string
type DeletePrivateNetworkParams ¶
type DeletePrivateNetworkParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePrivateNetworkParams contains all the parameters to send to the API endpoint for the delete private network operation typically these are written to a http.Request
func NewDeletePrivateNetworkParams ¶
func NewDeletePrivateNetworkParams() *DeletePrivateNetworkParams
NewDeletePrivateNetworkParams creates a new DeletePrivateNetworkParams object with the default values initialized.
func NewDeletePrivateNetworkParamsWithContext ¶
func NewDeletePrivateNetworkParamsWithContext(ctx context.Context) *DeletePrivateNetworkParams
NewDeletePrivateNetworkParamsWithContext creates a new DeletePrivateNetworkParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePrivateNetworkParamsWithHTTPClient ¶
func NewDeletePrivateNetworkParamsWithHTTPClient(client *http.Client) *DeletePrivateNetworkParams
NewDeletePrivateNetworkParamsWithHTTPClient creates a new DeletePrivateNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePrivateNetworkParamsWithTimeout ¶
func NewDeletePrivateNetworkParamsWithTimeout(timeout time.Duration) *DeletePrivateNetworkParams
NewDeletePrivateNetworkParamsWithTimeout creates a new DeletePrivateNetworkParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePrivateNetworkParams) SetContext ¶
func (o *DeletePrivateNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the delete private network params
func (*DeletePrivateNetworkParams) SetHTTPClient ¶
func (o *DeletePrivateNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete private network params
func (*DeletePrivateNetworkParams) SetName ¶
func (o *DeletePrivateNetworkParams) SetName(name string)
SetName adds the name to the delete private network params
func (*DeletePrivateNetworkParams) SetTimeout ¶
func (o *DeletePrivateNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete private network params
func (*DeletePrivateNetworkParams) WithContext ¶
func (o *DeletePrivateNetworkParams) WithContext(ctx context.Context) *DeletePrivateNetworkParams
WithContext adds the context to the delete private network params
func (*DeletePrivateNetworkParams) WithHTTPClient ¶
func (o *DeletePrivateNetworkParams) WithHTTPClient(client *http.Client) *DeletePrivateNetworkParams
WithHTTPClient adds the HTTPClient to the delete private network params
func (*DeletePrivateNetworkParams) WithName ¶
func (o *DeletePrivateNetworkParams) WithName(name string) *DeletePrivateNetworkParams
WithName adds the name to the delete private network params
func (*DeletePrivateNetworkParams) WithTimeout ¶
func (o *DeletePrivateNetworkParams) WithTimeout(timeout time.Duration) *DeletePrivateNetworkParams
WithTimeout adds the timeout to the delete private network params
func (*DeletePrivateNetworkParams) WriteToRequest ¶
func (o *DeletePrivateNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePrivateNetworkReader ¶
type DeletePrivateNetworkReader struct {
// contains filtered or unexported fields
}
DeletePrivateNetworkReader is a Reader for the DeletePrivateNetwork structure.
func (*DeletePrivateNetworkReader) ReadResponse ¶
func (o *DeletePrivateNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePublicNetworkDefault ¶
type DeletePublicNetworkDefault struct {
// contains filtered or unexported fields
}
DeletePublicNetworkDefault handles this case with default header values.
successful operation
func NewDeletePublicNetworkDefault ¶
func NewDeletePublicNetworkDefault(code int) *DeletePublicNetworkDefault
NewDeletePublicNetworkDefault creates a DeletePublicNetworkDefault with default headers values
func (*DeletePublicNetworkDefault) Code ¶
func (o *DeletePublicNetworkDefault) Code() int
Code gets the status code for the delete public network default response
func (*DeletePublicNetworkDefault) Error ¶
func (o *DeletePublicNetworkDefault) Error() string
type DeletePublicNetworkParams ¶
type DeletePublicNetworkParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePublicNetworkParams contains all the parameters to send to the API endpoint for the delete public network operation typically these are written to a http.Request
func NewDeletePublicNetworkParams ¶
func NewDeletePublicNetworkParams() *DeletePublicNetworkParams
NewDeletePublicNetworkParams creates a new DeletePublicNetworkParams object with the default values initialized.
func NewDeletePublicNetworkParamsWithContext ¶
func NewDeletePublicNetworkParamsWithContext(ctx context.Context) *DeletePublicNetworkParams
NewDeletePublicNetworkParamsWithContext creates a new DeletePublicNetworkParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePublicNetworkParamsWithHTTPClient ¶
func NewDeletePublicNetworkParamsWithHTTPClient(client *http.Client) *DeletePublicNetworkParams
NewDeletePublicNetworkParamsWithHTTPClient creates a new DeletePublicNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePublicNetworkParamsWithTimeout ¶
func NewDeletePublicNetworkParamsWithTimeout(timeout time.Duration) *DeletePublicNetworkParams
NewDeletePublicNetworkParamsWithTimeout creates a new DeletePublicNetworkParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePublicNetworkParams) SetContext ¶
func (o *DeletePublicNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the delete public network params
func (*DeletePublicNetworkParams) SetHTTPClient ¶
func (o *DeletePublicNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete public network params
func (*DeletePublicNetworkParams) SetName ¶
func (o *DeletePublicNetworkParams) SetName(name string)
SetName adds the name to the delete public network params
func (*DeletePublicNetworkParams) SetTimeout ¶
func (o *DeletePublicNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete public network params
func (*DeletePublicNetworkParams) WithContext ¶
func (o *DeletePublicNetworkParams) WithContext(ctx context.Context) *DeletePublicNetworkParams
WithContext adds the context to the delete public network params
func (*DeletePublicNetworkParams) WithHTTPClient ¶
func (o *DeletePublicNetworkParams) WithHTTPClient(client *http.Client) *DeletePublicNetworkParams
WithHTTPClient adds the HTTPClient to the delete public network params
func (*DeletePublicNetworkParams) WithName ¶
func (o *DeletePublicNetworkParams) WithName(name string) *DeletePublicNetworkParams
WithName adds the name to the delete public network params
func (*DeletePublicNetworkParams) WithTimeout ¶
func (o *DeletePublicNetworkParams) WithTimeout(timeout time.Duration) *DeletePublicNetworkParams
WithTimeout adds the timeout to the delete public network params
func (*DeletePublicNetworkParams) WriteToRequest ¶
func (o *DeletePublicNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePublicNetworkReader ¶
type DeletePublicNetworkReader struct {
// contains filtered or unexported fields
}
DeletePublicNetworkReader is a Reader for the DeletePublicNetwork structure.
func (*DeletePublicNetworkReader) ReadResponse ¶
func (o *DeletePublicNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkOK ¶
type GetNetworkOK struct {
Payload *models_cloudbreak.NetworkResponse
}
GetNetworkOK handles this case with default header values.
successful operation
func NewGetNetworkOK ¶
func NewGetNetworkOK() *GetNetworkOK
NewGetNetworkOK creates a GetNetworkOK with default headers values
func (*GetNetworkOK) Error ¶
func (o *GetNetworkOK) Error() string
type GetNetworkParams ¶
type GetNetworkParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkParams contains all the parameters to send to the API endpoint for the get network operation typically these are written to a http.Request
func NewGetNetworkParams ¶
func NewGetNetworkParams() *GetNetworkParams
NewGetNetworkParams creates a new GetNetworkParams object with the default values initialized.
func NewGetNetworkParamsWithContext ¶
func NewGetNetworkParamsWithContext(ctx context.Context) *GetNetworkParams
NewGetNetworkParamsWithContext creates a new GetNetworkParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkParamsWithHTTPClient ¶
func NewGetNetworkParamsWithHTTPClient(client *http.Client) *GetNetworkParams
NewGetNetworkParamsWithHTTPClient creates a new GetNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkParamsWithTimeout ¶
func NewGetNetworkParamsWithTimeout(timeout time.Duration) *GetNetworkParams
NewGetNetworkParamsWithTimeout creates a new GetNetworkParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkParams) SetContext ¶
func (o *GetNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the get network params
func (*GetNetworkParams) SetHTTPClient ¶
func (o *GetNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network params
func (*GetNetworkParams) SetID ¶
func (o *GetNetworkParams) SetID(id int64)
SetID adds the id to the get network params
func (*GetNetworkParams) SetTimeout ¶
func (o *GetNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network params
func (*GetNetworkParams) WithContext ¶
func (o *GetNetworkParams) WithContext(ctx context.Context) *GetNetworkParams
WithContext adds the context to the get network params
func (*GetNetworkParams) WithHTTPClient ¶
func (o *GetNetworkParams) WithHTTPClient(client *http.Client) *GetNetworkParams
WithHTTPClient adds the HTTPClient to the get network params
func (*GetNetworkParams) WithID ¶
func (o *GetNetworkParams) WithID(id int64) *GetNetworkParams
WithID adds the id to the get network params
func (*GetNetworkParams) WithTimeout ¶
func (o *GetNetworkParams) WithTimeout(timeout time.Duration) *GetNetworkParams
WithTimeout adds the timeout to the get network params
func (*GetNetworkParams) WriteToRequest ¶
func (o *GetNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkReader ¶
type GetNetworkReader struct {
// contains filtered or unexported fields
}
GetNetworkReader is a Reader for the GetNetwork structure.
func (*GetNetworkReader) ReadResponse ¶
func (o *GetNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateNetworkOK ¶
type GetPrivateNetworkOK struct {
Payload *models_cloudbreak.NetworkResponse
}
GetPrivateNetworkOK handles this case with default header values.
successful operation
func NewGetPrivateNetworkOK ¶
func NewGetPrivateNetworkOK() *GetPrivateNetworkOK
NewGetPrivateNetworkOK creates a GetPrivateNetworkOK with default headers values
func (*GetPrivateNetworkOK) Error ¶
func (o *GetPrivateNetworkOK) Error() string
type GetPrivateNetworkParams ¶
type GetPrivateNetworkParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateNetworkParams contains all the parameters to send to the API endpoint for the get private network operation typically these are written to a http.Request
func NewGetPrivateNetworkParams ¶
func NewGetPrivateNetworkParams() *GetPrivateNetworkParams
NewGetPrivateNetworkParams creates a new GetPrivateNetworkParams object with the default values initialized.
func NewGetPrivateNetworkParamsWithContext ¶
func NewGetPrivateNetworkParamsWithContext(ctx context.Context) *GetPrivateNetworkParams
NewGetPrivateNetworkParamsWithContext creates a new GetPrivateNetworkParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateNetworkParamsWithHTTPClient ¶
func NewGetPrivateNetworkParamsWithHTTPClient(client *http.Client) *GetPrivateNetworkParams
NewGetPrivateNetworkParamsWithHTTPClient creates a new GetPrivateNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateNetworkParamsWithTimeout ¶
func NewGetPrivateNetworkParamsWithTimeout(timeout time.Duration) *GetPrivateNetworkParams
NewGetPrivateNetworkParamsWithTimeout creates a new GetPrivateNetworkParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateNetworkParams) SetContext ¶
func (o *GetPrivateNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the get private network params
func (*GetPrivateNetworkParams) SetHTTPClient ¶
func (o *GetPrivateNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private network params
func (*GetPrivateNetworkParams) SetName ¶
func (o *GetPrivateNetworkParams) SetName(name string)
SetName adds the name to the get private network params
func (*GetPrivateNetworkParams) SetTimeout ¶
func (o *GetPrivateNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private network params
func (*GetPrivateNetworkParams) WithContext ¶
func (o *GetPrivateNetworkParams) WithContext(ctx context.Context) *GetPrivateNetworkParams
WithContext adds the context to the get private network params
func (*GetPrivateNetworkParams) WithHTTPClient ¶
func (o *GetPrivateNetworkParams) WithHTTPClient(client *http.Client) *GetPrivateNetworkParams
WithHTTPClient adds the HTTPClient to the get private network params
func (*GetPrivateNetworkParams) WithName ¶
func (o *GetPrivateNetworkParams) WithName(name string) *GetPrivateNetworkParams
WithName adds the name to the get private network params
func (*GetPrivateNetworkParams) WithTimeout ¶
func (o *GetPrivateNetworkParams) WithTimeout(timeout time.Duration) *GetPrivateNetworkParams
WithTimeout adds the timeout to the get private network params
func (*GetPrivateNetworkParams) WriteToRequest ¶
func (o *GetPrivateNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateNetworkReader ¶
type GetPrivateNetworkReader struct {
// contains filtered or unexported fields
}
GetPrivateNetworkReader is a Reader for the GetPrivateNetwork structure.
func (*GetPrivateNetworkReader) ReadResponse ¶
func (o *GetPrivateNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivatesNetworkOK ¶
type GetPrivatesNetworkOK struct {
Payload []*models_cloudbreak.NetworkResponse
}
GetPrivatesNetworkOK handles this case with default header values.
successful operation
func NewGetPrivatesNetworkOK ¶
func NewGetPrivatesNetworkOK() *GetPrivatesNetworkOK
NewGetPrivatesNetworkOK creates a GetPrivatesNetworkOK with default headers values
func (*GetPrivatesNetworkOK) Error ¶
func (o *GetPrivatesNetworkOK) Error() string
type GetPrivatesNetworkParams ¶
type GetPrivatesNetworkParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivatesNetworkParams contains all the parameters to send to the API endpoint for the get privates network operation typically these are written to a http.Request
func NewGetPrivatesNetworkParams ¶
func NewGetPrivatesNetworkParams() *GetPrivatesNetworkParams
NewGetPrivatesNetworkParams creates a new GetPrivatesNetworkParams object with the default values initialized.
func NewGetPrivatesNetworkParamsWithContext ¶
func NewGetPrivatesNetworkParamsWithContext(ctx context.Context) *GetPrivatesNetworkParams
NewGetPrivatesNetworkParamsWithContext creates a new GetPrivatesNetworkParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivatesNetworkParamsWithHTTPClient ¶
func NewGetPrivatesNetworkParamsWithHTTPClient(client *http.Client) *GetPrivatesNetworkParams
NewGetPrivatesNetworkParamsWithHTTPClient creates a new GetPrivatesNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivatesNetworkParamsWithTimeout ¶
func NewGetPrivatesNetworkParamsWithTimeout(timeout time.Duration) *GetPrivatesNetworkParams
NewGetPrivatesNetworkParamsWithTimeout creates a new GetPrivatesNetworkParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivatesNetworkParams) SetContext ¶
func (o *GetPrivatesNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the get privates network params
func (*GetPrivatesNetworkParams) SetHTTPClient ¶
func (o *GetPrivatesNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get privates network params
func (*GetPrivatesNetworkParams) SetTimeout ¶
func (o *GetPrivatesNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get privates network params
func (*GetPrivatesNetworkParams) WithContext ¶
func (o *GetPrivatesNetworkParams) WithContext(ctx context.Context) *GetPrivatesNetworkParams
WithContext adds the context to the get privates network params
func (*GetPrivatesNetworkParams) WithHTTPClient ¶
func (o *GetPrivatesNetworkParams) WithHTTPClient(client *http.Client) *GetPrivatesNetworkParams
WithHTTPClient adds the HTTPClient to the get privates network params
func (*GetPrivatesNetworkParams) WithTimeout ¶
func (o *GetPrivatesNetworkParams) WithTimeout(timeout time.Duration) *GetPrivatesNetworkParams
WithTimeout adds the timeout to the get privates network params
func (*GetPrivatesNetworkParams) WriteToRequest ¶
func (o *GetPrivatesNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivatesNetworkReader ¶
type GetPrivatesNetworkReader struct {
// contains filtered or unexported fields
}
GetPrivatesNetworkReader is a Reader for the GetPrivatesNetwork structure.
func (*GetPrivatesNetworkReader) ReadResponse ¶
func (o *GetPrivatesNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicNetworkOK ¶
type GetPublicNetworkOK struct {
Payload *models_cloudbreak.NetworkResponse
}
GetPublicNetworkOK handles this case with default header values.
successful operation
func NewGetPublicNetworkOK ¶
func NewGetPublicNetworkOK() *GetPublicNetworkOK
NewGetPublicNetworkOK creates a GetPublicNetworkOK with default headers values
func (*GetPublicNetworkOK) Error ¶
func (o *GetPublicNetworkOK) Error() string
type GetPublicNetworkParams ¶
type GetPublicNetworkParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicNetworkParams contains all the parameters to send to the API endpoint for the get public network operation typically these are written to a http.Request
func NewGetPublicNetworkParams ¶
func NewGetPublicNetworkParams() *GetPublicNetworkParams
NewGetPublicNetworkParams creates a new GetPublicNetworkParams object with the default values initialized.
func NewGetPublicNetworkParamsWithContext ¶
func NewGetPublicNetworkParamsWithContext(ctx context.Context) *GetPublicNetworkParams
NewGetPublicNetworkParamsWithContext creates a new GetPublicNetworkParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicNetworkParamsWithHTTPClient ¶
func NewGetPublicNetworkParamsWithHTTPClient(client *http.Client) *GetPublicNetworkParams
NewGetPublicNetworkParamsWithHTTPClient creates a new GetPublicNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicNetworkParamsWithTimeout ¶
func NewGetPublicNetworkParamsWithTimeout(timeout time.Duration) *GetPublicNetworkParams
NewGetPublicNetworkParamsWithTimeout creates a new GetPublicNetworkParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicNetworkParams) SetContext ¶
func (o *GetPublicNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the get public network params
func (*GetPublicNetworkParams) SetHTTPClient ¶
func (o *GetPublicNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public network params
func (*GetPublicNetworkParams) SetName ¶
func (o *GetPublicNetworkParams) SetName(name string)
SetName adds the name to the get public network params
func (*GetPublicNetworkParams) SetTimeout ¶
func (o *GetPublicNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public network params
func (*GetPublicNetworkParams) WithContext ¶
func (o *GetPublicNetworkParams) WithContext(ctx context.Context) *GetPublicNetworkParams
WithContext adds the context to the get public network params
func (*GetPublicNetworkParams) WithHTTPClient ¶
func (o *GetPublicNetworkParams) WithHTTPClient(client *http.Client) *GetPublicNetworkParams
WithHTTPClient adds the HTTPClient to the get public network params
func (*GetPublicNetworkParams) WithName ¶
func (o *GetPublicNetworkParams) WithName(name string) *GetPublicNetworkParams
WithName adds the name to the get public network params
func (*GetPublicNetworkParams) WithTimeout ¶
func (o *GetPublicNetworkParams) WithTimeout(timeout time.Duration) *GetPublicNetworkParams
WithTimeout adds the timeout to the get public network params
func (*GetPublicNetworkParams) WriteToRequest ¶
func (o *GetPublicNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicNetworkReader ¶
type GetPublicNetworkReader struct {
// contains filtered or unexported fields
}
GetPublicNetworkReader is a Reader for the GetPublicNetwork structure.
func (*GetPublicNetworkReader) ReadResponse ¶
func (o *GetPublicNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicsNetworkOK ¶
type GetPublicsNetworkOK struct {
Payload []*models_cloudbreak.NetworkResponse
}
GetPublicsNetworkOK handles this case with default header values.
successful operation
func NewGetPublicsNetworkOK ¶
func NewGetPublicsNetworkOK() *GetPublicsNetworkOK
NewGetPublicsNetworkOK creates a GetPublicsNetworkOK with default headers values
func (*GetPublicsNetworkOK) Error ¶
func (o *GetPublicsNetworkOK) Error() string
type GetPublicsNetworkParams ¶
type GetPublicsNetworkParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicsNetworkParams contains all the parameters to send to the API endpoint for the get publics network operation typically these are written to a http.Request
func NewGetPublicsNetworkParams ¶
func NewGetPublicsNetworkParams() *GetPublicsNetworkParams
NewGetPublicsNetworkParams creates a new GetPublicsNetworkParams object with the default values initialized.
func NewGetPublicsNetworkParamsWithContext ¶
func NewGetPublicsNetworkParamsWithContext(ctx context.Context) *GetPublicsNetworkParams
NewGetPublicsNetworkParamsWithContext creates a new GetPublicsNetworkParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicsNetworkParamsWithHTTPClient ¶
func NewGetPublicsNetworkParamsWithHTTPClient(client *http.Client) *GetPublicsNetworkParams
NewGetPublicsNetworkParamsWithHTTPClient creates a new GetPublicsNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicsNetworkParamsWithTimeout ¶
func NewGetPublicsNetworkParamsWithTimeout(timeout time.Duration) *GetPublicsNetworkParams
NewGetPublicsNetworkParamsWithTimeout creates a new GetPublicsNetworkParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicsNetworkParams) SetContext ¶
func (o *GetPublicsNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the get publics network params
func (*GetPublicsNetworkParams) SetHTTPClient ¶
func (o *GetPublicsNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get publics network params
func (*GetPublicsNetworkParams) SetTimeout ¶
func (o *GetPublicsNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get publics network params
func (*GetPublicsNetworkParams) WithContext ¶
func (o *GetPublicsNetworkParams) WithContext(ctx context.Context) *GetPublicsNetworkParams
WithContext adds the context to the get publics network params
func (*GetPublicsNetworkParams) WithHTTPClient ¶
func (o *GetPublicsNetworkParams) WithHTTPClient(client *http.Client) *GetPublicsNetworkParams
WithHTTPClient adds the HTTPClient to the get publics network params
func (*GetPublicsNetworkParams) WithTimeout ¶
func (o *GetPublicsNetworkParams) WithTimeout(timeout time.Duration) *GetPublicsNetworkParams
WithTimeout adds the timeout to the get publics network params
func (*GetPublicsNetworkParams) WriteToRequest ¶
func (o *GetPublicsNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicsNetworkReader ¶
type GetPublicsNetworkReader struct {
// contains filtered or unexported fields
}
GetPublicsNetworkReader is a Reader for the GetPublicsNetwork structure.
func (*GetPublicsNetworkReader) ReadResponse ¶
func (o *GetPublicsNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPrivateNetworkOK ¶
type PostPrivateNetworkOK struct {
Payload *models_cloudbreak.NetworkResponse
}
PostPrivateNetworkOK handles this case with default header values.
successful operation
func NewPostPrivateNetworkOK ¶
func NewPostPrivateNetworkOK() *PostPrivateNetworkOK
NewPostPrivateNetworkOK creates a PostPrivateNetworkOK with default headers values
func (*PostPrivateNetworkOK) Error ¶
func (o *PostPrivateNetworkOK) Error() string
type PostPrivateNetworkParams ¶
type PostPrivateNetworkParams struct { /*Body*/ Body *models_cloudbreak.NetworkRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPrivateNetworkParams contains all the parameters to send to the API endpoint for the post private network operation typically these are written to a http.Request
func NewPostPrivateNetworkParams ¶
func NewPostPrivateNetworkParams() *PostPrivateNetworkParams
NewPostPrivateNetworkParams creates a new PostPrivateNetworkParams object with the default values initialized.
func NewPostPrivateNetworkParamsWithContext ¶
func NewPostPrivateNetworkParamsWithContext(ctx context.Context) *PostPrivateNetworkParams
NewPostPrivateNetworkParamsWithContext creates a new PostPrivateNetworkParams object with the default values initialized, and the ability to set a context for a request
func NewPostPrivateNetworkParamsWithHTTPClient ¶
func NewPostPrivateNetworkParamsWithHTTPClient(client *http.Client) *PostPrivateNetworkParams
NewPostPrivateNetworkParamsWithHTTPClient creates a new PostPrivateNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPrivateNetworkParamsWithTimeout ¶
func NewPostPrivateNetworkParamsWithTimeout(timeout time.Duration) *PostPrivateNetworkParams
NewPostPrivateNetworkParamsWithTimeout creates a new PostPrivateNetworkParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPrivateNetworkParams) SetBody ¶
func (o *PostPrivateNetworkParams) SetBody(body *models_cloudbreak.NetworkRequest)
SetBody adds the body to the post private network params
func (*PostPrivateNetworkParams) SetContext ¶
func (o *PostPrivateNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the post private network params
func (*PostPrivateNetworkParams) SetHTTPClient ¶
func (o *PostPrivateNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post private network params
func (*PostPrivateNetworkParams) SetTimeout ¶
func (o *PostPrivateNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post private network params
func (*PostPrivateNetworkParams) WithBody ¶
func (o *PostPrivateNetworkParams) WithBody(body *models_cloudbreak.NetworkRequest) *PostPrivateNetworkParams
WithBody adds the body to the post private network params
func (*PostPrivateNetworkParams) WithContext ¶
func (o *PostPrivateNetworkParams) WithContext(ctx context.Context) *PostPrivateNetworkParams
WithContext adds the context to the post private network params
func (*PostPrivateNetworkParams) WithHTTPClient ¶
func (o *PostPrivateNetworkParams) WithHTTPClient(client *http.Client) *PostPrivateNetworkParams
WithHTTPClient adds the HTTPClient to the post private network params
func (*PostPrivateNetworkParams) WithTimeout ¶
func (o *PostPrivateNetworkParams) WithTimeout(timeout time.Duration) *PostPrivateNetworkParams
WithTimeout adds the timeout to the post private network params
func (*PostPrivateNetworkParams) WriteToRequest ¶
func (o *PostPrivateNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPrivateNetworkReader ¶
type PostPrivateNetworkReader struct {
// contains filtered or unexported fields
}
PostPrivateNetworkReader is a Reader for the PostPrivateNetwork structure.
func (*PostPrivateNetworkReader) ReadResponse ¶
func (o *PostPrivateNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPublicNetworkOK ¶
type PostPublicNetworkOK struct {
Payload *models_cloudbreak.NetworkResponse
}
PostPublicNetworkOK handles this case with default header values.
successful operation
func NewPostPublicNetworkOK ¶
func NewPostPublicNetworkOK() *PostPublicNetworkOK
NewPostPublicNetworkOK creates a PostPublicNetworkOK with default headers values
func (*PostPublicNetworkOK) Error ¶
func (o *PostPublicNetworkOK) Error() string
type PostPublicNetworkParams ¶
type PostPublicNetworkParams struct { /*Body*/ Body *models_cloudbreak.NetworkRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPublicNetworkParams contains all the parameters to send to the API endpoint for the post public network operation typically these are written to a http.Request
func NewPostPublicNetworkParams ¶
func NewPostPublicNetworkParams() *PostPublicNetworkParams
NewPostPublicNetworkParams creates a new PostPublicNetworkParams object with the default values initialized.
func NewPostPublicNetworkParamsWithContext ¶
func NewPostPublicNetworkParamsWithContext(ctx context.Context) *PostPublicNetworkParams
NewPostPublicNetworkParamsWithContext creates a new PostPublicNetworkParams object with the default values initialized, and the ability to set a context for a request
func NewPostPublicNetworkParamsWithHTTPClient ¶
func NewPostPublicNetworkParamsWithHTTPClient(client *http.Client) *PostPublicNetworkParams
NewPostPublicNetworkParamsWithHTTPClient creates a new PostPublicNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPublicNetworkParamsWithTimeout ¶
func NewPostPublicNetworkParamsWithTimeout(timeout time.Duration) *PostPublicNetworkParams
NewPostPublicNetworkParamsWithTimeout creates a new PostPublicNetworkParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPublicNetworkParams) SetBody ¶
func (o *PostPublicNetworkParams) SetBody(body *models_cloudbreak.NetworkRequest)
SetBody adds the body to the post public network params
func (*PostPublicNetworkParams) SetContext ¶
func (o *PostPublicNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the post public network params
func (*PostPublicNetworkParams) SetHTTPClient ¶
func (o *PostPublicNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post public network params
func (*PostPublicNetworkParams) SetTimeout ¶
func (o *PostPublicNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post public network params
func (*PostPublicNetworkParams) WithBody ¶
func (o *PostPublicNetworkParams) WithBody(body *models_cloudbreak.NetworkRequest) *PostPublicNetworkParams
WithBody adds the body to the post public network params
func (*PostPublicNetworkParams) WithContext ¶
func (o *PostPublicNetworkParams) WithContext(ctx context.Context) *PostPublicNetworkParams
WithContext adds the context to the post public network params
func (*PostPublicNetworkParams) WithHTTPClient ¶
func (o *PostPublicNetworkParams) WithHTTPClient(client *http.Client) *PostPublicNetworkParams
WithHTTPClient adds the HTTPClient to the post public network params
func (*PostPublicNetworkParams) WithTimeout ¶
func (o *PostPublicNetworkParams) WithTimeout(timeout time.Duration) *PostPublicNetworkParams
WithTimeout adds the timeout to the post public network params
func (*PostPublicNetworkParams) WriteToRequest ¶
func (o *PostPublicNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPublicNetworkReader ¶
type PostPublicNetworkReader struct {
// contains filtered or unexported fields
}
PostPublicNetworkReader is a Reader for the PostPublicNetwork structure.
func (*PostPublicNetworkReader) ReadResponse ¶
func (o *PostPublicNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_network_parameters.go
- delete_network_responses.go
- delete_private_network_parameters.go
- delete_private_network_responses.go
- delete_public_network_parameters.go
- delete_public_network_responses.go
- get_network_parameters.go
- get_network_responses.go
- get_private_network_parameters.go
- get_private_network_responses.go
- get_privates_network_parameters.go
- get_privates_network_responses.go
- get_public_network_parameters.go
- get_public_network_responses.go
- get_publics_network_parameters.go
- get_publics_network_responses.go
- post_private_network_parameters.go
- post_private_network_responses.go
- post_public_network_parameters.go
- post_public_network_responses.go
- v1networks_client.go