Documentation ¶
Index ¶
- func AccessControlEntry_FromProto(mapCtx *direct.MapContext, in *pb.AccessControlEntry) *krm.AccessControlEntry
- func AccessControlEntry_ToProto(mapCtx *direct.MapContext, in *krm.AccessControlEntry) *pb.AccessControlEntry
- func AdditionalNotificationTargets_FromProto(mapCtx *direct.MapContext, in *pb.Entitlement_AdditionalNotificationTargets) *krm.AdditionalNotificationTargets
- func AdditionalNotificationTargets_ToProto(mapCtx *direct.MapContext, in *krm.AdditionalNotificationTargets) *pb.Entitlement_AdditionalNotificationTargets
- func ApprovalWorkflow_FromProto(mapCtx *direct.MapContext, in *pb.ApprovalWorkflow) *krm.ApprovalWorkflow
- func ApprovalWorkflow_ToProto(mapCtx *direct.MapContext, in *krm.ApprovalWorkflow) *pb.ApprovalWorkflow
- func GcpIamAccess_FromProto(mapCtx *direct.MapContext, in *pb.PrivilegedAccess_GcpIamAccess) *krm.GcpIamAccess
- func GcpIamAccess_ToProto(mapCtx *direct.MapContext, in *krm.GcpIamAccess, ...) *pb.PrivilegedAccess_GcpIamAccess
- func ManualApprovals_FromProto(mapCtx *direct.MapContext, in *pb.ManualApprovals) *krm.ManualApprovals
- func ManualApprovals_ToProto(mapCtx *direct.MapContext, in *krm.ManualApprovals) *pb.ManualApprovals
- func NewModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)
- func PrivilegedAccessManagerEntitlementSpec_FromProto(mapCtx *direct.MapContext, in *pb.Entitlement) *krm.PrivilegedAccessManagerEntitlementSpec
- func PrivilegedAccessManagerEntitlementSpec_ToProto(mapCtx *direct.MapContext, in *krm.PrivilegedAccessManagerEntitlementSpec, ...) *pb.Entitlement
- func PrivilegedAccessManagerEntitlementStatusObservedState_FromProto(mapCtx *direct.MapContext, in *pb.Entitlement) *krm.PrivilegedAccessManagerEntitlementObservedState
- func PrivilegedAccess_FromProto(mapCtx *direct.MapContext, in *pb.PrivilegedAccess) *krm.PrivilegedAccess
- func PrivilegedAccess_ToProto(mapCtx *direct.MapContext, in *krm.PrivilegedAccess, ...) *pb.PrivilegedAccess
- func RequesterJustificationConfig_FromProto(mapCtx *direct.MapContext, in *pb.Entitlement_RequesterJustificationConfig) *krm.RequesterJustificationConfig
- func RequesterJustificationConfig_ToProto(mapCtx *direct.MapContext, in *krm.RequesterJustificationConfig) *pb.Entitlement_RequesterJustificationConfig
- func RoleBinding_FromProto(mapCtx *direct.MapContext, in *pb.PrivilegedAccess_GcpIamAccess_RoleBinding) *krm.RoleBinding
- func RoleBinding_ToProto(mapCtx *direct.MapContext, in *krm.RoleBinding) *pb.PrivilegedAccess_GcpIamAccess_RoleBinding
- func Step_FromProto(mapCtx *direct.MapContext, in *pb.ManualApprovals_Step) *krm.Step
- func Step_ToProto(mapCtx *direct.MapContext, in *krm.Step) *pb.ManualApprovals_Step
- type Adapter
- func (a *Adapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error
- func (a *Adapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)
- func (a *Adapter) Export(ctx context.Context) (*unstructured.Unstructured, error)
- func (a *Adapter) Find(ctx context.Context) (bool, error)
- func (a *Adapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error
- type PrivilegedAccessManagerEntitlementIdentity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessControlEntry_FromProto ¶
func AccessControlEntry_FromProto(mapCtx *direct.MapContext, in *pb.AccessControlEntry) *krm.AccessControlEntry
func AccessControlEntry_ToProto ¶
func AccessControlEntry_ToProto(mapCtx *direct.MapContext, in *krm.AccessControlEntry) *pb.AccessControlEntry
func AdditionalNotificationTargets_FromProto ¶
func AdditionalNotificationTargets_FromProto(mapCtx *direct.MapContext, in *pb.Entitlement_AdditionalNotificationTargets) *krm.AdditionalNotificationTargets
func AdditionalNotificationTargets_ToProto ¶
func AdditionalNotificationTargets_ToProto(mapCtx *direct.MapContext, in *krm.AdditionalNotificationTargets) *pb.Entitlement_AdditionalNotificationTargets
func ApprovalWorkflow_FromProto ¶
func ApprovalWorkflow_FromProto(mapCtx *direct.MapContext, in *pb.ApprovalWorkflow) *krm.ApprovalWorkflow
func ApprovalWorkflow_ToProto ¶
func ApprovalWorkflow_ToProto(mapCtx *direct.MapContext, in *krm.ApprovalWorkflow) *pb.ApprovalWorkflow
func GcpIamAccess_FromProto ¶
func GcpIamAccess_FromProto(mapCtx *direct.MapContext, in *pb.PrivilegedAccess_GcpIamAccess) *krm.GcpIamAccess
func GcpIamAccess_ToProto ¶
func GcpIamAccess_ToProto(mapCtx *direct.MapContext, in *krm.GcpIamAccess, hiddenFields gcpIAMAccessResource) *pb.PrivilegedAccess_GcpIamAccess
func ManualApprovals_FromProto ¶
func ManualApprovals_FromProto(mapCtx *direct.MapContext, in *pb.ManualApprovals) *krm.ManualApprovals
func ManualApprovals_ToProto ¶
func ManualApprovals_ToProto(mapCtx *direct.MapContext, in *krm.ManualApprovals) *pb.ManualApprovals
func NewModel ¶
func NewModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)
func PrivilegedAccessManagerEntitlementSpec_FromProto ¶
func PrivilegedAccessManagerEntitlementSpec_FromProto(mapCtx *direct.MapContext, in *pb.Entitlement) *krm.PrivilegedAccessManagerEntitlementSpec
func PrivilegedAccessManagerEntitlementSpec_ToProto ¶
func PrivilegedAccessManagerEntitlementSpec_ToProto(mapCtx *direct.MapContext, in *krm.PrivilegedAccessManagerEntitlementSpec, hiddenFields gcpIAMAccessResource) *pb.Entitlement
func PrivilegedAccessManagerEntitlementStatusObservedState_FromProto ¶
func PrivilegedAccessManagerEntitlementStatusObservedState_FromProto(mapCtx *direct.MapContext, in *pb.Entitlement) *krm.PrivilegedAccessManagerEntitlementObservedState
func PrivilegedAccess_FromProto ¶
func PrivilegedAccess_FromProto(mapCtx *direct.MapContext, in *pb.PrivilegedAccess) *krm.PrivilegedAccess
func PrivilegedAccess_ToProto ¶
func PrivilegedAccess_ToProto(mapCtx *direct.MapContext, in *krm.PrivilegedAccess, hiddenFields gcpIAMAccessResource) *pb.PrivilegedAccess
func RequesterJustificationConfig_FromProto ¶
func RequesterJustificationConfig_FromProto(mapCtx *direct.MapContext, in *pb.Entitlement_RequesterJustificationConfig) *krm.RequesterJustificationConfig
func RequesterJustificationConfig_ToProto ¶
func RequesterJustificationConfig_ToProto(mapCtx *direct.MapContext, in *krm.RequesterJustificationConfig) *pb.Entitlement_RequesterJustificationConfig
func RoleBinding_FromProto ¶
func RoleBinding_FromProto(mapCtx *direct.MapContext, in *pb.PrivilegedAccess_GcpIamAccess_RoleBinding) *krm.RoleBinding
func RoleBinding_ToProto ¶
func RoleBinding_ToProto(mapCtx *direct.MapContext, in *krm.RoleBinding) *pb.PrivilegedAccess_GcpIamAccess_RoleBinding
func Step_FromProto ¶
func Step_FromProto(mapCtx *direct.MapContext, in *pb.ManualApprovals_Step) *krm.Step
func Step_ToProto ¶
func Step_ToProto(mapCtx *direct.MapContext, in *krm.Step) *pb.ManualApprovals_Step
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) Create ¶
func (a *Adapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error
func (*Adapter) Delete ¶
func (a *Adapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)
Delete implements the Adapter interface.
func (*Adapter) Export ¶
func (a *Adapter) Export(ctx context.Context) (*unstructured.Unstructured, error)
func (*Adapter) Update ¶
func (a *Adapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error
type PrivilegedAccessManagerEntitlementIdentity ¶
type PrivilegedAccessManagerEntitlementIdentity struct { Parent *parent Entitlement string }
The Identifier for Config Connector to track the PrivilegedAccessManagerEntitlement resource from the GCP service.
func BuildID ¶
func BuildID(container, location, resourceID string) *PrivilegedAccessManagerEntitlementIdentity
BuildID builds the ID for Config Connector to track the PrivilegedAccessManagerEntitlement resource from the GCP service.
func (*PrivilegedAccessManagerEntitlementIdentity) AsExternalRef ¶
func (c *PrivilegedAccessManagerEntitlementIdentity) AsExternalRef() *string
AsExternalRef builds a externalRef from a PrivilegedAccessManagerEntitlement.
func (*PrivilegedAccessManagerEntitlementIdentity) FullyQualifiedName ¶
func (c *PrivilegedAccessManagerEntitlementIdentity) FullyQualifiedName() string
FullyQualifiedName returns both parent and resource ID in the full url format.
Click to show internal directories.
Click to hide internal directories.