Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateACL(params *CreateACLParams, authInfo runtime.ClientAuthInfoWriter) (*CreateACLCreated, *CreateACLAccepted, error)
- func (a *Client) DeleteACL(params *DeleteACLParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteACLAccepted, *DeleteACLNoContent, error)
- func (a *Client) GetACL(params *GetACLParams, authInfo runtime.ClientAuthInfoWriter) (*GetACLOK, error)
- func (a *Client) GetAcls(params *GetAclsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAclsOK, error)
- func (a *Client) ReplaceACL(params *ReplaceACLParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceACLOK, *ReplaceACLAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateACLAccepted
- type CreateACLBadRequest
- type CreateACLConflict
- type CreateACLCreated
- type CreateACLDefault
- type CreateACLParams
- func (o *CreateACLParams) SetContext(ctx context.Context)
- func (o *CreateACLParams) SetData(data *models.ACL)
- func (o *CreateACLParams) SetForceReload(forceReload *bool)
- func (o *CreateACLParams) SetHTTPClient(client *http.Client)
- func (o *CreateACLParams) SetParentName(parentName string)
- func (o *CreateACLParams) SetParentType(parentType string)
- func (o *CreateACLParams) SetTimeout(timeout time.Duration)
- func (o *CreateACLParams) SetTransactionID(transactionID *string)
- func (o *CreateACLParams) SetVersion(version *int64)
- func (o *CreateACLParams) WithContext(ctx context.Context) *CreateACLParams
- func (o *CreateACLParams) WithData(data *models.ACL) *CreateACLParams
- func (o *CreateACLParams) WithForceReload(forceReload *bool) *CreateACLParams
- func (o *CreateACLParams) WithHTTPClient(client *http.Client) *CreateACLParams
- func (o *CreateACLParams) WithParentName(parentName string) *CreateACLParams
- func (o *CreateACLParams) WithParentType(parentType string) *CreateACLParams
- func (o *CreateACLParams) WithTimeout(timeout time.Duration) *CreateACLParams
- func (o *CreateACLParams) WithTransactionID(transactionID *string) *CreateACLParams
- func (o *CreateACLParams) WithVersion(version *int64) *CreateACLParams
- func (o *CreateACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateACLReader
- type DeleteACLAccepted
- type DeleteACLDefault
- type DeleteACLNoContent
- type DeleteACLNotFound
- type DeleteACLParams
- func (o *DeleteACLParams) SetContext(ctx context.Context)
- func (o *DeleteACLParams) SetForceReload(forceReload *bool)
- func (o *DeleteACLParams) SetHTTPClient(client *http.Client)
- func (o *DeleteACLParams) SetIndex(index int64)
- func (o *DeleteACLParams) SetParentName(parentName string)
- func (o *DeleteACLParams) SetParentType(parentType string)
- func (o *DeleteACLParams) SetTimeout(timeout time.Duration)
- func (o *DeleteACLParams) SetTransactionID(transactionID *string)
- func (o *DeleteACLParams) SetVersion(version *int64)
- func (o *DeleteACLParams) WithContext(ctx context.Context) *DeleteACLParams
- func (o *DeleteACLParams) WithForceReload(forceReload *bool) *DeleteACLParams
- func (o *DeleteACLParams) WithHTTPClient(client *http.Client) *DeleteACLParams
- func (o *DeleteACLParams) WithIndex(index int64) *DeleteACLParams
- func (o *DeleteACLParams) WithParentName(parentName string) *DeleteACLParams
- func (o *DeleteACLParams) WithParentType(parentType string) *DeleteACLParams
- func (o *DeleteACLParams) WithTimeout(timeout time.Duration) *DeleteACLParams
- func (o *DeleteACLParams) WithTransactionID(transactionID *string) *DeleteACLParams
- func (o *DeleteACLParams) WithVersion(version *int64) *DeleteACLParams
- func (o *DeleteACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteACLReader
- type GetACLDefault
- type GetACLNotFound
- type GetACLOK
- type GetACLOKBody
- type GetACLParams
- func (o *GetACLParams) SetContext(ctx context.Context)
- func (o *GetACLParams) SetHTTPClient(client *http.Client)
- func (o *GetACLParams) SetIndex(index int64)
- func (o *GetACLParams) SetParentName(parentName string)
- func (o *GetACLParams) SetParentType(parentType string)
- func (o *GetACLParams) SetTimeout(timeout time.Duration)
- func (o *GetACLParams) SetTransactionID(transactionID *string)
- func (o *GetACLParams) WithContext(ctx context.Context) *GetACLParams
- func (o *GetACLParams) WithHTTPClient(client *http.Client) *GetACLParams
- func (o *GetACLParams) WithIndex(index int64) *GetACLParams
- func (o *GetACLParams) WithParentName(parentName string) *GetACLParams
- func (o *GetACLParams) WithParentType(parentType string) *GetACLParams
- func (o *GetACLParams) WithTimeout(timeout time.Duration) *GetACLParams
- func (o *GetACLParams) WithTransactionID(transactionID *string) *GetACLParams
- func (o *GetACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetACLReader
- type GetAclsDefault
- type GetAclsOK
- type GetAclsOKBody
- type GetAclsParams
- func (o *GetAclsParams) SetContext(ctx context.Context)
- func (o *GetAclsParams) SetHTTPClient(client *http.Client)
- func (o *GetAclsParams) SetParentName(parentName string)
- func (o *GetAclsParams) SetParentType(parentType string)
- func (o *GetAclsParams) SetTimeout(timeout time.Duration)
- func (o *GetAclsParams) SetTransactionID(transactionID *string)
- func (o *GetAclsParams) WithContext(ctx context.Context) *GetAclsParams
- func (o *GetAclsParams) WithHTTPClient(client *http.Client) *GetAclsParams
- func (o *GetAclsParams) WithParentName(parentName string) *GetAclsParams
- func (o *GetAclsParams) WithParentType(parentType string) *GetAclsParams
- func (o *GetAclsParams) WithTimeout(timeout time.Duration) *GetAclsParams
- func (o *GetAclsParams) WithTransactionID(transactionID *string) *GetAclsParams
- func (o *GetAclsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAclsReader
- type ReplaceACLAccepted
- type ReplaceACLBadRequest
- type ReplaceACLDefault
- type ReplaceACLNotFound
- type ReplaceACLOK
- type ReplaceACLParams
- func (o *ReplaceACLParams) SetContext(ctx context.Context)
- func (o *ReplaceACLParams) SetData(data *models.ACL)
- func (o *ReplaceACLParams) SetForceReload(forceReload *bool)
- func (o *ReplaceACLParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceACLParams) SetIndex(index int64)
- func (o *ReplaceACLParams) SetParentName(parentName string)
- func (o *ReplaceACLParams) SetParentType(parentType string)
- func (o *ReplaceACLParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceACLParams) SetTransactionID(transactionID *string)
- func (o *ReplaceACLParams) SetVersion(version *int64)
- func (o *ReplaceACLParams) WithContext(ctx context.Context) *ReplaceACLParams
- func (o *ReplaceACLParams) WithData(data *models.ACL) *ReplaceACLParams
- func (o *ReplaceACLParams) WithForceReload(forceReload *bool) *ReplaceACLParams
- func (o *ReplaceACLParams) WithHTTPClient(client *http.Client) *ReplaceACLParams
- func (o *ReplaceACLParams) WithIndex(index int64) *ReplaceACLParams
- func (o *ReplaceACLParams) WithParentName(parentName string) *ReplaceACLParams
- func (o *ReplaceACLParams) WithParentType(parentType string) *ReplaceACLParams
- func (o *ReplaceACLParams) WithTimeout(timeout time.Duration) *ReplaceACLParams
- func (o *ReplaceACLParams) WithTransactionID(transactionID *string) *ReplaceACLParams
- func (o *ReplaceACLParams) WithVersion(version *int64) *ReplaceACLParams
- func (o *ReplaceACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceACLReader
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 acl API
func (*Client) CreateACL ¶
func (a *Client) CreateACL(params *CreateACLParams, authInfo runtime.ClientAuthInfoWriter) (*CreateACLCreated, *CreateACLAccepted, error)
CreateACL adds a new ACL line
Adds a new ACL line of the specified type in the specified parent.
func (*Client) DeleteACL ¶
func (a *Client) DeleteACL(params *DeleteACLParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteACLAccepted, *DeleteACLNoContent, error)
DeleteACL deletes a ACL line
Deletes a ACL line configuration by it's index from the specified parent.
func (*Client) GetACL ¶
func (a *Client) GetACL(params *GetACLParams, authInfo runtime.ClientAuthInfoWriter) (*GetACLOK, error)
GetACL returns one ACL line
Returns one ACL line configuration by it's index in the specified parent.
func (*Client) GetAcls ¶
func (a *Client) GetAcls(params *GetAclsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAclsOK, error)
GetAcls returns an array of all ACL lines
Returns all ACL lines that are configured in specified parent.
func (*Client) ReplaceACL ¶
func (a *Client) ReplaceACL(params *ReplaceACLParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceACLOK, *ReplaceACLAccepted, error)
ReplaceACL replaces a ACL line
Replaces a ACL line configuration by it's index in the specified parent.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶ added in v0.2.0
type ClientService interface { CreateACL(params *CreateACLParams, authInfo runtime.ClientAuthInfoWriter) (*CreateACLCreated, *CreateACLAccepted, error) DeleteACL(params *DeleteACLParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteACLAccepted, *DeleteACLNoContent, error) GetACL(params *GetACLParams, authInfo runtime.ClientAuthInfoWriter) (*GetACLOK, error) GetAcls(params *GetAclsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAclsOK, error) ReplaceACL(params *ReplaceACLParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceACLOK, *ReplaceACLAccepted, 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 acl API client.
type CreateACLAccepted ¶
type CreateACLAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.ACL }
CreateACLAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewCreateACLAccepted ¶
func NewCreateACLAccepted() *CreateACLAccepted
NewCreateACLAccepted creates a CreateACLAccepted with default headers values
func (*CreateACLAccepted) Error ¶
func (o *CreateACLAccepted) Error() string
func (*CreateACLAccepted) GetPayload ¶ added in v0.2.0
func (o *CreateACLAccepted) GetPayload() *models.ACL
type CreateACLBadRequest ¶
type CreateACLBadRequest struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
CreateACLBadRequest handles this case with default header values.
Bad request
func NewCreateACLBadRequest ¶
func NewCreateACLBadRequest() *CreateACLBadRequest
NewCreateACLBadRequest creates a CreateACLBadRequest with default headers values
func (*CreateACLBadRequest) Error ¶
func (o *CreateACLBadRequest) Error() string
func (*CreateACLBadRequest) GetPayload ¶ added in v0.2.0
func (o *CreateACLBadRequest) GetPayload() *models.Error
type CreateACLConflict ¶
type CreateACLConflict struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
CreateACLConflict handles this case with default header values.
The specified resource already exists
func NewCreateACLConflict ¶
func NewCreateACLConflict() *CreateACLConflict
NewCreateACLConflict creates a CreateACLConflict with default headers values
func (*CreateACLConflict) Error ¶
func (o *CreateACLConflict) Error() string
func (*CreateACLConflict) GetPayload ¶ added in v0.2.0
func (o *CreateACLConflict) GetPayload() *models.Error
type CreateACLCreated ¶
CreateACLCreated handles this case with default header values.
ACL line created
func NewCreateACLCreated ¶
func NewCreateACLCreated() *CreateACLCreated
NewCreateACLCreated creates a CreateACLCreated with default headers values
func (*CreateACLCreated) Error ¶
func (o *CreateACLCreated) Error() string
func (*CreateACLCreated) GetPayload ¶ added in v0.2.0
func (o *CreateACLCreated) GetPayload() *models.ACL
type CreateACLDefault ¶
type CreateACLDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
CreateACLDefault handles this case with default header values.
General Error
func NewCreateACLDefault ¶
func NewCreateACLDefault(code int) *CreateACLDefault
NewCreateACLDefault creates a CreateACLDefault with default headers values
func (*CreateACLDefault) Code ¶
func (o *CreateACLDefault) Code() int
Code gets the status code for the create Acl default response
func (*CreateACLDefault) Error ¶
func (o *CreateACLDefault) Error() string
func (*CreateACLDefault) GetPayload ¶ added in v0.2.0
func (o *CreateACLDefault) GetPayload() *models.Error
type CreateACLParams ¶
type CreateACLParams struct { /*Data*/ Data *models.ACL /*ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /*ParentName Parent name */ ParentName string /*ParentType Parent type */ ParentType string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /*Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateACLParams contains all the parameters to send to the API endpoint for the create Acl operation typically these are written to a http.Request
func NewCreateACLParams ¶
func NewCreateACLParams() *CreateACLParams
NewCreateACLParams creates a new CreateACLParams object with the default values initialized.
func NewCreateACLParamsWithContext ¶
func NewCreateACLParamsWithContext(ctx context.Context) *CreateACLParams
NewCreateACLParamsWithContext creates a new CreateACLParams object with the default values initialized, and the ability to set a context for a request
func NewCreateACLParamsWithHTTPClient ¶
func NewCreateACLParamsWithHTTPClient(client *http.Client) *CreateACLParams
NewCreateACLParamsWithHTTPClient creates a new CreateACLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateACLParamsWithTimeout ¶
func NewCreateACLParamsWithTimeout(timeout time.Duration) *CreateACLParams
NewCreateACLParamsWithTimeout creates a new CreateACLParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateACLParams) SetContext ¶
func (o *CreateACLParams) SetContext(ctx context.Context)
SetContext adds the context to the create Acl params
func (*CreateACLParams) SetData ¶
func (o *CreateACLParams) SetData(data *models.ACL)
SetData adds the data to the create Acl params
func (*CreateACLParams) SetForceReload ¶
func (o *CreateACLParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create Acl params
func (*CreateACLParams) SetHTTPClient ¶
func (o *CreateACLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create Acl params
func (*CreateACLParams) SetParentName ¶
func (o *CreateACLParams) SetParentName(parentName string)
SetParentName adds the parentName to the create Acl params
func (*CreateACLParams) SetParentType ¶
func (o *CreateACLParams) SetParentType(parentType string)
SetParentType adds the parentType to the create Acl params
func (*CreateACLParams) SetTimeout ¶
func (o *CreateACLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create Acl params
func (*CreateACLParams) SetTransactionID ¶
func (o *CreateACLParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create Acl params
func (*CreateACLParams) SetVersion ¶
func (o *CreateACLParams) SetVersion(version *int64)
SetVersion adds the version to the create Acl params
func (*CreateACLParams) WithContext ¶
func (o *CreateACLParams) WithContext(ctx context.Context) *CreateACLParams
WithContext adds the context to the create Acl params
func (*CreateACLParams) WithData ¶
func (o *CreateACLParams) WithData(data *models.ACL) *CreateACLParams
WithData adds the data to the create Acl params
func (*CreateACLParams) WithForceReload ¶
func (o *CreateACLParams) WithForceReload(forceReload *bool) *CreateACLParams
WithForceReload adds the forceReload to the create Acl params
func (*CreateACLParams) WithHTTPClient ¶
func (o *CreateACLParams) WithHTTPClient(client *http.Client) *CreateACLParams
WithHTTPClient adds the HTTPClient to the create Acl params
func (*CreateACLParams) WithParentName ¶
func (o *CreateACLParams) WithParentName(parentName string) *CreateACLParams
WithParentName adds the parentName to the create Acl params
func (*CreateACLParams) WithParentType ¶
func (o *CreateACLParams) WithParentType(parentType string) *CreateACLParams
WithParentType adds the parentType to the create Acl params
func (*CreateACLParams) WithTimeout ¶
func (o *CreateACLParams) WithTimeout(timeout time.Duration) *CreateACLParams
WithTimeout adds the timeout to the create Acl params
func (*CreateACLParams) WithTransactionID ¶
func (o *CreateACLParams) WithTransactionID(transactionID *string) *CreateACLParams
WithTransactionID adds the transactionID to the create Acl params
func (*CreateACLParams) WithVersion ¶
func (o *CreateACLParams) WithVersion(version *int64) *CreateACLParams
WithVersion adds the version to the create Acl params
func (*CreateACLParams) WriteToRequest ¶
func (o *CreateACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateACLReader ¶
type CreateACLReader struct {
// contains filtered or unexported fields
}
CreateACLReader is a Reader for the CreateACL structure.
func (*CreateACLReader) ReadResponse ¶
func (o *CreateACLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteACLAccepted ¶
type DeleteACLAccepted struct { /*ID of the requested reload */ ReloadID string }
DeleteACLAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewDeleteACLAccepted ¶
func NewDeleteACLAccepted() *DeleteACLAccepted
NewDeleteACLAccepted creates a DeleteACLAccepted with default headers values
func (*DeleteACLAccepted) Error ¶
func (o *DeleteACLAccepted) Error() string
type DeleteACLDefault ¶
type DeleteACLDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
DeleteACLDefault handles this case with default header values.
General Error
func NewDeleteACLDefault ¶
func NewDeleteACLDefault(code int) *DeleteACLDefault
NewDeleteACLDefault creates a DeleteACLDefault with default headers values
func (*DeleteACLDefault) Code ¶
func (o *DeleteACLDefault) Code() int
Code gets the status code for the delete Acl default response
func (*DeleteACLDefault) Error ¶
func (o *DeleteACLDefault) Error() string
func (*DeleteACLDefault) GetPayload ¶ added in v0.2.0
func (o *DeleteACLDefault) GetPayload() *models.Error
type DeleteACLNoContent ¶
type DeleteACLNoContent struct { }
DeleteACLNoContent handles this case with default header values.
ACL line deleted
func NewDeleteACLNoContent ¶
func NewDeleteACLNoContent() *DeleteACLNoContent
NewDeleteACLNoContent creates a DeleteACLNoContent with default headers values
func (*DeleteACLNoContent) Error ¶
func (o *DeleteACLNoContent) Error() string
type DeleteACLNotFound ¶
type DeleteACLNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
DeleteACLNotFound handles this case with default header values.
The specified resource was not found
func NewDeleteACLNotFound ¶
func NewDeleteACLNotFound() *DeleteACLNotFound
NewDeleteACLNotFound creates a DeleteACLNotFound with default headers values
func (*DeleteACLNotFound) Error ¶
func (o *DeleteACLNotFound) Error() string
func (*DeleteACLNotFound) GetPayload ¶ added in v0.2.0
func (o *DeleteACLNotFound) GetPayload() *models.Error
type DeleteACLParams ¶
type DeleteACLParams struct { /*ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /*Index ACL line Index */ Index int64 /*ParentName Parent name */ ParentName string /*ParentType Parent type */ ParentType string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /*Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteACLParams contains all the parameters to send to the API endpoint for the delete Acl operation typically these are written to a http.Request
func NewDeleteACLParams ¶
func NewDeleteACLParams() *DeleteACLParams
NewDeleteACLParams creates a new DeleteACLParams object with the default values initialized.
func NewDeleteACLParamsWithContext ¶
func NewDeleteACLParamsWithContext(ctx context.Context) *DeleteACLParams
NewDeleteACLParamsWithContext creates a new DeleteACLParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteACLParamsWithHTTPClient ¶
func NewDeleteACLParamsWithHTTPClient(client *http.Client) *DeleteACLParams
NewDeleteACLParamsWithHTTPClient creates a new DeleteACLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteACLParamsWithTimeout ¶
func NewDeleteACLParamsWithTimeout(timeout time.Duration) *DeleteACLParams
NewDeleteACLParamsWithTimeout creates a new DeleteACLParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteACLParams) SetContext ¶
func (o *DeleteACLParams) SetContext(ctx context.Context)
SetContext adds the context to the delete Acl params
func (*DeleteACLParams) SetForceReload ¶
func (o *DeleteACLParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete Acl params
func (*DeleteACLParams) SetHTTPClient ¶
func (o *DeleteACLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete Acl params
func (*DeleteACLParams) SetIndex ¶
func (o *DeleteACLParams) SetIndex(index int64)
SetIndex adds the index to the delete Acl params
func (*DeleteACLParams) SetParentName ¶
func (o *DeleteACLParams) SetParentName(parentName string)
SetParentName adds the parentName to the delete Acl params
func (*DeleteACLParams) SetParentType ¶
func (o *DeleteACLParams) SetParentType(parentType string)
SetParentType adds the parentType to the delete Acl params
func (*DeleteACLParams) SetTimeout ¶
func (o *DeleteACLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete Acl params
func (*DeleteACLParams) SetTransactionID ¶
func (o *DeleteACLParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete Acl params
func (*DeleteACLParams) SetVersion ¶
func (o *DeleteACLParams) SetVersion(version *int64)
SetVersion adds the version to the delete Acl params
func (*DeleteACLParams) WithContext ¶
func (o *DeleteACLParams) WithContext(ctx context.Context) *DeleteACLParams
WithContext adds the context to the delete Acl params
func (*DeleteACLParams) WithForceReload ¶
func (o *DeleteACLParams) WithForceReload(forceReload *bool) *DeleteACLParams
WithForceReload adds the forceReload to the delete Acl params
func (*DeleteACLParams) WithHTTPClient ¶
func (o *DeleteACLParams) WithHTTPClient(client *http.Client) *DeleteACLParams
WithHTTPClient adds the HTTPClient to the delete Acl params
func (*DeleteACLParams) WithIndex ¶
func (o *DeleteACLParams) WithIndex(index int64) *DeleteACLParams
WithIndex adds the index to the delete Acl params
func (*DeleteACLParams) WithParentName ¶
func (o *DeleteACLParams) WithParentName(parentName string) *DeleteACLParams
WithParentName adds the parentName to the delete Acl params
func (*DeleteACLParams) WithParentType ¶
func (o *DeleteACLParams) WithParentType(parentType string) *DeleteACLParams
WithParentType adds the parentType to the delete Acl params
func (*DeleteACLParams) WithTimeout ¶
func (o *DeleteACLParams) WithTimeout(timeout time.Duration) *DeleteACLParams
WithTimeout adds the timeout to the delete Acl params
func (*DeleteACLParams) WithTransactionID ¶
func (o *DeleteACLParams) WithTransactionID(transactionID *string) *DeleteACLParams
WithTransactionID adds the transactionID to the delete Acl params
func (*DeleteACLParams) WithVersion ¶
func (o *DeleteACLParams) WithVersion(version *int64) *DeleteACLParams
WithVersion adds the version to the delete Acl params
func (*DeleteACLParams) WriteToRequest ¶
func (o *DeleteACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteACLReader ¶
type DeleteACLReader struct {
// contains filtered or unexported fields
}
DeleteACLReader is a Reader for the DeleteACL structure.
func (*DeleteACLReader) ReadResponse ¶
func (o *DeleteACLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetACLDefault ¶
type GetACLDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetACLDefault handles this case with default header values.
General Error
func NewGetACLDefault ¶
func NewGetACLDefault(code int) *GetACLDefault
NewGetACLDefault creates a GetACLDefault with default headers values
func (*GetACLDefault) Code ¶
func (o *GetACLDefault) Code() int
Code gets the status code for the get Acl default response
func (*GetACLDefault) Error ¶
func (o *GetACLDefault) Error() string
func (*GetACLDefault) GetPayload ¶ added in v0.2.0
func (o *GetACLDefault) GetPayload() *models.Error
type GetACLNotFound ¶
type GetACLNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
GetACLNotFound handles this case with default header values.
The specified resource was not found
func NewGetACLNotFound ¶
func NewGetACLNotFound() *GetACLNotFound
NewGetACLNotFound creates a GetACLNotFound with default headers values
func (*GetACLNotFound) Error ¶
func (o *GetACLNotFound) Error() string
func (*GetACLNotFound) GetPayload ¶ added in v0.2.0
func (o *GetACLNotFound) GetPayload() *models.Error
type GetACLOK ¶
type GetACLOK struct { /*Configuration file version */ ConfigurationVersion int64 Payload *GetACLOKBody }
GetACLOK handles this case with default header values.
Successful operation
func NewGetACLOK ¶
func NewGetACLOK() *GetACLOK
NewGetACLOK creates a GetACLOK with default headers values
func (*GetACLOK) GetPayload ¶ added in v0.2.0
func (o *GetACLOK) GetPayload() *GetACLOKBody
type GetACLOKBody ¶
type GetACLOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.ACL `json:"data,omitempty"` }
GetACLOKBody get ACL o k body swagger:model GetACLOKBody
func (*GetACLOKBody) MarshalBinary ¶
func (o *GetACLOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetACLOKBody) UnmarshalBinary ¶
func (o *GetACLOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetACLParams ¶
type GetACLParams struct { /*Index ACL line Index */ Index int64 /*ParentName Parent name */ ParentName string /*ParentType Parent type */ ParentType string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetACLParams contains all the parameters to send to the API endpoint for the get Acl operation typically these are written to a http.Request
func NewGetACLParams ¶
func NewGetACLParams() *GetACLParams
NewGetACLParams creates a new GetACLParams object with the default values initialized.
func NewGetACLParamsWithContext ¶
func NewGetACLParamsWithContext(ctx context.Context) *GetACLParams
NewGetACLParamsWithContext creates a new GetACLParams object with the default values initialized, and the ability to set a context for a request
func NewGetACLParamsWithHTTPClient ¶
func NewGetACLParamsWithHTTPClient(client *http.Client) *GetACLParams
NewGetACLParamsWithHTTPClient creates a new GetACLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetACLParamsWithTimeout ¶
func NewGetACLParamsWithTimeout(timeout time.Duration) *GetACLParams
NewGetACLParamsWithTimeout creates a new GetACLParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetACLParams) SetContext ¶
func (o *GetACLParams) SetContext(ctx context.Context)
SetContext adds the context to the get Acl params
func (*GetACLParams) SetHTTPClient ¶
func (o *GetACLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Acl params
func (*GetACLParams) SetIndex ¶
func (o *GetACLParams) SetIndex(index int64)
SetIndex adds the index to the get Acl params
func (*GetACLParams) SetParentName ¶
func (o *GetACLParams) SetParentName(parentName string)
SetParentName adds the parentName to the get Acl params
func (*GetACLParams) SetParentType ¶
func (o *GetACLParams) SetParentType(parentType string)
SetParentType adds the parentType to the get Acl params
func (*GetACLParams) SetTimeout ¶
func (o *GetACLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Acl params
func (*GetACLParams) SetTransactionID ¶
func (o *GetACLParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get Acl params
func (*GetACLParams) WithContext ¶
func (o *GetACLParams) WithContext(ctx context.Context) *GetACLParams
WithContext adds the context to the get Acl params
func (*GetACLParams) WithHTTPClient ¶
func (o *GetACLParams) WithHTTPClient(client *http.Client) *GetACLParams
WithHTTPClient adds the HTTPClient to the get Acl params
func (*GetACLParams) WithIndex ¶
func (o *GetACLParams) WithIndex(index int64) *GetACLParams
WithIndex adds the index to the get Acl params
func (*GetACLParams) WithParentName ¶
func (o *GetACLParams) WithParentName(parentName string) *GetACLParams
WithParentName adds the parentName to the get Acl params
func (*GetACLParams) WithParentType ¶
func (o *GetACLParams) WithParentType(parentType string) *GetACLParams
WithParentType adds the parentType to the get Acl params
func (*GetACLParams) WithTimeout ¶
func (o *GetACLParams) WithTimeout(timeout time.Duration) *GetACLParams
WithTimeout adds the timeout to the get Acl params
func (*GetACLParams) WithTransactionID ¶
func (o *GetACLParams) WithTransactionID(transactionID *string) *GetACLParams
WithTransactionID adds the transactionID to the get Acl params
func (*GetACLParams) WriteToRequest ¶
func (o *GetACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetACLReader ¶
type GetACLReader struct {
// contains filtered or unexported fields
}
GetACLReader is a Reader for the GetACL structure.
func (*GetACLReader) ReadResponse ¶
func (o *GetACLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAclsDefault ¶
type GetAclsDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetAclsDefault handles this case with default header values.
General Error
func NewGetAclsDefault ¶
func NewGetAclsDefault(code int) *GetAclsDefault
NewGetAclsDefault creates a GetAclsDefault with default headers values
func (*GetAclsDefault) Code ¶
func (o *GetAclsDefault) Code() int
Code gets the status code for the get acls default response
func (*GetAclsDefault) Error ¶
func (o *GetAclsDefault) Error() string
func (*GetAclsDefault) GetPayload ¶ added in v0.2.0
func (o *GetAclsDefault) GetPayload() *models.Error
type GetAclsOK ¶
type GetAclsOK struct { /*Configuration file version */ ConfigurationVersion int64 Payload *GetAclsOKBody }
GetAclsOK handles this case with default header values.
Successful operation
func NewGetAclsOK ¶
func NewGetAclsOK() *GetAclsOK
NewGetAclsOK creates a GetAclsOK with default headers values
func (*GetAclsOK) GetPayload ¶ added in v0.2.0
func (o *GetAclsOK) GetPayload() *GetAclsOKBody
type GetAclsOKBody ¶
type GetAclsOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.Acls `json:"data"` }
GetAclsOKBody get acls o k body swagger:model GetAclsOKBody
func (*GetAclsOKBody) MarshalBinary ¶
func (o *GetAclsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAclsOKBody) UnmarshalBinary ¶
func (o *GetAclsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAclsParams ¶
type GetAclsParams struct { /*ParentName Parent name */ ParentName string /*ParentType Parent type */ ParentType string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAclsParams contains all the parameters to send to the API endpoint for the get acls operation typically these are written to a http.Request
func NewGetAclsParams ¶
func NewGetAclsParams() *GetAclsParams
NewGetAclsParams creates a new GetAclsParams object with the default values initialized.
func NewGetAclsParamsWithContext ¶
func NewGetAclsParamsWithContext(ctx context.Context) *GetAclsParams
NewGetAclsParamsWithContext creates a new GetAclsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAclsParamsWithHTTPClient ¶
func NewGetAclsParamsWithHTTPClient(client *http.Client) *GetAclsParams
NewGetAclsParamsWithHTTPClient creates a new GetAclsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAclsParamsWithTimeout ¶
func NewGetAclsParamsWithTimeout(timeout time.Duration) *GetAclsParams
NewGetAclsParamsWithTimeout creates a new GetAclsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAclsParams) SetContext ¶
func (o *GetAclsParams) SetContext(ctx context.Context)
SetContext adds the context to the get acls params
func (*GetAclsParams) SetHTTPClient ¶
func (o *GetAclsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get acls params
func (*GetAclsParams) SetParentName ¶
func (o *GetAclsParams) SetParentName(parentName string)
SetParentName adds the parentName to the get acls params
func (*GetAclsParams) SetParentType ¶
func (o *GetAclsParams) SetParentType(parentType string)
SetParentType adds the parentType to the get acls params
func (*GetAclsParams) SetTimeout ¶
func (o *GetAclsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get acls params
func (*GetAclsParams) SetTransactionID ¶
func (o *GetAclsParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get acls params
func (*GetAclsParams) WithContext ¶
func (o *GetAclsParams) WithContext(ctx context.Context) *GetAclsParams
WithContext adds the context to the get acls params
func (*GetAclsParams) WithHTTPClient ¶
func (o *GetAclsParams) WithHTTPClient(client *http.Client) *GetAclsParams
WithHTTPClient adds the HTTPClient to the get acls params
func (*GetAclsParams) WithParentName ¶
func (o *GetAclsParams) WithParentName(parentName string) *GetAclsParams
WithParentName adds the parentName to the get acls params
func (*GetAclsParams) WithParentType ¶
func (o *GetAclsParams) WithParentType(parentType string) *GetAclsParams
WithParentType adds the parentType to the get acls params
func (*GetAclsParams) WithTimeout ¶
func (o *GetAclsParams) WithTimeout(timeout time.Duration) *GetAclsParams
WithTimeout adds the timeout to the get acls params
func (*GetAclsParams) WithTransactionID ¶
func (o *GetAclsParams) WithTransactionID(transactionID *string) *GetAclsParams
WithTransactionID adds the transactionID to the get acls params
func (*GetAclsParams) WriteToRequest ¶
func (o *GetAclsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAclsReader ¶
type GetAclsReader struct {
// contains filtered or unexported fields
}
GetAclsReader is a Reader for the GetAcls structure.
func (*GetAclsReader) ReadResponse ¶
func (o *GetAclsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceACLAccepted ¶
type ReplaceACLAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.ACL }
ReplaceACLAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewReplaceACLAccepted ¶
func NewReplaceACLAccepted() *ReplaceACLAccepted
NewReplaceACLAccepted creates a ReplaceACLAccepted with default headers values
func (*ReplaceACLAccepted) Error ¶
func (o *ReplaceACLAccepted) Error() string
func (*ReplaceACLAccepted) GetPayload ¶ added in v0.2.0
func (o *ReplaceACLAccepted) GetPayload() *models.ACL
type ReplaceACLBadRequest ¶
type ReplaceACLBadRequest struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceACLBadRequest handles this case with default header values.
Bad request
func NewReplaceACLBadRequest ¶
func NewReplaceACLBadRequest() *ReplaceACLBadRequest
NewReplaceACLBadRequest creates a ReplaceACLBadRequest with default headers values
func (*ReplaceACLBadRequest) Error ¶
func (o *ReplaceACLBadRequest) Error() string
func (*ReplaceACLBadRequest) GetPayload ¶ added in v0.2.0
func (o *ReplaceACLBadRequest) GetPayload() *models.Error
type ReplaceACLDefault ¶
type ReplaceACLDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
ReplaceACLDefault handles this case with default header values.
General Error
func NewReplaceACLDefault ¶
func NewReplaceACLDefault(code int) *ReplaceACLDefault
NewReplaceACLDefault creates a ReplaceACLDefault with default headers values
func (*ReplaceACLDefault) Code ¶
func (o *ReplaceACLDefault) Code() int
Code gets the status code for the replace Acl default response
func (*ReplaceACLDefault) Error ¶
func (o *ReplaceACLDefault) Error() string
func (*ReplaceACLDefault) GetPayload ¶ added in v0.2.0
func (o *ReplaceACLDefault) GetPayload() *models.Error
type ReplaceACLNotFound ¶
type ReplaceACLNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceACLNotFound handles this case with default header values.
The specified resource was not found
func NewReplaceACLNotFound ¶
func NewReplaceACLNotFound() *ReplaceACLNotFound
NewReplaceACLNotFound creates a ReplaceACLNotFound with default headers values
func (*ReplaceACLNotFound) Error ¶
func (o *ReplaceACLNotFound) Error() string
func (*ReplaceACLNotFound) GetPayload ¶ added in v0.2.0
func (o *ReplaceACLNotFound) GetPayload() *models.Error
type ReplaceACLOK ¶
ReplaceACLOK handles this case with default header values.
ACL line replaced
func NewReplaceACLOK ¶
func NewReplaceACLOK() *ReplaceACLOK
NewReplaceACLOK creates a ReplaceACLOK with default headers values
func (*ReplaceACLOK) Error ¶
func (o *ReplaceACLOK) Error() string
func (*ReplaceACLOK) GetPayload ¶ added in v0.2.0
func (o *ReplaceACLOK) GetPayload() *models.ACL
type ReplaceACLParams ¶
type ReplaceACLParams struct { /*Data*/ Data *models.ACL /*ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /*Index ACL line Index */ Index int64 /*ParentName Parent name */ ParentName string /*ParentType Parent type */ ParentType string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /*Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceACLParams contains all the parameters to send to the API endpoint for the replace Acl operation typically these are written to a http.Request
func NewReplaceACLParams ¶
func NewReplaceACLParams() *ReplaceACLParams
NewReplaceACLParams creates a new ReplaceACLParams object with the default values initialized.
func NewReplaceACLParamsWithContext ¶
func NewReplaceACLParamsWithContext(ctx context.Context) *ReplaceACLParams
NewReplaceACLParamsWithContext creates a new ReplaceACLParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceACLParamsWithHTTPClient ¶
func NewReplaceACLParamsWithHTTPClient(client *http.Client) *ReplaceACLParams
NewReplaceACLParamsWithHTTPClient creates a new ReplaceACLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceACLParamsWithTimeout ¶
func NewReplaceACLParamsWithTimeout(timeout time.Duration) *ReplaceACLParams
NewReplaceACLParamsWithTimeout creates a new ReplaceACLParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceACLParams) SetContext ¶
func (o *ReplaceACLParams) SetContext(ctx context.Context)
SetContext adds the context to the replace Acl params
func (*ReplaceACLParams) SetData ¶
func (o *ReplaceACLParams) SetData(data *models.ACL)
SetData adds the data to the replace Acl params
func (*ReplaceACLParams) SetForceReload ¶
func (o *ReplaceACLParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace Acl params
func (*ReplaceACLParams) SetHTTPClient ¶
func (o *ReplaceACLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace Acl params
func (*ReplaceACLParams) SetIndex ¶
func (o *ReplaceACLParams) SetIndex(index int64)
SetIndex adds the index to the replace Acl params
func (*ReplaceACLParams) SetParentName ¶
func (o *ReplaceACLParams) SetParentName(parentName string)
SetParentName adds the parentName to the replace Acl params
func (*ReplaceACLParams) SetParentType ¶
func (o *ReplaceACLParams) SetParentType(parentType string)
SetParentType adds the parentType to the replace Acl params
func (*ReplaceACLParams) SetTimeout ¶
func (o *ReplaceACLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace Acl params
func (*ReplaceACLParams) SetTransactionID ¶
func (o *ReplaceACLParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace Acl params
func (*ReplaceACLParams) SetVersion ¶
func (o *ReplaceACLParams) SetVersion(version *int64)
SetVersion adds the version to the replace Acl params
func (*ReplaceACLParams) WithContext ¶
func (o *ReplaceACLParams) WithContext(ctx context.Context) *ReplaceACLParams
WithContext adds the context to the replace Acl params
func (*ReplaceACLParams) WithData ¶
func (o *ReplaceACLParams) WithData(data *models.ACL) *ReplaceACLParams
WithData adds the data to the replace Acl params
func (*ReplaceACLParams) WithForceReload ¶
func (o *ReplaceACLParams) WithForceReload(forceReload *bool) *ReplaceACLParams
WithForceReload adds the forceReload to the replace Acl params
func (*ReplaceACLParams) WithHTTPClient ¶
func (o *ReplaceACLParams) WithHTTPClient(client *http.Client) *ReplaceACLParams
WithHTTPClient adds the HTTPClient to the replace Acl params
func (*ReplaceACLParams) WithIndex ¶
func (o *ReplaceACLParams) WithIndex(index int64) *ReplaceACLParams
WithIndex adds the index to the replace Acl params
func (*ReplaceACLParams) WithParentName ¶
func (o *ReplaceACLParams) WithParentName(parentName string) *ReplaceACLParams
WithParentName adds the parentName to the replace Acl params
func (*ReplaceACLParams) WithParentType ¶
func (o *ReplaceACLParams) WithParentType(parentType string) *ReplaceACLParams
WithParentType adds the parentType to the replace Acl params
func (*ReplaceACLParams) WithTimeout ¶
func (o *ReplaceACLParams) WithTimeout(timeout time.Duration) *ReplaceACLParams
WithTimeout adds the timeout to the replace Acl params
func (*ReplaceACLParams) WithTransactionID ¶
func (o *ReplaceACLParams) WithTransactionID(transactionID *string) *ReplaceACLParams
WithTransactionID adds the transactionID to the replace Acl params
func (*ReplaceACLParams) WithVersion ¶
func (o *ReplaceACLParams) WithVersion(version *int64) *ReplaceACLParams
WithVersion adds the version to the replace Acl params
func (*ReplaceACLParams) WriteToRequest ¶
func (o *ReplaceACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceACLReader ¶
type ReplaceACLReader struct {
// contains filtered or unexported fields
}
ReplaceACLReader is a Reader for the ReplaceACL structure.
func (*ReplaceACLReader) ReadResponse ¶
func (o *ReplaceACLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.