Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAccountUsage(params *GetAccountUsageParams) (*GetAccountUsageOK, error)
- func (a *Client) GetDailyFlexUsage(params *GetDailyFlexUsageParams) (*GetDailyFlexUsageOK, error)
- func (a *Client) GetDeployerUsage(params *GetDeployerUsageParams) (*GetDeployerUsageOK, error)
- func (a *Client) GetLatestFlexUsage(params *GetLatestFlexUsageParams) (*GetLatestFlexUsageOK, error)
- func (a *Client) GetUserUsage(params *GetUserUsageParams) (*GetUserUsageOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetAccountUsageOK
- type GetAccountUsageParams
- func NewGetAccountUsageParams() *GetAccountUsageParams
- func NewGetAccountUsageParamsWithContext(ctx context.Context) *GetAccountUsageParams
- func NewGetAccountUsageParamsWithHTTPClient(client *http.Client) *GetAccountUsageParams
- func NewGetAccountUsageParamsWithTimeout(timeout time.Duration) *GetAccountUsageParams
- func (o *GetAccountUsageParams) SetCloud(cloud *string)
- func (o *GetAccountUsageParams) SetContext(ctx context.Context)
- func (o *GetAccountUsageParams) SetFilterenddate(filterenddate *int64)
- func (o *GetAccountUsageParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountUsageParams) SetSince(since *int64)
- func (o *GetAccountUsageParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountUsageParams) SetUser(user *string)
- func (o *GetAccountUsageParams) SetZone(zone *string)
- func (o *GetAccountUsageParams) WithCloud(cloud *string) *GetAccountUsageParams
- func (o *GetAccountUsageParams) WithContext(ctx context.Context) *GetAccountUsageParams
- func (o *GetAccountUsageParams) WithFilterenddate(filterenddate *int64) *GetAccountUsageParams
- func (o *GetAccountUsageParams) WithHTTPClient(client *http.Client) *GetAccountUsageParams
- func (o *GetAccountUsageParams) WithSince(since *int64) *GetAccountUsageParams
- func (o *GetAccountUsageParams) WithTimeout(timeout time.Duration) *GetAccountUsageParams
- func (o *GetAccountUsageParams) WithUser(user *string) *GetAccountUsageParams
- func (o *GetAccountUsageParams) WithZone(zone *string) *GetAccountUsageParams
- func (o *GetAccountUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountUsageReader
- type GetDailyFlexUsageOK
- type GetDailyFlexUsageParams
- func NewGetDailyFlexUsageParams() *GetDailyFlexUsageParams
- func NewGetDailyFlexUsageParamsWithContext(ctx context.Context) *GetDailyFlexUsageParams
- func NewGetDailyFlexUsageParamsWithHTTPClient(client *http.Client) *GetDailyFlexUsageParams
- func NewGetDailyFlexUsageParamsWithTimeout(timeout time.Duration) *GetDailyFlexUsageParams
- func (o *GetDailyFlexUsageParams) SetContext(ctx context.Context)
- func (o *GetDailyFlexUsageParams) SetHTTPClient(client *http.Client)
- func (o *GetDailyFlexUsageParams) SetTimeout(timeout time.Duration)
- func (o *GetDailyFlexUsageParams) WithContext(ctx context.Context) *GetDailyFlexUsageParams
- func (o *GetDailyFlexUsageParams) WithHTTPClient(client *http.Client) *GetDailyFlexUsageParams
- func (o *GetDailyFlexUsageParams) WithTimeout(timeout time.Duration) *GetDailyFlexUsageParams
- func (o *GetDailyFlexUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDailyFlexUsageReader
- type GetDeployerUsageOK
- type GetDeployerUsageParams
- func NewGetDeployerUsageParams() *GetDeployerUsageParams
- func NewGetDeployerUsageParamsWithContext(ctx context.Context) *GetDeployerUsageParams
- func NewGetDeployerUsageParamsWithHTTPClient(client *http.Client) *GetDeployerUsageParams
- func NewGetDeployerUsageParamsWithTimeout(timeout time.Duration) *GetDeployerUsageParams
- func (o *GetDeployerUsageParams) SetAccount(account *string)
- func (o *GetDeployerUsageParams) SetCloud(cloud *string)
- func (o *GetDeployerUsageParams) SetContext(ctx context.Context)
- func (o *GetDeployerUsageParams) SetFilterenddate(filterenddate *int64)
- func (o *GetDeployerUsageParams) SetHTTPClient(client *http.Client)
- func (o *GetDeployerUsageParams) SetSince(since *int64)
- func (o *GetDeployerUsageParams) SetTimeout(timeout time.Duration)
- func (o *GetDeployerUsageParams) SetUser(user *string)
- func (o *GetDeployerUsageParams) SetZone(zone *string)
- func (o *GetDeployerUsageParams) WithAccount(account *string) *GetDeployerUsageParams
- func (o *GetDeployerUsageParams) WithCloud(cloud *string) *GetDeployerUsageParams
- func (o *GetDeployerUsageParams) WithContext(ctx context.Context) *GetDeployerUsageParams
- func (o *GetDeployerUsageParams) WithFilterenddate(filterenddate *int64) *GetDeployerUsageParams
- func (o *GetDeployerUsageParams) WithHTTPClient(client *http.Client) *GetDeployerUsageParams
- func (o *GetDeployerUsageParams) WithSince(since *int64) *GetDeployerUsageParams
- func (o *GetDeployerUsageParams) WithTimeout(timeout time.Duration) *GetDeployerUsageParams
- func (o *GetDeployerUsageParams) WithUser(user *string) *GetDeployerUsageParams
- func (o *GetDeployerUsageParams) WithZone(zone *string) *GetDeployerUsageParams
- func (o *GetDeployerUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeployerUsageReader
- type GetLatestFlexUsageOK
- type GetLatestFlexUsageParams
- func NewGetLatestFlexUsageParams() *GetLatestFlexUsageParams
- func NewGetLatestFlexUsageParamsWithContext(ctx context.Context) *GetLatestFlexUsageParams
- func NewGetLatestFlexUsageParamsWithHTTPClient(client *http.Client) *GetLatestFlexUsageParams
- func NewGetLatestFlexUsageParamsWithTimeout(timeout time.Duration) *GetLatestFlexUsageParams
- func (o *GetLatestFlexUsageParams) SetContext(ctx context.Context)
- func (o *GetLatestFlexUsageParams) SetHTTPClient(client *http.Client)
- func (o *GetLatestFlexUsageParams) SetTimeout(timeout time.Duration)
- func (o *GetLatestFlexUsageParams) WithContext(ctx context.Context) *GetLatestFlexUsageParams
- func (o *GetLatestFlexUsageParams) WithHTTPClient(client *http.Client) *GetLatestFlexUsageParams
- func (o *GetLatestFlexUsageParams) WithTimeout(timeout time.Duration) *GetLatestFlexUsageParams
- func (o *GetLatestFlexUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLatestFlexUsageReader
- type GetUserUsageOK
- type GetUserUsageParams
- func (o *GetUserUsageParams) SetCloud(cloud *string)
- func (o *GetUserUsageParams) SetContext(ctx context.Context)
- func (o *GetUserUsageParams) SetFilterenddate(filterenddate *int64)
- func (o *GetUserUsageParams) SetHTTPClient(client *http.Client)
- func (o *GetUserUsageParams) SetSince(since *int64)
- func (o *GetUserUsageParams) SetTimeout(timeout time.Duration)
- func (o *GetUserUsageParams) SetZone(zone *string)
- func (o *GetUserUsageParams) WithCloud(cloud *string) *GetUserUsageParams
- func (o *GetUserUsageParams) WithContext(ctx context.Context) *GetUserUsageParams
- func (o *GetUserUsageParams) WithFilterenddate(filterenddate *int64) *GetUserUsageParams
- func (o *GetUserUsageParams) WithHTTPClient(client *http.Client) *GetUserUsageParams
- func (o *GetUserUsageParams) WithSince(since *int64) *GetUserUsageParams
- func (o *GetUserUsageParams) WithTimeout(timeout time.Duration) *GetUserUsageParams
- func (o *GetUserUsageParams) WithZone(zone *string) *GetUserUsageParams
- func (o *GetUserUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserUsageReader
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 v1usages API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1usages API client.
func (*Client) GetAccountUsage ¶
func (a *Client) GetAccountUsage(params *GetAccountUsageParams) (*GetAccountUsageOK, error)
GetAccountUsage retrieves public and private owned usages by filter parameters
Cloudbreak gives you an up to date overview of cluster usage based on different filtering criteria (start/end date, users, providers, region, etc)
func (*Client) GetDailyFlexUsage ¶
func (a *Client) GetDailyFlexUsage(params *GetDailyFlexUsageParams) (*GetDailyFlexUsageOK, error)
GetDailyFlexUsage retrieves flex related daily usages
Cloudbreak gives you an up to date overview of cluster usage based on different filtering criteria (start/end date, users, providers, region, etc)
func (*Client) GetDeployerUsage ¶
func (a *Client) GetDeployerUsage(params *GetDeployerUsageParams) (*GetDeployerUsageOK, error)
GetDeployerUsage retrieves usages by filter parameters
Cloudbreak gives you an up to date overview of cluster usage based on different filtering criteria (start/end date, users, providers, region, etc)
func (*Client) GetLatestFlexUsage ¶
func (a *Client) GetLatestFlexUsage(params *GetLatestFlexUsageParams) (*GetLatestFlexUsageOK, error)
GetLatestFlexUsage retrieves flex related latest usages usages for the given day
Cloudbreak gives you an up to date overview of cluster usage based on different filtering criteria (start/end date, users, providers, region, etc)
func (*Client) GetUserUsage ¶
func (a *Client) GetUserUsage(params *GetUserUsageParams) (*GetUserUsageOK, error)
GetUserUsage retrieves private usages by filter parameters
Cloudbreak gives you an up to date overview of cluster usage based on different filtering criteria (start/end date, users, providers, region, etc)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetAccountUsageOK ¶
type GetAccountUsageOK struct {
Payload []*models_cloudbreak.CloudbreakUsage
}
GetAccountUsageOK handles this case with default header values.
successful operation
func NewGetAccountUsageOK ¶
func NewGetAccountUsageOK() *GetAccountUsageOK
NewGetAccountUsageOK creates a GetAccountUsageOK with default headers values
func (*GetAccountUsageOK) Error ¶
func (o *GetAccountUsageOK) Error() string
type GetAccountUsageParams ¶
type GetAccountUsageParams struct { /*Cloud*/ Cloud *string /*Filterenddate*/ Filterenddate *int64 /*Since*/ Since *int64 /*User*/ User *string /*Zone*/ Zone *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountUsageParams contains all the parameters to send to the API endpoint for the get account usage operation typically these are written to a http.Request
func NewGetAccountUsageParams ¶
func NewGetAccountUsageParams() *GetAccountUsageParams
NewGetAccountUsageParams creates a new GetAccountUsageParams object with the default values initialized.
func NewGetAccountUsageParamsWithContext ¶
func NewGetAccountUsageParamsWithContext(ctx context.Context) *GetAccountUsageParams
NewGetAccountUsageParamsWithContext creates a new GetAccountUsageParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccountUsageParamsWithHTTPClient ¶
func NewGetAccountUsageParamsWithHTTPClient(client *http.Client) *GetAccountUsageParams
NewGetAccountUsageParamsWithHTTPClient creates a new GetAccountUsageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccountUsageParamsWithTimeout ¶
func NewGetAccountUsageParamsWithTimeout(timeout time.Duration) *GetAccountUsageParams
NewGetAccountUsageParamsWithTimeout creates a new GetAccountUsageParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccountUsageParams) SetCloud ¶
func (o *GetAccountUsageParams) SetCloud(cloud *string)
SetCloud adds the cloud to the get account usage params
func (*GetAccountUsageParams) SetContext ¶
func (o *GetAccountUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the get account usage params
func (*GetAccountUsageParams) SetFilterenddate ¶
func (o *GetAccountUsageParams) SetFilterenddate(filterenddate *int64)
SetFilterenddate adds the filterenddate to the get account usage params
func (*GetAccountUsageParams) SetHTTPClient ¶
func (o *GetAccountUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account usage params
func (*GetAccountUsageParams) SetSince ¶
func (o *GetAccountUsageParams) SetSince(since *int64)
SetSince adds the since to the get account usage params
func (*GetAccountUsageParams) SetTimeout ¶
func (o *GetAccountUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account usage params
func (*GetAccountUsageParams) SetUser ¶
func (o *GetAccountUsageParams) SetUser(user *string)
SetUser adds the user to the get account usage params
func (*GetAccountUsageParams) SetZone ¶
func (o *GetAccountUsageParams) SetZone(zone *string)
SetZone adds the zone to the get account usage params
func (*GetAccountUsageParams) WithCloud ¶
func (o *GetAccountUsageParams) WithCloud(cloud *string) *GetAccountUsageParams
WithCloud adds the cloud to the get account usage params
func (*GetAccountUsageParams) WithContext ¶
func (o *GetAccountUsageParams) WithContext(ctx context.Context) *GetAccountUsageParams
WithContext adds the context to the get account usage params
func (*GetAccountUsageParams) WithFilterenddate ¶
func (o *GetAccountUsageParams) WithFilterenddate(filterenddate *int64) *GetAccountUsageParams
WithFilterenddate adds the filterenddate to the get account usage params
func (*GetAccountUsageParams) WithHTTPClient ¶
func (o *GetAccountUsageParams) WithHTTPClient(client *http.Client) *GetAccountUsageParams
WithHTTPClient adds the HTTPClient to the get account usage params
func (*GetAccountUsageParams) WithSince ¶
func (o *GetAccountUsageParams) WithSince(since *int64) *GetAccountUsageParams
WithSince adds the since to the get account usage params
func (*GetAccountUsageParams) WithTimeout ¶
func (o *GetAccountUsageParams) WithTimeout(timeout time.Duration) *GetAccountUsageParams
WithTimeout adds the timeout to the get account usage params
func (*GetAccountUsageParams) WithUser ¶
func (o *GetAccountUsageParams) WithUser(user *string) *GetAccountUsageParams
WithUser adds the user to the get account usage params
func (*GetAccountUsageParams) WithZone ¶
func (o *GetAccountUsageParams) WithZone(zone *string) *GetAccountUsageParams
WithZone adds the zone to the get account usage params
func (*GetAccountUsageParams) WriteToRequest ¶
func (o *GetAccountUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountUsageReader ¶
type GetAccountUsageReader struct {
// contains filtered or unexported fields
}
GetAccountUsageReader is a Reader for the GetAccountUsage structure.
func (*GetAccountUsageReader) ReadResponse ¶
func (o *GetAccountUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDailyFlexUsageOK ¶
type GetDailyFlexUsageOK struct {
Payload *models_cloudbreak.CloudbreakFlexUsage
}
GetDailyFlexUsageOK handles this case with default header values.
successful operation
func NewGetDailyFlexUsageOK ¶
func NewGetDailyFlexUsageOK() *GetDailyFlexUsageOK
NewGetDailyFlexUsageOK creates a GetDailyFlexUsageOK with default headers values
func (*GetDailyFlexUsageOK) Error ¶
func (o *GetDailyFlexUsageOK) Error() string
type GetDailyFlexUsageParams ¶
type GetDailyFlexUsageParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDailyFlexUsageParams contains all the parameters to send to the API endpoint for the get daily flex usage operation typically these are written to a http.Request
func NewGetDailyFlexUsageParams ¶
func NewGetDailyFlexUsageParams() *GetDailyFlexUsageParams
NewGetDailyFlexUsageParams creates a new GetDailyFlexUsageParams object with the default values initialized.
func NewGetDailyFlexUsageParamsWithContext ¶
func NewGetDailyFlexUsageParamsWithContext(ctx context.Context) *GetDailyFlexUsageParams
NewGetDailyFlexUsageParamsWithContext creates a new GetDailyFlexUsageParams object with the default values initialized, and the ability to set a context for a request
func NewGetDailyFlexUsageParamsWithHTTPClient ¶
func NewGetDailyFlexUsageParamsWithHTTPClient(client *http.Client) *GetDailyFlexUsageParams
NewGetDailyFlexUsageParamsWithHTTPClient creates a new GetDailyFlexUsageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDailyFlexUsageParamsWithTimeout ¶
func NewGetDailyFlexUsageParamsWithTimeout(timeout time.Duration) *GetDailyFlexUsageParams
NewGetDailyFlexUsageParamsWithTimeout creates a new GetDailyFlexUsageParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDailyFlexUsageParams) SetContext ¶
func (o *GetDailyFlexUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the get daily flex usage params
func (*GetDailyFlexUsageParams) SetHTTPClient ¶
func (o *GetDailyFlexUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get daily flex usage params
func (*GetDailyFlexUsageParams) SetTimeout ¶
func (o *GetDailyFlexUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get daily flex usage params
func (*GetDailyFlexUsageParams) WithContext ¶
func (o *GetDailyFlexUsageParams) WithContext(ctx context.Context) *GetDailyFlexUsageParams
WithContext adds the context to the get daily flex usage params
func (*GetDailyFlexUsageParams) WithHTTPClient ¶
func (o *GetDailyFlexUsageParams) WithHTTPClient(client *http.Client) *GetDailyFlexUsageParams
WithHTTPClient adds the HTTPClient to the get daily flex usage params
func (*GetDailyFlexUsageParams) WithTimeout ¶
func (o *GetDailyFlexUsageParams) WithTimeout(timeout time.Duration) *GetDailyFlexUsageParams
WithTimeout adds the timeout to the get daily flex usage params
func (*GetDailyFlexUsageParams) WriteToRequest ¶
func (o *GetDailyFlexUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDailyFlexUsageReader ¶
type GetDailyFlexUsageReader struct {
// contains filtered or unexported fields
}
GetDailyFlexUsageReader is a Reader for the GetDailyFlexUsage structure.
func (*GetDailyFlexUsageReader) ReadResponse ¶
func (o *GetDailyFlexUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeployerUsageOK ¶
type GetDeployerUsageOK struct {
Payload []*models_cloudbreak.CloudbreakUsage
}
GetDeployerUsageOK handles this case with default header values.
successful operation
func NewGetDeployerUsageOK ¶
func NewGetDeployerUsageOK() *GetDeployerUsageOK
NewGetDeployerUsageOK creates a GetDeployerUsageOK with default headers values
func (*GetDeployerUsageOK) Error ¶
func (o *GetDeployerUsageOK) Error() string
type GetDeployerUsageParams ¶
type GetDeployerUsageParams struct { /*Account*/ Account *string /*Cloud*/ Cloud *string /*Filterenddate*/ Filterenddate *int64 /*Since*/ Since *int64 /*User*/ User *string /*Zone*/ Zone *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeployerUsageParams contains all the parameters to send to the API endpoint for the get deployer usage operation typically these are written to a http.Request
func NewGetDeployerUsageParams ¶
func NewGetDeployerUsageParams() *GetDeployerUsageParams
NewGetDeployerUsageParams creates a new GetDeployerUsageParams object with the default values initialized.
func NewGetDeployerUsageParamsWithContext ¶
func NewGetDeployerUsageParamsWithContext(ctx context.Context) *GetDeployerUsageParams
NewGetDeployerUsageParamsWithContext creates a new GetDeployerUsageParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeployerUsageParamsWithHTTPClient ¶
func NewGetDeployerUsageParamsWithHTTPClient(client *http.Client) *GetDeployerUsageParams
NewGetDeployerUsageParamsWithHTTPClient creates a new GetDeployerUsageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeployerUsageParamsWithTimeout ¶
func NewGetDeployerUsageParamsWithTimeout(timeout time.Duration) *GetDeployerUsageParams
NewGetDeployerUsageParamsWithTimeout creates a new GetDeployerUsageParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeployerUsageParams) SetAccount ¶
func (o *GetDeployerUsageParams) SetAccount(account *string)
SetAccount adds the account to the get deployer usage params
func (*GetDeployerUsageParams) SetCloud ¶
func (o *GetDeployerUsageParams) SetCloud(cloud *string)
SetCloud adds the cloud to the get deployer usage params
func (*GetDeployerUsageParams) SetContext ¶
func (o *GetDeployerUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the get deployer usage params
func (*GetDeployerUsageParams) SetFilterenddate ¶
func (o *GetDeployerUsageParams) SetFilterenddate(filterenddate *int64)
SetFilterenddate adds the filterenddate to the get deployer usage params
func (*GetDeployerUsageParams) SetHTTPClient ¶
func (o *GetDeployerUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployer usage params
func (*GetDeployerUsageParams) SetSince ¶
func (o *GetDeployerUsageParams) SetSince(since *int64)
SetSince adds the since to the get deployer usage params
func (*GetDeployerUsageParams) SetTimeout ¶
func (o *GetDeployerUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployer usage params
func (*GetDeployerUsageParams) SetUser ¶
func (o *GetDeployerUsageParams) SetUser(user *string)
SetUser adds the user to the get deployer usage params
func (*GetDeployerUsageParams) SetZone ¶
func (o *GetDeployerUsageParams) SetZone(zone *string)
SetZone adds the zone to the get deployer usage params
func (*GetDeployerUsageParams) WithAccount ¶
func (o *GetDeployerUsageParams) WithAccount(account *string) *GetDeployerUsageParams
WithAccount adds the account to the get deployer usage params
func (*GetDeployerUsageParams) WithCloud ¶
func (o *GetDeployerUsageParams) WithCloud(cloud *string) *GetDeployerUsageParams
WithCloud adds the cloud to the get deployer usage params
func (*GetDeployerUsageParams) WithContext ¶
func (o *GetDeployerUsageParams) WithContext(ctx context.Context) *GetDeployerUsageParams
WithContext adds the context to the get deployer usage params
func (*GetDeployerUsageParams) WithFilterenddate ¶
func (o *GetDeployerUsageParams) WithFilterenddate(filterenddate *int64) *GetDeployerUsageParams
WithFilterenddate adds the filterenddate to the get deployer usage params
func (*GetDeployerUsageParams) WithHTTPClient ¶
func (o *GetDeployerUsageParams) WithHTTPClient(client *http.Client) *GetDeployerUsageParams
WithHTTPClient adds the HTTPClient to the get deployer usage params
func (*GetDeployerUsageParams) WithSince ¶
func (o *GetDeployerUsageParams) WithSince(since *int64) *GetDeployerUsageParams
WithSince adds the since to the get deployer usage params
func (*GetDeployerUsageParams) WithTimeout ¶
func (o *GetDeployerUsageParams) WithTimeout(timeout time.Duration) *GetDeployerUsageParams
WithTimeout adds the timeout to the get deployer usage params
func (*GetDeployerUsageParams) WithUser ¶
func (o *GetDeployerUsageParams) WithUser(user *string) *GetDeployerUsageParams
WithUser adds the user to the get deployer usage params
func (*GetDeployerUsageParams) WithZone ¶
func (o *GetDeployerUsageParams) WithZone(zone *string) *GetDeployerUsageParams
WithZone adds the zone to the get deployer usage params
func (*GetDeployerUsageParams) WriteToRequest ¶
func (o *GetDeployerUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeployerUsageReader ¶
type GetDeployerUsageReader struct {
// contains filtered or unexported fields
}
GetDeployerUsageReader is a Reader for the GetDeployerUsage structure.
func (*GetDeployerUsageReader) ReadResponse ¶
func (o *GetDeployerUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLatestFlexUsageOK ¶
type GetLatestFlexUsageOK struct {
Payload *models_cloudbreak.CloudbreakFlexUsage
}
GetLatestFlexUsageOK handles this case with default header values.
successful operation
func NewGetLatestFlexUsageOK ¶
func NewGetLatestFlexUsageOK() *GetLatestFlexUsageOK
NewGetLatestFlexUsageOK creates a GetLatestFlexUsageOK with default headers values
func (*GetLatestFlexUsageOK) Error ¶
func (o *GetLatestFlexUsageOK) Error() string
type GetLatestFlexUsageParams ¶
type GetLatestFlexUsageParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLatestFlexUsageParams contains all the parameters to send to the API endpoint for the get latest flex usage operation typically these are written to a http.Request
func NewGetLatestFlexUsageParams ¶
func NewGetLatestFlexUsageParams() *GetLatestFlexUsageParams
NewGetLatestFlexUsageParams creates a new GetLatestFlexUsageParams object with the default values initialized.
func NewGetLatestFlexUsageParamsWithContext ¶
func NewGetLatestFlexUsageParamsWithContext(ctx context.Context) *GetLatestFlexUsageParams
NewGetLatestFlexUsageParamsWithContext creates a new GetLatestFlexUsageParams object with the default values initialized, and the ability to set a context for a request
func NewGetLatestFlexUsageParamsWithHTTPClient ¶
func NewGetLatestFlexUsageParamsWithHTTPClient(client *http.Client) *GetLatestFlexUsageParams
NewGetLatestFlexUsageParamsWithHTTPClient creates a new GetLatestFlexUsageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLatestFlexUsageParamsWithTimeout ¶
func NewGetLatestFlexUsageParamsWithTimeout(timeout time.Duration) *GetLatestFlexUsageParams
NewGetLatestFlexUsageParamsWithTimeout creates a new GetLatestFlexUsageParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLatestFlexUsageParams) SetContext ¶
func (o *GetLatestFlexUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the get latest flex usage params
func (*GetLatestFlexUsageParams) SetHTTPClient ¶
func (o *GetLatestFlexUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get latest flex usage params
func (*GetLatestFlexUsageParams) SetTimeout ¶
func (o *GetLatestFlexUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get latest flex usage params
func (*GetLatestFlexUsageParams) WithContext ¶
func (o *GetLatestFlexUsageParams) WithContext(ctx context.Context) *GetLatestFlexUsageParams
WithContext adds the context to the get latest flex usage params
func (*GetLatestFlexUsageParams) WithHTTPClient ¶
func (o *GetLatestFlexUsageParams) WithHTTPClient(client *http.Client) *GetLatestFlexUsageParams
WithHTTPClient adds the HTTPClient to the get latest flex usage params
func (*GetLatestFlexUsageParams) WithTimeout ¶
func (o *GetLatestFlexUsageParams) WithTimeout(timeout time.Duration) *GetLatestFlexUsageParams
WithTimeout adds the timeout to the get latest flex usage params
func (*GetLatestFlexUsageParams) WriteToRequest ¶
func (o *GetLatestFlexUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLatestFlexUsageReader ¶
type GetLatestFlexUsageReader struct {
// contains filtered or unexported fields
}
GetLatestFlexUsageReader is a Reader for the GetLatestFlexUsage structure.
func (*GetLatestFlexUsageReader) ReadResponse ¶
func (o *GetLatestFlexUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserUsageOK ¶
type GetUserUsageOK struct {
Payload []*models_cloudbreak.CloudbreakUsage
}
GetUserUsageOK handles this case with default header values.
successful operation
func NewGetUserUsageOK ¶
func NewGetUserUsageOK() *GetUserUsageOK
NewGetUserUsageOK creates a GetUserUsageOK with default headers values
func (*GetUserUsageOK) Error ¶
func (o *GetUserUsageOK) Error() string
type GetUserUsageParams ¶
type GetUserUsageParams struct { /*Cloud*/ Cloud *string /*Filterenddate*/ Filterenddate *int64 /*Since*/ Since *int64 /*Zone*/ Zone *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserUsageParams contains all the parameters to send to the API endpoint for the get user usage operation typically these are written to a http.Request
func NewGetUserUsageParams ¶
func NewGetUserUsageParams() *GetUserUsageParams
NewGetUserUsageParams creates a new GetUserUsageParams object with the default values initialized.
func NewGetUserUsageParamsWithContext ¶
func NewGetUserUsageParamsWithContext(ctx context.Context) *GetUserUsageParams
NewGetUserUsageParamsWithContext creates a new GetUserUsageParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserUsageParamsWithHTTPClient ¶
func NewGetUserUsageParamsWithHTTPClient(client *http.Client) *GetUserUsageParams
NewGetUserUsageParamsWithHTTPClient creates a new GetUserUsageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserUsageParamsWithTimeout ¶
func NewGetUserUsageParamsWithTimeout(timeout time.Duration) *GetUserUsageParams
NewGetUserUsageParamsWithTimeout creates a new GetUserUsageParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserUsageParams) SetCloud ¶
func (o *GetUserUsageParams) SetCloud(cloud *string)
SetCloud adds the cloud to the get user usage params
func (*GetUserUsageParams) SetContext ¶
func (o *GetUserUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the get user usage params
func (*GetUserUsageParams) SetFilterenddate ¶
func (o *GetUserUsageParams) SetFilterenddate(filterenddate *int64)
SetFilterenddate adds the filterenddate to the get user usage params
func (*GetUserUsageParams) SetHTTPClient ¶
func (o *GetUserUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user usage params
func (*GetUserUsageParams) SetSince ¶
func (o *GetUserUsageParams) SetSince(since *int64)
SetSince adds the since to the get user usage params
func (*GetUserUsageParams) SetTimeout ¶
func (o *GetUserUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user usage params
func (*GetUserUsageParams) SetZone ¶
func (o *GetUserUsageParams) SetZone(zone *string)
SetZone adds the zone to the get user usage params
func (*GetUserUsageParams) WithCloud ¶
func (o *GetUserUsageParams) WithCloud(cloud *string) *GetUserUsageParams
WithCloud adds the cloud to the get user usage params
func (*GetUserUsageParams) WithContext ¶
func (o *GetUserUsageParams) WithContext(ctx context.Context) *GetUserUsageParams
WithContext adds the context to the get user usage params
func (*GetUserUsageParams) WithFilterenddate ¶
func (o *GetUserUsageParams) WithFilterenddate(filterenddate *int64) *GetUserUsageParams
WithFilterenddate adds the filterenddate to the get user usage params
func (*GetUserUsageParams) WithHTTPClient ¶
func (o *GetUserUsageParams) WithHTTPClient(client *http.Client) *GetUserUsageParams
WithHTTPClient adds the HTTPClient to the get user usage params
func (*GetUserUsageParams) WithSince ¶
func (o *GetUserUsageParams) WithSince(since *int64) *GetUserUsageParams
WithSince adds the since to the get user usage params
func (*GetUserUsageParams) WithTimeout ¶
func (o *GetUserUsageParams) WithTimeout(timeout time.Duration) *GetUserUsageParams
WithTimeout adds the timeout to the get user usage params
func (*GetUserUsageParams) WithZone ¶
func (o *GetUserUsageParams) WithZone(zone *string) *GetUserUsageParams
WithZone adds the zone to the get user usage params
func (*GetUserUsageParams) WriteToRequest ¶
func (o *GetUserUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserUsageReader ¶
type GetUserUsageReader struct {
// contains filtered or unexported fields
}
GetUserUsageReader is a Reader for the GetUserUsage structure.
func (*GetUserUsageReader) ReadResponse ¶
func (o *GetUserUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_account_usage_parameters.go
- get_account_usage_responses.go
- get_daily_flex_usage_parameters.go
- get_daily_flex_usage_responses.go
- get_deployer_usage_parameters.go
- get_deployer_usage_responses.go
- get_latest_flex_usage_parameters.go
- get_latest_flex_usage_responses.go
- get_user_usage_parameters.go
- get_user_usage_responses.go
- v1usages_client.go