Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAccessPolicy(params *CreateAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAccessPolicyOK, error)
- func (a *Client) GetAccessPolicies(params *GetAccessPoliciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAccessPoliciesOK, error)
- func (a *Client) GetAccessPolicy(params *GetAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAccessPolicyOK, error)
- func (a *Client) GetAccessPolicyForResource(params *GetAccessPolicyForResourceParams, ...) (*GetAccessPolicyForResourceOK, error)
- func (a *Client) GetResources(params *GetResourcesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetResourcesOK, error)
- func (a *Client) RemoveAccessPolicy(params *RemoveAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveAccessPolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAccessPolicy(params *UpdateAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAccessPolicyOK, error)
- type ClientOption
- type ClientService
- type CreateAccessPolicyBadRequest
- func (o *CreateAccessPolicyBadRequest) Error() string
- func (o *CreateAccessPolicyBadRequest) IsClientError() bool
- func (o *CreateAccessPolicyBadRequest) IsCode(code int) bool
- func (o *CreateAccessPolicyBadRequest) IsRedirect() bool
- func (o *CreateAccessPolicyBadRequest) IsServerError() bool
- func (o *CreateAccessPolicyBadRequest) IsSuccess() bool
- func (o *CreateAccessPolicyBadRequest) String() string
- type CreateAccessPolicyConflict
- func (o *CreateAccessPolicyConflict) Error() string
- func (o *CreateAccessPolicyConflict) IsClientError() bool
- func (o *CreateAccessPolicyConflict) IsCode(code int) bool
- func (o *CreateAccessPolicyConflict) IsRedirect() bool
- func (o *CreateAccessPolicyConflict) IsServerError() bool
- func (o *CreateAccessPolicyConflict) IsSuccess() bool
- func (o *CreateAccessPolicyConflict) String() string
- type CreateAccessPolicyForbidden
- func (o *CreateAccessPolicyForbidden) Error() string
- func (o *CreateAccessPolicyForbidden) IsClientError() bool
- func (o *CreateAccessPolicyForbidden) IsCode(code int) bool
- func (o *CreateAccessPolicyForbidden) IsRedirect() bool
- func (o *CreateAccessPolicyForbidden) IsServerError() bool
- func (o *CreateAccessPolicyForbidden) IsSuccess() bool
- func (o *CreateAccessPolicyForbidden) String() string
- type CreateAccessPolicyOK
- func (o *CreateAccessPolicyOK) Error() string
- func (o *CreateAccessPolicyOK) GetPayload() *models.AccessPolicy
- func (o *CreateAccessPolicyOK) IsClientError() bool
- func (o *CreateAccessPolicyOK) IsCode(code int) bool
- func (o *CreateAccessPolicyOK) IsRedirect() bool
- func (o *CreateAccessPolicyOK) IsServerError() bool
- func (o *CreateAccessPolicyOK) IsSuccess() bool
- func (o *CreateAccessPolicyOK) String() string
- type CreateAccessPolicyParams
- func NewCreateAccessPolicyParams() *CreateAccessPolicyParams
- func NewCreateAccessPolicyParamsWithContext(ctx context.Context) *CreateAccessPolicyParams
- func NewCreateAccessPolicyParamsWithHTTPClient(client *http.Client) *CreateAccessPolicyParams
- func NewCreateAccessPolicyParamsWithTimeout(timeout time.Duration) *CreateAccessPolicyParams
- func (o *CreateAccessPolicyParams) SetBody(body *models.AccessPolicy)
- func (o *CreateAccessPolicyParams) SetContext(ctx context.Context)
- func (o *CreateAccessPolicyParams) SetDefaults()
- func (o *CreateAccessPolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreateAccessPolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreateAccessPolicyParams) WithBody(body *models.AccessPolicy) *CreateAccessPolicyParams
- func (o *CreateAccessPolicyParams) WithContext(ctx context.Context) *CreateAccessPolicyParams
- func (o *CreateAccessPolicyParams) WithDefaults() *CreateAccessPolicyParams
- func (o *CreateAccessPolicyParams) WithHTTPClient(client *http.Client) *CreateAccessPolicyParams
- func (o *CreateAccessPolicyParams) WithTimeout(timeout time.Duration) *CreateAccessPolicyParams
- func (o *CreateAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAccessPolicyReader
- type CreateAccessPolicyUnauthorized
- func (o *CreateAccessPolicyUnauthorized) Error() string
- func (o *CreateAccessPolicyUnauthorized) IsClientError() bool
- func (o *CreateAccessPolicyUnauthorized) IsCode(code int) bool
- func (o *CreateAccessPolicyUnauthorized) IsRedirect() bool
- func (o *CreateAccessPolicyUnauthorized) IsServerError() bool
- func (o *CreateAccessPolicyUnauthorized) IsSuccess() bool
- func (o *CreateAccessPolicyUnauthorized) String() string
- type GetAccessPoliciesConflict
- func (o *GetAccessPoliciesConflict) Error() string
- func (o *GetAccessPoliciesConflict) IsClientError() bool
- func (o *GetAccessPoliciesConflict) IsCode(code int) bool
- func (o *GetAccessPoliciesConflict) IsRedirect() bool
- func (o *GetAccessPoliciesConflict) IsServerError() bool
- func (o *GetAccessPoliciesConflict) IsSuccess() bool
- func (o *GetAccessPoliciesConflict) String() string
- type GetAccessPoliciesForbidden
- func (o *GetAccessPoliciesForbidden) Error() string
- func (o *GetAccessPoliciesForbidden) IsClientError() bool
- func (o *GetAccessPoliciesForbidden) IsCode(code int) bool
- func (o *GetAccessPoliciesForbidden) IsRedirect() bool
- func (o *GetAccessPoliciesForbidden) IsServerError() bool
- func (o *GetAccessPoliciesForbidden) IsSuccess() bool
- func (o *GetAccessPoliciesForbidden) String() string
- type GetAccessPoliciesOK
- func (o *GetAccessPoliciesOK) Error() string
- func (o *GetAccessPoliciesOK) GetPayload() []*models.AccessPolicy
- func (o *GetAccessPoliciesOK) IsClientError() bool
- func (o *GetAccessPoliciesOK) IsCode(code int) bool
- func (o *GetAccessPoliciesOK) IsRedirect() bool
- func (o *GetAccessPoliciesOK) IsServerError() bool
- func (o *GetAccessPoliciesOK) IsSuccess() bool
- func (o *GetAccessPoliciesOK) String() string
- type GetAccessPoliciesParams
- func NewGetAccessPoliciesParams() *GetAccessPoliciesParams
- func NewGetAccessPoliciesParamsWithContext(ctx context.Context) *GetAccessPoliciesParams
- func NewGetAccessPoliciesParamsWithHTTPClient(client *http.Client) *GetAccessPoliciesParams
- func NewGetAccessPoliciesParamsWithTimeout(timeout time.Duration) *GetAccessPoliciesParams
- func (o *GetAccessPoliciesParams) SetContext(ctx context.Context)
- func (o *GetAccessPoliciesParams) SetDefaults()
- func (o *GetAccessPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetAccessPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetAccessPoliciesParams) WithContext(ctx context.Context) *GetAccessPoliciesParams
- func (o *GetAccessPoliciesParams) WithDefaults() *GetAccessPoliciesParams
- func (o *GetAccessPoliciesParams) WithHTTPClient(client *http.Client) *GetAccessPoliciesParams
- func (o *GetAccessPoliciesParams) WithTimeout(timeout time.Duration) *GetAccessPoliciesParams
- func (o *GetAccessPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccessPoliciesReader
- type GetAccessPoliciesUnauthorized
- func (o *GetAccessPoliciesUnauthorized) Error() string
- func (o *GetAccessPoliciesUnauthorized) IsClientError() bool
- func (o *GetAccessPoliciesUnauthorized) IsCode(code int) bool
- func (o *GetAccessPoliciesUnauthorized) IsRedirect() bool
- func (o *GetAccessPoliciesUnauthorized) IsServerError() bool
- func (o *GetAccessPoliciesUnauthorized) IsSuccess() bool
- func (o *GetAccessPoliciesUnauthorized) String() string
- type GetAccessPolicyConflict
- func (o *GetAccessPolicyConflict) Error() string
- func (o *GetAccessPolicyConflict) IsClientError() bool
- func (o *GetAccessPolicyConflict) IsCode(code int) bool
- func (o *GetAccessPolicyConflict) IsRedirect() bool
- func (o *GetAccessPolicyConflict) IsServerError() bool
- func (o *GetAccessPolicyConflict) IsSuccess() bool
- func (o *GetAccessPolicyConflict) String() string
- type GetAccessPolicyForResourceBadRequest
- func (o *GetAccessPolicyForResourceBadRequest) Error() string
- func (o *GetAccessPolicyForResourceBadRequest) IsClientError() bool
- func (o *GetAccessPolicyForResourceBadRequest) IsCode(code int) bool
- func (o *GetAccessPolicyForResourceBadRequest) IsRedirect() bool
- func (o *GetAccessPolicyForResourceBadRequest) IsServerError() bool
- func (o *GetAccessPolicyForResourceBadRequest) IsSuccess() bool
- func (o *GetAccessPolicyForResourceBadRequest) String() string
- type GetAccessPolicyForResourceConflict
- func (o *GetAccessPolicyForResourceConflict) Error() string
- func (o *GetAccessPolicyForResourceConflict) IsClientError() bool
- func (o *GetAccessPolicyForResourceConflict) IsCode(code int) bool
- func (o *GetAccessPolicyForResourceConflict) IsRedirect() bool
- func (o *GetAccessPolicyForResourceConflict) IsServerError() bool
- func (o *GetAccessPolicyForResourceConflict) IsSuccess() bool
- func (o *GetAccessPolicyForResourceConflict) String() string
- type GetAccessPolicyForResourceForbidden
- func (o *GetAccessPolicyForResourceForbidden) Error() string
- func (o *GetAccessPolicyForResourceForbidden) IsClientError() bool
- func (o *GetAccessPolicyForResourceForbidden) IsCode(code int) bool
- func (o *GetAccessPolicyForResourceForbidden) IsRedirect() bool
- func (o *GetAccessPolicyForResourceForbidden) IsServerError() bool
- func (o *GetAccessPolicyForResourceForbidden) IsSuccess() bool
- func (o *GetAccessPolicyForResourceForbidden) String() string
- type GetAccessPolicyForResourceNotFound
- func (o *GetAccessPolicyForResourceNotFound) Error() string
- func (o *GetAccessPolicyForResourceNotFound) IsClientError() bool
- func (o *GetAccessPolicyForResourceNotFound) IsCode(code int) bool
- func (o *GetAccessPolicyForResourceNotFound) IsRedirect() bool
- func (o *GetAccessPolicyForResourceNotFound) IsServerError() bool
- func (o *GetAccessPolicyForResourceNotFound) IsSuccess() bool
- func (o *GetAccessPolicyForResourceNotFound) String() string
- type GetAccessPolicyForResourceOK
- func (o *GetAccessPolicyForResourceOK) Error() string
- func (o *GetAccessPolicyForResourceOK) GetPayload() *models.AccessPolicy
- func (o *GetAccessPolicyForResourceOK) IsClientError() bool
- func (o *GetAccessPolicyForResourceOK) IsCode(code int) bool
- func (o *GetAccessPolicyForResourceOK) IsRedirect() bool
- func (o *GetAccessPolicyForResourceOK) IsServerError() bool
- func (o *GetAccessPolicyForResourceOK) IsSuccess() bool
- func (o *GetAccessPolicyForResourceOK) String() string
- type GetAccessPolicyForResourceParams
- func NewGetAccessPolicyForResourceParams() *GetAccessPolicyForResourceParams
- func NewGetAccessPolicyForResourceParamsWithContext(ctx context.Context) *GetAccessPolicyForResourceParams
- func NewGetAccessPolicyForResourceParamsWithHTTPClient(client *http.Client) *GetAccessPolicyForResourceParams
- func NewGetAccessPolicyForResourceParamsWithTimeout(timeout time.Duration) *GetAccessPolicyForResourceParams
- func (o *GetAccessPolicyForResourceParams) SetAction(action string)
- func (o *GetAccessPolicyForResourceParams) SetContext(ctx context.Context)
- func (o *GetAccessPolicyForResourceParams) SetDefaults()
- func (o *GetAccessPolicyForResourceParams) SetHTTPClient(client *http.Client)
- func (o *GetAccessPolicyForResourceParams) SetResource(resource string)
- func (o *GetAccessPolicyForResourceParams) SetTimeout(timeout time.Duration)
- func (o *GetAccessPolicyForResourceParams) WithAction(action string) *GetAccessPolicyForResourceParams
- func (o *GetAccessPolicyForResourceParams) WithContext(ctx context.Context) *GetAccessPolicyForResourceParams
- func (o *GetAccessPolicyForResourceParams) WithDefaults() *GetAccessPolicyForResourceParams
- func (o *GetAccessPolicyForResourceParams) WithHTTPClient(client *http.Client) *GetAccessPolicyForResourceParams
- func (o *GetAccessPolicyForResourceParams) WithResource(resource string) *GetAccessPolicyForResourceParams
- func (o *GetAccessPolicyForResourceParams) WithTimeout(timeout time.Duration) *GetAccessPolicyForResourceParams
- func (o *GetAccessPolicyForResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccessPolicyForResourceReader
- type GetAccessPolicyForResourceUnauthorized
- func (o *GetAccessPolicyForResourceUnauthorized) Error() string
- func (o *GetAccessPolicyForResourceUnauthorized) IsClientError() bool
- func (o *GetAccessPolicyForResourceUnauthorized) IsCode(code int) bool
- func (o *GetAccessPolicyForResourceUnauthorized) IsRedirect() bool
- func (o *GetAccessPolicyForResourceUnauthorized) IsServerError() bool
- func (o *GetAccessPolicyForResourceUnauthorized) IsSuccess() bool
- func (o *GetAccessPolicyForResourceUnauthorized) String() string
- type GetAccessPolicyForbidden
- func (o *GetAccessPolicyForbidden) Error() string
- func (o *GetAccessPolicyForbidden) IsClientError() bool
- func (o *GetAccessPolicyForbidden) IsCode(code int) bool
- func (o *GetAccessPolicyForbidden) IsRedirect() bool
- func (o *GetAccessPolicyForbidden) IsServerError() bool
- func (o *GetAccessPolicyForbidden) IsSuccess() bool
- func (o *GetAccessPolicyForbidden) String() string
- type GetAccessPolicyNotFound
- func (o *GetAccessPolicyNotFound) Error() string
- func (o *GetAccessPolicyNotFound) IsClientError() bool
- func (o *GetAccessPolicyNotFound) IsCode(code int) bool
- func (o *GetAccessPolicyNotFound) IsRedirect() bool
- func (o *GetAccessPolicyNotFound) IsServerError() bool
- func (o *GetAccessPolicyNotFound) IsSuccess() bool
- func (o *GetAccessPolicyNotFound) String() string
- type GetAccessPolicyOK
- func (o *GetAccessPolicyOK) Error() string
- func (o *GetAccessPolicyOK) GetPayload() *models.AccessPolicy
- func (o *GetAccessPolicyOK) IsClientError() bool
- func (o *GetAccessPolicyOK) IsCode(code int) bool
- func (o *GetAccessPolicyOK) IsRedirect() bool
- func (o *GetAccessPolicyOK) IsServerError() bool
- func (o *GetAccessPolicyOK) IsSuccess() bool
- func (o *GetAccessPolicyOK) String() string
- type GetAccessPolicyParams
- func NewGetAccessPolicyParams() *GetAccessPolicyParams
- func NewGetAccessPolicyParamsWithContext(ctx context.Context) *GetAccessPolicyParams
- func NewGetAccessPolicyParamsWithHTTPClient(client *http.Client) *GetAccessPolicyParams
- func NewGetAccessPolicyParamsWithTimeout(timeout time.Duration) *GetAccessPolicyParams
- func (o *GetAccessPolicyParams) SetContext(ctx context.Context)
- func (o *GetAccessPolicyParams) SetDefaults()
- func (o *GetAccessPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetAccessPolicyParams) SetID(id string)
- func (o *GetAccessPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetAccessPolicyParams) WithContext(ctx context.Context) *GetAccessPolicyParams
- func (o *GetAccessPolicyParams) WithDefaults() *GetAccessPolicyParams
- func (o *GetAccessPolicyParams) WithHTTPClient(client *http.Client) *GetAccessPolicyParams
- func (o *GetAccessPolicyParams) WithID(id string) *GetAccessPolicyParams
- func (o *GetAccessPolicyParams) WithTimeout(timeout time.Duration) *GetAccessPolicyParams
- func (o *GetAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccessPolicyReader
- type GetAccessPolicyUnauthorized
- func (o *GetAccessPolicyUnauthorized) Error() string
- func (o *GetAccessPolicyUnauthorized) IsClientError() bool
- func (o *GetAccessPolicyUnauthorized) IsCode(code int) bool
- func (o *GetAccessPolicyUnauthorized) IsRedirect() bool
- func (o *GetAccessPolicyUnauthorized) IsServerError() bool
- func (o *GetAccessPolicyUnauthorized) IsSuccess() bool
- func (o *GetAccessPolicyUnauthorized) String() string
- type GetResourcesForbidden
- func (o *GetResourcesForbidden) Error() string
- func (o *GetResourcesForbidden) IsClientError() bool
- func (o *GetResourcesForbidden) IsCode(code int) bool
- func (o *GetResourcesForbidden) IsRedirect() bool
- func (o *GetResourcesForbidden) IsServerError() bool
- func (o *GetResourcesForbidden) IsSuccess() bool
- func (o *GetResourcesForbidden) String() string
- type GetResourcesOK
- func (o *GetResourcesOK) Error() string
- func (o *GetResourcesOK) GetPayload() []*models.Resource
- func (o *GetResourcesOK) IsClientError() bool
- func (o *GetResourcesOK) IsCode(code int) bool
- func (o *GetResourcesOK) IsRedirect() bool
- func (o *GetResourcesOK) IsServerError() bool
- func (o *GetResourcesOK) IsSuccess() bool
- func (o *GetResourcesOK) String() string
- type GetResourcesParams
- func (o *GetResourcesParams) SetContext(ctx context.Context)
- func (o *GetResourcesParams) SetDefaults()
- func (o *GetResourcesParams) SetHTTPClient(client *http.Client)
- func (o *GetResourcesParams) SetTimeout(timeout time.Duration)
- func (o *GetResourcesParams) WithContext(ctx context.Context) *GetResourcesParams
- func (o *GetResourcesParams) WithDefaults() *GetResourcesParams
- func (o *GetResourcesParams) WithHTTPClient(client *http.Client) *GetResourcesParams
- func (o *GetResourcesParams) WithTimeout(timeout time.Duration) *GetResourcesParams
- func (o *GetResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourcesReader
- type GetResourcesUnauthorized
- func (o *GetResourcesUnauthorized) Error() string
- func (o *GetResourcesUnauthorized) IsClientError() bool
- func (o *GetResourcesUnauthorized) IsCode(code int) bool
- func (o *GetResourcesUnauthorized) IsRedirect() bool
- func (o *GetResourcesUnauthorized) IsServerError() bool
- func (o *GetResourcesUnauthorized) IsSuccess() bool
- func (o *GetResourcesUnauthorized) String() string
- type RemoveAccessPolicyConflict
- func (o *RemoveAccessPolicyConflict) Error() string
- func (o *RemoveAccessPolicyConflict) IsClientError() bool
- func (o *RemoveAccessPolicyConflict) IsCode(code int) bool
- func (o *RemoveAccessPolicyConflict) IsRedirect() bool
- func (o *RemoveAccessPolicyConflict) IsServerError() bool
- func (o *RemoveAccessPolicyConflict) IsSuccess() bool
- func (o *RemoveAccessPolicyConflict) String() string
- type RemoveAccessPolicyForbidden
- func (o *RemoveAccessPolicyForbidden) Error() string
- func (o *RemoveAccessPolicyForbidden) IsClientError() bool
- func (o *RemoveAccessPolicyForbidden) IsCode(code int) bool
- func (o *RemoveAccessPolicyForbidden) IsRedirect() bool
- func (o *RemoveAccessPolicyForbidden) IsServerError() bool
- func (o *RemoveAccessPolicyForbidden) IsSuccess() bool
- func (o *RemoveAccessPolicyForbidden) String() string
- type RemoveAccessPolicyNotFound
- func (o *RemoveAccessPolicyNotFound) Error() string
- func (o *RemoveAccessPolicyNotFound) IsClientError() bool
- func (o *RemoveAccessPolicyNotFound) IsCode(code int) bool
- func (o *RemoveAccessPolicyNotFound) IsRedirect() bool
- func (o *RemoveAccessPolicyNotFound) IsServerError() bool
- func (o *RemoveAccessPolicyNotFound) IsSuccess() bool
- func (o *RemoveAccessPolicyNotFound) String() string
- type RemoveAccessPolicyOK
- func (o *RemoveAccessPolicyOK) Error() string
- func (o *RemoveAccessPolicyOK) GetPayload() *models.AccessPolicy
- func (o *RemoveAccessPolicyOK) IsClientError() bool
- func (o *RemoveAccessPolicyOK) IsCode(code int) bool
- func (o *RemoveAccessPolicyOK) IsRedirect() bool
- func (o *RemoveAccessPolicyOK) IsServerError() bool
- func (o *RemoveAccessPolicyOK) IsSuccess() bool
- func (o *RemoveAccessPolicyOK) String() string
- type RemoveAccessPolicyParams
- func NewRemoveAccessPolicyParams() *RemoveAccessPolicyParams
- func NewRemoveAccessPolicyParamsWithContext(ctx context.Context) *RemoveAccessPolicyParams
- func NewRemoveAccessPolicyParamsWithHTTPClient(client *http.Client) *RemoveAccessPolicyParams
- func NewRemoveAccessPolicyParamsWithTimeout(timeout time.Duration) *RemoveAccessPolicyParams
- func (o *RemoveAccessPolicyParams) SetClientID(clientID *string)
- func (o *RemoveAccessPolicyParams) SetContext(ctx context.Context)
- func (o *RemoveAccessPolicyParams) SetDefaults()
- func (o *RemoveAccessPolicyParams) SetHTTPClient(client *http.Client)
- func (o *RemoveAccessPolicyParams) SetID(id string)
- func (o *RemoveAccessPolicyParams) SetTimeout(timeout time.Duration)
- func (o *RemoveAccessPolicyParams) SetVersion(version string)
- func (o *RemoveAccessPolicyParams) WithClientID(clientID *string) *RemoveAccessPolicyParams
- func (o *RemoveAccessPolicyParams) WithContext(ctx context.Context) *RemoveAccessPolicyParams
- func (o *RemoveAccessPolicyParams) WithDefaults() *RemoveAccessPolicyParams
- func (o *RemoveAccessPolicyParams) WithHTTPClient(client *http.Client) *RemoveAccessPolicyParams
- func (o *RemoveAccessPolicyParams) WithID(id string) *RemoveAccessPolicyParams
- func (o *RemoveAccessPolicyParams) WithTimeout(timeout time.Duration) *RemoveAccessPolicyParams
- func (o *RemoveAccessPolicyParams) WithVersion(version string) *RemoveAccessPolicyParams
- func (o *RemoveAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveAccessPolicyReader
- type RemoveAccessPolicyUnauthorized
- func (o *RemoveAccessPolicyUnauthorized) Error() string
- func (o *RemoveAccessPolicyUnauthorized) IsClientError() bool
- func (o *RemoveAccessPolicyUnauthorized) IsCode(code int) bool
- func (o *RemoveAccessPolicyUnauthorized) IsRedirect() bool
- func (o *RemoveAccessPolicyUnauthorized) IsServerError() bool
- func (o *RemoveAccessPolicyUnauthorized) IsSuccess() bool
- func (o *RemoveAccessPolicyUnauthorized) String() string
- type UpdateAccessPolicyBadRequest
- func (o *UpdateAccessPolicyBadRequest) Error() string
- func (o *UpdateAccessPolicyBadRequest) IsClientError() bool
- func (o *UpdateAccessPolicyBadRequest) IsCode(code int) bool
- func (o *UpdateAccessPolicyBadRequest) IsRedirect() bool
- func (o *UpdateAccessPolicyBadRequest) IsServerError() bool
- func (o *UpdateAccessPolicyBadRequest) IsSuccess() bool
- func (o *UpdateAccessPolicyBadRequest) String() string
- type UpdateAccessPolicyConflict
- func (o *UpdateAccessPolicyConflict) Error() string
- func (o *UpdateAccessPolicyConflict) IsClientError() bool
- func (o *UpdateAccessPolicyConflict) IsCode(code int) bool
- func (o *UpdateAccessPolicyConflict) IsRedirect() bool
- func (o *UpdateAccessPolicyConflict) IsServerError() bool
- func (o *UpdateAccessPolicyConflict) IsSuccess() bool
- func (o *UpdateAccessPolicyConflict) String() string
- type UpdateAccessPolicyForbidden
- func (o *UpdateAccessPolicyForbidden) Error() string
- func (o *UpdateAccessPolicyForbidden) IsClientError() bool
- func (o *UpdateAccessPolicyForbidden) IsCode(code int) bool
- func (o *UpdateAccessPolicyForbidden) IsRedirect() bool
- func (o *UpdateAccessPolicyForbidden) IsServerError() bool
- func (o *UpdateAccessPolicyForbidden) IsSuccess() bool
- func (o *UpdateAccessPolicyForbidden) String() string
- type UpdateAccessPolicyNotFound
- func (o *UpdateAccessPolicyNotFound) Error() string
- func (o *UpdateAccessPolicyNotFound) IsClientError() bool
- func (o *UpdateAccessPolicyNotFound) IsCode(code int) bool
- func (o *UpdateAccessPolicyNotFound) IsRedirect() bool
- func (o *UpdateAccessPolicyNotFound) IsServerError() bool
- func (o *UpdateAccessPolicyNotFound) IsSuccess() bool
- func (o *UpdateAccessPolicyNotFound) String() string
- type UpdateAccessPolicyOK
- func (o *UpdateAccessPolicyOK) Error() string
- func (o *UpdateAccessPolicyOK) GetPayload() *models.AccessPolicy
- func (o *UpdateAccessPolicyOK) IsClientError() bool
- func (o *UpdateAccessPolicyOK) IsCode(code int) bool
- func (o *UpdateAccessPolicyOK) IsRedirect() bool
- func (o *UpdateAccessPolicyOK) IsServerError() bool
- func (o *UpdateAccessPolicyOK) IsSuccess() bool
- func (o *UpdateAccessPolicyOK) String() string
- type UpdateAccessPolicyParams
- func NewUpdateAccessPolicyParams() *UpdateAccessPolicyParams
- func NewUpdateAccessPolicyParamsWithContext(ctx context.Context) *UpdateAccessPolicyParams
- func NewUpdateAccessPolicyParamsWithHTTPClient(client *http.Client) *UpdateAccessPolicyParams
- func NewUpdateAccessPolicyParamsWithTimeout(timeout time.Duration) *UpdateAccessPolicyParams
- func (o *UpdateAccessPolicyParams) SetBody(body *models.AccessPolicy)
- func (o *UpdateAccessPolicyParams) SetContext(ctx context.Context)
- func (o *UpdateAccessPolicyParams) SetDefaults()
- func (o *UpdateAccessPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAccessPolicyParams) SetID(id string)
- func (o *UpdateAccessPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAccessPolicyParams) WithBody(body *models.AccessPolicy) *UpdateAccessPolicyParams
- func (o *UpdateAccessPolicyParams) WithContext(ctx context.Context) *UpdateAccessPolicyParams
- func (o *UpdateAccessPolicyParams) WithDefaults() *UpdateAccessPolicyParams
- func (o *UpdateAccessPolicyParams) WithHTTPClient(client *http.Client) *UpdateAccessPolicyParams
- func (o *UpdateAccessPolicyParams) WithID(id string) *UpdateAccessPolicyParams
- func (o *UpdateAccessPolicyParams) WithTimeout(timeout time.Duration) *UpdateAccessPolicyParams
- func (o *UpdateAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAccessPolicyReader
- type UpdateAccessPolicyUnauthorized
- func (o *UpdateAccessPolicyUnauthorized) Error() string
- func (o *UpdateAccessPolicyUnauthorized) IsClientError() bool
- func (o *UpdateAccessPolicyUnauthorized) IsCode(code int) bool
- func (o *UpdateAccessPolicyUnauthorized) IsRedirect() bool
- func (o *UpdateAccessPolicyUnauthorized) IsServerError() bool
- func (o *UpdateAccessPolicyUnauthorized) IsSuccess() bool
- func (o *UpdateAccessPolicyUnauthorized) String() string
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 policies API
func (*Client) CreateAccessPolicy ¶
func (a *Client) CreateAccessPolicy(params *CreateAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccessPolicyOK, error)
CreateAccessPolicy creates access policy
func (*Client) GetAccessPolicies ¶
func (a *Client) GetAccessPolicies(params *GetAccessPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccessPoliciesOK, error)
GetAccessPolicies gets all access policies
func (*Client) GetAccessPolicy ¶
func (a *Client) GetAccessPolicy(params *GetAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccessPolicyOK, error)
GetAccessPolicy gets access policy
func (*Client) GetAccessPolicyForResource ¶
func (a *Client) GetAccessPolicyForResource(params *GetAccessPolicyForResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccessPolicyForResourceOK, error)
GetAccessPolicyForResource gets access policy for resource
Gets an access policy for the specified action and resource
func (*Client) GetResources ¶
func (a *Client) GetResources(params *GetResourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourcesOK, error)
GetResources gets available resources
Gets the available resources that support access/authorization policies
func (*Client) RemoveAccessPolicy ¶
func (a *Client) RemoveAccessPolicy(params *RemoveAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveAccessPolicyOK, error)
RemoveAccessPolicy deletes access policy
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAccessPolicy ¶
func (a *Client) UpdateAccessPolicy(params *UpdateAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccessPolicyOK, error)
UpdateAccessPolicy updates access policy
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAccessPolicy(params *CreateAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccessPolicyOK, error) GetAccessPolicies(params *GetAccessPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccessPoliciesOK, error) GetAccessPolicy(params *GetAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccessPolicyOK, error) GetAccessPolicyForResource(params *GetAccessPolicyForResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccessPolicyForResourceOK, error) GetResources(params *GetResourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourcesOK, error) RemoveAccessPolicy(params *RemoveAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveAccessPolicyOK, error) UpdateAccessPolicy(params *UpdateAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccessPolicyOK, 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 policies API client.
type CreateAccessPolicyBadRequest ¶
type CreateAccessPolicyBadRequest struct { }
CreateAccessPolicyBadRequest describes a response with status code 400, with default header values.
NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewCreateAccessPolicyBadRequest ¶
func NewCreateAccessPolicyBadRequest() *CreateAccessPolicyBadRequest
NewCreateAccessPolicyBadRequest creates a CreateAccessPolicyBadRequest with default headers values
func (*CreateAccessPolicyBadRequest) Error ¶
func (o *CreateAccessPolicyBadRequest) Error() string
func (*CreateAccessPolicyBadRequest) IsClientError ¶ added in v1.19.1
func (o *CreateAccessPolicyBadRequest) IsClientError() bool
IsClientError returns true when this create access policy bad request response has a 4xx status code
func (*CreateAccessPolicyBadRequest) IsCode ¶ added in v1.19.1
func (o *CreateAccessPolicyBadRequest) IsCode(code int) bool
IsCode returns true when this create access policy bad request response a status code equal to that given
func (*CreateAccessPolicyBadRequest) IsRedirect ¶ added in v1.19.1
func (o *CreateAccessPolicyBadRequest) IsRedirect() bool
IsRedirect returns true when this create access policy bad request response has a 3xx status code
func (*CreateAccessPolicyBadRequest) IsServerError ¶ added in v1.19.1
func (o *CreateAccessPolicyBadRequest) IsServerError() bool
IsServerError returns true when this create access policy bad request response has a 5xx status code
func (*CreateAccessPolicyBadRequest) IsSuccess ¶ added in v1.19.1
func (o *CreateAccessPolicyBadRequest) IsSuccess() bool
IsSuccess returns true when this create access policy bad request response has a 2xx status code
func (*CreateAccessPolicyBadRequest) String ¶ added in v1.19.1
func (o *CreateAccessPolicyBadRequest) String() string
type CreateAccessPolicyConflict ¶
type CreateAccessPolicyConflict struct { }
CreateAccessPolicyConflict describes a response with status code 409, with default header values.
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry might not be configured to use a ConfigurableAccessPolicyProvider.
func NewCreateAccessPolicyConflict ¶
func NewCreateAccessPolicyConflict() *CreateAccessPolicyConflict
NewCreateAccessPolicyConflict creates a CreateAccessPolicyConflict with default headers values
func (*CreateAccessPolicyConflict) Error ¶
func (o *CreateAccessPolicyConflict) Error() string
func (*CreateAccessPolicyConflict) IsClientError ¶ added in v1.19.1
func (o *CreateAccessPolicyConflict) IsClientError() bool
IsClientError returns true when this create access policy conflict response has a 4xx status code
func (*CreateAccessPolicyConflict) IsCode ¶ added in v1.19.1
func (o *CreateAccessPolicyConflict) IsCode(code int) bool
IsCode returns true when this create access policy conflict response a status code equal to that given
func (*CreateAccessPolicyConflict) IsRedirect ¶ added in v1.19.1
func (o *CreateAccessPolicyConflict) IsRedirect() bool
IsRedirect returns true when this create access policy conflict response has a 3xx status code
func (*CreateAccessPolicyConflict) IsServerError ¶ added in v1.19.1
func (o *CreateAccessPolicyConflict) IsServerError() bool
IsServerError returns true when this create access policy conflict response has a 5xx status code
func (*CreateAccessPolicyConflict) IsSuccess ¶ added in v1.19.1
func (o *CreateAccessPolicyConflict) IsSuccess() bool
IsSuccess returns true when this create access policy conflict response has a 2xx status code
func (*CreateAccessPolicyConflict) String ¶ added in v1.19.1
func (o *CreateAccessPolicyConflict) String() string
type CreateAccessPolicyForbidden ¶
type CreateAccessPolicyForbidden struct { }
CreateAccessPolicyForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewCreateAccessPolicyForbidden ¶
func NewCreateAccessPolicyForbidden() *CreateAccessPolicyForbidden
NewCreateAccessPolicyForbidden creates a CreateAccessPolicyForbidden with default headers values
func (*CreateAccessPolicyForbidden) Error ¶
func (o *CreateAccessPolicyForbidden) Error() string
func (*CreateAccessPolicyForbidden) IsClientError ¶ added in v1.19.1
func (o *CreateAccessPolicyForbidden) IsClientError() bool
IsClientError returns true when this create access policy forbidden response has a 4xx status code
func (*CreateAccessPolicyForbidden) IsCode ¶ added in v1.19.1
func (o *CreateAccessPolicyForbidden) IsCode(code int) bool
IsCode returns true when this create access policy forbidden response a status code equal to that given
func (*CreateAccessPolicyForbidden) IsRedirect ¶ added in v1.19.1
func (o *CreateAccessPolicyForbidden) IsRedirect() bool
IsRedirect returns true when this create access policy forbidden response has a 3xx status code
func (*CreateAccessPolicyForbidden) IsServerError ¶ added in v1.19.1
func (o *CreateAccessPolicyForbidden) IsServerError() bool
IsServerError returns true when this create access policy forbidden response has a 5xx status code
func (*CreateAccessPolicyForbidden) IsSuccess ¶ added in v1.19.1
func (o *CreateAccessPolicyForbidden) IsSuccess() bool
IsSuccess returns true when this create access policy forbidden response has a 2xx status code
func (*CreateAccessPolicyForbidden) String ¶ added in v1.19.1
func (o *CreateAccessPolicyForbidden) String() string
type CreateAccessPolicyOK ¶
type CreateAccessPolicyOK struct {
Payload *models.AccessPolicy
}
CreateAccessPolicyOK describes a response with status code 200, with default header values.
successful operation
func NewCreateAccessPolicyOK ¶
func NewCreateAccessPolicyOK() *CreateAccessPolicyOK
NewCreateAccessPolicyOK creates a CreateAccessPolicyOK with default headers values
func (*CreateAccessPolicyOK) Error ¶
func (o *CreateAccessPolicyOK) Error() string
func (*CreateAccessPolicyOK) GetPayload ¶
func (o *CreateAccessPolicyOK) GetPayload() *models.AccessPolicy
func (*CreateAccessPolicyOK) IsClientError ¶ added in v1.19.1
func (o *CreateAccessPolicyOK) IsClientError() bool
IsClientError returns true when this create access policy o k response has a 4xx status code
func (*CreateAccessPolicyOK) IsCode ¶ added in v1.19.1
func (o *CreateAccessPolicyOK) IsCode(code int) bool
IsCode returns true when this create access policy o k response a status code equal to that given
func (*CreateAccessPolicyOK) IsRedirect ¶ added in v1.19.1
func (o *CreateAccessPolicyOK) IsRedirect() bool
IsRedirect returns true when this create access policy o k response has a 3xx status code
func (*CreateAccessPolicyOK) IsServerError ¶ added in v1.19.1
func (o *CreateAccessPolicyOK) IsServerError() bool
IsServerError returns true when this create access policy o k response has a 5xx status code
func (*CreateAccessPolicyOK) IsSuccess ¶ added in v1.19.1
func (o *CreateAccessPolicyOK) IsSuccess() bool
IsSuccess returns true when this create access policy o k response has a 2xx status code
func (*CreateAccessPolicyOK) String ¶ added in v1.19.1
func (o *CreateAccessPolicyOK) String() string
type CreateAccessPolicyParams ¶
type CreateAccessPolicyParams struct { /* Body. The access policy configuration details. */ Body *models.AccessPolicy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAccessPolicyParams contains all the parameters to send to the API endpoint
for the create access policy operation. Typically these are written to a http.Request.
func NewCreateAccessPolicyParams ¶
func NewCreateAccessPolicyParams() *CreateAccessPolicyParams
NewCreateAccessPolicyParams creates a new CreateAccessPolicyParams 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 NewCreateAccessPolicyParamsWithContext ¶
func NewCreateAccessPolicyParamsWithContext(ctx context.Context) *CreateAccessPolicyParams
NewCreateAccessPolicyParamsWithContext creates a new CreateAccessPolicyParams object with the ability to set a context for a request.
func NewCreateAccessPolicyParamsWithHTTPClient ¶
func NewCreateAccessPolicyParamsWithHTTPClient(client *http.Client) *CreateAccessPolicyParams
NewCreateAccessPolicyParamsWithHTTPClient creates a new CreateAccessPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAccessPolicyParamsWithTimeout ¶
func NewCreateAccessPolicyParamsWithTimeout(timeout time.Duration) *CreateAccessPolicyParams
NewCreateAccessPolicyParamsWithTimeout creates a new CreateAccessPolicyParams object with the ability to set a timeout on a request.
func (*CreateAccessPolicyParams) SetBody ¶
func (o *CreateAccessPolicyParams) SetBody(body *models.AccessPolicy)
SetBody adds the body to the create access policy params
func (*CreateAccessPolicyParams) SetContext ¶
func (o *CreateAccessPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create access policy params
func (*CreateAccessPolicyParams) SetDefaults ¶
func (o *CreateAccessPolicyParams) SetDefaults()
SetDefaults hydrates default values in the create access policy params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAccessPolicyParams) SetHTTPClient ¶
func (o *CreateAccessPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create access policy params
func (*CreateAccessPolicyParams) SetTimeout ¶
func (o *CreateAccessPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create access policy params
func (*CreateAccessPolicyParams) WithBody ¶
func (o *CreateAccessPolicyParams) WithBody(body *models.AccessPolicy) *CreateAccessPolicyParams
WithBody adds the body to the create access policy params
func (*CreateAccessPolicyParams) WithContext ¶
func (o *CreateAccessPolicyParams) WithContext(ctx context.Context) *CreateAccessPolicyParams
WithContext adds the context to the create access policy params
func (*CreateAccessPolicyParams) WithDefaults ¶
func (o *CreateAccessPolicyParams) WithDefaults() *CreateAccessPolicyParams
WithDefaults hydrates default values in the create access policy params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAccessPolicyParams) WithHTTPClient ¶
func (o *CreateAccessPolicyParams) WithHTTPClient(client *http.Client) *CreateAccessPolicyParams
WithHTTPClient adds the HTTPClient to the create access policy params
func (*CreateAccessPolicyParams) WithTimeout ¶
func (o *CreateAccessPolicyParams) WithTimeout(timeout time.Duration) *CreateAccessPolicyParams
WithTimeout adds the timeout to the create access policy params
func (*CreateAccessPolicyParams) WriteToRequest ¶
func (o *CreateAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAccessPolicyReader ¶
type CreateAccessPolicyReader struct {
// contains filtered or unexported fields
}
CreateAccessPolicyReader is a Reader for the CreateAccessPolicy structure.
func (*CreateAccessPolicyReader) ReadResponse ¶
func (o *CreateAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAccessPolicyUnauthorized ¶
type CreateAccessPolicyUnauthorized struct { }
CreateAccessPolicyUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewCreateAccessPolicyUnauthorized ¶
func NewCreateAccessPolicyUnauthorized() *CreateAccessPolicyUnauthorized
NewCreateAccessPolicyUnauthorized creates a CreateAccessPolicyUnauthorized with default headers values
func (*CreateAccessPolicyUnauthorized) Error ¶
func (o *CreateAccessPolicyUnauthorized) Error() string
func (*CreateAccessPolicyUnauthorized) IsClientError ¶ added in v1.19.1
func (o *CreateAccessPolicyUnauthorized) IsClientError() bool
IsClientError returns true when this create access policy unauthorized response has a 4xx status code
func (*CreateAccessPolicyUnauthorized) IsCode ¶ added in v1.19.1
func (o *CreateAccessPolicyUnauthorized) IsCode(code int) bool
IsCode returns true when this create access policy unauthorized response a status code equal to that given
func (*CreateAccessPolicyUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *CreateAccessPolicyUnauthorized) IsRedirect() bool
IsRedirect returns true when this create access policy unauthorized response has a 3xx status code
func (*CreateAccessPolicyUnauthorized) IsServerError ¶ added in v1.19.1
func (o *CreateAccessPolicyUnauthorized) IsServerError() bool
IsServerError returns true when this create access policy unauthorized response has a 5xx status code
func (*CreateAccessPolicyUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *CreateAccessPolicyUnauthorized) IsSuccess() bool
IsSuccess returns true when this create access policy unauthorized response has a 2xx status code
func (*CreateAccessPolicyUnauthorized) String ¶ added in v1.19.1
func (o *CreateAccessPolicyUnauthorized) String() string
type GetAccessPoliciesConflict ¶
type GetAccessPoliciesConflict struct { }
GetAccessPoliciesConflict describes a response with status code 409, with default header values.
NiFi Registry was unable to complete the request because it assumes a server state that is not valid.
func NewGetAccessPoliciesConflict ¶
func NewGetAccessPoliciesConflict() *GetAccessPoliciesConflict
NewGetAccessPoliciesConflict creates a GetAccessPoliciesConflict with default headers values
func (*GetAccessPoliciesConflict) Error ¶
func (o *GetAccessPoliciesConflict) Error() string
func (*GetAccessPoliciesConflict) IsClientError ¶ added in v1.19.1
func (o *GetAccessPoliciesConflict) IsClientError() bool
IsClientError returns true when this get access policies conflict response has a 4xx status code
func (*GetAccessPoliciesConflict) IsCode ¶ added in v1.19.1
func (o *GetAccessPoliciesConflict) IsCode(code int) bool
IsCode returns true when this get access policies conflict response a status code equal to that given
func (*GetAccessPoliciesConflict) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPoliciesConflict) IsRedirect() bool
IsRedirect returns true when this get access policies conflict response has a 3xx status code
func (*GetAccessPoliciesConflict) IsServerError ¶ added in v1.19.1
func (o *GetAccessPoliciesConflict) IsServerError() bool
IsServerError returns true when this get access policies conflict response has a 5xx status code
func (*GetAccessPoliciesConflict) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPoliciesConflict) IsSuccess() bool
IsSuccess returns true when this get access policies conflict response has a 2xx status code
func (*GetAccessPoliciesConflict) String ¶ added in v1.19.1
func (o *GetAccessPoliciesConflict) String() string
type GetAccessPoliciesForbidden ¶
type GetAccessPoliciesForbidden struct { }
GetAccessPoliciesForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetAccessPoliciesForbidden ¶
func NewGetAccessPoliciesForbidden() *GetAccessPoliciesForbidden
NewGetAccessPoliciesForbidden creates a GetAccessPoliciesForbidden with default headers values
func (*GetAccessPoliciesForbidden) Error ¶
func (o *GetAccessPoliciesForbidden) Error() string
func (*GetAccessPoliciesForbidden) IsClientError ¶ added in v1.19.1
func (o *GetAccessPoliciesForbidden) IsClientError() bool
IsClientError returns true when this get access policies forbidden response has a 4xx status code
func (*GetAccessPoliciesForbidden) IsCode ¶ added in v1.19.1
func (o *GetAccessPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this get access policies forbidden response a status code equal to that given
func (*GetAccessPoliciesForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this get access policies forbidden response has a 3xx status code
func (*GetAccessPoliciesForbidden) IsServerError ¶ added in v1.19.1
func (o *GetAccessPoliciesForbidden) IsServerError() bool
IsServerError returns true when this get access policies forbidden response has a 5xx status code
func (*GetAccessPoliciesForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this get access policies forbidden response has a 2xx status code
func (*GetAccessPoliciesForbidden) String ¶ added in v1.19.1
func (o *GetAccessPoliciesForbidden) String() string
type GetAccessPoliciesOK ¶
type GetAccessPoliciesOK struct {
Payload []*models.AccessPolicy
}
GetAccessPoliciesOK describes a response with status code 200, with default header values.
successful operation
func NewGetAccessPoliciesOK ¶
func NewGetAccessPoliciesOK() *GetAccessPoliciesOK
NewGetAccessPoliciesOK creates a GetAccessPoliciesOK with default headers values
func (*GetAccessPoliciesOK) Error ¶
func (o *GetAccessPoliciesOK) Error() string
func (*GetAccessPoliciesOK) GetPayload ¶
func (o *GetAccessPoliciesOK) GetPayload() []*models.AccessPolicy
func (*GetAccessPoliciesOK) IsClientError ¶ added in v1.19.1
func (o *GetAccessPoliciesOK) IsClientError() bool
IsClientError returns true when this get access policies o k response has a 4xx status code
func (*GetAccessPoliciesOK) IsCode ¶ added in v1.19.1
func (o *GetAccessPoliciesOK) IsCode(code int) bool
IsCode returns true when this get access policies o k response a status code equal to that given
func (*GetAccessPoliciesOK) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPoliciesOK) IsRedirect() bool
IsRedirect returns true when this get access policies o k response has a 3xx status code
func (*GetAccessPoliciesOK) IsServerError ¶ added in v1.19.1
func (o *GetAccessPoliciesOK) IsServerError() bool
IsServerError returns true when this get access policies o k response has a 5xx status code
func (*GetAccessPoliciesOK) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPoliciesOK) IsSuccess() bool
IsSuccess returns true when this get access policies o k response has a 2xx status code
func (*GetAccessPoliciesOK) String ¶ added in v1.19.1
func (o *GetAccessPoliciesOK) String() string
type GetAccessPoliciesParams ¶
type GetAccessPoliciesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccessPoliciesParams contains all the parameters to send to the API endpoint
for the get access policies operation. Typically these are written to a http.Request.
func NewGetAccessPoliciesParams ¶
func NewGetAccessPoliciesParams() *GetAccessPoliciesParams
NewGetAccessPoliciesParams creates a new GetAccessPoliciesParams 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 NewGetAccessPoliciesParamsWithContext ¶
func NewGetAccessPoliciesParamsWithContext(ctx context.Context) *GetAccessPoliciesParams
NewGetAccessPoliciesParamsWithContext creates a new GetAccessPoliciesParams object with the ability to set a context for a request.
func NewGetAccessPoliciesParamsWithHTTPClient ¶
func NewGetAccessPoliciesParamsWithHTTPClient(client *http.Client) *GetAccessPoliciesParams
NewGetAccessPoliciesParamsWithHTTPClient creates a new GetAccessPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccessPoliciesParamsWithTimeout ¶
func NewGetAccessPoliciesParamsWithTimeout(timeout time.Duration) *GetAccessPoliciesParams
NewGetAccessPoliciesParamsWithTimeout creates a new GetAccessPoliciesParams object with the ability to set a timeout on a request.
func (*GetAccessPoliciesParams) SetContext ¶
func (o *GetAccessPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the get access policies params
func (*GetAccessPoliciesParams) SetDefaults ¶
func (o *GetAccessPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the get access policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessPoliciesParams) SetHTTPClient ¶
func (o *GetAccessPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get access policies params
func (*GetAccessPoliciesParams) SetTimeout ¶
func (o *GetAccessPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get access policies params
func (*GetAccessPoliciesParams) WithContext ¶
func (o *GetAccessPoliciesParams) WithContext(ctx context.Context) *GetAccessPoliciesParams
WithContext adds the context to the get access policies params
func (*GetAccessPoliciesParams) WithDefaults ¶
func (o *GetAccessPoliciesParams) WithDefaults() *GetAccessPoliciesParams
WithDefaults hydrates default values in the get access policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessPoliciesParams) WithHTTPClient ¶
func (o *GetAccessPoliciesParams) WithHTTPClient(client *http.Client) *GetAccessPoliciesParams
WithHTTPClient adds the HTTPClient to the get access policies params
func (*GetAccessPoliciesParams) WithTimeout ¶
func (o *GetAccessPoliciesParams) WithTimeout(timeout time.Duration) *GetAccessPoliciesParams
WithTimeout adds the timeout to the get access policies params
func (*GetAccessPoliciesParams) WriteToRequest ¶
func (o *GetAccessPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccessPoliciesReader ¶
type GetAccessPoliciesReader struct {
// contains filtered or unexported fields
}
GetAccessPoliciesReader is a Reader for the GetAccessPolicies structure.
func (*GetAccessPoliciesReader) ReadResponse ¶
func (o *GetAccessPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccessPoliciesUnauthorized ¶
type GetAccessPoliciesUnauthorized struct { }
GetAccessPoliciesUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetAccessPoliciesUnauthorized ¶
func NewGetAccessPoliciesUnauthorized() *GetAccessPoliciesUnauthorized
NewGetAccessPoliciesUnauthorized creates a GetAccessPoliciesUnauthorized with default headers values
func (*GetAccessPoliciesUnauthorized) Error ¶
func (o *GetAccessPoliciesUnauthorized) Error() string
func (*GetAccessPoliciesUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetAccessPoliciesUnauthorized) IsClientError() bool
IsClientError returns true when this get access policies unauthorized response has a 4xx status code
func (*GetAccessPoliciesUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetAccessPoliciesUnauthorized) IsCode(code int) bool
IsCode returns true when this get access policies unauthorized response a status code equal to that given
func (*GetAccessPoliciesUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPoliciesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get access policies unauthorized response has a 3xx status code
func (*GetAccessPoliciesUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetAccessPoliciesUnauthorized) IsServerError() bool
IsServerError returns true when this get access policies unauthorized response has a 5xx status code
func (*GetAccessPoliciesUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPoliciesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get access policies unauthorized response has a 2xx status code
func (*GetAccessPoliciesUnauthorized) String ¶ added in v1.19.1
func (o *GetAccessPoliciesUnauthorized) String() string
type GetAccessPolicyConflict ¶
type GetAccessPolicyConflict struct { }
GetAccessPolicyConflict describes a response with status code 409, with default header values.
NiFi Registry was unable to complete the request because it assumes a server state that is not valid.
func NewGetAccessPolicyConflict ¶
func NewGetAccessPolicyConflict() *GetAccessPolicyConflict
NewGetAccessPolicyConflict creates a GetAccessPolicyConflict with default headers values
func (*GetAccessPolicyConflict) Error ¶
func (o *GetAccessPolicyConflict) Error() string
func (*GetAccessPolicyConflict) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyConflict) IsClientError() bool
IsClientError returns true when this get access policy conflict response has a 4xx status code
func (*GetAccessPolicyConflict) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyConflict) IsCode(code int) bool
IsCode returns true when this get access policy conflict response a status code equal to that given
func (*GetAccessPolicyConflict) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyConflict) IsRedirect() bool
IsRedirect returns true when this get access policy conflict response has a 3xx status code
func (*GetAccessPolicyConflict) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyConflict) IsServerError() bool
IsServerError returns true when this get access policy conflict response has a 5xx status code
func (*GetAccessPolicyConflict) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyConflict) IsSuccess() bool
IsSuccess returns true when this get access policy conflict response has a 2xx status code
func (*GetAccessPolicyConflict) String ¶ added in v1.19.1
func (o *GetAccessPolicyConflict) String() string
type GetAccessPolicyForResourceBadRequest ¶
type GetAccessPolicyForResourceBadRequest struct { }
GetAccessPolicyForResourceBadRequest describes a response with status code 400, with default header values.
NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewGetAccessPolicyForResourceBadRequest ¶
func NewGetAccessPolicyForResourceBadRequest() *GetAccessPolicyForResourceBadRequest
NewGetAccessPolicyForResourceBadRequest creates a GetAccessPolicyForResourceBadRequest with default headers values
func (*GetAccessPolicyForResourceBadRequest) Error ¶
func (o *GetAccessPolicyForResourceBadRequest) Error() string
func (*GetAccessPolicyForResourceBadRequest) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceBadRequest) IsClientError() bool
IsClientError returns true when this get access policy for resource bad request response has a 4xx status code
func (*GetAccessPolicyForResourceBadRequest) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceBadRequest) IsCode(code int) bool
IsCode returns true when this get access policy for resource bad request response a status code equal to that given
func (*GetAccessPolicyForResourceBadRequest) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceBadRequest) IsRedirect() bool
IsRedirect returns true when this get access policy for resource bad request response has a 3xx status code
func (*GetAccessPolicyForResourceBadRequest) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceBadRequest) IsServerError() bool
IsServerError returns true when this get access policy for resource bad request response has a 5xx status code
func (*GetAccessPolicyForResourceBadRequest) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceBadRequest) IsSuccess() bool
IsSuccess returns true when this get access policy for resource bad request response has a 2xx status code
func (*GetAccessPolicyForResourceBadRequest) String ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceBadRequest) String() string
type GetAccessPolicyForResourceConflict ¶
type GetAccessPolicyForResourceConflict struct { }
GetAccessPolicyForResourceConflict describes a response with status code 409, with default header values.
NiFi Registry was unable to complete the request because it assumes a server state that is not valid.
func NewGetAccessPolicyForResourceConflict ¶
func NewGetAccessPolicyForResourceConflict() *GetAccessPolicyForResourceConflict
NewGetAccessPolicyForResourceConflict creates a GetAccessPolicyForResourceConflict with default headers values
func (*GetAccessPolicyForResourceConflict) Error ¶
func (o *GetAccessPolicyForResourceConflict) Error() string
func (*GetAccessPolicyForResourceConflict) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceConflict) IsClientError() bool
IsClientError returns true when this get access policy for resource conflict response has a 4xx status code
func (*GetAccessPolicyForResourceConflict) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceConflict) IsCode(code int) bool
IsCode returns true when this get access policy for resource conflict response a status code equal to that given
func (*GetAccessPolicyForResourceConflict) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceConflict) IsRedirect() bool
IsRedirect returns true when this get access policy for resource conflict response has a 3xx status code
func (*GetAccessPolicyForResourceConflict) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceConflict) IsServerError() bool
IsServerError returns true when this get access policy for resource conflict response has a 5xx status code
func (*GetAccessPolicyForResourceConflict) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceConflict) IsSuccess() bool
IsSuccess returns true when this get access policy for resource conflict response has a 2xx status code
func (*GetAccessPolicyForResourceConflict) String ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceConflict) String() string
type GetAccessPolicyForResourceForbidden ¶
type GetAccessPolicyForResourceForbidden struct { }
GetAccessPolicyForResourceForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetAccessPolicyForResourceForbidden ¶
func NewGetAccessPolicyForResourceForbidden() *GetAccessPolicyForResourceForbidden
NewGetAccessPolicyForResourceForbidden creates a GetAccessPolicyForResourceForbidden with default headers values
func (*GetAccessPolicyForResourceForbidden) Error ¶
func (o *GetAccessPolicyForResourceForbidden) Error() string
func (*GetAccessPolicyForResourceForbidden) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceForbidden) IsClientError() bool
IsClientError returns true when this get access policy for resource forbidden response has a 4xx status code
func (*GetAccessPolicyForResourceForbidden) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceForbidden) IsCode(code int) bool
IsCode returns true when this get access policy for resource forbidden response a status code equal to that given
func (*GetAccessPolicyForResourceForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceForbidden) IsRedirect() bool
IsRedirect returns true when this get access policy for resource forbidden response has a 3xx status code
func (*GetAccessPolicyForResourceForbidden) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceForbidden) IsServerError() bool
IsServerError returns true when this get access policy for resource forbidden response has a 5xx status code
func (*GetAccessPolicyForResourceForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceForbidden) IsSuccess() bool
IsSuccess returns true when this get access policy for resource forbidden response has a 2xx status code
func (*GetAccessPolicyForResourceForbidden) String ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceForbidden) String() string
type GetAccessPolicyForResourceNotFound ¶
type GetAccessPolicyForResourceNotFound struct { }
GetAccessPolicyForResourceNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewGetAccessPolicyForResourceNotFound ¶
func NewGetAccessPolicyForResourceNotFound() *GetAccessPolicyForResourceNotFound
NewGetAccessPolicyForResourceNotFound creates a GetAccessPolicyForResourceNotFound with default headers values
func (*GetAccessPolicyForResourceNotFound) Error ¶
func (o *GetAccessPolicyForResourceNotFound) Error() string
func (*GetAccessPolicyForResourceNotFound) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceNotFound) IsClientError() bool
IsClientError returns true when this get access policy for resource not found response has a 4xx status code
func (*GetAccessPolicyForResourceNotFound) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceNotFound) IsCode(code int) bool
IsCode returns true when this get access policy for resource not found response a status code equal to that given
func (*GetAccessPolicyForResourceNotFound) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceNotFound) IsRedirect() bool
IsRedirect returns true when this get access policy for resource not found response has a 3xx status code
func (*GetAccessPolicyForResourceNotFound) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceNotFound) IsServerError() bool
IsServerError returns true when this get access policy for resource not found response has a 5xx status code
func (*GetAccessPolicyForResourceNotFound) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceNotFound) IsSuccess() bool
IsSuccess returns true when this get access policy for resource not found response has a 2xx status code
func (*GetAccessPolicyForResourceNotFound) String ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceNotFound) String() string
type GetAccessPolicyForResourceOK ¶
type GetAccessPolicyForResourceOK struct {
Payload *models.AccessPolicy
}
GetAccessPolicyForResourceOK describes a response with status code 200, with default header values.
successful operation
func NewGetAccessPolicyForResourceOK ¶
func NewGetAccessPolicyForResourceOK() *GetAccessPolicyForResourceOK
NewGetAccessPolicyForResourceOK creates a GetAccessPolicyForResourceOK with default headers values
func (*GetAccessPolicyForResourceOK) Error ¶
func (o *GetAccessPolicyForResourceOK) Error() string
func (*GetAccessPolicyForResourceOK) GetPayload ¶
func (o *GetAccessPolicyForResourceOK) GetPayload() *models.AccessPolicy
func (*GetAccessPolicyForResourceOK) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceOK) IsClientError() bool
IsClientError returns true when this get access policy for resource o k response has a 4xx status code
func (*GetAccessPolicyForResourceOK) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceOK) IsCode(code int) bool
IsCode returns true when this get access policy for resource o k response a status code equal to that given
func (*GetAccessPolicyForResourceOK) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceOK) IsRedirect() bool
IsRedirect returns true when this get access policy for resource o k response has a 3xx status code
func (*GetAccessPolicyForResourceOK) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceOK) IsServerError() bool
IsServerError returns true when this get access policy for resource o k response has a 5xx status code
func (*GetAccessPolicyForResourceOK) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceOK) IsSuccess() bool
IsSuccess returns true when this get access policy for resource o k response has a 2xx status code
func (*GetAccessPolicyForResourceOK) String ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceOK) String() string
type GetAccessPolicyForResourceParams ¶
type GetAccessPolicyForResourceParams struct { /* Action. The request action. */ Action string /* Resource. The resource of the policy. */ Resource string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccessPolicyForResourceParams contains all the parameters to send to the API endpoint
for the get access policy for resource operation. Typically these are written to a http.Request.
func NewGetAccessPolicyForResourceParams ¶
func NewGetAccessPolicyForResourceParams() *GetAccessPolicyForResourceParams
NewGetAccessPolicyForResourceParams creates a new GetAccessPolicyForResourceParams 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 NewGetAccessPolicyForResourceParamsWithContext ¶
func NewGetAccessPolicyForResourceParamsWithContext(ctx context.Context) *GetAccessPolicyForResourceParams
NewGetAccessPolicyForResourceParamsWithContext creates a new GetAccessPolicyForResourceParams object with the ability to set a context for a request.
func NewGetAccessPolicyForResourceParamsWithHTTPClient ¶
func NewGetAccessPolicyForResourceParamsWithHTTPClient(client *http.Client) *GetAccessPolicyForResourceParams
NewGetAccessPolicyForResourceParamsWithHTTPClient creates a new GetAccessPolicyForResourceParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccessPolicyForResourceParamsWithTimeout ¶
func NewGetAccessPolicyForResourceParamsWithTimeout(timeout time.Duration) *GetAccessPolicyForResourceParams
NewGetAccessPolicyForResourceParamsWithTimeout creates a new GetAccessPolicyForResourceParams object with the ability to set a timeout on a request.
func (*GetAccessPolicyForResourceParams) SetAction ¶
func (o *GetAccessPolicyForResourceParams) SetAction(action string)
SetAction adds the action to the get access policy for resource params
func (*GetAccessPolicyForResourceParams) SetContext ¶
func (o *GetAccessPolicyForResourceParams) SetContext(ctx context.Context)
SetContext adds the context to the get access policy for resource params
func (*GetAccessPolicyForResourceParams) SetDefaults ¶
func (o *GetAccessPolicyForResourceParams) SetDefaults()
SetDefaults hydrates default values in the get access policy for resource params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessPolicyForResourceParams) SetHTTPClient ¶
func (o *GetAccessPolicyForResourceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get access policy for resource params
func (*GetAccessPolicyForResourceParams) SetResource ¶
func (o *GetAccessPolicyForResourceParams) SetResource(resource string)
SetResource adds the resource to the get access policy for resource params
func (*GetAccessPolicyForResourceParams) SetTimeout ¶
func (o *GetAccessPolicyForResourceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get access policy for resource params
func (*GetAccessPolicyForResourceParams) WithAction ¶
func (o *GetAccessPolicyForResourceParams) WithAction(action string) *GetAccessPolicyForResourceParams
WithAction adds the action to the get access policy for resource params
func (*GetAccessPolicyForResourceParams) WithContext ¶
func (o *GetAccessPolicyForResourceParams) WithContext(ctx context.Context) *GetAccessPolicyForResourceParams
WithContext adds the context to the get access policy for resource params
func (*GetAccessPolicyForResourceParams) WithDefaults ¶
func (o *GetAccessPolicyForResourceParams) WithDefaults() *GetAccessPolicyForResourceParams
WithDefaults hydrates default values in the get access policy for resource params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessPolicyForResourceParams) WithHTTPClient ¶
func (o *GetAccessPolicyForResourceParams) WithHTTPClient(client *http.Client) *GetAccessPolicyForResourceParams
WithHTTPClient adds the HTTPClient to the get access policy for resource params
func (*GetAccessPolicyForResourceParams) WithResource ¶
func (o *GetAccessPolicyForResourceParams) WithResource(resource string) *GetAccessPolicyForResourceParams
WithResource adds the resource to the get access policy for resource params
func (*GetAccessPolicyForResourceParams) WithTimeout ¶
func (o *GetAccessPolicyForResourceParams) WithTimeout(timeout time.Duration) *GetAccessPolicyForResourceParams
WithTimeout adds the timeout to the get access policy for resource params
func (*GetAccessPolicyForResourceParams) WriteToRequest ¶
func (o *GetAccessPolicyForResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccessPolicyForResourceReader ¶
type GetAccessPolicyForResourceReader struct {
// contains filtered or unexported fields
}
GetAccessPolicyForResourceReader is a Reader for the GetAccessPolicyForResource structure.
func (*GetAccessPolicyForResourceReader) ReadResponse ¶
func (o *GetAccessPolicyForResourceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccessPolicyForResourceUnauthorized ¶
type GetAccessPolicyForResourceUnauthorized struct { }
GetAccessPolicyForResourceUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetAccessPolicyForResourceUnauthorized ¶
func NewGetAccessPolicyForResourceUnauthorized() *GetAccessPolicyForResourceUnauthorized
NewGetAccessPolicyForResourceUnauthorized creates a GetAccessPolicyForResourceUnauthorized with default headers values
func (*GetAccessPolicyForResourceUnauthorized) Error ¶
func (o *GetAccessPolicyForResourceUnauthorized) Error() string
func (*GetAccessPolicyForResourceUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceUnauthorized) IsClientError() bool
IsClientError returns true when this get access policy for resource unauthorized response has a 4xx status code
func (*GetAccessPolicyForResourceUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceUnauthorized) IsCode(code int) bool
IsCode returns true when this get access policy for resource unauthorized response a status code equal to that given
func (*GetAccessPolicyForResourceUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceUnauthorized) IsRedirect() bool
IsRedirect returns true when this get access policy for resource unauthorized response has a 3xx status code
func (*GetAccessPolicyForResourceUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceUnauthorized) IsServerError() bool
IsServerError returns true when this get access policy for resource unauthorized response has a 5xx status code
func (*GetAccessPolicyForResourceUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceUnauthorized) IsSuccess() bool
IsSuccess returns true when this get access policy for resource unauthorized response has a 2xx status code
func (*GetAccessPolicyForResourceUnauthorized) String ¶ added in v1.19.1
func (o *GetAccessPolicyForResourceUnauthorized) String() string
type GetAccessPolicyForbidden ¶
type GetAccessPolicyForbidden struct { }
GetAccessPolicyForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetAccessPolicyForbidden ¶
func NewGetAccessPolicyForbidden() *GetAccessPolicyForbidden
NewGetAccessPolicyForbidden creates a GetAccessPolicyForbidden with default headers values
func (*GetAccessPolicyForbidden) Error ¶
func (o *GetAccessPolicyForbidden) Error() string
func (*GetAccessPolicyForbidden) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyForbidden) IsClientError() bool
IsClientError returns true when this get access policy forbidden response has a 4xx status code
func (*GetAccessPolicyForbidden) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyForbidden) IsCode(code int) bool
IsCode returns true when this get access policy forbidden response a status code equal to that given
func (*GetAccessPolicyForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyForbidden) IsRedirect() bool
IsRedirect returns true when this get access policy forbidden response has a 3xx status code
func (*GetAccessPolicyForbidden) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyForbidden) IsServerError() bool
IsServerError returns true when this get access policy forbidden response has a 5xx status code
func (*GetAccessPolicyForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyForbidden) IsSuccess() bool
IsSuccess returns true when this get access policy forbidden response has a 2xx status code
func (*GetAccessPolicyForbidden) String ¶ added in v1.19.1
func (o *GetAccessPolicyForbidden) String() string
type GetAccessPolicyNotFound ¶
type GetAccessPolicyNotFound struct { }
GetAccessPolicyNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewGetAccessPolicyNotFound ¶
func NewGetAccessPolicyNotFound() *GetAccessPolicyNotFound
NewGetAccessPolicyNotFound creates a GetAccessPolicyNotFound with default headers values
func (*GetAccessPolicyNotFound) Error ¶
func (o *GetAccessPolicyNotFound) Error() string
func (*GetAccessPolicyNotFound) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyNotFound) IsClientError() bool
IsClientError returns true when this get access policy not found response has a 4xx status code
func (*GetAccessPolicyNotFound) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyNotFound) IsCode(code int) bool
IsCode returns true when this get access policy not found response a status code equal to that given
func (*GetAccessPolicyNotFound) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyNotFound) IsRedirect() bool
IsRedirect returns true when this get access policy not found response has a 3xx status code
func (*GetAccessPolicyNotFound) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyNotFound) IsServerError() bool
IsServerError returns true when this get access policy not found response has a 5xx status code
func (*GetAccessPolicyNotFound) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyNotFound) IsSuccess() bool
IsSuccess returns true when this get access policy not found response has a 2xx status code
func (*GetAccessPolicyNotFound) String ¶ added in v1.19.1
func (o *GetAccessPolicyNotFound) String() string
type GetAccessPolicyOK ¶
type GetAccessPolicyOK struct {
Payload *models.AccessPolicy
}
GetAccessPolicyOK describes a response with status code 200, with default header values.
successful operation
func NewGetAccessPolicyOK ¶
func NewGetAccessPolicyOK() *GetAccessPolicyOK
NewGetAccessPolicyOK creates a GetAccessPolicyOK with default headers values
func (*GetAccessPolicyOK) Error ¶
func (o *GetAccessPolicyOK) Error() string
func (*GetAccessPolicyOK) GetPayload ¶
func (o *GetAccessPolicyOK) GetPayload() *models.AccessPolicy
func (*GetAccessPolicyOK) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyOK) IsClientError() bool
IsClientError returns true when this get access policy o k response has a 4xx status code
func (*GetAccessPolicyOK) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyOK) IsCode(code int) bool
IsCode returns true when this get access policy o k response a status code equal to that given
func (*GetAccessPolicyOK) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyOK) IsRedirect() bool
IsRedirect returns true when this get access policy o k response has a 3xx status code
func (*GetAccessPolicyOK) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyOK) IsServerError() bool
IsServerError returns true when this get access policy o k response has a 5xx status code
func (*GetAccessPolicyOK) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyOK) IsSuccess() bool
IsSuccess returns true when this get access policy o k response has a 2xx status code
func (*GetAccessPolicyOK) String ¶ added in v1.19.1
func (o *GetAccessPolicyOK) String() string
type GetAccessPolicyParams ¶
type GetAccessPolicyParams struct { /* ID. The access policy id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccessPolicyParams contains all the parameters to send to the API endpoint
for the get access policy operation. Typically these are written to a http.Request.
func NewGetAccessPolicyParams ¶
func NewGetAccessPolicyParams() *GetAccessPolicyParams
NewGetAccessPolicyParams creates a new GetAccessPolicyParams 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 NewGetAccessPolicyParamsWithContext ¶
func NewGetAccessPolicyParamsWithContext(ctx context.Context) *GetAccessPolicyParams
NewGetAccessPolicyParamsWithContext creates a new GetAccessPolicyParams object with the ability to set a context for a request.
func NewGetAccessPolicyParamsWithHTTPClient ¶
func NewGetAccessPolicyParamsWithHTTPClient(client *http.Client) *GetAccessPolicyParams
NewGetAccessPolicyParamsWithHTTPClient creates a new GetAccessPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccessPolicyParamsWithTimeout ¶
func NewGetAccessPolicyParamsWithTimeout(timeout time.Duration) *GetAccessPolicyParams
NewGetAccessPolicyParamsWithTimeout creates a new GetAccessPolicyParams object with the ability to set a timeout on a request.
func (*GetAccessPolicyParams) SetContext ¶
func (o *GetAccessPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the get access policy params
func (*GetAccessPolicyParams) SetDefaults ¶
func (o *GetAccessPolicyParams) SetDefaults()
SetDefaults hydrates default values in the get access policy params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessPolicyParams) SetHTTPClient ¶
func (o *GetAccessPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get access policy params
func (*GetAccessPolicyParams) SetID ¶
func (o *GetAccessPolicyParams) SetID(id string)
SetID adds the id to the get access policy params
func (*GetAccessPolicyParams) SetTimeout ¶
func (o *GetAccessPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get access policy params
func (*GetAccessPolicyParams) WithContext ¶
func (o *GetAccessPolicyParams) WithContext(ctx context.Context) *GetAccessPolicyParams
WithContext adds the context to the get access policy params
func (*GetAccessPolicyParams) WithDefaults ¶
func (o *GetAccessPolicyParams) WithDefaults() *GetAccessPolicyParams
WithDefaults hydrates default values in the get access policy params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessPolicyParams) WithHTTPClient ¶
func (o *GetAccessPolicyParams) WithHTTPClient(client *http.Client) *GetAccessPolicyParams
WithHTTPClient adds the HTTPClient to the get access policy params
func (*GetAccessPolicyParams) WithID ¶
func (o *GetAccessPolicyParams) WithID(id string) *GetAccessPolicyParams
WithID adds the id to the get access policy params
func (*GetAccessPolicyParams) WithTimeout ¶
func (o *GetAccessPolicyParams) WithTimeout(timeout time.Duration) *GetAccessPolicyParams
WithTimeout adds the timeout to the get access policy params
func (*GetAccessPolicyParams) WriteToRequest ¶
func (o *GetAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccessPolicyReader ¶
type GetAccessPolicyReader struct {
// contains filtered or unexported fields
}
GetAccessPolicyReader is a Reader for the GetAccessPolicy structure.
func (*GetAccessPolicyReader) ReadResponse ¶
func (o *GetAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccessPolicyUnauthorized ¶
type GetAccessPolicyUnauthorized struct { }
GetAccessPolicyUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetAccessPolicyUnauthorized ¶
func NewGetAccessPolicyUnauthorized() *GetAccessPolicyUnauthorized
NewGetAccessPolicyUnauthorized creates a GetAccessPolicyUnauthorized with default headers values
func (*GetAccessPolicyUnauthorized) Error ¶
func (o *GetAccessPolicyUnauthorized) Error() string
func (*GetAccessPolicyUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetAccessPolicyUnauthorized) IsClientError() bool
IsClientError returns true when this get access policy unauthorized response has a 4xx status code
func (*GetAccessPolicyUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetAccessPolicyUnauthorized) IsCode(code int) bool
IsCode returns true when this get access policy unauthorized response a status code equal to that given
func (*GetAccessPolicyUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetAccessPolicyUnauthorized) IsRedirect() bool
IsRedirect returns true when this get access policy unauthorized response has a 3xx status code
func (*GetAccessPolicyUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetAccessPolicyUnauthorized) IsServerError() bool
IsServerError returns true when this get access policy unauthorized response has a 5xx status code
func (*GetAccessPolicyUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetAccessPolicyUnauthorized) IsSuccess() bool
IsSuccess returns true when this get access policy unauthorized response has a 2xx status code
func (*GetAccessPolicyUnauthorized) String ¶ added in v1.19.1
func (o *GetAccessPolicyUnauthorized) String() string
type GetResourcesForbidden ¶
type GetResourcesForbidden struct { }
GetResourcesForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetResourcesForbidden ¶
func NewGetResourcesForbidden() *GetResourcesForbidden
NewGetResourcesForbidden creates a GetResourcesForbidden with default headers values
func (*GetResourcesForbidden) Error ¶
func (o *GetResourcesForbidden) Error() string
func (*GetResourcesForbidden) IsClientError ¶ added in v1.19.1
func (o *GetResourcesForbidden) IsClientError() bool
IsClientError returns true when this get resources forbidden response has a 4xx status code
func (*GetResourcesForbidden) IsCode ¶ added in v1.19.1
func (o *GetResourcesForbidden) IsCode(code int) bool
IsCode returns true when this get resources forbidden response a status code equal to that given
func (*GetResourcesForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetResourcesForbidden) IsRedirect() bool
IsRedirect returns true when this get resources forbidden response has a 3xx status code
func (*GetResourcesForbidden) IsServerError ¶ added in v1.19.1
func (o *GetResourcesForbidden) IsServerError() bool
IsServerError returns true when this get resources forbidden response has a 5xx status code
func (*GetResourcesForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetResourcesForbidden) IsSuccess() bool
IsSuccess returns true when this get resources forbidden response has a 2xx status code
func (*GetResourcesForbidden) String ¶ added in v1.19.1
func (o *GetResourcesForbidden) String() string
type GetResourcesOK ¶
GetResourcesOK describes a response with status code 200, with default header values.
successful operation
func NewGetResourcesOK ¶
func NewGetResourcesOK() *GetResourcesOK
NewGetResourcesOK creates a GetResourcesOK with default headers values
func (*GetResourcesOK) Error ¶
func (o *GetResourcesOK) Error() string
func (*GetResourcesOK) GetPayload ¶
func (o *GetResourcesOK) GetPayload() []*models.Resource
func (*GetResourcesOK) IsClientError ¶ added in v1.19.1
func (o *GetResourcesOK) IsClientError() bool
IsClientError returns true when this get resources o k response has a 4xx status code
func (*GetResourcesOK) IsCode ¶ added in v1.19.1
func (o *GetResourcesOK) IsCode(code int) bool
IsCode returns true when this get resources o k response a status code equal to that given
func (*GetResourcesOK) IsRedirect ¶ added in v1.19.1
func (o *GetResourcesOK) IsRedirect() bool
IsRedirect returns true when this get resources o k response has a 3xx status code
func (*GetResourcesOK) IsServerError ¶ added in v1.19.1
func (o *GetResourcesOK) IsServerError() bool
IsServerError returns true when this get resources o k response has a 5xx status code
func (*GetResourcesOK) IsSuccess ¶ added in v1.19.1
func (o *GetResourcesOK) IsSuccess() bool
IsSuccess returns true when this get resources o k response has a 2xx status code
func (*GetResourcesOK) String ¶ added in v1.19.1
func (o *GetResourcesOK) String() string
type GetResourcesParams ¶
type GetResourcesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourcesParams contains all the parameters to send to the API endpoint
for the get resources operation. Typically these are written to a http.Request.
func NewGetResourcesParams ¶
func NewGetResourcesParams() *GetResourcesParams
NewGetResourcesParams creates a new GetResourcesParams 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 NewGetResourcesParamsWithContext ¶
func NewGetResourcesParamsWithContext(ctx context.Context) *GetResourcesParams
NewGetResourcesParamsWithContext creates a new GetResourcesParams object with the ability to set a context for a request.
func NewGetResourcesParamsWithHTTPClient ¶
func NewGetResourcesParamsWithHTTPClient(client *http.Client) *GetResourcesParams
NewGetResourcesParamsWithHTTPClient creates a new GetResourcesParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourcesParamsWithTimeout ¶
func NewGetResourcesParamsWithTimeout(timeout time.Duration) *GetResourcesParams
NewGetResourcesParamsWithTimeout creates a new GetResourcesParams object with the ability to set a timeout on a request.
func (*GetResourcesParams) SetContext ¶
func (o *GetResourcesParams) SetContext(ctx context.Context)
SetContext adds the context to the get resources params
func (*GetResourcesParams) SetDefaults ¶
func (o *GetResourcesParams) SetDefaults()
SetDefaults hydrates default values in the get resources params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourcesParams) SetHTTPClient ¶
func (o *GetResourcesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resources params
func (*GetResourcesParams) SetTimeout ¶
func (o *GetResourcesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resources params
func (*GetResourcesParams) WithContext ¶
func (o *GetResourcesParams) WithContext(ctx context.Context) *GetResourcesParams
WithContext adds the context to the get resources params
func (*GetResourcesParams) WithDefaults ¶
func (o *GetResourcesParams) WithDefaults() *GetResourcesParams
WithDefaults hydrates default values in the get resources params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourcesParams) WithHTTPClient ¶
func (o *GetResourcesParams) WithHTTPClient(client *http.Client) *GetResourcesParams
WithHTTPClient adds the HTTPClient to the get resources params
func (*GetResourcesParams) WithTimeout ¶
func (o *GetResourcesParams) WithTimeout(timeout time.Duration) *GetResourcesParams
WithTimeout adds the timeout to the get resources params
func (*GetResourcesParams) WriteToRequest ¶
func (o *GetResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourcesReader ¶
type GetResourcesReader struct {
// contains filtered or unexported fields
}
GetResourcesReader is a Reader for the GetResources structure.
func (*GetResourcesReader) ReadResponse ¶
func (o *GetResourcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourcesUnauthorized ¶
type GetResourcesUnauthorized struct { }
GetResourcesUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetResourcesUnauthorized ¶
func NewGetResourcesUnauthorized() *GetResourcesUnauthorized
NewGetResourcesUnauthorized creates a GetResourcesUnauthorized with default headers values
func (*GetResourcesUnauthorized) Error ¶
func (o *GetResourcesUnauthorized) Error() string
func (*GetResourcesUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetResourcesUnauthorized) IsClientError() bool
IsClientError returns true when this get resources unauthorized response has a 4xx status code
func (*GetResourcesUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetResourcesUnauthorized) IsCode(code int) bool
IsCode returns true when this get resources unauthorized response a status code equal to that given
func (*GetResourcesUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetResourcesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get resources unauthorized response has a 3xx status code
func (*GetResourcesUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetResourcesUnauthorized) IsServerError() bool
IsServerError returns true when this get resources unauthorized response has a 5xx status code
func (*GetResourcesUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetResourcesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get resources unauthorized response has a 2xx status code
func (*GetResourcesUnauthorized) String ¶ added in v1.19.1
func (o *GetResourcesUnauthorized) String() string
type RemoveAccessPolicyConflict ¶
type RemoveAccessPolicyConflict struct { }
RemoveAccessPolicyConflict describes a response with status code 409, with default header values.
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry might not be configured to use a ConfigurableAccessPolicyProvider.
func NewRemoveAccessPolicyConflict ¶
func NewRemoveAccessPolicyConflict() *RemoveAccessPolicyConflict
NewRemoveAccessPolicyConflict creates a RemoveAccessPolicyConflict with default headers values
func (*RemoveAccessPolicyConflict) Error ¶
func (o *RemoveAccessPolicyConflict) Error() string
func (*RemoveAccessPolicyConflict) IsClientError ¶ added in v1.19.1
func (o *RemoveAccessPolicyConflict) IsClientError() bool
IsClientError returns true when this remove access policy conflict response has a 4xx status code
func (*RemoveAccessPolicyConflict) IsCode ¶ added in v1.19.1
func (o *RemoveAccessPolicyConflict) IsCode(code int) bool
IsCode returns true when this remove access policy conflict response a status code equal to that given
func (*RemoveAccessPolicyConflict) IsRedirect ¶ added in v1.19.1
func (o *RemoveAccessPolicyConflict) IsRedirect() bool
IsRedirect returns true when this remove access policy conflict response has a 3xx status code
func (*RemoveAccessPolicyConflict) IsServerError ¶ added in v1.19.1
func (o *RemoveAccessPolicyConflict) IsServerError() bool
IsServerError returns true when this remove access policy conflict response has a 5xx status code
func (*RemoveAccessPolicyConflict) IsSuccess ¶ added in v1.19.1
func (o *RemoveAccessPolicyConflict) IsSuccess() bool
IsSuccess returns true when this remove access policy conflict response has a 2xx status code
func (*RemoveAccessPolicyConflict) String ¶ added in v1.19.1
func (o *RemoveAccessPolicyConflict) String() string
type RemoveAccessPolicyForbidden ¶
type RemoveAccessPolicyForbidden struct { }
RemoveAccessPolicyForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewRemoveAccessPolicyForbidden ¶
func NewRemoveAccessPolicyForbidden() *RemoveAccessPolicyForbidden
NewRemoveAccessPolicyForbidden creates a RemoveAccessPolicyForbidden with default headers values
func (*RemoveAccessPolicyForbidden) Error ¶
func (o *RemoveAccessPolicyForbidden) Error() string
func (*RemoveAccessPolicyForbidden) IsClientError ¶ added in v1.19.1
func (o *RemoveAccessPolicyForbidden) IsClientError() bool
IsClientError returns true when this remove access policy forbidden response has a 4xx status code
func (*RemoveAccessPolicyForbidden) IsCode ¶ added in v1.19.1
func (o *RemoveAccessPolicyForbidden) IsCode(code int) bool
IsCode returns true when this remove access policy forbidden response a status code equal to that given
func (*RemoveAccessPolicyForbidden) IsRedirect ¶ added in v1.19.1
func (o *RemoveAccessPolicyForbidden) IsRedirect() bool
IsRedirect returns true when this remove access policy forbidden response has a 3xx status code
func (*RemoveAccessPolicyForbidden) IsServerError ¶ added in v1.19.1
func (o *RemoveAccessPolicyForbidden) IsServerError() bool
IsServerError returns true when this remove access policy forbidden response has a 5xx status code
func (*RemoveAccessPolicyForbidden) IsSuccess ¶ added in v1.19.1
func (o *RemoveAccessPolicyForbidden) IsSuccess() bool
IsSuccess returns true when this remove access policy forbidden response has a 2xx status code
func (*RemoveAccessPolicyForbidden) String ¶ added in v1.19.1
func (o *RemoveAccessPolicyForbidden) String() string
type RemoveAccessPolicyNotFound ¶
type RemoveAccessPolicyNotFound struct { }
RemoveAccessPolicyNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewRemoveAccessPolicyNotFound ¶
func NewRemoveAccessPolicyNotFound() *RemoveAccessPolicyNotFound
NewRemoveAccessPolicyNotFound creates a RemoveAccessPolicyNotFound with default headers values
func (*RemoveAccessPolicyNotFound) Error ¶
func (o *RemoveAccessPolicyNotFound) Error() string
func (*RemoveAccessPolicyNotFound) IsClientError ¶ added in v1.19.1
func (o *RemoveAccessPolicyNotFound) IsClientError() bool
IsClientError returns true when this remove access policy not found response has a 4xx status code
func (*RemoveAccessPolicyNotFound) IsCode ¶ added in v1.19.1
func (o *RemoveAccessPolicyNotFound) IsCode(code int) bool
IsCode returns true when this remove access policy not found response a status code equal to that given
func (*RemoveAccessPolicyNotFound) IsRedirect ¶ added in v1.19.1
func (o *RemoveAccessPolicyNotFound) IsRedirect() bool
IsRedirect returns true when this remove access policy not found response has a 3xx status code
func (*RemoveAccessPolicyNotFound) IsServerError ¶ added in v1.19.1
func (o *RemoveAccessPolicyNotFound) IsServerError() bool
IsServerError returns true when this remove access policy not found response has a 5xx status code
func (*RemoveAccessPolicyNotFound) IsSuccess ¶ added in v1.19.1
func (o *RemoveAccessPolicyNotFound) IsSuccess() bool
IsSuccess returns true when this remove access policy not found response has a 2xx status code
func (*RemoveAccessPolicyNotFound) String ¶ added in v1.19.1
func (o *RemoveAccessPolicyNotFound) String() string
type RemoveAccessPolicyOK ¶
type RemoveAccessPolicyOK struct {
Payload *models.AccessPolicy
}
RemoveAccessPolicyOK describes a response with status code 200, with default header values.
successful operation
func NewRemoveAccessPolicyOK ¶
func NewRemoveAccessPolicyOK() *RemoveAccessPolicyOK
NewRemoveAccessPolicyOK creates a RemoveAccessPolicyOK with default headers values
func (*RemoveAccessPolicyOK) Error ¶
func (o *RemoveAccessPolicyOK) Error() string
func (*RemoveAccessPolicyOK) GetPayload ¶
func (o *RemoveAccessPolicyOK) GetPayload() *models.AccessPolicy
func (*RemoveAccessPolicyOK) IsClientError ¶ added in v1.19.1
func (o *RemoveAccessPolicyOK) IsClientError() bool
IsClientError returns true when this remove access policy o k response has a 4xx status code
func (*RemoveAccessPolicyOK) IsCode ¶ added in v1.19.1
func (o *RemoveAccessPolicyOK) IsCode(code int) bool
IsCode returns true when this remove access policy o k response a status code equal to that given
func (*RemoveAccessPolicyOK) IsRedirect ¶ added in v1.19.1
func (o *RemoveAccessPolicyOK) IsRedirect() bool
IsRedirect returns true when this remove access policy o k response has a 3xx status code
func (*RemoveAccessPolicyOK) IsServerError ¶ added in v1.19.1
func (o *RemoveAccessPolicyOK) IsServerError() bool
IsServerError returns true when this remove access policy o k response has a 5xx status code
func (*RemoveAccessPolicyOK) IsSuccess ¶ added in v1.19.1
func (o *RemoveAccessPolicyOK) IsSuccess() bool
IsSuccess returns true when this remove access policy o k response has a 2xx status code
func (*RemoveAccessPolicyOK) String ¶ added in v1.19.1
func (o *RemoveAccessPolicyOK) String() string
type RemoveAccessPolicyParams ¶
type RemoveAccessPolicyParams struct { /* ClientID. If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. */ ClientID *string /* ID. The access policy id. */ ID string /* Version. The version is used to verify the client is working with the latest version of the entity. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveAccessPolicyParams contains all the parameters to send to the API endpoint
for the remove access policy operation. Typically these are written to a http.Request.
func NewRemoveAccessPolicyParams ¶
func NewRemoveAccessPolicyParams() *RemoveAccessPolicyParams
NewRemoveAccessPolicyParams creates a new RemoveAccessPolicyParams 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 NewRemoveAccessPolicyParamsWithContext ¶
func NewRemoveAccessPolicyParamsWithContext(ctx context.Context) *RemoveAccessPolicyParams
NewRemoveAccessPolicyParamsWithContext creates a new RemoveAccessPolicyParams object with the ability to set a context for a request.
func NewRemoveAccessPolicyParamsWithHTTPClient ¶
func NewRemoveAccessPolicyParamsWithHTTPClient(client *http.Client) *RemoveAccessPolicyParams
NewRemoveAccessPolicyParamsWithHTTPClient creates a new RemoveAccessPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveAccessPolicyParamsWithTimeout ¶
func NewRemoveAccessPolicyParamsWithTimeout(timeout time.Duration) *RemoveAccessPolicyParams
NewRemoveAccessPolicyParamsWithTimeout creates a new RemoveAccessPolicyParams object with the ability to set a timeout on a request.
func (*RemoveAccessPolicyParams) SetClientID ¶
func (o *RemoveAccessPolicyParams) SetClientID(clientID *string)
SetClientID adds the clientId to the remove access policy params
func (*RemoveAccessPolicyParams) SetContext ¶
func (o *RemoveAccessPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the remove access policy params
func (*RemoveAccessPolicyParams) SetDefaults ¶
func (o *RemoveAccessPolicyParams) SetDefaults()
SetDefaults hydrates default values in the remove access policy params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveAccessPolicyParams) SetHTTPClient ¶
func (o *RemoveAccessPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove access policy params
func (*RemoveAccessPolicyParams) SetID ¶
func (o *RemoveAccessPolicyParams) SetID(id string)
SetID adds the id to the remove access policy params
func (*RemoveAccessPolicyParams) SetTimeout ¶
func (o *RemoveAccessPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove access policy params
func (*RemoveAccessPolicyParams) SetVersion ¶
func (o *RemoveAccessPolicyParams) SetVersion(version string)
SetVersion adds the version to the remove access policy params
func (*RemoveAccessPolicyParams) WithClientID ¶
func (o *RemoveAccessPolicyParams) WithClientID(clientID *string) *RemoveAccessPolicyParams
WithClientID adds the clientID to the remove access policy params
func (*RemoveAccessPolicyParams) WithContext ¶
func (o *RemoveAccessPolicyParams) WithContext(ctx context.Context) *RemoveAccessPolicyParams
WithContext adds the context to the remove access policy params
func (*RemoveAccessPolicyParams) WithDefaults ¶
func (o *RemoveAccessPolicyParams) WithDefaults() *RemoveAccessPolicyParams
WithDefaults hydrates default values in the remove access policy params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveAccessPolicyParams) WithHTTPClient ¶
func (o *RemoveAccessPolicyParams) WithHTTPClient(client *http.Client) *RemoveAccessPolicyParams
WithHTTPClient adds the HTTPClient to the remove access policy params
func (*RemoveAccessPolicyParams) WithID ¶
func (o *RemoveAccessPolicyParams) WithID(id string) *RemoveAccessPolicyParams
WithID adds the id to the remove access policy params
func (*RemoveAccessPolicyParams) WithTimeout ¶
func (o *RemoveAccessPolicyParams) WithTimeout(timeout time.Duration) *RemoveAccessPolicyParams
WithTimeout adds the timeout to the remove access policy params
func (*RemoveAccessPolicyParams) WithVersion ¶
func (o *RemoveAccessPolicyParams) WithVersion(version string) *RemoveAccessPolicyParams
WithVersion adds the version to the remove access policy params
func (*RemoveAccessPolicyParams) WriteToRequest ¶
func (o *RemoveAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveAccessPolicyReader ¶
type RemoveAccessPolicyReader struct {
// contains filtered or unexported fields
}
RemoveAccessPolicyReader is a Reader for the RemoveAccessPolicy structure.
func (*RemoveAccessPolicyReader) ReadResponse ¶
func (o *RemoveAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveAccessPolicyUnauthorized ¶
type RemoveAccessPolicyUnauthorized struct { }
RemoveAccessPolicyUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewRemoveAccessPolicyUnauthorized ¶
func NewRemoveAccessPolicyUnauthorized() *RemoveAccessPolicyUnauthorized
NewRemoveAccessPolicyUnauthorized creates a RemoveAccessPolicyUnauthorized with default headers values
func (*RemoveAccessPolicyUnauthorized) Error ¶
func (o *RemoveAccessPolicyUnauthorized) Error() string
func (*RemoveAccessPolicyUnauthorized) IsClientError ¶ added in v1.19.1
func (o *RemoveAccessPolicyUnauthorized) IsClientError() bool
IsClientError returns true when this remove access policy unauthorized response has a 4xx status code
func (*RemoveAccessPolicyUnauthorized) IsCode ¶ added in v1.19.1
func (o *RemoveAccessPolicyUnauthorized) IsCode(code int) bool
IsCode returns true when this remove access policy unauthorized response a status code equal to that given
func (*RemoveAccessPolicyUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *RemoveAccessPolicyUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove access policy unauthorized response has a 3xx status code
func (*RemoveAccessPolicyUnauthorized) IsServerError ¶ added in v1.19.1
func (o *RemoveAccessPolicyUnauthorized) IsServerError() bool
IsServerError returns true when this remove access policy unauthorized response has a 5xx status code
func (*RemoveAccessPolicyUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *RemoveAccessPolicyUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove access policy unauthorized response has a 2xx status code
func (*RemoveAccessPolicyUnauthorized) String ¶ added in v1.19.1
func (o *RemoveAccessPolicyUnauthorized) String() string
type UpdateAccessPolicyBadRequest ¶
type UpdateAccessPolicyBadRequest struct { }
UpdateAccessPolicyBadRequest describes a response with status code 400, with default header values.
NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewUpdateAccessPolicyBadRequest ¶
func NewUpdateAccessPolicyBadRequest() *UpdateAccessPolicyBadRequest
NewUpdateAccessPolicyBadRequest creates a UpdateAccessPolicyBadRequest with default headers values
func (*UpdateAccessPolicyBadRequest) Error ¶
func (o *UpdateAccessPolicyBadRequest) Error() string
func (*UpdateAccessPolicyBadRequest) IsClientError ¶ added in v1.19.1
func (o *UpdateAccessPolicyBadRequest) IsClientError() bool
IsClientError returns true when this update access policy bad request response has a 4xx status code
func (*UpdateAccessPolicyBadRequest) IsCode ¶ added in v1.19.1
func (o *UpdateAccessPolicyBadRequest) IsCode(code int) bool
IsCode returns true when this update access policy bad request response a status code equal to that given
func (*UpdateAccessPolicyBadRequest) IsRedirect ¶ added in v1.19.1
func (o *UpdateAccessPolicyBadRequest) IsRedirect() bool
IsRedirect returns true when this update access policy bad request response has a 3xx status code
func (*UpdateAccessPolicyBadRequest) IsServerError ¶ added in v1.19.1
func (o *UpdateAccessPolicyBadRequest) IsServerError() bool
IsServerError returns true when this update access policy bad request response has a 5xx status code
func (*UpdateAccessPolicyBadRequest) IsSuccess ¶ added in v1.19.1
func (o *UpdateAccessPolicyBadRequest) IsSuccess() bool
IsSuccess returns true when this update access policy bad request response has a 2xx status code
func (*UpdateAccessPolicyBadRequest) String ¶ added in v1.19.1
func (o *UpdateAccessPolicyBadRequest) String() string
type UpdateAccessPolicyConflict ¶
type UpdateAccessPolicyConflict struct { }
UpdateAccessPolicyConflict describes a response with status code 409, with default header values.
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry might not be configured to use a ConfigurableAccessPolicyProvider.
func NewUpdateAccessPolicyConflict ¶
func NewUpdateAccessPolicyConflict() *UpdateAccessPolicyConflict
NewUpdateAccessPolicyConflict creates a UpdateAccessPolicyConflict with default headers values
func (*UpdateAccessPolicyConflict) Error ¶
func (o *UpdateAccessPolicyConflict) Error() string
func (*UpdateAccessPolicyConflict) IsClientError ¶ added in v1.19.1
func (o *UpdateAccessPolicyConflict) IsClientError() bool
IsClientError returns true when this update access policy conflict response has a 4xx status code
func (*UpdateAccessPolicyConflict) IsCode ¶ added in v1.19.1
func (o *UpdateAccessPolicyConflict) IsCode(code int) bool
IsCode returns true when this update access policy conflict response a status code equal to that given
func (*UpdateAccessPolicyConflict) IsRedirect ¶ added in v1.19.1
func (o *UpdateAccessPolicyConflict) IsRedirect() bool
IsRedirect returns true when this update access policy conflict response has a 3xx status code
func (*UpdateAccessPolicyConflict) IsServerError ¶ added in v1.19.1
func (o *UpdateAccessPolicyConflict) IsServerError() bool
IsServerError returns true when this update access policy conflict response has a 5xx status code
func (*UpdateAccessPolicyConflict) IsSuccess ¶ added in v1.19.1
func (o *UpdateAccessPolicyConflict) IsSuccess() bool
IsSuccess returns true when this update access policy conflict response has a 2xx status code
func (*UpdateAccessPolicyConflict) String ¶ added in v1.19.1
func (o *UpdateAccessPolicyConflict) String() string
type UpdateAccessPolicyForbidden ¶
type UpdateAccessPolicyForbidden struct { }
UpdateAccessPolicyForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewUpdateAccessPolicyForbidden ¶
func NewUpdateAccessPolicyForbidden() *UpdateAccessPolicyForbidden
NewUpdateAccessPolicyForbidden creates a UpdateAccessPolicyForbidden with default headers values
func (*UpdateAccessPolicyForbidden) Error ¶
func (o *UpdateAccessPolicyForbidden) Error() string
func (*UpdateAccessPolicyForbidden) IsClientError ¶ added in v1.19.1
func (o *UpdateAccessPolicyForbidden) IsClientError() bool
IsClientError returns true when this update access policy forbidden response has a 4xx status code
func (*UpdateAccessPolicyForbidden) IsCode ¶ added in v1.19.1
func (o *UpdateAccessPolicyForbidden) IsCode(code int) bool
IsCode returns true when this update access policy forbidden response a status code equal to that given
func (*UpdateAccessPolicyForbidden) IsRedirect ¶ added in v1.19.1
func (o *UpdateAccessPolicyForbidden) IsRedirect() bool
IsRedirect returns true when this update access policy forbidden response has a 3xx status code
func (*UpdateAccessPolicyForbidden) IsServerError ¶ added in v1.19.1
func (o *UpdateAccessPolicyForbidden) IsServerError() bool
IsServerError returns true when this update access policy forbidden response has a 5xx status code
func (*UpdateAccessPolicyForbidden) IsSuccess ¶ added in v1.19.1
func (o *UpdateAccessPolicyForbidden) IsSuccess() bool
IsSuccess returns true when this update access policy forbidden response has a 2xx status code
func (*UpdateAccessPolicyForbidden) String ¶ added in v1.19.1
func (o *UpdateAccessPolicyForbidden) String() string
type UpdateAccessPolicyNotFound ¶
type UpdateAccessPolicyNotFound struct { }
UpdateAccessPolicyNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewUpdateAccessPolicyNotFound ¶
func NewUpdateAccessPolicyNotFound() *UpdateAccessPolicyNotFound
NewUpdateAccessPolicyNotFound creates a UpdateAccessPolicyNotFound with default headers values
func (*UpdateAccessPolicyNotFound) Error ¶
func (o *UpdateAccessPolicyNotFound) Error() string
func (*UpdateAccessPolicyNotFound) IsClientError ¶ added in v1.19.1
func (o *UpdateAccessPolicyNotFound) IsClientError() bool
IsClientError returns true when this update access policy not found response has a 4xx status code
func (*UpdateAccessPolicyNotFound) IsCode ¶ added in v1.19.1
func (o *UpdateAccessPolicyNotFound) IsCode(code int) bool
IsCode returns true when this update access policy not found response a status code equal to that given
func (*UpdateAccessPolicyNotFound) IsRedirect ¶ added in v1.19.1
func (o *UpdateAccessPolicyNotFound) IsRedirect() bool
IsRedirect returns true when this update access policy not found response has a 3xx status code
func (*UpdateAccessPolicyNotFound) IsServerError ¶ added in v1.19.1
func (o *UpdateAccessPolicyNotFound) IsServerError() bool
IsServerError returns true when this update access policy not found response has a 5xx status code
func (*UpdateAccessPolicyNotFound) IsSuccess ¶ added in v1.19.1
func (o *UpdateAccessPolicyNotFound) IsSuccess() bool
IsSuccess returns true when this update access policy not found response has a 2xx status code
func (*UpdateAccessPolicyNotFound) String ¶ added in v1.19.1
func (o *UpdateAccessPolicyNotFound) String() string
type UpdateAccessPolicyOK ¶
type UpdateAccessPolicyOK struct {
Payload *models.AccessPolicy
}
UpdateAccessPolicyOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateAccessPolicyOK ¶
func NewUpdateAccessPolicyOK() *UpdateAccessPolicyOK
NewUpdateAccessPolicyOK creates a UpdateAccessPolicyOK with default headers values
func (*UpdateAccessPolicyOK) Error ¶
func (o *UpdateAccessPolicyOK) Error() string
func (*UpdateAccessPolicyOK) GetPayload ¶
func (o *UpdateAccessPolicyOK) GetPayload() *models.AccessPolicy
func (*UpdateAccessPolicyOK) IsClientError ¶ added in v1.19.1
func (o *UpdateAccessPolicyOK) IsClientError() bool
IsClientError returns true when this update access policy o k response has a 4xx status code
func (*UpdateAccessPolicyOK) IsCode ¶ added in v1.19.1
func (o *UpdateAccessPolicyOK) IsCode(code int) bool
IsCode returns true when this update access policy o k response a status code equal to that given
func (*UpdateAccessPolicyOK) IsRedirect ¶ added in v1.19.1
func (o *UpdateAccessPolicyOK) IsRedirect() bool
IsRedirect returns true when this update access policy o k response has a 3xx status code
func (*UpdateAccessPolicyOK) IsServerError ¶ added in v1.19.1
func (o *UpdateAccessPolicyOK) IsServerError() bool
IsServerError returns true when this update access policy o k response has a 5xx status code
func (*UpdateAccessPolicyOK) IsSuccess ¶ added in v1.19.1
func (o *UpdateAccessPolicyOK) IsSuccess() bool
IsSuccess returns true when this update access policy o k response has a 2xx status code
func (*UpdateAccessPolicyOK) String ¶ added in v1.19.1
func (o *UpdateAccessPolicyOK) String() string
type UpdateAccessPolicyParams ¶
type UpdateAccessPolicyParams struct { /* Body. The access policy configuration details. */ Body *models.AccessPolicy /* ID. The access policy id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAccessPolicyParams contains all the parameters to send to the API endpoint
for the update access policy operation. Typically these are written to a http.Request.
func NewUpdateAccessPolicyParams ¶
func NewUpdateAccessPolicyParams() *UpdateAccessPolicyParams
NewUpdateAccessPolicyParams creates a new UpdateAccessPolicyParams 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 NewUpdateAccessPolicyParamsWithContext ¶
func NewUpdateAccessPolicyParamsWithContext(ctx context.Context) *UpdateAccessPolicyParams
NewUpdateAccessPolicyParamsWithContext creates a new UpdateAccessPolicyParams object with the ability to set a context for a request.
func NewUpdateAccessPolicyParamsWithHTTPClient ¶
func NewUpdateAccessPolicyParamsWithHTTPClient(client *http.Client) *UpdateAccessPolicyParams
NewUpdateAccessPolicyParamsWithHTTPClient creates a new UpdateAccessPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAccessPolicyParamsWithTimeout ¶
func NewUpdateAccessPolicyParamsWithTimeout(timeout time.Duration) *UpdateAccessPolicyParams
NewUpdateAccessPolicyParamsWithTimeout creates a new UpdateAccessPolicyParams object with the ability to set a timeout on a request.
func (*UpdateAccessPolicyParams) SetBody ¶
func (o *UpdateAccessPolicyParams) SetBody(body *models.AccessPolicy)
SetBody adds the body to the update access policy params
func (*UpdateAccessPolicyParams) SetContext ¶
func (o *UpdateAccessPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the update access policy params
func (*UpdateAccessPolicyParams) SetDefaults ¶
func (o *UpdateAccessPolicyParams) SetDefaults()
SetDefaults hydrates default values in the update access policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAccessPolicyParams) SetHTTPClient ¶
func (o *UpdateAccessPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update access policy params
func (*UpdateAccessPolicyParams) SetID ¶
func (o *UpdateAccessPolicyParams) SetID(id string)
SetID adds the id to the update access policy params
func (*UpdateAccessPolicyParams) SetTimeout ¶
func (o *UpdateAccessPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update access policy params
func (*UpdateAccessPolicyParams) WithBody ¶
func (o *UpdateAccessPolicyParams) WithBody(body *models.AccessPolicy) *UpdateAccessPolicyParams
WithBody adds the body to the update access policy params
func (*UpdateAccessPolicyParams) WithContext ¶
func (o *UpdateAccessPolicyParams) WithContext(ctx context.Context) *UpdateAccessPolicyParams
WithContext adds the context to the update access policy params
func (*UpdateAccessPolicyParams) WithDefaults ¶
func (o *UpdateAccessPolicyParams) WithDefaults() *UpdateAccessPolicyParams
WithDefaults hydrates default values in the update access policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAccessPolicyParams) WithHTTPClient ¶
func (o *UpdateAccessPolicyParams) WithHTTPClient(client *http.Client) *UpdateAccessPolicyParams
WithHTTPClient adds the HTTPClient to the update access policy params
func (*UpdateAccessPolicyParams) WithID ¶
func (o *UpdateAccessPolicyParams) WithID(id string) *UpdateAccessPolicyParams
WithID adds the id to the update access policy params
func (*UpdateAccessPolicyParams) WithTimeout ¶
func (o *UpdateAccessPolicyParams) WithTimeout(timeout time.Duration) *UpdateAccessPolicyParams
WithTimeout adds the timeout to the update access policy params
func (*UpdateAccessPolicyParams) WriteToRequest ¶
func (o *UpdateAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAccessPolicyReader ¶
type UpdateAccessPolicyReader struct {
// contains filtered or unexported fields
}
UpdateAccessPolicyReader is a Reader for the UpdateAccessPolicy structure.
func (*UpdateAccessPolicyReader) ReadResponse ¶
func (o *UpdateAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAccessPolicyUnauthorized ¶
type UpdateAccessPolicyUnauthorized struct { }
UpdateAccessPolicyUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewUpdateAccessPolicyUnauthorized ¶
func NewUpdateAccessPolicyUnauthorized() *UpdateAccessPolicyUnauthorized
NewUpdateAccessPolicyUnauthorized creates a UpdateAccessPolicyUnauthorized with default headers values
func (*UpdateAccessPolicyUnauthorized) Error ¶
func (o *UpdateAccessPolicyUnauthorized) Error() string
func (*UpdateAccessPolicyUnauthorized) IsClientError ¶ added in v1.19.1
func (o *UpdateAccessPolicyUnauthorized) IsClientError() bool
IsClientError returns true when this update access policy unauthorized response has a 4xx status code
func (*UpdateAccessPolicyUnauthorized) IsCode ¶ added in v1.19.1
func (o *UpdateAccessPolicyUnauthorized) IsCode(code int) bool
IsCode returns true when this update access policy unauthorized response a status code equal to that given
func (*UpdateAccessPolicyUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *UpdateAccessPolicyUnauthorized) IsRedirect() bool
IsRedirect returns true when this update access policy unauthorized response has a 3xx status code
func (*UpdateAccessPolicyUnauthorized) IsServerError ¶ added in v1.19.1
func (o *UpdateAccessPolicyUnauthorized) IsServerError() bool
IsServerError returns true when this update access policy unauthorized response has a 5xx status code
func (*UpdateAccessPolicyUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *UpdateAccessPolicyUnauthorized) IsSuccess() bool
IsSuccess returns true when this update access policy unauthorized response has a 2xx status code
func (*UpdateAccessPolicyUnauthorized) String ¶ added in v1.19.1
func (o *UpdateAccessPolicyUnauthorized) String() string
Source Files ¶
- create_access_policy_parameters.go
- create_access_policy_responses.go
- get_access_policies_parameters.go
- get_access_policies_responses.go
- get_access_policy_for_resource_parameters.go
- get_access_policy_for_resource_responses.go
- get_access_policy_parameters.go
- get_access_policy_responses.go
- get_resources_parameters.go
- get_resources_responses.go
- policies_client.go
- remove_access_policy_parameters.go
- remove_access_policy_responses.go
- update_access_policy_parameters.go
- update_access_policy_responses.go