Documentation ¶
Index ¶
- type Attrs
- type Binding
- type Config
- type IamPolicy
- type IamPolicyCreator
- type IamPolicyDeleter
- type IamPolicyGetter
- type IamPolicyHandler
- func (h *IamPolicyHandler) Close() error
- func (h *IamPolicyHandler) CreateResource(ctx context.Context, id sdk.Identifier, config any) (sdk.Resource, error)
- func (h *IamPolicyHandler) DeleteResource(ctx context.Context, id sdk.Identifier) error
- func (h *IamPolicyHandler) GetResource(ctx context.Context, id sdk.Identifier) (sdk.Resource, error)
- func (h *IamPolicyHandler) UpdateResource(ctx context.Context, id sdk.Identifier, config any, mask []sdk.UpdateMaskField) (sdk.Resource, error)
- type IamPolicyUpdator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct { Members []sdk.ResourceIdentifier Role sdk.ResourceIdentifier }
func ParseBinding ¶
func ParseBindingList ¶
type IamPolicy ¶
type IamPolicy struct { Identifier identifier.IamPolicyIdentifier Config Config Attrs Attrs }
type IamPolicyCreator ¶
type IamPolicyCreator interface {
CreateIamPolicy(context.Context, identifier.IamPolicyIdentifier, Config) (IamPolicy, error)
}
type IamPolicyDeleter ¶
type IamPolicyDeleter interface {
DeleteIamPolicy(context.Context, identifier.IamPolicyIdentifier) error
}
type IamPolicyGetter ¶
type IamPolicyGetter interface {
GetIamPolicy(context.Context, identifier.IamPolicyIdentifier) (IamPolicy, error)
}
type IamPolicyHandler ¶
type IamPolicyHandler struct { IamPolicyGetter IamPolicyGetter IamPolicyCreator IamPolicyCreator IamPolicyUpdator IamPolicyUpdator IamPolicyDeleter IamPolicyDeleter CloseFunc func() error }
func (*IamPolicyHandler) Close ¶
func (h *IamPolicyHandler) Close() error
func (*IamPolicyHandler) CreateResource ¶
func (h *IamPolicyHandler) CreateResource(ctx context.Context, id sdk.Identifier, config any) (sdk.Resource, error)
func (*IamPolicyHandler) DeleteResource ¶
func (h *IamPolicyHandler) DeleteResource(ctx context.Context, id sdk.Identifier) error
func (*IamPolicyHandler) GetResource ¶
func (h *IamPolicyHandler) GetResource(ctx context.Context, id sdk.Identifier) (sdk.Resource, error)
func (*IamPolicyHandler) UpdateResource ¶
func (h *IamPolicyHandler) UpdateResource(ctx context.Context, id sdk.Identifier, config any, mask []sdk.UpdateMaskField) (sdk.Resource, error)
type IamPolicyUpdator ¶
type IamPolicyUpdator interface {
UpdateIamPolicy(context.Context, identifier.IamPolicyIdentifier, Config, []sdk.UpdateMaskField) (IamPolicy, error)
}
Click to show internal directories.
Click to hide internal directories.