Versions in this module Expand all Collapse all v0 v0.152.0 Feb 13, 2026 v0.151.0 Feb 13, 2026 Changes in this version + func CMKStatusTypeChoices() []string + func ProviderTypeChoices() []string + type AwsOut struct + Principal string + type CMKAccessCheckTriggerOut struct + CreatedAt time.Time + DefaultCMK bool + Id string + Resource string + UpdatedAt time.Time + type CMKAccessorsListOut struct + Aws *AwsOut + Gcp GcpOut + Oci OciOut + type CMKCreateIn struct + DefaultCMK *bool + Provider ProviderType + Resource string + type CMKCreateOut struct + CreatedAt time.Time + DefaultCMK bool + Id string + Provider ProviderType + Resource string + Status CMKStatusType + UpdatedAt time.Time + type CMKDeleteOut struct + CreatedAt time.Time + DefaultCMK bool + Id string + Resource string + UpdatedAt time.Time + type CMKGetOut struct + CreatedAt time.Time + DefaultCMK bool + Id string + Resource string + UpdatedAt time.Time + type CMKHandler struct + func NewHandler(doer doer) CMKHandler + func (h *CMKHandler) CMKAccessCheckTrigger(ctx context.Context, project string, cmkid string) (*CMKAccessCheckTriggerOut, error) + func (h *CMKHandler) CMKAccessorsList(ctx context.Context, project string) (*CMKAccessorsListOut, error) + func (h *CMKHandler) CMKCreate(ctx context.Context, project string, in *CMKCreateIn) (*CMKCreateOut, error) + func (h *CMKHandler) CMKDelete(ctx context.Context, project string, cmkid string) (*CMKDeleteOut, error) + func (h *CMKHandler) CMKGet(ctx context.Context, project string, cmkid string) (*CMKGetOut, error) + func (h *CMKHandler) CMKUpdate(ctx context.Context, project string, cmkid string, in *CMKUpdateIn) (*CMKUpdateOut, error) + type CMKStatusType string + const CMKStatusTypeCurrent + const CMKStatusTypeDeleted + const CMKStatusTypeOld + type CMKUpdateIn struct + DefaultCMK *bool + type CMKUpdateOut struct + CreatedAt time.Time + DefaultCMK bool + Id string + Resource string + UpdatedAt time.Time + type GcpOut struct + AccessGroup string + type Handler interface + CMKAccessCheckTrigger func(ctx context.Context, project string, cmkid string) (*CMKAccessCheckTriggerOut, error) + CMKAccessorsList func(ctx context.Context, project string) (*CMKAccessorsListOut, error) + CMKCreate func(ctx context.Context, project string, in *CMKCreateIn) (*CMKCreateOut, error) + CMKDelete func(ctx context.Context, project string, cmkid string) (*CMKDeleteOut, error) + CMKGet func(ctx context.Context, project string, cmkid string) (*CMKGetOut, error) + CMKUpdate func(ctx context.Context, project string, cmkid string, in *CMKUpdateIn) (*CMKUpdateOut, error) + type OciOut struct + AccessGroup string + type ProviderType string + const ProviderTypeAws + const ProviderTypeGcp + const ProviderTypeOci