Documentation ¶
Index ¶
- func Serve(c client.Client) error
- type PreviewApi
- type PreviewDTO
- type PreviewService
- func (svc *PreviewService) CreatePreview(ctx context.Context, request previewCreateRequest) (*v1alpha1.Preview, error)
- func (svc *PreviewService) GetPreview(ctx context.Context, name string) (*v1alpha1.Preview, error)
- func (svc *PreviewService) ListPreviews(ctx context.Context) ([]v1alpha1.Preview, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PreviewApi ¶
type PreviewApi struct {
// contains filtered or unexported fields
}
type PreviewDTO ¶
type PreviewDTO struct { Name string `json:"name"` Spec v1alpha1.PreviewSpec `json:"spec"` Status v1alpha1.PreviewStatus `json:"status"` }
TODO: Should this be more wrapped/not reuse the internal types?
type PreviewService ¶
type PreviewService struct {
// contains filtered or unexported fields
}
func BuildPreviewService ¶
func BuildPreviewService(c client.Client) PreviewService
func (*PreviewService) CreatePreview ¶
func (*PreviewService) GetPreview ¶
func (*PreviewService) ListPreviews ¶
I totally just let the AI write this whole thing for me. No clue if it works :)
Click to show internal directories.
Click to hide internal directories.