Documentation ¶
Index ¶
- Constants
- func AddFileToZip(zipWriter *zip.Writer, filename string) error
- func DeleteFile(path string) error
- func GenerateFilesToZip(pathToDir string) []string
- func GetRequest()
- func PostRequest(endpoint string, payload string) string
- func RecursiveZip(pathToZip, destinationPath string) error
- func UploadRequest(filePath string, uploadURL string) *http.Response
- func ZipFiles(filename string, files []string) error
- type DownResponse
- type Image
- type JobReleaseResponse
- type JobStatus
- type LogResponse
- type Project
- type ReleasesResponse
- type Response
- type Service
- type ServiceReleaseResponse
- type ServiceStatus
- type SignedUrlResponse
- type TokenResponse
- type UpRelease
- type UpResponse
Constants ¶
View Source
const Version = 1.0
Version 1.0: Initialize CLI
Variables ¶
This section is empty.
Functions ¶
func DeleteFile ¶
func GenerateFilesToZip ¶
func GetRequest ¶
func GetRequest()
func PostRequest ¶
func RecursiveZip ¶
Types ¶
type DownResponse ¶
func DownRequest ¶
func DownRequest(urlEndpoint string, payload string) *DownResponse
type JobReleaseResponse ¶
type JobStatus ¶
type JobStatus struct { Resp struct { Notices []string Warnings []string Errors []string JOB_STATUS struct { Reason string EXIT_CODE int StartedAt string FinishedAt string } } }
func JobStatusRequest ¶
type LogResponse ¶
type LogResponse struct { Resp struct { Notices []string Warnings []string Errors []string Logs []string } }
func LogsRequest ¶
func LogsRequest(urlEndpoint string, payload string) *LogResponse
type ReleasesResponse ¶
type ReleasesResponse struct { Resp struct { Notices []string Warnings []string Errors []string Jobs []JobReleaseResponse Services []ServiceReleaseResponse } }
func ReleasesRequest ¶
func ReleasesRequest(urlEndpoint string, payload string) *ReleasesResponse
type ServiceReleaseResponse ¶
type ServiceReleaseResponse struct {
RELEASE_NAME string
}
type ServiceStatus ¶
type ServiceStatus struct { Resp struct { Notices []string Warnings []string Errors []string Deployment struct { AvailableReplicas int ObservedGeneration int ReadyReplicas int Replicas int UpdatedReplicas int } } }
func ServiceStatusRequest ¶
func ServiceStatusRequest(urlEndpoint string, payload string) *ServiceStatus
type SignedUrlResponse ¶
type SignedUrlResponse struct { Resp struct { PRESIGNED_URL string } `json:"resp"` }
type TokenResponse ¶
type UpResponse ¶
Click to show internal directories.
Click to hide internal directories.