Documentation ¶
Overview ¶
Evicts application privileges from the native application privileges cache.
Index ¶
- Variables
- type ClearCachedPrivileges
- func (r *ClearCachedPrivileges) Application(v string) *ClearCachedPrivileges
- func (r ClearCachedPrivileges) Do(ctx context.Context) (*http.Response, error)
- func (r *ClearCachedPrivileges) Header(key, value string) *ClearCachedPrivileges
- func (r *ClearCachedPrivileges) HttpRequest(ctx context.Context) (*http.Request, error)
- func (r ClearCachedPrivileges) IsSuccess(ctx context.Context) (bool, error)
- type NewClearCachedPrivileges
Constants ¶
This section is empty.
Variables ¶
var ErrBuildPath = errors.New("cannot build path, check for missing path parameters")
ErrBuildPath is returned in case of missing parameters within the build of the request.
Functions ¶
This section is empty.
Types ¶
type ClearCachedPrivileges ¶
type ClearCachedPrivileges struct {
// contains filtered or unexported fields
}
func New ¶
func New(tp elastictransport.Interface) *ClearCachedPrivileges
Evicts application privileges from the native application privileges cache.
func (*ClearCachedPrivileges) Application ¶
func (r *ClearCachedPrivileges) Application(v string) *ClearCachedPrivileges
Application A comma-separated list of application names API Name: application
func (*ClearCachedPrivileges) Header ¶
func (r *ClearCachedPrivileges) Header(key, value string) *ClearCachedPrivileges
Header set a key, value pair in the ClearCachedPrivileges headers map.
func (*ClearCachedPrivileges) HttpRequest ¶
HttpRequest returns the http.Request object built from the given parameters.
type NewClearCachedPrivileges ¶
type NewClearCachedPrivileges func(application string) *ClearCachedPrivileges
NewClearCachedPrivileges type alias for index.
func NewClearCachedPrivilegesFunc ¶
func NewClearCachedPrivilegesFunc(tp elastictransport.Interface) NewClearCachedPrivileges
NewClearCachedPrivilegesFunc returns a new instance of ClearCachedPrivileges with the provided transport. Used in the index of the library this allows to retrieve every apis in once place.