Documentation ¶
Index ¶
- Variables
- func GetGCloudInstanceMetadata(name string) (string, error)
- func GetGCloudProjectMetadata(name string) (string, error)
- func GetReleaseTargets(goOS build.OS, goArch build.Arch) []build.Target
- func GithubCreateRelease(ctx context.Context, account *GithubAccount, tag string, pre bool) (int64, error)
- func GithubGetFileSHA(ctx context.Context, account *GithubAccount, path string) (string, error)
- func GithubUploadAsset(ctx context.Context, account *GithubAccount, id int64, file string) error
- func GithubUploadFile(ctx context.Context, account *GithubAccount, path string, file string) error
- type FileMetadata
- type FileMetadataWriter
- type GithubAccount
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OptionSign bool = false
)
Functions ¶
func GithubCreateRelease ¶
func GithubGetFileSHA ¶
func GithubUploadAsset ¶
func GithubUploadFile ¶
Types ¶
type FileMetadata ¶
type FileMetadata struct {
// contains filtered or unexported fields
}
func GenerateFileMetadata ¶
func GenerateFileMetadata(file string) (*FileMetadata, error)
func (*FileMetadata) Checksum ¶
func (meta *FileMetadata) Checksum() string
type FileMetadataWriter ¶
type FileMetadataWriter struct {
// contains filtered or unexported fields
}
func NewFileMetadataWriter ¶
func NewFileMetadataWriter(file string) (*FileMetadataWriter, error)
func (*FileMetadataWriter) Append ¶
func (w *FileMetadataWriter) Append(metadata *FileMetadata)
func (*FileMetadataWriter) Close ¶
func (w *FileMetadataWriter) Close() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.