Documentation ¶
Overview ¶
Retrieves roles in the native realm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
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 GetRole ¶
type GetRole struct {
// contains filtered or unexported fields
}
func New ¶
func New(tp elastictransport.Interface) *GetRole
Retrieves roles in the native realm.
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html
func (*GetRole) HttpRequest ¶
HttpRequest returns the http.Request object built from the given parameters.
type NewGetRole ¶
type NewGetRole func() *GetRole
NewGetRole type alias for index.
func NewGetRoleFunc ¶
func NewGetRoleFunc(tp elastictransport.Interface) NewGetRole
NewGetRoleFunc returns a new instance of GetRole with the provided transport. Used in the index of the library this allows to retrieve every apis in once place.
Click to show internal directories.
Click to hide internal directories.