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 ClientOption
- type ClientService
- type CreateACLAccepted
- func (o *CreateACLAccepted) Error() string
- func (o *CreateACLAccepted) GetPayload() *models.ACL
- func (o *CreateACLAccepted) IsClientError() bool
- func (o *CreateACLAccepted) IsCode(code int) bool
- func (o *CreateACLAccepted) IsRedirect() bool
- func (o *CreateACLAccepted) IsServerError() bool
- func (o *CreateACLAccepted) IsSuccess() bool
- func (o *CreateACLAccepted) String() string
- type CreateACLBadRequest
- func (o *CreateACLBadRequest) Error() string
- func (o *CreateACLBadRequest) GetPayload() *models.Error
- func (o *CreateACLBadRequest) IsClientError() bool
- func (o *CreateACLBadRequest) IsCode(code int) bool
- func (o *CreateACLBadRequest) IsRedirect() bool
- func (o *CreateACLBadRequest) IsServerError() bool
- func (o *CreateACLBadRequest) IsSuccess() bool
- func (o *CreateACLBadRequest) String() string
- type CreateACLConflict
- func (o *CreateACLConflict) Error() string
- func (o *CreateACLConflict) GetPayload() *models.Error
- func (o *CreateACLConflict) IsClientError() bool
- func (o *CreateACLConflict) IsCode(code int) bool
- func (o *CreateACLConflict) IsRedirect() bool
- func (o *CreateACLConflict) IsServerError() bool
- func (o *CreateACLConflict) IsSuccess() bool
- func (o *CreateACLConflict) String() string
- type CreateACLCreated
- func (o *CreateACLCreated) Error() string
- func (o *CreateACLCreated) GetPayload() *models.ACL
- func (o *CreateACLCreated) IsClientError() bool
- func (o *CreateACLCreated) IsCode(code int) bool
- func (o *CreateACLCreated) IsRedirect() bool
- func (o *CreateACLCreated) IsServerError() bool
- func (o *CreateACLCreated) IsSuccess() bool
- func (o *CreateACLCreated) String() string
- type CreateACLDefault
- func (o *CreateACLDefault) Code() int
- func (o *CreateACLDefault) Error() string
- func (o *CreateACLDefault) GetPayload() *models.Error
- func (o *CreateACLDefault) IsClientError() bool
- func (o *CreateACLDefault) IsCode(code int) bool
- func (o *CreateACLDefault) IsRedirect() bool
- func (o *CreateACLDefault) IsServerError() bool
- func (o *CreateACLDefault) IsSuccess() bool
- func (o *CreateACLDefault) String() string
- type CreateACLParams
- func (o *CreateACLParams) SetContext(ctx context.Context)
- func (o *CreateACLParams) SetData(data *models.ACL)
- func (o *CreateACLParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *DeleteACLAccepted) Error() string
- func (o *DeleteACLAccepted) IsClientError() bool
- func (o *DeleteACLAccepted) IsCode(code int) bool
- func (o *DeleteACLAccepted) IsRedirect() bool
- func (o *DeleteACLAccepted) IsServerError() bool
- func (o *DeleteACLAccepted) IsSuccess() bool
- func (o *DeleteACLAccepted) String() string
- type DeleteACLDefault
- func (o *DeleteACLDefault) Code() int
- func (o *DeleteACLDefault) Error() string
- func (o *DeleteACLDefault) GetPayload() *models.Error
- func (o *DeleteACLDefault) IsClientError() bool
- func (o *DeleteACLDefault) IsCode(code int) bool
- func (o *DeleteACLDefault) IsRedirect() bool
- func (o *DeleteACLDefault) IsServerError() bool
- func (o *DeleteACLDefault) IsSuccess() bool
- func (o *DeleteACLDefault) String() string
- type DeleteACLNoContent
- func (o *DeleteACLNoContent) Error() string
- func (o *DeleteACLNoContent) IsClientError() bool
- func (o *DeleteACLNoContent) IsCode(code int) bool
- func (o *DeleteACLNoContent) IsRedirect() bool
- func (o *DeleteACLNoContent) IsServerError() bool
- func (o *DeleteACLNoContent) IsSuccess() bool
- func (o *DeleteACLNoContent) String() string
- type DeleteACLNotFound
- func (o *DeleteACLNotFound) Error() string
- func (o *DeleteACLNotFound) GetPayload() *models.Error
- func (o *DeleteACLNotFound) IsClientError() bool
- func (o *DeleteACLNotFound) IsCode(code int) bool
- func (o *DeleteACLNotFound) IsRedirect() bool
- func (o *DeleteACLNotFound) IsServerError() bool
- func (o *DeleteACLNotFound) IsSuccess() bool
- func (o *DeleteACLNotFound) String() string
- type DeleteACLParams
- func (o *DeleteACLParams) SetContext(ctx context.Context)
- func (o *DeleteACLParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetACLDefault) Code() int
- func (o *GetACLDefault) Error() string
- func (o *GetACLDefault) GetPayload() *models.Error
- func (o *GetACLDefault) IsClientError() bool
- func (o *GetACLDefault) IsCode(code int) bool
- func (o *GetACLDefault) IsRedirect() bool
- func (o *GetACLDefault) IsServerError() bool
- func (o *GetACLDefault) IsSuccess() bool
- func (o *GetACLDefault) String() string
- type GetACLNotFound
- func (o *GetACLNotFound) Error() string
- func (o *GetACLNotFound) GetPayload() *models.Error
- func (o *GetACLNotFound) IsClientError() bool
- func (o *GetACLNotFound) IsCode(code int) bool
- func (o *GetACLNotFound) IsRedirect() bool
- func (o *GetACLNotFound) IsServerError() bool
- func (o *GetACLNotFound) IsSuccess() bool
- func (o *GetACLNotFound) String() string
- type GetACLOK
- func (o *GetACLOK) Error() string
- func (o *GetACLOK) GetPayload() *GetACLOKBody
- func (o *GetACLOK) IsClientError() bool
- func (o *GetACLOK) IsCode(code int) bool
- func (o *GetACLOK) IsRedirect() bool
- func (o *GetACLOK) IsServerError() bool
- func (o *GetACLOK) IsSuccess() bool
- func (o *GetACLOK) String() string
- type GetACLOKBody
- type GetACLParams
- func (o *GetACLParams) SetContext(ctx context.Context)
- func (o *GetACLParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetAclsDefault) Code() int
- func (o *GetAclsDefault) Error() string
- func (o *GetAclsDefault) GetPayload() *models.Error
- func (o *GetAclsDefault) IsClientError() bool
- func (o *GetAclsDefault) IsCode(code int) bool
- func (o *GetAclsDefault) IsRedirect() bool
- func (o *GetAclsDefault) IsServerError() bool
- func (o *GetAclsDefault) IsSuccess() bool
- func (o *GetAclsDefault) String() string
- type GetAclsOK
- func (o *GetAclsOK) Error() string
- func (o *GetAclsOK) GetPayload() *GetAclsOKBody
- func (o *GetAclsOK) IsClientError() bool
- func (o *GetAclsOK) IsCode(code int) bool
- func (o *GetAclsOK) IsRedirect() bool
- func (o *GetAclsOK) IsServerError() bool
- func (o *GetAclsOK) IsSuccess() bool
- func (o *GetAclsOK) String() string
- type GetAclsOKBody
- type GetAclsParams
- func (o *GetAclsParams) SetACLName(aCLName *string)
- func (o *GetAclsParams) SetContext(ctx context.Context)
- func (o *GetAclsParams) SetDefaults()
- 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) WithACLName(aCLName *string) *GetAclsParams
- func (o *GetAclsParams) WithContext(ctx context.Context) *GetAclsParams
- func (o *GetAclsParams) WithDefaults() *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
- func (o *ReplaceACLAccepted) Error() string
- func (o *ReplaceACLAccepted) GetPayload() *models.ACL
- func (o *ReplaceACLAccepted) IsClientError() bool
- func (o *ReplaceACLAccepted) IsCode(code int) bool
- func (o *ReplaceACLAccepted) IsRedirect() bool
- func (o *ReplaceACLAccepted) IsServerError() bool
- func (o *ReplaceACLAccepted) IsSuccess() bool
- func (o *ReplaceACLAccepted) String() string
- type ReplaceACLBadRequest
- func (o *ReplaceACLBadRequest) Error() string
- func (o *ReplaceACLBadRequest) GetPayload() *models.Error
- func (o *ReplaceACLBadRequest) IsClientError() bool
- func (o *ReplaceACLBadRequest) IsCode(code int) bool
- func (o *ReplaceACLBadRequest) IsRedirect() bool
- func (o *ReplaceACLBadRequest) IsServerError() bool
- func (o *ReplaceACLBadRequest) IsSuccess() bool
- func (o *ReplaceACLBadRequest) String() string
- type ReplaceACLDefault
- func (o *ReplaceACLDefault) Code() int
- func (o *ReplaceACLDefault) Error() string
- func (o *ReplaceACLDefault) GetPayload() *models.Error
- func (o *ReplaceACLDefault) IsClientError() bool
- func (o *ReplaceACLDefault) IsCode(code int) bool
- func (o *ReplaceACLDefault) IsRedirect() bool
- func (o *ReplaceACLDefault) IsServerError() bool
- func (o *ReplaceACLDefault) IsSuccess() bool
- func (o *ReplaceACLDefault) String() string
- type ReplaceACLNotFound
- func (o *ReplaceACLNotFound) Error() string
- func (o *ReplaceACLNotFound) GetPayload() *models.Error
- func (o *ReplaceACLNotFound) IsClientError() bool
- func (o *ReplaceACLNotFound) IsCode(code int) bool
- func (o *ReplaceACLNotFound) IsRedirect() bool
- func (o *ReplaceACLNotFound) IsServerError() bool
- func (o *ReplaceACLNotFound) IsSuccess() bool
- func (o *ReplaceACLNotFound) String() string
- type ReplaceACLOK
- func (o *ReplaceACLOK) Error() string
- func (o *ReplaceACLOK) GetPayload() *models.ACL
- func (o *ReplaceACLOK) IsClientError() bool
- func (o *ReplaceACLOK) IsCode(code int) bool
- func (o *ReplaceACLOK) IsRedirect() bool
- func (o *ReplaceACLOK) IsServerError() bool
- func (o *ReplaceACLOK) IsSuccess() bool
- func (o *ReplaceACLOK) String() string
- type ReplaceACLParams
- func (o *ReplaceACLParams) SetContext(ctx context.Context)
- func (o *ReplaceACLParams) SetData(data *models.ACL)
- func (o *ReplaceACLParams) SetDefaults()
- 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) WithDefaults() *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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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 ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateACL(params *CreateACLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateACLCreated, *CreateACLAccepted, error) DeleteACL(params *DeleteACLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteACLAccepted, *DeleteACLNoContent, error) GetACL(params *GetACLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetACLOK, error) GetAcls(params *GetAclsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAclsOK, error) ReplaceACL(params *ReplaceACLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 describes a response with status code 202, 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 ¶
func (o *CreateACLAccepted) GetPayload() *models.ACL
func (*CreateACLAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateACLAccepted) IsClientError() bool
IsClientError returns true when this create Acl accepted response has a 4xx status code
func (*CreateACLAccepted) IsCode ¶ added in v1.1.0
func (o *CreateACLAccepted) IsCode(code int) bool
IsCode returns true when this create Acl accepted response a status code equal to that given
func (*CreateACLAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateACLAccepted) IsRedirect() bool
IsRedirect returns true when this create Acl accepted response has a 3xx status code
func (*CreateACLAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateACLAccepted) IsServerError() bool
IsServerError returns true when this create Acl accepted response has a 5xx status code
func (*CreateACLAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateACLAccepted) IsSuccess() bool
IsSuccess returns true when this create Acl accepted response has a 2xx status code
func (*CreateACLAccepted) String ¶ added in v1.1.0
func (o *CreateACLAccepted) String() string
type CreateACLBadRequest ¶
type CreateACLBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateACLBadRequest describes a response with status code 400, 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 ¶
func (o *CreateACLBadRequest) GetPayload() *models.Error
func (*CreateACLBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateACLBadRequest) IsClientError() bool
IsClientError returns true when this create Acl bad request response has a 4xx status code
func (*CreateACLBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateACLBadRequest) IsCode(code int) bool
IsCode returns true when this create Acl bad request response a status code equal to that given
func (*CreateACLBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateACLBadRequest) IsRedirect() bool
IsRedirect returns true when this create Acl bad request response has a 3xx status code
func (*CreateACLBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateACLBadRequest) IsServerError() bool
IsServerError returns true when this create Acl bad request response has a 5xx status code
func (*CreateACLBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateACLBadRequest) IsSuccess() bool
IsSuccess returns true when this create Acl bad request response has a 2xx status code
func (*CreateACLBadRequest) String ¶ added in v1.1.0
func (o *CreateACLBadRequest) String() string
type CreateACLConflict ¶
type CreateACLConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateACLConflict describes a response with status code 409, 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 ¶
func (o *CreateACLConflict) GetPayload() *models.Error
func (*CreateACLConflict) IsClientError ¶ added in v1.1.0
func (o *CreateACLConflict) IsClientError() bool
IsClientError returns true when this create Acl conflict response has a 4xx status code
func (*CreateACLConflict) IsCode ¶ added in v1.1.0
func (o *CreateACLConflict) IsCode(code int) bool
IsCode returns true when this create Acl conflict response a status code equal to that given
func (*CreateACLConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateACLConflict) IsRedirect() bool
IsRedirect returns true when this create Acl conflict response has a 3xx status code
func (*CreateACLConflict) IsServerError ¶ added in v1.1.0
func (o *CreateACLConflict) IsServerError() bool
IsServerError returns true when this create Acl conflict response has a 5xx status code
func (*CreateACLConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateACLConflict) IsSuccess() bool
IsSuccess returns true when this create Acl conflict response has a 2xx status code
func (*CreateACLConflict) String ¶ added in v1.1.0
func (o *CreateACLConflict) String() string
type CreateACLCreated ¶
CreateACLCreated describes a response with status code 201, 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 ¶
func (o *CreateACLCreated) GetPayload() *models.ACL
func (*CreateACLCreated) IsClientError ¶ added in v1.1.0
func (o *CreateACLCreated) IsClientError() bool
IsClientError returns true when this create Acl created response has a 4xx status code
func (*CreateACLCreated) IsCode ¶ added in v1.1.0
func (o *CreateACLCreated) IsCode(code int) bool
IsCode returns true when this create Acl created response a status code equal to that given
func (*CreateACLCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateACLCreated) IsRedirect() bool
IsRedirect returns true when this create Acl created response has a 3xx status code
func (*CreateACLCreated) IsServerError ¶ added in v1.1.0
func (o *CreateACLCreated) IsServerError() bool
IsServerError returns true when this create Acl created response has a 5xx status code
func (*CreateACLCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateACLCreated) IsSuccess() bool
IsSuccess returns true when this create Acl created response has a 2xx status code
func (*CreateACLCreated) String ¶ added in v1.1.0
func (o *CreateACLCreated) String() string
type CreateACLDefault ¶
type CreateACLDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateACLDefault describes a response with status code -1, 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 ¶
func (o *CreateACLDefault) GetPayload() *models.Error
func (*CreateACLDefault) IsClientError ¶ added in v1.1.0
func (o *CreateACLDefault) IsClientError() bool
IsClientError returns true when this create Acl default response has a 4xx status code
func (*CreateACLDefault) IsCode ¶ added in v1.1.0
func (o *CreateACLDefault) IsCode(code int) bool
IsCode returns true when this create Acl default response a status code equal to that given
func (*CreateACLDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateACLDefault) IsRedirect() bool
IsRedirect returns true when this create Acl default response has a 3xx status code
func (*CreateACLDefault) IsServerError ¶ added in v1.1.0
func (o *CreateACLDefault) IsServerError() bool
IsServerError returns true when this create Acl default response has a 5xx status code
func (*CreateACLDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateACLDefault) IsSuccess() bool
IsSuccess returns true when this create Acl default response has a 2xx status code
func (*CreateACLDefault) String ¶ added in v1.1.0
func (o *CreateACLDefault) String() string
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 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 NewCreateACLParamsWithContext ¶
func NewCreateACLParamsWithContext(ctx context.Context) *CreateACLParams
NewCreateACLParamsWithContext creates a new CreateACLParams object with 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 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 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) SetDefaults ¶
func (o *CreateACLParams) SetDefaults()
SetDefaults hydrates default values in the create Acl params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *CreateACLParams) WithDefaults() *CreateACLParams
WithDefaults hydrates default values in the create Acl params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 202, 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
func (*DeleteACLAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteACLAccepted) IsClientError() bool
IsClientError returns true when this delete Acl accepted response has a 4xx status code
func (*DeleteACLAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteACLAccepted) IsCode(code int) bool
IsCode returns true when this delete Acl accepted response a status code equal to that given
func (*DeleteACLAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteACLAccepted) IsRedirect() bool
IsRedirect returns true when this delete Acl accepted response has a 3xx status code
func (*DeleteACLAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteACLAccepted) IsServerError() bool
IsServerError returns true when this delete Acl accepted response has a 5xx status code
func (*DeleteACLAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteACLAccepted) IsSuccess() bool
IsSuccess returns true when this delete Acl accepted response has a 2xx status code
func (*DeleteACLAccepted) String ¶ added in v1.1.0
func (o *DeleteACLAccepted) String() string
type DeleteACLDefault ¶
type DeleteACLDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteACLDefault describes a response with status code -1, 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 ¶
func (o *DeleteACLDefault) GetPayload() *models.Error
func (*DeleteACLDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteACLDefault) IsClientError() bool
IsClientError returns true when this delete Acl default response has a 4xx status code
func (*DeleteACLDefault) IsCode ¶ added in v1.1.0
func (o *DeleteACLDefault) IsCode(code int) bool
IsCode returns true when this delete Acl default response a status code equal to that given
func (*DeleteACLDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteACLDefault) IsRedirect() bool
IsRedirect returns true when this delete Acl default response has a 3xx status code
func (*DeleteACLDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteACLDefault) IsServerError() bool
IsServerError returns true when this delete Acl default response has a 5xx status code
func (*DeleteACLDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteACLDefault) IsSuccess() bool
IsSuccess returns true when this delete Acl default response has a 2xx status code
func (*DeleteACLDefault) String ¶ added in v1.1.0
func (o *DeleteACLDefault) String() string
type DeleteACLNoContent ¶
type DeleteACLNoContent struct { }
DeleteACLNoContent describes a response with status code 204, 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
func (*DeleteACLNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteACLNoContent) IsClientError() bool
IsClientError returns true when this delete Acl no content response has a 4xx status code
func (*DeleteACLNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteACLNoContent) IsCode(code int) bool
IsCode returns true when this delete Acl no content response a status code equal to that given
func (*DeleteACLNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteACLNoContent) IsRedirect() bool
IsRedirect returns true when this delete Acl no content response has a 3xx status code
func (*DeleteACLNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteACLNoContent) IsServerError() bool
IsServerError returns true when this delete Acl no content response has a 5xx status code
func (*DeleteACLNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteACLNoContent) IsSuccess() bool
IsSuccess returns true when this delete Acl no content response has a 2xx status code
func (*DeleteACLNoContent) String ¶ added in v1.1.0
func (o *DeleteACLNoContent) String() string
type DeleteACLNotFound ¶
type DeleteACLNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteACLNotFound describes a response with status code 404, 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 ¶
func (o *DeleteACLNotFound) GetPayload() *models.Error
func (*DeleteACLNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteACLNotFound) IsClientError() bool
IsClientError returns true when this delete Acl not found response has a 4xx status code
func (*DeleteACLNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteACLNotFound) IsCode(code int) bool
IsCode returns true when this delete Acl not found response a status code equal to that given
func (*DeleteACLNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteACLNotFound) IsRedirect() bool
IsRedirect returns true when this delete Acl not found response has a 3xx status code
func (*DeleteACLNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteACLNotFound) IsServerError() bool
IsServerError returns true when this delete Acl not found response has a 5xx status code
func (*DeleteACLNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteACLNotFound) IsSuccess() bool
IsSuccess returns true when this delete Acl not found response has a 2xx status code
func (*DeleteACLNotFound) String ¶ added in v1.1.0
func (o *DeleteACLNotFound) String() string
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 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 NewDeleteACLParamsWithContext ¶
func NewDeleteACLParamsWithContext(ctx context.Context) *DeleteACLParams
NewDeleteACLParamsWithContext creates a new DeleteACLParams object with 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 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 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) SetDefaults ¶
func (o *DeleteACLParams) SetDefaults()
SetDefaults hydrates default values in the delete Acl params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *DeleteACLParams) WithDefaults() *DeleteACLParams
WithDefaults hydrates default values in the delete Acl params (not the query body).
All values with no default are reset to their zero value.
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 string Payload *models.Error // contains filtered or unexported fields }
GetACLDefault describes a response with status code -1, 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 ¶
func (o *GetACLDefault) GetPayload() *models.Error
func (*GetACLDefault) IsClientError ¶ added in v1.1.0
func (o *GetACLDefault) IsClientError() bool
IsClientError returns true when this get Acl default response has a 4xx status code
func (*GetACLDefault) IsCode ¶ added in v1.1.0
func (o *GetACLDefault) IsCode(code int) bool
IsCode returns true when this get Acl default response a status code equal to that given
func (*GetACLDefault) IsRedirect ¶ added in v1.1.0
func (o *GetACLDefault) IsRedirect() bool
IsRedirect returns true when this get Acl default response has a 3xx status code
func (*GetACLDefault) IsServerError ¶ added in v1.1.0
func (o *GetACLDefault) IsServerError() bool
IsServerError returns true when this get Acl default response has a 5xx status code
func (*GetACLDefault) IsSuccess ¶ added in v1.1.0
func (o *GetACLDefault) IsSuccess() bool
IsSuccess returns true when this get Acl default response has a 2xx status code
func (*GetACLDefault) String ¶ added in v1.1.0
func (o *GetACLDefault) String() string
type GetACLNotFound ¶
type GetACLNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetACLNotFound describes a response with status code 404, 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 ¶
func (o *GetACLNotFound) GetPayload() *models.Error
func (*GetACLNotFound) IsClientError ¶ added in v1.1.0
func (o *GetACLNotFound) IsClientError() bool
IsClientError returns true when this get Acl not found response has a 4xx status code
func (*GetACLNotFound) IsCode ¶ added in v1.1.0
func (o *GetACLNotFound) IsCode(code int) bool
IsCode returns true when this get Acl not found response a status code equal to that given
func (*GetACLNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetACLNotFound) IsRedirect() bool
IsRedirect returns true when this get Acl not found response has a 3xx status code
func (*GetACLNotFound) IsServerError ¶ added in v1.1.0
func (o *GetACLNotFound) IsServerError() bool
IsServerError returns true when this get Acl not found response has a 5xx status code
func (*GetACLNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetACLNotFound) IsSuccess() bool
IsSuccess returns true when this get Acl not found response has a 2xx status code
func (*GetACLNotFound) String ¶ added in v1.1.0
func (o *GetACLNotFound) String() string
type GetACLOK ¶
type GetACLOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetACLOKBody }
GetACLOK describes a response with status code 200, with default header values.
Successful operation
func NewGetACLOK ¶
func NewGetACLOK() *GetACLOK
NewGetACLOK creates a GetACLOK with default headers values
func (*GetACLOK) GetPayload ¶
func (o *GetACLOK) GetPayload() *GetACLOKBody
func (*GetACLOK) IsClientError ¶ added in v1.1.0
IsClientError returns true when this get Acl o k response has a 4xx status code
func (*GetACLOK) IsCode ¶ added in v1.1.0
IsCode returns true when this get Acl o k response a status code equal to that given
func (*GetACLOK) IsRedirect ¶ added in v1.1.0
IsRedirect returns true when this get Acl o k response has a 3xx status code
func (*GetACLOK) IsServerError ¶ added in v1.1.0
IsServerError returns true when this get Acl o k response has a 5xx status code
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) ContextValidate ¶
ContextValidate validate this get ACL o k body based on the context it is used
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 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 NewGetACLParamsWithContext ¶
func NewGetACLParamsWithContext(ctx context.Context) *GetACLParams
NewGetACLParamsWithContext creates a new GetACLParams object with 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 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 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) SetDefaults ¶
func (o *GetACLParams) SetDefaults()
SetDefaults hydrates default values in the get Acl params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetACLParams) WithDefaults() *GetACLParams
WithDefaults hydrates default values in the get Acl params (not the query body).
All values with no default are reset to their zero value.
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 string Payload *models.Error // contains filtered or unexported fields }
GetAclsDefault describes a response with status code -1, 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 ¶
func (o *GetAclsDefault) GetPayload() *models.Error
func (*GetAclsDefault) IsClientError ¶ added in v1.1.0
func (o *GetAclsDefault) IsClientError() bool
IsClientError returns true when this get acls default response has a 4xx status code
func (*GetAclsDefault) IsCode ¶ added in v1.1.0
func (o *GetAclsDefault) IsCode(code int) bool
IsCode returns true when this get acls default response a status code equal to that given
func (*GetAclsDefault) IsRedirect ¶ added in v1.1.0
func (o *GetAclsDefault) IsRedirect() bool
IsRedirect returns true when this get acls default response has a 3xx status code
func (*GetAclsDefault) IsServerError ¶ added in v1.1.0
func (o *GetAclsDefault) IsServerError() bool
IsServerError returns true when this get acls default response has a 5xx status code
func (*GetAclsDefault) IsSuccess ¶ added in v1.1.0
func (o *GetAclsDefault) IsSuccess() bool
IsSuccess returns true when this get acls default response has a 2xx status code
func (*GetAclsDefault) String ¶ added in v1.1.0
func (o *GetAclsDefault) String() string
type GetAclsOK ¶
type GetAclsOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetAclsOKBody }
GetAclsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetAclsOK ¶
func NewGetAclsOK() *GetAclsOK
NewGetAclsOK creates a GetAclsOK with default headers values
func (*GetAclsOK) GetPayload ¶
func (o *GetAclsOK) GetPayload() *GetAclsOKBody
func (*GetAclsOK) IsClientError ¶ added in v1.1.0
IsClientError returns true when this get acls o k response has a 4xx status code
func (*GetAclsOK) IsCode ¶ added in v1.1.0
IsCode returns true when this get acls o k response a status code equal to that given
func (*GetAclsOK) IsRedirect ¶ added in v1.1.0
IsRedirect returns true when this get acls o k response has a 3xx status code
func (*GetAclsOK) IsServerError ¶ added in v1.1.0
IsServerError returns true when this get acls o k response has a 5xx status code
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) ContextValidate ¶
ContextValidate validate this get acls o k body based on the context it is used
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 { /* ACLName. ACL name */ ACLName *string /* 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 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 NewGetAclsParamsWithContext ¶
func NewGetAclsParamsWithContext(ctx context.Context) *GetAclsParams
NewGetAclsParamsWithContext creates a new GetAclsParams object with 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 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 ability to set a timeout on a request.
func (*GetAclsParams) SetACLName ¶ added in v0.0.2
func (o *GetAclsParams) SetACLName(aCLName *string)
SetACLName adds the aclName to the get acls params
func (*GetAclsParams) SetContext ¶
func (o *GetAclsParams) SetContext(ctx context.Context)
SetContext adds the context to the get acls params
func (*GetAclsParams) SetDefaults ¶
func (o *GetAclsParams) SetDefaults()
SetDefaults hydrates default values in the get acls params (not the query body).
All values with no default are reset to their zero value.
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) WithACLName ¶ added in v0.0.2
func (o *GetAclsParams) WithACLName(aCLName *string) *GetAclsParams
WithACLName adds the aCLName 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) WithDefaults ¶
func (o *GetAclsParams) WithDefaults() *GetAclsParams
WithDefaults hydrates default values in the get acls params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 202, 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 ¶
func (o *ReplaceACLAccepted) GetPayload() *models.ACL
func (*ReplaceACLAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceACLAccepted) IsClientError() bool
IsClientError returns true when this replace Acl accepted response has a 4xx status code
func (*ReplaceACLAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceACLAccepted) IsCode(code int) bool
IsCode returns true when this replace Acl accepted response a status code equal to that given
func (*ReplaceACLAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceACLAccepted) IsRedirect() bool
IsRedirect returns true when this replace Acl accepted response has a 3xx status code
func (*ReplaceACLAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceACLAccepted) IsServerError() bool
IsServerError returns true when this replace Acl accepted response has a 5xx status code
func (*ReplaceACLAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceACLAccepted) IsSuccess() bool
IsSuccess returns true when this replace Acl accepted response has a 2xx status code
func (*ReplaceACLAccepted) String ¶ added in v1.1.0
func (o *ReplaceACLAccepted) String() string
type ReplaceACLBadRequest ¶
type ReplaceACLBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceACLBadRequest describes a response with status code 400, 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 ¶
func (o *ReplaceACLBadRequest) GetPayload() *models.Error
func (*ReplaceACLBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceACLBadRequest) IsClientError() bool
IsClientError returns true when this replace Acl bad request response has a 4xx status code
func (*ReplaceACLBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceACLBadRequest) IsCode(code int) bool
IsCode returns true when this replace Acl bad request response a status code equal to that given
func (*ReplaceACLBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceACLBadRequest) IsRedirect() bool
IsRedirect returns true when this replace Acl bad request response has a 3xx status code
func (*ReplaceACLBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceACLBadRequest) IsServerError() bool
IsServerError returns true when this replace Acl bad request response has a 5xx status code
func (*ReplaceACLBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceACLBadRequest) IsSuccess() bool
IsSuccess returns true when this replace Acl bad request response has a 2xx status code
func (*ReplaceACLBadRequest) String ¶ added in v1.1.0
func (o *ReplaceACLBadRequest) String() string
type ReplaceACLDefault ¶
type ReplaceACLDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceACLDefault describes a response with status code -1, 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 ¶
func (o *ReplaceACLDefault) GetPayload() *models.Error
func (*ReplaceACLDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceACLDefault) IsClientError() bool
IsClientError returns true when this replace Acl default response has a 4xx status code
func (*ReplaceACLDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceACLDefault) IsCode(code int) bool
IsCode returns true when this replace Acl default response a status code equal to that given
func (*ReplaceACLDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceACLDefault) IsRedirect() bool
IsRedirect returns true when this replace Acl default response has a 3xx status code
func (*ReplaceACLDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceACLDefault) IsServerError() bool
IsServerError returns true when this replace Acl default response has a 5xx status code
func (*ReplaceACLDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceACLDefault) IsSuccess() bool
IsSuccess returns true when this replace Acl default response has a 2xx status code
func (*ReplaceACLDefault) String ¶ added in v1.1.0
func (o *ReplaceACLDefault) String() string
type ReplaceACLNotFound ¶
type ReplaceACLNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceACLNotFound describes a response with status code 404, 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 ¶
func (o *ReplaceACLNotFound) GetPayload() *models.Error
func (*ReplaceACLNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceACLNotFound) IsClientError() bool
IsClientError returns true when this replace Acl not found response has a 4xx status code
func (*ReplaceACLNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceACLNotFound) IsCode(code int) bool
IsCode returns true when this replace Acl not found response a status code equal to that given
func (*ReplaceACLNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceACLNotFound) IsRedirect() bool
IsRedirect returns true when this replace Acl not found response has a 3xx status code
func (*ReplaceACLNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceACLNotFound) IsServerError() bool
IsServerError returns true when this replace Acl not found response has a 5xx status code
func (*ReplaceACLNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceACLNotFound) IsSuccess() bool
IsSuccess returns true when this replace Acl not found response has a 2xx status code
func (*ReplaceACLNotFound) String ¶ added in v1.1.0
func (o *ReplaceACLNotFound) String() string
type ReplaceACLOK ¶
ReplaceACLOK describes a response with status code 200, 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 ¶
func (o *ReplaceACLOK) GetPayload() *models.ACL
func (*ReplaceACLOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceACLOK) IsClientError() bool
IsClientError returns true when this replace Acl o k response has a 4xx status code
func (*ReplaceACLOK) IsCode ¶ added in v1.1.0
func (o *ReplaceACLOK) IsCode(code int) bool
IsCode returns true when this replace Acl o k response a status code equal to that given
func (*ReplaceACLOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceACLOK) IsRedirect() bool
IsRedirect returns true when this replace Acl o k response has a 3xx status code
func (*ReplaceACLOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceACLOK) IsServerError() bool
IsServerError returns true when this replace Acl o k response has a 5xx status code
func (*ReplaceACLOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceACLOK) IsSuccess() bool
IsSuccess returns true when this replace Acl o k response has a 2xx status code
func (*ReplaceACLOK) String ¶ added in v1.1.0
func (o *ReplaceACLOK) String() string
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 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 NewReplaceACLParamsWithContext ¶
func NewReplaceACLParamsWithContext(ctx context.Context) *ReplaceACLParams
NewReplaceACLParamsWithContext creates a new ReplaceACLParams object with 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 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 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) SetDefaults ¶
func (o *ReplaceACLParams) SetDefaults()
SetDefaults hydrates default values in the replace Acl params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *ReplaceACLParams) WithDefaults() *ReplaceACLParams
WithDefaults hydrates default values in the replace Acl params (not the query body).
All values with no default are reset to their zero value.
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.