Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExpiredSession = fmt.Errorf("your session has expired, please login again using `pennywise login`")
Functions ¶
func CheckExpirationTime ¶
func RemoveConfig ¶
func RemoveConfig() error
Types ¶
type Config ¶
type ServerClient ¶
type ServerClient interface { GetStateCost(req schema.Submission) (*cost.State, error) GetStateCostV2(req schema.SubmissionV2) (*cost.ModularState, error) AddIngestion(provider, service, region string) (*schema.IngestionJob, error) ListIngestionJobs(provider, service, region, status string) ([]schema.IngestionJob, error) GetIngestionJob(id string) (*schema.IngestionJob, error) ListServices(provider string) ([]string, error) GetSubmissionsDiff(req schema.SubmissionsDiff) (*schema.StateDiff, error) GetSubmissionsDiffV2(req schema.SubmissionsDiffV2) (*schema.ModularStateDiff, error) }
func NewPennywiseServerClient ¶
func NewPennywiseServerClient(baseURL string) (ServerClient, error)
Click to show internal directories.
Click to hide internal directories.