v1alpha2

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupInterface

type GroupInterface interface {
	CreateBinding(ctx context.Context, workspace, group, user string) (string, error)
}

type GroupsGetter

type GroupsGetter interface {
	Groups() GroupInterface
}

type IamV1alpha2Client

type IamV1alpha2Client struct {
	// contains filtered or unexported fields
}

func NewForConfig

func NewForConfig(c *rest.Config) (*IamV1alpha2Client, error)

NewForConfig creates a new IamV1alpha2Client for the given config.

func (*IamV1alpha2Client) Groups

func (c *IamV1alpha2Client) Groups() GroupInterface

func (*IamV1alpha2Client) RoleBindings

func (c *IamV1alpha2Client) RoleBindings() RoleBindingInterface

type IamV1alpha2Interface

type IamV1alpha2Interface interface {
	GroupsGetter
	RoleBindingsGetter
}

type RoleBindingInterface

type RoleBindingInterface interface {
	CreateRoleBinding(ctx context.Context, namespace, role, group string) (string, error)
	CreateWorkspaceRoleBinding(ctx context.Context, namespace, role, group string) (string, error)
}

type RoleBindingsGetter

type RoleBindingsGetter interface {
	RoleBindings() RoleBindingInterface
}

Jump to

Keyboard shortcuts

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