Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { Publisher string `json:"publisher" dynamodbav:"publisher"` Name string `json:"name" dynamodbav:"name"` // name should be the id, limited characters, no space IsDev bool `json:"isDev" dynamodbav:"isDev"` // isDev flag is used to differentiate and filter dev providers Version string `json:"version" dynamodbav:"version"` // specified by the users (semver) Meta providerregistrysdk.ProviderMetaInfo `json:"meta" dynamodbav:"meta"` Latest bool `json:"latest" dynamodbav:"latest"` Schema providerregistrysdk.Schema `json:"schema" dynamodbav:"schema"` CreatedBy string `json:"createdBy" dynamodbav:"createdBy"` LastUpdatedBy string `json:"lastUpdatedBy" dynamodbav:"lastUpdatedBy"` CreatedAt time.Time `json:"createdAt" dynamodbav:"createdAt"` UpdatedAt time.Time `json:"updatedAt" dynamodbav:"updatedAt"` }
func (Provider) ToAPI ¶
func (p Provider) ToAPI(assetsBucketName string) providerregistrysdk.ProviderDetail
type Publishing ¶
type Publishing struct { Publisher string `json:"publisher" dynamodbav:"publisher"` Name string `json:"name" dynamodbav:"name"` // name should be the id, limited characters, no space Version string `json:"version" dynamodbav:"version"` // specified by the users (semver) IsDev bool `json:"isDev" dynamodbav:"isDev"` // isDev flag is used to differentiate and filter dev providers Schema providerregistrysdk.Schema `json:"schema" dynamodbav:"schema"` Meta providerregistrysdk.ProviderMetaInfo `json:"meta" dynamodbav:"meta"` // The file paths that were requested for upload RoleFiles []string `json:"roleFiles" dynamodbav:"roleFiles"` }
The publishing type represents a provider which is in the process of being published when publishing is complete, and validated, a Provider type will be created from the outcome of publishing.
func (Publishing) S3Paths ¶
func (p Publishing) S3Paths() S3Paths
Click to show internal directories.
Click to hide internal directories.