Documentation ¶
Index ¶
- type BatchGetIamPolicyBindingsRowsQuery
- type ColumnDescriptor
- type DatabaseDescriptor
- type GetIamPolicyBindingsRowQuery
- type IamPolicyBindingsByMemberAndResourceIndexDescriptor
- type IamPolicyBindingsByMemberAndRoleIndexDescriptor
- type IamPolicyBindingsKey
- type IamPolicyBindingsRow
- func (*IamPolicyBindingsRow) ColumnExprs() []spansql.Expr
- func (*IamPolicyBindingsRow) ColumnIDs() []spansql.ID
- func (*IamPolicyBindingsRow) ColumnNames() []string
- func (r *IamPolicyBindingsRow) Key() IamPolicyBindingsKey
- func (r *IamPolicyBindingsRow) Mutate() (string, []string, []interface{})
- func (r *IamPolicyBindingsRow) MutateColumns(columns []string) (string, []string, []interface{})
- func (r *IamPolicyBindingsRow) MutatePresentColumns() (string, []string, []interface{})
- func (r *IamPolicyBindingsRow) UnmarshalSpannerRow(row *spanner.Row) error
- func (r *IamPolicyBindingsRow) Validate() error
- type IamPolicyBindingsRowIterator
- type IamPolicyBindingsTableDescriptor
- type ListIamPolicyBindingsRowsQuery
- type ReadTransaction
- func (t ReadTransaction) BatchGetIamPolicyBindingsRows(ctx context.Context, query BatchGetIamPolicyBindingsRowsQuery) (map[IamPolicyBindingsKey]*IamPolicyBindingsRow, error)
- func (t ReadTransaction) GetIamPolicyBindingsRow(ctx context.Context, query GetIamPolicyBindingsRowQuery) (*IamPolicyBindingsRow, error)
- func (t ReadTransaction) ListIamPolicyBindingsRows(ctx context.Context, query ListIamPolicyBindingsRowsQuery) IamPolicyBindingsRowIterator
- func (t ReadTransaction) ReadIamPolicyBindingsRows(ctx context.Context, keySet spanner.KeySet) IamPolicyBindingsRowIterator
- type SpannerReadTransaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchGetIamPolicyBindingsRowsQuery ¶
type BatchGetIamPolicyBindingsRowsQuery struct {
Keys []IamPolicyBindingsKey
}
type ColumnDescriptor ¶
type DatabaseDescriptor ¶
type DatabaseDescriptor interface { IamPolicyBindings() IamPolicyBindingsTableDescriptor IamPolicyBindingsByMemberAndResource() IamPolicyBindingsByMemberAndResourceIndexDescriptor IamPolicyBindingsByMemberAndRole() IamPolicyBindingsByMemberAndRoleIndexDescriptor }
func Descriptor ¶
func Descriptor() DatabaseDescriptor
type GetIamPolicyBindingsRowQuery ¶
type GetIamPolicyBindingsRowQuery struct {
Key IamPolicyBindingsKey
}
type IamPolicyBindingsByMemberAndResourceIndexDescriptor ¶
type IamPolicyBindingsByMemberAndResourceIndexDescriptor interface { IndexName() string IndexID() spansql.ID ColumnNames() []string ColumnIDs() []spansql.ID ColumnExprs() []spansql.Expr Member() ColumnDescriptor Resource() ColumnDescriptor Role() ColumnDescriptor }
type IamPolicyBindingsByMemberAndRoleIndexDescriptor ¶
type IamPolicyBindingsByMemberAndRoleIndexDescriptor interface { IndexName() string IndexID() spansql.ID ColumnNames() []string ColumnIDs() []spansql.ID ColumnExprs() []spansql.Expr Member() ColumnDescriptor Role() ColumnDescriptor Resource() ColumnDescriptor }
type IamPolicyBindingsKey ¶
type IamPolicyBindingsKey struct { Resource string BindingIndex int64 Role string MemberIndex int64 Member string }
func (IamPolicyBindingsKey) BoolExpr ¶
func (k IamPolicyBindingsKey) BoolExpr() spansql.BoolExpr
func (IamPolicyBindingsKey) Delete ¶
func (k IamPolicyBindingsKey) Delete() *spanner.Mutation
func (IamPolicyBindingsKey) Order ¶
func (IamPolicyBindingsKey) Order() []spansql.Order
func (IamPolicyBindingsKey) SpannerKey ¶
func (k IamPolicyBindingsKey) SpannerKey() spanner.Key
func (IamPolicyBindingsKey) SpannerKeySet ¶
func (k IamPolicyBindingsKey) SpannerKeySet() spanner.KeySet
type IamPolicyBindingsRow ¶
type IamPolicyBindingsRow struct { Resource string `spanner:"resource"` BindingIndex int64 `spanner:"binding_index"` Role string `spanner:"role"` MemberIndex int64 `spanner:"member_index"` Member string `spanner:"member"` }
func (*IamPolicyBindingsRow) ColumnExprs ¶
func (*IamPolicyBindingsRow) ColumnExprs() []spansql.Expr
func (*IamPolicyBindingsRow) ColumnIDs ¶
func (*IamPolicyBindingsRow) ColumnIDs() []spansql.ID
func (*IamPolicyBindingsRow) ColumnNames ¶
func (*IamPolicyBindingsRow) ColumnNames() []string
func (*IamPolicyBindingsRow) Key ¶
func (r *IamPolicyBindingsRow) Key() IamPolicyBindingsKey
func (*IamPolicyBindingsRow) Mutate ¶
func (r *IamPolicyBindingsRow) Mutate() (string, []string, []interface{})
func (*IamPolicyBindingsRow) MutateColumns ¶
func (r *IamPolicyBindingsRow) MutateColumns(columns []string) (string, []string, []interface{})
func (*IamPolicyBindingsRow) MutatePresentColumns ¶
func (r *IamPolicyBindingsRow) MutatePresentColumns() (string, []string, []interface{})
func (*IamPolicyBindingsRow) UnmarshalSpannerRow ¶
func (r *IamPolicyBindingsRow) UnmarshalSpannerRow(row *spanner.Row) error
func (*IamPolicyBindingsRow) Validate ¶
func (r *IamPolicyBindingsRow) Validate() error
type IamPolicyBindingsRowIterator ¶
type IamPolicyBindingsRowIterator interface { Next() (*IamPolicyBindingsRow, error) Do(f func(row *IamPolicyBindingsRow) error) error Stop() }
type IamPolicyBindingsTableDescriptor ¶
type IamPolicyBindingsTableDescriptor interface { TableName() string TableID() spansql.ID ColumnNames() []string ColumnIDs() []spansql.ID ColumnExprs() []spansql.Expr Resource() ColumnDescriptor BindingIndex() ColumnDescriptor Role() ColumnDescriptor MemberIndex() ColumnDescriptor Member() ColumnDescriptor }
type ReadTransaction ¶
type ReadTransaction struct {
Tx SpannerReadTransaction
}
func Query ¶
func Query(tx SpannerReadTransaction) ReadTransaction
func (ReadTransaction) BatchGetIamPolicyBindingsRows ¶
func (t ReadTransaction) BatchGetIamPolicyBindingsRows( ctx context.Context, query BatchGetIamPolicyBindingsRowsQuery, ) (map[IamPolicyBindingsKey]*IamPolicyBindingsRow, error)
func (ReadTransaction) GetIamPolicyBindingsRow ¶
func (t ReadTransaction) GetIamPolicyBindingsRow( ctx context.Context, query GetIamPolicyBindingsRowQuery, ) (*IamPolicyBindingsRow, error)
func (ReadTransaction) ListIamPolicyBindingsRows ¶
func (t ReadTransaction) ListIamPolicyBindingsRows( ctx context.Context, query ListIamPolicyBindingsRowsQuery, ) IamPolicyBindingsRowIterator
func (ReadTransaction) ReadIamPolicyBindingsRows ¶
func (t ReadTransaction) ReadIamPolicyBindingsRows( ctx context.Context, keySet spanner.KeySet, ) IamPolicyBindingsRowIterator
type SpannerReadTransaction ¶
type SpannerReadTransaction interface { Read(ctx context.Context, table string, keys spanner.KeySet, columns []string) *spanner.RowIterator ReadRow(ctx context.Context, table string, key spanner.Key, columns []string) (*spanner.Row, error) Query(ctx context.Context, statement spanner.Statement) *spanner.RowIterator }
Click to show internal directories.
Click to hide internal directories.