Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container helper does not show how to import #914

Closed
cmwylie19 opened this issue Jun 25, 2024 · 0 comments · Fixed by #919
Closed

container helper does not show how to import #914

cmwylie19 opened this issue Jun 25, 2024 · 0 comments · Fixed by #919
Assignees
Milestone

Comments

@cmwylie19
Copy link
Collaborator

cmwylie19 commented Jun 25, 2024

Describe what should be investigated or refactored

I am writing a blog trying to figure out how to use the containers helper. When looking at the docs I can't figure out how to import it.

Should show

import { sdk } from "pepr";

export const ContextGuardian = new Capability({
  name: "context-guardian",
  description: "Focuses on the role of protecting the security context",
});

const { When } = ContextGuardian;
const { containers } = sdk;

Links to any relevant code

let result = containers(peprValidationRequest, "containers")

Additional context

Add any other context or screenshots about the technical debt here.

@schaeferka schaeferka self-assigned this Jun 25, 2024
@cmwylie19 cmwylie19 added this to the v0.33.0 milestone Jun 26, 2024
@cmwylie19 cmwylie19 mentioned this issue Jun 27, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants