rulegroup

package
v2.21.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

type CreateAdminRuleGroupCreated struct {
	Payload *models.RuleGroup
}
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 (*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 (*CreateAdminRuleGroupDefault) GetPayload added in v2.19.0

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

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

WithBody adds the body to the create admin rule group params

func (*CreateAdminRuleGroupParams) WithContext added in v2.19.0

WithContext adds the context to the create admin rule group params

func (*CreateAdminRuleGroupParams) WithDefaults added in v2.19.0

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

WithHTTPClient adds the HTTPClient to the create admin rule group params

func (*CreateAdminRuleGroupParams) WithSeedName added in v2.19.0

WithSeedName adds the seedName to the create admin rule group params

func (*CreateAdminRuleGroupParams) WithTimeout added in v2.19.0

WithTimeout adds the timeout to the create admin rule group params

func (*CreateAdminRuleGroupParams) WriteToRequest added in v2.19.0

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

type CreateRuleGroupCreated

type CreateRuleGroupCreated struct {
	Payload *models.RuleGroup
}
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

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

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

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 (*DeleteAdminRuleGroupDefault) GetPayload added in v2.19.0

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

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

WithContext adds the context to the delete admin rule group params

func (*DeleteAdminRuleGroupParams) WithDefaults added in v2.19.0

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

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

WithSeedName adds the seedName to the delete admin rule group params

func (*DeleteAdminRuleGroupParams) WithTimeout added in v2.19.0

WithTimeout adds the timeout to the delete admin rule group params

func (*DeleteAdminRuleGroupParams) WriteToRequest added in v2.19.0

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

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

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

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

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

type GetAdminRuleGroupOK added in v2.19.0

type GetAdminRuleGroupOK struct {
	Payload *models.RuleGroup
}
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

WithContext adds the context to the get admin rule group params

func (*GetAdminRuleGroupParams) WithDefaults added in v2.19.0

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

WithTimeout adds the timeout to the get admin rule group params

func (*GetAdminRuleGroupParams) WriteToRequest added in v2.19.0

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

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

type GetRuleGroupOK struct {
	Payload *models.RuleGroup
}
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

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 (*ListAdminRuleGroupsDefault) GetPayload added in v2.19.0

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

type ListAdminRuleGroupsOK added in v2.19.0

type ListAdminRuleGroupsOK struct {
	Payload []*models.RuleGroup
}
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

WithContext adds the context to the list admin rule groups params

func (*ListAdminRuleGroupsParams) WithDefaults added in v2.19.0

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

WithTimeout adds the timeout to the list admin rule groups params

func (*ListAdminRuleGroupsParams) WithType added in v2.19.0

WithType adds the typeVar to the list admin rule groups params

func (*ListAdminRuleGroupsParams) WriteToRequest added in v2.19.0

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

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

type ListRuleGroupsOK struct {
	Payload []*models.RuleGroup
}
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

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

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 (*UpdateAdminRuleGroupDefault) GetPayload added in v2.19.0

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

type UpdateAdminRuleGroupOK added in v2.19.0

type UpdateAdminRuleGroupOK struct {
	Payload *models.RuleGroup
}
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

WithBody adds the body to the update admin rule group params

func (*UpdateAdminRuleGroupParams) WithContext added in v2.19.0

WithContext adds the context to the update admin rule group params

func (*UpdateAdminRuleGroupParams) WithDefaults added in v2.19.0

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

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

WithSeedName adds the seedName to the update admin rule group params

func (*UpdateAdminRuleGroupParams) WithTimeout added in v2.19.0

WithTimeout adds the timeout to the update admin rule group params

func (*UpdateAdminRuleGroupParams) WriteToRequest added in v2.19.0

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

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

type UpdateRuleGroupOK struct {
	Payload *models.RuleGroup
}
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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL