iam

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginRecordReader

type LoginRecordReader interface {
	ListLoginRecords(ctx context.Context, query *query.Query) (*iamv1.LoginRecordList, error)
	WatchLoginRecords(ctx context.Context, query *query.Query) (watch.Interface, error)
	GetLoginRecord(ctx context.Context, name string) (*iamv1.LoginRecord, error)
	LoginRecordReaderEx
}

type LoginRecordReaderEx

type LoginRecordReaderEx interface {
	ListLoginRecordEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
	GetLoginRecordEx(ctx context.Context, name string, resourceVersion string) (*iamv1.LoginRecord, error)
}

type LoginRecordWriter

type LoginRecordWriter interface {
	CreateLoginRecord(ctx context.Context, record *iamv1.LoginRecord) (*iamv1.LoginRecord, error)
	DeleteLoginRecord(ctx context.Context, name string) error
	DeleteLoginRecordCollection(ctx context.Context, query *query.Query) error
}

type RoleBindingReader

type RoleBindingReader interface {
	ListRoleBindings(ctx context.Context, query *query.Query) (*iamv1.GlobalRoleBindingList, error)
	WatchRoleBindings(ctx context.Context, query *query.Query) (watch.Interface, error)
	GetRoleBinding(ctx context.Context, name string) (*iamv1.GlobalRoleBinding, error)
	RoleBindingReaderEx
}

type RoleBindingReaderEx

type RoleBindingReaderEx interface {
	GetRoleBindingEx(ctx context.Context, name string, resourceVersion string) (*iamv1.GlobalRoleBinding, error)
	ListRoleBindingEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
}

type RoleBindingWriter

type RoleBindingWriter interface {
	CreateRoleBinding(ctx context.Context, role *iamv1.GlobalRoleBinding) (*iamv1.GlobalRoleBinding, error)
	UpdateRoleBinding(ctx context.Context, role *iamv1.GlobalRoleBinding) (*iamv1.GlobalRoleBinding, error)
	DeleteRoleBinding(ctx context.Context, name string) error
}

type RoleReader

type RoleReader interface {
	ListRoles(ctx context.Context, query *query.Query) (*iamv1.GlobalRoleList, error)
	WatchRoles(ctx context.Context, query *query.Query) (watch.Interface, error)
	GetRole(ctx context.Context, name string) (*iamv1.GlobalRole, error)
	RoleReaderEx
}

type RoleReaderEx

type RoleReaderEx interface {
	GetRoleEx(ctx context.Context, name string, resourceVersion string) (*iamv1.GlobalRole, error)
	ListRoleEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
	GetRoleOfUser(ctx context.Context, username string) (*iamv1.GlobalRole, error)
}

type RoleWriter

type RoleWriter interface {
	CreateRole(ctx context.Context, role *iamv1.GlobalRole) (*iamv1.GlobalRole, error)
	UpdateRole(ctx context.Context, role *iamv1.GlobalRole) (*iamv1.GlobalRole, error)
	DeleteRole(ctx context.Context, name string) error
}

type TokenReader

type TokenReader interface {
	ListTokens(ctx context.Context, query *query.Query) (*iamv1.TokenList, error)
	WatchTokens(ctx context.Context, query *query.Query) (watch.Interface, error)
	GetToken(ctx context.Context, name string) (*iamv1.Token, error)
	TokenReaderEx
}

type TokenReaderEx

type TokenReaderEx interface {
	GetTokenEx(ctx context.Context, name string, resourceVersion string) (*iamv1.Token, error)
	ListTokenEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
}

type TokenWriter

type TokenWriter interface {
	CreateToken(ctx context.Context, token *iamv1.Token) (*iamv1.Token, error)
	UpdateToken(ctx context.Context, token *iamv1.Token) (*iamv1.Token, error)
	DeleteToken(ctx context.Context, name string) error
	DeleteTokenCollection(ctx context.Context, query *query.Query) error
}

type UserReader

type UserReader interface {
	ListUsers(ctx context.Context, query *query.Query) (*iamv1.UserList, error)
	WatchUsers(ctx context.Context, query *query.Query) (watch.Interface, error)
	GetUser(ctx context.Context, name string) (*iamv1.User, error)
	UserReaderEx
}

type UserReaderEx

type UserReaderEx interface {
	GetUserEx(ctx context.Context, name string, resourceVersion string, desensitization bool, includeRole bool) (*iamv1.User, error)
	ListUserEx(ctx context.Context, query *query.Query, desensitization bool, includeRole bool) (*models.PageableResponse, error)
	ListUsersByRole(ctx context.Context, query *query.Query, role string) (*models.PageableResponse, error)
}

type UserWriter

type UserWriter interface {
	CreateUser(ctx context.Context, user *iamv1.User) (*iamv1.User, error)
	UpdateUser(ctx context.Context, user *iamv1.User) (*iamv1.User, error)
	DeleteUser(ctx context.Context, name string) error
}

Directories

Path Synopsis
Package mock_iam is a generated GoMock package.
Package mock_iam is a generated GoMock package.

Jump to

Keyboard shortcuts

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