Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAdminRuleGroup(params *CreateAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAdminRuleGroupCreated, error)
- func (a *Client) CreateRuleGroup(params *CreateRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRuleGroupCreated, error)
- func (a *Client) DeleteAdminRuleGroup(params *DeleteAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAdminRuleGroupOK, error)
- func (a *Client) DeleteRuleGroup(params *DeleteRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRuleGroupOK, error)
- func (a *Client) GetAdminRuleGroup(params *GetAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAdminRuleGroupOK, error)
- func (a *Client) GetRuleGroup(params *GetRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRuleGroupOK, error)
- func (a *Client) ListAdminRuleGroups(params *ListAdminRuleGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAdminRuleGroupsOK, error)
- func (a *Client) ListRuleGroups(params *ListRuleGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRuleGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAdminRuleGroup(params *UpdateAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAdminRuleGroupOK, error)
- func (a *Client) UpdateRuleGroup(params *UpdateRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateRuleGroupOK, error)
- type ClientOption
- type ClientService
- type CreateAdminRuleGroupCreated
- type CreateAdminRuleGroupDefault
- type CreateAdminRuleGroupForbidden
- type CreateAdminRuleGroupParams
- func NewCreateAdminRuleGroupParams() *CreateAdminRuleGroupParams
- func NewCreateAdminRuleGroupParamsWithContext(ctx context.Context) *CreateAdminRuleGroupParams
- func NewCreateAdminRuleGroupParamsWithHTTPClient(client *http.Client) *CreateAdminRuleGroupParams
- func NewCreateAdminRuleGroupParamsWithTimeout(timeout time.Duration) *CreateAdminRuleGroupParams
- func (o *CreateAdminRuleGroupParams) SetBody(body *models.RuleGroup)
- func (o *CreateAdminRuleGroupParams) SetContext(ctx context.Context)
- func (o *CreateAdminRuleGroupParams) SetDefaults()
- func (o *CreateAdminRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateAdminRuleGroupParams) SetSeedName(seedName string)
- func (o *CreateAdminRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateAdminRuleGroupParams) WithBody(body *models.RuleGroup) *CreateAdminRuleGroupParams
- func (o *CreateAdminRuleGroupParams) WithContext(ctx context.Context) *CreateAdminRuleGroupParams
- func (o *CreateAdminRuleGroupParams) WithDefaults() *CreateAdminRuleGroupParams
- func (o *CreateAdminRuleGroupParams) WithHTTPClient(client *http.Client) *CreateAdminRuleGroupParams
- func (o *CreateAdminRuleGroupParams) WithSeedName(seedName string) *CreateAdminRuleGroupParams
- func (o *CreateAdminRuleGroupParams) WithTimeout(timeout time.Duration) *CreateAdminRuleGroupParams
- func (o *CreateAdminRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAdminRuleGroupReader
- type CreateAdminRuleGroupUnauthorized
- type CreateRuleGroupCreated
- type CreateRuleGroupDefault
- type CreateRuleGroupForbidden
- type CreateRuleGroupParams
- func NewCreateRuleGroupParams() *CreateRuleGroupParams
- func NewCreateRuleGroupParamsWithContext(ctx context.Context) *CreateRuleGroupParams
- func NewCreateRuleGroupParamsWithHTTPClient(client *http.Client) *CreateRuleGroupParams
- func NewCreateRuleGroupParamsWithTimeout(timeout time.Duration) *CreateRuleGroupParams
- func (o *CreateRuleGroupParams) SetBody(body *models.RuleGroup)
- func (o *CreateRuleGroupParams) SetClusterID(clusterID string)
- func (o *CreateRuleGroupParams) SetContext(ctx context.Context)
- func (o *CreateRuleGroupParams) SetDefaults()
- func (o *CreateRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateRuleGroupParams) SetProjectID(projectID string)
- func (o *CreateRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateRuleGroupParams) WithBody(body *models.RuleGroup) *CreateRuleGroupParams
- func (o *CreateRuleGroupParams) WithClusterID(clusterID string) *CreateRuleGroupParams
- func (o *CreateRuleGroupParams) WithContext(ctx context.Context) *CreateRuleGroupParams
- func (o *CreateRuleGroupParams) WithDefaults() *CreateRuleGroupParams
- func (o *CreateRuleGroupParams) WithHTTPClient(client *http.Client) *CreateRuleGroupParams
- func (o *CreateRuleGroupParams) WithProjectID(projectID string) *CreateRuleGroupParams
- func (o *CreateRuleGroupParams) WithTimeout(timeout time.Duration) *CreateRuleGroupParams
- func (o *CreateRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRuleGroupReader
- type CreateRuleGroupUnauthorized
- type DeleteAdminRuleGroupDefault
- type DeleteAdminRuleGroupForbidden
- type DeleteAdminRuleGroupOK
- type DeleteAdminRuleGroupParams
- func NewDeleteAdminRuleGroupParams() *DeleteAdminRuleGroupParams
- func NewDeleteAdminRuleGroupParamsWithContext(ctx context.Context) *DeleteAdminRuleGroupParams
- func NewDeleteAdminRuleGroupParamsWithHTTPClient(client *http.Client) *DeleteAdminRuleGroupParams
- func NewDeleteAdminRuleGroupParamsWithTimeout(timeout time.Duration) *DeleteAdminRuleGroupParams
- func (o *DeleteAdminRuleGroupParams) SetContext(ctx context.Context)
- func (o *DeleteAdminRuleGroupParams) SetDefaults()
- func (o *DeleteAdminRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAdminRuleGroupParams) SetRuleGroupID(rulegroupID string)
- func (o *DeleteAdminRuleGroupParams) SetSeedName(seedName string)
- func (o *DeleteAdminRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAdminRuleGroupParams) WithContext(ctx context.Context) *DeleteAdminRuleGroupParams
- func (o *DeleteAdminRuleGroupParams) WithDefaults() *DeleteAdminRuleGroupParams
- func (o *DeleteAdminRuleGroupParams) WithHTTPClient(client *http.Client) *DeleteAdminRuleGroupParams
- func (o *DeleteAdminRuleGroupParams) WithRuleGroupID(rulegroupID string) *DeleteAdminRuleGroupParams
- func (o *DeleteAdminRuleGroupParams) WithSeedName(seedName string) *DeleteAdminRuleGroupParams
- func (o *DeleteAdminRuleGroupParams) WithTimeout(timeout time.Duration) *DeleteAdminRuleGroupParams
- func (o *DeleteAdminRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAdminRuleGroupReader
- type DeleteAdminRuleGroupUnauthorized
- type DeleteRuleGroupDefault
- type DeleteRuleGroupForbidden
- type DeleteRuleGroupOK
- type DeleteRuleGroupParams
- func NewDeleteRuleGroupParams() *DeleteRuleGroupParams
- func NewDeleteRuleGroupParamsWithContext(ctx context.Context) *DeleteRuleGroupParams
- func NewDeleteRuleGroupParamsWithHTTPClient(client *http.Client) *DeleteRuleGroupParams
- func NewDeleteRuleGroupParamsWithTimeout(timeout time.Duration) *DeleteRuleGroupParams
- func (o *DeleteRuleGroupParams) SetClusterID(clusterID string)
- func (o *DeleteRuleGroupParams) SetContext(ctx context.Context)
- func (o *DeleteRuleGroupParams) SetDefaults()
- func (o *DeleteRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRuleGroupParams) SetProjectID(projectID string)
- func (o *DeleteRuleGroupParams) SetRuleGroupID(rulegroupID string)
- func (o *DeleteRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRuleGroupParams) WithClusterID(clusterID string) *DeleteRuleGroupParams
- func (o *DeleteRuleGroupParams) WithContext(ctx context.Context) *DeleteRuleGroupParams
- func (o *DeleteRuleGroupParams) WithDefaults() *DeleteRuleGroupParams
- func (o *DeleteRuleGroupParams) WithHTTPClient(client *http.Client) *DeleteRuleGroupParams
- func (o *DeleteRuleGroupParams) WithProjectID(projectID string) *DeleteRuleGroupParams
- func (o *DeleteRuleGroupParams) WithRuleGroupID(rulegroupID string) *DeleteRuleGroupParams
- func (o *DeleteRuleGroupParams) WithTimeout(timeout time.Duration) *DeleteRuleGroupParams
- func (o *DeleteRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRuleGroupReader
- type DeleteRuleGroupUnauthorized
- type GetAdminRuleGroupDefault
- type GetAdminRuleGroupForbidden
- type GetAdminRuleGroupOK
- type GetAdminRuleGroupParams
- func NewGetAdminRuleGroupParams() *GetAdminRuleGroupParams
- func NewGetAdminRuleGroupParamsWithContext(ctx context.Context) *GetAdminRuleGroupParams
- func NewGetAdminRuleGroupParamsWithHTTPClient(client *http.Client) *GetAdminRuleGroupParams
- func NewGetAdminRuleGroupParamsWithTimeout(timeout time.Duration) *GetAdminRuleGroupParams
- func (o *GetAdminRuleGroupParams) SetContext(ctx context.Context)
- func (o *GetAdminRuleGroupParams) SetDefaults()
- func (o *GetAdminRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetAdminRuleGroupParams) SetRuleGroupID(rulegroupID string)
- func (o *GetAdminRuleGroupParams) SetSeedName(seedName string)
- func (o *GetAdminRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetAdminRuleGroupParams) WithContext(ctx context.Context) *GetAdminRuleGroupParams
- func (o *GetAdminRuleGroupParams) WithDefaults() *GetAdminRuleGroupParams
- func (o *GetAdminRuleGroupParams) WithHTTPClient(client *http.Client) *GetAdminRuleGroupParams
- func (o *GetAdminRuleGroupParams) WithRuleGroupID(rulegroupID string) *GetAdminRuleGroupParams
- func (o *GetAdminRuleGroupParams) WithSeedName(seedName string) *GetAdminRuleGroupParams
- func (o *GetAdminRuleGroupParams) WithTimeout(timeout time.Duration) *GetAdminRuleGroupParams
- func (o *GetAdminRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAdminRuleGroupReader
- type GetAdminRuleGroupUnauthorized
- type GetRuleGroupDefault
- type GetRuleGroupForbidden
- type GetRuleGroupOK
- type GetRuleGroupParams
- func (o *GetRuleGroupParams) SetClusterID(clusterID string)
- func (o *GetRuleGroupParams) SetContext(ctx context.Context)
- func (o *GetRuleGroupParams) SetDefaults()
- func (o *GetRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetRuleGroupParams) SetProjectID(projectID string)
- func (o *GetRuleGroupParams) SetRuleGroupID(rulegroupID string)
- func (o *GetRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetRuleGroupParams) WithClusterID(clusterID string) *GetRuleGroupParams
- func (o *GetRuleGroupParams) WithContext(ctx context.Context) *GetRuleGroupParams
- func (o *GetRuleGroupParams) WithDefaults() *GetRuleGroupParams
- func (o *GetRuleGroupParams) WithHTTPClient(client *http.Client) *GetRuleGroupParams
- func (o *GetRuleGroupParams) WithProjectID(projectID string) *GetRuleGroupParams
- func (o *GetRuleGroupParams) WithRuleGroupID(rulegroupID string) *GetRuleGroupParams
- func (o *GetRuleGroupParams) WithTimeout(timeout time.Duration) *GetRuleGroupParams
- func (o *GetRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuleGroupReader
- type GetRuleGroupUnauthorized
- type ListAdminRuleGroupsDefault
- type ListAdminRuleGroupsForbidden
- type ListAdminRuleGroupsOK
- type ListAdminRuleGroupsParams
- func NewListAdminRuleGroupsParams() *ListAdminRuleGroupsParams
- func NewListAdminRuleGroupsParamsWithContext(ctx context.Context) *ListAdminRuleGroupsParams
- func NewListAdminRuleGroupsParamsWithHTTPClient(client *http.Client) *ListAdminRuleGroupsParams
- func NewListAdminRuleGroupsParamsWithTimeout(timeout time.Duration) *ListAdminRuleGroupsParams
- func (o *ListAdminRuleGroupsParams) SetContext(ctx context.Context)
- func (o *ListAdminRuleGroupsParams) SetDefaults()
- func (o *ListAdminRuleGroupsParams) SetHTTPClient(client *http.Client)
- func (o *ListAdminRuleGroupsParams) SetSeedName(seedName string)
- func (o *ListAdminRuleGroupsParams) SetTimeout(timeout time.Duration)
- func (o *ListAdminRuleGroupsParams) SetType(typeVar *string)
- func (o *ListAdminRuleGroupsParams) WithContext(ctx context.Context) *ListAdminRuleGroupsParams
- func (o *ListAdminRuleGroupsParams) WithDefaults() *ListAdminRuleGroupsParams
- func (o *ListAdminRuleGroupsParams) WithHTTPClient(client *http.Client) *ListAdminRuleGroupsParams
- func (o *ListAdminRuleGroupsParams) WithSeedName(seedName string) *ListAdminRuleGroupsParams
- func (o *ListAdminRuleGroupsParams) WithTimeout(timeout time.Duration) *ListAdminRuleGroupsParams
- func (o *ListAdminRuleGroupsParams) WithType(typeVar *string) *ListAdminRuleGroupsParams
- func (o *ListAdminRuleGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAdminRuleGroupsReader
- type ListAdminRuleGroupsUnauthorized
- type ListRuleGroupsDefault
- type ListRuleGroupsForbidden
- type ListRuleGroupsOK
- type ListRuleGroupsParams
- func NewListRuleGroupsParams() *ListRuleGroupsParams
- func NewListRuleGroupsParamsWithContext(ctx context.Context) *ListRuleGroupsParams
- func NewListRuleGroupsParamsWithHTTPClient(client *http.Client) *ListRuleGroupsParams
- func NewListRuleGroupsParamsWithTimeout(timeout time.Duration) *ListRuleGroupsParams
- func (o *ListRuleGroupsParams) SetClusterID(clusterID string)
- func (o *ListRuleGroupsParams) SetContext(ctx context.Context)
- func (o *ListRuleGroupsParams) SetDefaults()
- func (o *ListRuleGroupsParams) SetHTTPClient(client *http.Client)
- func (o *ListRuleGroupsParams) SetProjectID(projectID string)
- func (o *ListRuleGroupsParams) SetTimeout(timeout time.Duration)
- func (o *ListRuleGroupsParams) SetType(typeVar *string)
- func (o *ListRuleGroupsParams) WithClusterID(clusterID string) *ListRuleGroupsParams
- func (o *ListRuleGroupsParams) WithContext(ctx context.Context) *ListRuleGroupsParams
- func (o *ListRuleGroupsParams) WithDefaults() *ListRuleGroupsParams
- func (o *ListRuleGroupsParams) WithHTTPClient(client *http.Client) *ListRuleGroupsParams
- func (o *ListRuleGroupsParams) WithProjectID(projectID string) *ListRuleGroupsParams
- func (o *ListRuleGroupsParams) WithTimeout(timeout time.Duration) *ListRuleGroupsParams
- func (o *ListRuleGroupsParams) WithType(typeVar *string) *ListRuleGroupsParams
- func (o *ListRuleGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRuleGroupsReader
- type ListRuleGroupsUnauthorized
- type UpdateAdminRuleGroupDefault
- type UpdateAdminRuleGroupForbidden
- type UpdateAdminRuleGroupOK
- type UpdateAdminRuleGroupParams
- func NewUpdateAdminRuleGroupParams() *UpdateAdminRuleGroupParams
- func NewUpdateAdminRuleGroupParamsWithContext(ctx context.Context) *UpdateAdminRuleGroupParams
- func NewUpdateAdminRuleGroupParamsWithHTTPClient(client *http.Client) *UpdateAdminRuleGroupParams
- func NewUpdateAdminRuleGroupParamsWithTimeout(timeout time.Duration) *UpdateAdminRuleGroupParams
- func (o *UpdateAdminRuleGroupParams) SetBody(body *models.RuleGroup)
- func (o *UpdateAdminRuleGroupParams) SetContext(ctx context.Context)
- func (o *UpdateAdminRuleGroupParams) SetDefaults()
- func (o *UpdateAdminRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAdminRuleGroupParams) SetRuleGroupID(rulegroupID string)
- func (o *UpdateAdminRuleGroupParams) SetSeedName(seedName string)
- func (o *UpdateAdminRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAdminRuleGroupParams) WithBody(body *models.RuleGroup) *UpdateAdminRuleGroupParams
- func (o *UpdateAdminRuleGroupParams) WithContext(ctx context.Context) *UpdateAdminRuleGroupParams
- func (o *UpdateAdminRuleGroupParams) WithDefaults() *UpdateAdminRuleGroupParams
- func (o *UpdateAdminRuleGroupParams) WithHTTPClient(client *http.Client) *UpdateAdminRuleGroupParams
- func (o *UpdateAdminRuleGroupParams) WithRuleGroupID(rulegroupID string) *UpdateAdminRuleGroupParams
- func (o *UpdateAdminRuleGroupParams) WithSeedName(seedName string) *UpdateAdminRuleGroupParams
- func (o *UpdateAdminRuleGroupParams) WithTimeout(timeout time.Duration) *UpdateAdminRuleGroupParams
- func (o *UpdateAdminRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAdminRuleGroupReader
- type UpdateAdminRuleGroupUnauthorized
- type UpdateRuleGroupDefault
- type UpdateRuleGroupForbidden
- type UpdateRuleGroupOK
- type UpdateRuleGroupParams
- func NewUpdateRuleGroupParams() *UpdateRuleGroupParams
- func NewUpdateRuleGroupParamsWithContext(ctx context.Context) *UpdateRuleGroupParams
- func NewUpdateRuleGroupParamsWithHTTPClient(client *http.Client) *UpdateRuleGroupParams
- func NewUpdateRuleGroupParamsWithTimeout(timeout time.Duration) *UpdateRuleGroupParams
- func (o *UpdateRuleGroupParams) SetBody(body *models.RuleGroup)
- func (o *UpdateRuleGroupParams) SetClusterID(clusterID string)
- func (o *UpdateRuleGroupParams) SetContext(ctx context.Context)
- func (o *UpdateRuleGroupParams) SetDefaults()
- func (o *UpdateRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRuleGroupParams) SetProjectID(projectID string)
- func (o *UpdateRuleGroupParams) SetRuleGroupID(rulegroupID string)
- func (o *UpdateRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRuleGroupParams) WithBody(body *models.RuleGroup) *UpdateRuleGroupParams
- func (o *UpdateRuleGroupParams) WithClusterID(clusterID string) *UpdateRuleGroupParams
- func (o *UpdateRuleGroupParams) WithContext(ctx context.Context) *UpdateRuleGroupParams
- func (o *UpdateRuleGroupParams) WithDefaults() *UpdateRuleGroupParams
- func (o *UpdateRuleGroupParams) WithHTTPClient(client *http.Client) *UpdateRuleGroupParams
- func (o *UpdateRuleGroupParams) WithProjectID(projectID string) *UpdateRuleGroupParams
- func (o *UpdateRuleGroupParams) WithRuleGroupID(rulegroupID string) *UpdateRuleGroupParams
- func (o *UpdateRuleGroupParams) WithTimeout(timeout time.Duration) *UpdateRuleGroupParams
- func (o *UpdateRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRuleGroupReader
- type UpdateRuleGroupUnauthorized
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 rulegroup API
func (*Client) CreateAdminRuleGroup ¶ added in v2.19.0
func (a *Client) CreateAdminRuleGroup(params *CreateAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAdminRuleGroupCreated, error)
CreateAdminRuleGroup Creates a rule group that will belong to the given Seed
func (*Client) CreateRuleGroup ¶
func (a *Client) CreateRuleGroup(params *CreateRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRuleGroupCreated, error)
CreateRuleGroup Creates a rule group that will belong to the given cluster
func (*Client) DeleteAdminRuleGroup ¶ added in v2.19.0
func (a *Client) DeleteAdminRuleGroup(params *DeleteAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAdminRuleGroupOK, error)
DeleteAdminRuleGroup deletes the given rule group that belongs to the seed
func (*Client) DeleteRuleGroup ¶
func (a *Client) DeleteRuleGroup(params *DeleteRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRuleGroupOK, error)
DeleteRuleGroup deletes the given rule group that belongs to the cluster
func (*Client) GetAdminRuleGroup ¶ added in v2.19.0
func (a *Client) GetAdminRuleGroup(params *GetAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdminRuleGroupOK, error)
GetAdminRuleGroup gets a specified rule group for a given seed
func (*Client) GetRuleGroup ¶
func (a *Client) GetRuleGroup(params *GetRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRuleGroupOK, error)
GetRuleGroup gets a specified rule group for the given cluster
func (*Client) ListAdminRuleGroups ¶ added in v2.19.0
func (a *Client) ListAdminRuleGroups(params *ListAdminRuleGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAdminRuleGroupsOK, error)
ListAdminRuleGroups lists rule groups that belong to a given seed
func (*Client) ListRuleGroups ¶
func (a *Client) ListRuleGroups(params *ListRuleGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRuleGroupsOK, error)
ListRuleGroups Lists rule groups that belong to the given cluster
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAdminRuleGroup ¶ added in v2.19.0
func (a *Client) UpdateAdminRuleGroup(params *UpdateAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAdminRuleGroupOK, error)
UpdateAdminRuleGroup updates the specified rule group for the given seed
func (*Client) UpdateRuleGroup ¶
func (a *Client) UpdateRuleGroup(params *UpdateRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRuleGroupOK, error)
UpdateRuleGroup updates the specified rule group for the given cluster
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAdminRuleGroup(params *CreateAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAdminRuleGroupCreated, error) CreateRuleGroup(params *CreateRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRuleGroupCreated, error) DeleteAdminRuleGroup(params *DeleteAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAdminRuleGroupOK, error) DeleteRuleGroup(params *DeleteRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRuleGroupOK, error) GetAdminRuleGroup(params *GetAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdminRuleGroupOK, error) GetRuleGroup(params *GetRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRuleGroupOK, error) ListAdminRuleGroups(params *ListAdminRuleGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAdminRuleGroupsOK, error) ListRuleGroups(params *ListRuleGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRuleGroupsOK, error) UpdateAdminRuleGroup(params *UpdateAdminRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAdminRuleGroupOK, error) UpdateRuleGroup(params *UpdateRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRuleGroupOK, 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 rulegroup API client.
type CreateAdminRuleGroupCreated ¶ added in v2.19.0
CreateAdminRuleGroupCreated describes a response with status code 201, with default header values.
RuleGroup
func NewCreateAdminRuleGroupCreated ¶ added in v2.19.0
func NewCreateAdminRuleGroupCreated() *CreateAdminRuleGroupCreated
NewCreateAdminRuleGroupCreated creates a CreateAdminRuleGroupCreated with default headers values
func (*CreateAdminRuleGroupCreated) Error ¶ added in v2.19.0
func (o *CreateAdminRuleGroupCreated) Error() string
func (*CreateAdminRuleGroupCreated) GetPayload ¶ added in v2.19.0
func (o *CreateAdminRuleGroupCreated) GetPayload() *models.RuleGroup
type CreateAdminRuleGroupDefault ¶ added in v2.19.0
type CreateAdminRuleGroupDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateAdminRuleGroupDefault describes a response with status code -1, with default header values.
errorResponse
func NewCreateAdminRuleGroupDefault ¶ added in v2.19.0
func NewCreateAdminRuleGroupDefault(code int) *CreateAdminRuleGroupDefault
NewCreateAdminRuleGroupDefault creates a CreateAdminRuleGroupDefault with default headers values
func (*CreateAdminRuleGroupDefault) Code ¶ added in v2.19.0
func (o *CreateAdminRuleGroupDefault) Code() int
Code gets the status code for the create admin rule group default response
func (*CreateAdminRuleGroupDefault) Error ¶ added in v2.19.0
func (o *CreateAdminRuleGroupDefault) Error() string
func (*CreateAdminRuleGroupDefault) GetPayload ¶ added in v2.19.0
func (o *CreateAdminRuleGroupDefault) GetPayload() *models.ErrorResponse
type CreateAdminRuleGroupForbidden ¶ added in v2.19.0
type CreateAdminRuleGroupForbidden struct { }
CreateAdminRuleGroupForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewCreateAdminRuleGroupForbidden ¶ added in v2.19.0
func NewCreateAdminRuleGroupForbidden() *CreateAdminRuleGroupForbidden
NewCreateAdminRuleGroupForbidden creates a CreateAdminRuleGroupForbidden with default headers values
func (*CreateAdminRuleGroupForbidden) Error ¶ added in v2.19.0
func (o *CreateAdminRuleGroupForbidden) Error() string
type CreateAdminRuleGroupParams ¶ added in v2.19.0
type CreateAdminRuleGroupParams struct { // Body. Body *models.RuleGroup // SeedName. SeedName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAdminRuleGroupParams contains all the parameters to send to the API endpoint
for the create admin rule group operation. Typically these are written to a http.Request.
func NewCreateAdminRuleGroupParams ¶ added in v2.19.0
func NewCreateAdminRuleGroupParams() *CreateAdminRuleGroupParams
NewCreateAdminRuleGroupParams creates a new CreateAdminRuleGroupParams 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 NewCreateAdminRuleGroupParamsWithContext ¶ added in v2.19.0
func NewCreateAdminRuleGroupParamsWithContext(ctx context.Context) *CreateAdminRuleGroupParams
NewCreateAdminRuleGroupParamsWithContext creates a new CreateAdminRuleGroupParams object with the ability to set a context for a request.
func NewCreateAdminRuleGroupParamsWithHTTPClient ¶ added in v2.19.0
func NewCreateAdminRuleGroupParamsWithHTTPClient(client *http.Client) *CreateAdminRuleGroupParams
NewCreateAdminRuleGroupParamsWithHTTPClient creates a new CreateAdminRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAdminRuleGroupParamsWithTimeout ¶ added in v2.19.0
func NewCreateAdminRuleGroupParamsWithTimeout(timeout time.Duration) *CreateAdminRuleGroupParams
NewCreateAdminRuleGroupParamsWithTimeout creates a new CreateAdminRuleGroupParams object with the ability to set a timeout on a request.
func (*CreateAdminRuleGroupParams) SetBody ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) SetBody(body *models.RuleGroup)
SetBody adds the body to the create admin rule group params
func (*CreateAdminRuleGroupParams) SetContext ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the create admin rule group params
func (*CreateAdminRuleGroupParams) SetDefaults ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the create admin rule group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAdminRuleGroupParams) SetHTTPClient ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create admin rule group params
func (*CreateAdminRuleGroupParams) SetSeedName ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) SetSeedName(seedName string)
SetSeedName adds the seedName to the create admin rule group params
func (*CreateAdminRuleGroupParams) SetTimeout ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create admin rule group params
func (*CreateAdminRuleGroupParams) WithBody ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) WithBody(body *models.RuleGroup) *CreateAdminRuleGroupParams
WithBody adds the body to the create admin rule group params
func (*CreateAdminRuleGroupParams) WithContext ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) WithContext(ctx context.Context) *CreateAdminRuleGroupParams
WithContext adds the context to the create admin rule group params
func (*CreateAdminRuleGroupParams) WithDefaults ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) WithDefaults() *CreateAdminRuleGroupParams
WithDefaults hydrates default values in the create admin rule group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAdminRuleGroupParams) WithHTTPClient ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) WithHTTPClient(client *http.Client) *CreateAdminRuleGroupParams
WithHTTPClient adds the HTTPClient to the create admin rule group params
func (*CreateAdminRuleGroupParams) WithSeedName ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) WithSeedName(seedName string) *CreateAdminRuleGroupParams
WithSeedName adds the seedName to the create admin rule group params
func (*CreateAdminRuleGroupParams) WithTimeout ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) WithTimeout(timeout time.Duration) *CreateAdminRuleGroupParams
WithTimeout adds the timeout to the create admin rule group params
func (*CreateAdminRuleGroupParams) WriteToRequest ¶ added in v2.19.0
func (o *CreateAdminRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAdminRuleGroupReader ¶ added in v2.19.0
type CreateAdminRuleGroupReader struct {
// contains filtered or unexported fields
}
CreateAdminRuleGroupReader is a Reader for the CreateAdminRuleGroup structure.
func (*CreateAdminRuleGroupReader) ReadResponse ¶ added in v2.19.0
func (o *CreateAdminRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAdminRuleGroupUnauthorized ¶ added in v2.19.0
type CreateAdminRuleGroupUnauthorized struct { }
CreateAdminRuleGroupUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewCreateAdminRuleGroupUnauthorized ¶ added in v2.19.0
func NewCreateAdminRuleGroupUnauthorized() *CreateAdminRuleGroupUnauthorized
NewCreateAdminRuleGroupUnauthorized creates a CreateAdminRuleGroupUnauthorized with default headers values
func (*CreateAdminRuleGroupUnauthorized) Error ¶ added in v2.19.0
func (o *CreateAdminRuleGroupUnauthorized) Error() string
type CreateRuleGroupCreated ¶
CreateRuleGroupCreated describes a response with status code 201, with default header values.
RuleGroup
func NewCreateRuleGroupCreated ¶
func NewCreateRuleGroupCreated() *CreateRuleGroupCreated
NewCreateRuleGroupCreated creates a CreateRuleGroupCreated with default headers values
func (*CreateRuleGroupCreated) Error ¶
func (o *CreateRuleGroupCreated) Error() string
func (*CreateRuleGroupCreated) GetPayload ¶
func (o *CreateRuleGroupCreated) GetPayload() *models.RuleGroup
type CreateRuleGroupDefault ¶
type CreateRuleGroupDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateRuleGroupDefault describes a response with status code -1, with default header values.
errorResponse
func NewCreateRuleGroupDefault ¶
func NewCreateRuleGroupDefault(code int) *CreateRuleGroupDefault
NewCreateRuleGroupDefault creates a CreateRuleGroupDefault with default headers values
func (*CreateRuleGroupDefault) Code ¶
func (o *CreateRuleGroupDefault) Code() int
Code gets the status code for the create rule group default response
func (*CreateRuleGroupDefault) Error ¶
func (o *CreateRuleGroupDefault) Error() string
func (*CreateRuleGroupDefault) GetPayload ¶
func (o *CreateRuleGroupDefault) GetPayload() *models.ErrorResponse
type CreateRuleGroupForbidden ¶
type CreateRuleGroupForbidden struct { }
CreateRuleGroupForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewCreateRuleGroupForbidden ¶
func NewCreateRuleGroupForbidden() *CreateRuleGroupForbidden
NewCreateRuleGroupForbidden creates a CreateRuleGroupForbidden with default headers values
func (*CreateRuleGroupForbidden) Error ¶
func (o *CreateRuleGroupForbidden) Error() string
type CreateRuleGroupParams ¶
type CreateRuleGroupParams struct { // Body. Body *models.RuleGroup // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRuleGroupParams contains all the parameters to send to the API endpoint
for the create rule group operation. Typically these are written to a http.Request.
func NewCreateRuleGroupParams ¶
func NewCreateRuleGroupParams() *CreateRuleGroupParams
NewCreateRuleGroupParams creates a new CreateRuleGroupParams 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 NewCreateRuleGroupParamsWithContext ¶
func NewCreateRuleGroupParamsWithContext(ctx context.Context) *CreateRuleGroupParams
NewCreateRuleGroupParamsWithContext creates a new CreateRuleGroupParams object with the ability to set a context for a request.
func NewCreateRuleGroupParamsWithHTTPClient ¶
func NewCreateRuleGroupParamsWithHTTPClient(client *http.Client) *CreateRuleGroupParams
NewCreateRuleGroupParamsWithHTTPClient creates a new CreateRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRuleGroupParamsWithTimeout ¶
func NewCreateRuleGroupParamsWithTimeout(timeout time.Duration) *CreateRuleGroupParams
NewCreateRuleGroupParamsWithTimeout creates a new CreateRuleGroupParams object with the ability to set a timeout on a request.
func (*CreateRuleGroupParams) SetBody ¶
func (o *CreateRuleGroupParams) SetBody(body *models.RuleGroup)
SetBody adds the body to the create rule group params
func (*CreateRuleGroupParams) SetClusterID ¶
func (o *CreateRuleGroupParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the create rule group params
func (*CreateRuleGroupParams) SetContext ¶
func (o *CreateRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the create rule group params
func (*CreateRuleGroupParams) SetDefaults ¶
func (o *CreateRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the create rule group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRuleGroupParams) SetHTTPClient ¶
func (o *CreateRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create rule group params
func (*CreateRuleGroupParams) SetProjectID ¶
func (o *CreateRuleGroupParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the create rule group params
func (*CreateRuleGroupParams) SetTimeout ¶
func (o *CreateRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create rule group params
func (*CreateRuleGroupParams) WithBody ¶
func (o *CreateRuleGroupParams) WithBody(body *models.RuleGroup) *CreateRuleGroupParams
WithBody adds the body to the create rule group params
func (*CreateRuleGroupParams) WithClusterID ¶
func (o *CreateRuleGroupParams) WithClusterID(clusterID string) *CreateRuleGroupParams
WithClusterID adds the clusterID to the create rule group params
func (*CreateRuleGroupParams) WithContext ¶
func (o *CreateRuleGroupParams) WithContext(ctx context.Context) *CreateRuleGroupParams
WithContext adds the context to the create rule group params
func (*CreateRuleGroupParams) WithDefaults ¶
func (o *CreateRuleGroupParams) WithDefaults() *CreateRuleGroupParams
WithDefaults hydrates default values in the create rule group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRuleGroupParams) WithHTTPClient ¶
func (o *CreateRuleGroupParams) WithHTTPClient(client *http.Client) *CreateRuleGroupParams
WithHTTPClient adds the HTTPClient to the create rule group params
func (*CreateRuleGroupParams) WithProjectID ¶
func (o *CreateRuleGroupParams) WithProjectID(projectID string) *CreateRuleGroupParams
WithProjectID adds the projectID to the create rule group params
func (*CreateRuleGroupParams) WithTimeout ¶
func (o *CreateRuleGroupParams) WithTimeout(timeout time.Duration) *CreateRuleGroupParams
WithTimeout adds the timeout to the create rule group params
func (*CreateRuleGroupParams) WriteToRequest ¶
func (o *CreateRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRuleGroupReader ¶
type CreateRuleGroupReader struct {
// contains filtered or unexported fields
}
CreateRuleGroupReader is a Reader for the CreateRuleGroup structure.
func (*CreateRuleGroupReader) ReadResponse ¶
func (o *CreateRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRuleGroupUnauthorized ¶
type CreateRuleGroupUnauthorized struct { }
CreateRuleGroupUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewCreateRuleGroupUnauthorized ¶
func NewCreateRuleGroupUnauthorized() *CreateRuleGroupUnauthorized
NewCreateRuleGroupUnauthorized creates a CreateRuleGroupUnauthorized with default headers values
func (*CreateRuleGroupUnauthorized) Error ¶
func (o *CreateRuleGroupUnauthorized) Error() string
type DeleteAdminRuleGroupDefault ¶ added in v2.19.0
type DeleteAdminRuleGroupDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteAdminRuleGroupDefault describes a response with status code -1, with default header values.
errorResponse
func NewDeleteAdminRuleGroupDefault ¶ added in v2.19.0
func NewDeleteAdminRuleGroupDefault(code int) *DeleteAdminRuleGroupDefault
NewDeleteAdminRuleGroupDefault creates a DeleteAdminRuleGroupDefault with default headers values
func (*DeleteAdminRuleGroupDefault) Code ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupDefault) Code() int
Code gets the status code for the delete admin rule group default response
func (*DeleteAdminRuleGroupDefault) Error ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupDefault) Error() string
func (*DeleteAdminRuleGroupDefault) GetPayload ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupDefault) GetPayload() *models.ErrorResponse
type DeleteAdminRuleGroupForbidden ¶ added in v2.19.0
type DeleteAdminRuleGroupForbidden struct { }
DeleteAdminRuleGroupForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewDeleteAdminRuleGroupForbidden ¶ added in v2.19.0
func NewDeleteAdminRuleGroupForbidden() *DeleteAdminRuleGroupForbidden
NewDeleteAdminRuleGroupForbidden creates a DeleteAdminRuleGroupForbidden with default headers values
func (*DeleteAdminRuleGroupForbidden) Error ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupForbidden) Error() string
type DeleteAdminRuleGroupOK ¶ added in v2.19.0
type DeleteAdminRuleGroupOK struct { }
DeleteAdminRuleGroupOK describes a response with status code 200, with default header values.
EmptyResponse is a empty response
func NewDeleteAdminRuleGroupOK ¶ added in v2.19.0
func NewDeleteAdminRuleGroupOK() *DeleteAdminRuleGroupOK
NewDeleteAdminRuleGroupOK creates a DeleteAdminRuleGroupOK with default headers values
func (*DeleteAdminRuleGroupOK) Error ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupOK) Error() string
type DeleteAdminRuleGroupParams ¶ added in v2.19.0
type DeleteAdminRuleGroupParams struct { // RulegroupID. RuleGroupID string // SeedName. SeedName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAdminRuleGroupParams contains all the parameters to send to the API endpoint
for the delete admin rule group operation. Typically these are written to a http.Request.
func NewDeleteAdminRuleGroupParams ¶ added in v2.19.0
func NewDeleteAdminRuleGroupParams() *DeleteAdminRuleGroupParams
NewDeleteAdminRuleGroupParams creates a new DeleteAdminRuleGroupParams 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 NewDeleteAdminRuleGroupParamsWithContext ¶ added in v2.19.0
func NewDeleteAdminRuleGroupParamsWithContext(ctx context.Context) *DeleteAdminRuleGroupParams
NewDeleteAdminRuleGroupParamsWithContext creates a new DeleteAdminRuleGroupParams object with the ability to set a context for a request.
func NewDeleteAdminRuleGroupParamsWithHTTPClient ¶ added in v2.19.0
func NewDeleteAdminRuleGroupParamsWithHTTPClient(client *http.Client) *DeleteAdminRuleGroupParams
NewDeleteAdminRuleGroupParamsWithHTTPClient creates a new DeleteAdminRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAdminRuleGroupParamsWithTimeout ¶ added in v2.19.0
func NewDeleteAdminRuleGroupParamsWithTimeout(timeout time.Duration) *DeleteAdminRuleGroupParams
NewDeleteAdminRuleGroupParamsWithTimeout creates a new DeleteAdminRuleGroupParams object with the ability to set a timeout on a request.
func (*DeleteAdminRuleGroupParams) SetContext ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete admin rule group params
func (*DeleteAdminRuleGroupParams) SetDefaults ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the delete admin rule group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAdminRuleGroupParams) SetHTTPClient ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete admin rule group params
func (*DeleteAdminRuleGroupParams) SetRuleGroupID ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) SetRuleGroupID(rulegroupID string)
SetRuleGroupID adds the rulegroupId to the delete admin rule group params
func (*DeleteAdminRuleGroupParams) SetSeedName ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) SetSeedName(seedName string)
SetSeedName adds the seedName to the delete admin rule group params
func (*DeleteAdminRuleGroupParams) SetTimeout ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete admin rule group params
func (*DeleteAdminRuleGroupParams) WithContext ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) WithContext(ctx context.Context) *DeleteAdminRuleGroupParams
WithContext adds the context to the delete admin rule group params
func (*DeleteAdminRuleGroupParams) WithDefaults ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) WithDefaults() *DeleteAdminRuleGroupParams
WithDefaults hydrates default values in the delete admin rule group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAdminRuleGroupParams) WithHTTPClient ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) WithHTTPClient(client *http.Client) *DeleteAdminRuleGroupParams
WithHTTPClient adds the HTTPClient to the delete admin rule group params
func (*DeleteAdminRuleGroupParams) WithRuleGroupID ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) WithRuleGroupID(rulegroupID string) *DeleteAdminRuleGroupParams
WithRuleGroupID adds the rulegroupID to the delete admin rule group params
func (*DeleteAdminRuleGroupParams) WithSeedName ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) WithSeedName(seedName string) *DeleteAdminRuleGroupParams
WithSeedName adds the seedName to the delete admin rule group params
func (*DeleteAdminRuleGroupParams) WithTimeout ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) WithTimeout(timeout time.Duration) *DeleteAdminRuleGroupParams
WithTimeout adds the timeout to the delete admin rule group params
func (*DeleteAdminRuleGroupParams) WriteToRequest ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAdminRuleGroupReader ¶ added in v2.19.0
type DeleteAdminRuleGroupReader struct {
// contains filtered or unexported fields
}
DeleteAdminRuleGroupReader is a Reader for the DeleteAdminRuleGroup structure.
func (*DeleteAdminRuleGroupReader) ReadResponse ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAdminRuleGroupUnauthorized ¶ added in v2.19.0
type DeleteAdminRuleGroupUnauthorized struct { }
DeleteAdminRuleGroupUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewDeleteAdminRuleGroupUnauthorized ¶ added in v2.19.0
func NewDeleteAdminRuleGroupUnauthorized() *DeleteAdminRuleGroupUnauthorized
NewDeleteAdminRuleGroupUnauthorized creates a DeleteAdminRuleGroupUnauthorized with default headers values
func (*DeleteAdminRuleGroupUnauthorized) Error ¶ added in v2.19.0
func (o *DeleteAdminRuleGroupUnauthorized) Error() string
type DeleteRuleGroupDefault ¶
type DeleteRuleGroupDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteRuleGroupDefault describes a response with status code -1, with default header values.
errorResponse
func NewDeleteRuleGroupDefault ¶
func NewDeleteRuleGroupDefault(code int) *DeleteRuleGroupDefault
NewDeleteRuleGroupDefault creates a DeleteRuleGroupDefault with default headers values
func (*DeleteRuleGroupDefault) Code ¶
func (o *DeleteRuleGroupDefault) Code() int
Code gets the status code for the delete rule group default response
func (*DeleteRuleGroupDefault) Error ¶
func (o *DeleteRuleGroupDefault) Error() string
func (*DeleteRuleGroupDefault) GetPayload ¶
func (o *DeleteRuleGroupDefault) GetPayload() *models.ErrorResponse
type DeleteRuleGroupForbidden ¶
type DeleteRuleGroupForbidden struct { }
DeleteRuleGroupForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewDeleteRuleGroupForbidden ¶
func NewDeleteRuleGroupForbidden() *DeleteRuleGroupForbidden
NewDeleteRuleGroupForbidden creates a DeleteRuleGroupForbidden with default headers values
func (*DeleteRuleGroupForbidden) Error ¶
func (o *DeleteRuleGroupForbidden) Error() string
type DeleteRuleGroupOK ¶
type DeleteRuleGroupOK struct { }
DeleteRuleGroupOK describes a response with status code 200, with default header values.
EmptyResponse is a empty response
func NewDeleteRuleGroupOK ¶
func NewDeleteRuleGroupOK() *DeleteRuleGroupOK
NewDeleteRuleGroupOK creates a DeleteRuleGroupOK with default headers values
func (*DeleteRuleGroupOK) Error ¶
func (o *DeleteRuleGroupOK) Error() string
type DeleteRuleGroupParams ¶
type DeleteRuleGroupParams struct { // ClusterID. ClusterID string // ProjectID. ProjectID string // RulegroupID. RuleGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRuleGroupParams contains all the parameters to send to the API endpoint
for the delete rule group operation. Typically these are written to a http.Request.
func NewDeleteRuleGroupParams ¶
func NewDeleteRuleGroupParams() *DeleteRuleGroupParams
NewDeleteRuleGroupParams creates a new DeleteRuleGroupParams 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 NewDeleteRuleGroupParamsWithContext ¶
func NewDeleteRuleGroupParamsWithContext(ctx context.Context) *DeleteRuleGroupParams
NewDeleteRuleGroupParamsWithContext creates a new DeleteRuleGroupParams object with the ability to set a context for a request.
func NewDeleteRuleGroupParamsWithHTTPClient ¶
func NewDeleteRuleGroupParamsWithHTTPClient(client *http.Client) *DeleteRuleGroupParams
NewDeleteRuleGroupParamsWithHTTPClient creates a new DeleteRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRuleGroupParamsWithTimeout ¶
func NewDeleteRuleGroupParamsWithTimeout(timeout time.Duration) *DeleteRuleGroupParams
NewDeleteRuleGroupParamsWithTimeout creates a new DeleteRuleGroupParams object with the ability to set a timeout on a request.
func (*DeleteRuleGroupParams) SetClusterID ¶
func (o *DeleteRuleGroupParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the delete rule group params
func (*DeleteRuleGroupParams) SetContext ¶
func (o *DeleteRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete rule group params
func (*DeleteRuleGroupParams) SetDefaults ¶
func (o *DeleteRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the delete rule group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRuleGroupParams) SetHTTPClient ¶
func (o *DeleteRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete rule group params
func (*DeleteRuleGroupParams) SetProjectID ¶
func (o *DeleteRuleGroupParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the delete rule group params
func (*DeleteRuleGroupParams) SetRuleGroupID ¶
func (o *DeleteRuleGroupParams) SetRuleGroupID(rulegroupID string)
SetRuleGroupID adds the rulegroupId to the delete rule group params
func (*DeleteRuleGroupParams) SetTimeout ¶
func (o *DeleteRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete rule group params
func (*DeleteRuleGroupParams) WithClusterID ¶
func (o *DeleteRuleGroupParams) WithClusterID(clusterID string) *DeleteRuleGroupParams
WithClusterID adds the clusterID to the delete rule group params
func (*DeleteRuleGroupParams) WithContext ¶
func (o *DeleteRuleGroupParams) WithContext(ctx context.Context) *DeleteRuleGroupParams
WithContext adds the context to the delete rule group params
func (*DeleteRuleGroupParams) WithDefaults ¶
func (o *DeleteRuleGroupParams) WithDefaults() *DeleteRuleGroupParams
WithDefaults hydrates default values in the delete rule group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRuleGroupParams) WithHTTPClient ¶
func (o *DeleteRuleGroupParams) WithHTTPClient(client *http.Client) *DeleteRuleGroupParams
WithHTTPClient adds the HTTPClient to the delete rule group params
func (*DeleteRuleGroupParams) WithProjectID ¶
func (o *DeleteRuleGroupParams) WithProjectID(projectID string) *DeleteRuleGroupParams
WithProjectID adds the projectID to the delete rule group params
func (*DeleteRuleGroupParams) WithRuleGroupID ¶
func (o *DeleteRuleGroupParams) WithRuleGroupID(rulegroupID string) *DeleteRuleGroupParams
WithRuleGroupID adds the rulegroupID to the delete rule group params
func (*DeleteRuleGroupParams) WithTimeout ¶
func (o *DeleteRuleGroupParams) WithTimeout(timeout time.Duration) *DeleteRuleGroupParams
WithTimeout adds the timeout to the delete rule group params
func (*DeleteRuleGroupParams) WriteToRequest ¶
func (o *DeleteRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRuleGroupReader ¶
type DeleteRuleGroupReader struct {
// contains filtered or unexported fields
}
DeleteRuleGroupReader is a Reader for the DeleteRuleGroup structure.
func (*DeleteRuleGroupReader) ReadResponse ¶
func (o *DeleteRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRuleGroupUnauthorized ¶
type DeleteRuleGroupUnauthorized struct { }
DeleteRuleGroupUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewDeleteRuleGroupUnauthorized ¶
func NewDeleteRuleGroupUnauthorized() *DeleteRuleGroupUnauthorized
NewDeleteRuleGroupUnauthorized creates a DeleteRuleGroupUnauthorized with default headers values
func (*DeleteRuleGroupUnauthorized) Error ¶
func (o *DeleteRuleGroupUnauthorized) Error() string
type GetAdminRuleGroupDefault ¶ added in v2.19.0
type GetAdminRuleGroupDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetAdminRuleGroupDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetAdminRuleGroupDefault ¶ added in v2.19.0
func NewGetAdminRuleGroupDefault(code int) *GetAdminRuleGroupDefault
NewGetAdminRuleGroupDefault creates a GetAdminRuleGroupDefault with default headers values
func (*GetAdminRuleGroupDefault) Code ¶ added in v2.19.0
func (o *GetAdminRuleGroupDefault) Code() int
Code gets the status code for the get admin rule group default response
func (*GetAdminRuleGroupDefault) Error ¶ added in v2.19.0
func (o *GetAdminRuleGroupDefault) Error() string
func (*GetAdminRuleGroupDefault) GetPayload ¶ added in v2.19.0
func (o *GetAdminRuleGroupDefault) GetPayload() *models.ErrorResponse
type GetAdminRuleGroupForbidden ¶ added in v2.19.0
type GetAdminRuleGroupForbidden struct { }
GetAdminRuleGroupForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewGetAdminRuleGroupForbidden ¶ added in v2.19.0
func NewGetAdminRuleGroupForbidden() *GetAdminRuleGroupForbidden
NewGetAdminRuleGroupForbidden creates a GetAdminRuleGroupForbidden with default headers values
func (*GetAdminRuleGroupForbidden) Error ¶ added in v2.19.0
func (o *GetAdminRuleGroupForbidden) Error() string
type GetAdminRuleGroupOK ¶ added in v2.19.0
GetAdminRuleGroupOK describes a response with status code 200, with default header values.
RuleGroup
func NewGetAdminRuleGroupOK ¶ added in v2.19.0
func NewGetAdminRuleGroupOK() *GetAdminRuleGroupOK
NewGetAdminRuleGroupOK creates a GetAdminRuleGroupOK with default headers values
func (*GetAdminRuleGroupOK) Error ¶ added in v2.19.0
func (o *GetAdminRuleGroupOK) Error() string
func (*GetAdminRuleGroupOK) GetPayload ¶ added in v2.19.0
func (o *GetAdminRuleGroupOK) GetPayload() *models.RuleGroup
type GetAdminRuleGroupParams ¶ added in v2.19.0
type GetAdminRuleGroupParams struct { // RulegroupID. RuleGroupID string // SeedName. SeedName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAdminRuleGroupParams contains all the parameters to send to the API endpoint
for the get admin rule group operation. Typically these are written to a http.Request.
func NewGetAdminRuleGroupParams ¶ added in v2.19.0
func NewGetAdminRuleGroupParams() *GetAdminRuleGroupParams
NewGetAdminRuleGroupParams creates a new GetAdminRuleGroupParams 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 NewGetAdminRuleGroupParamsWithContext ¶ added in v2.19.0
func NewGetAdminRuleGroupParamsWithContext(ctx context.Context) *GetAdminRuleGroupParams
NewGetAdminRuleGroupParamsWithContext creates a new GetAdminRuleGroupParams object with the ability to set a context for a request.
func NewGetAdminRuleGroupParamsWithHTTPClient ¶ added in v2.19.0
func NewGetAdminRuleGroupParamsWithHTTPClient(client *http.Client) *GetAdminRuleGroupParams
NewGetAdminRuleGroupParamsWithHTTPClient creates a new GetAdminRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewGetAdminRuleGroupParamsWithTimeout ¶ added in v2.19.0
func NewGetAdminRuleGroupParamsWithTimeout(timeout time.Duration) *GetAdminRuleGroupParams
NewGetAdminRuleGroupParamsWithTimeout creates a new GetAdminRuleGroupParams object with the ability to set a timeout on a request.
func (*GetAdminRuleGroupParams) SetContext ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get admin rule group params
func (*GetAdminRuleGroupParams) SetDefaults ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the get admin rule group params (not the query body).
All values with no default are reset to their zero value.
func (*GetAdminRuleGroupParams) SetHTTPClient ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get admin rule group params
func (*GetAdminRuleGroupParams) SetRuleGroupID ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) SetRuleGroupID(rulegroupID string)
SetRuleGroupID adds the rulegroupId to the get admin rule group params
func (*GetAdminRuleGroupParams) SetSeedName ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) SetSeedName(seedName string)
SetSeedName adds the seedName to the get admin rule group params
func (*GetAdminRuleGroupParams) SetTimeout ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get admin rule group params
func (*GetAdminRuleGroupParams) WithContext ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) WithContext(ctx context.Context) *GetAdminRuleGroupParams
WithContext adds the context to the get admin rule group params
func (*GetAdminRuleGroupParams) WithDefaults ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) WithDefaults() *GetAdminRuleGroupParams
WithDefaults hydrates default values in the get admin rule group params (not the query body).
All values with no default are reset to their zero value.
func (*GetAdminRuleGroupParams) WithHTTPClient ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) WithHTTPClient(client *http.Client) *GetAdminRuleGroupParams
WithHTTPClient adds the HTTPClient to the get admin rule group params
func (*GetAdminRuleGroupParams) WithRuleGroupID ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) WithRuleGroupID(rulegroupID string) *GetAdminRuleGroupParams
WithRuleGroupID adds the rulegroupID to the get admin rule group params
func (*GetAdminRuleGroupParams) WithSeedName ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) WithSeedName(seedName string) *GetAdminRuleGroupParams
WithSeedName adds the seedName to the get admin rule group params
func (*GetAdminRuleGroupParams) WithTimeout ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) WithTimeout(timeout time.Duration) *GetAdminRuleGroupParams
WithTimeout adds the timeout to the get admin rule group params
func (*GetAdminRuleGroupParams) WriteToRequest ¶ added in v2.19.0
func (o *GetAdminRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAdminRuleGroupReader ¶ added in v2.19.0
type GetAdminRuleGroupReader struct {
// contains filtered or unexported fields
}
GetAdminRuleGroupReader is a Reader for the GetAdminRuleGroup structure.
func (*GetAdminRuleGroupReader) ReadResponse ¶ added in v2.19.0
func (o *GetAdminRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAdminRuleGroupUnauthorized ¶ added in v2.19.0
type GetAdminRuleGroupUnauthorized struct { }
GetAdminRuleGroupUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewGetAdminRuleGroupUnauthorized ¶ added in v2.19.0
func NewGetAdminRuleGroupUnauthorized() *GetAdminRuleGroupUnauthorized
NewGetAdminRuleGroupUnauthorized creates a GetAdminRuleGroupUnauthorized with default headers values
func (*GetAdminRuleGroupUnauthorized) Error ¶ added in v2.19.0
func (o *GetAdminRuleGroupUnauthorized) Error() string
type GetRuleGroupDefault ¶
type GetRuleGroupDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetRuleGroupDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetRuleGroupDefault ¶
func NewGetRuleGroupDefault(code int) *GetRuleGroupDefault
NewGetRuleGroupDefault creates a GetRuleGroupDefault with default headers values
func (*GetRuleGroupDefault) Code ¶
func (o *GetRuleGroupDefault) Code() int
Code gets the status code for the get rule group default response
func (*GetRuleGroupDefault) Error ¶
func (o *GetRuleGroupDefault) Error() string
func (*GetRuleGroupDefault) GetPayload ¶
func (o *GetRuleGroupDefault) GetPayload() *models.ErrorResponse
type GetRuleGroupForbidden ¶
type GetRuleGroupForbidden struct { }
GetRuleGroupForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewGetRuleGroupForbidden ¶
func NewGetRuleGroupForbidden() *GetRuleGroupForbidden
NewGetRuleGroupForbidden creates a GetRuleGroupForbidden with default headers values
func (*GetRuleGroupForbidden) Error ¶
func (o *GetRuleGroupForbidden) Error() string
type GetRuleGroupOK ¶
GetRuleGroupOK describes a response with status code 200, with default header values.
RuleGroup
func NewGetRuleGroupOK ¶
func NewGetRuleGroupOK() *GetRuleGroupOK
NewGetRuleGroupOK creates a GetRuleGroupOK with default headers values
func (*GetRuleGroupOK) Error ¶
func (o *GetRuleGroupOK) Error() string
func (*GetRuleGroupOK) GetPayload ¶
func (o *GetRuleGroupOK) GetPayload() *models.RuleGroup
type GetRuleGroupParams ¶
type GetRuleGroupParams struct { // ClusterID. ClusterID string // ProjectID. ProjectID string // RulegroupID. RuleGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuleGroupParams contains all the parameters to send to the API endpoint
for the get rule group operation. Typically these are written to a http.Request.
func NewGetRuleGroupParams ¶
func NewGetRuleGroupParams() *GetRuleGroupParams
NewGetRuleGroupParams creates a new GetRuleGroupParams 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 NewGetRuleGroupParamsWithContext ¶
func NewGetRuleGroupParamsWithContext(ctx context.Context) *GetRuleGroupParams
NewGetRuleGroupParamsWithContext creates a new GetRuleGroupParams object with the ability to set a context for a request.
func NewGetRuleGroupParamsWithHTTPClient ¶
func NewGetRuleGroupParamsWithHTTPClient(client *http.Client) *GetRuleGroupParams
NewGetRuleGroupParamsWithHTTPClient creates a new GetRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewGetRuleGroupParamsWithTimeout ¶
func NewGetRuleGroupParamsWithTimeout(timeout time.Duration) *GetRuleGroupParams
NewGetRuleGroupParamsWithTimeout creates a new GetRuleGroupParams object with the ability to set a timeout on a request.
func (*GetRuleGroupParams) SetClusterID ¶
func (o *GetRuleGroupParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get rule group params
func (*GetRuleGroupParams) SetContext ¶
func (o *GetRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get rule group params
func (*GetRuleGroupParams) SetDefaults ¶
func (o *GetRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the get rule group params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuleGroupParams) SetHTTPClient ¶
func (o *GetRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rule group params
func (*GetRuleGroupParams) SetProjectID ¶
func (o *GetRuleGroupParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the get rule group params
func (*GetRuleGroupParams) SetRuleGroupID ¶
func (o *GetRuleGroupParams) SetRuleGroupID(rulegroupID string)
SetRuleGroupID adds the rulegroupId to the get rule group params
func (*GetRuleGroupParams) SetTimeout ¶
func (o *GetRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rule group params
func (*GetRuleGroupParams) WithClusterID ¶
func (o *GetRuleGroupParams) WithClusterID(clusterID string) *GetRuleGroupParams
WithClusterID adds the clusterID to the get rule group params
func (*GetRuleGroupParams) WithContext ¶
func (o *GetRuleGroupParams) WithContext(ctx context.Context) *GetRuleGroupParams
WithContext adds the context to the get rule group params
func (*GetRuleGroupParams) WithDefaults ¶
func (o *GetRuleGroupParams) WithDefaults() *GetRuleGroupParams
WithDefaults hydrates default values in the get rule group params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuleGroupParams) WithHTTPClient ¶
func (o *GetRuleGroupParams) WithHTTPClient(client *http.Client) *GetRuleGroupParams
WithHTTPClient adds the HTTPClient to the get rule group params
func (*GetRuleGroupParams) WithProjectID ¶
func (o *GetRuleGroupParams) WithProjectID(projectID string) *GetRuleGroupParams
WithProjectID adds the projectID to the get rule group params
func (*GetRuleGroupParams) WithRuleGroupID ¶
func (o *GetRuleGroupParams) WithRuleGroupID(rulegroupID string) *GetRuleGroupParams
WithRuleGroupID adds the rulegroupID to the get rule group params
func (*GetRuleGroupParams) WithTimeout ¶
func (o *GetRuleGroupParams) WithTimeout(timeout time.Duration) *GetRuleGroupParams
WithTimeout adds the timeout to the get rule group params
func (*GetRuleGroupParams) WriteToRequest ¶
func (o *GetRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuleGroupReader ¶
type GetRuleGroupReader struct {
// contains filtered or unexported fields
}
GetRuleGroupReader is a Reader for the GetRuleGroup structure.
func (*GetRuleGroupReader) ReadResponse ¶
func (o *GetRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRuleGroupUnauthorized ¶
type GetRuleGroupUnauthorized struct { }
GetRuleGroupUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewGetRuleGroupUnauthorized ¶
func NewGetRuleGroupUnauthorized() *GetRuleGroupUnauthorized
NewGetRuleGroupUnauthorized creates a GetRuleGroupUnauthorized with default headers values
func (*GetRuleGroupUnauthorized) Error ¶
func (o *GetRuleGroupUnauthorized) Error() string
type ListAdminRuleGroupsDefault ¶ added in v2.19.0
type ListAdminRuleGroupsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAdminRuleGroupsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListAdminRuleGroupsDefault ¶ added in v2.19.0
func NewListAdminRuleGroupsDefault(code int) *ListAdminRuleGroupsDefault
NewListAdminRuleGroupsDefault creates a ListAdminRuleGroupsDefault with default headers values
func (*ListAdminRuleGroupsDefault) Code ¶ added in v2.19.0
func (o *ListAdminRuleGroupsDefault) Code() int
Code gets the status code for the list admin rule groups default response
func (*ListAdminRuleGroupsDefault) Error ¶ added in v2.19.0
func (o *ListAdminRuleGroupsDefault) Error() string
func (*ListAdminRuleGroupsDefault) GetPayload ¶ added in v2.19.0
func (o *ListAdminRuleGroupsDefault) GetPayload() *models.ErrorResponse
type ListAdminRuleGroupsForbidden ¶ added in v2.19.0
type ListAdminRuleGroupsForbidden struct { }
ListAdminRuleGroupsForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewListAdminRuleGroupsForbidden ¶ added in v2.19.0
func NewListAdminRuleGroupsForbidden() *ListAdminRuleGroupsForbidden
NewListAdminRuleGroupsForbidden creates a ListAdminRuleGroupsForbidden with default headers values
func (*ListAdminRuleGroupsForbidden) Error ¶ added in v2.19.0
func (o *ListAdminRuleGroupsForbidden) Error() string
type ListAdminRuleGroupsOK ¶ added in v2.19.0
ListAdminRuleGroupsOK describes a response with status code 200, with default header values.
RuleGroup
func NewListAdminRuleGroupsOK ¶ added in v2.19.0
func NewListAdminRuleGroupsOK() *ListAdminRuleGroupsOK
NewListAdminRuleGroupsOK creates a ListAdminRuleGroupsOK with default headers values
func (*ListAdminRuleGroupsOK) Error ¶ added in v2.19.0
func (o *ListAdminRuleGroupsOK) Error() string
func (*ListAdminRuleGroupsOK) GetPayload ¶ added in v2.19.0
func (o *ListAdminRuleGroupsOK) GetPayload() []*models.RuleGroup
type ListAdminRuleGroupsParams ¶ added in v2.19.0
type ListAdminRuleGroupsParams struct { // SeedName. SeedName string // Type. Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAdminRuleGroupsParams contains all the parameters to send to the API endpoint
for the list admin rule groups operation. Typically these are written to a http.Request.
func NewListAdminRuleGroupsParams ¶ added in v2.19.0
func NewListAdminRuleGroupsParams() *ListAdminRuleGroupsParams
NewListAdminRuleGroupsParams creates a new ListAdminRuleGroupsParams 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 NewListAdminRuleGroupsParamsWithContext ¶ added in v2.19.0
func NewListAdminRuleGroupsParamsWithContext(ctx context.Context) *ListAdminRuleGroupsParams
NewListAdminRuleGroupsParamsWithContext creates a new ListAdminRuleGroupsParams object with the ability to set a context for a request.
func NewListAdminRuleGroupsParamsWithHTTPClient ¶ added in v2.19.0
func NewListAdminRuleGroupsParamsWithHTTPClient(client *http.Client) *ListAdminRuleGroupsParams
NewListAdminRuleGroupsParamsWithHTTPClient creates a new ListAdminRuleGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewListAdminRuleGroupsParamsWithTimeout ¶ added in v2.19.0
func NewListAdminRuleGroupsParamsWithTimeout(timeout time.Duration) *ListAdminRuleGroupsParams
NewListAdminRuleGroupsParamsWithTimeout creates a new ListAdminRuleGroupsParams object with the ability to set a timeout on a request.
func (*ListAdminRuleGroupsParams) SetContext ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the list admin rule groups params
func (*ListAdminRuleGroupsParams) SetDefaults ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) SetDefaults()
SetDefaults hydrates default values in the list admin rule groups params (not the query body).
All values with no default are reset to their zero value.
func (*ListAdminRuleGroupsParams) SetHTTPClient ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list admin rule groups params
func (*ListAdminRuleGroupsParams) SetSeedName ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) SetSeedName(seedName string)
SetSeedName adds the seedName to the list admin rule groups params
func (*ListAdminRuleGroupsParams) SetTimeout ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list admin rule groups params
func (*ListAdminRuleGroupsParams) SetType ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) SetType(typeVar *string)
SetType adds the type to the list admin rule groups params
func (*ListAdminRuleGroupsParams) WithContext ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) WithContext(ctx context.Context) *ListAdminRuleGroupsParams
WithContext adds the context to the list admin rule groups params
func (*ListAdminRuleGroupsParams) WithDefaults ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) WithDefaults() *ListAdminRuleGroupsParams
WithDefaults hydrates default values in the list admin rule groups params (not the query body).
All values with no default are reset to their zero value.
func (*ListAdminRuleGroupsParams) WithHTTPClient ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) WithHTTPClient(client *http.Client) *ListAdminRuleGroupsParams
WithHTTPClient adds the HTTPClient to the list admin rule groups params
func (*ListAdminRuleGroupsParams) WithSeedName ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) WithSeedName(seedName string) *ListAdminRuleGroupsParams
WithSeedName adds the seedName to the list admin rule groups params
func (*ListAdminRuleGroupsParams) WithTimeout ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) WithTimeout(timeout time.Duration) *ListAdminRuleGroupsParams
WithTimeout adds the timeout to the list admin rule groups params
func (*ListAdminRuleGroupsParams) WithType ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) WithType(typeVar *string) *ListAdminRuleGroupsParams
WithType adds the typeVar to the list admin rule groups params
func (*ListAdminRuleGroupsParams) WriteToRequest ¶ added in v2.19.0
func (o *ListAdminRuleGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAdminRuleGroupsReader ¶ added in v2.19.0
type ListAdminRuleGroupsReader struct {
// contains filtered or unexported fields
}
ListAdminRuleGroupsReader is a Reader for the ListAdminRuleGroups structure.
func (*ListAdminRuleGroupsReader) ReadResponse ¶ added in v2.19.0
func (o *ListAdminRuleGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAdminRuleGroupsUnauthorized ¶ added in v2.19.0
type ListAdminRuleGroupsUnauthorized struct { }
ListAdminRuleGroupsUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewListAdminRuleGroupsUnauthorized ¶ added in v2.19.0
func NewListAdminRuleGroupsUnauthorized() *ListAdminRuleGroupsUnauthorized
NewListAdminRuleGroupsUnauthorized creates a ListAdminRuleGroupsUnauthorized with default headers values
func (*ListAdminRuleGroupsUnauthorized) Error ¶ added in v2.19.0
func (o *ListAdminRuleGroupsUnauthorized) Error() string
type ListRuleGroupsDefault ¶
type ListRuleGroupsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListRuleGroupsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListRuleGroupsDefault ¶
func NewListRuleGroupsDefault(code int) *ListRuleGroupsDefault
NewListRuleGroupsDefault creates a ListRuleGroupsDefault with default headers values
func (*ListRuleGroupsDefault) Code ¶
func (o *ListRuleGroupsDefault) Code() int
Code gets the status code for the list rule groups default response
func (*ListRuleGroupsDefault) Error ¶
func (o *ListRuleGroupsDefault) Error() string
func (*ListRuleGroupsDefault) GetPayload ¶
func (o *ListRuleGroupsDefault) GetPayload() *models.ErrorResponse
type ListRuleGroupsForbidden ¶
type ListRuleGroupsForbidden struct { }
ListRuleGroupsForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewListRuleGroupsForbidden ¶
func NewListRuleGroupsForbidden() *ListRuleGroupsForbidden
NewListRuleGroupsForbidden creates a ListRuleGroupsForbidden with default headers values
func (*ListRuleGroupsForbidden) Error ¶
func (o *ListRuleGroupsForbidden) Error() string
type ListRuleGroupsOK ¶
ListRuleGroupsOK describes a response with status code 200, with default header values.
RuleGroup
func NewListRuleGroupsOK ¶
func NewListRuleGroupsOK() *ListRuleGroupsOK
NewListRuleGroupsOK creates a ListRuleGroupsOK with default headers values
func (*ListRuleGroupsOK) Error ¶
func (o *ListRuleGroupsOK) Error() string
func (*ListRuleGroupsOK) GetPayload ¶
func (o *ListRuleGroupsOK) GetPayload() []*models.RuleGroup
type ListRuleGroupsParams ¶
type ListRuleGroupsParams struct { // ClusterID. ClusterID string // ProjectID. ProjectID string // Type. Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRuleGroupsParams contains all the parameters to send to the API endpoint
for the list rule groups operation. Typically these are written to a http.Request.
func NewListRuleGroupsParams ¶
func NewListRuleGroupsParams() *ListRuleGroupsParams
NewListRuleGroupsParams creates a new ListRuleGroupsParams 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 NewListRuleGroupsParamsWithContext ¶
func NewListRuleGroupsParamsWithContext(ctx context.Context) *ListRuleGroupsParams
NewListRuleGroupsParamsWithContext creates a new ListRuleGroupsParams object with the ability to set a context for a request.
func NewListRuleGroupsParamsWithHTTPClient ¶
func NewListRuleGroupsParamsWithHTTPClient(client *http.Client) *ListRuleGroupsParams
NewListRuleGroupsParamsWithHTTPClient creates a new ListRuleGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewListRuleGroupsParamsWithTimeout ¶
func NewListRuleGroupsParamsWithTimeout(timeout time.Duration) *ListRuleGroupsParams
NewListRuleGroupsParamsWithTimeout creates a new ListRuleGroupsParams object with the ability to set a timeout on a request.
func (*ListRuleGroupsParams) SetClusterID ¶
func (o *ListRuleGroupsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list rule groups params
func (*ListRuleGroupsParams) SetContext ¶
func (o *ListRuleGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the list rule groups params
func (*ListRuleGroupsParams) SetDefaults ¶
func (o *ListRuleGroupsParams) SetDefaults()
SetDefaults hydrates default values in the list rule groups params (not the query body).
All values with no default are reset to their zero value.
func (*ListRuleGroupsParams) SetHTTPClient ¶
func (o *ListRuleGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list rule groups params
func (*ListRuleGroupsParams) SetProjectID ¶
func (o *ListRuleGroupsParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list rule groups params
func (*ListRuleGroupsParams) SetTimeout ¶
func (o *ListRuleGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list rule groups params
func (*ListRuleGroupsParams) SetType ¶
func (o *ListRuleGroupsParams) SetType(typeVar *string)
SetType adds the type to the list rule groups params
func (*ListRuleGroupsParams) WithClusterID ¶
func (o *ListRuleGroupsParams) WithClusterID(clusterID string) *ListRuleGroupsParams
WithClusterID adds the clusterID to the list rule groups params
func (*ListRuleGroupsParams) WithContext ¶
func (o *ListRuleGroupsParams) WithContext(ctx context.Context) *ListRuleGroupsParams
WithContext adds the context to the list rule groups params
func (*ListRuleGroupsParams) WithDefaults ¶
func (o *ListRuleGroupsParams) WithDefaults() *ListRuleGroupsParams
WithDefaults hydrates default values in the list rule groups params (not the query body).
All values with no default are reset to their zero value.
func (*ListRuleGroupsParams) WithHTTPClient ¶
func (o *ListRuleGroupsParams) WithHTTPClient(client *http.Client) *ListRuleGroupsParams
WithHTTPClient adds the HTTPClient to the list rule groups params
func (*ListRuleGroupsParams) WithProjectID ¶
func (o *ListRuleGroupsParams) WithProjectID(projectID string) *ListRuleGroupsParams
WithProjectID adds the projectID to the list rule groups params
func (*ListRuleGroupsParams) WithTimeout ¶
func (o *ListRuleGroupsParams) WithTimeout(timeout time.Duration) *ListRuleGroupsParams
WithTimeout adds the timeout to the list rule groups params
func (*ListRuleGroupsParams) WithType ¶
func (o *ListRuleGroupsParams) WithType(typeVar *string) *ListRuleGroupsParams
WithType adds the typeVar to the list rule groups params
func (*ListRuleGroupsParams) WriteToRequest ¶
func (o *ListRuleGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRuleGroupsReader ¶
type ListRuleGroupsReader struct {
// contains filtered or unexported fields
}
ListRuleGroupsReader is a Reader for the ListRuleGroups structure.
func (*ListRuleGroupsReader) ReadResponse ¶
func (o *ListRuleGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRuleGroupsUnauthorized ¶
type ListRuleGroupsUnauthorized struct { }
ListRuleGroupsUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewListRuleGroupsUnauthorized ¶
func NewListRuleGroupsUnauthorized() *ListRuleGroupsUnauthorized
NewListRuleGroupsUnauthorized creates a ListRuleGroupsUnauthorized with default headers values
func (*ListRuleGroupsUnauthorized) Error ¶
func (o *ListRuleGroupsUnauthorized) Error() string
type UpdateAdminRuleGroupDefault ¶ added in v2.19.0
type UpdateAdminRuleGroupDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
UpdateAdminRuleGroupDefault describes a response with status code -1, with default header values.
errorResponse
func NewUpdateAdminRuleGroupDefault ¶ added in v2.19.0
func NewUpdateAdminRuleGroupDefault(code int) *UpdateAdminRuleGroupDefault
NewUpdateAdminRuleGroupDefault creates a UpdateAdminRuleGroupDefault with default headers values
func (*UpdateAdminRuleGroupDefault) Code ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupDefault) Code() int
Code gets the status code for the update admin rule group default response
func (*UpdateAdminRuleGroupDefault) Error ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupDefault) Error() string
func (*UpdateAdminRuleGroupDefault) GetPayload ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupDefault) GetPayload() *models.ErrorResponse
type UpdateAdminRuleGroupForbidden ¶ added in v2.19.0
type UpdateAdminRuleGroupForbidden struct { }
UpdateAdminRuleGroupForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewUpdateAdminRuleGroupForbidden ¶ added in v2.19.0
func NewUpdateAdminRuleGroupForbidden() *UpdateAdminRuleGroupForbidden
NewUpdateAdminRuleGroupForbidden creates a UpdateAdminRuleGroupForbidden with default headers values
func (*UpdateAdminRuleGroupForbidden) Error ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupForbidden) Error() string
type UpdateAdminRuleGroupOK ¶ added in v2.19.0
UpdateAdminRuleGroupOK describes a response with status code 200, with default header values.
RuleGroup
func NewUpdateAdminRuleGroupOK ¶ added in v2.19.0
func NewUpdateAdminRuleGroupOK() *UpdateAdminRuleGroupOK
NewUpdateAdminRuleGroupOK creates a UpdateAdminRuleGroupOK with default headers values
func (*UpdateAdminRuleGroupOK) Error ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupOK) Error() string
func (*UpdateAdminRuleGroupOK) GetPayload ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupOK) GetPayload() *models.RuleGroup
type UpdateAdminRuleGroupParams ¶ added in v2.19.0
type UpdateAdminRuleGroupParams struct { // Body. Body *models.RuleGroup // RulegroupID. RuleGroupID string // SeedName. SeedName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAdminRuleGroupParams contains all the parameters to send to the API endpoint
for the update admin rule group operation. Typically these are written to a http.Request.
func NewUpdateAdminRuleGroupParams ¶ added in v2.19.0
func NewUpdateAdminRuleGroupParams() *UpdateAdminRuleGroupParams
NewUpdateAdminRuleGroupParams creates a new UpdateAdminRuleGroupParams 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 NewUpdateAdminRuleGroupParamsWithContext ¶ added in v2.19.0
func NewUpdateAdminRuleGroupParamsWithContext(ctx context.Context) *UpdateAdminRuleGroupParams
NewUpdateAdminRuleGroupParamsWithContext creates a new UpdateAdminRuleGroupParams object with the ability to set a context for a request.
func NewUpdateAdminRuleGroupParamsWithHTTPClient ¶ added in v2.19.0
func NewUpdateAdminRuleGroupParamsWithHTTPClient(client *http.Client) *UpdateAdminRuleGroupParams
NewUpdateAdminRuleGroupParamsWithHTTPClient creates a new UpdateAdminRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAdminRuleGroupParamsWithTimeout ¶ added in v2.19.0
func NewUpdateAdminRuleGroupParamsWithTimeout(timeout time.Duration) *UpdateAdminRuleGroupParams
NewUpdateAdminRuleGroupParamsWithTimeout creates a new UpdateAdminRuleGroupParams object with the ability to set a timeout on a request.
func (*UpdateAdminRuleGroupParams) SetBody ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) SetBody(body *models.RuleGroup)
SetBody adds the body to the update admin rule group params
func (*UpdateAdminRuleGroupParams) SetContext ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the update admin rule group params
func (*UpdateAdminRuleGroupParams) SetDefaults ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the update admin rule group params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAdminRuleGroupParams) SetHTTPClient ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update admin rule group params
func (*UpdateAdminRuleGroupParams) SetRuleGroupID ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) SetRuleGroupID(rulegroupID string)
SetRuleGroupID adds the rulegroupId to the update admin rule group params
func (*UpdateAdminRuleGroupParams) SetSeedName ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) SetSeedName(seedName string)
SetSeedName adds the seedName to the update admin rule group params
func (*UpdateAdminRuleGroupParams) SetTimeout ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update admin rule group params
func (*UpdateAdminRuleGroupParams) WithBody ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) WithBody(body *models.RuleGroup) *UpdateAdminRuleGroupParams
WithBody adds the body to the update admin rule group params
func (*UpdateAdminRuleGroupParams) WithContext ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) WithContext(ctx context.Context) *UpdateAdminRuleGroupParams
WithContext adds the context to the update admin rule group params
func (*UpdateAdminRuleGroupParams) WithDefaults ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) WithDefaults() *UpdateAdminRuleGroupParams
WithDefaults hydrates default values in the update admin rule group params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAdminRuleGroupParams) WithHTTPClient ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) WithHTTPClient(client *http.Client) *UpdateAdminRuleGroupParams
WithHTTPClient adds the HTTPClient to the update admin rule group params
func (*UpdateAdminRuleGroupParams) WithRuleGroupID ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) WithRuleGroupID(rulegroupID string) *UpdateAdminRuleGroupParams
WithRuleGroupID adds the rulegroupID to the update admin rule group params
func (*UpdateAdminRuleGroupParams) WithSeedName ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) WithSeedName(seedName string) *UpdateAdminRuleGroupParams
WithSeedName adds the seedName to the update admin rule group params
func (*UpdateAdminRuleGroupParams) WithTimeout ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) WithTimeout(timeout time.Duration) *UpdateAdminRuleGroupParams
WithTimeout adds the timeout to the update admin rule group params
func (*UpdateAdminRuleGroupParams) WriteToRequest ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAdminRuleGroupReader ¶ added in v2.19.0
type UpdateAdminRuleGroupReader struct {
// contains filtered or unexported fields
}
UpdateAdminRuleGroupReader is a Reader for the UpdateAdminRuleGroup structure.
func (*UpdateAdminRuleGroupReader) ReadResponse ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAdminRuleGroupUnauthorized ¶ added in v2.19.0
type UpdateAdminRuleGroupUnauthorized struct { }
UpdateAdminRuleGroupUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewUpdateAdminRuleGroupUnauthorized ¶ added in v2.19.0
func NewUpdateAdminRuleGroupUnauthorized() *UpdateAdminRuleGroupUnauthorized
NewUpdateAdminRuleGroupUnauthorized creates a UpdateAdminRuleGroupUnauthorized with default headers values
func (*UpdateAdminRuleGroupUnauthorized) Error ¶ added in v2.19.0
func (o *UpdateAdminRuleGroupUnauthorized) Error() string
type UpdateRuleGroupDefault ¶
type UpdateRuleGroupDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
UpdateRuleGroupDefault describes a response with status code -1, with default header values.
errorResponse
func NewUpdateRuleGroupDefault ¶
func NewUpdateRuleGroupDefault(code int) *UpdateRuleGroupDefault
NewUpdateRuleGroupDefault creates a UpdateRuleGroupDefault with default headers values
func (*UpdateRuleGroupDefault) Code ¶
func (o *UpdateRuleGroupDefault) Code() int
Code gets the status code for the update rule group default response
func (*UpdateRuleGroupDefault) Error ¶
func (o *UpdateRuleGroupDefault) Error() string
func (*UpdateRuleGroupDefault) GetPayload ¶
func (o *UpdateRuleGroupDefault) GetPayload() *models.ErrorResponse
type UpdateRuleGroupForbidden ¶
type UpdateRuleGroupForbidden struct { }
UpdateRuleGroupForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewUpdateRuleGroupForbidden ¶
func NewUpdateRuleGroupForbidden() *UpdateRuleGroupForbidden
NewUpdateRuleGroupForbidden creates a UpdateRuleGroupForbidden with default headers values
func (*UpdateRuleGroupForbidden) Error ¶
func (o *UpdateRuleGroupForbidden) Error() string
type UpdateRuleGroupOK ¶
UpdateRuleGroupOK describes a response with status code 200, with default header values.
RuleGroup
func NewUpdateRuleGroupOK ¶
func NewUpdateRuleGroupOK() *UpdateRuleGroupOK
NewUpdateRuleGroupOK creates a UpdateRuleGroupOK with default headers values
func (*UpdateRuleGroupOK) Error ¶
func (o *UpdateRuleGroupOK) Error() string
func (*UpdateRuleGroupOK) GetPayload ¶
func (o *UpdateRuleGroupOK) GetPayload() *models.RuleGroup
type UpdateRuleGroupParams ¶
type UpdateRuleGroupParams struct { // Body. Body *models.RuleGroup // ClusterID. ClusterID string // ProjectID. ProjectID string // RulegroupID. RuleGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRuleGroupParams contains all the parameters to send to the API endpoint
for the update rule group operation. Typically these are written to a http.Request.
func NewUpdateRuleGroupParams ¶
func NewUpdateRuleGroupParams() *UpdateRuleGroupParams
NewUpdateRuleGroupParams creates a new UpdateRuleGroupParams 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 NewUpdateRuleGroupParamsWithContext ¶
func NewUpdateRuleGroupParamsWithContext(ctx context.Context) *UpdateRuleGroupParams
NewUpdateRuleGroupParamsWithContext creates a new UpdateRuleGroupParams object with the ability to set a context for a request.
func NewUpdateRuleGroupParamsWithHTTPClient ¶
func NewUpdateRuleGroupParamsWithHTTPClient(client *http.Client) *UpdateRuleGroupParams
NewUpdateRuleGroupParamsWithHTTPClient creates a new UpdateRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRuleGroupParamsWithTimeout ¶
func NewUpdateRuleGroupParamsWithTimeout(timeout time.Duration) *UpdateRuleGroupParams
NewUpdateRuleGroupParamsWithTimeout creates a new UpdateRuleGroupParams object with the ability to set a timeout on a request.
func (*UpdateRuleGroupParams) SetBody ¶
func (o *UpdateRuleGroupParams) SetBody(body *models.RuleGroup)
SetBody adds the body to the update rule group params
func (*UpdateRuleGroupParams) SetClusterID ¶
func (o *UpdateRuleGroupParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the update rule group params
func (*UpdateRuleGroupParams) SetContext ¶
func (o *UpdateRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the update rule group params
func (*UpdateRuleGroupParams) SetDefaults ¶
func (o *UpdateRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the update rule group params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRuleGroupParams) SetHTTPClient ¶
func (o *UpdateRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update rule group params
func (*UpdateRuleGroupParams) SetProjectID ¶
func (o *UpdateRuleGroupParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the update rule group params
func (*UpdateRuleGroupParams) SetRuleGroupID ¶
func (o *UpdateRuleGroupParams) SetRuleGroupID(rulegroupID string)
SetRuleGroupID adds the rulegroupId to the update rule group params
func (*UpdateRuleGroupParams) SetTimeout ¶
func (o *UpdateRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update rule group params
func (*UpdateRuleGroupParams) WithBody ¶
func (o *UpdateRuleGroupParams) WithBody(body *models.RuleGroup) *UpdateRuleGroupParams
WithBody adds the body to the update rule group params
func (*UpdateRuleGroupParams) WithClusterID ¶
func (o *UpdateRuleGroupParams) WithClusterID(clusterID string) *UpdateRuleGroupParams
WithClusterID adds the clusterID to the update rule group params
func (*UpdateRuleGroupParams) WithContext ¶
func (o *UpdateRuleGroupParams) WithContext(ctx context.Context) *UpdateRuleGroupParams
WithContext adds the context to the update rule group params
func (*UpdateRuleGroupParams) WithDefaults ¶
func (o *UpdateRuleGroupParams) WithDefaults() *UpdateRuleGroupParams
WithDefaults hydrates default values in the update rule group params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRuleGroupParams) WithHTTPClient ¶
func (o *UpdateRuleGroupParams) WithHTTPClient(client *http.Client) *UpdateRuleGroupParams
WithHTTPClient adds the HTTPClient to the update rule group params
func (*UpdateRuleGroupParams) WithProjectID ¶
func (o *UpdateRuleGroupParams) WithProjectID(projectID string) *UpdateRuleGroupParams
WithProjectID adds the projectID to the update rule group params
func (*UpdateRuleGroupParams) WithRuleGroupID ¶
func (o *UpdateRuleGroupParams) WithRuleGroupID(rulegroupID string) *UpdateRuleGroupParams
WithRuleGroupID adds the rulegroupID to the update rule group params
func (*UpdateRuleGroupParams) WithTimeout ¶
func (o *UpdateRuleGroupParams) WithTimeout(timeout time.Duration) *UpdateRuleGroupParams
WithTimeout adds the timeout to the update rule group params
func (*UpdateRuleGroupParams) WriteToRequest ¶
func (o *UpdateRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRuleGroupReader ¶
type UpdateRuleGroupReader struct {
// contains filtered or unexported fields
}
UpdateRuleGroupReader is a Reader for the UpdateRuleGroup structure.
func (*UpdateRuleGroupReader) ReadResponse ¶
func (o *UpdateRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRuleGroupUnauthorized ¶
type UpdateRuleGroupUnauthorized struct { }
UpdateRuleGroupUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewUpdateRuleGroupUnauthorized ¶
func NewUpdateRuleGroupUnauthorized() *UpdateRuleGroupUnauthorized
NewUpdateRuleGroupUnauthorized creates a UpdateRuleGroupUnauthorized with default headers values
func (*UpdateRuleGroupUnauthorized) Error ¶
func (o *UpdateRuleGroupUnauthorized) Error() string
Source Files ¶
- create_admin_rule_group_parameters.go
- create_admin_rule_group_responses.go
- create_rule_group_parameters.go
- create_rule_group_responses.go
- delete_admin_rule_group_parameters.go
- delete_admin_rule_group_responses.go
- delete_rule_group_parameters.go
- delete_rule_group_responses.go
- get_admin_rule_group_parameters.go
- get_admin_rule_group_responses.go
- get_rule_group_parameters.go
- get_rule_group_responses.go
- list_admin_rule_groups_parameters.go
- list_admin_rule_groups_responses.go
- list_rule_groups_parameters.go
- list_rule_groups_responses.go
- rulegroup_client.go
- update_admin_rule_group_parameters.go
- update_admin_rule_group_responses.go
- update_rule_group_parameters.go
- update_rule_group_responses.go