Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateMLAAdminSetting(params *CreateMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateMLAAdminSettingCreated, error)
- func (a *Client) DeleteMLAAdminSetting(params *DeleteMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteMLAAdminSettingOK, error)
- func (a *Client) GetMLAAdminSetting(params *GetMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMLAAdminSettingOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateMLAAdminSetting(params *UpdateMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateMLAAdminSettingOK, error)
- type ClientOption
- type ClientService
- type CreateMLAAdminSettingCreated
- type CreateMLAAdminSettingDefault
- type CreateMLAAdminSettingForbidden
- type CreateMLAAdminSettingParams
- func NewCreateMLAAdminSettingParams() *CreateMLAAdminSettingParams
- func NewCreateMLAAdminSettingParamsWithContext(ctx context.Context) *CreateMLAAdminSettingParams
- func NewCreateMLAAdminSettingParamsWithHTTPClient(client *http.Client) *CreateMLAAdminSettingParams
- func NewCreateMLAAdminSettingParamsWithTimeout(timeout time.Duration) *CreateMLAAdminSettingParams
- func (o *CreateMLAAdminSettingParams) SetBody(body *models.MLAAdminSetting)
- func (o *CreateMLAAdminSettingParams) SetClusterID(clusterID string)
- func (o *CreateMLAAdminSettingParams) SetContext(ctx context.Context)
- func (o *CreateMLAAdminSettingParams) SetDefaults()
- func (o *CreateMLAAdminSettingParams) SetHTTPClient(client *http.Client)
- func (o *CreateMLAAdminSettingParams) SetProjectID(projectID string)
- func (o *CreateMLAAdminSettingParams) SetTimeout(timeout time.Duration)
- func (o *CreateMLAAdminSettingParams) WithBody(body *models.MLAAdminSetting) *CreateMLAAdminSettingParams
- func (o *CreateMLAAdminSettingParams) WithClusterID(clusterID string) *CreateMLAAdminSettingParams
- func (o *CreateMLAAdminSettingParams) WithContext(ctx context.Context) *CreateMLAAdminSettingParams
- func (o *CreateMLAAdminSettingParams) WithDefaults() *CreateMLAAdminSettingParams
- func (o *CreateMLAAdminSettingParams) WithHTTPClient(client *http.Client) *CreateMLAAdminSettingParams
- func (o *CreateMLAAdminSettingParams) WithProjectID(projectID string) *CreateMLAAdminSettingParams
- func (o *CreateMLAAdminSettingParams) WithTimeout(timeout time.Duration) *CreateMLAAdminSettingParams
- func (o *CreateMLAAdminSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMLAAdminSettingReader
- type CreateMLAAdminSettingUnauthorized
- type DeleteMLAAdminSettingDefault
- type DeleteMLAAdminSettingForbidden
- type DeleteMLAAdminSettingOK
- type DeleteMLAAdminSettingParams
- func NewDeleteMLAAdminSettingParams() *DeleteMLAAdminSettingParams
- func NewDeleteMLAAdminSettingParamsWithContext(ctx context.Context) *DeleteMLAAdminSettingParams
- func NewDeleteMLAAdminSettingParamsWithHTTPClient(client *http.Client) *DeleteMLAAdminSettingParams
- func NewDeleteMLAAdminSettingParamsWithTimeout(timeout time.Duration) *DeleteMLAAdminSettingParams
- func (o *DeleteMLAAdminSettingParams) SetClusterID(clusterID string)
- func (o *DeleteMLAAdminSettingParams) SetContext(ctx context.Context)
- func (o *DeleteMLAAdminSettingParams) SetDefaults()
- func (o *DeleteMLAAdminSettingParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMLAAdminSettingParams) SetProjectID(projectID string)
- func (o *DeleteMLAAdminSettingParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMLAAdminSettingParams) WithClusterID(clusterID string) *DeleteMLAAdminSettingParams
- func (o *DeleteMLAAdminSettingParams) WithContext(ctx context.Context) *DeleteMLAAdminSettingParams
- func (o *DeleteMLAAdminSettingParams) WithDefaults() *DeleteMLAAdminSettingParams
- func (o *DeleteMLAAdminSettingParams) WithHTTPClient(client *http.Client) *DeleteMLAAdminSettingParams
- func (o *DeleteMLAAdminSettingParams) WithProjectID(projectID string) *DeleteMLAAdminSettingParams
- func (o *DeleteMLAAdminSettingParams) WithTimeout(timeout time.Duration) *DeleteMLAAdminSettingParams
- func (o *DeleteMLAAdminSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMLAAdminSettingReader
- type DeleteMLAAdminSettingUnauthorized
- type GetMLAAdminSettingDefault
- type GetMLAAdminSettingForbidden
- type GetMLAAdminSettingOK
- type GetMLAAdminSettingParams
- func NewGetMLAAdminSettingParams() *GetMLAAdminSettingParams
- func NewGetMLAAdminSettingParamsWithContext(ctx context.Context) *GetMLAAdminSettingParams
- func NewGetMLAAdminSettingParamsWithHTTPClient(client *http.Client) *GetMLAAdminSettingParams
- func NewGetMLAAdminSettingParamsWithTimeout(timeout time.Duration) *GetMLAAdminSettingParams
- func (o *GetMLAAdminSettingParams) SetClusterID(clusterID string)
- func (o *GetMLAAdminSettingParams) SetContext(ctx context.Context)
- func (o *GetMLAAdminSettingParams) SetDefaults()
- func (o *GetMLAAdminSettingParams) SetHTTPClient(client *http.Client)
- func (o *GetMLAAdminSettingParams) SetProjectID(projectID string)
- func (o *GetMLAAdminSettingParams) SetTimeout(timeout time.Duration)
- func (o *GetMLAAdminSettingParams) WithClusterID(clusterID string) *GetMLAAdminSettingParams
- func (o *GetMLAAdminSettingParams) WithContext(ctx context.Context) *GetMLAAdminSettingParams
- func (o *GetMLAAdminSettingParams) WithDefaults() *GetMLAAdminSettingParams
- func (o *GetMLAAdminSettingParams) WithHTTPClient(client *http.Client) *GetMLAAdminSettingParams
- func (o *GetMLAAdminSettingParams) WithProjectID(projectID string) *GetMLAAdminSettingParams
- func (o *GetMLAAdminSettingParams) WithTimeout(timeout time.Duration) *GetMLAAdminSettingParams
- func (o *GetMLAAdminSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMLAAdminSettingReader
- type GetMLAAdminSettingUnauthorized
- type UpdateMLAAdminSettingDefault
- type UpdateMLAAdminSettingForbidden
- type UpdateMLAAdminSettingOK
- type UpdateMLAAdminSettingParams
- func NewUpdateMLAAdminSettingParams() *UpdateMLAAdminSettingParams
- func NewUpdateMLAAdminSettingParamsWithContext(ctx context.Context) *UpdateMLAAdminSettingParams
- func NewUpdateMLAAdminSettingParamsWithHTTPClient(client *http.Client) *UpdateMLAAdminSettingParams
- func NewUpdateMLAAdminSettingParamsWithTimeout(timeout time.Duration) *UpdateMLAAdminSettingParams
- func (o *UpdateMLAAdminSettingParams) SetBody(body *models.MLAAdminSetting)
- func (o *UpdateMLAAdminSettingParams) SetClusterID(clusterID string)
- func (o *UpdateMLAAdminSettingParams) SetContext(ctx context.Context)
- func (o *UpdateMLAAdminSettingParams) SetDefaults()
- func (o *UpdateMLAAdminSettingParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMLAAdminSettingParams) SetProjectID(projectID string)
- func (o *UpdateMLAAdminSettingParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMLAAdminSettingParams) WithBody(body *models.MLAAdminSetting) *UpdateMLAAdminSettingParams
- func (o *UpdateMLAAdminSettingParams) WithClusterID(clusterID string) *UpdateMLAAdminSettingParams
- func (o *UpdateMLAAdminSettingParams) WithContext(ctx context.Context) *UpdateMLAAdminSettingParams
- func (o *UpdateMLAAdminSettingParams) WithDefaults() *UpdateMLAAdminSettingParams
- func (o *UpdateMLAAdminSettingParams) WithHTTPClient(client *http.Client) *UpdateMLAAdminSettingParams
- func (o *UpdateMLAAdminSettingParams) WithProjectID(projectID string) *UpdateMLAAdminSettingParams
- func (o *UpdateMLAAdminSettingParams) WithTimeout(timeout time.Duration) *UpdateMLAAdminSettingParams
- func (o *UpdateMLAAdminSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMLAAdminSettingReader
- type UpdateMLAAdminSettingUnauthorized
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 mlaadminsetting API
func (*Client) CreateMLAAdminSetting ¶
func (a *Client) CreateMLAAdminSetting(params *CreateMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMLAAdminSettingCreated, error)
CreateMLAAdminSetting Creates MLA admin setting that will belong to the given cluster
func (*Client) DeleteMLAAdminSetting ¶
func (a *Client) DeleteMLAAdminSetting(params *DeleteMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMLAAdminSettingOK, error)
DeleteMLAAdminSetting deletes the m l a admin setting that belongs to the cluster
func (*Client) GetMLAAdminSetting ¶
func (a *Client) GetMLAAdminSetting(params *GetMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMLAAdminSettingOK, error)
GetMLAAdminSetting gets m l a admin settings for the given cluster
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateMLAAdminSetting ¶
func (a *Client) UpdateMLAAdminSetting(params *UpdateMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateMLAAdminSettingOK, error)
UpdateMLAAdminSetting updates the m l a admin setting for the given cluster
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateMLAAdminSetting(params *CreateMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMLAAdminSettingCreated, error) DeleteMLAAdminSetting(params *DeleteMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMLAAdminSettingOK, error) GetMLAAdminSetting(params *GetMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMLAAdminSettingOK, error) UpdateMLAAdminSetting(params *UpdateMLAAdminSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateMLAAdminSettingOK, 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 mlaadminsetting API client.
type CreateMLAAdminSettingCreated ¶
type CreateMLAAdminSettingCreated struct {
Payload *models.MLAAdminSetting
}
CreateMLAAdminSettingCreated describes a response with status code 201, with default header values.
MLAAdminSetting
func NewCreateMLAAdminSettingCreated ¶
func NewCreateMLAAdminSettingCreated() *CreateMLAAdminSettingCreated
NewCreateMLAAdminSettingCreated creates a CreateMLAAdminSettingCreated with default headers values
func (*CreateMLAAdminSettingCreated) Error ¶
func (o *CreateMLAAdminSettingCreated) Error() string
func (*CreateMLAAdminSettingCreated) GetPayload ¶
func (o *CreateMLAAdminSettingCreated) GetPayload() *models.MLAAdminSetting
type CreateMLAAdminSettingDefault ¶
type CreateMLAAdminSettingDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateMLAAdminSettingDefault describes a response with status code -1, with default header values.
errorResponse
func NewCreateMLAAdminSettingDefault ¶
func NewCreateMLAAdminSettingDefault(code int) *CreateMLAAdminSettingDefault
NewCreateMLAAdminSettingDefault creates a CreateMLAAdminSettingDefault with default headers values
func (*CreateMLAAdminSettingDefault) Code ¶
func (o *CreateMLAAdminSettingDefault) Code() int
Code gets the status code for the create m l a admin setting default response
func (*CreateMLAAdminSettingDefault) Error ¶
func (o *CreateMLAAdminSettingDefault) Error() string
func (*CreateMLAAdminSettingDefault) GetPayload ¶
func (o *CreateMLAAdminSettingDefault) GetPayload() *models.ErrorResponse
type CreateMLAAdminSettingForbidden ¶
type CreateMLAAdminSettingForbidden struct { }
CreateMLAAdminSettingForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewCreateMLAAdminSettingForbidden ¶
func NewCreateMLAAdminSettingForbidden() *CreateMLAAdminSettingForbidden
NewCreateMLAAdminSettingForbidden creates a CreateMLAAdminSettingForbidden with default headers values
func (*CreateMLAAdminSettingForbidden) Error ¶
func (o *CreateMLAAdminSettingForbidden) Error() string
type CreateMLAAdminSettingParams ¶
type CreateMLAAdminSettingParams struct { // Body. Body *models.MLAAdminSetting // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMLAAdminSettingParams contains all the parameters to send to the API endpoint
for the create m l a admin setting operation. Typically these are written to a http.Request.
func NewCreateMLAAdminSettingParams ¶
func NewCreateMLAAdminSettingParams() *CreateMLAAdminSettingParams
NewCreateMLAAdminSettingParams creates a new CreateMLAAdminSettingParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateMLAAdminSettingParamsWithContext ¶
func NewCreateMLAAdminSettingParamsWithContext(ctx context.Context) *CreateMLAAdminSettingParams
NewCreateMLAAdminSettingParamsWithContext creates a new CreateMLAAdminSettingParams object with the ability to set a context for a request.
func NewCreateMLAAdminSettingParamsWithHTTPClient ¶
func NewCreateMLAAdminSettingParamsWithHTTPClient(client *http.Client) *CreateMLAAdminSettingParams
NewCreateMLAAdminSettingParamsWithHTTPClient creates a new CreateMLAAdminSettingParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMLAAdminSettingParamsWithTimeout ¶
func NewCreateMLAAdminSettingParamsWithTimeout(timeout time.Duration) *CreateMLAAdminSettingParams
NewCreateMLAAdminSettingParamsWithTimeout creates a new CreateMLAAdminSettingParams object with the ability to set a timeout on a request.
func (*CreateMLAAdminSettingParams) SetBody ¶
func (o *CreateMLAAdminSettingParams) SetBody(body *models.MLAAdminSetting)
SetBody adds the body to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) SetClusterID ¶
func (o *CreateMLAAdminSettingParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) SetContext ¶
func (o *CreateMLAAdminSettingParams) SetContext(ctx context.Context)
SetContext adds the context to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) SetDefaults ¶
func (o *CreateMLAAdminSettingParams) SetDefaults()
SetDefaults hydrates default values in the create m l a admin setting params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMLAAdminSettingParams) SetHTTPClient ¶
func (o *CreateMLAAdminSettingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) SetProjectID ¶
func (o *CreateMLAAdminSettingParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) SetTimeout ¶
func (o *CreateMLAAdminSettingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) WithBody ¶
func (o *CreateMLAAdminSettingParams) WithBody(body *models.MLAAdminSetting) *CreateMLAAdminSettingParams
WithBody adds the body to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) WithClusterID ¶
func (o *CreateMLAAdminSettingParams) WithClusterID(clusterID string) *CreateMLAAdminSettingParams
WithClusterID adds the clusterID to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) WithContext ¶
func (o *CreateMLAAdminSettingParams) WithContext(ctx context.Context) *CreateMLAAdminSettingParams
WithContext adds the context to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) WithDefaults ¶
func (o *CreateMLAAdminSettingParams) WithDefaults() *CreateMLAAdminSettingParams
WithDefaults hydrates default values in the create m l a admin setting params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMLAAdminSettingParams) WithHTTPClient ¶
func (o *CreateMLAAdminSettingParams) WithHTTPClient(client *http.Client) *CreateMLAAdminSettingParams
WithHTTPClient adds the HTTPClient to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) WithProjectID ¶
func (o *CreateMLAAdminSettingParams) WithProjectID(projectID string) *CreateMLAAdminSettingParams
WithProjectID adds the projectID to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) WithTimeout ¶
func (o *CreateMLAAdminSettingParams) WithTimeout(timeout time.Duration) *CreateMLAAdminSettingParams
WithTimeout adds the timeout to the create m l a admin setting params
func (*CreateMLAAdminSettingParams) WriteToRequest ¶
func (o *CreateMLAAdminSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMLAAdminSettingReader ¶
type CreateMLAAdminSettingReader struct {
// contains filtered or unexported fields
}
CreateMLAAdminSettingReader is a Reader for the CreateMLAAdminSetting structure.
func (*CreateMLAAdminSettingReader) ReadResponse ¶
func (o *CreateMLAAdminSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMLAAdminSettingUnauthorized ¶
type CreateMLAAdminSettingUnauthorized struct { }
CreateMLAAdminSettingUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewCreateMLAAdminSettingUnauthorized ¶
func NewCreateMLAAdminSettingUnauthorized() *CreateMLAAdminSettingUnauthorized
NewCreateMLAAdminSettingUnauthorized creates a CreateMLAAdminSettingUnauthorized with default headers values
func (*CreateMLAAdminSettingUnauthorized) Error ¶
func (o *CreateMLAAdminSettingUnauthorized) Error() string
type DeleteMLAAdminSettingDefault ¶
type DeleteMLAAdminSettingDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteMLAAdminSettingDefault describes a response with status code -1, with default header values.
errorResponse
func NewDeleteMLAAdminSettingDefault ¶
func NewDeleteMLAAdminSettingDefault(code int) *DeleteMLAAdminSettingDefault
NewDeleteMLAAdminSettingDefault creates a DeleteMLAAdminSettingDefault with default headers values
func (*DeleteMLAAdminSettingDefault) Code ¶
func (o *DeleteMLAAdminSettingDefault) Code() int
Code gets the status code for the delete m l a admin setting default response
func (*DeleteMLAAdminSettingDefault) Error ¶
func (o *DeleteMLAAdminSettingDefault) Error() string
func (*DeleteMLAAdminSettingDefault) GetPayload ¶
func (o *DeleteMLAAdminSettingDefault) GetPayload() *models.ErrorResponse
type DeleteMLAAdminSettingForbidden ¶
type DeleteMLAAdminSettingForbidden struct { }
DeleteMLAAdminSettingForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewDeleteMLAAdminSettingForbidden ¶
func NewDeleteMLAAdminSettingForbidden() *DeleteMLAAdminSettingForbidden
NewDeleteMLAAdminSettingForbidden creates a DeleteMLAAdminSettingForbidden with default headers values
func (*DeleteMLAAdminSettingForbidden) Error ¶
func (o *DeleteMLAAdminSettingForbidden) Error() string
type DeleteMLAAdminSettingOK ¶
type DeleteMLAAdminSettingOK struct { }
DeleteMLAAdminSettingOK describes a response with status code 200, with default header values.
EmptyResponse is a empty response
func NewDeleteMLAAdminSettingOK ¶
func NewDeleteMLAAdminSettingOK() *DeleteMLAAdminSettingOK
NewDeleteMLAAdminSettingOK creates a DeleteMLAAdminSettingOK with default headers values
func (*DeleteMLAAdminSettingOK) Error ¶
func (o *DeleteMLAAdminSettingOK) Error() string
type DeleteMLAAdminSettingParams ¶
type DeleteMLAAdminSettingParams struct { // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMLAAdminSettingParams contains all the parameters to send to the API endpoint
for the delete m l a admin setting operation. Typically these are written to a http.Request.
func NewDeleteMLAAdminSettingParams ¶
func NewDeleteMLAAdminSettingParams() *DeleteMLAAdminSettingParams
NewDeleteMLAAdminSettingParams creates a new DeleteMLAAdminSettingParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteMLAAdminSettingParamsWithContext ¶
func NewDeleteMLAAdminSettingParamsWithContext(ctx context.Context) *DeleteMLAAdminSettingParams
NewDeleteMLAAdminSettingParamsWithContext creates a new DeleteMLAAdminSettingParams object with the ability to set a context for a request.
func NewDeleteMLAAdminSettingParamsWithHTTPClient ¶
func NewDeleteMLAAdminSettingParamsWithHTTPClient(client *http.Client) *DeleteMLAAdminSettingParams
NewDeleteMLAAdminSettingParamsWithHTTPClient creates a new DeleteMLAAdminSettingParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMLAAdminSettingParamsWithTimeout ¶
func NewDeleteMLAAdminSettingParamsWithTimeout(timeout time.Duration) *DeleteMLAAdminSettingParams
NewDeleteMLAAdminSettingParamsWithTimeout creates a new DeleteMLAAdminSettingParams object with the ability to set a timeout on a request.
func (*DeleteMLAAdminSettingParams) SetClusterID ¶
func (o *DeleteMLAAdminSettingParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the delete m l a admin setting params
func (*DeleteMLAAdminSettingParams) SetContext ¶
func (o *DeleteMLAAdminSettingParams) SetContext(ctx context.Context)
SetContext adds the context to the delete m l a admin setting params
func (*DeleteMLAAdminSettingParams) SetDefaults ¶
func (o *DeleteMLAAdminSettingParams) SetDefaults()
SetDefaults hydrates default values in the delete m l a admin setting params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMLAAdminSettingParams) SetHTTPClient ¶
func (o *DeleteMLAAdminSettingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete m l a admin setting params
func (*DeleteMLAAdminSettingParams) SetProjectID ¶
func (o *DeleteMLAAdminSettingParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the delete m l a admin setting params
func (*DeleteMLAAdminSettingParams) SetTimeout ¶
func (o *DeleteMLAAdminSettingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete m l a admin setting params
func (*DeleteMLAAdminSettingParams) WithClusterID ¶
func (o *DeleteMLAAdminSettingParams) WithClusterID(clusterID string) *DeleteMLAAdminSettingParams
WithClusterID adds the clusterID to the delete m l a admin setting params
func (*DeleteMLAAdminSettingParams) WithContext ¶
func (o *DeleteMLAAdminSettingParams) WithContext(ctx context.Context) *DeleteMLAAdminSettingParams
WithContext adds the context to the delete m l a admin setting params
func (*DeleteMLAAdminSettingParams) WithDefaults ¶
func (o *DeleteMLAAdminSettingParams) WithDefaults() *DeleteMLAAdminSettingParams
WithDefaults hydrates default values in the delete m l a admin setting params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMLAAdminSettingParams) WithHTTPClient ¶
func (o *DeleteMLAAdminSettingParams) WithHTTPClient(client *http.Client) *DeleteMLAAdminSettingParams
WithHTTPClient adds the HTTPClient to the delete m l a admin setting params
func (*DeleteMLAAdminSettingParams) WithProjectID ¶
func (o *DeleteMLAAdminSettingParams) WithProjectID(projectID string) *DeleteMLAAdminSettingParams
WithProjectID adds the projectID to the delete m l a admin setting params
func (*DeleteMLAAdminSettingParams) WithTimeout ¶
func (o *DeleteMLAAdminSettingParams) WithTimeout(timeout time.Duration) *DeleteMLAAdminSettingParams
WithTimeout adds the timeout to the delete m l a admin setting params
func (*DeleteMLAAdminSettingParams) WriteToRequest ¶
func (o *DeleteMLAAdminSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMLAAdminSettingReader ¶
type DeleteMLAAdminSettingReader struct {
// contains filtered or unexported fields
}
DeleteMLAAdminSettingReader is a Reader for the DeleteMLAAdminSetting structure.
func (*DeleteMLAAdminSettingReader) ReadResponse ¶
func (o *DeleteMLAAdminSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMLAAdminSettingUnauthorized ¶
type DeleteMLAAdminSettingUnauthorized struct { }
DeleteMLAAdminSettingUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewDeleteMLAAdminSettingUnauthorized ¶
func NewDeleteMLAAdminSettingUnauthorized() *DeleteMLAAdminSettingUnauthorized
NewDeleteMLAAdminSettingUnauthorized creates a DeleteMLAAdminSettingUnauthorized with default headers values
func (*DeleteMLAAdminSettingUnauthorized) Error ¶
func (o *DeleteMLAAdminSettingUnauthorized) Error() string
type GetMLAAdminSettingDefault ¶
type GetMLAAdminSettingDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetMLAAdminSettingDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetMLAAdminSettingDefault ¶
func NewGetMLAAdminSettingDefault(code int) *GetMLAAdminSettingDefault
NewGetMLAAdminSettingDefault creates a GetMLAAdminSettingDefault with default headers values
func (*GetMLAAdminSettingDefault) Code ¶
func (o *GetMLAAdminSettingDefault) Code() int
Code gets the status code for the get m l a admin setting default response
func (*GetMLAAdminSettingDefault) Error ¶
func (o *GetMLAAdminSettingDefault) Error() string
func (*GetMLAAdminSettingDefault) GetPayload ¶
func (o *GetMLAAdminSettingDefault) GetPayload() *models.ErrorResponse
type GetMLAAdminSettingForbidden ¶
type GetMLAAdminSettingForbidden struct { }
GetMLAAdminSettingForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewGetMLAAdminSettingForbidden ¶
func NewGetMLAAdminSettingForbidden() *GetMLAAdminSettingForbidden
NewGetMLAAdminSettingForbidden creates a GetMLAAdminSettingForbidden with default headers values
func (*GetMLAAdminSettingForbidden) Error ¶
func (o *GetMLAAdminSettingForbidden) Error() string
type GetMLAAdminSettingOK ¶
type GetMLAAdminSettingOK struct {
Payload *models.MLAAdminSetting
}
GetMLAAdminSettingOK describes a response with status code 200, with default header values.
MLAAdminSetting
func NewGetMLAAdminSettingOK ¶
func NewGetMLAAdminSettingOK() *GetMLAAdminSettingOK
NewGetMLAAdminSettingOK creates a GetMLAAdminSettingOK with default headers values
func (*GetMLAAdminSettingOK) Error ¶
func (o *GetMLAAdminSettingOK) Error() string
func (*GetMLAAdminSettingOK) GetPayload ¶
func (o *GetMLAAdminSettingOK) GetPayload() *models.MLAAdminSetting
type GetMLAAdminSettingParams ¶
type GetMLAAdminSettingParams struct { // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMLAAdminSettingParams contains all the parameters to send to the API endpoint
for the get m l a admin setting operation. Typically these are written to a http.Request.
func NewGetMLAAdminSettingParams ¶
func NewGetMLAAdminSettingParams() *GetMLAAdminSettingParams
NewGetMLAAdminSettingParams creates a new GetMLAAdminSettingParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMLAAdminSettingParamsWithContext ¶
func NewGetMLAAdminSettingParamsWithContext(ctx context.Context) *GetMLAAdminSettingParams
NewGetMLAAdminSettingParamsWithContext creates a new GetMLAAdminSettingParams object with the ability to set a context for a request.
func NewGetMLAAdminSettingParamsWithHTTPClient ¶
func NewGetMLAAdminSettingParamsWithHTTPClient(client *http.Client) *GetMLAAdminSettingParams
NewGetMLAAdminSettingParamsWithHTTPClient creates a new GetMLAAdminSettingParams object with the ability to set a custom HTTPClient for a request.
func NewGetMLAAdminSettingParamsWithTimeout ¶
func NewGetMLAAdminSettingParamsWithTimeout(timeout time.Duration) *GetMLAAdminSettingParams
NewGetMLAAdminSettingParamsWithTimeout creates a new GetMLAAdminSettingParams object with the ability to set a timeout on a request.
func (*GetMLAAdminSettingParams) SetClusterID ¶
func (o *GetMLAAdminSettingParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get m l a admin setting params
func (*GetMLAAdminSettingParams) SetContext ¶
func (o *GetMLAAdminSettingParams) SetContext(ctx context.Context)
SetContext adds the context to the get m l a admin setting params
func (*GetMLAAdminSettingParams) SetDefaults ¶
func (o *GetMLAAdminSettingParams) SetDefaults()
SetDefaults hydrates default values in the get m l a admin setting params (not the query body).
All values with no default are reset to their zero value.
func (*GetMLAAdminSettingParams) SetHTTPClient ¶
func (o *GetMLAAdminSettingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get m l a admin setting params
func (*GetMLAAdminSettingParams) SetProjectID ¶
func (o *GetMLAAdminSettingParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the get m l a admin setting params
func (*GetMLAAdminSettingParams) SetTimeout ¶
func (o *GetMLAAdminSettingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get m l a admin setting params
func (*GetMLAAdminSettingParams) WithClusterID ¶
func (o *GetMLAAdminSettingParams) WithClusterID(clusterID string) *GetMLAAdminSettingParams
WithClusterID adds the clusterID to the get m l a admin setting params
func (*GetMLAAdminSettingParams) WithContext ¶
func (o *GetMLAAdminSettingParams) WithContext(ctx context.Context) *GetMLAAdminSettingParams
WithContext adds the context to the get m l a admin setting params
func (*GetMLAAdminSettingParams) WithDefaults ¶
func (o *GetMLAAdminSettingParams) WithDefaults() *GetMLAAdminSettingParams
WithDefaults hydrates default values in the get m l a admin setting params (not the query body).
All values with no default are reset to their zero value.
func (*GetMLAAdminSettingParams) WithHTTPClient ¶
func (o *GetMLAAdminSettingParams) WithHTTPClient(client *http.Client) *GetMLAAdminSettingParams
WithHTTPClient adds the HTTPClient to the get m l a admin setting params
func (*GetMLAAdminSettingParams) WithProjectID ¶
func (o *GetMLAAdminSettingParams) WithProjectID(projectID string) *GetMLAAdminSettingParams
WithProjectID adds the projectID to the get m l a admin setting params
func (*GetMLAAdminSettingParams) WithTimeout ¶
func (o *GetMLAAdminSettingParams) WithTimeout(timeout time.Duration) *GetMLAAdminSettingParams
WithTimeout adds the timeout to the get m l a admin setting params
func (*GetMLAAdminSettingParams) WriteToRequest ¶
func (o *GetMLAAdminSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMLAAdminSettingReader ¶
type GetMLAAdminSettingReader struct {
// contains filtered or unexported fields
}
GetMLAAdminSettingReader is a Reader for the GetMLAAdminSetting structure.
func (*GetMLAAdminSettingReader) ReadResponse ¶
func (o *GetMLAAdminSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMLAAdminSettingUnauthorized ¶
type GetMLAAdminSettingUnauthorized struct { }
GetMLAAdminSettingUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewGetMLAAdminSettingUnauthorized ¶
func NewGetMLAAdminSettingUnauthorized() *GetMLAAdminSettingUnauthorized
NewGetMLAAdminSettingUnauthorized creates a GetMLAAdminSettingUnauthorized with default headers values
func (*GetMLAAdminSettingUnauthorized) Error ¶
func (o *GetMLAAdminSettingUnauthorized) Error() string
type UpdateMLAAdminSettingDefault ¶
type UpdateMLAAdminSettingDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
UpdateMLAAdminSettingDefault describes a response with status code -1, with default header values.
errorResponse
func NewUpdateMLAAdminSettingDefault ¶
func NewUpdateMLAAdminSettingDefault(code int) *UpdateMLAAdminSettingDefault
NewUpdateMLAAdminSettingDefault creates a UpdateMLAAdminSettingDefault with default headers values
func (*UpdateMLAAdminSettingDefault) Code ¶
func (o *UpdateMLAAdminSettingDefault) Code() int
Code gets the status code for the update m l a admin setting default response
func (*UpdateMLAAdminSettingDefault) Error ¶
func (o *UpdateMLAAdminSettingDefault) Error() string
func (*UpdateMLAAdminSettingDefault) GetPayload ¶
func (o *UpdateMLAAdminSettingDefault) GetPayload() *models.ErrorResponse
type UpdateMLAAdminSettingForbidden ¶
type UpdateMLAAdminSettingForbidden struct { }
UpdateMLAAdminSettingForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewUpdateMLAAdminSettingForbidden ¶
func NewUpdateMLAAdminSettingForbidden() *UpdateMLAAdminSettingForbidden
NewUpdateMLAAdminSettingForbidden creates a UpdateMLAAdminSettingForbidden with default headers values
func (*UpdateMLAAdminSettingForbidden) Error ¶
func (o *UpdateMLAAdminSettingForbidden) Error() string
type UpdateMLAAdminSettingOK ¶
type UpdateMLAAdminSettingOK struct {
Payload *models.MLAAdminSetting
}
UpdateMLAAdminSettingOK describes a response with status code 200, with default header values.
MLAAdminSetting
func NewUpdateMLAAdminSettingOK ¶
func NewUpdateMLAAdminSettingOK() *UpdateMLAAdminSettingOK
NewUpdateMLAAdminSettingOK creates a UpdateMLAAdminSettingOK with default headers values
func (*UpdateMLAAdminSettingOK) Error ¶
func (o *UpdateMLAAdminSettingOK) Error() string
func (*UpdateMLAAdminSettingOK) GetPayload ¶
func (o *UpdateMLAAdminSettingOK) GetPayload() *models.MLAAdminSetting
type UpdateMLAAdminSettingParams ¶
type UpdateMLAAdminSettingParams struct { // Body. Body *models.MLAAdminSetting // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateMLAAdminSettingParams contains all the parameters to send to the API endpoint
for the update m l a admin setting operation. Typically these are written to a http.Request.
func NewUpdateMLAAdminSettingParams ¶
func NewUpdateMLAAdminSettingParams() *UpdateMLAAdminSettingParams
NewUpdateMLAAdminSettingParams creates a new UpdateMLAAdminSettingParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateMLAAdminSettingParamsWithContext ¶
func NewUpdateMLAAdminSettingParamsWithContext(ctx context.Context) *UpdateMLAAdminSettingParams
NewUpdateMLAAdminSettingParamsWithContext creates a new UpdateMLAAdminSettingParams object with the ability to set a context for a request.
func NewUpdateMLAAdminSettingParamsWithHTTPClient ¶
func NewUpdateMLAAdminSettingParamsWithHTTPClient(client *http.Client) *UpdateMLAAdminSettingParams
NewUpdateMLAAdminSettingParamsWithHTTPClient creates a new UpdateMLAAdminSettingParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateMLAAdminSettingParamsWithTimeout ¶
func NewUpdateMLAAdminSettingParamsWithTimeout(timeout time.Duration) *UpdateMLAAdminSettingParams
NewUpdateMLAAdminSettingParamsWithTimeout creates a new UpdateMLAAdminSettingParams object with the ability to set a timeout on a request.
func (*UpdateMLAAdminSettingParams) SetBody ¶
func (o *UpdateMLAAdminSettingParams) SetBody(body *models.MLAAdminSetting)
SetBody adds the body to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) SetClusterID ¶
func (o *UpdateMLAAdminSettingParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) SetContext ¶
func (o *UpdateMLAAdminSettingParams) SetContext(ctx context.Context)
SetContext adds the context to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) SetDefaults ¶
func (o *UpdateMLAAdminSettingParams) SetDefaults()
SetDefaults hydrates default values in the update m l a admin setting params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateMLAAdminSettingParams) SetHTTPClient ¶
func (o *UpdateMLAAdminSettingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) SetProjectID ¶
func (o *UpdateMLAAdminSettingParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) SetTimeout ¶
func (o *UpdateMLAAdminSettingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) WithBody ¶
func (o *UpdateMLAAdminSettingParams) WithBody(body *models.MLAAdminSetting) *UpdateMLAAdminSettingParams
WithBody adds the body to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) WithClusterID ¶
func (o *UpdateMLAAdminSettingParams) WithClusterID(clusterID string) *UpdateMLAAdminSettingParams
WithClusterID adds the clusterID to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) WithContext ¶
func (o *UpdateMLAAdminSettingParams) WithContext(ctx context.Context) *UpdateMLAAdminSettingParams
WithContext adds the context to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) WithDefaults ¶
func (o *UpdateMLAAdminSettingParams) WithDefaults() *UpdateMLAAdminSettingParams
WithDefaults hydrates default values in the update m l a admin setting params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateMLAAdminSettingParams) WithHTTPClient ¶
func (o *UpdateMLAAdminSettingParams) WithHTTPClient(client *http.Client) *UpdateMLAAdminSettingParams
WithHTTPClient adds the HTTPClient to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) WithProjectID ¶
func (o *UpdateMLAAdminSettingParams) WithProjectID(projectID string) *UpdateMLAAdminSettingParams
WithProjectID adds the projectID to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) WithTimeout ¶
func (o *UpdateMLAAdminSettingParams) WithTimeout(timeout time.Duration) *UpdateMLAAdminSettingParams
WithTimeout adds the timeout to the update m l a admin setting params
func (*UpdateMLAAdminSettingParams) WriteToRequest ¶
func (o *UpdateMLAAdminSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateMLAAdminSettingReader ¶
type UpdateMLAAdminSettingReader struct {
// contains filtered or unexported fields
}
UpdateMLAAdminSettingReader is a Reader for the UpdateMLAAdminSetting structure.
func (*UpdateMLAAdminSettingReader) ReadResponse ¶
func (o *UpdateMLAAdminSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateMLAAdminSettingUnauthorized ¶
type UpdateMLAAdminSettingUnauthorized struct { }
UpdateMLAAdminSettingUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewUpdateMLAAdminSettingUnauthorized ¶
func NewUpdateMLAAdminSettingUnauthorized() *UpdateMLAAdminSettingUnauthorized
NewUpdateMLAAdminSettingUnauthorized creates a UpdateMLAAdminSettingUnauthorized with default headers values
func (*UpdateMLAAdminSettingUnauthorized) Error ¶
func (o *UpdateMLAAdminSettingUnauthorized) Error() string
Source Files
¶
- create_m_l_a_admin_setting_parameters.go
- create_m_l_a_admin_setting_responses.go
- delete_m_l_a_admin_setting_parameters.go
- delete_m_l_a_admin_setting_responses.go
- get_m_l_a_admin_setting_parameters.go
- get_m_l_a_admin_setting_responses.go
- mlaadminsetting_client.go
- update_m_l_a_admin_setting_parameters.go
- update_m_l_a_admin_setting_responses.go