Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateDC(params *CreateDCParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDCCreated, error)
- func (a *Client) DeleteDC(params *DeleteDCParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDCOK, error)
- func (a *Client) GetDCForProvider(params *GetDCForProviderParams, authInfo runtime.ClientAuthInfoWriter) (*GetDCForProviderOK, error)
- func (a *Client) GetDCForSeed(params *GetDCForSeedParams, authInfo runtime.ClientAuthInfoWriter) (*GetDCForSeedOK, error)
- func (a *Client) GetDatacenter(params *GetDatacenterParams, authInfo runtime.ClientAuthInfoWriter) (*GetDatacenterOK, error)
- func (a *Client) ListDCForProvider(params *ListDCForProviderParams, authInfo runtime.ClientAuthInfoWriter) (*ListDCForProviderOK, error)
- func (a *Client) ListDCForSeed(params *ListDCForSeedParams, authInfo runtime.ClientAuthInfoWriter) (*ListDCForSeedOK, error)
- func (a *Client) ListDatacenters(params *ListDatacentersParams, authInfo runtime.ClientAuthInfoWriter) (*ListDatacentersOK, error)
- func (a *Client) PatchDC(params *PatchDCParams, authInfo runtime.ClientAuthInfoWriter) (*PatchDCOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDC(params *UpdateDCParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDCOK, error)
- type ClientService
- type CreateDCBody
- type CreateDCCreated
- type CreateDCDefault
- type CreateDCForbidden
- type CreateDCParams
- func (o *CreateDCParams) SetBody(body CreateDCBody)
- func (o *CreateDCParams) SetContext(ctx context.Context)
- func (o *CreateDCParams) SetHTTPClient(client *http.Client)
- func (o *CreateDCParams) SetSeed(seedName string)
- func (o *CreateDCParams) SetTimeout(timeout time.Duration)
- func (o *CreateDCParams) WithBody(body CreateDCBody) *CreateDCParams
- func (o *CreateDCParams) WithContext(ctx context.Context) *CreateDCParams
- func (o *CreateDCParams) WithHTTPClient(client *http.Client) *CreateDCParams
- func (o *CreateDCParams) WithSeed(seedName string) *CreateDCParams
- func (o *CreateDCParams) WithTimeout(timeout time.Duration) *CreateDCParams
- func (o *CreateDCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDCReader
- type CreateDCUnauthorized
- type DeleteDCDefault
- type DeleteDCForbidden
- type DeleteDCOK
- type DeleteDCParams
- func (o *DeleteDCParams) SetContext(ctx context.Context)
- func (o *DeleteDCParams) SetDC(dc string)
- func (o *DeleteDCParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDCParams) SetSeed(seedName string)
- func (o *DeleteDCParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDCParams) WithContext(ctx context.Context) *DeleteDCParams
- func (o *DeleteDCParams) WithDC(dc string) *DeleteDCParams
- func (o *DeleteDCParams) WithHTTPClient(client *http.Client) *DeleteDCParams
- func (o *DeleteDCParams) WithSeed(seedName string) *DeleteDCParams
- func (o *DeleteDCParams) WithTimeout(timeout time.Duration) *DeleteDCParams
- func (o *DeleteDCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDCReader
- type DeleteDCUnauthorized
- type GetDCForProviderDefault
- type GetDCForProviderForbidden
- type GetDCForProviderOK
- type GetDCForProviderParams
- func NewGetDCForProviderParams() *GetDCForProviderParams
- func NewGetDCForProviderParamsWithContext(ctx context.Context) *GetDCForProviderParams
- func NewGetDCForProviderParamsWithHTTPClient(client *http.Client) *GetDCForProviderParams
- func NewGetDCForProviderParamsWithTimeout(timeout time.Duration) *GetDCForProviderParams
- func (o *GetDCForProviderParams) SetContext(ctx context.Context)
- func (o *GetDCForProviderParams) SetDatacenter(dc string)
- func (o *GetDCForProviderParams) SetHTTPClient(client *http.Client)
- func (o *GetDCForProviderParams) SetProvider(providerName string)
- func (o *GetDCForProviderParams) SetTimeout(timeout time.Duration)
- func (o *GetDCForProviderParams) WithContext(ctx context.Context) *GetDCForProviderParams
- func (o *GetDCForProviderParams) WithDatacenter(dc string) *GetDCForProviderParams
- func (o *GetDCForProviderParams) WithHTTPClient(client *http.Client) *GetDCForProviderParams
- func (o *GetDCForProviderParams) WithProvider(providerName string) *GetDCForProviderParams
- func (o *GetDCForProviderParams) WithTimeout(timeout time.Duration) *GetDCForProviderParams
- func (o *GetDCForProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDCForProviderReader
- type GetDCForProviderUnauthorized
- type GetDCForSeedDefault
- type GetDCForSeedForbidden
- type GetDCForSeedOK
- type GetDCForSeedParams
- func (o *GetDCForSeedParams) SetContext(ctx context.Context)
- func (o *GetDCForSeedParams) SetDC(dc string)
- func (o *GetDCForSeedParams) SetHTTPClient(client *http.Client)
- func (o *GetDCForSeedParams) SetSeed(seedName string)
- func (o *GetDCForSeedParams) SetTimeout(timeout time.Duration)
- func (o *GetDCForSeedParams) WithContext(ctx context.Context) *GetDCForSeedParams
- func (o *GetDCForSeedParams) WithDC(dc string) *GetDCForSeedParams
- func (o *GetDCForSeedParams) WithHTTPClient(client *http.Client) *GetDCForSeedParams
- func (o *GetDCForSeedParams) WithSeed(seedName string) *GetDCForSeedParams
- func (o *GetDCForSeedParams) WithTimeout(timeout time.Duration) *GetDCForSeedParams
- func (o *GetDCForSeedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDCForSeedReader
- type GetDCForSeedUnauthorized
- type GetDatacenterDefault
- type GetDatacenterOK
- type GetDatacenterParams
- func (o *GetDatacenterParams) SetContext(ctx context.Context)
- func (o *GetDatacenterParams) SetDC(dc string)
- func (o *GetDatacenterParams) SetHTTPClient(client *http.Client)
- func (o *GetDatacenterParams) SetTimeout(timeout time.Duration)
- func (o *GetDatacenterParams) WithContext(ctx context.Context) *GetDatacenterParams
- func (o *GetDatacenterParams) WithDC(dc string) *GetDatacenterParams
- func (o *GetDatacenterParams) WithHTTPClient(client *http.Client) *GetDatacenterParams
- func (o *GetDatacenterParams) WithTimeout(timeout time.Duration) *GetDatacenterParams
- func (o *GetDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDatacenterReader
- type ListDCForProviderDefault
- type ListDCForProviderForbidden
- type ListDCForProviderOK
- type ListDCForProviderParams
- func NewListDCForProviderParams() *ListDCForProviderParams
- func NewListDCForProviderParamsWithContext(ctx context.Context) *ListDCForProviderParams
- func NewListDCForProviderParamsWithHTTPClient(client *http.Client) *ListDCForProviderParams
- func NewListDCForProviderParamsWithTimeout(timeout time.Duration) *ListDCForProviderParams
- func (o *ListDCForProviderParams) SetContext(ctx context.Context)
- func (o *ListDCForProviderParams) SetHTTPClient(client *http.Client)
- func (o *ListDCForProviderParams) SetProvider(providerName string)
- func (o *ListDCForProviderParams) SetTimeout(timeout time.Duration)
- func (o *ListDCForProviderParams) WithContext(ctx context.Context) *ListDCForProviderParams
- func (o *ListDCForProviderParams) WithHTTPClient(client *http.Client) *ListDCForProviderParams
- func (o *ListDCForProviderParams) WithProvider(providerName string) *ListDCForProviderParams
- func (o *ListDCForProviderParams) WithTimeout(timeout time.Duration) *ListDCForProviderParams
- func (o *ListDCForProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDCForProviderReader
- type ListDCForProviderUnauthorized
- type ListDCForSeedDefault
- type ListDCForSeedForbidden
- type ListDCForSeedOK
- type ListDCForSeedParams
- func (o *ListDCForSeedParams) SetContext(ctx context.Context)
- func (o *ListDCForSeedParams) SetHTTPClient(client *http.Client)
- func (o *ListDCForSeedParams) SetSeed(seedName string)
- func (o *ListDCForSeedParams) SetTimeout(timeout time.Duration)
- func (o *ListDCForSeedParams) WithContext(ctx context.Context) *ListDCForSeedParams
- func (o *ListDCForSeedParams) WithHTTPClient(client *http.Client) *ListDCForSeedParams
- func (o *ListDCForSeedParams) WithSeed(seedName string) *ListDCForSeedParams
- func (o *ListDCForSeedParams) WithTimeout(timeout time.Duration) *ListDCForSeedParams
- func (o *ListDCForSeedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDCForSeedReader
- type ListDCForSeedUnauthorized
- type ListDatacentersDefault
- type ListDatacentersOK
- type ListDatacentersParams
- func NewListDatacentersParams() *ListDatacentersParams
- func NewListDatacentersParamsWithContext(ctx context.Context) *ListDatacentersParams
- func NewListDatacentersParamsWithHTTPClient(client *http.Client) *ListDatacentersParams
- func NewListDatacentersParamsWithTimeout(timeout time.Duration) *ListDatacentersParams
- func (o *ListDatacentersParams) SetContext(ctx context.Context)
- func (o *ListDatacentersParams) SetHTTPClient(client *http.Client)
- func (o *ListDatacentersParams) SetTimeout(timeout time.Duration)
- func (o *ListDatacentersParams) WithContext(ctx context.Context) *ListDatacentersParams
- func (o *ListDatacentersParams) WithHTTPClient(client *http.Client) *ListDatacentersParams
- func (o *ListDatacentersParams) WithTimeout(timeout time.Duration) *ListDatacentersParams
- func (o *ListDatacentersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDatacentersReader
- type PatchDCDefault
- type PatchDCForbidden
- type PatchDCOK
- type PatchDCParams
- func (o *PatchDCParams) SetContext(ctx context.Context)
- func (o *PatchDCParams) SetDCToPatch(dc string)
- func (o *PatchDCParams) SetHTTPClient(client *http.Client)
- func (o *PatchDCParams) SetPatch(patch interface{})
- func (o *PatchDCParams) SetSeed(seedName string)
- func (o *PatchDCParams) SetTimeout(timeout time.Duration)
- func (o *PatchDCParams) WithContext(ctx context.Context) *PatchDCParams
- func (o *PatchDCParams) WithDCToPatch(dc string) *PatchDCParams
- func (o *PatchDCParams) WithHTTPClient(client *http.Client) *PatchDCParams
- func (o *PatchDCParams) WithPatch(patch interface{}) *PatchDCParams
- func (o *PatchDCParams) WithSeed(seedName string) *PatchDCParams
- func (o *PatchDCParams) WithTimeout(timeout time.Duration) *PatchDCParams
- func (o *PatchDCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchDCReader
- type PatchDCUnauthorized
- type UpdateDCBody
- type UpdateDCDefault
- type UpdateDCForbidden
- type UpdateDCOK
- type UpdateDCParams
- func (o *UpdateDCParams) SetBody(body UpdateDCBody)
- func (o *UpdateDCParams) SetContext(ctx context.Context)
- func (o *UpdateDCParams) SetDCToUpdate(dc string)
- func (o *UpdateDCParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDCParams) SetSeed(seedName string)
- func (o *UpdateDCParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDCParams) WithBody(body UpdateDCBody) *UpdateDCParams
- func (o *UpdateDCParams) WithContext(ctx context.Context) *UpdateDCParams
- func (o *UpdateDCParams) WithDCToUpdate(dc string) *UpdateDCParams
- func (o *UpdateDCParams) WithHTTPClient(client *http.Client) *UpdateDCParams
- func (o *UpdateDCParams) WithSeed(seedName string) *UpdateDCParams
- func (o *UpdateDCParams) WithTimeout(timeout time.Duration) *UpdateDCParams
- func (o *UpdateDCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDCReader
- type UpdateDCUnauthorized
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 datacenter API
func (*Client) CreateDC ¶
func (a *Client) CreateDC(params *CreateDCParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDCCreated, error)
CreateDC creates the datacenter for a specified seed
func (*Client) DeleteDC ¶
func (a *Client) DeleteDC(params *DeleteDCParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDCOK, error)
DeleteDC deletes the datacenter
func (*Client) GetDCForProvider ¶
func (a *Client) GetDCForProvider(params *GetDCForProviderParams, authInfo runtime.ClientAuthInfoWriter) (*GetDCForProviderOK, error)
GetDCForProvider gets the datacenter for the specified provider
func (*Client) GetDCForSeed ¶
func (a *Client) GetDCForSeed(params *GetDCForSeedParams, authInfo runtime.ClientAuthInfoWriter) (*GetDCForSeedOK, error)
GetDCForSeed returns the specified datacenter for the specified seed
func (*Client) GetDatacenter ¶
func (a *Client) GetDatacenter(params *GetDatacenterParams, authInfo runtime.ClientAuthInfoWriter) (*GetDatacenterOK, error)
GetDatacenter get datacenter API
func (*Client) ListDCForProvider ¶
func (a *Client) ListDCForProvider(params *ListDCForProviderParams, authInfo runtime.ClientAuthInfoWriter) (*ListDCForProviderOK, error)
ListDCForProvider returns all datacenters for the specified provider
func (*Client) ListDCForSeed ¶
func (a *Client) ListDCForSeed(params *ListDCForSeedParams, authInfo runtime.ClientAuthInfoWriter) (*ListDCForSeedOK, error)
ListDCForSeed returns all datacenters for the specified seed
func (*Client) ListDatacenters ¶
func (a *Client) ListDatacenters(params *ListDatacentersParams, authInfo runtime.ClientAuthInfoWriter) (*ListDatacentersOK, error)
ListDatacenters list datacenters API
func (*Client) PatchDC ¶
func (a *Client) PatchDC(params *PatchDCParams, authInfo runtime.ClientAuthInfoWriter) (*PatchDCOK, error)
PatchDC patches the datacenter
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDC ¶
func (a *Client) UpdateDC(params *UpdateDCParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDCOK, error)
UpdateDC updates the datacenter the datacenter spec will be overwritten with the one provided in the request
type ClientService ¶
type ClientService interface { CreateDC(params *CreateDCParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDCCreated, error) DeleteDC(params *DeleteDCParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDCOK, error) GetDCForProvider(params *GetDCForProviderParams, authInfo runtime.ClientAuthInfoWriter) (*GetDCForProviderOK, error) GetDCForSeed(params *GetDCForSeedParams, authInfo runtime.ClientAuthInfoWriter) (*GetDCForSeedOK, error) GetDatacenter(params *GetDatacenterParams, authInfo runtime.ClientAuthInfoWriter) (*GetDatacenterOK, error) ListDCForProvider(params *ListDCForProviderParams, authInfo runtime.ClientAuthInfoWriter) (*ListDCForProviderOK, error) ListDCForSeed(params *ListDCForSeedParams, authInfo runtime.ClientAuthInfoWriter) (*ListDCForSeedOK, error) ListDatacenters(params *ListDatacentersParams, authInfo runtime.ClientAuthInfoWriter) (*ListDatacentersOK, error) PatchDC(params *PatchDCParams, authInfo runtime.ClientAuthInfoWriter) (*PatchDCOK, error) UpdateDC(params *UpdateDCParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDCOK, 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 datacenter API client.
type CreateDCBody ¶
type CreateDCBody struct { // name Name string `json:"name,omitempty"` // spec Spec *models.DatacenterSpec `json:"spec,omitempty"` }
CreateDCBody create d c body swagger:model CreateDCBody
func (*CreateDCBody) MarshalBinary ¶
func (o *CreateDCBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDCBody) UnmarshalBinary ¶
func (o *CreateDCBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDCCreated ¶
type CreateDCCreated struct {
Payload *models.Datacenter
}
CreateDCCreated handles this case with default header values.
Datacenter
func NewCreateDCCreated ¶
func NewCreateDCCreated() *CreateDCCreated
NewCreateDCCreated creates a CreateDCCreated with default headers values
func (*CreateDCCreated) Error ¶
func (o *CreateDCCreated) Error() string
func (*CreateDCCreated) GetPayload ¶
func (o *CreateDCCreated) GetPayload() *models.Datacenter
type CreateDCDefault ¶
type CreateDCDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateDCDefault handles this case with default header values.
errorResponse
func NewCreateDCDefault ¶
func NewCreateDCDefault(code int) *CreateDCDefault
NewCreateDCDefault creates a CreateDCDefault with default headers values
func (*CreateDCDefault) Code ¶
func (o *CreateDCDefault) Code() int
Code gets the status code for the create d c default response
func (*CreateDCDefault) Error ¶
func (o *CreateDCDefault) Error() string
func (*CreateDCDefault) GetPayload ¶
func (o *CreateDCDefault) GetPayload() *models.ErrorResponse
type CreateDCForbidden ¶
type CreateDCForbidden struct { }
CreateDCForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewCreateDCForbidden ¶
func NewCreateDCForbidden() *CreateDCForbidden
NewCreateDCForbidden creates a CreateDCForbidden with default headers values
func (*CreateDCForbidden) Error ¶
func (o *CreateDCForbidden) Error() string
type CreateDCParams ¶
type CreateDCParams struct { /*Body*/ Body CreateDCBody /*SeedName*/ Seed string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDCParams contains all the parameters to send to the API endpoint for the create d c operation typically these are written to a http.Request
func NewCreateDCParams ¶
func NewCreateDCParams() *CreateDCParams
NewCreateDCParams creates a new CreateDCParams object with the default values initialized.
func NewCreateDCParamsWithContext ¶
func NewCreateDCParamsWithContext(ctx context.Context) *CreateDCParams
NewCreateDCParamsWithContext creates a new CreateDCParams object with the default values initialized, and the ability to set a context for a request
func NewCreateDCParamsWithHTTPClient ¶
func NewCreateDCParamsWithHTTPClient(client *http.Client) *CreateDCParams
NewCreateDCParamsWithHTTPClient creates a new CreateDCParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateDCParamsWithTimeout ¶
func NewCreateDCParamsWithTimeout(timeout time.Duration) *CreateDCParams
NewCreateDCParamsWithTimeout creates a new CreateDCParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateDCParams) SetBody ¶
func (o *CreateDCParams) SetBody(body CreateDCBody)
SetBody adds the body to the create d c params
func (*CreateDCParams) SetContext ¶
func (o *CreateDCParams) SetContext(ctx context.Context)
SetContext adds the context to the create d c params
func (*CreateDCParams) SetHTTPClient ¶
func (o *CreateDCParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create d c params
func (*CreateDCParams) SetSeed ¶
func (o *CreateDCParams) SetSeed(seedName string)
SetSeed adds the seedName to the create d c params
func (*CreateDCParams) SetTimeout ¶
func (o *CreateDCParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create d c params
func (*CreateDCParams) WithBody ¶
func (o *CreateDCParams) WithBody(body CreateDCBody) *CreateDCParams
WithBody adds the body to the create d c params
func (*CreateDCParams) WithContext ¶
func (o *CreateDCParams) WithContext(ctx context.Context) *CreateDCParams
WithContext adds the context to the create d c params
func (*CreateDCParams) WithHTTPClient ¶
func (o *CreateDCParams) WithHTTPClient(client *http.Client) *CreateDCParams
WithHTTPClient adds the HTTPClient to the create d c params
func (*CreateDCParams) WithSeed ¶
func (o *CreateDCParams) WithSeed(seedName string) *CreateDCParams
WithSeed adds the seedName to the create d c params
func (*CreateDCParams) WithTimeout ¶
func (o *CreateDCParams) WithTimeout(timeout time.Duration) *CreateDCParams
WithTimeout adds the timeout to the create d c params
func (*CreateDCParams) WriteToRequest ¶
func (o *CreateDCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDCReader ¶
type CreateDCReader struct {
// contains filtered or unexported fields
}
CreateDCReader is a Reader for the CreateDC structure.
func (*CreateDCReader) ReadResponse ¶
func (o *CreateDCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDCUnauthorized ¶
type CreateDCUnauthorized struct { }
CreateDCUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewCreateDCUnauthorized ¶
func NewCreateDCUnauthorized() *CreateDCUnauthorized
NewCreateDCUnauthorized creates a CreateDCUnauthorized with default headers values
func (*CreateDCUnauthorized) Error ¶
func (o *CreateDCUnauthorized) Error() string
type DeleteDCDefault ¶
type DeleteDCDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteDCDefault handles this case with default header values.
errorResponse
func NewDeleteDCDefault ¶
func NewDeleteDCDefault(code int) *DeleteDCDefault
NewDeleteDCDefault creates a DeleteDCDefault with default headers values
func (*DeleteDCDefault) Code ¶
func (o *DeleteDCDefault) Code() int
Code gets the status code for the delete d c default response
func (*DeleteDCDefault) Error ¶
func (o *DeleteDCDefault) Error() string
func (*DeleteDCDefault) GetPayload ¶
func (o *DeleteDCDefault) GetPayload() *models.ErrorResponse
type DeleteDCForbidden ¶
type DeleteDCForbidden struct { }
DeleteDCForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteDCForbidden ¶
func NewDeleteDCForbidden() *DeleteDCForbidden
NewDeleteDCForbidden creates a DeleteDCForbidden with default headers values
func (*DeleteDCForbidden) Error ¶
func (o *DeleteDCForbidden) Error() string
type DeleteDCOK ¶
type DeleteDCOK struct { }
DeleteDCOK handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteDCOK ¶
func NewDeleteDCOK() *DeleteDCOK
NewDeleteDCOK creates a DeleteDCOK with default headers values
func (*DeleteDCOK) Error ¶
func (o *DeleteDCOK) Error() string
type DeleteDCParams ¶
type DeleteDCParams struct { /*Dc*/ DC string /*SeedName*/ Seed string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDCParams contains all the parameters to send to the API endpoint for the delete d c operation typically these are written to a http.Request
func NewDeleteDCParams ¶
func NewDeleteDCParams() *DeleteDCParams
NewDeleteDCParams creates a new DeleteDCParams object with the default values initialized.
func NewDeleteDCParamsWithContext ¶
func NewDeleteDCParamsWithContext(ctx context.Context) *DeleteDCParams
NewDeleteDCParamsWithContext creates a new DeleteDCParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteDCParamsWithHTTPClient ¶
func NewDeleteDCParamsWithHTTPClient(client *http.Client) *DeleteDCParams
NewDeleteDCParamsWithHTTPClient creates a new DeleteDCParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteDCParamsWithTimeout ¶
func NewDeleteDCParamsWithTimeout(timeout time.Duration) *DeleteDCParams
NewDeleteDCParamsWithTimeout creates a new DeleteDCParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteDCParams) SetContext ¶
func (o *DeleteDCParams) SetContext(ctx context.Context)
SetContext adds the context to the delete d c params
func (*DeleteDCParams) SetDC ¶
func (o *DeleteDCParams) SetDC(dc string)
SetDC adds the dc to the delete d c params
func (*DeleteDCParams) SetHTTPClient ¶
func (o *DeleteDCParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete d c params
func (*DeleteDCParams) SetSeed ¶
func (o *DeleteDCParams) SetSeed(seedName string)
SetSeed adds the seedName to the delete d c params
func (*DeleteDCParams) SetTimeout ¶
func (o *DeleteDCParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete d c params
func (*DeleteDCParams) WithContext ¶
func (o *DeleteDCParams) WithContext(ctx context.Context) *DeleteDCParams
WithContext adds the context to the delete d c params
func (*DeleteDCParams) WithDC ¶
func (o *DeleteDCParams) WithDC(dc string) *DeleteDCParams
WithDC adds the dc to the delete d c params
func (*DeleteDCParams) WithHTTPClient ¶
func (o *DeleteDCParams) WithHTTPClient(client *http.Client) *DeleteDCParams
WithHTTPClient adds the HTTPClient to the delete d c params
func (*DeleteDCParams) WithSeed ¶
func (o *DeleteDCParams) WithSeed(seedName string) *DeleteDCParams
WithSeed adds the seedName to the delete d c params
func (*DeleteDCParams) WithTimeout ¶
func (o *DeleteDCParams) WithTimeout(timeout time.Duration) *DeleteDCParams
WithTimeout adds the timeout to the delete d c params
func (*DeleteDCParams) WriteToRequest ¶
func (o *DeleteDCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDCReader ¶
type DeleteDCReader struct {
// contains filtered or unexported fields
}
DeleteDCReader is a Reader for the DeleteDC structure.
func (*DeleteDCReader) ReadResponse ¶
func (o *DeleteDCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDCUnauthorized ¶
type DeleteDCUnauthorized struct { }
DeleteDCUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteDCUnauthorized ¶
func NewDeleteDCUnauthorized() *DeleteDCUnauthorized
NewDeleteDCUnauthorized creates a DeleteDCUnauthorized with default headers values
func (*DeleteDCUnauthorized) Error ¶
func (o *DeleteDCUnauthorized) Error() string
type GetDCForProviderDefault ¶
type GetDCForProviderDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetDCForProviderDefault handles this case with default header values.
errorResponse
func NewGetDCForProviderDefault ¶
func NewGetDCForProviderDefault(code int) *GetDCForProviderDefault
NewGetDCForProviderDefault creates a GetDCForProviderDefault with default headers values
func (*GetDCForProviderDefault) Code ¶
func (o *GetDCForProviderDefault) Code() int
Code gets the status code for the get d c for provider default response
func (*GetDCForProviderDefault) Error ¶
func (o *GetDCForProviderDefault) Error() string
func (*GetDCForProviderDefault) GetPayload ¶
func (o *GetDCForProviderDefault) GetPayload() *models.ErrorResponse
type GetDCForProviderForbidden ¶
type GetDCForProviderForbidden struct { }
GetDCForProviderForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewGetDCForProviderForbidden ¶
func NewGetDCForProviderForbidden() *GetDCForProviderForbidden
NewGetDCForProviderForbidden creates a GetDCForProviderForbidden with default headers values
func (*GetDCForProviderForbidden) Error ¶
func (o *GetDCForProviderForbidden) Error() string
type GetDCForProviderOK ¶
type GetDCForProviderOK struct {
Payload *models.Datacenter
}
GetDCForProviderOK handles this case with default header values.
Datacenter
func NewGetDCForProviderOK ¶
func NewGetDCForProviderOK() *GetDCForProviderOK
NewGetDCForProviderOK creates a GetDCForProviderOK with default headers values
func (*GetDCForProviderOK) Error ¶
func (o *GetDCForProviderOK) Error() string
func (*GetDCForProviderOK) GetPayload ¶
func (o *GetDCForProviderOK) GetPayload() *models.Datacenter
type GetDCForProviderParams ¶
type GetDCForProviderParams struct { /*Dc*/ Datacenter string /*ProviderName*/ Provider string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDCForProviderParams contains all the parameters to send to the API endpoint for the get d c for provider operation typically these are written to a http.Request
func NewGetDCForProviderParams ¶
func NewGetDCForProviderParams() *GetDCForProviderParams
NewGetDCForProviderParams creates a new GetDCForProviderParams object with the default values initialized.
func NewGetDCForProviderParamsWithContext ¶
func NewGetDCForProviderParamsWithContext(ctx context.Context) *GetDCForProviderParams
NewGetDCForProviderParamsWithContext creates a new GetDCForProviderParams object with the default values initialized, and the ability to set a context for a request
func NewGetDCForProviderParamsWithHTTPClient ¶
func NewGetDCForProviderParamsWithHTTPClient(client *http.Client) *GetDCForProviderParams
NewGetDCForProviderParamsWithHTTPClient creates a new GetDCForProviderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDCForProviderParamsWithTimeout ¶
func NewGetDCForProviderParamsWithTimeout(timeout time.Duration) *GetDCForProviderParams
NewGetDCForProviderParamsWithTimeout creates a new GetDCForProviderParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDCForProviderParams) SetContext ¶
func (o *GetDCForProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the get d c for provider params
func (*GetDCForProviderParams) SetDatacenter ¶
func (o *GetDCForProviderParams) SetDatacenter(dc string)
SetDatacenter adds the dc to the get d c for provider params
func (*GetDCForProviderParams) SetHTTPClient ¶
func (o *GetDCForProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get d c for provider params
func (*GetDCForProviderParams) SetProvider ¶
func (o *GetDCForProviderParams) SetProvider(providerName string)
SetProvider adds the providerName to the get d c for provider params
func (*GetDCForProviderParams) SetTimeout ¶
func (o *GetDCForProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get d c for provider params
func (*GetDCForProviderParams) WithContext ¶
func (o *GetDCForProviderParams) WithContext(ctx context.Context) *GetDCForProviderParams
WithContext adds the context to the get d c for provider params
func (*GetDCForProviderParams) WithDatacenter ¶
func (o *GetDCForProviderParams) WithDatacenter(dc string) *GetDCForProviderParams
WithDatacenter adds the dc to the get d c for provider params
func (*GetDCForProviderParams) WithHTTPClient ¶
func (o *GetDCForProviderParams) WithHTTPClient(client *http.Client) *GetDCForProviderParams
WithHTTPClient adds the HTTPClient to the get d c for provider params
func (*GetDCForProviderParams) WithProvider ¶
func (o *GetDCForProviderParams) WithProvider(providerName string) *GetDCForProviderParams
WithProvider adds the providerName to the get d c for provider params
func (*GetDCForProviderParams) WithTimeout ¶
func (o *GetDCForProviderParams) WithTimeout(timeout time.Duration) *GetDCForProviderParams
WithTimeout adds the timeout to the get d c for provider params
func (*GetDCForProviderParams) WriteToRequest ¶
func (o *GetDCForProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDCForProviderReader ¶
type GetDCForProviderReader struct {
// contains filtered or unexported fields
}
GetDCForProviderReader is a Reader for the GetDCForProvider structure.
func (*GetDCForProviderReader) ReadResponse ¶
func (o *GetDCForProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDCForProviderUnauthorized ¶
type GetDCForProviderUnauthorized struct { }
GetDCForProviderUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewGetDCForProviderUnauthorized ¶
func NewGetDCForProviderUnauthorized() *GetDCForProviderUnauthorized
NewGetDCForProviderUnauthorized creates a GetDCForProviderUnauthorized with default headers values
func (*GetDCForProviderUnauthorized) Error ¶
func (o *GetDCForProviderUnauthorized) Error() string
type GetDCForSeedDefault ¶
type GetDCForSeedDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetDCForSeedDefault handles this case with default header values.
errorResponse
func NewGetDCForSeedDefault ¶
func NewGetDCForSeedDefault(code int) *GetDCForSeedDefault
NewGetDCForSeedDefault creates a GetDCForSeedDefault with default headers values
func (*GetDCForSeedDefault) Code ¶
func (o *GetDCForSeedDefault) Code() int
Code gets the status code for the get d c for seed default response
func (*GetDCForSeedDefault) Error ¶
func (o *GetDCForSeedDefault) Error() string
func (*GetDCForSeedDefault) GetPayload ¶
func (o *GetDCForSeedDefault) GetPayload() *models.ErrorResponse
type GetDCForSeedForbidden ¶
type GetDCForSeedForbidden struct { }
GetDCForSeedForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewGetDCForSeedForbidden ¶
func NewGetDCForSeedForbidden() *GetDCForSeedForbidden
NewGetDCForSeedForbidden creates a GetDCForSeedForbidden with default headers values
func (*GetDCForSeedForbidden) Error ¶
func (o *GetDCForSeedForbidden) Error() string
type GetDCForSeedOK ¶
type GetDCForSeedOK struct {
Payload *models.Datacenter
}
GetDCForSeedOK handles this case with default header values.
Datacenter
func NewGetDCForSeedOK ¶
func NewGetDCForSeedOK() *GetDCForSeedOK
NewGetDCForSeedOK creates a GetDCForSeedOK with default headers values
func (*GetDCForSeedOK) Error ¶
func (o *GetDCForSeedOK) Error() string
func (*GetDCForSeedOK) GetPayload ¶
func (o *GetDCForSeedOK) GetPayload() *models.Datacenter
type GetDCForSeedParams ¶
type GetDCForSeedParams struct { /*Dc*/ DC string /*SeedName*/ Seed string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDCForSeedParams contains all the parameters to send to the API endpoint for the get d c for seed operation typically these are written to a http.Request
func NewGetDCForSeedParams ¶
func NewGetDCForSeedParams() *GetDCForSeedParams
NewGetDCForSeedParams creates a new GetDCForSeedParams object with the default values initialized.
func NewGetDCForSeedParamsWithContext ¶
func NewGetDCForSeedParamsWithContext(ctx context.Context) *GetDCForSeedParams
NewGetDCForSeedParamsWithContext creates a new GetDCForSeedParams object with the default values initialized, and the ability to set a context for a request
func NewGetDCForSeedParamsWithHTTPClient ¶
func NewGetDCForSeedParamsWithHTTPClient(client *http.Client) *GetDCForSeedParams
NewGetDCForSeedParamsWithHTTPClient creates a new GetDCForSeedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDCForSeedParamsWithTimeout ¶
func NewGetDCForSeedParamsWithTimeout(timeout time.Duration) *GetDCForSeedParams
NewGetDCForSeedParamsWithTimeout creates a new GetDCForSeedParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDCForSeedParams) SetContext ¶
func (o *GetDCForSeedParams) SetContext(ctx context.Context)
SetContext adds the context to the get d c for seed params
func (*GetDCForSeedParams) SetDC ¶
func (o *GetDCForSeedParams) SetDC(dc string)
SetDC adds the dc to the get d c for seed params
func (*GetDCForSeedParams) SetHTTPClient ¶
func (o *GetDCForSeedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get d c for seed params
func (*GetDCForSeedParams) SetSeed ¶
func (o *GetDCForSeedParams) SetSeed(seedName string)
SetSeed adds the seedName to the get d c for seed params
func (*GetDCForSeedParams) SetTimeout ¶
func (o *GetDCForSeedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get d c for seed params
func (*GetDCForSeedParams) WithContext ¶
func (o *GetDCForSeedParams) WithContext(ctx context.Context) *GetDCForSeedParams
WithContext adds the context to the get d c for seed params
func (*GetDCForSeedParams) WithDC ¶
func (o *GetDCForSeedParams) WithDC(dc string) *GetDCForSeedParams
WithDC adds the dc to the get d c for seed params
func (*GetDCForSeedParams) WithHTTPClient ¶
func (o *GetDCForSeedParams) WithHTTPClient(client *http.Client) *GetDCForSeedParams
WithHTTPClient adds the HTTPClient to the get d c for seed params
func (*GetDCForSeedParams) WithSeed ¶
func (o *GetDCForSeedParams) WithSeed(seedName string) *GetDCForSeedParams
WithSeed adds the seedName to the get d c for seed params
func (*GetDCForSeedParams) WithTimeout ¶
func (o *GetDCForSeedParams) WithTimeout(timeout time.Duration) *GetDCForSeedParams
WithTimeout adds the timeout to the get d c for seed params
func (*GetDCForSeedParams) WriteToRequest ¶
func (o *GetDCForSeedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDCForSeedReader ¶
type GetDCForSeedReader struct {
// contains filtered or unexported fields
}
GetDCForSeedReader is a Reader for the GetDCForSeed structure.
func (*GetDCForSeedReader) ReadResponse ¶
func (o *GetDCForSeedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDCForSeedUnauthorized ¶
type GetDCForSeedUnauthorized struct { }
GetDCForSeedUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewGetDCForSeedUnauthorized ¶
func NewGetDCForSeedUnauthorized() *GetDCForSeedUnauthorized
NewGetDCForSeedUnauthorized creates a GetDCForSeedUnauthorized with default headers values
func (*GetDCForSeedUnauthorized) Error ¶
func (o *GetDCForSeedUnauthorized) Error() string
type GetDatacenterDefault ¶
type GetDatacenterDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetDatacenterDefault handles this case with default header values.
errorResponse
func NewGetDatacenterDefault ¶
func NewGetDatacenterDefault(code int) *GetDatacenterDefault
NewGetDatacenterDefault creates a GetDatacenterDefault with default headers values
func (*GetDatacenterDefault) Code ¶
func (o *GetDatacenterDefault) Code() int
Code gets the status code for the get datacenter default response
func (*GetDatacenterDefault) Error ¶
func (o *GetDatacenterDefault) Error() string
func (*GetDatacenterDefault) GetPayload ¶
func (o *GetDatacenterDefault) GetPayload() *models.ErrorResponse
type GetDatacenterOK ¶
type GetDatacenterOK struct {
Payload *models.Datacenter
}
GetDatacenterOK handles this case with default header values.
Datacenter
func NewGetDatacenterOK ¶
func NewGetDatacenterOK() *GetDatacenterOK
NewGetDatacenterOK creates a GetDatacenterOK with default headers values
func (*GetDatacenterOK) Error ¶
func (o *GetDatacenterOK) Error() string
func (*GetDatacenterOK) GetPayload ¶
func (o *GetDatacenterOK) GetPayload() *models.Datacenter
type GetDatacenterParams ¶
type GetDatacenterParams struct { /*Dc*/ DC string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDatacenterParams contains all the parameters to send to the API endpoint for the get datacenter operation typically these are written to a http.Request
func NewGetDatacenterParams ¶
func NewGetDatacenterParams() *GetDatacenterParams
NewGetDatacenterParams creates a new GetDatacenterParams object with the default values initialized.
func NewGetDatacenterParamsWithContext ¶
func NewGetDatacenterParamsWithContext(ctx context.Context) *GetDatacenterParams
NewGetDatacenterParamsWithContext creates a new GetDatacenterParams object with the default values initialized, and the ability to set a context for a request
func NewGetDatacenterParamsWithHTTPClient ¶
func NewGetDatacenterParamsWithHTTPClient(client *http.Client) *GetDatacenterParams
NewGetDatacenterParamsWithHTTPClient creates a new GetDatacenterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDatacenterParamsWithTimeout ¶
func NewGetDatacenterParamsWithTimeout(timeout time.Duration) *GetDatacenterParams
NewGetDatacenterParamsWithTimeout creates a new GetDatacenterParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDatacenterParams) SetContext ¶
func (o *GetDatacenterParams) SetContext(ctx context.Context)
SetContext adds the context to the get datacenter params
func (*GetDatacenterParams) SetDC ¶
func (o *GetDatacenterParams) SetDC(dc string)
SetDC adds the dc to the get datacenter params
func (*GetDatacenterParams) SetHTTPClient ¶
func (o *GetDatacenterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get datacenter params
func (*GetDatacenterParams) SetTimeout ¶
func (o *GetDatacenterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get datacenter params
func (*GetDatacenterParams) WithContext ¶
func (o *GetDatacenterParams) WithContext(ctx context.Context) *GetDatacenterParams
WithContext adds the context to the get datacenter params
func (*GetDatacenterParams) WithDC ¶
func (o *GetDatacenterParams) WithDC(dc string) *GetDatacenterParams
WithDC adds the dc to the get datacenter params
func (*GetDatacenterParams) WithHTTPClient ¶
func (o *GetDatacenterParams) WithHTTPClient(client *http.Client) *GetDatacenterParams
WithHTTPClient adds the HTTPClient to the get datacenter params
func (*GetDatacenterParams) WithTimeout ¶
func (o *GetDatacenterParams) WithTimeout(timeout time.Duration) *GetDatacenterParams
WithTimeout adds the timeout to the get datacenter params
func (*GetDatacenterParams) WriteToRequest ¶
func (o *GetDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDatacenterReader ¶
type GetDatacenterReader struct {
// contains filtered or unexported fields
}
GetDatacenterReader is a Reader for the GetDatacenter structure.
func (*GetDatacenterReader) ReadResponse ¶
func (o *GetDatacenterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDCForProviderDefault ¶
type ListDCForProviderDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListDCForProviderDefault handles this case with default header values.
errorResponse
func NewListDCForProviderDefault ¶
func NewListDCForProviderDefault(code int) *ListDCForProviderDefault
NewListDCForProviderDefault creates a ListDCForProviderDefault with default headers values
func (*ListDCForProviderDefault) Code ¶
func (o *ListDCForProviderDefault) Code() int
Code gets the status code for the list d c for provider default response
func (*ListDCForProviderDefault) Error ¶
func (o *ListDCForProviderDefault) Error() string
func (*ListDCForProviderDefault) GetPayload ¶
func (o *ListDCForProviderDefault) GetPayload() *models.ErrorResponse
type ListDCForProviderForbidden ¶
type ListDCForProviderForbidden struct { }
ListDCForProviderForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewListDCForProviderForbidden ¶
func NewListDCForProviderForbidden() *ListDCForProviderForbidden
NewListDCForProviderForbidden creates a ListDCForProviderForbidden with default headers values
func (*ListDCForProviderForbidden) Error ¶
func (o *ListDCForProviderForbidden) Error() string
type ListDCForProviderOK ¶
type ListDCForProviderOK struct {
Payload []*models.Datacenter
}
ListDCForProviderOK handles this case with default header values.
Datacenter
func NewListDCForProviderOK ¶
func NewListDCForProviderOK() *ListDCForProviderOK
NewListDCForProviderOK creates a ListDCForProviderOK with default headers values
func (*ListDCForProviderOK) Error ¶
func (o *ListDCForProviderOK) Error() string
func (*ListDCForProviderOK) GetPayload ¶
func (o *ListDCForProviderOK) GetPayload() []*models.Datacenter
type ListDCForProviderParams ¶
type ListDCForProviderParams struct { /*ProviderName*/ Provider string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDCForProviderParams contains all the parameters to send to the API endpoint for the list d c for provider operation typically these are written to a http.Request
func NewListDCForProviderParams ¶
func NewListDCForProviderParams() *ListDCForProviderParams
NewListDCForProviderParams creates a new ListDCForProviderParams object with the default values initialized.
func NewListDCForProviderParamsWithContext ¶
func NewListDCForProviderParamsWithContext(ctx context.Context) *ListDCForProviderParams
NewListDCForProviderParamsWithContext creates a new ListDCForProviderParams object with the default values initialized, and the ability to set a context for a request
func NewListDCForProviderParamsWithHTTPClient ¶
func NewListDCForProviderParamsWithHTTPClient(client *http.Client) *ListDCForProviderParams
NewListDCForProviderParamsWithHTTPClient creates a new ListDCForProviderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListDCForProviderParamsWithTimeout ¶
func NewListDCForProviderParamsWithTimeout(timeout time.Duration) *ListDCForProviderParams
NewListDCForProviderParamsWithTimeout creates a new ListDCForProviderParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListDCForProviderParams) SetContext ¶
func (o *ListDCForProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the list d c for provider params
func (*ListDCForProviderParams) SetHTTPClient ¶
func (o *ListDCForProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list d c for provider params
func (*ListDCForProviderParams) SetProvider ¶
func (o *ListDCForProviderParams) SetProvider(providerName string)
SetProvider adds the providerName to the list d c for provider params
func (*ListDCForProviderParams) SetTimeout ¶
func (o *ListDCForProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list d c for provider params
func (*ListDCForProviderParams) WithContext ¶
func (o *ListDCForProviderParams) WithContext(ctx context.Context) *ListDCForProviderParams
WithContext adds the context to the list d c for provider params
func (*ListDCForProviderParams) WithHTTPClient ¶
func (o *ListDCForProviderParams) WithHTTPClient(client *http.Client) *ListDCForProviderParams
WithHTTPClient adds the HTTPClient to the list d c for provider params
func (*ListDCForProviderParams) WithProvider ¶
func (o *ListDCForProviderParams) WithProvider(providerName string) *ListDCForProviderParams
WithProvider adds the providerName to the list d c for provider params
func (*ListDCForProviderParams) WithTimeout ¶
func (o *ListDCForProviderParams) WithTimeout(timeout time.Duration) *ListDCForProviderParams
WithTimeout adds the timeout to the list d c for provider params
func (*ListDCForProviderParams) WriteToRequest ¶
func (o *ListDCForProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDCForProviderReader ¶
type ListDCForProviderReader struct {
// contains filtered or unexported fields
}
ListDCForProviderReader is a Reader for the ListDCForProvider structure.
func (*ListDCForProviderReader) ReadResponse ¶
func (o *ListDCForProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDCForProviderUnauthorized ¶
type ListDCForProviderUnauthorized struct { }
ListDCForProviderUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewListDCForProviderUnauthorized ¶
func NewListDCForProviderUnauthorized() *ListDCForProviderUnauthorized
NewListDCForProviderUnauthorized creates a ListDCForProviderUnauthorized with default headers values
func (*ListDCForProviderUnauthorized) Error ¶
func (o *ListDCForProviderUnauthorized) Error() string
type ListDCForSeedDefault ¶
type ListDCForSeedDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListDCForSeedDefault handles this case with default header values.
errorResponse
func NewListDCForSeedDefault ¶
func NewListDCForSeedDefault(code int) *ListDCForSeedDefault
NewListDCForSeedDefault creates a ListDCForSeedDefault with default headers values
func (*ListDCForSeedDefault) Code ¶
func (o *ListDCForSeedDefault) Code() int
Code gets the status code for the list d c for seed default response
func (*ListDCForSeedDefault) Error ¶
func (o *ListDCForSeedDefault) Error() string
func (*ListDCForSeedDefault) GetPayload ¶
func (o *ListDCForSeedDefault) GetPayload() *models.ErrorResponse
type ListDCForSeedForbidden ¶
type ListDCForSeedForbidden struct { }
ListDCForSeedForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewListDCForSeedForbidden ¶
func NewListDCForSeedForbidden() *ListDCForSeedForbidden
NewListDCForSeedForbidden creates a ListDCForSeedForbidden with default headers values
func (*ListDCForSeedForbidden) Error ¶
func (o *ListDCForSeedForbidden) Error() string
type ListDCForSeedOK ¶
type ListDCForSeedOK struct {
Payload []*models.Datacenter
}
ListDCForSeedOK handles this case with default header values.
Datacenter
func NewListDCForSeedOK ¶
func NewListDCForSeedOK() *ListDCForSeedOK
NewListDCForSeedOK creates a ListDCForSeedOK with default headers values
func (*ListDCForSeedOK) Error ¶
func (o *ListDCForSeedOK) Error() string
func (*ListDCForSeedOK) GetPayload ¶
func (o *ListDCForSeedOK) GetPayload() []*models.Datacenter
type ListDCForSeedParams ¶
type ListDCForSeedParams struct { /*SeedName*/ Seed string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDCForSeedParams contains all the parameters to send to the API endpoint for the list d c for seed operation typically these are written to a http.Request
func NewListDCForSeedParams ¶
func NewListDCForSeedParams() *ListDCForSeedParams
NewListDCForSeedParams creates a new ListDCForSeedParams object with the default values initialized.
func NewListDCForSeedParamsWithContext ¶
func NewListDCForSeedParamsWithContext(ctx context.Context) *ListDCForSeedParams
NewListDCForSeedParamsWithContext creates a new ListDCForSeedParams object with the default values initialized, and the ability to set a context for a request
func NewListDCForSeedParamsWithHTTPClient ¶
func NewListDCForSeedParamsWithHTTPClient(client *http.Client) *ListDCForSeedParams
NewListDCForSeedParamsWithHTTPClient creates a new ListDCForSeedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListDCForSeedParamsWithTimeout ¶
func NewListDCForSeedParamsWithTimeout(timeout time.Duration) *ListDCForSeedParams
NewListDCForSeedParamsWithTimeout creates a new ListDCForSeedParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListDCForSeedParams) SetContext ¶
func (o *ListDCForSeedParams) SetContext(ctx context.Context)
SetContext adds the context to the list d c for seed params
func (*ListDCForSeedParams) SetHTTPClient ¶
func (o *ListDCForSeedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list d c for seed params
func (*ListDCForSeedParams) SetSeed ¶
func (o *ListDCForSeedParams) SetSeed(seedName string)
SetSeed adds the seedName to the list d c for seed params
func (*ListDCForSeedParams) SetTimeout ¶
func (o *ListDCForSeedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list d c for seed params
func (*ListDCForSeedParams) WithContext ¶
func (o *ListDCForSeedParams) WithContext(ctx context.Context) *ListDCForSeedParams
WithContext adds the context to the list d c for seed params
func (*ListDCForSeedParams) WithHTTPClient ¶
func (o *ListDCForSeedParams) WithHTTPClient(client *http.Client) *ListDCForSeedParams
WithHTTPClient adds the HTTPClient to the list d c for seed params
func (*ListDCForSeedParams) WithSeed ¶
func (o *ListDCForSeedParams) WithSeed(seedName string) *ListDCForSeedParams
WithSeed adds the seedName to the list d c for seed params
func (*ListDCForSeedParams) WithTimeout ¶
func (o *ListDCForSeedParams) WithTimeout(timeout time.Duration) *ListDCForSeedParams
WithTimeout adds the timeout to the list d c for seed params
func (*ListDCForSeedParams) WriteToRequest ¶
func (o *ListDCForSeedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDCForSeedReader ¶
type ListDCForSeedReader struct {
// contains filtered or unexported fields
}
ListDCForSeedReader is a Reader for the ListDCForSeed structure.
func (*ListDCForSeedReader) ReadResponse ¶
func (o *ListDCForSeedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDCForSeedUnauthorized ¶
type ListDCForSeedUnauthorized struct { }
ListDCForSeedUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewListDCForSeedUnauthorized ¶
func NewListDCForSeedUnauthorized() *ListDCForSeedUnauthorized
NewListDCForSeedUnauthorized creates a ListDCForSeedUnauthorized with default headers values
func (*ListDCForSeedUnauthorized) Error ¶
func (o *ListDCForSeedUnauthorized) Error() string
type ListDatacentersDefault ¶
type ListDatacentersDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListDatacentersDefault handles this case with default header values.
errorResponse
func NewListDatacentersDefault ¶
func NewListDatacentersDefault(code int) *ListDatacentersDefault
NewListDatacentersDefault creates a ListDatacentersDefault with default headers values
func (*ListDatacentersDefault) Code ¶
func (o *ListDatacentersDefault) Code() int
Code gets the status code for the list datacenters default response
func (*ListDatacentersDefault) Error ¶
func (o *ListDatacentersDefault) Error() string
func (*ListDatacentersDefault) GetPayload ¶
func (o *ListDatacentersDefault) GetPayload() *models.ErrorResponse
type ListDatacentersOK ¶
type ListDatacentersOK struct {
Payload models.DatacenterList
}
ListDatacentersOK handles this case with default header values.
DatacenterList
func NewListDatacentersOK ¶
func NewListDatacentersOK() *ListDatacentersOK
NewListDatacentersOK creates a ListDatacentersOK with default headers values
func (*ListDatacentersOK) Error ¶
func (o *ListDatacentersOK) Error() string
func (*ListDatacentersOK) GetPayload ¶
func (o *ListDatacentersOK) GetPayload() models.DatacenterList
type ListDatacentersParams ¶
type ListDatacentersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDatacentersParams contains all the parameters to send to the API endpoint for the list datacenters operation typically these are written to a http.Request
func NewListDatacentersParams ¶
func NewListDatacentersParams() *ListDatacentersParams
NewListDatacentersParams creates a new ListDatacentersParams object with the default values initialized.
func NewListDatacentersParamsWithContext ¶
func NewListDatacentersParamsWithContext(ctx context.Context) *ListDatacentersParams
NewListDatacentersParamsWithContext creates a new ListDatacentersParams object with the default values initialized, and the ability to set a context for a request
func NewListDatacentersParamsWithHTTPClient ¶
func NewListDatacentersParamsWithHTTPClient(client *http.Client) *ListDatacentersParams
NewListDatacentersParamsWithHTTPClient creates a new ListDatacentersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListDatacentersParamsWithTimeout ¶
func NewListDatacentersParamsWithTimeout(timeout time.Duration) *ListDatacentersParams
NewListDatacentersParamsWithTimeout creates a new ListDatacentersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListDatacentersParams) SetContext ¶
func (o *ListDatacentersParams) SetContext(ctx context.Context)
SetContext adds the context to the list datacenters params
func (*ListDatacentersParams) SetHTTPClient ¶
func (o *ListDatacentersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list datacenters params
func (*ListDatacentersParams) SetTimeout ¶
func (o *ListDatacentersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list datacenters params
func (*ListDatacentersParams) WithContext ¶
func (o *ListDatacentersParams) WithContext(ctx context.Context) *ListDatacentersParams
WithContext adds the context to the list datacenters params
func (*ListDatacentersParams) WithHTTPClient ¶
func (o *ListDatacentersParams) WithHTTPClient(client *http.Client) *ListDatacentersParams
WithHTTPClient adds the HTTPClient to the list datacenters params
func (*ListDatacentersParams) WithTimeout ¶
func (o *ListDatacentersParams) WithTimeout(timeout time.Duration) *ListDatacentersParams
WithTimeout adds the timeout to the list datacenters params
func (*ListDatacentersParams) WriteToRequest ¶
func (o *ListDatacentersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDatacentersReader ¶
type ListDatacentersReader struct {
// contains filtered or unexported fields
}
ListDatacentersReader is a Reader for the ListDatacenters structure.
func (*ListDatacentersReader) ReadResponse ¶
func (o *ListDatacentersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchDCDefault ¶
type PatchDCDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
PatchDCDefault handles this case with default header values.
errorResponse
func NewPatchDCDefault ¶
func NewPatchDCDefault(code int) *PatchDCDefault
NewPatchDCDefault creates a PatchDCDefault with default headers values
func (*PatchDCDefault) Code ¶
func (o *PatchDCDefault) Code() int
Code gets the status code for the patch d c default response
func (*PatchDCDefault) Error ¶
func (o *PatchDCDefault) Error() string
func (*PatchDCDefault) GetPayload ¶
func (o *PatchDCDefault) GetPayload() *models.ErrorResponse
type PatchDCForbidden ¶
type PatchDCForbidden struct { }
PatchDCForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewPatchDCForbidden ¶
func NewPatchDCForbidden() *PatchDCForbidden
NewPatchDCForbidden creates a PatchDCForbidden with default headers values
func (*PatchDCForbidden) Error ¶
func (o *PatchDCForbidden) Error() string
type PatchDCOK ¶
type PatchDCOK struct {
Payload *models.Datacenter
}
PatchDCOK handles this case with default header values.
Datacenter
func NewPatchDCOK ¶
func NewPatchDCOK() *PatchDCOK
NewPatchDCOK creates a PatchDCOK with default headers values
func (*PatchDCOK) GetPayload ¶
func (o *PatchDCOK) GetPayload() *models.Datacenter
type PatchDCParams ¶
type PatchDCParams struct { /*Patch*/ Patch interface{} /*Dc*/ DCToPatch string /*SeedName*/ Seed string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchDCParams contains all the parameters to send to the API endpoint for the patch d c operation typically these are written to a http.Request
func NewPatchDCParams ¶
func NewPatchDCParams() *PatchDCParams
NewPatchDCParams creates a new PatchDCParams object with the default values initialized.
func NewPatchDCParamsWithContext ¶
func NewPatchDCParamsWithContext(ctx context.Context) *PatchDCParams
NewPatchDCParamsWithContext creates a new PatchDCParams object with the default values initialized, and the ability to set a context for a request
func NewPatchDCParamsWithHTTPClient ¶
func NewPatchDCParamsWithHTTPClient(client *http.Client) *PatchDCParams
NewPatchDCParamsWithHTTPClient creates a new PatchDCParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchDCParamsWithTimeout ¶
func NewPatchDCParamsWithTimeout(timeout time.Duration) *PatchDCParams
NewPatchDCParamsWithTimeout creates a new PatchDCParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchDCParams) SetContext ¶
func (o *PatchDCParams) SetContext(ctx context.Context)
SetContext adds the context to the patch d c params
func (*PatchDCParams) SetDCToPatch ¶
func (o *PatchDCParams) SetDCToPatch(dc string)
SetDCToPatch adds the dc to the patch d c params
func (*PatchDCParams) SetHTTPClient ¶
func (o *PatchDCParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch d c params
func (*PatchDCParams) SetPatch ¶
func (o *PatchDCParams) SetPatch(patch interface{})
SetPatch adds the patch to the patch d c params
func (*PatchDCParams) SetSeed ¶
func (o *PatchDCParams) SetSeed(seedName string)
SetSeed adds the seedName to the patch d c params
func (*PatchDCParams) SetTimeout ¶
func (o *PatchDCParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch d c params
func (*PatchDCParams) WithContext ¶
func (o *PatchDCParams) WithContext(ctx context.Context) *PatchDCParams
WithContext adds the context to the patch d c params
func (*PatchDCParams) WithDCToPatch ¶
func (o *PatchDCParams) WithDCToPatch(dc string) *PatchDCParams
WithDCToPatch adds the dc to the patch d c params
func (*PatchDCParams) WithHTTPClient ¶
func (o *PatchDCParams) WithHTTPClient(client *http.Client) *PatchDCParams
WithHTTPClient adds the HTTPClient to the patch d c params
func (*PatchDCParams) WithPatch ¶
func (o *PatchDCParams) WithPatch(patch interface{}) *PatchDCParams
WithPatch adds the patch to the patch d c params
func (*PatchDCParams) WithSeed ¶
func (o *PatchDCParams) WithSeed(seedName string) *PatchDCParams
WithSeed adds the seedName to the patch d c params
func (*PatchDCParams) WithTimeout ¶
func (o *PatchDCParams) WithTimeout(timeout time.Duration) *PatchDCParams
WithTimeout adds the timeout to the patch d c params
func (*PatchDCParams) WriteToRequest ¶
func (o *PatchDCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchDCReader ¶
type PatchDCReader struct {
// contains filtered or unexported fields
}
PatchDCReader is a Reader for the PatchDC structure.
func (*PatchDCReader) ReadResponse ¶
func (o *PatchDCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchDCUnauthorized ¶
type PatchDCUnauthorized struct { }
PatchDCUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewPatchDCUnauthorized ¶
func NewPatchDCUnauthorized() *PatchDCUnauthorized
NewPatchDCUnauthorized creates a PatchDCUnauthorized with default headers values
func (*PatchDCUnauthorized) Error ¶
func (o *PatchDCUnauthorized) Error() string
type UpdateDCBody ¶
type UpdateDCBody struct { // name Name string `json:"name,omitempty"` // spec Spec *models.DatacenterSpec `json:"spec,omitempty"` }
UpdateDCBody update d c body swagger:model UpdateDCBody
func (*UpdateDCBody) MarshalBinary ¶
func (o *UpdateDCBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDCBody) UnmarshalBinary ¶
func (o *UpdateDCBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDCDefault ¶
type UpdateDCDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
UpdateDCDefault handles this case with default header values.
errorResponse
func NewUpdateDCDefault ¶
func NewUpdateDCDefault(code int) *UpdateDCDefault
NewUpdateDCDefault creates a UpdateDCDefault with default headers values
func (*UpdateDCDefault) Code ¶
func (o *UpdateDCDefault) Code() int
Code gets the status code for the update d c default response
func (*UpdateDCDefault) Error ¶
func (o *UpdateDCDefault) Error() string
func (*UpdateDCDefault) GetPayload ¶
func (o *UpdateDCDefault) GetPayload() *models.ErrorResponse
type UpdateDCForbidden ¶
type UpdateDCForbidden struct { }
UpdateDCForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewUpdateDCForbidden ¶
func NewUpdateDCForbidden() *UpdateDCForbidden
NewUpdateDCForbidden creates a UpdateDCForbidden with default headers values
func (*UpdateDCForbidden) Error ¶
func (o *UpdateDCForbidden) Error() string
type UpdateDCOK ¶
type UpdateDCOK struct {
Payload *models.Datacenter
}
UpdateDCOK handles this case with default header values.
Datacenter
func NewUpdateDCOK ¶
func NewUpdateDCOK() *UpdateDCOK
NewUpdateDCOK creates a UpdateDCOK with default headers values
func (*UpdateDCOK) Error ¶
func (o *UpdateDCOK) Error() string
func (*UpdateDCOK) GetPayload ¶
func (o *UpdateDCOK) GetPayload() *models.Datacenter
type UpdateDCParams ¶
type UpdateDCParams struct { /*Body*/ Body UpdateDCBody /*Dc*/ DCToUpdate string /*SeedName*/ Seed string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDCParams contains all the parameters to send to the API endpoint for the update d c operation typically these are written to a http.Request
func NewUpdateDCParams ¶
func NewUpdateDCParams() *UpdateDCParams
NewUpdateDCParams creates a new UpdateDCParams object with the default values initialized.
func NewUpdateDCParamsWithContext ¶
func NewUpdateDCParamsWithContext(ctx context.Context) *UpdateDCParams
NewUpdateDCParamsWithContext creates a new UpdateDCParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateDCParamsWithHTTPClient ¶
func NewUpdateDCParamsWithHTTPClient(client *http.Client) *UpdateDCParams
NewUpdateDCParamsWithHTTPClient creates a new UpdateDCParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateDCParamsWithTimeout ¶
func NewUpdateDCParamsWithTimeout(timeout time.Duration) *UpdateDCParams
NewUpdateDCParamsWithTimeout creates a new UpdateDCParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateDCParams) SetBody ¶
func (o *UpdateDCParams) SetBody(body UpdateDCBody)
SetBody adds the body to the update d c params
func (*UpdateDCParams) SetContext ¶
func (o *UpdateDCParams) SetContext(ctx context.Context)
SetContext adds the context to the update d c params
func (*UpdateDCParams) SetDCToUpdate ¶
func (o *UpdateDCParams) SetDCToUpdate(dc string)
SetDCToUpdate adds the dc to the update d c params
func (*UpdateDCParams) SetHTTPClient ¶
func (o *UpdateDCParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update d c params
func (*UpdateDCParams) SetSeed ¶
func (o *UpdateDCParams) SetSeed(seedName string)
SetSeed adds the seedName to the update d c params
func (*UpdateDCParams) SetTimeout ¶
func (o *UpdateDCParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update d c params
func (*UpdateDCParams) WithBody ¶
func (o *UpdateDCParams) WithBody(body UpdateDCBody) *UpdateDCParams
WithBody adds the body to the update d c params
func (*UpdateDCParams) WithContext ¶
func (o *UpdateDCParams) WithContext(ctx context.Context) *UpdateDCParams
WithContext adds the context to the update d c params
func (*UpdateDCParams) WithDCToUpdate ¶
func (o *UpdateDCParams) WithDCToUpdate(dc string) *UpdateDCParams
WithDCToUpdate adds the dc to the update d c params
func (*UpdateDCParams) WithHTTPClient ¶
func (o *UpdateDCParams) WithHTTPClient(client *http.Client) *UpdateDCParams
WithHTTPClient adds the HTTPClient to the update d c params
func (*UpdateDCParams) WithSeed ¶
func (o *UpdateDCParams) WithSeed(seedName string) *UpdateDCParams
WithSeed adds the seedName to the update d c params
func (*UpdateDCParams) WithTimeout ¶
func (o *UpdateDCParams) WithTimeout(timeout time.Duration) *UpdateDCParams
WithTimeout adds the timeout to the update d c params
func (*UpdateDCParams) WriteToRequest ¶
func (o *UpdateDCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDCReader ¶
type UpdateDCReader struct {
// contains filtered or unexported fields
}
UpdateDCReader is a Reader for the UpdateDC structure.
func (*UpdateDCReader) ReadResponse ¶
func (o *UpdateDCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDCUnauthorized ¶
type UpdateDCUnauthorized struct { }
UpdateDCUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewUpdateDCUnauthorized ¶
func NewUpdateDCUnauthorized() *UpdateDCUnauthorized
NewUpdateDCUnauthorized creates a UpdateDCUnauthorized with default headers values
func (*UpdateDCUnauthorized) Error ¶
func (o *UpdateDCUnauthorized) Error() string
Source Files
¶
- create_d_c_parameters.go
- create_d_c_responses.go
- datacenter_client.go
- delete_d_c_parameters.go
- delete_d_c_responses.go
- get_d_c_for_provider_parameters.go
- get_d_c_for_provider_responses.go
- get_d_c_for_seed_parameters.go
- get_d_c_for_seed_responses.go
- get_datacenter_parameters.go
- get_datacenter_responses.go
- list_d_c_for_provider_parameters.go
- list_d_c_for_provider_responses.go
- list_d_c_for_seed_parameters.go
- list_d_c_for_seed_responses.go
- list_datacenters_parameters.go
- list_datacenters_responses.go
- patch_d_c_parameters.go
- patch_d_c_responses.go
- update_d_c_parameters.go
- update_d_c_responses.go