Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateMachineReservation(params *CreateMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateMachineReservationCreated, error)
- func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateProjectCreated, error)
- func (a *Client) DeleteMachineReservation(params *DeleteMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteMachineReservationOK, error)
- func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProjectOK, error)
- func (a *Client) FindProject(params *FindProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindProjectOK, error)
- func (a *Client) FindProjects(params *FindProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindProjectsOK, error)
- func (a *Client) GetMachineReservation(params *GetMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMachineReservationOK, error)
- func (a *Client) ListMachineReservations(params *ListMachineReservationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListMachineReservationsOK, error)
- func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProjectsOK, error)
- func (a *Client) MachineReservationsUsage(params *MachineReservationsUsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MachineReservationsUsageOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateMachineReservation(params *UpdateMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateMachineReservationOK, error)
- func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateProjectOK, error)
- type ClientOption
- type ClientService
- type CreateMachineReservationConflict
- func (o *CreateMachineReservationConflict) Code() int
- func (o *CreateMachineReservationConflict) Error() string
- func (o *CreateMachineReservationConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateMachineReservationConflict) IsClientError() bool
- func (o *CreateMachineReservationConflict) IsCode(code int) bool
- func (o *CreateMachineReservationConflict) IsRedirect() bool
- func (o *CreateMachineReservationConflict) IsServerError() bool
- func (o *CreateMachineReservationConflict) IsSuccess() bool
- func (o *CreateMachineReservationConflict) String() string
- type CreateMachineReservationCreated
- func (o *CreateMachineReservationCreated) Code() int
- func (o *CreateMachineReservationCreated) Error() string
- func (o *CreateMachineReservationCreated) GetPayload() *models.V1MachineReservationResponse
- func (o *CreateMachineReservationCreated) IsClientError() bool
- func (o *CreateMachineReservationCreated) IsCode(code int) bool
- func (o *CreateMachineReservationCreated) IsRedirect() bool
- func (o *CreateMachineReservationCreated) IsServerError() bool
- func (o *CreateMachineReservationCreated) IsSuccess() bool
- func (o *CreateMachineReservationCreated) String() string
- type CreateMachineReservationDefault
- func (o *CreateMachineReservationDefault) Code() int
- func (o *CreateMachineReservationDefault) Error() string
- func (o *CreateMachineReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateMachineReservationDefault) IsClientError() bool
- func (o *CreateMachineReservationDefault) IsCode(code int) bool
- func (o *CreateMachineReservationDefault) IsRedirect() bool
- func (o *CreateMachineReservationDefault) IsServerError() bool
- func (o *CreateMachineReservationDefault) IsSuccess() bool
- func (o *CreateMachineReservationDefault) String() string
- type CreateMachineReservationParams
- func NewCreateMachineReservationParams() *CreateMachineReservationParams
- func NewCreateMachineReservationParamsWithContext(ctx context.Context) *CreateMachineReservationParams
- func NewCreateMachineReservationParamsWithHTTPClient(client *http.Client) *CreateMachineReservationParams
- func NewCreateMachineReservationParamsWithTimeout(timeout time.Duration) *CreateMachineReservationParams
- func (o *CreateMachineReservationParams) SetBody(body *models.V1MachineReservationCreateRequest)
- func (o *CreateMachineReservationParams) SetContext(ctx context.Context)
- func (o *CreateMachineReservationParams) SetDefaults()
- func (o *CreateMachineReservationParams) SetForce(force *bool)
- func (o *CreateMachineReservationParams) SetHTTPClient(client *http.Client)
- func (o *CreateMachineReservationParams) SetTimeout(timeout time.Duration)
- func (o *CreateMachineReservationParams) WithBody(body *models.V1MachineReservationCreateRequest) *CreateMachineReservationParams
- func (o *CreateMachineReservationParams) WithContext(ctx context.Context) *CreateMachineReservationParams
- func (o *CreateMachineReservationParams) WithDefaults() *CreateMachineReservationParams
- func (o *CreateMachineReservationParams) WithForce(force *bool) *CreateMachineReservationParams
- func (o *CreateMachineReservationParams) WithHTTPClient(client *http.Client) *CreateMachineReservationParams
- func (o *CreateMachineReservationParams) WithTimeout(timeout time.Duration) *CreateMachineReservationParams
- func (o *CreateMachineReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMachineReservationReader
- type CreateProjectConflict
- func (o *CreateProjectConflict) Code() int
- func (o *CreateProjectConflict) Error() string
- func (o *CreateProjectConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateProjectConflict) IsClientError() bool
- func (o *CreateProjectConflict) IsCode(code int) bool
- func (o *CreateProjectConflict) IsRedirect() bool
- func (o *CreateProjectConflict) IsServerError() bool
- func (o *CreateProjectConflict) IsSuccess() bool
- func (o *CreateProjectConflict) String() string
- type CreateProjectCreated
- func (o *CreateProjectCreated) Code() int
- func (o *CreateProjectCreated) Error() string
- func (o *CreateProjectCreated) GetPayload() *models.V1ProjectResponse
- func (o *CreateProjectCreated) IsClientError() bool
- func (o *CreateProjectCreated) IsCode(code int) bool
- func (o *CreateProjectCreated) IsRedirect() bool
- func (o *CreateProjectCreated) IsServerError() bool
- func (o *CreateProjectCreated) IsSuccess() bool
- func (o *CreateProjectCreated) String() string
- type CreateProjectDefault
- func (o *CreateProjectDefault) Code() int
- func (o *CreateProjectDefault) Error() string
- func (o *CreateProjectDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateProjectDefault) IsClientError() bool
- func (o *CreateProjectDefault) IsCode(code int) bool
- func (o *CreateProjectDefault) IsRedirect() bool
- func (o *CreateProjectDefault) IsServerError() bool
- func (o *CreateProjectDefault) IsSuccess() bool
- func (o *CreateProjectDefault) String() string
- type CreateProjectParams
- func (o *CreateProjectParams) SetBody(body *models.V1ProjectCreateRequest)
- func (o *CreateProjectParams) SetContext(ctx context.Context)
- func (o *CreateProjectParams) SetDefaults()
- func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectParams) WithBody(body *models.V1ProjectCreateRequest) *CreateProjectParams
- func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
- func (o *CreateProjectParams) WithDefaults() *CreateProjectParams
- func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
- func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
- func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectReader
- type DeleteMachineReservationDefault
- func (o *DeleteMachineReservationDefault) Code() int
- func (o *DeleteMachineReservationDefault) Error() string
- func (o *DeleteMachineReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *DeleteMachineReservationDefault) IsClientError() bool
- func (o *DeleteMachineReservationDefault) IsCode(code int) bool
- func (o *DeleteMachineReservationDefault) IsRedirect() bool
- func (o *DeleteMachineReservationDefault) IsServerError() bool
- func (o *DeleteMachineReservationDefault) IsSuccess() bool
- func (o *DeleteMachineReservationDefault) String() string
- type DeleteMachineReservationOK
- func (o *DeleteMachineReservationOK) Code() int
- func (o *DeleteMachineReservationOK) Error() string
- func (o *DeleteMachineReservationOK) GetPayload() *models.V1MachineReservationResponse
- func (o *DeleteMachineReservationOK) IsClientError() bool
- func (o *DeleteMachineReservationOK) IsCode(code int) bool
- func (o *DeleteMachineReservationOK) IsRedirect() bool
- func (o *DeleteMachineReservationOK) IsServerError() bool
- func (o *DeleteMachineReservationOK) IsSuccess() bool
- func (o *DeleteMachineReservationOK) String() string
- type DeleteMachineReservationParams
- func NewDeleteMachineReservationParams() *DeleteMachineReservationParams
- func NewDeleteMachineReservationParamsWithContext(ctx context.Context) *DeleteMachineReservationParams
- func NewDeleteMachineReservationParamsWithHTTPClient(client *http.Client) *DeleteMachineReservationParams
- func NewDeleteMachineReservationParamsWithTimeout(timeout time.Duration) *DeleteMachineReservationParams
- func (o *DeleteMachineReservationParams) SetContext(ctx context.Context)
- func (o *DeleteMachineReservationParams) SetDefaults()
- func (o *DeleteMachineReservationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMachineReservationParams) SetID(id string)
- func (o *DeleteMachineReservationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMachineReservationParams) WithContext(ctx context.Context) *DeleteMachineReservationParams
- func (o *DeleteMachineReservationParams) WithDefaults() *DeleteMachineReservationParams
- func (o *DeleteMachineReservationParams) WithHTTPClient(client *http.Client) *DeleteMachineReservationParams
- func (o *DeleteMachineReservationParams) WithID(id string) *DeleteMachineReservationParams
- func (o *DeleteMachineReservationParams) WithTimeout(timeout time.Duration) *DeleteMachineReservationParams
- func (o *DeleteMachineReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMachineReservationReader
- type DeleteProjectDefault
- func (o *DeleteProjectDefault) Code() int
- func (o *DeleteProjectDefault) Error() string
- func (o *DeleteProjectDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *DeleteProjectDefault) IsClientError() bool
- func (o *DeleteProjectDefault) IsCode(code int) bool
- func (o *DeleteProjectDefault) IsRedirect() bool
- func (o *DeleteProjectDefault) IsServerError() bool
- func (o *DeleteProjectDefault) IsSuccess() bool
- func (o *DeleteProjectDefault) String() string
- type DeleteProjectOK
- func (o *DeleteProjectOK) Code() int
- func (o *DeleteProjectOK) Error() string
- func (o *DeleteProjectOK) GetPayload() *models.V1ProjectResponse
- func (o *DeleteProjectOK) IsClientError() bool
- func (o *DeleteProjectOK) IsCode(code int) bool
- func (o *DeleteProjectOK) IsRedirect() bool
- func (o *DeleteProjectOK) IsServerError() bool
- func (o *DeleteProjectOK) IsSuccess() bool
- func (o *DeleteProjectOK) String() string
- type DeleteProjectParams
- func (o *DeleteProjectParams) SetContext(ctx context.Context)
- func (o *DeleteProjectParams) SetDefaults()
- func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectParams) SetID(id string)
- func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
- func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams
- func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
- func (o *DeleteProjectParams) WithID(id string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
- func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectReader
- type FindProjectDefault
- func (o *FindProjectDefault) Code() int
- func (o *FindProjectDefault) Error() string
- func (o *FindProjectDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindProjectDefault) IsClientError() bool
- func (o *FindProjectDefault) IsCode(code int) bool
- func (o *FindProjectDefault) IsRedirect() bool
- func (o *FindProjectDefault) IsServerError() bool
- func (o *FindProjectDefault) IsSuccess() bool
- func (o *FindProjectDefault) String() string
- type FindProjectOK
- func (o *FindProjectOK) Code() int
- func (o *FindProjectOK) Error() string
- func (o *FindProjectOK) GetPayload() *models.V1ProjectResponse
- func (o *FindProjectOK) IsClientError() bool
- func (o *FindProjectOK) IsCode(code int) bool
- func (o *FindProjectOK) IsRedirect() bool
- func (o *FindProjectOK) IsServerError() bool
- func (o *FindProjectOK) IsSuccess() bool
- func (o *FindProjectOK) String() string
- type FindProjectParams
- func (o *FindProjectParams) SetContext(ctx context.Context)
- func (o *FindProjectParams) SetDefaults()
- func (o *FindProjectParams) SetHTTPClient(client *http.Client)
- func (o *FindProjectParams) SetID(id string)
- func (o *FindProjectParams) SetTimeout(timeout time.Duration)
- func (o *FindProjectParams) WithContext(ctx context.Context) *FindProjectParams
- func (o *FindProjectParams) WithDefaults() *FindProjectParams
- func (o *FindProjectParams) WithHTTPClient(client *http.Client) *FindProjectParams
- func (o *FindProjectParams) WithID(id string) *FindProjectParams
- func (o *FindProjectParams) WithTimeout(timeout time.Duration) *FindProjectParams
- func (o *FindProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindProjectReader
- type FindProjectsDefault
- func (o *FindProjectsDefault) Code() int
- func (o *FindProjectsDefault) Error() string
- func (o *FindProjectsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindProjectsDefault) IsClientError() bool
- func (o *FindProjectsDefault) IsCode(code int) bool
- func (o *FindProjectsDefault) IsRedirect() bool
- func (o *FindProjectsDefault) IsServerError() bool
- func (o *FindProjectsDefault) IsSuccess() bool
- func (o *FindProjectsDefault) String() string
- type FindProjectsOK
- func (o *FindProjectsOK) Code() int
- func (o *FindProjectsOK) Error() string
- func (o *FindProjectsOK) GetPayload() *models.V1ProjectListResponse
- func (o *FindProjectsOK) IsClientError() bool
- func (o *FindProjectsOK) IsCode(code int) bool
- func (o *FindProjectsOK) IsRedirect() bool
- func (o *FindProjectsOK) IsServerError() bool
- func (o *FindProjectsOK) IsSuccess() bool
- func (o *FindProjectsOK) String() string
- type FindProjectsParams
- func (o *FindProjectsParams) SetBody(body *models.V1ProjectFindRequest)
- func (o *FindProjectsParams) SetContext(ctx context.Context)
- func (o *FindProjectsParams) SetDefaults()
- func (o *FindProjectsParams) SetHTTPClient(client *http.Client)
- func (o *FindProjectsParams) SetTimeout(timeout time.Duration)
- func (o *FindProjectsParams) WithBody(body *models.V1ProjectFindRequest) *FindProjectsParams
- func (o *FindProjectsParams) WithContext(ctx context.Context) *FindProjectsParams
- func (o *FindProjectsParams) WithDefaults() *FindProjectsParams
- func (o *FindProjectsParams) WithHTTPClient(client *http.Client) *FindProjectsParams
- func (o *FindProjectsParams) WithTimeout(timeout time.Duration) *FindProjectsParams
- func (o *FindProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindProjectsReader
- type GetMachineReservationDefault
- func (o *GetMachineReservationDefault) Code() int
- func (o *GetMachineReservationDefault) Error() string
- func (o *GetMachineReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *GetMachineReservationDefault) IsClientError() bool
- func (o *GetMachineReservationDefault) IsCode(code int) bool
- func (o *GetMachineReservationDefault) IsRedirect() bool
- func (o *GetMachineReservationDefault) IsServerError() bool
- func (o *GetMachineReservationDefault) IsSuccess() bool
- func (o *GetMachineReservationDefault) String() string
- type GetMachineReservationOK
- func (o *GetMachineReservationOK) Code() int
- func (o *GetMachineReservationOK) Error() string
- func (o *GetMachineReservationOK) GetPayload() *models.V1MachineReservationResponse
- func (o *GetMachineReservationOK) IsClientError() bool
- func (o *GetMachineReservationOK) IsCode(code int) bool
- func (o *GetMachineReservationOK) IsRedirect() bool
- func (o *GetMachineReservationOK) IsServerError() bool
- func (o *GetMachineReservationOK) IsSuccess() bool
- func (o *GetMachineReservationOK) String() string
- type GetMachineReservationParams
- func NewGetMachineReservationParams() *GetMachineReservationParams
- func NewGetMachineReservationParamsWithContext(ctx context.Context) *GetMachineReservationParams
- func NewGetMachineReservationParamsWithHTTPClient(client *http.Client) *GetMachineReservationParams
- func NewGetMachineReservationParamsWithTimeout(timeout time.Duration) *GetMachineReservationParams
- func (o *GetMachineReservationParams) SetContext(ctx context.Context)
- func (o *GetMachineReservationParams) SetDefaults()
- func (o *GetMachineReservationParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineReservationParams) SetID(id string)
- func (o *GetMachineReservationParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineReservationParams) WithContext(ctx context.Context) *GetMachineReservationParams
- func (o *GetMachineReservationParams) WithDefaults() *GetMachineReservationParams
- func (o *GetMachineReservationParams) WithHTTPClient(client *http.Client) *GetMachineReservationParams
- func (o *GetMachineReservationParams) WithID(id string) *GetMachineReservationParams
- func (o *GetMachineReservationParams) WithTimeout(timeout time.Duration) *GetMachineReservationParams
- func (o *GetMachineReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineReservationReader
- type ListMachineReservationsDefault
- func (o *ListMachineReservationsDefault) Code() int
- func (o *ListMachineReservationsDefault) Error() string
- func (o *ListMachineReservationsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListMachineReservationsDefault) IsClientError() bool
- func (o *ListMachineReservationsDefault) IsCode(code int) bool
- func (o *ListMachineReservationsDefault) IsRedirect() bool
- func (o *ListMachineReservationsDefault) IsServerError() bool
- func (o *ListMachineReservationsDefault) IsSuccess() bool
- func (o *ListMachineReservationsDefault) String() string
- type ListMachineReservationsOK
- func (o *ListMachineReservationsOK) Code() int
- func (o *ListMachineReservationsOK) Error() string
- func (o *ListMachineReservationsOK) GetPayload() []*models.V1MachineReservationResponse
- func (o *ListMachineReservationsOK) IsClientError() bool
- func (o *ListMachineReservationsOK) IsCode(code int) bool
- func (o *ListMachineReservationsOK) IsRedirect() bool
- func (o *ListMachineReservationsOK) IsServerError() bool
- func (o *ListMachineReservationsOK) IsSuccess() bool
- func (o *ListMachineReservationsOK) String() string
- type ListMachineReservationsParams
- func NewListMachineReservationsParams() *ListMachineReservationsParams
- func NewListMachineReservationsParamsWithContext(ctx context.Context) *ListMachineReservationsParams
- func NewListMachineReservationsParamsWithHTTPClient(client *http.Client) *ListMachineReservationsParams
- func NewListMachineReservationsParamsWithTimeout(timeout time.Duration) *ListMachineReservationsParams
- func (o *ListMachineReservationsParams) SetBody(body *models.V1MachineReservationFindRequest)
- func (o *ListMachineReservationsParams) SetContext(ctx context.Context)
- func (o *ListMachineReservationsParams) SetDefaults()
- func (o *ListMachineReservationsParams) SetHTTPClient(client *http.Client)
- func (o *ListMachineReservationsParams) SetTimeout(timeout time.Duration)
- func (o *ListMachineReservationsParams) WithBody(body *models.V1MachineReservationFindRequest) *ListMachineReservationsParams
- func (o *ListMachineReservationsParams) WithContext(ctx context.Context) *ListMachineReservationsParams
- func (o *ListMachineReservationsParams) WithDefaults() *ListMachineReservationsParams
- func (o *ListMachineReservationsParams) WithHTTPClient(client *http.Client) *ListMachineReservationsParams
- func (o *ListMachineReservationsParams) WithTimeout(timeout time.Duration) *ListMachineReservationsParams
- func (o *ListMachineReservationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMachineReservationsReader
- type ListProjectsDefault
- func (o *ListProjectsDefault) Code() int
- func (o *ListProjectsDefault) Error() string
- func (o *ListProjectsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListProjectsDefault) IsClientError() bool
- func (o *ListProjectsDefault) IsCode(code int) bool
- func (o *ListProjectsDefault) IsRedirect() bool
- func (o *ListProjectsDefault) IsServerError() bool
- func (o *ListProjectsDefault) IsSuccess() bool
- func (o *ListProjectsDefault) String() string
- type ListProjectsOK
- func (o *ListProjectsOK) Code() int
- func (o *ListProjectsOK) Error() string
- func (o *ListProjectsOK) GetPayload() *models.V1ProjectListResponse
- func (o *ListProjectsOK) IsClientError() bool
- func (o *ListProjectsOK) IsCode(code int) bool
- func (o *ListProjectsOK) IsRedirect() bool
- func (o *ListProjectsOK) IsServerError() bool
- func (o *ListProjectsOK) IsSuccess() bool
- func (o *ListProjectsOK) String() string
- type ListProjectsParams
- func (o *ListProjectsParams) SetContext(ctx context.Context)
- func (o *ListProjectsParams) SetDefaults()
- func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
- func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
- func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
- func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
- func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectsReader
- type MachineReservationsUsageDefault
- func (o *MachineReservationsUsageDefault) Code() int
- func (o *MachineReservationsUsageDefault) Error() string
- func (o *MachineReservationsUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *MachineReservationsUsageDefault) IsClientError() bool
- func (o *MachineReservationsUsageDefault) IsCode(code int) bool
- func (o *MachineReservationsUsageDefault) IsRedirect() bool
- func (o *MachineReservationsUsageDefault) IsServerError() bool
- func (o *MachineReservationsUsageDefault) IsSuccess() bool
- func (o *MachineReservationsUsageDefault) String() string
- type MachineReservationsUsageOK
- func (o *MachineReservationsUsageOK) Code() int
- func (o *MachineReservationsUsageOK) Error() string
- func (o *MachineReservationsUsageOK) GetPayload() []*models.V1MachineReservationUsageResponse
- func (o *MachineReservationsUsageOK) IsClientError() bool
- func (o *MachineReservationsUsageOK) IsCode(code int) bool
- func (o *MachineReservationsUsageOK) IsRedirect() bool
- func (o *MachineReservationsUsageOK) IsServerError() bool
- func (o *MachineReservationsUsageOK) IsSuccess() bool
- func (o *MachineReservationsUsageOK) String() string
- type MachineReservationsUsageParams
- func NewMachineReservationsUsageParams() *MachineReservationsUsageParams
- func NewMachineReservationsUsageParamsWithContext(ctx context.Context) *MachineReservationsUsageParams
- func NewMachineReservationsUsageParamsWithHTTPClient(client *http.Client) *MachineReservationsUsageParams
- func NewMachineReservationsUsageParamsWithTimeout(timeout time.Duration) *MachineReservationsUsageParams
- func (o *MachineReservationsUsageParams) SetBody(body *models.V1MachineReservationFindRequest)
- func (o *MachineReservationsUsageParams) SetContext(ctx context.Context)
- func (o *MachineReservationsUsageParams) SetDefaults()
- func (o *MachineReservationsUsageParams) SetHTTPClient(client *http.Client)
- func (o *MachineReservationsUsageParams) SetTimeout(timeout time.Duration)
- func (o *MachineReservationsUsageParams) WithBody(body *models.V1MachineReservationFindRequest) *MachineReservationsUsageParams
- func (o *MachineReservationsUsageParams) WithContext(ctx context.Context) *MachineReservationsUsageParams
- func (o *MachineReservationsUsageParams) WithDefaults() *MachineReservationsUsageParams
- func (o *MachineReservationsUsageParams) WithHTTPClient(client *http.Client) *MachineReservationsUsageParams
- func (o *MachineReservationsUsageParams) WithTimeout(timeout time.Duration) *MachineReservationsUsageParams
- func (o *MachineReservationsUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MachineReservationsUsageReader
- type UpdateMachineReservationDefault
- func (o *UpdateMachineReservationDefault) Code() int
- func (o *UpdateMachineReservationDefault) Error() string
- func (o *UpdateMachineReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateMachineReservationDefault) IsClientError() bool
- func (o *UpdateMachineReservationDefault) IsCode(code int) bool
- func (o *UpdateMachineReservationDefault) IsRedirect() bool
- func (o *UpdateMachineReservationDefault) IsServerError() bool
- func (o *UpdateMachineReservationDefault) IsSuccess() bool
- func (o *UpdateMachineReservationDefault) String() string
- type UpdateMachineReservationOK
- func (o *UpdateMachineReservationOK) Code() int
- func (o *UpdateMachineReservationOK) Error() string
- func (o *UpdateMachineReservationOK) GetPayload() *models.V1MachineReservationResponse
- func (o *UpdateMachineReservationOK) IsClientError() bool
- func (o *UpdateMachineReservationOK) IsCode(code int) bool
- func (o *UpdateMachineReservationOK) IsRedirect() bool
- func (o *UpdateMachineReservationOK) IsServerError() bool
- func (o *UpdateMachineReservationOK) IsSuccess() bool
- func (o *UpdateMachineReservationOK) String() string
- type UpdateMachineReservationParams
- func NewUpdateMachineReservationParams() *UpdateMachineReservationParams
- func NewUpdateMachineReservationParamsWithContext(ctx context.Context) *UpdateMachineReservationParams
- func NewUpdateMachineReservationParamsWithHTTPClient(client *http.Client) *UpdateMachineReservationParams
- func NewUpdateMachineReservationParamsWithTimeout(timeout time.Duration) *UpdateMachineReservationParams
- func (o *UpdateMachineReservationParams) SetBody(body *models.V1MachineReservationUpdateRequest)
- func (o *UpdateMachineReservationParams) SetContext(ctx context.Context)
- func (o *UpdateMachineReservationParams) SetDefaults()
- func (o *UpdateMachineReservationParams) SetForce(force *bool)
- func (o *UpdateMachineReservationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMachineReservationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMachineReservationParams) WithBody(body *models.V1MachineReservationUpdateRequest) *UpdateMachineReservationParams
- func (o *UpdateMachineReservationParams) WithContext(ctx context.Context) *UpdateMachineReservationParams
- func (o *UpdateMachineReservationParams) WithDefaults() *UpdateMachineReservationParams
- func (o *UpdateMachineReservationParams) WithForce(force *bool) *UpdateMachineReservationParams
- func (o *UpdateMachineReservationParams) WithHTTPClient(client *http.Client) *UpdateMachineReservationParams
- func (o *UpdateMachineReservationParams) WithTimeout(timeout time.Duration) *UpdateMachineReservationParams
- func (o *UpdateMachineReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMachineReservationReader
- type UpdateProjectDefault
- func (o *UpdateProjectDefault) Code() int
- func (o *UpdateProjectDefault) Error() string
- func (o *UpdateProjectDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateProjectDefault) IsClientError() bool
- func (o *UpdateProjectDefault) IsCode(code int) bool
- func (o *UpdateProjectDefault) IsRedirect() bool
- func (o *UpdateProjectDefault) IsServerError() bool
- func (o *UpdateProjectDefault) IsSuccess() bool
- func (o *UpdateProjectDefault) String() string
- type UpdateProjectOK
- func (o *UpdateProjectOK) Code() int
- func (o *UpdateProjectOK) Error() string
- func (o *UpdateProjectOK) GetPayload() *models.V1ProjectResponse
- func (o *UpdateProjectOK) IsClientError() bool
- func (o *UpdateProjectOK) IsCode(code int) bool
- func (o *UpdateProjectOK) IsRedirect() bool
- func (o *UpdateProjectOK) IsServerError() bool
- func (o *UpdateProjectOK) IsSuccess() bool
- func (o *UpdateProjectOK) String() string
- type UpdateProjectParams
- func (o *UpdateProjectParams) SetBody(body *models.V1ProjectUpdateRequest)
- func (o *UpdateProjectParams) SetContext(ctx context.Context)
- func (o *UpdateProjectParams) SetDefaults()
- func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectParams) WithBody(body *models.V1ProjectUpdateRequest) *UpdateProjectParams
- func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
- func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams
- func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
- func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
- func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectPreconditionFailed
- func (o *UpdateProjectPreconditionFailed) Code() int
- func (o *UpdateProjectPreconditionFailed) Error() string
- func (o *UpdateProjectPreconditionFailed) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateProjectPreconditionFailed) IsClientError() bool
- func (o *UpdateProjectPreconditionFailed) IsCode(code int) bool
- func (o *UpdateProjectPreconditionFailed) IsRedirect() bool
- func (o *UpdateProjectPreconditionFailed) IsServerError() bool
- func (o *UpdateProjectPreconditionFailed) IsSuccess() bool
- func (o *UpdateProjectPreconditionFailed) String() string
- type UpdateProjectReader
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 project API
func (*Client) CreateMachineReservation ¶ added in v0.29.0
func (a *Client) CreateMachineReservation(params *CreateMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMachineReservationCreated, error)
CreateMachineReservation creates a machine reservation
func (*Client) CreateProject ¶
func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectCreated, error)
CreateProject creates a project if the given ID already exists a conflict is returned
func (*Client) DeleteMachineReservation ¶ added in v0.29.0
func (a *Client) DeleteMachineReservation(params *DeleteMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMachineReservationOK, error)
DeleteMachineReservation deletes a machine reservation
func (*Client) DeleteProject ¶
func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, error)
DeleteProject deletes a project and returns the deleted entity
func (*Client) FindProject ¶
func (a *Client) FindProject(params *FindProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindProjectOK, error)
FindProject gets project by id
func (*Client) FindProjects ¶ added in v0.18.16
func (a *Client) FindProjects(params *FindProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindProjectsOK, error)
FindProjects finds projects by multiple criteria
func (*Client) GetMachineReservation ¶ added in v0.29.0
func (a *Client) GetMachineReservation(params *GetMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMachineReservationOK, error)
GetMachineReservation gets a machine reservation
func (*Client) ListMachineReservations ¶ added in v0.29.0
func (a *Client) ListMachineReservations(params *ListMachineReservationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMachineReservationsOK, error)
ListMachineReservations gets all machine reservations
func (*Client) ListProjects ¶
func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error)
ListProjects gets all projects
func (*Client) MachineReservationsUsage ¶ added in v0.29.0
func (a *Client) MachineReservationsUsage(params *MachineReservationsUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineReservationsUsageOK, error)
MachineReservationsUsage gets usage of machine reservations
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateMachineReservation ¶ added in v0.29.0
func (a *Client) UpdateMachineReservation(params *UpdateMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateMachineReservationOK, error)
UpdateMachineReservation updates a machine reservation
func (*Client) UpdateProject ¶
func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, error)
UpdateProject updates a project optimistic lock error can occur
type ClientOption ¶ added in v0.15.4
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶ added in v0.9.1
type ClientService interface { CreateMachineReservation(params *CreateMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMachineReservationCreated, error) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectCreated, error) DeleteMachineReservation(params *DeleteMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMachineReservationOK, error) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, error) FindProject(params *FindProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindProjectOK, error) FindProjects(params *FindProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindProjectsOK, error) GetMachineReservation(params *GetMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMachineReservationOK, error) ListMachineReservations(params *ListMachineReservationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMachineReservationsOK, error) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error) MachineReservationsUsage(params *MachineReservationsUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineReservationsUsageOK, error) UpdateMachineReservation(params *UpdateMachineReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateMachineReservationOK, error) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new project API client.
func NewClientWithBasicAuth ¶ added in v0.26.8
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new project API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.26.8
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new project API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateMachineReservationConflict ¶ added in v0.29.0
type CreateMachineReservationConflict struct {
Payload *httperrors.HTTPErrorResponse
}
CreateMachineReservationConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateMachineReservationConflict ¶ added in v0.29.0
func NewCreateMachineReservationConflict() *CreateMachineReservationConflict
NewCreateMachineReservationConflict creates a CreateMachineReservationConflict with default headers values
func (*CreateMachineReservationConflict) Code ¶ added in v0.29.0
func (o *CreateMachineReservationConflict) Code() int
Code gets the status code for the create machine reservation conflict response
func (*CreateMachineReservationConflict) Error ¶ added in v0.29.0
func (o *CreateMachineReservationConflict) Error() string
func (*CreateMachineReservationConflict) GetPayload ¶ added in v0.29.0
func (o *CreateMachineReservationConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateMachineReservationConflict) IsClientError ¶ added in v0.29.0
func (o *CreateMachineReservationConflict) IsClientError() bool
IsClientError returns true when this create machine reservation conflict response has a 4xx status code
func (*CreateMachineReservationConflict) IsCode ¶ added in v0.29.0
func (o *CreateMachineReservationConflict) IsCode(code int) bool
IsCode returns true when this create machine reservation conflict response a status code equal to that given
func (*CreateMachineReservationConflict) IsRedirect ¶ added in v0.29.0
func (o *CreateMachineReservationConflict) IsRedirect() bool
IsRedirect returns true when this create machine reservation conflict response has a 3xx status code
func (*CreateMachineReservationConflict) IsServerError ¶ added in v0.29.0
func (o *CreateMachineReservationConflict) IsServerError() bool
IsServerError returns true when this create machine reservation conflict response has a 5xx status code
func (*CreateMachineReservationConflict) IsSuccess ¶ added in v0.29.0
func (o *CreateMachineReservationConflict) IsSuccess() bool
IsSuccess returns true when this create machine reservation conflict response has a 2xx status code
func (*CreateMachineReservationConflict) String ¶ added in v0.29.0
func (o *CreateMachineReservationConflict) String() string
type CreateMachineReservationCreated ¶ added in v0.29.0
type CreateMachineReservationCreated struct {
Payload *models.V1MachineReservationResponse
}
CreateMachineReservationCreated describes a response with status code 201, with default header values.
Created
func NewCreateMachineReservationCreated ¶ added in v0.29.0
func NewCreateMachineReservationCreated() *CreateMachineReservationCreated
NewCreateMachineReservationCreated creates a CreateMachineReservationCreated with default headers values
func (*CreateMachineReservationCreated) Code ¶ added in v0.29.0
func (o *CreateMachineReservationCreated) Code() int
Code gets the status code for the create machine reservation created response
func (*CreateMachineReservationCreated) Error ¶ added in v0.29.0
func (o *CreateMachineReservationCreated) Error() string
func (*CreateMachineReservationCreated) GetPayload ¶ added in v0.29.0
func (o *CreateMachineReservationCreated) GetPayload() *models.V1MachineReservationResponse
func (*CreateMachineReservationCreated) IsClientError ¶ added in v0.29.0
func (o *CreateMachineReservationCreated) IsClientError() bool
IsClientError returns true when this create machine reservation created response has a 4xx status code
func (*CreateMachineReservationCreated) IsCode ¶ added in v0.29.0
func (o *CreateMachineReservationCreated) IsCode(code int) bool
IsCode returns true when this create machine reservation created response a status code equal to that given
func (*CreateMachineReservationCreated) IsRedirect ¶ added in v0.29.0
func (o *CreateMachineReservationCreated) IsRedirect() bool
IsRedirect returns true when this create machine reservation created response has a 3xx status code
func (*CreateMachineReservationCreated) IsServerError ¶ added in v0.29.0
func (o *CreateMachineReservationCreated) IsServerError() bool
IsServerError returns true when this create machine reservation created response has a 5xx status code
func (*CreateMachineReservationCreated) IsSuccess ¶ added in v0.29.0
func (o *CreateMachineReservationCreated) IsSuccess() bool
IsSuccess returns true when this create machine reservation created response has a 2xx status code
func (*CreateMachineReservationCreated) String ¶ added in v0.29.0
func (o *CreateMachineReservationCreated) String() string
type CreateMachineReservationDefault ¶ added in v0.29.0
type CreateMachineReservationDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
CreateMachineReservationDefault describes a response with status code -1, with default header values.
Error
func NewCreateMachineReservationDefault ¶ added in v0.29.0
func NewCreateMachineReservationDefault(code int) *CreateMachineReservationDefault
NewCreateMachineReservationDefault creates a CreateMachineReservationDefault with default headers values
func (*CreateMachineReservationDefault) Code ¶ added in v0.29.0
func (o *CreateMachineReservationDefault) Code() int
Code gets the status code for the create machine reservation default response
func (*CreateMachineReservationDefault) Error ¶ added in v0.29.0
func (o *CreateMachineReservationDefault) Error() string
func (*CreateMachineReservationDefault) GetPayload ¶ added in v0.29.0
func (o *CreateMachineReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateMachineReservationDefault) IsClientError ¶ added in v0.29.0
func (o *CreateMachineReservationDefault) IsClientError() bool
IsClientError returns true when this create machine reservation default response has a 4xx status code
func (*CreateMachineReservationDefault) IsCode ¶ added in v0.29.0
func (o *CreateMachineReservationDefault) IsCode(code int) bool
IsCode returns true when this create machine reservation default response a status code equal to that given
func (*CreateMachineReservationDefault) IsRedirect ¶ added in v0.29.0
func (o *CreateMachineReservationDefault) IsRedirect() bool
IsRedirect returns true when this create machine reservation default response has a 3xx status code
func (*CreateMachineReservationDefault) IsServerError ¶ added in v0.29.0
func (o *CreateMachineReservationDefault) IsServerError() bool
IsServerError returns true when this create machine reservation default response has a 5xx status code
func (*CreateMachineReservationDefault) IsSuccess ¶ added in v0.29.0
func (o *CreateMachineReservationDefault) IsSuccess() bool
IsSuccess returns true when this create machine reservation default response has a 2xx status code
func (*CreateMachineReservationDefault) String ¶ added in v0.29.0
func (o *CreateMachineReservationDefault) String() string
type CreateMachineReservationParams ¶ added in v0.29.0
type CreateMachineReservationParams struct { // Body. Body *models.V1MachineReservationCreateRequest /* Force. if true, allows overbooking of a partition */ Force *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMachineReservationParams contains all the parameters to send to the API endpoint
for the create machine reservation operation. Typically these are written to a http.Request.
func NewCreateMachineReservationParams ¶ added in v0.29.0
func NewCreateMachineReservationParams() *CreateMachineReservationParams
NewCreateMachineReservationParams creates a new CreateMachineReservationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateMachineReservationParamsWithContext ¶ added in v0.29.0
func NewCreateMachineReservationParamsWithContext(ctx context.Context) *CreateMachineReservationParams
NewCreateMachineReservationParamsWithContext creates a new CreateMachineReservationParams object with the ability to set a context for a request.
func NewCreateMachineReservationParamsWithHTTPClient ¶ added in v0.29.0
func NewCreateMachineReservationParamsWithHTTPClient(client *http.Client) *CreateMachineReservationParams
NewCreateMachineReservationParamsWithHTTPClient creates a new CreateMachineReservationParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMachineReservationParamsWithTimeout ¶ added in v0.29.0
func NewCreateMachineReservationParamsWithTimeout(timeout time.Duration) *CreateMachineReservationParams
NewCreateMachineReservationParamsWithTimeout creates a new CreateMachineReservationParams object with the ability to set a timeout on a request.
func (*CreateMachineReservationParams) SetBody ¶ added in v0.29.0
func (o *CreateMachineReservationParams) SetBody(body *models.V1MachineReservationCreateRequest)
SetBody adds the body to the create machine reservation params
func (*CreateMachineReservationParams) SetContext ¶ added in v0.29.0
func (o *CreateMachineReservationParams) SetContext(ctx context.Context)
SetContext adds the context to the create machine reservation params
func (*CreateMachineReservationParams) SetDefaults ¶ added in v0.29.0
func (o *CreateMachineReservationParams) SetDefaults()
SetDefaults hydrates default values in the create machine reservation params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMachineReservationParams) SetForce ¶ added in v0.29.0
func (o *CreateMachineReservationParams) SetForce(force *bool)
SetForce adds the force to the create machine reservation params
func (*CreateMachineReservationParams) SetHTTPClient ¶ added in v0.29.0
func (o *CreateMachineReservationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create machine reservation params
func (*CreateMachineReservationParams) SetTimeout ¶ added in v0.29.0
func (o *CreateMachineReservationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create machine reservation params
func (*CreateMachineReservationParams) WithBody ¶ added in v0.29.0
func (o *CreateMachineReservationParams) WithBody(body *models.V1MachineReservationCreateRequest) *CreateMachineReservationParams
WithBody adds the body to the create machine reservation params
func (*CreateMachineReservationParams) WithContext ¶ added in v0.29.0
func (o *CreateMachineReservationParams) WithContext(ctx context.Context) *CreateMachineReservationParams
WithContext adds the context to the create machine reservation params
func (*CreateMachineReservationParams) WithDefaults ¶ added in v0.29.0
func (o *CreateMachineReservationParams) WithDefaults() *CreateMachineReservationParams
WithDefaults hydrates default values in the create machine reservation params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMachineReservationParams) WithForce ¶ added in v0.29.0
func (o *CreateMachineReservationParams) WithForce(force *bool) *CreateMachineReservationParams
WithForce adds the force to the create machine reservation params
func (*CreateMachineReservationParams) WithHTTPClient ¶ added in v0.29.0
func (o *CreateMachineReservationParams) WithHTTPClient(client *http.Client) *CreateMachineReservationParams
WithHTTPClient adds the HTTPClient to the create machine reservation params
func (*CreateMachineReservationParams) WithTimeout ¶ added in v0.29.0
func (o *CreateMachineReservationParams) WithTimeout(timeout time.Duration) *CreateMachineReservationParams
WithTimeout adds the timeout to the create machine reservation params
func (*CreateMachineReservationParams) WriteToRequest ¶ added in v0.29.0
func (o *CreateMachineReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMachineReservationReader ¶ added in v0.29.0
type CreateMachineReservationReader struct {
// contains filtered or unexported fields
}
CreateMachineReservationReader is a Reader for the CreateMachineReservation structure.
func (*CreateMachineReservationReader) ReadResponse ¶ added in v0.29.0
func (o *CreateMachineReservationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateProjectConflict ¶
type CreateProjectConflict struct {
Payload *httperrors.HTTPErrorResponse
}
CreateProjectConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateProjectConflict ¶
func NewCreateProjectConflict() *CreateProjectConflict
NewCreateProjectConflict creates a CreateProjectConflict with default headers values
func (*CreateProjectConflict) Code ¶ added in v0.20.11
func (o *CreateProjectConflict) Code() int
Code gets the status code for the create project conflict response
func (*CreateProjectConflict) Error ¶
func (o *CreateProjectConflict) Error() string
func (*CreateProjectConflict) GetPayload ¶ added in v0.9.1
func (o *CreateProjectConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateProjectConflict) IsClientError ¶ added in v0.19.0
func (o *CreateProjectConflict) IsClientError() bool
IsClientError returns true when this create project conflict response has a 4xx status code
func (*CreateProjectConflict) IsCode ¶ added in v0.19.0
func (o *CreateProjectConflict) IsCode(code int) bool
IsCode returns true when this create project conflict response a status code equal to that given
func (*CreateProjectConflict) IsRedirect ¶ added in v0.19.0
func (o *CreateProjectConflict) IsRedirect() bool
IsRedirect returns true when this create project conflict response has a 3xx status code
func (*CreateProjectConflict) IsServerError ¶ added in v0.19.0
func (o *CreateProjectConflict) IsServerError() bool
IsServerError returns true when this create project conflict response has a 5xx status code
func (*CreateProjectConflict) IsSuccess ¶ added in v0.19.0
func (o *CreateProjectConflict) IsSuccess() bool
IsSuccess returns true when this create project conflict response has a 2xx status code
func (*CreateProjectConflict) String ¶ added in v0.19.0
func (o *CreateProjectConflict) String() string
type CreateProjectCreated ¶
type CreateProjectCreated struct {
Payload *models.V1ProjectResponse
}
CreateProjectCreated describes a response with status code 201, with default header values.
Created
func NewCreateProjectCreated ¶
func NewCreateProjectCreated() *CreateProjectCreated
NewCreateProjectCreated creates a CreateProjectCreated with default headers values
func (*CreateProjectCreated) Code ¶ added in v0.20.11
func (o *CreateProjectCreated) Code() int
Code gets the status code for the create project created response
func (*CreateProjectCreated) Error ¶
func (o *CreateProjectCreated) Error() string
func (*CreateProjectCreated) GetPayload ¶ added in v0.9.1
func (o *CreateProjectCreated) GetPayload() *models.V1ProjectResponse
func (*CreateProjectCreated) IsClientError ¶ added in v0.19.0
func (o *CreateProjectCreated) IsClientError() bool
IsClientError returns true when this create project created response has a 4xx status code
func (*CreateProjectCreated) IsCode ¶ added in v0.19.0
func (o *CreateProjectCreated) IsCode(code int) bool
IsCode returns true when this create project created response a status code equal to that given
func (*CreateProjectCreated) IsRedirect ¶ added in v0.19.0
func (o *CreateProjectCreated) IsRedirect() bool
IsRedirect returns true when this create project created response has a 3xx status code
func (*CreateProjectCreated) IsServerError ¶ added in v0.19.0
func (o *CreateProjectCreated) IsServerError() bool
IsServerError returns true when this create project created response has a 5xx status code
func (*CreateProjectCreated) IsSuccess ¶ added in v0.19.0
func (o *CreateProjectCreated) IsSuccess() bool
IsSuccess returns true when this create project created response has a 2xx status code
func (*CreateProjectCreated) String ¶ added in v0.19.0
func (o *CreateProjectCreated) String() string
type CreateProjectDefault ¶
type CreateProjectDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
CreateProjectDefault describes a response with status code -1, with default header values.
Error
func NewCreateProjectDefault ¶
func NewCreateProjectDefault(code int) *CreateProjectDefault
NewCreateProjectDefault creates a CreateProjectDefault with default headers values
func (*CreateProjectDefault) Code ¶
func (o *CreateProjectDefault) Code() int
Code gets the status code for the create project default response
func (*CreateProjectDefault) Error ¶
func (o *CreateProjectDefault) Error() string
func (*CreateProjectDefault) GetPayload ¶ added in v0.9.1
func (o *CreateProjectDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateProjectDefault) IsClientError ¶ added in v0.19.0
func (o *CreateProjectDefault) IsClientError() bool
IsClientError returns true when this create project default response has a 4xx status code
func (*CreateProjectDefault) IsCode ¶ added in v0.19.0
func (o *CreateProjectDefault) IsCode(code int) bool
IsCode returns true when this create project default response a status code equal to that given
func (*CreateProjectDefault) IsRedirect ¶ added in v0.19.0
func (o *CreateProjectDefault) IsRedirect() bool
IsRedirect returns true when this create project default response has a 3xx status code
func (*CreateProjectDefault) IsServerError ¶ added in v0.19.0
func (o *CreateProjectDefault) IsServerError() bool
IsServerError returns true when this create project default response has a 5xx status code
func (*CreateProjectDefault) IsSuccess ¶ added in v0.19.0
func (o *CreateProjectDefault) IsSuccess() bool
IsSuccess returns true when this create project default response has a 2xx status code
func (*CreateProjectDefault) String ¶ added in v0.19.0
func (o *CreateProjectDefault) String() string
type CreateProjectParams ¶
type CreateProjectParams struct { // Body. Body *models.V1ProjectCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateProjectParams contains all the parameters to send to the API endpoint
for the create project operation. Typically these are written to a http.Request.
func NewCreateProjectParams ¶
func NewCreateProjectParams() *CreateProjectParams
NewCreateProjectParams creates a new CreateProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateProjectParamsWithContext ¶
func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams
NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the ability to set a context for a request.
func NewCreateProjectParamsWithHTTPClient ¶
func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams
NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the ability to set a custom HTTPClient for a request.
func NewCreateProjectParamsWithTimeout ¶
func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams
NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the ability to set a timeout on a request.
func (*CreateProjectParams) SetBody ¶
func (o *CreateProjectParams) SetBody(body *models.V1ProjectCreateRequest)
SetBody adds the body to the create project params
func (*CreateProjectParams) SetContext ¶
func (o *CreateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the create project params
func (*CreateProjectParams) SetDefaults ¶ added in v0.12.0
func (o *CreateProjectParams) SetDefaults()
SetDefaults hydrates default values in the create project params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProjectParams) SetHTTPClient ¶
func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) SetTimeout ¶
func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create project params
func (*CreateProjectParams) WithBody ¶
func (o *CreateProjectParams) WithBody(body *models.V1ProjectCreateRequest) *CreateProjectParams
WithBody adds the body to the create project params
func (*CreateProjectParams) WithContext ¶
func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
WithContext adds the context to the create project params
func (*CreateProjectParams) WithDefaults ¶ added in v0.12.0
func (o *CreateProjectParams) WithDefaults() *CreateProjectParams
WithDefaults hydrates default values in the create project params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProjectParams) WithHTTPClient ¶
func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
WithHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) WithTimeout ¶
func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
WithTimeout adds the timeout to the create project params
func (*CreateProjectParams) WriteToRequest ¶
func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateProjectReader ¶
type CreateProjectReader struct {
// contains filtered or unexported fields
}
CreateProjectReader is a Reader for the CreateProject structure.
func (*CreateProjectReader) ReadResponse ¶
func (o *CreateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMachineReservationDefault ¶ added in v0.29.0
type DeleteMachineReservationDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteMachineReservationDefault describes a response with status code -1, with default header values.
Error
func NewDeleteMachineReservationDefault ¶ added in v0.29.0
func NewDeleteMachineReservationDefault(code int) *DeleteMachineReservationDefault
NewDeleteMachineReservationDefault creates a DeleteMachineReservationDefault with default headers values
func (*DeleteMachineReservationDefault) Code ¶ added in v0.29.0
func (o *DeleteMachineReservationDefault) Code() int
Code gets the status code for the delete machine reservation default response
func (*DeleteMachineReservationDefault) Error ¶ added in v0.29.0
func (o *DeleteMachineReservationDefault) Error() string
func (*DeleteMachineReservationDefault) GetPayload ¶ added in v0.29.0
func (o *DeleteMachineReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*DeleteMachineReservationDefault) IsClientError ¶ added in v0.29.0
func (o *DeleteMachineReservationDefault) IsClientError() bool
IsClientError returns true when this delete machine reservation default response has a 4xx status code
func (*DeleteMachineReservationDefault) IsCode ¶ added in v0.29.0
func (o *DeleteMachineReservationDefault) IsCode(code int) bool
IsCode returns true when this delete machine reservation default response a status code equal to that given
func (*DeleteMachineReservationDefault) IsRedirect ¶ added in v0.29.0
func (o *DeleteMachineReservationDefault) IsRedirect() bool
IsRedirect returns true when this delete machine reservation default response has a 3xx status code
func (*DeleteMachineReservationDefault) IsServerError ¶ added in v0.29.0
func (o *DeleteMachineReservationDefault) IsServerError() bool
IsServerError returns true when this delete machine reservation default response has a 5xx status code
func (*DeleteMachineReservationDefault) IsSuccess ¶ added in v0.29.0
func (o *DeleteMachineReservationDefault) IsSuccess() bool
IsSuccess returns true when this delete machine reservation default response has a 2xx status code
func (*DeleteMachineReservationDefault) String ¶ added in v0.29.0
func (o *DeleteMachineReservationDefault) String() string
type DeleteMachineReservationOK ¶ added in v0.29.0
type DeleteMachineReservationOK struct {
Payload *models.V1MachineReservationResponse
}
DeleteMachineReservationOK describes a response with status code 200, with default header values.
OK
func NewDeleteMachineReservationOK ¶ added in v0.29.0
func NewDeleteMachineReservationOK() *DeleteMachineReservationOK
NewDeleteMachineReservationOK creates a DeleteMachineReservationOK with default headers values
func (*DeleteMachineReservationOK) Code ¶ added in v0.29.0
func (o *DeleteMachineReservationOK) Code() int
Code gets the status code for the delete machine reservation o k response
func (*DeleteMachineReservationOK) Error ¶ added in v0.29.0
func (o *DeleteMachineReservationOK) Error() string
func (*DeleteMachineReservationOK) GetPayload ¶ added in v0.29.0
func (o *DeleteMachineReservationOK) GetPayload() *models.V1MachineReservationResponse
func (*DeleteMachineReservationOK) IsClientError ¶ added in v0.29.0
func (o *DeleteMachineReservationOK) IsClientError() bool
IsClientError returns true when this delete machine reservation o k response has a 4xx status code
func (*DeleteMachineReservationOK) IsCode ¶ added in v0.29.0
func (o *DeleteMachineReservationOK) IsCode(code int) bool
IsCode returns true when this delete machine reservation o k response a status code equal to that given
func (*DeleteMachineReservationOK) IsRedirect ¶ added in v0.29.0
func (o *DeleteMachineReservationOK) IsRedirect() bool
IsRedirect returns true when this delete machine reservation o k response has a 3xx status code
func (*DeleteMachineReservationOK) IsServerError ¶ added in v0.29.0
func (o *DeleteMachineReservationOK) IsServerError() bool
IsServerError returns true when this delete machine reservation o k response has a 5xx status code
func (*DeleteMachineReservationOK) IsSuccess ¶ added in v0.29.0
func (o *DeleteMachineReservationOK) IsSuccess() bool
IsSuccess returns true when this delete machine reservation o k response has a 2xx status code
func (*DeleteMachineReservationOK) String ¶ added in v0.29.0
func (o *DeleteMachineReservationOK) String() string
type DeleteMachineReservationParams ¶ added in v0.29.0
type DeleteMachineReservationParams struct { /* ID. identifier of the machine reservation */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMachineReservationParams contains all the parameters to send to the API endpoint
for the delete machine reservation operation. Typically these are written to a http.Request.
func NewDeleteMachineReservationParams ¶ added in v0.29.0
func NewDeleteMachineReservationParams() *DeleteMachineReservationParams
NewDeleteMachineReservationParams creates a new DeleteMachineReservationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteMachineReservationParamsWithContext ¶ added in v0.29.0
func NewDeleteMachineReservationParamsWithContext(ctx context.Context) *DeleteMachineReservationParams
NewDeleteMachineReservationParamsWithContext creates a new DeleteMachineReservationParams object with the ability to set a context for a request.
func NewDeleteMachineReservationParamsWithHTTPClient ¶ added in v0.29.0
func NewDeleteMachineReservationParamsWithHTTPClient(client *http.Client) *DeleteMachineReservationParams
NewDeleteMachineReservationParamsWithHTTPClient creates a new DeleteMachineReservationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMachineReservationParamsWithTimeout ¶ added in v0.29.0
func NewDeleteMachineReservationParamsWithTimeout(timeout time.Duration) *DeleteMachineReservationParams
NewDeleteMachineReservationParamsWithTimeout creates a new DeleteMachineReservationParams object with the ability to set a timeout on a request.
func (*DeleteMachineReservationParams) SetContext ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete machine reservation params
func (*DeleteMachineReservationParams) SetDefaults ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) SetDefaults()
SetDefaults hydrates default values in the delete machine reservation params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMachineReservationParams) SetHTTPClient ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete machine reservation params
func (*DeleteMachineReservationParams) SetID ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) SetID(id string)
SetID adds the id to the delete machine reservation params
func (*DeleteMachineReservationParams) SetTimeout ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete machine reservation params
func (*DeleteMachineReservationParams) WithContext ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) WithContext(ctx context.Context) *DeleteMachineReservationParams
WithContext adds the context to the delete machine reservation params
func (*DeleteMachineReservationParams) WithDefaults ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) WithDefaults() *DeleteMachineReservationParams
WithDefaults hydrates default values in the delete machine reservation params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMachineReservationParams) WithHTTPClient ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) WithHTTPClient(client *http.Client) *DeleteMachineReservationParams
WithHTTPClient adds the HTTPClient to the delete machine reservation params
func (*DeleteMachineReservationParams) WithID ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) WithID(id string) *DeleteMachineReservationParams
WithID adds the id to the delete machine reservation params
func (*DeleteMachineReservationParams) WithTimeout ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) WithTimeout(timeout time.Duration) *DeleteMachineReservationParams
WithTimeout adds the timeout to the delete machine reservation params
func (*DeleteMachineReservationParams) WriteToRequest ¶ added in v0.29.0
func (o *DeleteMachineReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMachineReservationReader ¶ added in v0.29.0
type DeleteMachineReservationReader struct {
// contains filtered or unexported fields
}
DeleteMachineReservationReader is a Reader for the DeleteMachineReservation structure.
func (*DeleteMachineReservationReader) ReadResponse ¶ added in v0.29.0
func (o *DeleteMachineReservationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteProjectDefault ¶
type DeleteProjectDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteProjectDefault describes a response with status code -1, with default header values.
Error
func NewDeleteProjectDefault ¶
func NewDeleteProjectDefault(code int) *DeleteProjectDefault
NewDeleteProjectDefault creates a DeleteProjectDefault with default headers values
func (*DeleteProjectDefault) Code ¶
func (o *DeleteProjectDefault) Code() int
Code gets the status code for the delete project default response
func (*DeleteProjectDefault) Error ¶
func (o *DeleteProjectDefault) Error() string
func (*DeleteProjectDefault) GetPayload ¶ added in v0.9.1
func (o *DeleteProjectDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*DeleteProjectDefault) IsClientError ¶ added in v0.19.0
func (o *DeleteProjectDefault) IsClientError() bool
IsClientError returns true when this delete project default response has a 4xx status code
func (*DeleteProjectDefault) IsCode ¶ added in v0.19.0
func (o *DeleteProjectDefault) IsCode(code int) bool
IsCode returns true when this delete project default response a status code equal to that given
func (*DeleteProjectDefault) IsRedirect ¶ added in v0.19.0
func (o *DeleteProjectDefault) IsRedirect() bool
IsRedirect returns true when this delete project default response has a 3xx status code
func (*DeleteProjectDefault) IsServerError ¶ added in v0.19.0
func (o *DeleteProjectDefault) IsServerError() bool
IsServerError returns true when this delete project default response has a 5xx status code
func (*DeleteProjectDefault) IsSuccess ¶ added in v0.19.0
func (o *DeleteProjectDefault) IsSuccess() bool
IsSuccess returns true when this delete project default response has a 2xx status code
func (*DeleteProjectDefault) String ¶ added in v0.19.0
func (o *DeleteProjectDefault) String() string
type DeleteProjectOK ¶
type DeleteProjectOK struct {
Payload *models.V1ProjectResponse
}
DeleteProjectOK describes a response with status code 200, with default header values.
OK
func NewDeleteProjectOK ¶
func NewDeleteProjectOK() *DeleteProjectOK
NewDeleteProjectOK creates a DeleteProjectOK with default headers values
func (*DeleteProjectOK) Code ¶ added in v0.20.11
func (o *DeleteProjectOK) Code() int
Code gets the status code for the delete project o k response
func (*DeleteProjectOK) Error ¶
func (o *DeleteProjectOK) Error() string
func (*DeleteProjectOK) GetPayload ¶ added in v0.9.1
func (o *DeleteProjectOK) GetPayload() *models.V1ProjectResponse
func (*DeleteProjectOK) IsClientError ¶ added in v0.19.0
func (o *DeleteProjectOK) IsClientError() bool
IsClientError returns true when this delete project o k response has a 4xx status code
func (*DeleteProjectOK) IsCode ¶ added in v0.19.0
func (o *DeleteProjectOK) IsCode(code int) bool
IsCode returns true when this delete project o k response a status code equal to that given
func (*DeleteProjectOK) IsRedirect ¶ added in v0.19.0
func (o *DeleteProjectOK) IsRedirect() bool
IsRedirect returns true when this delete project o k response has a 3xx status code
func (*DeleteProjectOK) IsServerError ¶ added in v0.19.0
func (o *DeleteProjectOK) IsServerError() bool
IsServerError returns true when this delete project o k response has a 5xx status code
func (*DeleteProjectOK) IsSuccess ¶ added in v0.19.0
func (o *DeleteProjectOK) IsSuccess() bool
IsSuccess returns true when this delete project o k response has a 2xx status code
func (*DeleteProjectOK) String ¶ added in v0.19.0
func (o *DeleteProjectOK) String() string
type DeleteProjectParams ¶
type DeleteProjectParams struct { /* ID. identifier of the project */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProjectParams contains all the parameters to send to the API endpoint
for the delete project operation. Typically these are written to a http.Request.
func NewDeleteProjectParams ¶
func NewDeleteProjectParams() *DeleteProjectParams
NewDeleteProjectParams creates a new DeleteProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteProjectParamsWithContext ¶
func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams
NewDeleteProjectParamsWithContext creates a new DeleteProjectParams object with the ability to set a context for a request.
func NewDeleteProjectParamsWithHTTPClient ¶
func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams
NewDeleteProjectParamsWithHTTPClient creates a new DeleteProjectParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteProjectParamsWithTimeout ¶
func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams
NewDeleteProjectParamsWithTimeout creates a new DeleteProjectParams object with the ability to set a timeout on a request.
func (*DeleteProjectParams) SetContext ¶
func (o *DeleteProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the delete project params
func (*DeleteProjectParams) SetDefaults ¶ added in v0.12.0
func (o *DeleteProjectParams) SetDefaults()
SetDefaults hydrates default values in the delete project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectParams) SetHTTPClient ¶
func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) SetID ¶
func (o *DeleteProjectParams) SetID(id string)
SetID adds the id to the delete project params
func (*DeleteProjectParams) SetTimeout ¶
func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) WithContext ¶
func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
WithContext adds the context to the delete project params
func (*DeleteProjectParams) WithDefaults ¶ added in v0.12.0
func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams
WithDefaults hydrates default values in the delete project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectParams) WithHTTPClient ¶
func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
WithHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) WithID ¶
func (o *DeleteProjectParams) WithID(id string) *DeleteProjectParams
WithID adds the id to the delete project params
func (*DeleteProjectParams) WithTimeout ¶
func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
WithTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) WriteToRequest ¶
func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProjectReader ¶
type DeleteProjectReader struct {
// contains filtered or unexported fields
}
DeleteProjectReader is a Reader for the DeleteProject structure.
func (*DeleteProjectReader) ReadResponse ¶
func (o *DeleteProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindProjectDefault ¶
type FindProjectDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindProjectDefault describes a response with status code -1, with default header values.
Error
func NewFindProjectDefault ¶
func NewFindProjectDefault(code int) *FindProjectDefault
NewFindProjectDefault creates a FindProjectDefault with default headers values
func (*FindProjectDefault) Code ¶
func (o *FindProjectDefault) Code() int
Code gets the status code for the find project default response
func (*FindProjectDefault) Error ¶
func (o *FindProjectDefault) Error() string
func (*FindProjectDefault) GetPayload ¶ added in v0.9.1
func (o *FindProjectDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindProjectDefault) IsClientError ¶ added in v0.19.0
func (o *FindProjectDefault) IsClientError() bool
IsClientError returns true when this find project default response has a 4xx status code
func (*FindProjectDefault) IsCode ¶ added in v0.19.0
func (o *FindProjectDefault) IsCode(code int) bool
IsCode returns true when this find project default response a status code equal to that given
func (*FindProjectDefault) IsRedirect ¶ added in v0.19.0
func (o *FindProjectDefault) IsRedirect() bool
IsRedirect returns true when this find project default response has a 3xx status code
func (*FindProjectDefault) IsServerError ¶ added in v0.19.0
func (o *FindProjectDefault) IsServerError() bool
IsServerError returns true when this find project default response has a 5xx status code
func (*FindProjectDefault) IsSuccess ¶ added in v0.19.0
func (o *FindProjectDefault) IsSuccess() bool
IsSuccess returns true when this find project default response has a 2xx status code
func (*FindProjectDefault) String ¶ added in v0.19.0
func (o *FindProjectDefault) String() string
type FindProjectOK ¶
type FindProjectOK struct {
Payload *models.V1ProjectResponse
}
FindProjectOK describes a response with status code 200, with default header values.
OK
func NewFindProjectOK ¶
func NewFindProjectOK() *FindProjectOK
NewFindProjectOK creates a FindProjectOK with default headers values
func (*FindProjectOK) Code ¶ added in v0.20.11
func (o *FindProjectOK) Code() int
Code gets the status code for the find project o k response
func (*FindProjectOK) Error ¶
func (o *FindProjectOK) Error() string
func (*FindProjectOK) GetPayload ¶ added in v0.9.1
func (o *FindProjectOK) GetPayload() *models.V1ProjectResponse
func (*FindProjectOK) IsClientError ¶ added in v0.19.0
func (o *FindProjectOK) IsClientError() bool
IsClientError returns true when this find project o k response has a 4xx status code
func (*FindProjectOK) IsCode ¶ added in v0.19.0
func (o *FindProjectOK) IsCode(code int) bool
IsCode returns true when this find project o k response a status code equal to that given
func (*FindProjectOK) IsRedirect ¶ added in v0.19.0
func (o *FindProjectOK) IsRedirect() bool
IsRedirect returns true when this find project o k response has a 3xx status code
func (*FindProjectOK) IsServerError ¶ added in v0.19.0
func (o *FindProjectOK) IsServerError() bool
IsServerError returns true when this find project o k response has a 5xx status code
func (*FindProjectOK) IsSuccess ¶ added in v0.19.0
func (o *FindProjectOK) IsSuccess() bool
IsSuccess returns true when this find project o k response has a 2xx status code
func (*FindProjectOK) String ¶ added in v0.19.0
func (o *FindProjectOK) String() string
type FindProjectParams ¶
type FindProjectParams struct { /* ID. identifier of the project */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindProjectParams contains all the parameters to send to the API endpoint
for the find project operation. Typically these are written to a http.Request.
func NewFindProjectParams ¶
func NewFindProjectParams() *FindProjectParams
NewFindProjectParams creates a new FindProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFindProjectParamsWithContext ¶
func NewFindProjectParamsWithContext(ctx context.Context) *FindProjectParams
NewFindProjectParamsWithContext creates a new FindProjectParams object with the ability to set a context for a request.
func NewFindProjectParamsWithHTTPClient ¶
func NewFindProjectParamsWithHTTPClient(client *http.Client) *FindProjectParams
NewFindProjectParamsWithHTTPClient creates a new FindProjectParams object with the ability to set a custom HTTPClient for a request.
func NewFindProjectParamsWithTimeout ¶
func NewFindProjectParamsWithTimeout(timeout time.Duration) *FindProjectParams
NewFindProjectParamsWithTimeout creates a new FindProjectParams object with the ability to set a timeout on a request.
func (*FindProjectParams) SetContext ¶
func (o *FindProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the find project params
func (*FindProjectParams) SetDefaults ¶ added in v0.12.0
func (o *FindProjectParams) SetDefaults()
SetDefaults hydrates default values in the find project params (not the query body).
All values with no default are reset to their zero value.
func (*FindProjectParams) SetHTTPClient ¶
func (o *FindProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find project params
func (*FindProjectParams) SetID ¶
func (o *FindProjectParams) SetID(id string)
SetID adds the id to the find project params
func (*FindProjectParams) SetTimeout ¶
func (o *FindProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find project params
func (*FindProjectParams) WithContext ¶
func (o *FindProjectParams) WithContext(ctx context.Context) *FindProjectParams
WithContext adds the context to the find project params
func (*FindProjectParams) WithDefaults ¶ added in v0.12.0
func (o *FindProjectParams) WithDefaults() *FindProjectParams
WithDefaults hydrates default values in the find project params (not the query body).
All values with no default are reset to their zero value.
func (*FindProjectParams) WithHTTPClient ¶
func (o *FindProjectParams) WithHTTPClient(client *http.Client) *FindProjectParams
WithHTTPClient adds the HTTPClient to the find project params
func (*FindProjectParams) WithID ¶
func (o *FindProjectParams) WithID(id string) *FindProjectParams
WithID adds the id to the find project params
func (*FindProjectParams) WithTimeout ¶
func (o *FindProjectParams) WithTimeout(timeout time.Duration) *FindProjectParams
WithTimeout adds the timeout to the find project params
func (*FindProjectParams) WriteToRequest ¶
func (o *FindProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindProjectReader ¶
type FindProjectReader struct {
// contains filtered or unexported fields
}
FindProjectReader is a Reader for the FindProject structure.
func (*FindProjectReader) ReadResponse ¶
func (o *FindProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindProjectsDefault ¶ added in v0.18.16
type FindProjectsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindProjectsDefault describes a response with status code -1, with default header values.
Error
func NewFindProjectsDefault ¶ added in v0.18.16
func NewFindProjectsDefault(code int) *FindProjectsDefault
NewFindProjectsDefault creates a FindProjectsDefault with default headers values
func (*FindProjectsDefault) Code ¶ added in v0.18.16
func (o *FindProjectsDefault) Code() int
Code gets the status code for the find projects default response
func (*FindProjectsDefault) Error ¶ added in v0.18.16
func (o *FindProjectsDefault) Error() string
func (*FindProjectsDefault) GetPayload ¶ added in v0.18.16
func (o *FindProjectsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindProjectsDefault) IsClientError ¶ added in v0.19.0
func (o *FindProjectsDefault) IsClientError() bool
IsClientError returns true when this find projects default response has a 4xx status code
func (*FindProjectsDefault) IsCode ¶ added in v0.19.0
func (o *FindProjectsDefault) IsCode(code int) bool
IsCode returns true when this find projects default response a status code equal to that given
func (*FindProjectsDefault) IsRedirect ¶ added in v0.19.0
func (o *FindProjectsDefault) IsRedirect() bool
IsRedirect returns true when this find projects default response has a 3xx status code
func (*FindProjectsDefault) IsServerError ¶ added in v0.19.0
func (o *FindProjectsDefault) IsServerError() bool
IsServerError returns true when this find projects default response has a 5xx status code
func (*FindProjectsDefault) IsSuccess ¶ added in v0.19.0
func (o *FindProjectsDefault) IsSuccess() bool
IsSuccess returns true when this find projects default response has a 2xx status code
func (*FindProjectsDefault) String ¶ added in v0.19.0
func (o *FindProjectsDefault) String() string
type FindProjectsOK ¶ added in v0.18.16
type FindProjectsOK struct {
Payload *models.V1ProjectListResponse
}
FindProjectsOK describes a response with status code 200, with default header values.
OK
func NewFindProjectsOK ¶ added in v0.18.16
func NewFindProjectsOK() *FindProjectsOK
NewFindProjectsOK creates a FindProjectsOK with default headers values
func (*FindProjectsOK) Code ¶ added in v0.20.11
func (o *FindProjectsOK) Code() int
Code gets the status code for the find projects o k response
func (*FindProjectsOK) Error ¶ added in v0.18.16
func (o *FindProjectsOK) Error() string
func (*FindProjectsOK) GetPayload ¶ added in v0.18.16
func (o *FindProjectsOK) GetPayload() *models.V1ProjectListResponse
func (*FindProjectsOK) IsClientError ¶ added in v0.19.0
func (o *FindProjectsOK) IsClientError() bool
IsClientError returns true when this find projects o k response has a 4xx status code
func (*FindProjectsOK) IsCode ¶ added in v0.19.0
func (o *FindProjectsOK) IsCode(code int) bool
IsCode returns true when this find projects o k response a status code equal to that given
func (*FindProjectsOK) IsRedirect ¶ added in v0.19.0
func (o *FindProjectsOK) IsRedirect() bool
IsRedirect returns true when this find projects o k response has a 3xx status code
func (*FindProjectsOK) IsServerError ¶ added in v0.19.0
func (o *FindProjectsOK) IsServerError() bool
IsServerError returns true when this find projects o k response has a 5xx status code
func (*FindProjectsOK) IsSuccess ¶ added in v0.19.0
func (o *FindProjectsOK) IsSuccess() bool
IsSuccess returns true when this find projects o k response has a 2xx status code
func (*FindProjectsOK) String ¶ added in v0.19.0
func (o *FindProjectsOK) String() string
type FindProjectsParams ¶ added in v0.18.16
type FindProjectsParams struct { // Body. Body *models.V1ProjectFindRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindProjectsParams contains all the parameters to send to the API endpoint
for the find projects operation. Typically these are written to a http.Request.
func NewFindProjectsParams ¶ added in v0.18.16
func NewFindProjectsParams() *FindProjectsParams
NewFindProjectsParams creates a new FindProjectsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFindProjectsParamsWithContext ¶ added in v0.18.16
func NewFindProjectsParamsWithContext(ctx context.Context) *FindProjectsParams
NewFindProjectsParamsWithContext creates a new FindProjectsParams object with the ability to set a context for a request.
func NewFindProjectsParamsWithHTTPClient ¶ added in v0.18.16
func NewFindProjectsParamsWithHTTPClient(client *http.Client) *FindProjectsParams
NewFindProjectsParamsWithHTTPClient creates a new FindProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewFindProjectsParamsWithTimeout ¶ added in v0.18.16
func NewFindProjectsParamsWithTimeout(timeout time.Duration) *FindProjectsParams
NewFindProjectsParamsWithTimeout creates a new FindProjectsParams object with the ability to set a timeout on a request.
func (*FindProjectsParams) SetBody ¶ added in v0.18.16
func (o *FindProjectsParams) SetBody(body *models.V1ProjectFindRequest)
SetBody adds the body to the find projects params
func (*FindProjectsParams) SetContext ¶ added in v0.18.16
func (o *FindProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the find projects params
func (*FindProjectsParams) SetDefaults ¶ added in v0.18.16
func (o *FindProjectsParams) SetDefaults()
SetDefaults hydrates default values in the find projects params (not the query body).
All values with no default are reset to their zero value.
func (*FindProjectsParams) SetHTTPClient ¶ added in v0.18.16
func (o *FindProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find projects params
func (*FindProjectsParams) SetTimeout ¶ added in v0.18.16
func (o *FindProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find projects params
func (*FindProjectsParams) WithBody ¶ added in v0.18.16
func (o *FindProjectsParams) WithBody(body *models.V1ProjectFindRequest) *FindProjectsParams
WithBody adds the body to the find projects params
func (*FindProjectsParams) WithContext ¶ added in v0.18.16
func (o *FindProjectsParams) WithContext(ctx context.Context) *FindProjectsParams
WithContext adds the context to the find projects params
func (*FindProjectsParams) WithDefaults ¶ added in v0.18.16
func (o *FindProjectsParams) WithDefaults() *FindProjectsParams
WithDefaults hydrates default values in the find projects params (not the query body).
All values with no default are reset to their zero value.
func (*FindProjectsParams) WithHTTPClient ¶ added in v0.18.16
func (o *FindProjectsParams) WithHTTPClient(client *http.Client) *FindProjectsParams
WithHTTPClient adds the HTTPClient to the find projects params
func (*FindProjectsParams) WithTimeout ¶ added in v0.18.16
func (o *FindProjectsParams) WithTimeout(timeout time.Duration) *FindProjectsParams
WithTimeout adds the timeout to the find projects params
func (*FindProjectsParams) WriteToRequest ¶ added in v0.18.16
func (o *FindProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindProjectsReader ¶ added in v0.18.16
type FindProjectsReader struct {
// contains filtered or unexported fields
}
FindProjectsReader is a Reader for the FindProjects structure.
func (*FindProjectsReader) ReadResponse ¶ added in v0.18.16
func (o *FindProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachineReservationDefault ¶ added in v0.29.0
type GetMachineReservationDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetMachineReservationDefault describes a response with status code -1, with default header values.
Error
func NewGetMachineReservationDefault ¶ added in v0.29.0
func NewGetMachineReservationDefault(code int) *GetMachineReservationDefault
NewGetMachineReservationDefault creates a GetMachineReservationDefault with default headers values
func (*GetMachineReservationDefault) Code ¶ added in v0.29.0
func (o *GetMachineReservationDefault) Code() int
Code gets the status code for the get machine reservation default response
func (*GetMachineReservationDefault) Error ¶ added in v0.29.0
func (o *GetMachineReservationDefault) Error() string
func (*GetMachineReservationDefault) GetPayload ¶ added in v0.29.0
func (o *GetMachineReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*GetMachineReservationDefault) IsClientError ¶ added in v0.29.0
func (o *GetMachineReservationDefault) IsClientError() bool
IsClientError returns true when this get machine reservation default response has a 4xx status code
func (*GetMachineReservationDefault) IsCode ¶ added in v0.29.0
func (o *GetMachineReservationDefault) IsCode(code int) bool
IsCode returns true when this get machine reservation default response a status code equal to that given
func (*GetMachineReservationDefault) IsRedirect ¶ added in v0.29.0
func (o *GetMachineReservationDefault) IsRedirect() bool
IsRedirect returns true when this get machine reservation default response has a 3xx status code
func (*GetMachineReservationDefault) IsServerError ¶ added in v0.29.0
func (o *GetMachineReservationDefault) IsServerError() bool
IsServerError returns true when this get machine reservation default response has a 5xx status code
func (*GetMachineReservationDefault) IsSuccess ¶ added in v0.29.0
func (o *GetMachineReservationDefault) IsSuccess() bool
IsSuccess returns true when this get machine reservation default response has a 2xx status code
func (*GetMachineReservationDefault) String ¶ added in v0.29.0
func (o *GetMachineReservationDefault) String() string
type GetMachineReservationOK ¶ added in v0.29.0
type GetMachineReservationOK struct {
Payload *models.V1MachineReservationResponse
}
GetMachineReservationOK describes a response with status code 200, with default header values.
OK
func NewGetMachineReservationOK ¶ added in v0.29.0
func NewGetMachineReservationOK() *GetMachineReservationOK
NewGetMachineReservationOK creates a GetMachineReservationOK with default headers values
func (*GetMachineReservationOK) Code ¶ added in v0.29.0
func (o *GetMachineReservationOK) Code() int
Code gets the status code for the get machine reservation o k response
func (*GetMachineReservationOK) Error ¶ added in v0.29.0
func (o *GetMachineReservationOK) Error() string
func (*GetMachineReservationOK) GetPayload ¶ added in v0.29.0
func (o *GetMachineReservationOK) GetPayload() *models.V1MachineReservationResponse
func (*GetMachineReservationOK) IsClientError ¶ added in v0.29.0
func (o *GetMachineReservationOK) IsClientError() bool
IsClientError returns true when this get machine reservation o k response has a 4xx status code
func (*GetMachineReservationOK) IsCode ¶ added in v0.29.0
func (o *GetMachineReservationOK) IsCode(code int) bool
IsCode returns true when this get machine reservation o k response a status code equal to that given
func (*GetMachineReservationOK) IsRedirect ¶ added in v0.29.0
func (o *GetMachineReservationOK) IsRedirect() bool
IsRedirect returns true when this get machine reservation o k response has a 3xx status code
func (*GetMachineReservationOK) IsServerError ¶ added in v0.29.0
func (o *GetMachineReservationOK) IsServerError() bool
IsServerError returns true when this get machine reservation o k response has a 5xx status code
func (*GetMachineReservationOK) IsSuccess ¶ added in v0.29.0
func (o *GetMachineReservationOK) IsSuccess() bool
IsSuccess returns true when this get machine reservation o k response has a 2xx status code
func (*GetMachineReservationOK) String ¶ added in v0.29.0
func (o *GetMachineReservationOK) String() string
type GetMachineReservationParams ¶ added in v0.29.0
type GetMachineReservationParams struct { /* ID. identifier of the machine reservation */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMachineReservationParams contains all the parameters to send to the API endpoint
for the get machine reservation operation. Typically these are written to a http.Request.
func NewGetMachineReservationParams ¶ added in v0.29.0
func NewGetMachineReservationParams() *GetMachineReservationParams
NewGetMachineReservationParams creates a new GetMachineReservationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMachineReservationParamsWithContext ¶ added in v0.29.0
func NewGetMachineReservationParamsWithContext(ctx context.Context) *GetMachineReservationParams
NewGetMachineReservationParamsWithContext creates a new GetMachineReservationParams object with the ability to set a context for a request.
func NewGetMachineReservationParamsWithHTTPClient ¶ added in v0.29.0
func NewGetMachineReservationParamsWithHTTPClient(client *http.Client) *GetMachineReservationParams
NewGetMachineReservationParamsWithHTTPClient creates a new GetMachineReservationParams object with the ability to set a custom HTTPClient for a request.
func NewGetMachineReservationParamsWithTimeout ¶ added in v0.29.0
func NewGetMachineReservationParamsWithTimeout(timeout time.Duration) *GetMachineReservationParams
NewGetMachineReservationParamsWithTimeout creates a new GetMachineReservationParams object with the ability to set a timeout on a request.
func (*GetMachineReservationParams) SetContext ¶ added in v0.29.0
func (o *GetMachineReservationParams) SetContext(ctx context.Context)
SetContext adds the context to the get machine reservation params
func (*GetMachineReservationParams) SetDefaults ¶ added in v0.29.0
func (o *GetMachineReservationParams) SetDefaults()
SetDefaults hydrates default values in the get machine reservation params (not the query body).
All values with no default are reset to their zero value.
func (*GetMachineReservationParams) SetHTTPClient ¶ added in v0.29.0
func (o *GetMachineReservationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine reservation params
func (*GetMachineReservationParams) SetID ¶ added in v0.29.0
func (o *GetMachineReservationParams) SetID(id string)
SetID adds the id to the get machine reservation params
func (*GetMachineReservationParams) SetTimeout ¶ added in v0.29.0
func (o *GetMachineReservationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine reservation params
func (*GetMachineReservationParams) WithContext ¶ added in v0.29.0
func (o *GetMachineReservationParams) WithContext(ctx context.Context) *GetMachineReservationParams
WithContext adds the context to the get machine reservation params
func (*GetMachineReservationParams) WithDefaults ¶ added in v0.29.0
func (o *GetMachineReservationParams) WithDefaults() *GetMachineReservationParams
WithDefaults hydrates default values in the get machine reservation params (not the query body).
All values with no default are reset to their zero value.
func (*GetMachineReservationParams) WithHTTPClient ¶ added in v0.29.0
func (o *GetMachineReservationParams) WithHTTPClient(client *http.Client) *GetMachineReservationParams
WithHTTPClient adds the HTTPClient to the get machine reservation params
func (*GetMachineReservationParams) WithID ¶ added in v0.29.0
func (o *GetMachineReservationParams) WithID(id string) *GetMachineReservationParams
WithID adds the id to the get machine reservation params
func (*GetMachineReservationParams) WithTimeout ¶ added in v0.29.0
func (o *GetMachineReservationParams) WithTimeout(timeout time.Duration) *GetMachineReservationParams
WithTimeout adds the timeout to the get machine reservation params
func (*GetMachineReservationParams) WriteToRequest ¶ added in v0.29.0
func (o *GetMachineReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineReservationReader ¶ added in v0.29.0
type GetMachineReservationReader struct {
// contains filtered or unexported fields
}
GetMachineReservationReader is a Reader for the GetMachineReservation structure.
func (*GetMachineReservationReader) ReadResponse ¶ added in v0.29.0
func (o *GetMachineReservationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListMachineReservationsDefault ¶ added in v0.29.0
type ListMachineReservationsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListMachineReservationsDefault describes a response with status code -1, with default header values.
Error
func NewListMachineReservationsDefault ¶ added in v0.29.0
func NewListMachineReservationsDefault(code int) *ListMachineReservationsDefault
NewListMachineReservationsDefault creates a ListMachineReservationsDefault with default headers values
func (*ListMachineReservationsDefault) Code ¶ added in v0.29.0
func (o *ListMachineReservationsDefault) Code() int
Code gets the status code for the list machine reservations default response
func (*ListMachineReservationsDefault) Error ¶ added in v0.29.0
func (o *ListMachineReservationsDefault) Error() string
func (*ListMachineReservationsDefault) GetPayload ¶ added in v0.29.0
func (o *ListMachineReservationsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListMachineReservationsDefault) IsClientError ¶ added in v0.29.0
func (o *ListMachineReservationsDefault) IsClientError() bool
IsClientError returns true when this list machine reservations default response has a 4xx status code
func (*ListMachineReservationsDefault) IsCode ¶ added in v0.29.0
func (o *ListMachineReservationsDefault) IsCode(code int) bool
IsCode returns true when this list machine reservations default response a status code equal to that given
func (*ListMachineReservationsDefault) IsRedirect ¶ added in v0.29.0
func (o *ListMachineReservationsDefault) IsRedirect() bool
IsRedirect returns true when this list machine reservations default response has a 3xx status code
func (*ListMachineReservationsDefault) IsServerError ¶ added in v0.29.0
func (o *ListMachineReservationsDefault) IsServerError() bool
IsServerError returns true when this list machine reservations default response has a 5xx status code
func (*ListMachineReservationsDefault) IsSuccess ¶ added in v0.29.0
func (o *ListMachineReservationsDefault) IsSuccess() bool
IsSuccess returns true when this list machine reservations default response has a 2xx status code
func (*ListMachineReservationsDefault) String ¶ added in v0.29.0
func (o *ListMachineReservationsDefault) String() string
type ListMachineReservationsOK ¶ added in v0.29.0
type ListMachineReservationsOK struct {
Payload []*models.V1MachineReservationResponse
}
ListMachineReservationsOK describes a response with status code 200, with default header values.
OK
func NewListMachineReservationsOK ¶ added in v0.29.0
func NewListMachineReservationsOK() *ListMachineReservationsOK
NewListMachineReservationsOK creates a ListMachineReservationsOK with default headers values
func (*ListMachineReservationsOK) Code ¶ added in v0.29.0
func (o *ListMachineReservationsOK) Code() int
Code gets the status code for the list machine reservations o k response
func (*ListMachineReservationsOK) Error ¶ added in v0.29.0
func (o *ListMachineReservationsOK) Error() string
func (*ListMachineReservationsOK) GetPayload ¶ added in v0.29.0
func (o *ListMachineReservationsOK) GetPayload() []*models.V1MachineReservationResponse
func (*ListMachineReservationsOK) IsClientError ¶ added in v0.29.0
func (o *ListMachineReservationsOK) IsClientError() bool
IsClientError returns true when this list machine reservations o k response has a 4xx status code
func (*ListMachineReservationsOK) IsCode ¶ added in v0.29.0
func (o *ListMachineReservationsOK) IsCode(code int) bool
IsCode returns true when this list machine reservations o k response a status code equal to that given
func (*ListMachineReservationsOK) IsRedirect ¶ added in v0.29.0
func (o *ListMachineReservationsOK) IsRedirect() bool
IsRedirect returns true when this list machine reservations o k response has a 3xx status code
func (*ListMachineReservationsOK) IsServerError ¶ added in v0.29.0
func (o *ListMachineReservationsOK) IsServerError() bool
IsServerError returns true when this list machine reservations o k response has a 5xx status code
func (*ListMachineReservationsOK) IsSuccess ¶ added in v0.29.0
func (o *ListMachineReservationsOK) IsSuccess() bool
IsSuccess returns true when this list machine reservations o k response has a 2xx status code
func (*ListMachineReservationsOK) String ¶ added in v0.29.0
func (o *ListMachineReservationsOK) String() string
type ListMachineReservationsParams ¶ added in v0.29.0
type ListMachineReservationsParams struct { // Body. Body *models.V1MachineReservationFindRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListMachineReservationsParams contains all the parameters to send to the API endpoint
for the list machine reservations operation. Typically these are written to a http.Request.
func NewListMachineReservationsParams ¶ added in v0.29.0
func NewListMachineReservationsParams() *ListMachineReservationsParams
NewListMachineReservationsParams creates a new ListMachineReservationsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListMachineReservationsParamsWithContext ¶ added in v0.29.0
func NewListMachineReservationsParamsWithContext(ctx context.Context) *ListMachineReservationsParams
NewListMachineReservationsParamsWithContext creates a new ListMachineReservationsParams object with the ability to set a context for a request.
func NewListMachineReservationsParamsWithHTTPClient ¶ added in v0.29.0
func NewListMachineReservationsParamsWithHTTPClient(client *http.Client) *ListMachineReservationsParams
NewListMachineReservationsParamsWithHTTPClient creates a new ListMachineReservationsParams object with the ability to set a custom HTTPClient for a request.
func NewListMachineReservationsParamsWithTimeout ¶ added in v0.29.0
func NewListMachineReservationsParamsWithTimeout(timeout time.Duration) *ListMachineReservationsParams
NewListMachineReservationsParamsWithTimeout creates a new ListMachineReservationsParams object with the ability to set a timeout on a request.
func (*ListMachineReservationsParams) SetBody ¶ added in v0.29.0
func (o *ListMachineReservationsParams) SetBody(body *models.V1MachineReservationFindRequest)
SetBody adds the body to the list machine reservations params
func (*ListMachineReservationsParams) SetContext ¶ added in v0.29.0
func (o *ListMachineReservationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list machine reservations params
func (*ListMachineReservationsParams) SetDefaults ¶ added in v0.29.0
func (o *ListMachineReservationsParams) SetDefaults()
SetDefaults hydrates default values in the list machine reservations params (not the query body).
All values with no default are reset to their zero value.
func (*ListMachineReservationsParams) SetHTTPClient ¶ added in v0.29.0
func (o *ListMachineReservationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list machine reservations params
func (*ListMachineReservationsParams) SetTimeout ¶ added in v0.29.0
func (o *ListMachineReservationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list machine reservations params
func (*ListMachineReservationsParams) WithBody ¶ added in v0.29.0
func (o *ListMachineReservationsParams) WithBody(body *models.V1MachineReservationFindRequest) *ListMachineReservationsParams
WithBody adds the body to the list machine reservations params
func (*ListMachineReservationsParams) WithContext ¶ added in v0.29.0
func (o *ListMachineReservationsParams) WithContext(ctx context.Context) *ListMachineReservationsParams
WithContext adds the context to the list machine reservations params
func (*ListMachineReservationsParams) WithDefaults ¶ added in v0.29.0
func (o *ListMachineReservationsParams) WithDefaults() *ListMachineReservationsParams
WithDefaults hydrates default values in the list machine reservations params (not the query body).
All values with no default are reset to their zero value.
func (*ListMachineReservationsParams) WithHTTPClient ¶ added in v0.29.0
func (o *ListMachineReservationsParams) WithHTTPClient(client *http.Client) *ListMachineReservationsParams
WithHTTPClient adds the HTTPClient to the list machine reservations params
func (*ListMachineReservationsParams) WithTimeout ¶ added in v0.29.0
func (o *ListMachineReservationsParams) WithTimeout(timeout time.Duration) *ListMachineReservationsParams
WithTimeout adds the timeout to the list machine reservations params
func (*ListMachineReservationsParams) WriteToRequest ¶ added in v0.29.0
func (o *ListMachineReservationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListMachineReservationsReader ¶ added in v0.29.0
type ListMachineReservationsReader struct {
// contains filtered or unexported fields
}
ListMachineReservationsReader is a Reader for the ListMachineReservations structure.
func (*ListMachineReservationsReader) ReadResponse ¶ added in v0.29.0
func (o *ListMachineReservationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectsDefault ¶
type ListProjectsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListProjectsDefault describes a response with status code -1, with default header values.
Error
func NewListProjectsDefault ¶
func NewListProjectsDefault(code int) *ListProjectsDefault
NewListProjectsDefault creates a ListProjectsDefault with default headers values
func (*ListProjectsDefault) Code ¶
func (o *ListProjectsDefault) Code() int
Code gets the status code for the list projects default response
func (*ListProjectsDefault) Error ¶
func (o *ListProjectsDefault) Error() string
func (*ListProjectsDefault) GetPayload ¶ added in v0.9.1
func (o *ListProjectsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListProjectsDefault) IsClientError ¶ added in v0.19.0
func (o *ListProjectsDefault) IsClientError() bool
IsClientError returns true when this list projects default response has a 4xx status code
func (*ListProjectsDefault) IsCode ¶ added in v0.19.0
func (o *ListProjectsDefault) IsCode(code int) bool
IsCode returns true when this list projects default response a status code equal to that given
func (*ListProjectsDefault) IsRedirect ¶ added in v0.19.0
func (o *ListProjectsDefault) IsRedirect() bool
IsRedirect returns true when this list projects default response has a 3xx status code
func (*ListProjectsDefault) IsServerError ¶ added in v0.19.0
func (o *ListProjectsDefault) IsServerError() bool
IsServerError returns true when this list projects default response has a 5xx status code
func (*ListProjectsDefault) IsSuccess ¶ added in v0.19.0
func (o *ListProjectsDefault) IsSuccess() bool
IsSuccess returns true when this list projects default response has a 2xx status code
func (*ListProjectsDefault) String ¶ added in v0.19.0
func (o *ListProjectsDefault) String() string
type ListProjectsOK ¶
type ListProjectsOK struct {
Payload *models.V1ProjectListResponse
}
ListProjectsOK describes a response with status code 200, with default header values.
OK
func NewListProjectsOK ¶
func NewListProjectsOK() *ListProjectsOK
NewListProjectsOK creates a ListProjectsOK with default headers values
func (*ListProjectsOK) Code ¶ added in v0.20.11
func (o *ListProjectsOK) Code() int
Code gets the status code for the list projects o k response
func (*ListProjectsOK) Error ¶
func (o *ListProjectsOK) Error() string
func (*ListProjectsOK) GetPayload ¶ added in v0.9.1
func (o *ListProjectsOK) GetPayload() *models.V1ProjectListResponse
func (*ListProjectsOK) IsClientError ¶ added in v0.19.0
func (o *ListProjectsOK) IsClientError() bool
IsClientError returns true when this list projects o k response has a 4xx status code
func (*ListProjectsOK) IsCode ¶ added in v0.19.0
func (o *ListProjectsOK) IsCode(code int) bool
IsCode returns true when this list projects o k response a status code equal to that given
func (*ListProjectsOK) IsRedirect ¶ added in v0.19.0
func (o *ListProjectsOK) IsRedirect() bool
IsRedirect returns true when this list projects o k response has a 3xx status code
func (*ListProjectsOK) IsServerError ¶ added in v0.19.0
func (o *ListProjectsOK) IsServerError() bool
IsServerError returns true when this list projects o k response has a 5xx status code
func (*ListProjectsOK) IsSuccess ¶ added in v0.19.0
func (o *ListProjectsOK) IsSuccess() bool
IsSuccess returns true when this list projects o k response has a 2xx status code
func (*ListProjectsOK) String ¶ added in v0.19.0
func (o *ListProjectsOK) String() string
type ListProjectsParams ¶
type ListProjectsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectsParams contains all the parameters to send to the API endpoint
for the list projects operation. Typically these are written to a http.Request.
func NewListProjectsParams ¶
func NewListProjectsParams() *ListProjectsParams
NewListProjectsParams creates a new ListProjectsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListProjectsParamsWithContext ¶
func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParams
NewListProjectsParamsWithContext creates a new ListProjectsParams object with the ability to set a context for a request.
func NewListProjectsParamsWithHTTPClient ¶
func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams
NewListProjectsParamsWithHTTPClient creates a new ListProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewListProjectsParamsWithTimeout ¶
func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams
NewListProjectsParamsWithTimeout creates a new ListProjectsParams object with the ability to set a timeout on a request.
func (*ListProjectsParams) SetContext ¶
func (o *ListProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the list projects params
func (*ListProjectsParams) SetDefaults ¶ added in v0.12.0
func (o *ListProjectsParams) SetDefaults()
SetDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) SetHTTPClient ¶
func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) SetTimeout ¶
func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WithContext ¶
func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
WithContext adds the context to the list projects params
func (*ListProjectsParams) WithDefaults ¶ added in v0.12.0
func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
WithDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) WithHTTPClient ¶
func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
WithHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) WithTimeout ¶
func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
WithTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WriteToRequest ¶
func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectsReader ¶
type ListProjectsReader struct {
// contains filtered or unexported fields
}
ListProjectsReader is a Reader for the ListProjects structure.
func (*ListProjectsReader) ReadResponse ¶
func (o *ListProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MachineReservationsUsageDefault ¶ added in v0.29.0
type MachineReservationsUsageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
MachineReservationsUsageDefault describes a response with status code -1, with default header values.
Error
func NewMachineReservationsUsageDefault ¶ added in v0.29.0
func NewMachineReservationsUsageDefault(code int) *MachineReservationsUsageDefault
NewMachineReservationsUsageDefault creates a MachineReservationsUsageDefault with default headers values
func (*MachineReservationsUsageDefault) Code ¶ added in v0.29.0
func (o *MachineReservationsUsageDefault) Code() int
Code gets the status code for the machine reservations usage default response
func (*MachineReservationsUsageDefault) Error ¶ added in v0.29.0
func (o *MachineReservationsUsageDefault) Error() string
func (*MachineReservationsUsageDefault) GetPayload ¶ added in v0.29.0
func (o *MachineReservationsUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*MachineReservationsUsageDefault) IsClientError ¶ added in v0.29.0
func (o *MachineReservationsUsageDefault) IsClientError() bool
IsClientError returns true when this machine reservations usage default response has a 4xx status code
func (*MachineReservationsUsageDefault) IsCode ¶ added in v0.29.0
func (o *MachineReservationsUsageDefault) IsCode(code int) bool
IsCode returns true when this machine reservations usage default response a status code equal to that given
func (*MachineReservationsUsageDefault) IsRedirect ¶ added in v0.29.0
func (o *MachineReservationsUsageDefault) IsRedirect() bool
IsRedirect returns true when this machine reservations usage default response has a 3xx status code
func (*MachineReservationsUsageDefault) IsServerError ¶ added in v0.29.0
func (o *MachineReservationsUsageDefault) IsServerError() bool
IsServerError returns true when this machine reservations usage default response has a 5xx status code
func (*MachineReservationsUsageDefault) IsSuccess ¶ added in v0.29.0
func (o *MachineReservationsUsageDefault) IsSuccess() bool
IsSuccess returns true when this machine reservations usage default response has a 2xx status code
func (*MachineReservationsUsageDefault) String ¶ added in v0.29.0
func (o *MachineReservationsUsageDefault) String() string
type MachineReservationsUsageOK ¶ added in v0.29.0
type MachineReservationsUsageOK struct {
Payload []*models.V1MachineReservationUsageResponse
}
MachineReservationsUsageOK describes a response with status code 200, with default header values.
OK
func NewMachineReservationsUsageOK ¶ added in v0.29.0
func NewMachineReservationsUsageOK() *MachineReservationsUsageOK
NewMachineReservationsUsageOK creates a MachineReservationsUsageOK with default headers values
func (*MachineReservationsUsageOK) Code ¶ added in v0.29.0
func (o *MachineReservationsUsageOK) Code() int
Code gets the status code for the machine reservations usage o k response
func (*MachineReservationsUsageOK) Error ¶ added in v0.29.0
func (o *MachineReservationsUsageOK) Error() string
func (*MachineReservationsUsageOK) GetPayload ¶ added in v0.29.0
func (o *MachineReservationsUsageOK) GetPayload() []*models.V1MachineReservationUsageResponse
func (*MachineReservationsUsageOK) IsClientError ¶ added in v0.29.0
func (o *MachineReservationsUsageOK) IsClientError() bool
IsClientError returns true when this machine reservations usage o k response has a 4xx status code
func (*MachineReservationsUsageOK) IsCode ¶ added in v0.29.0
func (o *MachineReservationsUsageOK) IsCode(code int) bool
IsCode returns true when this machine reservations usage o k response a status code equal to that given
func (*MachineReservationsUsageOK) IsRedirect ¶ added in v0.29.0
func (o *MachineReservationsUsageOK) IsRedirect() bool
IsRedirect returns true when this machine reservations usage o k response has a 3xx status code
func (*MachineReservationsUsageOK) IsServerError ¶ added in v0.29.0
func (o *MachineReservationsUsageOK) IsServerError() bool
IsServerError returns true when this machine reservations usage o k response has a 5xx status code
func (*MachineReservationsUsageOK) IsSuccess ¶ added in v0.29.0
func (o *MachineReservationsUsageOK) IsSuccess() bool
IsSuccess returns true when this machine reservations usage o k response has a 2xx status code
func (*MachineReservationsUsageOK) String ¶ added in v0.29.0
func (o *MachineReservationsUsageOK) String() string
type MachineReservationsUsageParams ¶ added in v0.29.0
type MachineReservationsUsageParams struct { // Body. Body *models.V1MachineReservationFindRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MachineReservationsUsageParams contains all the parameters to send to the API endpoint
for the machine reservations usage operation. Typically these are written to a http.Request.
func NewMachineReservationsUsageParams ¶ added in v0.29.0
func NewMachineReservationsUsageParams() *MachineReservationsUsageParams
NewMachineReservationsUsageParams creates a new MachineReservationsUsageParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMachineReservationsUsageParamsWithContext ¶ added in v0.29.0
func NewMachineReservationsUsageParamsWithContext(ctx context.Context) *MachineReservationsUsageParams
NewMachineReservationsUsageParamsWithContext creates a new MachineReservationsUsageParams object with the ability to set a context for a request.
func NewMachineReservationsUsageParamsWithHTTPClient ¶ added in v0.29.0
func NewMachineReservationsUsageParamsWithHTTPClient(client *http.Client) *MachineReservationsUsageParams
NewMachineReservationsUsageParamsWithHTTPClient creates a new MachineReservationsUsageParams object with the ability to set a custom HTTPClient for a request.
func NewMachineReservationsUsageParamsWithTimeout ¶ added in v0.29.0
func NewMachineReservationsUsageParamsWithTimeout(timeout time.Duration) *MachineReservationsUsageParams
NewMachineReservationsUsageParamsWithTimeout creates a new MachineReservationsUsageParams object with the ability to set a timeout on a request.
func (*MachineReservationsUsageParams) SetBody ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) SetBody(body *models.V1MachineReservationFindRequest)
SetBody adds the body to the machine reservations usage params
func (*MachineReservationsUsageParams) SetContext ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the machine reservations usage params
func (*MachineReservationsUsageParams) SetDefaults ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) SetDefaults()
SetDefaults hydrates default values in the machine reservations usage params (not the query body).
All values with no default are reset to their zero value.
func (*MachineReservationsUsageParams) SetHTTPClient ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the machine reservations usage params
func (*MachineReservationsUsageParams) SetTimeout ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the machine reservations usage params
func (*MachineReservationsUsageParams) WithBody ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) WithBody(body *models.V1MachineReservationFindRequest) *MachineReservationsUsageParams
WithBody adds the body to the machine reservations usage params
func (*MachineReservationsUsageParams) WithContext ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) WithContext(ctx context.Context) *MachineReservationsUsageParams
WithContext adds the context to the machine reservations usage params
func (*MachineReservationsUsageParams) WithDefaults ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) WithDefaults() *MachineReservationsUsageParams
WithDefaults hydrates default values in the machine reservations usage params (not the query body).
All values with no default are reset to their zero value.
func (*MachineReservationsUsageParams) WithHTTPClient ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) WithHTTPClient(client *http.Client) *MachineReservationsUsageParams
WithHTTPClient adds the HTTPClient to the machine reservations usage params
func (*MachineReservationsUsageParams) WithTimeout ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) WithTimeout(timeout time.Duration) *MachineReservationsUsageParams
WithTimeout adds the timeout to the machine reservations usage params
func (*MachineReservationsUsageParams) WriteToRequest ¶ added in v0.29.0
func (o *MachineReservationsUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MachineReservationsUsageReader ¶ added in v0.29.0
type MachineReservationsUsageReader struct {
// contains filtered or unexported fields
}
MachineReservationsUsageReader is a Reader for the MachineReservationsUsage structure.
func (*MachineReservationsUsageReader) ReadResponse ¶ added in v0.29.0
func (o *MachineReservationsUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateMachineReservationDefault ¶ added in v0.29.0
type UpdateMachineReservationDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateMachineReservationDefault describes a response with status code -1, with default header values.
Error
func NewUpdateMachineReservationDefault ¶ added in v0.29.0
func NewUpdateMachineReservationDefault(code int) *UpdateMachineReservationDefault
NewUpdateMachineReservationDefault creates a UpdateMachineReservationDefault with default headers values
func (*UpdateMachineReservationDefault) Code ¶ added in v0.29.0
func (o *UpdateMachineReservationDefault) Code() int
Code gets the status code for the update machine reservation default response
func (*UpdateMachineReservationDefault) Error ¶ added in v0.29.0
func (o *UpdateMachineReservationDefault) Error() string
func (*UpdateMachineReservationDefault) GetPayload ¶ added in v0.29.0
func (o *UpdateMachineReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateMachineReservationDefault) IsClientError ¶ added in v0.29.0
func (o *UpdateMachineReservationDefault) IsClientError() bool
IsClientError returns true when this update machine reservation default response has a 4xx status code
func (*UpdateMachineReservationDefault) IsCode ¶ added in v0.29.0
func (o *UpdateMachineReservationDefault) IsCode(code int) bool
IsCode returns true when this update machine reservation default response a status code equal to that given
func (*UpdateMachineReservationDefault) IsRedirect ¶ added in v0.29.0
func (o *UpdateMachineReservationDefault) IsRedirect() bool
IsRedirect returns true when this update machine reservation default response has a 3xx status code
func (*UpdateMachineReservationDefault) IsServerError ¶ added in v0.29.0
func (o *UpdateMachineReservationDefault) IsServerError() bool
IsServerError returns true when this update machine reservation default response has a 5xx status code
func (*UpdateMachineReservationDefault) IsSuccess ¶ added in v0.29.0
func (o *UpdateMachineReservationDefault) IsSuccess() bool
IsSuccess returns true when this update machine reservation default response has a 2xx status code
func (*UpdateMachineReservationDefault) String ¶ added in v0.29.0
func (o *UpdateMachineReservationDefault) String() string
type UpdateMachineReservationOK ¶ added in v0.29.0
type UpdateMachineReservationOK struct {
Payload *models.V1MachineReservationResponse
}
UpdateMachineReservationOK describes a response with status code 200, with default header values.
Updated
func NewUpdateMachineReservationOK ¶ added in v0.29.0
func NewUpdateMachineReservationOK() *UpdateMachineReservationOK
NewUpdateMachineReservationOK creates a UpdateMachineReservationOK with default headers values
func (*UpdateMachineReservationOK) Code ¶ added in v0.29.0
func (o *UpdateMachineReservationOK) Code() int
Code gets the status code for the update machine reservation o k response
func (*UpdateMachineReservationOK) Error ¶ added in v0.29.0
func (o *UpdateMachineReservationOK) Error() string
func (*UpdateMachineReservationOK) GetPayload ¶ added in v0.29.0
func (o *UpdateMachineReservationOK) GetPayload() *models.V1MachineReservationResponse
func (*UpdateMachineReservationOK) IsClientError ¶ added in v0.29.0
func (o *UpdateMachineReservationOK) IsClientError() bool
IsClientError returns true when this update machine reservation o k response has a 4xx status code
func (*UpdateMachineReservationOK) IsCode ¶ added in v0.29.0
func (o *UpdateMachineReservationOK) IsCode(code int) bool
IsCode returns true when this update machine reservation o k response a status code equal to that given
func (*UpdateMachineReservationOK) IsRedirect ¶ added in v0.29.0
func (o *UpdateMachineReservationOK) IsRedirect() bool
IsRedirect returns true when this update machine reservation o k response has a 3xx status code
func (*UpdateMachineReservationOK) IsServerError ¶ added in v0.29.0
func (o *UpdateMachineReservationOK) IsServerError() bool
IsServerError returns true when this update machine reservation o k response has a 5xx status code
func (*UpdateMachineReservationOK) IsSuccess ¶ added in v0.29.0
func (o *UpdateMachineReservationOK) IsSuccess() bool
IsSuccess returns true when this update machine reservation o k response has a 2xx status code
func (*UpdateMachineReservationOK) String ¶ added in v0.29.0
func (o *UpdateMachineReservationOK) String() string
type UpdateMachineReservationParams ¶ added in v0.29.0
type UpdateMachineReservationParams struct { // Body. Body *models.V1MachineReservationUpdateRequest /* Force. if true, allows overbooking of a partition */ Force *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateMachineReservationParams contains all the parameters to send to the API endpoint
for the update machine reservation operation. Typically these are written to a http.Request.
func NewUpdateMachineReservationParams ¶ added in v0.29.0
func NewUpdateMachineReservationParams() *UpdateMachineReservationParams
NewUpdateMachineReservationParams creates a new UpdateMachineReservationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateMachineReservationParamsWithContext ¶ added in v0.29.0
func NewUpdateMachineReservationParamsWithContext(ctx context.Context) *UpdateMachineReservationParams
NewUpdateMachineReservationParamsWithContext creates a new UpdateMachineReservationParams object with the ability to set a context for a request.
func NewUpdateMachineReservationParamsWithHTTPClient ¶ added in v0.29.0
func NewUpdateMachineReservationParamsWithHTTPClient(client *http.Client) *UpdateMachineReservationParams
NewUpdateMachineReservationParamsWithHTTPClient creates a new UpdateMachineReservationParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateMachineReservationParamsWithTimeout ¶ added in v0.29.0
func NewUpdateMachineReservationParamsWithTimeout(timeout time.Duration) *UpdateMachineReservationParams
NewUpdateMachineReservationParamsWithTimeout creates a new UpdateMachineReservationParams object with the ability to set a timeout on a request.
func (*UpdateMachineReservationParams) SetBody ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) SetBody(body *models.V1MachineReservationUpdateRequest)
SetBody adds the body to the update machine reservation params
func (*UpdateMachineReservationParams) SetContext ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) SetContext(ctx context.Context)
SetContext adds the context to the update machine reservation params
func (*UpdateMachineReservationParams) SetDefaults ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) SetDefaults()
SetDefaults hydrates default values in the update machine reservation params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateMachineReservationParams) SetForce ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) SetForce(force *bool)
SetForce adds the force to the update machine reservation params
func (*UpdateMachineReservationParams) SetHTTPClient ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update machine reservation params
func (*UpdateMachineReservationParams) SetTimeout ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update machine reservation params
func (*UpdateMachineReservationParams) WithBody ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) WithBody(body *models.V1MachineReservationUpdateRequest) *UpdateMachineReservationParams
WithBody adds the body to the update machine reservation params
func (*UpdateMachineReservationParams) WithContext ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) WithContext(ctx context.Context) *UpdateMachineReservationParams
WithContext adds the context to the update machine reservation params
func (*UpdateMachineReservationParams) WithDefaults ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) WithDefaults() *UpdateMachineReservationParams
WithDefaults hydrates default values in the update machine reservation params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateMachineReservationParams) WithForce ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) WithForce(force *bool) *UpdateMachineReservationParams
WithForce adds the force to the update machine reservation params
func (*UpdateMachineReservationParams) WithHTTPClient ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) WithHTTPClient(client *http.Client) *UpdateMachineReservationParams
WithHTTPClient adds the HTTPClient to the update machine reservation params
func (*UpdateMachineReservationParams) WithTimeout ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) WithTimeout(timeout time.Duration) *UpdateMachineReservationParams
WithTimeout adds the timeout to the update machine reservation params
func (*UpdateMachineReservationParams) WriteToRequest ¶ added in v0.29.0
func (o *UpdateMachineReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateMachineReservationReader ¶ added in v0.29.0
type UpdateMachineReservationReader struct {
// contains filtered or unexported fields
}
UpdateMachineReservationReader is a Reader for the UpdateMachineReservation structure.
func (*UpdateMachineReservationReader) ReadResponse ¶ added in v0.29.0
func (o *UpdateMachineReservationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectDefault ¶
type UpdateProjectDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateProjectDefault describes a response with status code -1, with default header values.
Error
func NewUpdateProjectDefault ¶
func NewUpdateProjectDefault(code int) *UpdateProjectDefault
NewUpdateProjectDefault creates a UpdateProjectDefault with default headers values
func (*UpdateProjectDefault) Code ¶
func (o *UpdateProjectDefault) Code() int
Code gets the status code for the update project default response
func (*UpdateProjectDefault) Error ¶
func (o *UpdateProjectDefault) Error() string
func (*UpdateProjectDefault) GetPayload ¶ added in v0.9.1
func (o *UpdateProjectDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateProjectDefault) IsClientError ¶ added in v0.19.0
func (o *UpdateProjectDefault) IsClientError() bool
IsClientError returns true when this update project default response has a 4xx status code
func (*UpdateProjectDefault) IsCode ¶ added in v0.19.0
func (o *UpdateProjectDefault) IsCode(code int) bool
IsCode returns true when this update project default response a status code equal to that given
func (*UpdateProjectDefault) IsRedirect ¶ added in v0.19.0
func (o *UpdateProjectDefault) IsRedirect() bool
IsRedirect returns true when this update project default response has a 3xx status code
func (*UpdateProjectDefault) IsServerError ¶ added in v0.19.0
func (o *UpdateProjectDefault) IsServerError() bool
IsServerError returns true when this update project default response has a 5xx status code
func (*UpdateProjectDefault) IsSuccess ¶ added in v0.19.0
func (o *UpdateProjectDefault) IsSuccess() bool
IsSuccess returns true when this update project default response has a 2xx status code
func (*UpdateProjectDefault) String ¶ added in v0.19.0
func (o *UpdateProjectDefault) String() string
type UpdateProjectOK ¶
type UpdateProjectOK struct {
Payload *models.V1ProjectResponse
}
UpdateProjectOK describes a response with status code 200, with default header values.
Updated
func NewUpdateProjectOK ¶
func NewUpdateProjectOK() *UpdateProjectOK
NewUpdateProjectOK creates a UpdateProjectOK with default headers values
func (*UpdateProjectOK) Code ¶ added in v0.20.11
func (o *UpdateProjectOK) Code() int
Code gets the status code for the update project o k response
func (*UpdateProjectOK) Error ¶
func (o *UpdateProjectOK) Error() string
func (*UpdateProjectOK) GetPayload ¶ added in v0.9.1
func (o *UpdateProjectOK) GetPayload() *models.V1ProjectResponse
func (*UpdateProjectOK) IsClientError ¶ added in v0.19.0
func (o *UpdateProjectOK) IsClientError() bool
IsClientError returns true when this update project o k response has a 4xx status code
func (*UpdateProjectOK) IsCode ¶ added in v0.19.0
func (o *UpdateProjectOK) IsCode(code int) bool
IsCode returns true when this update project o k response a status code equal to that given
func (*UpdateProjectOK) IsRedirect ¶ added in v0.19.0
func (o *UpdateProjectOK) IsRedirect() bool
IsRedirect returns true when this update project o k response has a 3xx status code
func (*UpdateProjectOK) IsServerError ¶ added in v0.19.0
func (o *UpdateProjectOK) IsServerError() bool
IsServerError returns true when this update project o k response has a 5xx status code
func (*UpdateProjectOK) IsSuccess ¶ added in v0.19.0
func (o *UpdateProjectOK) IsSuccess() bool
IsSuccess returns true when this update project o k response has a 2xx status code
func (*UpdateProjectOK) String ¶ added in v0.19.0
func (o *UpdateProjectOK) String() string
type UpdateProjectParams ¶
type UpdateProjectParams struct { // Body. Body *models.V1ProjectUpdateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProjectParams contains all the parameters to send to the API endpoint
for the update project operation. Typically these are written to a http.Request.
func NewUpdateProjectParams ¶
func NewUpdateProjectParams() *UpdateProjectParams
NewUpdateProjectParams creates a new UpdateProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateProjectParamsWithContext ¶
func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams
NewUpdateProjectParamsWithContext creates a new UpdateProjectParams object with the ability to set a context for a request.
func NewUpdateProjectParamsWithHTTPClient ¶
func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams
NewUpdateProjectParamsWithHTTPClient creates a new UpdateProjectParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateProjectParamsWithTimeout ¶
func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams
NewUpdateProjectParamsWithTimeout creates a new UpdateProjectParams object with the ability to set a timeout on a request.
func (*UpdateProjectParams) SetBody ¶
func (o *UpdateProjectParams) SetBody(body *models.V1ProjectUpdateRequest)
SetBody adds the body to the update project params
func (*UpdateProjectParams) SetContext ¶
func (o *UpdateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the update project params
func (*UpdateProjectParams) SetDefaults ¶ added in v0.12.0
func (o *UpdateProjectParams) SetDefaults()
SetDefaults hydrates default values in the update project params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectParams) SetHTTPClient ¶
func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) SetTimeout ¶
func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project params
func (*UpdateProjectParams) WithBody ¶
func (o *UpdateProjectParams) WithBody(body *models.V1ProjectUpdateRequest) *UpdateProjectParams
WithBody adds the body to the update project params
func (*UpdateProjectParams) WithContext ¶
func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
WithContext adds the context to the update project params
func (*UpdateProjectParams) WithDefaults ¶ added in v0.12.0
func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams
WithDefaults hydrates default values in the update project params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectParams) WithHTTPClient ¶
func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
WithHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) WithTimeout ¶
func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
WithTimeout adds the timeout to the update project params
func (*UpdateProjectParams) WriteToRequest ¶
func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectPreconditionFailed ¶
type UpdateProjectPreconditionFailed struct {
Payload *httperrors.HTTPErrorResponse
}
UpdateProjectPreconditionFailed describes a response with status code 412, with default header values.
OptimisticLock
func NewUpdateProjectPreconditionFailed ¶
func NewUpdateProjectPreconditionFailed() *UpdateProjectPreconditionFailed
NewUpdateProjectPreconditionFailed creates a UpdateProjectPreconditionFailed with default headers values
func (*UpdateProjectPreconditionFailed) Code ¶ added in v0.20.11
func (o *UpdateProjectPreconditionFailed) Code() int
Code gets the status code for the update project precondition failed response
func (*UpdateProjectPreconditionFailed) Error ¶
func (o *UpdateProjectPreconditionFailed) Error() string
func (*UpdateProjectPreconditionFailed) GetPayload ¶ added in v0.9.1
func (o *UpdateProjectPreconditionFailed) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateProjectPreconditionFailed) IsClientError ¶ added in v0.19.0
func (o *UpdateProjectPreconditionFailed) IsClientError() bool
IsClientError returns true when this update project precondition failed response has a 4xx status code
func (*UpdateProjectPreconditionFailed) IsCode ¶ added in v0.19.0
func (o *UpdateProjectPreconditionFailed) IsCode(code int) bool
IsCode returns true when this update project precondition failed response a status code equal to that given
func (*UpdateProjectPreconditionFailed) IsRedirect ¶ added in v0.19.0
func (o *UpdateProjectPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this update project precondition failed response has a 3xx status code
func (*UpdateProjectPreconditionFailed) IsServerError ¶ added in v0.19.0
func (o *UpdateProjectPreconditionFailed) IsServerError() bool
IsServerError returns true when this update project precondition failed response has a 5xx status code
func (*UpdateProjectPreconditionFailed) IsSuccess ¶ added in v0.19.0
func (o *UpdateProjectPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this update project precondition failed response has a 2xx status code
func (*UpdateProjectPreconditionFailed) String ¶ added in v0.19.0
func (o *UpdateProjectPreconditionFailed) String() string
type UpdateProjectReader ¶
type UpdateProjectReader struct {
// contains filtered or unexported fields
}
UpdateProjectReader is a Reader for the UpdateProject structure.
func (*UpdateProjectReader) ReadResponse ¶
func (o *UpdateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_machine_reservation_parameters.go
- create_machine_reservation_responses.go
- create_project_parameters.go
- create_project_responses.go
- delete_machine_reservation_parameters.go
- delete_machine_reservation_responses.go
- delete_project_parameters.go
- delete_project_responses.go
- find_project_parameters.go
- find_project_responses.go
- find_projects_parameters.go
- find_projects_responses.go
- get_machine_reservation_parameters.go
- get_machine_reservation_responses.go
- list_machine_reservations_parameters.go
- list_machine_reservations_responses.go
- list_projects_parameters.go
- list_projects_responses.go
- machine_reservations_usage_parameters.go
- machine_reservations_usage_responses.go
- project_client.go
- update_machine_reservation_parameters.go
- update_machine_reservation_responses.go
- update_project_parameters.go
- update_project_responses.go