Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) CreateBucket(params *CreateBucketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateBucketOK, error)
- func (a *Client) DeleteBucket(params *DeleteBucketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBucketNoContent, error)
- func (a *Client) GetBucket(params *GetBucketParams, authInfo runtime.ClientAuthInfoWriter) (*GetBucketOK, error)
- func (a *Client) GetBuckets(params *GetBucketsParams, authInfo runtime.ClientAuthInfoWriter) (*GetBucketsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateBucket(params *UpdateBucketParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateBucketOK, error)
- type ClientService
- type CreateBucketBody
- type CreateBucketDefault
- type CreateBucketDefaultBody
- type CreateBucketOK
- type CreateBucketOKBody
- type CreateBucketOKBodyBucket
- type CreateBucketParams
- func (o *CreateBucketParams) SetBody(body CreateBucketBody)
- func (o *CreateBucketParams) SetContext(ctx context.Context)
- func (o *CreateBucketParams) SetHTTPClient(client *http.Client)
- func (o *CreateBucketParams) SetStackID(stackID string)
- func (o *CreateBucketParams) SetTimeout(timeout time.Duration)
- func (o *CreateBucketParams) WithBody(body CreateBucketBody) *CreateBucketParams
- func (o *CreateBucketParams) WithContext(ctx context.Context) *CreateBucketParams
- func (o *CreateBucketParams) WithHTTPClient(client *http.Client) *CreateBucketParams
- func (o *CreateBucketParams) WithStackID(stackID string) *CreateBucketParams
- func (o *CreateBucketParams) WithTimeout(timeout time.Duration) *CreateBucketParams
- func (o *CreateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBucketReader
- type DeleteBucketDefault
- type DeleteBucketDefaultBody
- type DeleteBucketNoContent
- type DeleteBucketParams
- func (o *DeleteBucketParams) SetBucketID(bucketID string)
- func (o *DeleteBucketParams) SetContext(ctx context.Context)
- func (o *DeleteBucketParams) SetForceDelete(forceDelete *bool)
- func (o *DeleteBucketParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBucketParams) SetStackID(stackID string)
- func (o *DeleteBucketParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBucketParams) WithBucketID(bucketID string) *DeleteBucketParams
- func (o *DeleteBucketParams) WithContext(ctx context.Context) *DeleteBucketParams
- func (o *DeleteBucketParams) WithForceDelete(forceDelete *bool) *DeleteBucketParams
- func (o *DeleteBucketParams) WithHTTPClient(client *http.Client) *DeleteBucketParams
- func (o *DeleteBucketParams) WithStackID(stackID string) *DeleteBucketParams
- func (o *DeleteBucketParams) WithTimeout(timeout time.Duration) *DeleteBucketParams
- func (o *DeleteBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBucketReader
- type GetBucketDefault
- type GetBucketDefaultBody
- type GetBucketOK
- type GetBucketOKBody
- type GetBucketOKBodyBucket
- type GetBucketParams
- func (o *GetBucketParams) SetBucketID(bucketID string)
- func (o *GetBucketParams) SetContext(ctx context.Context)
- func (o *GetBucketParams) SetHTTPClient(client *http.Client)
- func (o *GetBucketParams) SetStackID(stackID string)
- func (o *GetBucketParams) SetTimeout(timeout time.Duration)
- func (o *GetBucketParams) WithBucketID(bucketID string) *GetBucketParams
- func (o *GetBucketParams) WithContext(ctx context.Context) *GetBucketParams
- func (o *GetBucketParams) WithHTTPClient(client *http.Client) *GetBucketParams
- func (o *GetBucketParams) WithStackID(stackID string) *GetBucketParams
- func (o *GetBucketParams) WithTimeout(timeout time.Duration) *GetBucketParams
- func (o *GetBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBucketReader
- type GetBucketsDefault
- type GetBucketsDefaultBody
- type GetBucketsOK
- type GetBucketsOKBody
- type GetBucketsOKBodyPageInfo
- type GetBucketsParams
- func (o *GetBucketsParams) SetContext(ctx context.Context)
- func (o *GetBucketsParams) SetHTTPClient(client *http.Client)
- func (o *GetBucketsParams) SetPageRequestAfter(pageRequestAfter *string)
- func (o *GetBucketsParams) SetPageRequestFilter(pageRequestFilter *string)
- func (o *GetBucketsParams) SetPageRequestFirst(pageRequestFirst *string)
- func (o *GetBucketsParams) SetPageRequestSortBy(pageRequestSortBy *string)
- func (o *GetBucketsParams) SetStackID(stackID string)
- func (o *GetBucketsParams) SetTimeout(timeout time.Duration)
- func (o *GetBucketsParams) WithContext(ctx context.Context) *GetBucketsParams
- func (o *GetBucketsParams) WithHTTPClient(client *http.Client) *GetBucketsParams
- func (o *GetBucketsParams) WithPageRequestAfter(pageRequestAfter *string) *GetBucketsParams
- func (o *GetBucketsParams) WithPageRequestFilter(pageRequestFilter *string) *GetBucketsParams
- func (o *GetBucketsParams) WithPageRequestFirst(pageRequestFirst *string) *GetBucketsParams
- func (o *GetBucketsParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetBucketsParams
- func (o *GetBucketsParams) WithStackID(stackID string) *GetBucketsParams
- func (o *GetBucketsParams) WithTimeout(timeout time.Duration) *GetBucketsParams
- func (o *GetBucketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBucketsReader
- type ResultsItems0
- type UpdateBucketBody
- type UpdateBucketDefault
- type UpdateBucketDefaultBody
- type UpdateBucketOK
- type UpdateBucketOKBody
- type UpdateBucketOKBodyBucket
- type UpdateBucketParams
- func (o *UpdateBucketParams) SetBody(body UpdateBucketBody)
- func (o *UpdateBucketParams) SetBucketID(bucketID string)
- func (o *UpdateBucketParams) SetContext(ctx context.Context)
- func (o *UpdateBucketParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBucketParams) SetStackID(stackID string)
- func (o *UpdateBucketParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBucketParams) WithBody(body UpdateBucketBody) *UpdateBucketParams
- func (o *UpdateBucketParams) WithBucketID(bucketID string) *UpdateBucketParams
- func (o *UpdateBucketParams) WithContext(ctx context.Context) *UpdateBucketParams
- func (o *UpdateBucketParams) WithHTTPClient(client *http.Client) *UpdateBucketParams
- func (o *UpdateBucketParams) WithStackID(stackID string) *UpdateBucketParams
- func (o *UpdateBucketParams) WithTimeout(timeout time.Duration) *UpdateBucketParams
- func (o *UpdateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBucketReader
Constants ¶
const ( // CreateBucketOKBodyBucketVisibilityPRIVATE captures enum value "PRIVATE" CreateBucketOKBodyBucketVisibilityPRIVATE string = "PRIVATE" // CreateBucketOKBodyBucketVisibilityPUBLIC captures enum value "PUBLIC" CreateBucketOKBodyBucketVisibilityPUBLIC string = "PUBLIC" )
const ( // GetBucketOKBodyBucketVisibilityPRIVATE captures enum value "PRIVATE" GetBucketOKBodyBucketVisibilityPRIVATE string = "PRIVATE" // GetBucketOKBodyBucketVisibilityPUBLIC captures enum value "PUBLIC" GetBucketOKBodyBucketVisibilityPUBLIC string = "PUBLIC" )
const ( // ResultsItems0VisibilityPRIVATE captures enum value "PRIVATE" ResultsItems0VisibilityPRIVATE string = "PRIVATE" // ResultsItems0VisibilityPUBLIC captures enum value "PUBLIC" ResultsItems0VisibilityPUBLIC string = "PUBLIC" )
const ( // UpdateBucketBodyVisibilityPRIVATE captures enum value "PRIVATE" UpdateBucketBodyVisibilityPRIVATE string = "PRIVATE" // UpdateBucketBodyVisibilityPUBLIC captures enum value "PUBLIC" UpdateBucketBodyVisibilityPUBLIC string = "PUBLIC" )
const ( // UpdateBucketOKBodyBucketVisibilityPRIVATE captures enum value "PRIVATE" UpdateBucketOKBodyBucketVisibilityPRIVATE string = "PRIVATE" // UpdateBucketOKBodyBucketVisibilityPUBLIC captures enum value "PUBLIC" UpdateBucketOKBodyBucketVisibilityPUBLIC string = "PUBLIC" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for buckets API
func (*Client) CreateBucket ¶
func (a *Client) CreateBucket(params *CreateBucketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateBucketOK, error)
CreateBucket creates a bucket under a stack
func (*Client) DeleteBucket ¶
func (a *Client) DeleteBucket(params *DeleteBucketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBucketNoContent, error)
DeleteBucket deletes a given bucket
func (*Client) GetBucket ¶
func (a *Client) GetBucket(params *GetBucketParams, authInfo runtime.ClientAuthInfoWriter) (*GetBucketOK, error)
GetBucket retrieves a bucket in the storage provider for a given stack
func (*Client) GetBuckets ¶
func (a *Client) GetBuckets(params *GetBucketsParams, authInfo runtime.ClientAuthInfoWriter) (*GetBucketsOK, error)
GetBuckets retrieves all buckets in the storage provider for a given stack
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateBucket ¶
func (a *Client) UpdateBucket(params *UpdateBucketParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateBucketOK, error)
UpdateBucket updates the name of a bucket
type ClientService ¶
type ClientService interface {
CreateBucket(params *CreateBucketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateBucketOK, error)
DeleteBucket(params *DeleteBucketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBucketNoContent, error)
GetBucket(params *GetBucketParams, authInfo runtime.ClientAuthInfoWriter) (*GetBucketOK, error)
GetBuckets(params *GetBucketsParams, authInfo runtime.ClientAuthInfoWriter) (*GetBucketsOK, error)
UpdateBucket(params *UpdateBucketParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateBucketOK, 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 buckets API client.
type CreateBucketBody ¶
type CreateBucketBody struct {
// The name of the bucket to be created
Label string `json:"label,omitempty"`
// The region where to create the bucket, defaults to us-east-1
Region string `json:"region,omitempty"`
}
CreateBucketBody create bucket body swagger:model CreateBucketBody
func (*CreateBucketBody) MarshalBinary ¶
func (o *CreateBucketBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBucketBody) UnmarshalBinary ¶
func (o *CreateBucketBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBucketDefault ¶
type CreateBucketDefault struct {
Payload *CreateBucketDefaultBody
// contains filtered or unexported fields
}
CreateBucketDefault handles this case with default header values.
Default error structure.
func NewCreateBucketDefault ¶
func NewCreateBucketDefault(code int) *CreateBucketDefault
NewCreateBucketDefault creates a CreateBucketDefault with default headers values
func (*CreateBucketDefault) Code ¶
func (o *CreateBucketDefault) Code() int
Code gets the status code for the create bucket default response
func (*CreateBucketDefault) Error ¶
func (o *CreateBucketDefault) Error() string
func (*CreateBucketDefault) GetPayload ¶
func (o *CreateBucketDefault) GetPayload() *CreateBucketDefaultBody
type CreateBucketDefaultBody ¶
type CreateBucketDefaultBody struct {
// code
Code int32 `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
CreateBucketDefaultBody create bucket default body swagger:model CreateBucketDefaultBody
func (*CreateBucketDefaultBody) MarshalBinary ¶
func (o *CreateBucketDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBucketDefaultBody) UnmarshalBinary ¶
func (o *CreateBucketDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBucketOK ¶
type CreateBucketOK struct {
Payload *CreateBucketOKBody
}
CreateBucketOK handles this case with default header values.
CreateBucketOK create bucket o k
func NewCreateBucketOK ¶
func NewCreateBucketOK() *CreateBucketOK
NewCreateBucketOK creates a CreateBucketOK with default headers values
func (*CreateBucketOK) Error ¶
func (o *CreateBucketOK) Error() string
func (*CreateBucketOK) GetPayload ¶
func (o *CreateBucketOK) GetPayload() *CreateBucketOKBody
type CreateBucketOKBody ¶
type CreateBucketOKBody struct {
// bucket
Bucket *CreateBucketOKBodyBucket `json:"bucket,omitempty"`
}
CreateBucketOKBody The bucket created swagger:model CreateBucketOKBody
func (*CreateBucketOKBody) MarshalBinary ¶
func (o *CreateBucketOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBucketOKBody) UnmarshalBinary ¶
func (o *CreateBucketOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBucketOKBodyBucket ¶
type CreateBucketOKBodyBucket struct {
// The date when the bucket was created
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// The URL used to access the bucket
EndpointURL string `json:"endpointUrl,omitempty"`
// The ID for the bucket
ID string `json:"id,omitempty"`
// The name of the bucket
Label string `json:"label,omitempty"`
// The region in which the bucket is created. Available regions are: us-east-1, us-west-1, eu-central-1
Region string `json:"region,omitempty"`
// The date when the bucket was last updated
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
// - PRIVATE: The bucket is private and only accessibly with credentials
// - PUBLIC: The bucket is public and accessible over the internet
// Enum: [PRIVATE PUBLIC]
Visibility *string `json:"visibility,omitempty"`
}
CreateBucketOKBodyBucket create bucket o k body bucket swagger:model CreateBucketOKBodyBucket
func (*CreateBucketOKBodyBucket) MarshalBinary ¶
func (o *CreateBucketOKBodyBucket) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBucketOKBodyBucket) UnmarshalBinary ¶
func (o *CreateBucketOKBodyBucket) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBucketParams ¶
type CreateBucketParams struct {
/*Body*/
Body CreateBucketBody
/*StackID
The ID for the stack on which the bucket will be created
*/
StackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateBucketParams contains all the parameters to send to the API endpoint for the create bucket operation typically these are written to a http.Request
func NewCreateBucketParams ¶
func NewCreateBucketParams() *CreateBucketParams
NewCreateBucketParams creates a new CreateBucketParams object with the default values initialized.
func NewCreateBucketParamsWithContext ¶
func NewCreateBucketParamsWithContext(ctx context.Context) *CreateBucketParams
NewCreateBucketParamsWithContext creates a new CreateBucketParams object with the default values initialized, and the ability to set a context for a request
func NewCreateBucketParamsWithHTTPClient ¶
func NewCreateBucketParamsWithHTTPClient(client *http.Client) *CreateBucketParams
NewCreateBucketParamsWithHTTPClient creates a new CreateBucketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateBucketParamsWithTimeout ¶
func NewCreateBucketParamsWithTimeout(timeout time.Duration) *CreateBucketParams
NewCreateBucketParamsWithTimeout creates a new CreateBucketParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateBucketParams) SetBody ¶
func (o *CreateBucketParams) SetBody(body CreateBucketBody)
SetBody adds the body to the create bucket params
func (*CreateBucketParams) SetContext ¶
func (o *CreateBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the create bucket params
func (*CreateBucketParams) SetHTTPClient ¶
func (o *CreateBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create bucket params
func (*CreateBucketParams) SetStackID ¶
func (o *CreateBucketParams) SetStackID(stackID string)
SetStackID adds the stackId to the create bucket params
func (*CreateBucketParams) SetTimeout ¶
func (o *CreateBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create bucket params
func (*CreateBucketParams) WithBody ¶
func (o *CreateBucketParams) WithBody(body CreateBucketBody) *CreateBucketParams
WithBody adds the body to the create bucket params
func (*CreateBucketParams) WithContext ¶
func (o *CreateBucketParams) WithContext(ctx context.Context) *CreateBucketParams
WithContext adds the context to the create bucket params
func (*CreateBucketParams) WithHTTPClient ¶
func (o *CreateBucketParams) WithHTTPClient(client *http.Client) *CreateBucketParams
WithHTTPClient adds the HTTPClient to the create bucket params
func (*CreateBucketParams) WithStackID ¶
func (o *CreateBucketParams) WithStackID(stackID string) *CreateBucketParams
WithStackID adds the stackID to the create bucket params
func (*CreateBucketParams) WithTimeout ¶
func (o *CreateBucketParams) WithTimeout(timeout time.Duration) *CreateBucketParams
WithTimeout adds the timeout to the create bucket params
func (*CreateBucketParams) WriteToRequest ¶
func (o *CreateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBucketReader ¶
type CreateBucketReader struct {
// contains filtered or unexported fields
}
CreateBucketReader is a Reader for the CreateBucket structure.
func (*CreateBucketReader) ReadResponse ¶
func (o *CreateBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBucketDefault ¶
type DeleteBucketDefault struct {
Payload *DeleteBucketDefaultBody
// contains filtered or unexported fields
}
DeleteBucketDefault handles this case with default header values.
Default error structure.
func NewDeleteBucketDefault ¶
func NewDeleteBucketDefault(code int) *DeleteBucketDefault
NewDeleteBucketDefault creates a DeleteBucketDefault with default headers values
func (*DeleteBucketDefault) Code ¶
func (o *DeleteBucketDefault) Code() int
Code gets the status code for the delete bucket default response
func (*DeleteBucketDefault) Error ¶
func (o *DeleteBucketDefault) Error() string
func (*DeleteBucketDefault) GetPayload ¶
func (o *DeleteBucketDefault) GetPayload() *DeleteBucketDefaultBody
type DeleteBucketDefaultBody ¶
type DeleteBucketDefaultBody struct {
// code
Code int32 `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
DeleteBucketDefaultBody delete bucket default body swagger:model DeleteBucketDefaultBody
func (*DeleteBucketDefaultBody) MarshalBinary ¶
func (o *DeleteBucketDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteBucketDefaultBody) UnmarshalBinary ¶
func (o *DeleteBucketDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteBucketNoContent ¶
type DeleteBucketNoContent struct {
}
DeleteBucketNoContent handles this case with default header values.
No content
func NewDeleteBucketNoContent ¶
func NewDeleteBucketNoContent() *DeleteBucketNoContent
NewDeleteBucketNoContent creates a DeleteBucketNoContent with default headers values
func (*DeleteBucketNoContent) Error ¶
func (o *DeleteBucketNoContent) Error() string
type DeleteBucketParams ¶
type DeleteBucketParams struct {
/*BucketID
The ID for the bucket to delete
*/
BucketID string
/*ForceDelete
Force bucket deletion even if there is contents inside it.
*/
ForceDelete *bool
/*StackID
The ID for the stack in which the bucket belongs
*/
StackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteBucketParams contains all the parameters to send to the API endpoint for the delete bucket operation typically these are written to a http.Request
func NewDeleteBucketParams ¶
func NewDeleteBucketParams() *DeleteBucketParams
NewDeleteBucketParams creates a new DeleteBucketParams object with the default values initialized.
func NewDeleteBucketParamsWithContext ¶
func NewDeleteBucketParamsWithContext(ctx context.Context) *DeleteBucketParams
NewDeleteBucketParamsWithContext creates a new DeleteBucketParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteBucketParamsWithHTTPClient ¶
func NewDeleteBucketParamsWithHTTPClient(client *http.Client) *DeleteBucketParams
NewDeleteBucketParamsWithHTTPClient creates a new DeleteBucketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteBucketParamsWithTimeout ¶
func NewDeleteBucketParamsWithTimeout(timeout time.Duration) *DeleteBucketParams
NewDeleteBucketParamsWithTimeout creates a new DeleteBucketParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteBucketParams) SetBucketID ¶
func (o *DeleteBucketParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the delete bucket params
func (*DeleteBucketParams) SetContext ¶
func (o *DeleteBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the delete bucket params
func (*DeleteBucketParams) SetForceDelete ¶
func (o *DeleteBucketParams) SetForceDelete(forceDelete *bool)
SetForceDelete adds the forceDelete to the delete bucket params
func (*DeleteBucketParams) SetHTTPClient ¶
func (o *DeleteBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete bucket params
func (*DeleteBucketParams) SetStackID ¶
func (o *DeleteBucketParams) SetStackID(stackID string)
SetStackID adds the stackId to the delete bucket params
func (*DeleteBucketParams) SetTimeout ¶
func (o *DeleteBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete bucket params
func (*DeleteBucketParams) WithBucketID ¶
func (o *DeleteBucketParams) WithBucketID(bucketID string) *DeleteBucketParams
WithBucketID adds the bucketID to the delete bucket params
func (*DeleteBucketParams) WithContext ¶
func (o *DeleteBucketParams) WithContext(ctx context.Context) *DeleteBucketParams
WithContext adds the context to the delete bucket params
func (*DeleteBucketParams) WithForceDelete ¶
func (o *DeleteBucketParams) WithForceDelete(forceDelete *bool) *DeleteBucketParams
WithForceDelete adds the forceDelete to the delete bucket params
func (*DeleteBucketParams) WithHTTPClient ¶
func (o *DeleteBucketParams) WithHTTPClient(client *http.Client) *DeleteBucketParams
WithHTTPClient adds the HTTPClient to the delete bucket params
func (*DeleteBucketParams) WithStackID ¶
func (o *DeleteBucketParams) WithStackID(stackID string) *DeleteBucketParams
WithStackID adds the stackID to the delete bucket params
func (*DeleteBucketParams) WithTimeout ¶
func (o *DeleteBucketParams) WithTimeout(timeout time.Duration) *DeleteBucketParams
WithTimeout adds the timeout to the delete bucket params
func (*DeleteBucketParams) WriteToRequest ¶
func (o *DeleteBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBucketReader ¶
type DeleteBucketReader struct {
// contains filtered or unexported fields
}
DeleteBucketReader is a Reader for the DeleteBucket structure.
func (*DeleteBucketReader) ReadResponse ¶
func (o *DeleteBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBucketDefault ¶
type GetBucketDefault struct {
Payload *GetBucketDefaultBody
// contains filtered or unexported fields
}
GetBucketDefault handles this case with default header values.
Default error structure.
func NewGetBucketDefault ¶
func NewGetBucketDefault(code int) *GetBucketDefault
NewGetBucketDefault creates a GetBucketDefault with default headers values
func (*GetBucketDefault) Code ¶
func (o *GetBucketDefault) Code() int
Code gets the status code for the get bucket default response
func (*GetBucketDefault) Error ¶
func (o *GetBucketDefault) Error() string
func (*GetBucketDefault) GetPayload ¶
func (o *GetBucketDefault) GetPayload() *GetBucketDefaultBody
type GetBucketDefaultBody ¶
type GetBucketDefaultBody struct {
// code
Code int32 `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
GetBucketDefaultBody get bucket default body swagger:model GetBucketDefaultBody
func (*GetBucketDefaultBody) MarshalBinary ¶
func (o *GetBucketDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBucketDefaultBody) UnmarshalBinary ¶
func (o *GetBucketDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBucketOK ¶
type GetBucketOK struct {
Payload *GetBucketOKBody
}
GetBucketOK handles this case with default header values.
GetBucketOK get bucket o k
func NewGetBucketOK ¶
func NewGetBucketOK() *GetBucketOK
NewGetBucketOK creates a GetBucketOK with default headers values
func (*GetBucketOK) Error ¶
func (o *GetBucketOK) Error() string
func (*GetBucketOK) GetPayload ¶
func (o *GetBucketOK) GetPayload() *GetBucketOKBody
type GetBucketOKBody ¶
type GetBucketOKBody struct {
// bucket
Bucket *GetBucketOKBodyBucket `json:"bucket,omitempty"`
}
GetBucketOKBody The bucket for the given stack swagger:model GetBucketOKBody
func (*GetBucketOKBody) MarshalBinary ¶
func (o *GetBucketOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBucketOKBody) UnmarshalBinary ¶
func (o *GetBucketOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBucketOKBodyBucket ¶
type GetBucketOKBodyBucket struct {
// The date when the bucket was created
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// The URL used to access the bucket
EndpointURL string `json:"endpointUrl,omitempty"`
// The ID for the bucket
ID string `json:"id,omitempty"`
// The name of the bucket
Label string `json:"label,omitempty"`
// The region in which the bucket is created. Available regions are: us-east-1, us-west-1, eu-central-1
Region string `json:"region,omitempty"`
// The date when the bucket was last updated
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
// - PRIVATE: The bucket is private and only accessibly with credentials
// - PUBLIC: The bucket is public and accessible over the internet
// Enum: [PRIVATE PUBLIC]
Visibility *string `json:"visibility,omitempty"`
}
GetBucketOKBodyBucket get bucket o k body bucket swagger:model GetBucketOKBodyBucket
func (*GetBucketOKBodyBucket) MarshalBinary ¶
func (o *GetBucketOKBodyBucket) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBucketOKBodyBucket) UnmarshalBinary ¶
func (o *GetBucketOKBodyBucket) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBucketParams ¶
type GetBucketParams struct {
/*BucketID
The ID for the bucket to retrieve
*/
BucketID string
/*StackID
The ID for the stack for which the buckets will be retrieved
*/
StackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetBucketParams contains all the parameters to send to the API endpoint for the get bucket operation typically these are written to a http.Request
func NewGetBucketParams ¶
func NewGetBucketParams() *GetBucketParams
NewGetBucketParams creates a new GetBucketParams object with the default values initialized.
func NewGetBucketParamsWithContext ¶
func NewGetBucketParamsWithContext(ctx context.Context) *GetBucketParams
NewGetBucketParamsWithContext creates a new GetBucketParams object with the default values initialized, and the ability to set a context for a request
func NewGetBucketParamsWithHTTPClient ¶
func NewGetBucketParamsWithHTTPClient(client *http.Client) *GetBucketParams
NewGetBucketParamsWithHTTPClient creates a new GetBucketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBucketParamsWithTimeout ¶
func NewGetBucketParamsWithTimeout(timeout time.Duration) *GetBucketParams
NewGetBucketParamsWithTimeout creates a new GetBucketParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBucketParams) SetBucketID ¶
func (o *GetBucketParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the get bucket params
func (*GetBucketParams) SetContext ¶
func (o *GetBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the get bucket params
func (*GetBucketParams) SetHTTPClient ¶
func (o *GetBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get bucket params
func (*GetBucketParams) SetStackID ¶
func (o *GetBucketParams) SetStackID(stackID string)
SetStackID adds the stackId to the get bucket params
func (*GetBucketParams) SetTimeout ¶
func (o *GetBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get bucket params
func (*GetBucketParams) WithBucketID ¶
func (o *GetBucketParams) WithBucketID(bucketID string) *GetBucketParams
WithBucketID adds the bucketID to the get bucket params
func (*GetBucketParams) WithContext ¶
func (o *GetBucketParams) WithContext(ctx context.Context) *GetBucketParams
WithContext adds the context to the get bucket params
func (*GetBucketParams) WithHTTPClient ¶
func (o *GetBucketParams) WithHTTPClient(client *http.Client) *GetBucketParams
WithHTTPClient adds the HTTPClient to the get bucket params
func (*GetBucketParams) WithStackID ¶
func (o *GetBucketParams) WithStackID(stackID string) *GetBucketParams
WithStackID adds the stackID to the get bucket params
func (*GetBucketParams) WithTimeout ¶
func (o *GetBucketParams) WithTimeout(timeout time.Duration) *GetBucketParams
WithTimeout adds the timeout to the get bucket params
func (*GetBucketParams) WriteToRequest ¶
func (o *GetBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBucketReader ¶
type GetBucketReader struct {
// contains filtered or unexported fields
}
GetBucketReader is a Reader for the GetBucket structure.
func (*GetBucketReader) ReadResponse ¶
func (o *GetBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBucketsDefault ¶
type GetBucketsDefault struct {
Payload *GetBucketsDefaultBody
// contains filtered or unexported fields
}
GetBucketsDefault handles this case with default header values.
Default error structure.
func NewGetBucketsDefault ¶
func NewGetBucketsDefault(code int) *GetBucketsDefault
NewGetBucketsDefault creates a GetBucketsDefault with default headers values
func (*GetBucketsDefault) Code ¶
func (o *GetBucketsDefault) Code() int
Code gets the status code for the get buckets default response
func (*GetBucketsDefault) Error ¶
func (o *GetBucketsDefault) Error() string
func (*GetBucketsDefault) GetPayload ¶
func (o *GetBucketsDefault) GetPayload() *GetBucketsDefaultBody
type GetBucketsDefaultBody ¶
type GetBucketsDefaultBody struct {
// code
Code int32 `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
GetBucketsDefaultBody get buckets default body swagger:model GetBucketsDefaultBody
func (*GetBucketsDefaultBody) MarshalBinary ¶
func (o *GetBucketsDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBucketsDefaultBody) UnmarshalBinary ¶
func (o *GetBucketsDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBucketsOK ¶
type GetBucketsOK struct {
Payload *GetBucketsOKBody
}
GetBucketsOK handles this case with default header values.
GetBucketsOK get buckets o k
func NewGetBucketsOK ¶
func NewGetBucketsOK() *GetBucketsOK
NewGetBucketsOK creates a GetBucketsOK with default headers values
func (*GetBucketsOK) Error ¶
func (o *GetBucketsOK) Error() string
func (*GetBucketsOK) GetPayload ¶
func (o *GetBucketsOK) GetPayload() *GetBucketsOKBody
type GetBucketsOKBody ¶
type GetBucketsOKBody struct {
// page info
PageInfo *GetBucketsOKBodyPageInfo `json:"pageInfo,omitempty"`
// The requested buckets
Results []*ResultsItems0 `json:"results"`
}
GetBucketsOKBody The buckets for the given stack swagger:model GetBucketsOKBody
func (*GetBucketsOKBody) MarshalBinary ¶
func (o *GetBucketsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBucketsOKBody) UnmarshalBinary ¶
func (o *GetBucketsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBucketsOKBodyPageInfo ¶
type GetBucketsOKBodyPageInfo struct {
// The cursor for the last item in the set of data returned
EndCursor string `json:"endCursor,omitempty"`
// Whether or not another page of data is available
HasNextPage bool `json:"hasNextPage,omitempty"`
// Whether or not a previous page of data exists
HasPreviousPage bool `json:"hasPreviousPage,omitempty"`
// The cursor for the first item in the set of data returned
StartCursor string `json:"startCursor,omitempty"`
// The total number of items in the dataset
TotalCount string `json:"totalCount,omitempty"`
}
GetBucketsOKBodyPageInfo Information about a paginated response // // This is modeled after the GraphQL Relay spec to support both cursor based pagination and traditional offset based pagination. swagger:model GetBucketsOKBodyPageInfo
func (*GetBucketsOKBodyPageInfo) MarshalBinary ¶
func (o *GetBucketsOKBodyPageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBucketsOKBodyPageInfo) UnmarshalBinary ¶
func (o *GetBucketsOKBodyPageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBucketsParams ¶
type GetBucketsParams struct {
/*PageRequestAfter
The cursor value after which data will be returned.
*/
PageRequestAfter *string
/*PageRequestFilter
SQL-style constraint filters.
*/
PageRequestFilter *string
/*PageRequestFirst
The number of items desired.
*/
PageRequestFirst *string
/*PageRequestSortBy
Sort the response by the given field.
*/
PageRequestSortBy *string
/*StackID
The ID for the stack for which the buckets will be retrieved
*/
StackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetBucketsParams contains all the parameters to send to the API endpoint for the get buckets operation typically these are written to a http.Request
func NewGetBucketsParams ¶
func NewGetBucketsParams() *GetBucketsParams
NewGetBucketsParams creates a new GetBucketsParams object with the default values initialized.
func NewGetBucketsParamsWithContext ¶
func NewGetBucketsParamsWithContext(ctx context.Context) *GetBucketsParams
NewGetBucketsParamsWithContext creates a new GetBucketsParams object with the default values initialized, and the ability to set a context for a request
func NewGetBucketsParamsWithHTTPClient ¶
func NewGetBucketsParamsWithHTTPClient(client *http.Client) *GetBucketsParams
NewGetBucketsParamsWithHTTPClient creates a new GetBucketsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBucketsParamsWithTimeout ¶
func NewGetBucketsParamsWithTimeout(timeout time.Duration) *GetBucketsParams
NewGetBucketsParamsWithTimeout creates a new GetBucketsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBucketsParams) SetContext ¶
func (o *GetBucketsParams) SetContext(ctx context.Context)
SetContext adds the context to the get buckets params
func (*GetBucketsParams) SetHTTPClient ¶
func (o *GetBucketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get buckets params
func (*GetBucketsParams) SetPageRequestAfter ¶
func (o *GetBucketsParams) SetPageRequestAfter(pageRequestAfter *string)
SetPageRequestAfter adds the pageRequestAfter to the get buckets params
func (*GetBucketsParams) SetPageRequestFilter ¶
func (o *GetBucketsParams) SetPageRequestFilter(pageRequestFilter *string)
SetPageRequestFilter adds the pageRequestFilter to the get buckets params
func (*GetBucketsParams) SetPageRequestFirst ¶
func (o *GetBucketsParams) SetPageRequestFirst(pageRequestFirst *string)
SetPageRequestFirst adds the pageRequestFirst to the get buckets params
func (*GetBucketsParams) SetPageRequestSortBy ¶
func (o *GetBucketsParams) SetPageRequestSortBy(pageRequestSortBy *string)
SetPageRequestSortBy adds the pageRequestSortBy to the get buckets params
func (*GetBucketsParams) SetStackID ¶
func (o *GetBucketsParams) SetStackID(stackID string)
SetStackID adds the stackId to the get buckets params
func (*GetBucketsParams) SetTimeout ¶
func (o *GetBucketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get buckets params
func (*GetBucketsParams) WithContext ¶
func (o *GetBucketsParams) WithContext(ctx context.Context) *GetBucketsParams
WithContext adds the context to the get buckets params
func (*GetBucketsParams) WithHTTPClient ¶
func (o *GetBucketsParams) WithHTTPClient(client *http.Client) *GetBucketsParams
WithHTTPClient adds the HTTPClient to the get buckets params
func (*GetBucketsParams) WithPageRequestAfter ¶
func (o *GetBucketsParams) WithPageRequestAfter(pageRequestAfter *string) *GetBucketsParams
WithPageRequestAfter adds the pageRequestAfter to the get buckets params
func (*GetBucketsParams) WithPageRequestFilter ¶
func (o *GetBucketsParams) WithPageRequestFilter(pageRequestFilter *string) *GetBucketsParams
WithPageRequestFilter adds the pageRequestFilter to the get buckets params
func (*GetBucketsParams) WithPageRequestFirst ¶
func (o *GetBucketsParams) WithPageRequestFirst(pageRequestFirst *string) *GetBucketsParams
WithPageRequestFirst adds the pageRequestFirst to the get buckets params
func (*GetBucketsParams) WithPageRequestSortBy ¶
func (o *GetBucketsParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetBucketsParams
WithPageRequestSortBy adds the pageRequestSortBy to the get buckets params
func (*GetBucketsParams) WithStackID ¶
func (o *GetBucketsParams) WithStackID(stackID string) *GetBucketsParams
WithStackID adds the stackID to the get buckets params
func (*GetBucketsParams) WithTimeout ¶
func (o *GetBucketsParams) WithTimeout(timeout time.Duration) *GetBucketsParams
WithTimeout adds the timeout to the get buckets params
func (*GetBucketsParams) WriteToRequest ¶
func (o *GetBucketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBucketsReader ¶
type GetBucketsReader struct {
// contains filtered or unexported fields
}
GetBucketsReader is a Reader for the GetBuckets structure.
func (*GetBucketsReader) ReadResponse ¶
func (o *GetBucketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResultsItems0 ¶
type ResultsItems0 struct {
// The date when the bucket was created
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// The URL used to access the bucket
EndpointURL string `json:"endpointUrl,omitempty"`
// The ID for the bucket
ID string `json:"id,omitempty"`
// The name of the bucket
Label string `json:"label,omitempty"`
// The region in which the bucket is created. Available regions are: us-east-1, us-west-1, eu-central-1
Region string `json:"region,omitempty"`
// The date when the bucket was last updated
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
// - PRIVATE: The bucket is private and only accessibly with credentials
// - PUBLIC: The bucket is public and accessible over the internet
// Enum: [PRIVATE PUBLIC]
Visibility *string `json:"visibility,omitempty"`
}
ResultsItems0 results items0 swagger:model ResultsItems0
func (*ResultsItems0) MarshalBinary ¶
func (o *ResultsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResultsItems0) UnmarshalBinary ¶
func (o *ResultsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBucketBody ¶
type UpdateBucketBody struct {
// - PRIVATE: The bucket is private and only accessibly with credentials
// - PUBLIC: The bucket is public and accessible over the internet
// Enum: [PRIVATE PUBLIC]
Visibility *string `json:"visibility,omitempty"`
}
UpdateBucketBody update bucket body swagger:model UpdateBucketBody
func (*UpdateBucketBody) MarshalBinary ¶
func (o *UpdateBucketBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBucketBody) UnmarshalBinary ¶
func (o *UpdateBucketBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBucketDefault ¶
type UpdateBucketDefault struct {
Payload *UpdateBucketDefaultBody
// contains filtered or unexported fields
}
UpdateBucketDefault handles this case with default header values.
Default error structure.
func NewUpdateBucketDefault ¶
func NewUpdateBucketDefault(code int) *UpdateBucketDefault
NewUpdateBucketDefault creates a UpdateBucketDefault with default headers values
func (*UpdateBucketDefault) Code ¶
func (o *UpdateBucketDefault) Code() int
Code gets the status code for the update bucket default response
func (*UpdateBucketDefault) Error ¶
func (o *UpdateBucketDefault) Error() string
func (*UpdateBucketDefault) GetPayload ¶
func (o *UpdateBucketDefault) GetPayload() *UpdateBucketDefaultBody
type UpdateBucketDefaultBody ¶
type UpdateBucketDefaultBody struct {
// code
Code int32 `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
UpdateBucketDefaultBody update bucket default body swagger:model UpdateBucketDefaultBody
func (*UpdateBucketDefaultBody) MarshalBinary ¶
func (o *UpdateBucketDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBucketDefaultBody) UnmarshalBinary ¶
func (o *UpdateBucketDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBucketOK ¶
type UpdateBucketOK struct {
Payload *UpdateBucketOKBody
}
UpdateBucketOK handles this case with default header values.
UpdateBucketOK update bucket o k
func NewUpdateBucketOK ¶
func NewUpdateBucketOK() *UpdateBucketOK
NewUpdateBucketOK creates a UpdateBucketOK with default headers values
func (*UpdateBucketOK) Error ¶
func (o *UpdateBucketOK) Error() string
func (*UpdateBucketOK) GetPayload ¶
func (o *UpdateBucketOK) GetPayload() *UpdateBucketOKBody
type UpdateBucketOKBody ¶
type UpdateBucketOKBody struct {
// bucket
Bucket *UpdateBucketOKBodyBucket `json:"bucket,omitempty"`
}
UpdateBucketOKBody A response of the updated bucket swagger:model UpdateBucketOKBody
func (*UpdateBucketOKBody) MarshalBinary ¶
func (o *UpdateBucketOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBucketOKBody) UnmarshalBinary ¶
func (o *UpdateBucketOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBucketOKBodyBucket ¶
type UpdateBucketOKBodyBucket struct {
// The date when the bucket was created
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// The URL used to access the bucket
EndpointURL string `json:"endpointUrl,omitempty"`
// The ID for the bucket
ID string `json:"id,omitempty"`
// The name of the bucket
Label string `json:"label,omitempty"`
// The region in which the bucket is created. Available regions are: us-east-1, us-west-1, eu-central-1
Region string `json:"region,omitempty"`
// The date when the bucket was last updated
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
// - PRIVATE: The bucket is private and only accessibly with credentials
// - PUBLIC: The bucket is public and accessible over the internet
// Enum: [PRIVATE PUBLIC]
Visibility *string `json:"visibility,omitempty"`
}
UpdateBucketOKBodyBucket update bucket o k body bucket swagger:model UpdateBucketOKBodyBucket
func (*UpdateBucketOKBodyBucket) MarshalBinary ¶
func (o *UpdateBucketOKBodyBucket) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBucketOKBodyBucket) UnmarshalBinary ¶
func (o *UpdateBucketOKBodyBucket) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBucketParams ¶
type UpdateBucketParams struct {
/*Body*/
Body UpdateBucketBody
/*BucketID
The ID for the bucket to update
*/
BucketID string
/*StackID
The ID for the stack on which the bucket belongs to
*/
StackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateBucketParams contains all the parameters to send to the API endpoint for the update bucket operation typically these are written to a http.Request
func NewUpdateBucketParams ¶
func NewUpdateBucketParams() *UpdateBucketParams
NewUpdateBucketParams creates a new UpdateBucketParams object with the default values initialized.
func NewUpdateBucketParamsWithContext ¶
func NewUpdateBucketParamsWithContext(ctx context.Context) *UpdateBucketParams
NewUpdateBucketParamsWithContext creates a new UpdateBucketParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateBucketParamsWithHTTPClient ¶
func NewUpdateBucketParamsWithHTTPClient(client *http.Client) *UpdateBucketParams
NewUpdateBucketParamsWithHTTPClient creates a new UpdateBucketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateBucketParamsWithTimeout ¶
func NewUpdateBucketParamsWithTimeout(timeout time.Duration) *UpdateBucketParams
NewUpdateBucketParamsWithTimeout creates a new UpdateBucketParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateBucketParams) SetBody ¶
func (o *UpdateBucketParams) SetBody(body UpdateBucketBody)
SetBody adds the body to the update bucket params
func (*UpdateBucketParams) SetBucketID ¶
func (o *UpdateBucketParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the update bucket params
func (*UpdateBucketParams) SetContext ¶
func (o *UpdateBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the update bucket params
func (*UpdateBucketParams) SetHTTPClient ¶
func (o *UpdateBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update bucket params
func (*UpdateBucketParams) SetStackID ¶
func (o *UpdateBucketParams) SetStackID(stackID string)
SetStackID adds the stackId to the update bucket params
func (*UpdateBucketParams) SetTimeout ¶
func (o *UpdateBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update bucket params
func (*UpdateBucketParams) WithBody ¶
func (o *UpdateBucketParams) WithBody(body UpdateBucketBody) *UpdateBucketParams
WithBody adds the body to the update bucket params
func (*UpdateBucketParams) WithBucketID ¶
func (o *UpdateBucketParams) WithBucketID(bucketID string) *UpdateBucketParams
WithBucketID adds the bucketID to the update bucket params
func (*UpdateBucketParams) WithContext ¶
func (o *UpdateBucketParams) WithContext(ctx context.Context) *UpdateBucketParams
WithContext adds the context to the update bucket params
func (*UpdateBucketParams) WithHTTPClient ¶
func (o *UpdateBucketParams) WithHTTPClient(client *http.Client) *UpdateBucketParams
WithHTTPClient adds the HTTPClient to the update bucket params
func (*UpdateBucketParams) WithStackID ¶
func (o *UpdateBucketParams) WithStackID(stackID string) *UpdateBucketParams
WithStackID adds the stackID to the update bucket params
func (*UpdateBucketParams) WithTimeout ¶
func (o *UpdateBucketParams) WithTimeout(timeout time.Duration) *UpdateBucketParams
WithTimeout adds the timeout to the update bucket params
func (*UpdateBucketParams) WriteToRequest ¶
func (o *UpdateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateBucketReader ¶
type UpdateBucketReader struct {
// contains filtered or unexported fields
}
UpdateBucketReader is a Reader for the UpdateBucket structure.
func (*UpdateBucketReader) ReadResponse ¶
func (o *UpdateBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.