Documentation ¶
Index ¶
- type GithubPlanStorage
- func (gps *GithubPlanStorage) DeleteStoredPlan(storedPlanFilePath string) error
- func (gps *GithubPlanStorage) DownloadLatestPlans() (string, error)
- func (gps *GithubPlanStorage) PlanExists(storedPlanFilePath string) (bool, error)
- func (gps *GithubPlanStorage) RetrievePlan(localPlanFilePath string, storedPlanFilePath string) (*string, error)
- func (gps *GithubPlanStorage) StorePlan(localPlanFilePath string, storedPlanFilePath string) error
- type PlanStorageGcp
- func (psg *PlanStorageGcp) DeleteStoredPlan(storedPlanFilePath string) error
- func (psg *PlanStorageGcp) PlanExists(storedPlanFilePath string) (bool, error)
- func (psg *PlanStorageGcp) RetrievePlan(localPlanFilePath string, storedPlanFilePath string) (*string, error)
- func (psg *PlanStorageGcp) StorePlan(localPlanFilePath string, storedPlanFilePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubPlanStorage ¶
type GithubPlanStorage struct { Client *github.Client Owner string RepoName string PullRequestNumber int ZipManager utils.Zipper }
func (*GithubPlanStorage) DeleteStoredPlan ¶
func (gps *GithubPlanStorage) DeleteStoredPlan(storedPlanFilePath string) error
func (*GithubPlanStorage) DownloadLatestPlans ¶
func (gps *GithubPlanStorage) DownloadLatestPlans() (string, error)
func (*GithubPlanStorage) PlanExists ¶
func (gps *GithubPlanStorage) PlanExists(storedPlanFilePath string) (bool, error)
func (*GithubPlanStorage) RetrievePlan ¶
func (gps *GithubPlanStorage) RetrievePlan(localPlanFilePath string, storedPlanFilePath string) (*string, error)
type PlanStorageGcp ¶
type PlanStorageGcp struct { Client *storage.Client Bucket *storage.BucketHandle Context context.Context }
func (*PlanStorageGcp) DeleteStoredPlan ¶
func (psg *PlanStorageGcp) DeleteStoredPlan(storedPlanFilePath string) error
func (*PlanStorageGcp) PlanExists ¶
func (psg *PlanStorageGcp) PlanExists(storedPlanFilePath string) (bool, error)
func (*PlanStorageGcp) RetrievePlan ¶
func (psg *PlanStorageGcp) RetrievePlan(localPlanFilePath string, storedPlanFilePath string) (*string, error)
Click to show internal directories.
Click to hide internal directories.