policy

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*httpclient.Client
	// contains filtered or unexported fields
}

func New

func New() *Client

func (*Client) DeleteRoleBindings added in v1.7.1

func (c *Client) DeleteRoleBindings(userID string, header http.Header, qs url.Values) ([]byte, error)

func (*Client) ListRoleBindings

func (c *Client) ListRoleBindings(header http.Header, qs url.Values) ([]*RoleBinding, error)

type RoleBinding

type RoleBinding struct {
	Name   string `json:"name"`
	UID    string `json:"uid"`
	Role   string `json:"role"`
	Public bool   `json:"public"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL