Documentation ¶
Index ¶
- func IsNil(i interface{}) bool
- type DeploymentActionPackage
- type OctopusPackageMetadataService
- type Package
- type PackageDeltaSignatureQuery
- type PackageDeltaUploadQuery
- type PackageDescription
- type PackageMetadataQuery
- type PackageMetadataService
- type PackageNote
- type PackageNotesListQuery
- type PackageNotesResult
- type PackageReference
- type PackageService
- type PackageUploadQuery
- type PackageVersion
- type PackagesBulkQuery
- type PackagesQuery
- type SelectedPackage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeploymentActionPackage ¶
type Package ¶
type Package struct { Description string `json:"Description,omitempty"` FeedID string `json:"FeedId,omitempty"` FileExtension string `json:"FileExtension,omitempty"` NuGetFeedID string `json:"NuGetFeedId,omitempty"` NuGetPackageID string `json:"NuGetPackageId,omitempty"` PackageID string `json:"PackageId,omitempty"` BuildInformation *buildinformation.BuildInformation `json:"PackageVersionBuildInformation,omitempty"` Published time.Time `json:"ReleaseNotes,omitempty"` Summary string `json:"Summary,omitempty"` Title string `json:"Title,omitempty"` Version string `json:"Version,omitempty"` resources.Resource }
func NewPackage ¶
func NewPackage() *Package
type PackageDeltaUploadQuery ¶
type PackageDeltaUploadQuery struct { BaseVersion string `uri:"baseVersion,omitempty" url:"baseVersion,omitempty"` OverwriteMode string `uri:"overwriteMode,omitempty" url:"overwriteMode,omitempty"` PackageID string `uri:"packageId,omitempty" url:"packageId,omitempty"` Replace bool `uri:"replace,omitempty" url:"replace,omitempty"` }
type PackageDescription ¶
type PackageMetadataQuery ¶
type PackageMetadataQuery struct { Filter string `uri:"filter,omitempty" url:"filter,omitempty"` Latest string `uri:"latest,omitempty" url:"latest,omitempty"` OverwriteMode string `uri:"overwriteMode,omitempty" url:"overwriteMode,omitempty"` Replace bool `uri:"replace,omitempty" url:"replace,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type PackageMetadataService ¶
func NewPackageMetadataService ¶
func NewPackageMetadataService(sling *sling.Sling, uriTemplate string) *PackageMetadataService
type PackageNote ¶
type PackageNote struct { FeedID string `json:"FeedId,omitempty"` Notes *PackageNotesResult `json:"Notes,omitempty"` PackageID string `json:"PackageId,omitempty"` Version string `json:"Version,omitempty"` }
func NewPackageNote ¶
func NewPackageNote() *PackageNote
type PackageNotesListQuery ¶
type PackageNotesListQuery struct {
PackageIDs []string `uri:"packageIds,omitempty" url:"packageIds,omitempty"`
}
type PackageNotesResult ¶
type PackageNotesResult struct { DisplayMessage string `json:"DisplayMessage,omitempty"` FailureReason string `json:"FailureReason,omitempty"` Notes string `json:"Notes,omitempty"` Succeeded bool `json:"Succeeded,omitempty"` }
func NewPackageNotesResult ¶
func NewPackageNotesResult() *PackageNotesResult
type PackageReference ¶
type PackageReference struct { AcquisitionLocation string `json:"AcquisitionLocation"` // This can be an expression FeedID string `json:"FeedId"` ID string `json:"Id,omitempty"` Name string `json:"Name,omitempty"` PackageID string `json:"PackageId,omitempty"` Properties map[string]string `json:"Properties"` }
type PackageService ¶
type PackageService struct { services.CanDeleteService // contains filtered or unexported fields }
func NewPackageService ¶
func (*PackageService) GetAll ¶
func (s *PackageService) GetAll() ([]*Package, error)
GetAll returns all packages. If none can be found or an error occurs, it returns an empty collection.
type PackageUploadQuery ¶
type PackageVersion ¶
type PackageVersion struct { FeedID string `json:"FeedId,omitempty"` PackageID string `json:"PackageId,omitempty"` Published time.Time `json:"Published,omitempty"` ReleaseNotes string `json:"ReleaseNotes,omitempty"` SizeBytes int64 `json:"SizeBytes,omitempty"` Title string `json:"Title,omitempty"` Version string `json:"Version,omitempty"` resources.Resource }
func NewPackageVersion ¶
func NewPackageVersion() *PackageVersion
type PackagesBulkQuery ¶
type PackagesBulkQuery struct {
IDs []string `uri:"ids,omitempty" url:"ids,omitempty"`
}
type PackagesQuery ¶
type PackagesQuery struct { Filter string `uri:"filter,omitempty" url:"filter,omitempty"` IncludeNotes bool `uri:"includeNotes,omitempty" url:"includeNotes,omitempty"` Latest string `uri:"latest,omitempty" url:"latest,omitempty"` NuGetPackageID string `uri:"nuGetPackageId,omitempty" url:"nuGetPackageId,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
Source Files ¶
- deployment_action_package.go
- is_nil.go
- octopus_package_metadata_service.go
- package.go
- package_delta_signature_query.go
- package_delta_upload_query.go
- package_description.go
- package_metadata_query.go
- package_metadata_service.go
- package_note.go
- package_notes_list_query.go
- package_notes_result.go
- package_reference.go
- package_service.go
- package_upload_query.go
- package_version.go
- packages_bulk_query.go
- packages_query.go
- selected_package.go
Click to show internal directories.
Click to hide internal directories.