Documentation ¶
Index ¶
- Constants
- Variables
- func APIErrorChecker(urlPath string, resp *http.Response, wantedResponseCode int, slingError error, ...) error
- func Bool(v bool) *bool
- func FromTimeSpan(timeSpan string) time.Duration
- func Int(v int) *int
- func Int64(v int64) *int64
- func LoadNextPage(pagedResults PagedResults) (string, bool)
- func NotAll(fl validator.FieldLevel) bool
- func PrettyJSON(data interface{}) string
- func String(v string) *string
- func ToTimeSpan(duration time.Duration) string
- func ValidateLibraryVariableSetValues(LibraryVariableSet *LibraryVariableSet) error
- func ValidateMultipleProperties(validatePropertyErrors []error) error
- func ValidatePropertiesMatch(firstProperty, firstPropertyName, secondProperty, secondPropertyName string) error
- func ValidatePropertyValues(propertyName string, propertyValue string, validValues []string) error
- func ValidateRequiredPropertyValue(propertyName string, propertyValue string) error
- func ValidateRequiredSensitiveValue(propertyName string, sensitiveValue *SensitiveValue) error
- func ValidateRequiredUUID(propertyName string, id *uuid.UUID) error
- func ValidateSemanticVersion(propertyName string, version string) error
- func ValidateStringInSlice(str string, list []string) bool
- type APIError
- type APIKey
- func (r *APIKey) GetID() string
- func (r *APIKey) GetLinks() map[string]string
- func (r *APIKey) GetModifiedBy() string
- func (r *APIKey) GetModifiedOn() *time.Time
- func (r *APIKey) SetID(id string)
- func (r *APIKey) SetLinks(links map[string]string)
- func (r *APIKey) SetModifiedBy(modifiedBy string)
- func (r *APIKey) SetModifiedOn(modifiedOn *time.Time)
- func (r *APIKey) Validate() error
- type APIKeys
- type APIQuery
- type AccountResource
- func (a *AccountResource) GetAccountType() AccountType
- func (a *AccountResource) GetDescription() string
- func (a *AccountResource) GetEnvironmentIDs() []string
- func (r *AccountResource) GetID() string
- func (r *AccountResource) GetLinks() map[string]string
- func (r *AccountResource) GetModifiedBy() string
- func (r *AccountResource) GetModifiedOn() *time.Time
- func (a *AccountResource) GetName() string
- func (a *AccountResource) GetSpaceID() string
- func (a *AccountResource) GetTenantIDs() []string
- func (a *AccountResource) GetTenantTags() []string
- func (a *AccountResource) GetTenantedDeploymentMode() TenantedDeploymentMode
- func (a *AccountResource) SetDescription(description string)
- func (a *AccountResource) SetEnvironmentIDs(environmentIds []string)
- func (r *AccountResource) SetID(id string)
- func (r *AccountResource) SetLinks(links map[string]string)
- func (r *AccountResource) SetModifiedBy(modifiedBy string)
- func (r *AccountResource) SetModifiedOn(modifiedOn *time.Time)
- func (a *AccountResource) SetName(name string)
- func (a *AccountResource) SetSpaceID(spaceID string)
- func (a *AccountResource) SetTenantIDs(tenantIds []string)
- func (a *AccountResource) SetTenantTags(tenantTags []string)
- func (a *AccountResource) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
- func (a *AccountResource) Validate() error
- type AccountResources
- type AccountType
- type AccountUsage
- func (r *AccountUsage) GetID() string
- func (r *AccountUsage) GetLinks() map[string]string
- func (r *AccountUsage) GetModifiedBy() string
- func (r *AccountUsage) GetModifiedOn() *time.Time
- func (r *AccountUsage) SetID(id string)
- func (r *AccountUsage) SetLinks(links map[string]string)
- func (r *AccountUsage) SetModifiedBy(modifiedBy string)
- func (r *AccountUsage) SetModifiedOn(modifiedOn *time.Time)
- func (r *AccountUsage) Validate() error
- type Accounts
- type AccountsQuery
- type ActionTemplate
- func (r *ActionTemplate) GetID() string
- func (r *ActionTemplate) GetLinks() map[string]string
- func (r *ActionTemplate) GetModifiedBy() string
- func (r *ActionTemplate) GetModifiedOn() *time.Time
- func (r *ActionTemplate) SetID(id string)
- func (r *ActionTemplate) SetLinks(links map[string]string)
- func (r *ActionTemplate) SetModifiedBy(modifiedBy string)
- func (r *ActionTemplate) SetModifiedOn(modifiedOn *time.Time)
- func (a *ActionTemplate) Validate() error
- type ActionTemplateCategory
- type ActionTemplateLogoQuery
- type ActionTemplateParameter
- func (r *ActionTemplateParameter) GetID() string
- func (r *ActionTemplateParameter) GetLinks() map[string]string
- func (r *ActionTemplateParameter) GetModifiedBy() string
- func (r *ActionTemplateParameter) GetModifiedOn() *time.Time
- func (r *ActionTemplateParameter) SetID(id string)
- func (r *ActionTemplateParameter) SetLinks(links map[string]string)
- func (r *ActionTemplateParameter) SetModifiedBy(modifiedBy string)
- func (r *ActionTemplateParameter) SetModifiedOn(modifiedOn *time.Time)
- func (r *ActionTemplateParameter) Validate() error
- type ActionTemplateSearch
- type ActionTemplateVersionedLogoQuery
- type ActionTemplates
- type ActionTemplatesQuery
- type ActionType
- type ActivityLogElement
- type ActivityLogEntry
- type AmazonWebServicesAccount
- func (a *AmazonWebServicesAccount) GetAccountType() AccountType
- func (a *AmazonWebServicesAccount) GetDescription() string
- func (a *AmazonWebServicesAccount) GetEnvironmentIDs() []string
- func (a *AmazonWebServicesAccount) GetName() string
- func (a *AmazonWebServicesAccount) GetSpaceID() string
- func (a *AmazonWebServicesAccount) GetTenantIDs() []string
- func (a *AmazonWebServicesAccount) GetTenantTags() []string
- func (a *AmazonWebServicesAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
- func (a *AmazonWebServicesAccount) SetDescription(description string)
- func (a *AmazonWebServicesAccount) SetEnvironmentIDs(environmentIds []string)
- func (a *AmazonWebServicesAccount) SetName(name string)
- func (a *AmazonWebServicesAccount) SetSpaceID(spaceID string)
- func (a *AmazonWebServicesAccount) SetTenantIDs(tenantIds []string)
- func (a *AmazonWebServicesAccount) SetTenantTags(tenantTags []string)
- func (a *AmazonWebServicesAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
- func (a *AmazonWebServicesAccount) Validate() error
- type AnonymousGitCredential
- type Artifact
- func (r *Artifact) GetID() string
- func (r *Artifact) GetLinks() map[string]string
- func (r *Artifact) GetModifiedBy() string
- func (r *Artifact) GetModifiedOn() *time.Time
- func (r *Artifact) SetID(id string)
- func (r *Artifact) SetLinks(links map[string]string)
- func (r *Artifact) SetModifiedBy(modifiedBy string)
- func (r *Artifact) SetModifiedOn(modifiedOn *time.Time)
- func (r *Artifact) Validate() error
- type Artifacts
- type ArtifactsQuery
- type Authentication
- func (r *Authentication) GetID() string
- func (r *Authentication) GetLinks() map[string]string
- func (r *Authentication) GetModifiedBy() string
- func (r *Authentication) GetModifiedOn() *time.Time
- func (r *Authentication) SetID(id string)
- func (r *Authentication) SetLinks(links map[string]string)
- func (r *Authentication) SetModifiedBy(modifiedBy string)
- func (r *Authentication) SetModifiedOn(modifiedOn *time.Time)
- func (r *Authentication) Validate() error
- type AuthenticationProviderElement
- type AutoDeployAction
- type AutoDeployReleaseOverride
- type AwsElasticContainerRegistry
- func (f *AwsElasticContainerRegistry) GetFeedType() FeedType
- func (f *AwsElasticContainerRegistry) GetName() string
- func (f *AwsElasticContainerRegistry) GetPackageAcquisitionLocationOptions() []string
- func (f *AwsElasticContainerRegistry) GetPassword() *SensitiveValue
- func (f *AwsElasticContainerRegistry) GetSpaceID() string
- func (f *AwsElasticContainerRegistry) GetUsername() string
- func (f *AwsElasticContainerRegistry) SetFeedType(feedType FeedType)
- func (f *AwsElasticContainerRegistry) SetName(name string)
- func (f *AwsElasticContainerRegistry) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
- func (f *AwsElasticContainerRegistry) SetPassword(password *SensitiveValue)
- func (f *AwsElasticContainerRegistry) SetSpaceID(spaceID string)
- func (f *AwsElasticContainerRegistry) SetUsername(username string)
- func (a *AwsElasticContainerRegistry) Validate() error
- type AzureCloudServiceEndpoint
- func (a AzureCloudServiceEndpoint) GetAccountID() string
- func (e AzureCloudServiceEndpoint) GetCommunicationStyle() string
- func (a AzureCloudServiceEndpoint) GetDefaultWorkerPoolID() string
- func (a *AzureCloudServiceEndpoint) SetDefaultWorkerPoolID(defaultWorkerPoolID string)
- func (e AzureCloudServiceEndpoint) Validate() error
- type AzureServiceFabricEndpoint
- type AzureServicePrincipalAccount
- func (a *AzureServicePrincipalAccount) GetAccountType() AccountType
- func (a *AzureServicePrincipalAccount) GetDescription() string
- func (a *AzureServicePrincipalAccount) GetEnvironmentIDs() []string
- func (a *AzureServicePrincipalAccount) GetName() string
- func (a *AzureServicePrincipalAccount) GetSpaceID() string
- func (a *AzureServicePrincipalAccount) GetTenantIDs() []string
- func (a *AzureServicePrincipalAccount) GetTenantTags() []string
- func (a *AzureServicePrincipalAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
- func (a *AzureServicePrincipalAccount) SetDescription(description string)
- func (a *AzureServicePrincipalAccount) SetEnvironmentIDs(environmentIds []string)
- func (a *AzureServicePrincipalAccount) SetName(name string)
- func (a *AzureServicePrincipalAccount) SetSpaceID(spaceID string)
- func (a *AzureServicePrincipalAccount) SetTenantIDs(tenantIds []string)
- func (a *AzureServicePrincipalAccount) SetTenantTags(tenantTags []string)
- func (a *AzureServicePrincipalAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
- func (a *AzureServicePrincipalAccount) Validate() error
- type AzureSubscriptionAccount
- func (a *AzureSubscriptionAccount) GetAccountType() AccountType
- func (a *AzureSubscriptionAccount) GetDescription() string
- func (a *AzureSubscriptionAccount) GetEnvironmentIDs() []string
- func (a *AzureSubscriptionAccount) GetName() string
- func (a *AzureSubscriptionAccount) GetSpaceID() string
- func (a *AzureSubscriptionAccount) GetTenantIDs() []string
- func (a *AzureSubscriptionAccount) GetTenantTags() []string
- func (a *AzureSubscriptionAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
- func (a *AzureSubscriptionAccount) SetDescription(description string)
- func (a *AzureSubscriptionAccount) SetEnvironmentIDs(environmentIds []string)
- func (a *AzureSubscriptionAccount) SetName(name string)
- func (a *AzureSubscriptionAccount) SetSpaceID(spaceID string)
- func (a *AzureSubscriptionAccount) SetTenantIDs(tenantIds []string)
- func (a *AzureSubscriptionAccount) SetTenantTags(tenantTags []string)
- func (a *AzureSubscriptionAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
- func (a *AzureSubscriptionAccount) Validate() error
- type AzureWebAppEndpoint
- type BuildInformation
- func (r *BuildInformation) GetID() string
- func (r *BuildInformation) GetLinks() map[string]string
- func (r *BuildInformation) GetModifiedBy() string
- func (r *BuildInformation) GetModifiedOn() *time.Time
- func (r *BuildInformation) SetID(id string)
- func (r *BuildInformation) SetLinks(links map[string]string)
- func (r *BuildInformation) SetModifiedBy(modifiedBy string)
- func (r *BuildInformation) SetModifiedOn(modifiedOn *time.Time)
- func (r *BuildInformation) Validate() error
- type BuildInformationBulkQuery
- type BuildInformationQuery
- type BuiltInFeed
- func (f *BuiltInFeed) GetFeedType() FeedType
- func (f *BuiltInFeed) GetName() string
- func (f *BuiltInFeed) GetPackageAcquisitionLocationOptions() []string
- func (f *BuiltInFeed) GetPassword() *SensitiveValue
- func (f *BuiltInFeed) GetSpaceID() string
- func (f *BuiltInFeed) GetUsername() string
- func (f *BuiltInFeed) SetFeedType(feedType FeedType)
- func (f *BuiltInFeed) SetName(name string)
- func (f *BuiltInFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
- func (f *BuiltInFeed) SetPassword(password *SensitiveValue)
- func (f *BuiltInFeed) SetSpaceID(spaceID string)
- func (f *BuiltInFeed) SetUsername(username string)
- func (b *BuiltInFeed) Validate() error
- type BuiltInFeedStatistics
- func (r *BuiltInFeedStatistics) GetID() string
- func (r *BuiltInFeedStatistics) GetLinks() map[string]string
- func (r *BuiltInFeedStatistics) GetModifiedBy() string
- func (r *BuiltInFeedStatistics) GetModifiedOn() *time.Time
- func (r *BuiltInFeedStatistics) SetID(id string)
- func (r *BuiltInFeedStatistics) SetLinks(links map[string]string)
- func (r *BuiltInFeedStatistics) SetModifiedBy(modifiedBy string)
- func (r *BuiltInFeedStatistics) SetModifiedOn(modifiedOn *time.Time)
- func (r *BuiltInFeedStatistics) Validate() error
- type CertificateConfigurationQuery
- type CertificateResource
- func (r *CertificateResource) GetID() string
- func (r *CertificateResource) GetLinks() map[string]string
- func (r *CertificateResource) GetModifiedBy() string
- func (r *CertificateResource) GetModifiedOn() *time.Time
- func (r *CertificateResource) SetID(id string)
- func (r *CertificateResource) SetLinks(links map[string]string)
- func (r *CertificateResource) SetModifiedBy(modifiedBy string)
- func (r *CertificateResource) SetModifiedOn(modifiedOn *time.Time)
- func (c CertificateResource) Validate() error
- type CertificateResources
- type CertificatesQuery
- type ChangeDetails
- type Channel
- func (r *Channel) GetID() string
- func (r *Channel) GetLinks() map[string]string
- func (r *Channel) GetModifiedBy() string
- func (r *Channel) GetModifiedOn() *time.Time
- func (r *Channel) SetID(id string)
- func (r *Channel) SetLinks(links map[string]string)
- func (r *Channel) SetModifiedBy(modifiedBy string)
- func (r *Channel) SetModifiedOn(modifiedOn *time.Time)
- func (c Channel) Validate() error
- type ChannelRule
- func (r *ChannelRule) GetID() string
- func (r *ChannelRule) GetLinks() map[string]string
- func (r *ChannelRule) GetModifiedBy() string
- func (r *ChannelRule) GetModifiedOn() *time.Time
- func (r *ChannelRule) SetID(id string)
- func (r *ChannelRule) SetLinks(links map[string]string)
- func (r *ChannelRule) SetModifiedBy(modifiedBy string)
- func (r *ChannelRule) SetModifiedOn(modifiedOn *time.Time)
- func (r *ChannelRule) Validate() error
- type Channels
- type ChannelsQuery
- type Client
- type CloudRegionEndpoint
- type CloudServiceEndpoint
- type CloudTemplateQuery
- type CommitDetails
- type CommunityActionTemplate
- func (r *CommunityActionTemplate) GetID() string
- func (r *CommunityActionTemplate) GetLinks() map[string]string
- func (r *CommunityActionTemplate) GetModifiedBy() string
- func (r *CommunityActionTemplate) GetModifiedOn() *time.Time
- func (r *CommunityActionTemplate) SetID(id string)
- func (r *CommunityActionTemplate) SetLinks(links map[string]string)
- func (r *CommunityActionTemplate) SetModifiedBy(modifiedBy string)
- func (r *CommunityActionTemplate) SetModifiedOn(modifiedOn *time.Time)
- func (c *CommunityActionTemplate) Validate() error
- type CommunityActionTemplates
- type CommunityActionTemplatesQuery
- type ConfigurationSection
- func (r *ConfigurationSection) GetID() string
- func (r *ConfigurationSection) GetLinks() map[string]string
- func (r *ConfigurationSection) GetModifiedBy() string
- func (r *ConfigurationSection) GetModifiedOn() *time.Time
- func (r *ConfigurationSection) SetID(id string)
- func (r *ConfigurationSection) SetLinks(links map[string]string)
- func (r *ConfigurationSection) SetModifiedBy(modifiedBy string)
- func (r *ConfigurationSection) SetModifiedOn(modifiedOn *time.Time)
- func (r *ConfigurationSection) Validate() error
- type ConfigurationSections
- type ConnectivityCheck
- type ConnectivityPolicy
- type ContinuousDailyScheduledTriggerFilter
- type Control
- type ConvertToVcs
- type ConvertToVcsResponse
- type CronScheduledTriggerFilter
- type DailyScheduledInterval
- type DailyScheduledTriggerFilter
- type DashboardDynamicQuery
- type DashboardItem
- type DashboardQuery
- type DatabasePersistenceSettings
- type DateOfMonthScheduledTriggerFilter
- type DayOfWeekScheduledTriggerFilter
- type DeployLatestReleaseAction
- type DeployNewReleaseAction
- type Deployment
- func (r *Deployment) GetID() string
- func (r *Deployment) GetLinks() map[string]string
- func (r *Deployment) GetModifiedBy() string
- func (r *Deployment) GetModifiedOn() *time.Time
- func (r *Deployment) SetID(id string)
- func (r *Deployment) SetLinks(links map[string]string)
- func (r *Deployment) SetModifiedBy(modifiedBy string)
- func (r *Deployment) SetModifiedOn(modifiedOn *time.Time)
- func (d *Deployment) Validate() error
- type DeploymentAction
- func (r *DeploymentAction) GetID() string
- func (r *DeploymentAction) GetLinks() map[string]string
- func (r *DeploymentAction) GetModifiedBy() string
- func (r *DeploymentAction) GetModifiedOn() *time.Time
- func (r *DeploymentAction) SetID(id string)
- func (r *DeploymentAction) SetLinks(links map[string]string)
- func (r *DeploymentAction) SetModifiedBy(modifiedBy string)
- func (r *DeploymentAction) SetModifiedOn(modifiedOn *time.Time)
- func (d DeploymentAction) Validate() error
- type DeploymentActionContainer
- type DeploymentActionPackage
- type DeploymentProcess
- func (r *DeploymentProcess) GetID() string
- func (r *DeploymentProcess) GetLinks() map[string]string
- func (r *DeploymentProcess) GetModifiedBy() string
- func (r *DeploymentProcess) GetModifiedOn() *time.Time
- func (r *DeploymentProcess) SetID(id string)
- func (r *DeploymentProcess) SetLinks(links map[string]string)
- func (r *DeploymentProcess) SetModifiedBy(modifiedBy string)
- func (r *DeploymentProcess) SetModifiedOn(modifiedOn *time.Time)
- func (r *DeploymentProcess) Validate() error
- type DeploymentProcesses
- type DeploymentProcessesQuery
- type DeploymentQuery
- type DeploymentStep
- func (r *DeploymentStep) GetID() string
- func (r *DeploymentStep) GetLinks() map[string]string
- func (r *DeploymentStep) GetModifiedBy() string
- func (r *DeploymentStep) GetModifiedOn() *time.Time
- func (r *DeploymentStep) SetID(id string)
- func (r *DeploymentStep) SetLinks(links map[string]string)
- func (r *DeploymentStep) SetModifiedBy(modifiedBy string)
- func (r *DeploymentStep) SetModifiedOn(modifiedOn *time.Time)
- func (d DeploymentStep) Validate() error
- type DeploymentStepConditionType
- type DeploymentStepPackageRequirement
- type DeploymentStepStartTrigger
- type DeploymentTarget
- type DeploymentTargetFilter
- type DeploymentTargets
- type Deployments
- type DeploymentsQuery
- type DiscoverMachineQuery
- type DiscoverWorkerQuery
- type DisplayInfo
- type DisplaySettings
- type DockerContainerRegistry
- func (f *DockerContainerRegistry) GetFeedType() FeedType
- func (f *DockerContainerRegistry) GetName() string
- func (f *DockerContainerRegistry) GetPackageAcquisitionLocationOptions() []string
- func (f *DockerContainerRegistry) GetPassword() *SensitiveValue
- func (f *DockerContainerRegistry) GetSpaceID() string
- func (f *DockerContainerRegistry) GetUsername() string
- func (f *DockerContainerRegistry) SetFeedType(feedType FeedType)
- func (f *DockerContainerRegistry) SetName(name string)
- func (f *DockerContainerRegistry) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
- func (f *DockerContainerRegistry) SetPassword(password *SensitiveValue)
- func (f *DockerContainerRegistry) SetSpaceID(spaceID string)
- func (f *DockerContainerRegistry) SetUsername(username string)
- func (d *DockerContainerRegistry) Validate() error
- type DocumentType
- type DynamicWorkerPool
- func (w *DynamicWorkerPool) GetCanAddWorkers() bool
- func (w *DynamicWorkerPool) GetDescription() string
- func (w *DynamicWorkerPool) GetIsDefault() bool
- func (w *DynamicWorkerPool) GetName() string
- func (w *DynamicWorkerPool) GetSortOrder() int
- func (w *DynamicWorkerPool) GetSpaceID() string
- func (w *DynamicWorkerPool) GetWorkerPoolType() WorkerPoolType
- func (d *DynamicWorkerPool) GetWorkerType() WorkerType
- func (w *DynamicWorkerPool) SetCanAddWorkers(canAddWorkers bool)
- func (w *DynamicWorkerPool) SetDescription(description string)
- func (w *DynamicWorkerPool) SetIsDefault(isDefault bool)
- func (w *DynamicWorkerPool) SetName(name string)
- func (w *DynamicWorkerPool) SetSortOrder(sortOrder int)
- func (w *DynamicWorkerPool) SetSpaceID(spaceID string)
- func (w *DynamicWorkerPool) SetWorkerPoolType(workerPoolType WorkerPoolType)
- func (d *DynamicWorkerPool) Validate() error
- type DynamicWorkerPools
- type EndpointResource
- func (e *EndpointResource) GetCommunicationStyle() string
- func (r *EndpointResource) GetID() string
- func (r *EndpointResource) GetLinks() map[string]string
- func (r *EndpointResource) GetModifiedBy() string
- func (r *EndpointResource) GetModifiedOn() *time.Time
- func (r *EndpointResource) SetID(id string)
- func (r *EndpointResource) SetLinks(links map[string]string)
- func (r *EndpointResource) SetModifiedBy(modifiedBy string)
- func (r *EndpointResource) SetModifiedOn(modifiedOn *time.Time)
- func (e EndpointResource) Validate() error
- type EndpointResources
- type Environment
- func (r *Environment) GetID() string
- func (r *Environment) GetLinks() map[string]string
- func (r *Environment) GetModifiedBy() string
- func (r *Environment) GetModifiedOn() *time.Time
- func (r *Environment) SetID(id string)
- func (r *Environment) SetLinks(links map[string]string)
- func (r *Environment) SetModifiedBy(modifiedBy string)
- func (r *Environment) SetModifiedOn(modifiedOn *time.Time)
- func (e *Environment) Validate() error
- type Environments
- type EnvironmentsQuery
- type EnvironmentsSummaryQuery
- type Event
- func (r *Event) GetID() string
- func (r *Event) GetLinks() map[string]string
- func (r *Event) GetModifiedBy() string
- func (r *Event) GetModifiedOn() *time.Time
- func (r *Event) SetID(id string)
- func (r *Event) SetLinks(links map[string]string)
- func (r *Event) SetModifiedBy(modifiedBy string)
- func (r *Event) SetModifiedOn(modifiedOn *time.Time)
- func (r *Event) Validate() error
- type EventAgent
- type EventCategoriesQuery
- type EventCategory
- type EventGroup
- type EventGroupsQuery
- type EventReference
- type Events
- type EventsQuery
- type ExtensionSettingsValues
- type ExternalUserSearchQuery
- type FeedResource
- func (f *FeedResource) GetFeedType() FeedType
- func (r *FeedResource) GetID() string
- func (r *FeedResource) GetLinks() map[string]string
- func (r *FeedResource) GetModifiedBy() string
- func (r *FeedResource) GetModifiedOn() *time.Time
- func (f *FeedResource) GetName() string
- func (f *FeedResource) GetPackageAcquisitionLocationOptions() []string
- func (f *FeedResource) GetPassword() *SensitiveValue
- func (f *FeedResource) GetSpaceID() string
- func (f *FeedResource) GetUsername() string
- func (f *FeedResource) SetFeedType(feedType FeedType)
- func (r *FeedResource) SetID(id string)
- func (r *FeedResource) SetLinks(links map[string]string)
- func (r *FeedResource) SetModifiedBy(modifiedBy string)
- func (r *FeedResource) SetModifiedOn(modifiedOn *time.Time)
- func (f *FeedResource) SetName(name string)
- func (f *FeedResource) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
- func (f *FeedResource) SetPassword(password *SensitiveValue)
- func (f *FeedResource) SetSpaceID(spaceID string)
- func (f *FeedResource) SetUsername(username string)
- func (f FeedResource) Validate() error
- type FeedResources
- type FeedType
- type Feeds
- type FeedsQuery
- type FilterType
- type Form
- type FormElement
- type GitCredentialType
- type GitHubRepositoryFeed
- func (f *GitHubRepositoryFeed) GetFeedType() FeedType
- func (f *GitHubRepositoryFeed) GetName() string
- func (f *GitHubRepositoryFeed) GetPackageAcquisitionLocationOptions() []string
- func (f *GitHubRepositoryFeed) GetPassword() *SensitiveValue
- func (f *GitHubRepositoryFeed) GetSpaceID() string
- func (f *GitHubRepositoryFeed) GetUsername() string
- func (f *GitHubRepositoryFeed) SetFeedType(feedType FeedType)
- func (f *GitHubRepositoryFeed) SetName(name string)
- func (f *GitHubRepositoryFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
- func (f *GitHubRepositoryFeed) SetPassword(password *SensitiveValue)
- func (f *GitHubRepositoryFeed) SetSpaceID(spaceID string)
- func (f *GitHubRepositoryFeed) SetUsername(username string)
- func (g *GitHubRepositoryFeed) Validate() error
- type GitPersistenceSettings
- type GoogleCloudPlatformAccount
- func (a *GoogleCloudPlatformAccount) GetAccountType() AccountType
- func (a *GoogleCloudPlatformAccount) GetDescription() string
- func (a *GoogleCloudPlatformAccount) GetEnvironmentIDs() []string
- func (a *GoogleCloudPlatformAccount) GetName() string
- func (a *GoogleCloudPlatformAccount) GetSpaceID() string
- func (a *GoogleCloudPlatformAccount) GetTenantIDs() []string
- func (a *GoogleCloudPlatformAccount) GetTenantTags() []string
- func (a *GoogleCloudPlatformAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
- func (a *GoogleCloudPlatformAccount) SetDescription(description string)
- func (a *GoogleCloudPlatformAccount) SetEnvironmentIDs(environmentIds []string)
- func (a *GoogleCloudPlatformAccount) SetName(name string)
- func (a *GoogleCloudPlatformAccount) SetSpaceID(spaceID string)
- func (a *GoogleCloudPlatformAccount) SetTenantIDs(tenantIds []string)
- func (a *GoogleCloudPlatformAccount) SetTenantTags(tenantTags []string)
- func (a *GoogleCloudPlatformAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
- func (a *GoogleCloudPlatformAccount) Validate() error
- type HelmFeed
- func (f *HelmFeed) GetFeedType() FeedType
- func (f *HelmFeed) GetName() string
- func (f *HelmFeed) GetPackageAcquisitionLocationOptions() []string
- func (f *HelmFeed) GetPassword() *SensitiveValue
- func (f *HelmFeed) GetSpaceID() string
- func (f *HelmFeed) GetUsername() string
- func (f *HelmFeed) SetFeedType(feedType FeedType)
- func (f *HelmFeed) SetName(name string)
- func (f *HelmFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
- func (f *HelmFeed) SetPassword(password *SensitiveValue)
- func (f *HelmFeed) SetSpaceID(spaceID string)
- func (f *HelmFeed) SetUsername(username string)
- func (h *HelmFeed) Validate() error
- type IAccount
- type IDeploymentTarget
- type IDynamicWorkerPool
- type IEndpoint
- type IEndpointWithAccount
- type IEndpointWithFingerprint
- type IEndpointWithHostname
- type IEndpointWithProxy
- type IFeed
- type IGitCredential
- type IHasName
- type IHasSpace
- type IKubernetesAuthentication
- type IPersistenceSettings
- type IResource
- type IRunsOnAWorker
- type ISSHKeyAccount
- type IService
- type ITriggerAction
- type ITriggerFilter
- type IUsernamePasswordAccount
- type IWorkerPool
- type Identity
- type IdentityClaim
- type Interruption
- func (r *Interruption) GetID() string
- func (r *Interruption) GetLinks() map[string]string
- func (r *Interruption) GetModifiedBy() string
- func (r *Interruption) GetModifiedOn() *time.Time
- func (r *Interruption) SetID(id string)
- func (r *Interruption) SetLinks(links map[string]string)
- func (r *Interruption) SetModifiedBy(modifiedBy string)
- func (r *Interruption) SetModifiedOn(modifiedOn *time.Time)
- func (r *Interruption) Validate() error
- type InterruptionSubmitRequest
- type Interruptions
- type InterruptionsQuery
- type IssueTrackersQuery
- type KubernetesAuthentication
- type KubernetesAwsAuthentication
- type KubernetesAzureAuthentication
- type KubernetesCertificateAuthentication
- type KubernetesEndpoint
- func (e KubernetesEndpoint) GetCommunicationStyle() string
- func (k *KubernetesEndpoint) GetDefaultWorkerPoolID() string
- func (k *KubernetesEndpoint) GetProxyID() string
- func (k *KubernetesEndpoint) MarshalJSON() ([]byte, error)
- func (k *KubernetesEndpoint) SetDefaultWorkerPoolID(defaultWorkerPoolID string)
- func (k *KubernetesEndpoint) SetProxyID(proxyID string)
- func (k *KubernetesEndpoint) UnmarshalJSON(data []byte) error
- func (k *KubernetesEndpoint) Validate() error
- type KubernetesGcpAuthentication
- type KubernetesStandardAuthentication
- type Library
- type LibraryVariable
- type LibraryVariableSet
- func (r *LibraryVariableSet) GetID() string
- func (r *LibraryVariableSet) GetLinks() map[string]string
- func (r *LibraryVariableSet) GetModifiedBy() string
- func (r *LibraryVariableSet) GetModifiedOn() *time.Time
- func (r *LibraryVariableSet) SetID(id string)
- func (r *LibraryVariableSet) SetLinks(links map[string]string)
- func (r *LibraryVariableSet) SetModifiedBy(modifiedBy string)
- func (r *LibraryVariableSet) SetModifiedOn(modifiedOn *time.Time)
- func (l LibraryVariableSet) Validate() error
- type LibraryVariableSetUsageEntry
- func (r *LibraryVariableSetUsageEntry) GetID() string
- func (r *LibraryVariableSetUsageEntry) GetLinks() map[string]string
- func (r *LibraryVariableSetUsageEntry) GetModifiedBy() string
- func (r *LibraryVariableSetUsageEntry) GetModifiedOn() *time.Time
- func (r *LibraryVariableSetUsageEntry) SetID(id string)
- func (r *LibraryVariableSetUsageEntry) SetLinks(links map[string]string)
- func (r *LibraryVariableSetUsageEntry) SetModifiedBy(modifiedBy string)
- func (r *LibraryVariableSetUsageEntry) SetModifiedOn(modifiedOn *time.Time)
- func (r *LibraryVariableSetUsageEntry) Validate() error
- type LibraryVariableSets
- type LibraryVariablesQuery
- type Lifecycle
- func (r *Lifecycle) GetID() string
- func (r *Lifecycle) GetLinks() map[string]string
- func (r *Lifecycle) GetModifiedBy() string
- func (r *Lifecycle) GetModifiedOn() *time.Time
- func (r *Lifecycle) SetID(id string)
- func (r *Lifecycle) SetLinks(links map[string]string)
- func (r *Lifecycle) SetModifiedBy(modifiedBy string)
- func (r *Lifecycle) SetModifiedOn(modifiedOn *time.Time)
- func (l *Lifecycle) Validate() error
- type Lifecycles
- type LifecyclesQuery
- type Links
- type ListAPIMetadata
- type ListeningTentacleDeploymentTarget
- func (l *ListeningTentacleDeploymentTarget) GetEndpoint() IEndpoint
- func (l *ListeningTentacleDeploymentTarget) GetHealthStatus() string
- func (r *ListeningTentacleDeploymentTarget) GetID() string
- func (l *ListeningTentacleDeploymentTarget) GetIsDisabled() bool
- func (r *ListeningTentacleDeploymentTarget) GetLinks() map[string]string
- func (r *ListeningTentacleDeploymentTarget) GetModifiedBy() string
- func (r *ListeningTentacleDeploymentTarget) GetModifiedOn() *time.Time
- func (l *ListeningTentacleDeploymentTarget) GetName() string
- func (r *ListeningTentacleDeploymentTarget) SetID(id string)
- func (r *ListeningTentacleDeploymentTarget) SetLinks(links map[string]string)
- func (r *ListeningTentacleDeploymentTarget) SetModifiedBy(modifiedBy string)
- func (r *ListeningTentacleDeploymentTarget) SetModifiedOn(modifiedOn *time.Time)
- func (r *ListeningTentacleDeploymentTarget) Validate() error
- type ListeningTentacleEndpoint
- type MachineCleanupPolicy
- type MachineConnectionStatus
- func (r *MachineConnectionStatus) GetID() string
- func (r *MachineConnectionStatus) GetLinks() map[string]string
- func (r *MachineConnectionStatus) GetModifiedBy() string
- func (r *MachineConnectionStatus) GetModifiedOn() *time.Time
- func (r *MachineConnectionStatus) SetID(id string)
- func (r *MachineConnectionStatus) SetLinks(links map[string]string)
- func (r *MachineConnectionStatus) SetModifiedBy(modifiedBy string)
- func (r *MachineConnectionStatus) SetModifiedOn(modifiedOn *time.Time)
- func (r *MachineConnectionStatus) Validate() error
- type MachineConnectivityPolicy
- type MachineHealthCheckPolicy
- type MachinePolicies
- type MachinePoliciesQuery
- type MachinePolicy
- func (r *MachinePolicy) GetID() string
- func (r *MachinePolicy) GetLinks() map[string]string
- func (r *MachinePolicy) GetModifiedBy() string
- func (r *MachinePolicy) GetModifiedOn() *time.Time
- func (m *MachinePolicy) MarshalJSON() ([]byte, error)
- func (r *MachinePolicy) SetID(id string)
- func (r *MachinePolicy) SetLinks(links map[string]string)
- func (r *MachinePolicy) SetModifiedBy(modifiedBy string)
- func (r *MachinePolicy) SetModifiedOn(modifiedOn *time.Time)
- func (m *MachinePolicy) UnmarshalJSON(data []byte) error
- func (m *MachinePolicy) Validate() error
- type MachineScriptPolicy
- type MachineTentacleVersionDetails
- type MachineUpdatePolicy
- type MachinesQuery
- type MavenFeed
- func (f *MavenFeed) GetFeedType() FeedType
- func (f *MavenFeed) GetName() string
- func (f *MavenFeed) GetPackageAcquisitionLocationOptions() []string
- func (f *MavenFeed) GetPassword() *SensitiveValue
- func (f *MavenFeed) GetSpaceID() string
- func (f *MavenFeed) GetUsername() string
- func (f *MavenFeed) SetFeedType(feedType FeedType)
- func (f *MavenFeed) SetName(name string)
- func (f *MavenFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
- func (f *MavenFeed) SetPassword(password *SensitiveValue)
- func (f *MavenFeed) SetSpaceID(spaceID string)
- func (f *MavenFeed) SetUsername(username string)
- func (m *MavenFeed) Validate() error
- type Metadata
- type MissingVariable
- type MissingVariablesQuery
- type MonthlySchedule
- type NamedReferenceItem
- type NuGetFeed
- func (f *NuGetFeed) GetFeedType() FeedType
- func (f *NuGetFeed) GetName() string
- func (f *NuGetFeed) GetPackageAcquisitionLocationOptions() []string
- func (f *NuGetFeed) GetPassword() *SensitiveValue
- func (f *NuGetFeed) GetSpaceID() string
- func (f *NuGetFeed) GetUsername() string
- func (f *NuGetFeed) SetFeedType(feedType FeedType)
- func (f *NuGetFeed) SetName(name string)
- func (f *NuGetFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
- func (f *NuGetFeed) SetPassword(password *SensitiveValue)
- func (f *NuGetFeed) SetSpaceID(spaceID string)
- func (f *NuGetFeed) SetUsername(username string)
- func (n *NuGetFeed) Validate() error
- type OctopusProjectFeed
- func (f *OctopusProjectFeed) GetFeedType() FeedType
- func (f *OctopusProjectFeed) GetName() string
- func (f *OctopusProjectFeed) GetPackageAcquisitionLocationOptions() []string
- func (f *OctopusProjectFeed) GetPassword() *SensitiveValue
- func (f *OctopusProjectFeed) GetSpaceID() string
- func (f *OctopusProjectFeed) GetUsername() string
- func (f *OctopusProjectFeed) SetFeedType(feedType FeedType)
- func (f *OctopusProjectFeed) SetName(name string)
- func (f *OctopusProjectFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
- func (f *OctopusProjectFeed) SetPassword(password *SensitiveValue)
- func (f *OctopusProjectFeed) SetSpaceID(spaceID string)
- func (f *OctopusProjectFeed) SetUsername(username string)
- func (o *OctopusProjectFeed) Validate() error
- type OctopusServerNodeResource
- func (r *OctopusServerNodeResource) GetID() string
- func (r *OctopusServerNodeResource) GetLinks() map[string]string
- func (r *OctopusServerNodeResource) GetModifiedBy() string
- func (r *OctopusServerNodeResource) GetModifiedOn() *time.Time
- func (r *OctopusServerNodeResource) SetID(id string)
- func (r *OctopusServerNodeResource) SetLinks(links map[string]string)
- func (r *OctopusServerNodeResource) SetModifiedBy(modifiedBy string)
- func (r *OctopusServerNodeResource) SetModifiedOn(modifiedOn *time.Time)
- func (r *OctopusServerNodeResource) Validate() error
- type OctopusServerNodesQuery
- type OfflinePackageDropDeploymentTarget
- func (r *OfflinePackageDropDeploymentTarget) GetID() string
- func (r *OfflinePackageDropDeploymentTarget) GetLinks() map[string]string
- func (r *OfflinePackageDropDeploymentTarget) GetModifiedBy() string
- func (r *OfflinePackageDropDeploymentTarget) GetModifiedOn() *time.Time
- func (r *OfflinePackageDropDeploymentTarget) SetID(id string)
- func (r *OfflinePackageDropDeploymentTarget) SetLinks(links map[string]string)
- func (r *OfflinePackageDropDeploymentTarget) SetModifiedBy(modifiedBy string)
- func (r *OfflinePackageDropDeploymentTarget) SetModifiedOn(modifiedOn *time.Time)
- func (r *OfflinePackageDropDeploymentTarget) Validate() error
- type OfflinePackageDropDestination
- type OfflinePackageDropEndpoint
- type OnceDailyScheduledTriggerFilter
- type OptionsMetadata
- type Package
- func (r *Package) GetID() string
- func (r *Package) GetLinks() map[string]string
- func (r *Package) GetModifiedBy() string
- func (r *Package) GetModifiedOn() *time.Time
- func (r *Package) SetID(id string)
- func (r *Package) SetLinks(links map[string]string)
- func (r *Package) SetModifiedBy(modifiedBy string)
- func (r *Package) SetModifiedOn(modifiedOn *time.Time)
- func (r *Package) Validate() error
- type PackageDeltaSignatureQuery
- type PackageDeltaUploadQuery
- type PackageDescription
- type PackageDescriptions
- type PackageMetadataQuery
- type PackageNote
- type PackageNotesListQuery
- type PackageNotesResult
- type PackageReference
- type PackageUploadQuery
- type PackageVersion
- func (r *PackageVersion) GetID() string
- func (r *PackageVersion) GetLinks() map[string]string
- func (r *PackageVersion) GetModifiedBy() string
- func (r *PackageVersion) GetModifiedOn() *time.Time
- func (r *PackageVersion) SetID(id string)
- func (r *PackageVersion) SetLinks(links map[string]string)
- func (r *PackageVersion) SetModifiedBy(modifiedBy string)
- func (r *PackageVersion) SetModifiedOn(modifiedOn *time.Time)
- func (r *PackageVersion) Validate() error
- type Packages
- type PackagesBulkQuery
- type PackagesQuery
- type PagedResults
- type PermissionDescription
- type Phase
- type PollingTentacleEndpoint
- type ProcessReferenceDataItem
- type Progression
- func (r *Progression) GetID() string
- func (r *Progression) GetLinks() map[string]string
- func (r *Progression) GetModifiedBy() string
- func (r *Progression) GetModifiedOn() *time.Time
- func (r *Progression) SetID(id string)
- func (r *Progression) SetLinks(links map[string]string)
- func (r *Progression) SetModifiedBy(modifiedBy string)
- func (r *Progression) SetModifiedOn(modifiedOn *time.Time)
- func (r *Progression) Validate() error
- type Project
- func (r *Project) GetID() string
- func (r *Project) GetLinks() map[string]string
- func (r *Project) GetModifiedBy() string
- func (r *Project) GetModifiedOn() *time.Time
- func (r *Project) SetID(id string)
- func (r *Project) SetLinks(links map[string]string)
- func (r *Project) SetModifiedBy(modifiedBy string)
- func (r *Project) SetModifiedOn(modifiedOn *time.Time)
- func (p *Project) UnmarshalJSON(data []byte) error
- func (resource Project) Validate() error
- type ProjectGroup
- func (r *ProjectGroup) GetID() string
- func (r *ProjectGroup) GetLinks() map[string]string
- func (r *ProjectGroup) GetModifiedBy() string
- func (r *ProjectGroup) GetModifiedOn() *time.Time
- func (r *ProjectGroup) SetID(id string)
- func (r *ProjectGroup) SetLinks(links map[string]string)
- func (r *ProjectGroup) SetModifiedBy(modifiedBy string)
- func (r *ProjectGroup) SetModifiedOn(modifiedOn *time.Time)
- func (r *ProjectGroup) Validate() error
- type ProjectGroups
- type ProjectGroupsQuery
- type ProjectPulseQuery
- type ProjectSummary
- type ProjectTrigger
- func (r *ProjectTrigger) GetID() string
- func (r *ProjectTrigger) GetLinks() map[string]string
- func (r *ProjectTrigger) GetModifiedBy() string
- func (r *ProjectTrigger) GetModifiedOn() *time.Time
- func (r *ProjectTrigger) SetID(id string)
- func (r *ProjectTrigger) SetLinks(links map[string]string)
- func (r *ProjectTrigger) SetModifiedBy(modifiedBy string)
- func (r *ProjectTrigger) SetModifiedOn(modifiedOn *time.Time)
- func (projectTrigger *ProjectTrigger) UnmarshalJSON(b []byte) error
- func (t *ProjectTrigger) Validate() error
- type ProjectTriggerAction
- type ProjectTriggerFilter
- type ProjectTriggers
- type ProjectTriggersQuery
- type ProjectVariable
- type ProjectVariableSetUsage
- type ProjectedTeamReferenceDataItem
- type Projects
- type ProjectsExperimentalSummariesQuery
- type ProjectsQuery
- type PropertyApplicability
- type PropertyMetadata
- type PropertyValue
- type ProxiesQuery
- type ReferenceDataItem
- type Release
- func (r *Release) GetID() string
- func (r *Release) GetLinks() map[string]string
- func (r *Release) GetModifiedBy() string
- func (r *Release) GetModifiedOn() *time.Time
- func (r *Release) SetID(id string)
- func (r *Release) SetLinks(links map[string]string)
- func (r *Release) SetModifiedBy(modifiedBy string)
- func (r *Release) SetModifiedOn(modifiedOn *time.Time)
- func (r *Release) Validate() error
- type ReleaseChanges
- type ReleaseCreationStrategy
- type ReleasePackageVersionBuildInformation
- type ReleaseProgression
- type ReleaseQuery
- type ReleaseTemplatePackage
- type ReleaseUsage
- type ReleaseUsageEntry
- type Releases
- type ReleasesQuery
- type ReplacementCertificate
- type Resources
- type RetentionPeriod
- type RootResource
- func (r *RootResource) GetID() string
- func (r *RootResource) GetLinkPath(args ...interface{}) string
- func (r *RootResource) GetLinks() map[string]string
- func (r *RootResource) GetModifiedBy() string
- func (r *RootResource) GetModifiedOn() *time.Time
- func (r *RootResource) SetID(id string)
- func (r *RootResource) SetLinks(links map[string]string)
- func (r *RootResource) SetModifiedBy(modifiedBy string)
- func (r *RootResource) SetModifiedOn(modifiedOn *time.Time)
- func (r *RootResource) Validate() error
- type RunRunbookAction
- type Runbook
- func (r *Runbook) GetID() string
- func (r *Runbook) GetLinks() map[string]string
- func (r *Runbook) GetModifiedBy() string
- func (r *Runbook) GetModifiedOn() *time.Time
- func (r *Runbook) SetID(id string)
- func (r *Runbook) SetLinks(links map[string]string)
- func (r *Runbook) SetModifiedBy(modifiedBy string)
- func (r *Runbook) SetModifiedOn(modifiedOn *time.Time)
- func (r *Runbook) Validate() error
- type RunbookProcess
- func (r *RunbookProcess) GetID() string
- func (r *RunbookProcess) GetLinks() map[string]string
- func (r *RunbookProcess) GetModifiedBy() string
- func (r *RunbookProcess) GetModifiedOn() *time.Time
- func (r *RunbookProcess) SetID(id string)
- func (r *RunbookProcess) SetLinks(links map[string]string)
- func (r *RunbookProcess) SetModifiedBy(modifiedBy string)
- func (r *RunbookProcess) SetModifiedOn(modifiedOn *time.Time)
- func (r *RunbookProcess) Validate() error
- type RunbookProcesses
- type RunbookProcessesQuery
- type RunbookRetentionPeriod
- type RunbookRunsQuery
- type RunbookSnapshot
- func (r *RunbookSnapshot) GetID() string
- func (r *RunbookSnapshot) GetLinks() map[string]string
- func (r *RunbookSnapshot) GetModifiedBy() string
- func (r *RunbookSnapshot) GetModifiedOn() *time.Time
- func (r *RunbookSnapshot) SetID(id string)
- func (r *RunbookSnapshot) SetLinks(links map[string]string)
- func (r *RunbookSnapshot) SetModifiedBy(modifiedBy string)
- func (r *RunbookSnapshot) SetModifiedOn(modifiedOn *time.Time)
- func (c RunbookSnapshot) Validate() error
- type RunbookSnapshotTemplate
- func (r *RunbookSnapshotTemplate) GetID() string
- func (r *RunbookSnapshotTemplate) GetLinks() map[string]string
- func (r *RunbookSnapshotTemplate) GetModifiedBy() string
- func (r *RunbookSnapshotTemplate) GetModifiedOn() *time.Time
- func (r *RunbookSnapshotTemplate) SetID(id string)
- func (r *RunbookSnapshotTemplate) SetLinks(links map[string]string)
- func (r *RunbookSnapshotTemplate) SetModifiedBy(modifiedBy string)
- func (r *RunbookSnapshotTemplate) SetModifiedOn(modifiedOn *time.Time)
- func (r *RunbookSnapshotTemplate) Validate() error
- type RunbookSnapshotUsage
- type RunbookSnapshotUsageEntry
- type RunbookSnapshots
- type RunbookSnapshotsQuery
- type RunbookStepUsage
- type Runbooks
- type RunbooksQuery
- type SSHEndpoint
- func (s *SSHEndpoint) GetAccountID() string
- func (s *SSHEndpoint) GetCommunicationStyle() string
- func (s *SSHEndpoint) GetFingerprint() string
- func (s *SSHEndpoint) GetHost() string
- func (s *SSHEndpoint) GetProxyID() string
- func (s *SSHEndpoint) MarshalJSON() ([]byte, error)
- func (s *SSHEndpoint) SetProxyID(proxyID string)
- func (s *SSHEndpoint) UnmarshalJSON(b []byte) error
- func (s *SSHEndpoint) Validate() error
- type SSHKeyAccount
- func (a *SSHKeyAccount) GetAccountType() AccountType
- func (a *SSHKeyAccount) GetDescription() string
- func (a *SSHKeyAccount) GetEnvironmentIDs() []string
- func (a *SSHKeyAccount) GetName() string
- func (a *SSHKeyAccount) GetSpaceID() string
- func (a *SSHKeyAccount) GetTenantIDs() []string
- func (a *SSHKeyAccount) GetTenantTags() []string
- func (a *SSHKeyAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
- func (a *SSHKeyAccount) SetDescription(description string)
- func (a *SSHKeyAccount) SetEnvironmentIDs(environmentIds []string)
- func (a *SSHKeyAccount) SetName(name string)
- func (s *SSHKeyAccount) SetPrivateKeyPassphrase(privateKeyPassphrase *SensitiveValue)
- func (a *SSHKeyAccount) SetSpaceID(spaceID string)
- func (a *SSHKeyAccount) SetTenantIDs(tenantIds []string)
- func (a *SSHKeyAccount) SetTenantTags(tenantTags []string)
- func (a *SSHKeyAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
- func (s *SSHKeyAccount) Validate() error
- type ScheduledProjectTriggersQuery
- type ScheduledTriggerFilterRunType
- type SchedulerQuery
- type ScopedUserRole
- func (r *ScopedUserRole) GetID() string
- func (r *ScopedUserRole) GetLinks() map[string]string
- func (r *ScopedUserRole) GetModifiedBy() string
- func (r *ScopedUserRole) GetModifiedOn() *time.Time
- func (r *ScopedUserRole) SetID(id string)
- func (r *ScopedUserRole) SetLinks(links map[string]string)
- func (r *ScopedUserRole) SetModifiedBy(modifiedBy string)
- func (r *ScopedUserRole) SetModifiedOn(modifiedOn *time.Time)
- func (r *ScopedUserRole) Validate() error
- type ScopedUserRoles
- type ScopedUserRolesQuery
- type ScriptModule
- func (r *ScriptModule) GetID() string
- func (r *ScriptModule) GetLinks() map[string]string
- func (r *ScriptModule) GetModifiedBy() string
- func (r *ScriptModule) GetModifiedOn() *time.Time
- func (s *ScriptModule) MarshalJSON() ([]byte, error)
- func (r *ScriptModule) SetID(id string)
- func (r *ScriptModule) SetLinks(links map[string]string)
- func (r *ScriptModule) SetModifiedBy(modifiedBy string)
- func (r *ScriptModule) SetModifiedOn(modifiedOn *time.Time)
- func (s *ScriptModule) Validate() error
- type ScriptModules
- type SearchPackagesQuery
- type SelectedPackage
- type SensitiveValue
- type ServerStatus
- func (r *ServerStatus) GetID() string
- func (r *ServerStatus) GetLinks() map[string]string
- func (r *ServerStatus) GetModifiedBy() string
- func (r *ServerStatus) GetModifiedOn() *time.Time
- func (r *ServerStatus) SetID(id string)
- func (r *ServerStatus) SetLinks(links map[string]string)
- func (r *ServerStatus) SetModifiedBy(modifiedBy string)
- func (r *ServerStatus) SetModifiedOn(modifiedOn *time.Time)
- func (r *ServerStatus) Validate() error
- type SignInQuery
- type SkipMachineBehavior
- type SkipTakeQuery
- type Space
- func (r *Space) GetID() string
- func (r *Space) GetLinks() map[string]string
- func (r *Space) GetModifiedBy() string
- func (r *Space) GetModifiedOn() *time.Time
- func (r *Space) SetID(id string)
- func (r *Space) SetLinks(links map[string]string)
- func (r *Space) SetModifiedBy(modifiedBy string)
- func (r *Space) SetModifiedOn(modifiedOn *time.Time)
- func (s *Space) Validate() error
- type SpaceHomeQuery
- type SpacePermissions
- type Spaces
- type SpacesQuery
- type StaticWorkerPool
- func (w *StaticWorkerPool) GetCanAddWorkers() bool
- func (w *StaticWorkerPool) GetDescription() string
- func (w *StaticWorkerPool) GetIsDefault() bool
- func (w *StaticWorkerPool) GetName() string
- func (w *StaticWorkerPool) GetSortOrder() int
- func (w *StaticWorkerPool) GetSpaceID() string
- func (w *StaticWorkerPool) GetWorkerPoolType() WorkerPoolType
- func (w *StaticWorkerPool) SetCanAddWorkers(canAddWorkers bool)
- func (w *StaticWorkerPool) SetDescription(description string)
- func (w *StaticWorkerPool) SetIsDefault(isDefault bool)
- func (w *StaticWorkerPool) SetName(name string)
- func (w *StaticWorkerPool) SetSortOrder(sortOrder int)
- func (w *StaticWorkerPool) SetSpaceID(spaceID string)
- func (w *StaticWorkerPool) SetWorkerPoolType(workerPoolType WorkerPoolType)
- func (s *StaticWorkerPool) Validate() error
- type StaticWorkerPools
- type StepUsage
- type StepUsageEntry
- type SubscriptionsQuery
- type Tag
- type TagSet
- func (r *TagSet) GetID() string
- func (r *TagSet) GetLinks() map[string]string
- func (r *TagSet) GetModifiedBy() string
- func (r *TagSet) GetModifiedOn() *time.Time
- func (r *TagSet) SetID(id string)
- func (r *TagSet) SetLinks(links map[string]string)
- func (r *TagSet) SetModifiedBy(modifiedBy string)
- func (r *TagSet) SetModifiedOn(modifiedOn *time.Time)
- func (r *TagSet) Validate() error
- type TagSets
- type TagSetsQuery
- type TargetUsageEntry
- type Task
- func (r *Task) GetID() string
- func (r *Task) GetLinks() map[string]string
- func (r *Task) GetModifiedBy() string
- func (r *Task) GetModifiedOn() *time.Time
- func (r *Task) SetID(id string)
- func (r *Task) SetLinks(links map[string]string)
- func (r *Task) SetModifiedBy(modifiedBy string)
- func (r *Task) SetModifiedOn(modifiedOn *time.Time)
- func (r *Task) Validate() error
- type Tasks
- type TasksQuery
- type Team
- func (r *Team) GetID() string
- func (r *Team) GetLinks() map[string]string
- func (r *Team) GetModifiedBy() string
- func (r *Team) GetModifiedOn() *time.Time
- func (r *Team) SetID(id string)
- func (r *Team) SetLinks(links map[string]string)
- func (r *Team) SetModifiedBy(modifiedBy string)
- func (r *Team) SetModifiedOn(modifiedOn *time.Time)
- func (t *Team) Validate() error
- type TeamMembershipQuery
- type Teams
- type TeamsQuery
- type Tenant
- func (r *Tenant) GetID() string
- func (r *Tenant) GetLinks() map[string]string
- func (r *Tenant) GetModifiedBy() string
- func (r *Tenant) GetModifiedOn() *time.Time
- func (r *Tenant) SetID(id string)
- func (r *Tenant) SetLinks(links map[string]string)
- func (r *Tenant) SetModifiedBy(modifiedBy string)
- func (r *Tenant) SetModifiedOn(modifiedOn *time.Time)
- func (t Tenant) Validate() error
- type TenantVariables
- func (r *TenantVariables) GetID() string
- func (r *TenantVariables) GetLinks() map[string]string
- func (r *TenantVariables) GetModifiedBy() string
- func (r *TenantVariables) GetModifiedOn() *time.Time
- func (r *TenantVariables) SetID(id string)
- func (r *TenantVariables) SetLinks(links map[string]string)
- func (r *TenantVariables) SetModifiedBy(modifiedBy string)
- func (r *TenantVariables) SetModifiedOn(modifiedOn *time.Time)
- func (r *TenantVariables) Validate() error
- type TenantVariablesQuery
- type TenantedDeploymentMode
- type Tenants
- type TenantsMissingVariables
- type TenantsMissingVariablesQuery
- type TenantsQuery
- type TentacleVersionDetails
- type TokenAccount
- func (a *TokenAccount) GetAccountType() AccountType
- func (a *TokenAccount) GetDescription() string
- func (a *TokenAccount) GetEnvironmentIDs() []string
- func (a *TokenAccount) GetName() string
- func (a *TokenAccount) GetSpaceID() string
- func (a *TokenAccount) GetTenantIDs() []string
- func (a *TokenAccount) GetTenantTags() []string
- func (a *TokenAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
- func (a *TokenAccount) SetDescription(description string)
- func (a *TokenAccount) SetEnvironmentIDs(environmentIds []string)
- func (a *TokenAccount) SetName(name string)
- func (a *TokenAccount) SetSpaceID(spaceID string)
- func (a *TokenAccount) SetTenantIDs(tenantIds []string)
- func (a *TokenAccount) SetTenantTags(tenantTags []string)
- func (a *TokenAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
- func (t *TokenAccount) Validate() error
- type TypeMetadata
- type User
- func (r *User) GetID() string
- func (r *User) GetLinks() map[string]string
- func (r *User) GetModifiedBy() string
- func (r *User) GetModifiedOn() *time.Time
- func (r *User) SetID(id string)
- func (r *User) SetLinks(links map[string]string)
- func (r *User) SetModifiedBy(modifiedBy string)
- func (r *User) SetModifiedOn(modifiedOn *time.Time)
- func (r *User) Validate() error
- type UserAuthentication
- type UserPermissionRestriction
- type UserPermissionSet
- type UserQuery
- type UserRole
- func (r *UserRole) GetID() string
- func (r *UserRole) GetLinks() map[string]string
- func (r *UserRole) GetModifiedBy() string
- func (r *UserRole) GetModifiedOn() *time.Time
- func (r *UserRole) SetID(id string)
- func (r *UserRole) SetLinks(links map[string]string)
- func (r *UserRole) SetModifiedBy(modifiedBy string)
- func (r *UserRole) SetModifiedOn(modifiedOn *time.Time)
- func (r *UserRole) Validate() error
- type UserRoles
- type UserRolesQuery
- type UsernamePasswordAccount
- func (a *UsernamePasswordAccount) GetAccountType() AccountType
- func (a *UsernamePasswordAccount) GetDescription() string
- func (a *UsernamePasswordAccount) GetEnvironmentIDs() []string
- func (a *UsernamePasswordAccount) GetName() string
- func (a *UsernamePasswordAccount) GetSpaceID() string
- func (a *UsernamePasswordAccount) GetTenantIDs() []string
- func (a *UsernamePasswordAccount) GetTenantTags() []string
- func (a *UsernamePasswordAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
- func (u *UsernamePasswordAccount) GetUsername() string
- func (a *UsernamePasswordAccount) SetDescription(description string)
- func (a *UsernamePasswordAccount) SetEnvironmentIDs(environmentIds []string)
- func (a *UsernamePasswordAccount) SetName(name string)
- func (u *UsernamePasswordAccount) SetPassword(password *SensitiveValue)
- func (a *UsernamePasswordAccount) SetSpaceID(spaceID string)
- func (a *UsernamePasswordAccount) SetTenantIDs(tenantIds []string)
- func (a *UsernamePasswordAccount) SetTenantTags(tenantTags []string)
- func (a *UsernamePasswordAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
- func (u *UsernamePasswordAccount) SetUsername(username string)
- func (u *UsernamePasswordAccount) Validate() error
- type UsernamePasswordGitCredential
- type Users
- type UsersQuery
- type Variable
- func (r *Variable) GetID() string
- func (r *Variable) GetLinks() map[string]string
- func (r *Variable) GetModifiedBy() string
- func (r *Variable) GetModifiedOn() *time.Time
- func (r *Variable) SetID(id string)
- func (r *Variable) SetLinks(links map[string]string)
- func (r *Variable) SetModifiedBy(modifiedBy string)
- func (r *Variable) SetModifiedOn(modifiedOn *time.Time)
- func (r *Variable) Validate() error
- type VariableNamesQuery
- type VariablePreviewQuery
- type VariablePromptOptions
- type VariableScope
- type VariableScopeValues
- type VariableSet
- func (r *VariableSet) GetID() string
- func (r *VariableSet) GetLinks() map[string]string
- func (r *VariableSet) GetModifiedBy() string
- func (r *VariableSet) GetModifiedOn() *time.Time
- func (r *VariableSet) SetID(id string)
- func (r *VariableSet) SetLinks(links map[string]string)
- func (r *VariableSet) SetModifiedBy(modifiedBy string)
- func (r *VariableSet) SetModifiedOn(modifiedOn *time.Time)
- func (r *VariableSet) Validate() error
- type VariablesQuery
- type VersionControlReference
- type VersionControlSettings
- type VersionRuleTestQuery
- type VersioningStrategy
- type Weekday
- type WorkItemLink
- type Worker
- type WorkerPoolResource
- func (w *WorkerPoolResource) GetCanAddWorkers() bool
- func (w *WorkerPoolResource) GetDescription() string
- func (r *WorkerPoolResource) GetID() string
- func (w *WorkerPoolResource) GetIsDefault() bool
- func (r *WorkerPoolResource) GetLinks() map[string]string
- func (r *WorkerPoolResource) GetModifiedBy() string
- func (r *WorkerPoolResource) GetModifiedOn() *time.Time
- func (w *WorkerPoolResource) GetName() string
- func (w *WorkerPoolResource) GetSortOrder() int
- func (w *WorkerPoolResource) GetSpaceID() string
- func (w *WorkerPoolResource) GetWorkerPoolType() WorkerPoolType
- func (w *WorkerPoolResource) GetWorkerType() WorkerType
- func (w *WorkerPoolResource) SetCanAddWorkers(canAddWorkers bool)
- func (w *WorkerPoolResource) SetDescription(description string)
- func (r *WorkerPoolResource) SetID(id string)
- func (w *WorkerPoolResource) SetIsDefault(isDefault bool)
- func (r *WorkerPoolResource) SetLinks(links map[string]string)
- func (r *WorkerPoolResource) SetModifiedBy(modifiedBy string)
- func (r *WorkerPoolResource) SetModifiedOn(modifiedOn *time.Time)
- func (w *WorkerPoolResource) SetName(name string)
- func (w *WorkerPoolResource) SetSortOrder(sortOrder int)
- func (w *WorkerPoolResource) SetSpaceID(spaceID string)
- func (w *WorkerPoolResource) SetWorkerPoolType(workerPoolType WorkerPoolType)
- func (w *WorkerPoolResource) SetWorkerType(workerType WorkerType)
- func (w *WorkerPoolResource) Validate() error
- type WorkerPoolResources
- type WorkerPoolType
- type WorkerPools
- type WorkerPoolsQuery
- type WorkerPoolsSummaryQuery
- type WorkerType
- type Workers
- type WorkersQuery
Constants ¶
const ( AccountTypeNone = AccountType("None") AccountTypeAmazonWebServicesAccount = AccountType("AmazonWebServicesAccount") AccountTypeAzureServicePrincipal = AccountType("AzureServicePrincipal") AccountTypeAzureSubscription = AccountType("AzureSubscription") AccountTypeGoogleCloudPlatformAccount = AccountType("GoogleCloudAccount") AccountTypeSSHKeyPair = AccountType("SshKeyPair") AccountTypeToken = AccountType("Token") AccountTypeUsernamePassword = AccountType("UsernamePassword") )
const ( ActionTypeAWSApplyCloudFormationChangeset string = "Octopus.AwsApplyCloudFormationChangeSet" ActionTypeAWSDeleteCloudFormation string = "Octopus.AwsDeleteCloudFormation" ActionTypeAWSRunCloudFormation string = "Octopus.AwsRunCloudFormation" ActionTypeAWSRunScript string = "Octopus.AwsRunScript" ActionTypeAWSUploadS3 string = "Octopus.AwsUploadS3" ActionTypeOctopusScript string = "Octopus.Script" ActionTypeOctopusActionScriptBody string = "Octopus.Action.Script.ScriptBody" )
const ( OperationAdd string = "Add" OperationAPIAdd string = "apiAdd" OperationAPIDelete string = "apiDelete" OperationAPIGet string = "apiGet" OperationAPIPost string = "apiPost" OperationAPIUpdate string = "apiUpdate" OperationDelete string = "Delete" OperationDeleteByID string = "DeleteByID" OperationGet string = "Get" OperationGetAPIKeyByID string = "GetAPIKeyByID" OperationGetAPIKeys string = "GetAPIKeys" OperationGetAuthentication string = "GetAuthentication" OperationGetAuthenticationByUser string = "GetAuthenticationByUser" OperationGetByID string = "GetByID" OperationGetByIDs string = "GetByIDs" OperationGetByName string = "GetByName" OperationGetByPartialName string = "GetByPartialName" OperationGetByProjectID string = "GetByProjectID" OperationGetByUserID string = "GetByUserID" OperationGetChannels string = "GetChannels" OperationGetDeployments string = "GetDeployments" OperationGetProject string = "GetProject" OperationGetReleases string = "GetReleases" OperationGetSummary string = "GetSummary" OperationInstall string = "Install" OperationReplace string = "Replace" OperationSearchPackages string = "SearchPackages" OperationUpdate string = "Update" )
const ( ParameterAccessKey string = "accessKey" ParameterAccount string = "account" ParameterAccountResource string = "accountResource" ParameterAccountType string = "accountType" ParameterActionTemplate string = "actionTemplate" ParameterApplicationPassword string = "applicationPassword" ParameterArtifact string = "artifact" ParameterAPIKey string = "apiKey" ParameterAPIKeyID string = "apiKeyID" ParameterCertificate string = "certificate" ParameterCertificateID string = "certificateID" ParameterChannel string = "channel" ParameterEnvironment string = "environment" ParameterFeed string = "feed" ParameterID string = "id" ParameterIDs string = "ids" ParameterLibraryVariableSet string = "libraryVariableSet" ParameterMachinePolicy string = "machinePolicy" ParameterName string = "name" ParameterOctopusURL string = "octopusURL" ParameterPackage string = "package" ParameterPartialName string = "partialName" ParameterPath string = "path" ParameterPrivateKeyFile string = "privateKeyFile" ParameterProjectID string = "projectID" ParameterProject string = "project" ParameterRelease string = "release" ParameterReplacementCertificate string = "replacementCertificate" ParameterResource string = "resource" ParameterRunbook string = "runbook" ParameterRunbookSnapshot string = "runbookSnapshot" ParameterScopedUserRole string = "scopedUserRole" ParameterSecretKey string = "secretKey" ParameterSling string = "sling" ParameterTagSet string = "tagSet" ParameterTeam string = "team" ParameterToken string = "token" ParameterUser string = "user" ParameterUserID string = "userID" ParameterUserRole string = "userRole" ParameterUsername string = "username" ParameterWorker string = "worker" ParameterWorkerPool string = "workerPool" ParameterWorkerPoolResource string = "workerPoolResource" ParameterWorkerType string = "workerType" )
const ( ServiceAccountService string = "AccountService" ServiceActionTemplateService string = "ActionTemplateService" ServiceAPIKeyService string = "APIKeyService" ServiceArtifactService string = "ArtifactService" ServiceAuthenticationService string = "AuthenticationService" ServiceAzureEnvironmentService string = "AzureEnvironmentService" ServiceAzureDevOpsConnectivityCheckService string = "AzureDevOpsConnectivityCheckService" ServiceBuildInformationService string = "BuildInformationService" ServiceCertificateService string = "CertificateService" ServiceCertificateConfigurationService string = "CertificateConfigurationService" ServiceChannelService string = "ChannelService" ServiceCloudTemplateService string = "CloudTemplateService" ServiceCommunityActionTemplateService string = "CommunityActionTemplateService" ServiceConfigurationService string = "ConfigurationService" ServiceDashboardConfigurationService string = "DashboardConfigurationService" ServiceDashboardService string = "DashboardService" ServiceDeploymentService string = "DeploymentService" ServiceDeploymentProcessesService string = "DeploymentProcessesService" ServiceDynamicExtensionService string = "DynamicExtensionService" ServiceEnvironmentService string = "EnvironmentService" ServiceEventService string = "EventService" ServiceExternalSecurityGroupProviderService string = "ExternalSecurityGroupProviderService" ServiceFeaturesConfigurationService string = "FeaturesConfigurationService" ServiceFeedService string = "FeedService" ServiceHomeService string = "HomeService" ServiceIssueTrackerService string = "IssueTrackerService" ServiceInterruptionService string = "InterruptionService" ServiceInvitationService string = "InvitationService" ServiceJiraIntegrationService string = "JiraIntegrationService" ServiceLetsEncryptConfigurationService string = "LetsEncryptConfigurationService" ServiceLibraryVariableSetService string = "LibraryVariableSetService" ServiceLicenseService string = "LicenseService" ServiceLifecycleService string = "LifecycleService" ServiceMachinePolicyService string = "MachinePolicyService" ServiceMachineRoleService string = "MachineRoleService" ServiceMachineService string = "MachineService" ServiceMaintenanceConfigurationService string = "MaintenanceConfigurationService" ServiceMigrationService string = "MigrationService" ServiceNuGetService string = "NuGetService" ServiceOctopusPackageMetadataService string = "OctopusPackageMetadataService" ServiceOctopusServerNodeService string = "OctopusServerNodeService" ServicePackageService string = "PackageService" ServicePackageMetadataService string = "PackageMetadataService" ServicePerformanceConfigurationService string = "PerformanceConfigurationService" ServicePermissionService string = "PermissionService" ServiceProjectGroupService string = "ProjectGroupService" ServiceProjectService string = "ProjectService" ServiceProjectTriggerService string = "ProjectTriggerService" ServiceProxyService string = "ProxyService" ServiceReleaseService string = "ReleaseService" ServiceReportingService string = "ReportingService" ServiceRootService string = "RootService" ServiceRunbookProcessService string = "RunbookProcessService" ServiceRunbookRunService string = "RunbookRunService" ServiceRunbookSnapshotService string = "RunbookSnapshotService" ServiceRunbookService string = "RunbookService" ServiceScheduledProjectTriggerService string = "ScheduledProjectTriggerService" ServiceSchedulerService string = "SchedulerService" ServiceScopedUserRoleService string = "ScopedUserRoleService" ServiceServerConfigurationService string = "ServerConfigurationService" ServiceServerStatusService string = "ServerStatusService" ServiceSpaceService string = "SpaceService" ServiceSMTPConfigurationService string = "SMTPConfigurationService" ServiceSubscriptionService string = "SubscriptionService" ServiceTagSetService string = "TagSetService" ServiceTaskService string = "TaskService" ServiceTeamMembershipService string = "TeamMembershipService" ServiceTeamService string = "TeamService" ServiceTenantService string = "TenantService" ServiceTenantVariableService string = "TenantVariableService" ServiceUpgradeConfigurationService string = "UpgradeConfigurationService" ServiceUserOnboardingService string = "UserOnboardingService" ServiceUserService string = "UserService" ServiceUserRoleService string = "UserRoleService" ServiceVariableService string = "VariableService" ServiceWorkerPoolService string = "WorkerPoolService" ServiceWorkerService string = "WorkerService" ServiceWorkerToolsLatestImageService string = "WorkerToolsLatestImageService" )
const ( PackageAcquisitionLocationServer = "Server" PackageAcquisitionLocationExecutionTarget = "ExecutionTarget" PackageAcquisitionLocationNotAcquired = "NotAcquired" )
const ( FeedTypeAwsElasticContainerRegistry = FeedType("AwsElasticContainerRegistry") FeedTypeBuiltIn = FeedType("BuiltIn") FeedTypeDocker = FeedType("Docker") FeedTypeGitHub = FeedType("GitHub") FeedTypeHelm = FeedType("Helm") FeedTypeMaven = FeedType("Maven") FeedTypeNuGet = FeedType("NuGet") FeedTypeOctopusProject = FeedType("OctopusProject") )
const ( GitCredentialTypeAnonymous = GitCredentialType("Anonymous") GitCredentialTypeUsernamePassword = GitCredentialType("UsernamePassword") )
const ( RetentionUnitDays string = "Days" RetentionUnitItems string = "Items" )
const ( SkipMachineBehaviorNone = SkipMachineBehavior("None") )
const ( TenantedDeploymentModeTenanted = TenantedDeploymentMode("Tenanted") TenantedDeploymentModeTenantedOrUntenanted = TenantedDeploymentMode("TenantedOrUntenanted") TenantedDeploymentModeUntenanted = TenantedDeploymentMode("Untenanted") )
const ManualInterventionDecline = "Abort"
const ManualInterverventionApprove = "Proceed"
Variables ¶
var ErrItemNotFound = errors.New("cannot find the item")
ErrItemNotFound is an OctopusDeploy error returned an item cannot be found.
var ValidMachineStatuses = []string{
"Online", "Offline", "Unknown", "NeedsUpgrade", "CalamariNeedsUpgrade", "Disabled",
}
ValidMachineStatuses provides options for valid machine status
var ValidProjectConnectivityPolicySkipMachineBehaviors = []SkipMachineBehavior{ SkipMachineBehaviorNone, SkipMachineBehaviorSkipUnavailableMachines, }
ValidProjectConnectivityPolicySkipMachineBehaviors provides options for "Skip Deployment Targets" - https://octopus.com/docs/deployment-patterns/elastic-and-transient-environments/deploying-to-transient-targets
var ValidProjectDefaultGuidedFailureModes = []string{
"EnvironmentDefault", "Off", "On",
}
ValidProjectDefaultGuidedFailureModes provides options for "Default failure mode" - https://octopus.com/docs/deployment-process/releases/guided-failures
Functions ¶
func APIErrorChecker ¶
func APIErrorChecker(urlPath string, resp *http.Response, wantedResponseCode int, slingError error, octopusDeployError *APIError) error
APIErrorChecker is a generic error handler for the OctopusDeploy API.
func FromTimeSpan ¶ added in v1.7.0
func LoadNextPage ¶
func LoadNextPage(pagedResults PagedResults) (string, bool)
LoadNextPage checks if the next page should be loaded from the API. Returns the new path and a bool if the next page should be checked.
func NotAll ¶ added in v1.7.0
func NotAll(fl validator.FieldLevel) bool
NotAll is the validation function for validating if the current field has a value of "all".
func PrettyJSON ¶ added in v1.7.0
func PrettyJSON(data interface{}) string
func ToTimeSpan ¶ added in v1.7.0
func ValidateLibraryVariableSetValues ¶
func ValidateLibraryVariableSetValues(LibraryVariableSet *LibraryVariableSet) error
ValidateLibraryVariableSetValues checks the values of a library variable set to see if they are suitable for sending to Octopus Deploy. Used when adding or updating library variable sets.
func ValidateMultipleProperties ¶
ValidateMultipleProperties returns the first error in a list of property validations
func ValidatePropertiesMatch ¶
func ValidatePropertiesMatch(firstProperty, firstPropertyName, secondProperty, secondPropertyName string) error
ValidatePropertiesMatch checks two values against each other
func ValidatePropertyValues ¶
ValidatePropertyValues returns an error if the given string is not in a slice of strings
func ValidateRequiredPropertyValue ¶
ValidateRequiredPropertyValue returns an error if the property value is empty
func ValidateRequiredSensitiveValue ¶ added in v1.7.0
func ValidateRequiredSensitiveValue(propertyName string, sensitiveValue *SensitiveValue) error
func ValidateRequiredUUID ¶ added in v1.7.0
func ValidateSemanticVersion ¶ added in v1.7.0
func ValidateStringInSlice ¶
ValidateStringInSlice checks if a string is in the given slice
Types ¶
type APIError ¶
type APIError struct { Details string `json:"Details,omitempty"` ErrorMessage string `json:"ErrorMessage,omitempty"` Errors []string `json:"Errors,omitempty"` FullException string `json:"FullException,omitempty"` HelpLink string `json:"HelpLink,omitempty"` HelpText string `json:"HelpText,omitempty"` ParsedHelpLinks []string `json:"ParsedHelpLinks,omitempty"` StatusCode int }
APIError is a generic structure for containing errors for API operations.
type APIKey ¶ added in v1.7.0
type APIKey struct { APIKey string `json:"ApiKey,omitempty"` Created *time.Time `json:"Created,omitempty"` Purpose string `json:"Purpose,omitempty"` UserID string `json:"UserId,omitempty"` // contains filtered or unexported fields }
APIKey represents an API key.
func (*APIKey) GetID ¶ added in v1.7.0
func (r *APIKey) GetID() string
GetID returns the ID value of the resource.
func (*APIKey) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*APIKey) GetModifiedBy ¶ added in v1.7.0
func (r *APIKey) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*APIKey) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*APIKey) SetID ¶ added in v1.7.55
func (r *APIKey) SetID(id string)
SetID sets the ID value of the resource.
func (*APIKey) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*APIKey) SetModifiedBy ¶ added in v1.7.55
func (r *APIKey) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*APIKey) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type APIKeys ¶ added in v1.7.0
type APIKeys struct { Items []*APIKey `json:"Items"` PagedResults }
APIKeys defines a collection of API keys with built-in support for paged results.
type AccountResource ¶ added in v1.7.0
type AccountResource struct { AccessKey string `json:"AccessKey,omitempty"` AccountType AccountType `` /* 196-byte string literal not displayed */ ApplicationID *uuid.UUID `json:"ClientId,omitempty"` ApplicationPassword *SensitiveValue `json:"Password,omitempty"` AuthenticationEndpoint string `json:"ActiveDirectoryEndpointBaseUri,omitempty"` AzureEnvironment string `json:"AzureEnvironment,omitempty"` CertificateBytes *SensitiveValue `json:"CertificateBytes,omitempty"` CertificateThumbprint string `json:"CertificateThumbprint,omitempty"` Description string `json:"Description,omitempty"` EnvironmentIDs []string `json:"EnvironmentIds,omitempty"` JsonKey *SensitiveValue `json:"JsonKey,omitempty"` ManagementEndpoint string `json:"ServiceManagementEndpointBaseUri,omitempty"` Name string `json:"Name" validate:"required,notall"` PrivateKeyFile *SensitiveValue `json:"PrivateKeyFile,omitempty"` PrivateKeyPassphrase *SensitiveValue `json:"PrivateKeyPassphrase,omitempty"` ResourceManagerEndpoint string `json:"ResourceManagementEndpointBaseUri,omitempty"` SecretKey *SensitiveValue `json:"SecretKey,omitempty"` StorageEndpointSuffix string `json:"ServiceManagementEndpointSuffix,omitempty"` SpaceID string `json:"SpaceId,omitempty"` SubscriptionID *uuid.UUID `json:"SubscriptionNumber,omitempty"` TenantedDeploymentMode TenantedDeploymentMode `json:"TenantedDeploymentParticipation,omitempty"` TenantID *uuid.UUID `json:"TenantId,omitempty"` TenantIDs []string `json:"TenantIds,omitempty"` TenantTags []string `json:"TenantTags,omitempty"` Token *SensitiveValue `json:"Token,omitempty"` Username string `json:"Username,omitempty"` // contains filtered or unexported fields }
AccountResource represents account details used for deployments, including username/password, tokens, Azure and AWS credentials, and SSH key pairs.
func NewAccountResource ¶ added in v1.7.0
func NewAccountResource(name string, accountType AccountType) *AccountResource
NewAccount creates and initializes an account resource with a name and type.
func ToAccountResource ¶ added in v1.7.0
func ToAccountResource(account IAccount) (*AccountResource, error)
func (*AccountResource) GetAccountType ¶ added in v1.7.0
func (a *AccountResource) GetAccountType() AccountType
GetAccountType returns the type of this account resource.
func (*AccountResource) GetDescription ¶ added in v1.7.0
func (a *AccountResource) GetDescription() string
GetDescription returns the description of this account resource.
func (*AccountResource) GetEnvironmentIDs ¶ added in v1.7.0
func (a *AccountResource) GetEnvironmentIDs() []string
func (*AccountResource) GetID ¶ added in v1.7.0
func (r *AccountResource) GetID() string
GetID returns the ID value of the resource.
func (*AccountResource) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*AccountResource) GetModifiedBy ¶ added in v1.7.0
func (r *AccountResource) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*AccountResource) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*AccountResource) GetName ¶ added in v1.7.0
func (a *AccountResource) GetName() string
GetName returns the name of this account resource.
func (*AccountResource) GetSpaceID ¶ added in v1.7.0
func (a *AccountResource) GetSpaceID() string
GetSpaceID returns the space ID of this account resource.
func (*AccountResource) GetTenantIDs ¶ added in v1.7.0
func (a *AccountResource) GetTenantIDs() []string
GetTenantIDs returns the tenant IDs associated with this account resource.
func (*AccountResource) GetTenantTags ¶ added in v1.7.0
func (a *AccountResource) GetTenantTags() []string
GetTenantTags returns the tenant tags assigned to this account resource.
func (*AccountResource) GetTenantedDeploymentMode ¶ added in v1.7.0
func (a *AccountResource) GetTenantedDeploymentMode() TenantedDeploymentMode
GetTenantedDeploymentMode returns the tenanted deployment mode of this account resource.
func (*AccountResource) SetDescription ¶ added in v1.7.0
func (a *AccountResource) SetDescription(description string)
SetDescription sets the description of the account resource.
func (*AccountResource) SetEnvironmentIDs ¶ added in v1.7.55
func (a *AccountResource) SetEnvironmentIDs(environmentIds []string)
SetEnvironmentIDs sets the associated environment IDs of the account resource.
func (*AccountResource) SetID ¶ added in v1.7.55
func (r *AccountResource) SetID(id string)
SetID sets the ID value of the resource.
func (*AccountResource) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*AccountResource) SetModifiedBy ¶ added in v1.7.55
func (r *AccountResource) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*AccountResource) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*AccountResource) SetName ¶ added in v1.7.0
func (a *AccountResource) SetName(name string)
SetName sets the name of this account resource.
func (*AccountResource) SetSpaceID ¶ added in v1.7.0
func (a *AccountResource) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of this account resource.
func (*AccountResource) SetTenantIDs ¶ added in v1.7.55
func (a *AccountResource) SetTenantIDs(tenantIds []string)
SetTenantIDs sets the tenant IDs associated with this account resource.
func (*AccountResource) SetTenantTags ¶ added in v1.7.55
func (a *AccountResource) SetTenantTags(tenantTags []string)
SetTenantTags sets the tenant tags associated with this account resource.
func (*AccountResource) SetTenantedDeploymentMode ¶ added in v1.7.55
func (a *AccountResource) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
SetTenantedDeploymentMode sets the tenanted deployment mode of this account resource.
func (*AccountResource) Validate ¶ added in v1.7.0
func (a *AccountResource) Validate() error
Validate checks the state of the account resource and returns an error if invalid.
type AccountResources ¶ added in v1.7.0
type AccountResources struct { Items []*AccountResource `json:"Items"` PagedResults }
AccountResources defines a collection of account resources with built-in support for paged results.
type AccountType ¶ added in v1.6.0
type AccountType string
type AccountUsage ¶ added in v1.7.0
type AccountUsage struct { DeploymentProcesses []*StepUsage `json:"DeploymentProcesses,omitempty"` LibraryVariableSets []*LibraryVariableSetUsageEntry `json:"LibraryVariableSets,omitempty"` ProjectVariableSets []*ProjectVariableSetUsage `json:"ProjectVariableSets,omitempty"` Releases []*ReleaseUsage `json:"Releases,omitempty"` RunbookProcesses []*RunbookStepUsage `json:"RunbookProcesses,omitempty"` RunbookSnapshots []*RunbookSnapshotUsage `json:"RunbookSnapshots,omitempty"` Targets []*TargetUsageEntry `json:"Targets,omitempty"` // contains filtered or unexported fields }
AccountUsage contains the projects and deployments which are using an account.
func NewAccountUsage ¶ added in v1.7.0
func NewAccountUsage() *AccountUsage
NewAccountUsage initializes an AccountUsage.
func (*AccountUsage) GetID ¶ added in v1.7.0
func (r *AccountUsage) GetID() string
GetID returns the ID value of the resource.
func (*AccountUsage) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*AccountUsage) GetModifiedBy ¶ added in v1.7.0
func (r *AccountUsage) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*AccountUsage) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*AccountUsage) SetID ¶ added in v1.7.55
func (r *AccountUsage) SetID(id string)
SetID sets the ID value of the resource.
func (*AccountUsage) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*AccountUsage) SetModifiedBy ¶ added in v1.7.55
func (r *AccountUsage) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*AccountUsage) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type Accounts ¶
type Accounts struct { Items []IAccount `json:"Items"` PagedResults }
Accounts defines a collection of accounts with built-in support for paged results.
func ToAccounts ¶ added in v1.7.0
func ToAccounts(accountResources *AccountResources) *Accounts
func (*Accounts) MarshalJSON ¶ added in v1.7.0
MarshalJSON returns an Accounts struct as its JSON encoding.
func (*Accounts) UnmarshalJSON ¶ added in v1.7.0
UnmarshalJSON sets this Accounts struct to its representation in JSON.
type AccountsQuery ¶ added in v1.7.0
type AccountsQuery struct { AccountType AccountType `uri:"accountType,omitempty" url:"accountType,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
AccountsQuery represents parameters to query the Accounts service.
type ActionTemplate ¶ added in v1.7.0
type ActionTemplate struct { ActionType string `json:"ActionType" validate:"required,notblank"` CommunityActionTemplateID string `json:"CommunityActionTemplateId,omitempty"` Description string `json:"Description,omitempty"` Name string `json:"Name" validate:"required"` Packages []PackageReference `json:"Packages,omitempty"` Parameters []ActionTemplateParameter `json:"Parameters,omitempty"` Properties map[string]PropertyValue `json:"Properties,omitempty"` SpaceID string `json:"SpaceId,omitempty"` Version int32 `json:"Version,omitempty"` // contains filtered or unexported fields }
ActionTemplate represents an action template in Octopus Deploy.
func NewActionTemplate ¶ added in v1.7.0
func NewActionTemplate(name string, actionType string) *ActionTemplate
NewActionTemplate creates and initializes an action template.
func (*ActionTemplate) GetID ¶ added in v1.7.0
func (r *ActionTemplate) GetID() string
GetID returns the ID value of the resource.
func (*ActionTemplate) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*ActionTemplate) GetModifiedBy ¶ added in v1.7.0
func (r *ActionTemplate) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*ActionTemplate) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*ActionTemplate) SetID ¶ added in v1.7.55
func (r *ActionTemplate) SetID(id string)
SetID sets the ID value of the resource.
func (*ActionTemplate) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*ActionTemplate) SetModifiedBy ¶ added in v1.7.55
func (r *ActionTemplate) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*ActionTemplate) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*ActionTemplate) Validate ¶ added in v1.7.0
func (a *ActionTemplate) Validate() error
Validate checks the state of this ActionTemplate and returns an error if invalid.
type ActionTemplateCategory ¶ added in v1.7.0
type ActionTemplateCategory struct { DisplayOrder int32 `json:"DisplayOrder,omitempty"` ID string `json:"Id,omitempty"` Links map[string]string `json:"Links,omitempty"` Name string `json:"Name,omitempty"` }
ActionTemplateCategory represents an action template category.
type ActionTemplateLogoQuery ¶ added in v1.7.0
type ActionTemplateParameter ¶
type ActionTemplateParameter struct { DefaultValue *PropertyValue `json:"DefaultValue,omitempty"` DisplaySettings map[string]string `json:"DisplaySettings,omitempty"` HelpText string `json:"HelpText,omitempty"` Label string `json:"Label,omitempty"` Name string `json:"Name,omitempty"` // contains filtered or unexported fields }
ActionTemplateParameter represents an action template parameter.
func NewActionTemplateParameter ¶ added in v1.7.0
func NewActionTemplateParameter() *ActionTemplateParameter
func (*ActionTemplateParameter) GetID ¶ added in v1.7.0
func (r *ActionTemplateParameter) GetID() string
GetID returns the ID value of the resource.
func (*ActionTemplateParameter) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*ActionTemplateParameter) GetModifiedBy ¶ added in v1.7.0
func (r *ActionTemplateParameter) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*ActionTemplateParameter) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*ActionTemplateParameter) SetID ¶ added in v1.7.55
func (r *ActionTemplateParameter) SetID(id string)
SetID sets the ID value of the resource.
func (*ActionTemplateParameter) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*ActionTemplateParameter) SetModifiedBy ¶ added in v1.7.55
func (r *ActionTemplateParameter) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*ActionTemplateParameter) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type ActionTemplateSearch ¶ added in v1.7.0
type ActionTemplateSearch struct { Author string `json:"Author,omitempty"` Categories []string `json:"Categories"` Category string `json:"Category,omitempty"` CommunityActionTemplateID string `json:"CommunityActionTemplateId,omitempty"` Description string `json:"Description,omitempty"` HasUpdate bool `json:"HasUpdate,omitempty"` ID string `json:"Id,omitempty"` IsBuiltIn bool `json:"IsBuiltIn,omitempty"` IsInstalled bool `json:"IsInstalled,omitempty"` Keywords string `json:"Keywords,omitempty"` Links map[string]string `json:"Links,omitempty"` Name string `json:"Name,omitempty"` Type string `json:"Type,omitempty"` Website string `json:"Website,omitempty"` }
ActionTemplateSearch represents an action template search.
type ActionTemplateVersionedLogoQuery ¶ added in v1.7.0
type ActionTemplates ¶ added in v1.7.0
type ActionTemplates struct { Items []*ActionTemplate `json:"Items"` PagedResults }
ActionTemplates defines a collection of action templates with built-in support for paged results.
type ActionTemplatesQuery ¶ added in v1.7.0
type ActionTemplatesQuery struct { IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
ActionTemplatesQuery represents parameters to query the ActionTemplates service.
type ActionType ¶ added in v1.7.45
type ActionType int
const ( AutoDeploy ActionType = iota DeployLatestRelease DeployNewRelease RunRunbook )
func ActionTypeString ¶ added in v1.7.45
func ActionTypeString(s string) (ActionType, error)
ActionTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func ActionTypeValues ¶ added in v1.7.45
func ActionTypeValues() []ActionType
ActionTypeValues returns all values of the enum
func (ActionType) IsAActionType ¶ added in v1.7.45
func (i ActionType) IsAActionType() bool
IsAActionType returns "true" if the value is listed in the enum definition. "false" otherwise
func (ActionType) MarshalJSON ¶ added in v1.7.45
func (i ActionType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ActionType
func (ActionType) String ¶ added in v1.7.45
func (i ActionType) String() string
func (*ActionType) UnmarshalJSON ¶ added in v1.7.45
func (i *ActionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ActionType
type ActivityLogElement ¶ added in v1.7.0
type ActivityLogElement struct { Category string `json:"Category,omitempty"` Detail string `json:"Detail,omitempty"` MessageText string `json:"MessageText,omitempty"` OccurredAt time.Time `json:"OccurredAt,omitempty"` }
ActivityLogElement represents an activity log element.
type ActivityLogEntry ¶ added in v1.7.0
type ActivityLogEntry struct { Category string `` /* 150-byte string literal not displayed */ Detail string `json:"Detail,omitempty"` MessageText string `json:"MessageText,omitempty"` OccurredAt time.Time `json:"OccurredAt,omitempty"` }
ActivityLogEntry represents an activity log entry.
type AmazonWebServicesAccount ¶ added in v1.6.0
type AmazonWebServicesAccount struct { AccessKey string `json:"AccessKey" validate:"required"` SecretKey *SensitiveValue `json:"SecretKey" validate:"required"` // contains filtered or unexported fields }
AmazonWebServicesAccount represents an Amazon Web Services (AWS) account.
func NewAmazonWebServicesAccount ¶ added in v1.7.0
func NewAmazonWebServicesAccount(name string, accessKey string, secretKey *SensitiveValue) (*AmazonWebServicesAccount, error)
NewAmazonWebServicesAccount initializes and returns an AWS account with a name, access key, and secret key.
func (*AmazonWebServicesAccount) GetAccountType ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) GetAccountType() AccountType
GetAccountType returns the type of this account.
func (*AmazonWebServicesAccount) GetDescription ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) GetDescription() string
GetDescription returns the description of the account.
func (*AmazonWebServicesAccount) GetEnvironmentIDs ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) GetEnvironmentIDs() []string
GetEnvironmentIDs returns the environment IDs associated with this account.
func (*AmazonWebServicesAccount) GetName ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) GetName() string
GetName returns the name of the account.
func (*AmazonWebServicesAccount) GetSpaceID ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) GetSpaceID() string
GetSpaceID returns the space ID of this account.
func (*AmazonWebServicesAccount) GetTenantIDs ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) GetTenantIDs() []string
GetTenantIDs returns the tenant IDs associated with this account.
func (*AmazonWebServicesAccount) GetTenantTags ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) GetTenantTags() []string
GetTenantTags returns the tenant tags assigned to this account.
func (*AmazonWebServicesAccount) GetTenantedDeploymentMode ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
GetTenantedDeploymentMode returns the tenanted deployment mode of this account.
func (*AmazonWebServicesAccount) SetDescription ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) SetDescription(description string)
SetDescription sets the description of the account.
func (*AmazonWebServicesAccount) SetEnvironmentIDs ¶ added in v1.7.55
func (a *AmazonWebServicesAccount) SetEnvironmentIDs(environmentIds []string)
SetEnvironmentIDs sets the associated environment IDs of the account.
func (*AmazonWebServicesAccount) SetName ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) SetName(name string)
SetName sets the name of the account.
func (*AmazonWebServicesAccount) SetSpaceID ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of this account.
func (*AmazonWebServicesAccount) SetTenantIDs ¶ added in v1.7.55
func (a *AmazonWebServicesAccount) SetTenantIDs(tenantIds []string)
SetTenantIDs sets the tenant IDs associated with this account.
func (*AmazonWebServicesAccount) SetTenantTags ¶ added in v1.7.55
func (a *AmazonWebServicesAccount) SetTenantTags(tenantTags []string)
SetTenantTags sets the tenant tags associated with this account.
func (*AmazonWebServicesAccount) SetTenantedDeploymentMode ¶ added in v1.7.55
func (a *AmazonWebServicesAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
SetTenantedDeploymentMode sets the tenanted deployment mode of this account.
func (*AmazonWebServicesAccount) Validate ¶ added in v1.7.0
func (a *AmazonWebServicesAccount) Validate() error
Validate checks the state of this account and returns an error if invalid.
type AnonymousGitCredential ¶ added in v1.7.55
type AnonymousGitCredential struct {
// contains filtered or unexported fields
}
func NewAnonymousGitCredential ¶ added in v1.7.55
func NewAnonymousGitCredential() *AnonymousGitCredential
func (*AnonymousGitCredential) GetType ¶ added in v1.7.55
func (a *AnonymousGitCredential) GetType() GitCredentialType
GitCredentialType returns the type for this Git credential.
type Artifact ¶ added in v1.7.0
type Artifact struct { Created *time.Time `json:"Created,omitempty"` Filename string `json:"Filename" validate:"required"` LogCorrelationID string `json:"LogCorrelationId,omitempty"` ServerTaskID string `json:"ServerTaskId,omitempty"` Source string `json:"Source,omitempty"` SpaceID string `json:"SpaceId,omitempty"` // contains filtered or unexported fields }
Artifact represents an artifact.
func NewArtifact ¶ added in v1.7.0
NewArtifact creates and initializes an artifact.
func (*Artifact) GetID ¶ added in v1.7.0
func (r *Artifact) GetID() string
GetID returns the ID value of the resource.
func (*Artifact) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Artifact) GetModifiedBy ¶ added in v1.7.0
func (r *Artifact) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Artifact) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Artifact) SetID ¶ added in v1.7.55
func (r *Artifact) SetID(id string)
SetID sets the ID value of the resource.
func (*Artifact) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Artifact) SetModifiedBy ¶ added in v1.7.55
func (r *Artifact) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Artifact) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type Artifacts ¶ added in v1.7.0
type Artifacts struct { Items []*Artifact `json:"Items"` PagedResults }
Artifacts defines a collection of artifacts with built-in support for paged results from the API.
type ArtifactsQuery ¶ added in v1.7.0
type ArtifactsQuery struct { IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` Order string `uri:"order" url:"order,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Regarding string `uri:"regarding,omitempty" url:"regarding,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type Authentication ¶ added in v1.7.0
type Authentication struct { AnyAuthenticationProvidersSupportPasswordManagement bool `json:"AnyAuthenticationProvidersSupportPasswordManagement"` AuthenticationProviders []*AuthenticationProviderElement `json:"AuthenticationProviders"` AutoLoginEnabled bool `json:"AutoLoginEnabled"` // contains filtered or unexported fields }
Authentication represents enabled authentication providers.
func NewAuthentication ¶ added in v1.7.0
func NewAuthentication() *Authentication
func (*Authentication) GetID ¶ added in v1.7.0
func (r *Authentication) GetID() string
GetID returns the ID value of the resource.
func (*Authentication) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Authentication) GetModifiedBy ¶ added in v1.7.0
func (r *Authentication) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Authentication) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Authentication) SetID ¶ added in v1.7.55
func (r *Authentication) SetID(id string)
SetID sets the ID value of the resource.
func (*Authentication) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Authentication) SetModifiedBy ¶ added in v1.7.55
func (r *Authentication) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Authentication) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type AuthenticationProviderElement ¶ added in v1.7.0
type AuthenticationProviderElement struct { CSSLinks []string `json:"CSSLinks"` FormsLoginEnabled bool `json:"FormsLoginEnabled"` IdentityType string `json:"IdentityType,omitempty"` JavascriptLinks []string `json:"JavascriptLinks"` Links map[string]string `json:"Links,omitempty"` Name string `json:"Name,omitempty"` }
AuthenticationProviderElement represents an authentication provider element.
type AutoDeployAction ¶ added in v1.7.45
type AutoDeployAction struct { ShouldRedeploy bool `json:"ShouldRedeployWhenMachineHasBeenDeployedTo"` // contains filtered or unexported fields }
func NewAutoDeployAction ¶ added in v1.7.45
func NewAutoDeployAction(shouldRedeploy bool) *AutoDeployAction
func (*AutoDeployAction) GetActionType ¶ added in v1.7.45
func (a *AutoDeployAction) GetActionType() ActionType
func (*AutoDeployAction) SetActionType ¶ added in v1.7.45
func (a *AutoDeployAction) SetActionType(actionType ActionType)
type AutoDeployReleaseOverride ¶
type AutoDeployReleaseOverride struct { EnvironmentID string `json:"EnvironmentId,omitempty"` ReleaseID string `json:"ReleaseId,omitempty"` TenantID string `json:"TenantId,omitempty"` }
AutoDeployReleaseOverride represents an auto-deploy release override.
type AwsElasticContainerRegistry ¶ added in v1.7.0
type AwsElasticContainerRegistry struct { AccessKey string `json:"AccessKey" validate:"required"` Region string `json:"Region" validate:"required"` SecretKey *SensitiveValue `json:"SecretKey" validate:"required"` // contains filtered or unexported fields }
AwsElasticContainerRegistry represents an Amazon Web Services (AWS) Elastic Container Registry (ECR).
func NewAwsElasticContainerRegistry ¶ added in v1.7.0
func NewAwsElasticContainerRegistry(name string, accessKey string, secretKey *SensitiveValue, region string) (*AwsElasticContainerRegistry, error)
NewAwsElasticContainerRegistry creates and initializes an Amazon Web Services (AWS) Elastic Container Registry (ECR).
func (*AwsElasticContainerRegistry) GetFeedType ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) GetFeedType() FeedType
GetFeedType returns the type of this feed.
func (*AwsElasticContainerRegistry) GetName ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) GetName() string
GetName returns the name of the feed.
func (*AwsElasticContainerRegistry) GetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) GetPackageAcquisitionLocationOptions() []string
GetPackageAcquisitionLocationOptions returns the package acquisition location options of the feed.
func (*AwsElasticContainerRegistry) GetPassword ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) GetPassword() *SensitiveValue
GetPassword returns the password of the feed.
func (*AwsElasticContainerRegistry) GetSpaceID ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) GetSpaceID() string
GetSpaceID returns the space ID of the feed.
func (*AwsElasticContainerRegistry) GetUsername ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) GetUsername() string
GetUsername returns the username of the feed.
func (*AwsElasticContainerRegistry) SetFeedType ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) SetFeedType(feedType FeedType)
SetFeedType returns the type of this feed.
func (*AwsElasticContainerRegistry) SetName ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) SetName(name string)
SetName sets the name of the feed.
func (*AwsElasticContainerRegistry) SetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
SetPackageAcquisitionLocationOptions sets the package acquisition location options of the feed.
func (*AwsElasticContainerRegistry) SetPassword ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) SetPassword(password *SensitiveValue)
SetPassword sets the password of the feed.
func (*AwsElasticContainerRegistry) SetSpaceID ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of the feed.
func (*AwsElasticContainerRegistry) SetUsername ¶ added in v1.8.0
func (f *AwsElasticContainerRegistry) SetUsername(username string)
SetUsername sets the username of the feed.
func (*AwsElasticContainerRegistry) Validate ¶ added in v1.7.0
func (a *AwsElasticContainerRegistry) Validate() error
Validate checks the state of this Amazon Web Services (AWS) Elastic Container Registry (ECR) and returns an error if invalid.
type AzureCloudServiceEndpoint ¶ added in v1.7.0
type AzureCloudServiceEndpoint struct { AccountID string `json:"AccountId"` CloudServiceName string `json:"CloudServiceName"` DefaultWorkerPoolID string `json:"DefaultWorkerPoolId"` Slot string `json:"Slot"` StorageAccountName string `json:"StorageAccountName"` SwapIfPossible bool `json:"SwapIfPossible"` UseCurrentInstanceCount bool `json:"UseCurrentInstanceCount"` // contains filtered or unexported fields }
AzureCloudServiceEndpoint represents an Azure cloud service endpoint.
func NewAzureCloudServiceEndpoint ¶ added in v1.7.0
func NewAzureCloudServiceEndpoint() *AzureCloudServiceEndpoint
NewAzureCloudServiceEndpoint creates and initializes a new Azure cloud service endpoint.
func (AzureCloudServiceEndpoint) GetAccountID ¶ added in v1.7.0
func (a AzureCloudServiceEndpoint) GetAccountID() string
GetAccountID returns the account ID associated with this Azure cloud service endpoint.
func (AzureCloudServiceEndpoint) GetCommunicationStyle ¶ added in v1.7.0
func (e AzureCloudServiceEndpoint) GetCommunicationStyle() string
GetCommunicationStyle returns the communication style of this endpoint.
func (AzureCloudServiceEndpoint) GetDefaultWorkerPoolID ¶ added in v1.7.0
func (a AzureCloudServiceEndpoint) GetDefaultWorkerPoolID() string
GetDefaultWorkerPoolID returns the default worker pool ID of this Azure cloud service endpoint.
func (*AzureCloudServiceEndpoint) SetDefaultWorkerPoolID ¶ added in v1.7.0
func (a *AzureCloudServiceEndpoint) SetDefaultWorkerPoolID(defaultWorkerPoolID string)
SetDefaultWorkerPoolID sets the default worker pool ID of this Azure cloud service endpoint.
type AzureServiceFabricEndpoint ¶ added in v1.7.0
type AzureServiceFabricEndpoint struct { AadClientCredentialSecret string `json:"AadClientCredentialSecret,omitempty"` AadCredentialType string `json:"AadCredentialType,omitempty" validate:"omitempty,oneof=ClientCredential UserCredential"` AadUserCredentialPassword *SensitiveValue `json:"AadUserCredentialPassword,omitempty"` AadUserCredentialUsername string `json:"AadUserCredentialUsername,omitempty"` CertificateStoreLocation string `json:"CertificateStoreLocation,omitempty"` CertificateStoreName string `json:"CertificateStoreName,omitempty"` ClientCertificateVariable string `json:"ClientCertVariable,omitempty"` ConnectionEndpoint string `json:"ConnectionEndpoint,omitempty"` SecurityMode string `json:"SecurityMode,omitempty" validate:"omitempty,oneof=Unsecure SecureClientCertificate SecureAzureAD"` ServerCertificateThumbprint string `json:"ServerCertThumbprint,omitempty"` // contains filtered or unexported fields }
func NewAzureServiceFabricEndpoint ¶ added in v1.7.0
func NewAzureServiceFabricEndpoint() *AzureServiceFabricEndpoint
func (AzureServiceFabricEndpoint) GetCommunicationStyle ¶ added in v1.7.0
func (e AzureServiceFabricEndpoint) GetCommunicationStyle() string
GetCommunicationStyle returns the communication style of this endpoint.
func (*AzureServiceFabricEndpoint) Validate ¶ added in v1.7.0
func (s *AzureServiceFabricEndpoint) Validate() error
Validate checks the state of the service fabric endpoint and returns an error if invalid.
type AzureServicePrincipalAccount ¶ added in v1.7.0
type AzureServicePrincipalAccount struct { ApplicationID *uuid.UUID `json:"ClientId" validate:"required"` ApplicationPassword *SensitiveValue `json:"Password" validate:"required"` AuthenticationEndpoint string `json:"ActiveDirectoryEndpointBaseUri,omitempty" validate:"required_with=AzureEnvironment,omitempty,uri"` AzureEnvironment string `json:"AzureEnvironment,omitempty" validate:"omitempty,oneof=AzureCloud AzureChinaCloud AzureGermanCloud AzureUSGovernment"` ResourceManagerEndpoint string `json:"ResourceManagementEndpointBaseUri" validate:"required_with=AzureEnvironment,omitempty,uri"` SubscriptionID *uuid.UUID `json:"SubscriptionNumber" validate:"required"` TenantID *uuid.UUID `json:"TenantId" validate:"required"` // contains filtered or unexported fields }
AzureServicePrincipalAccount represents an Azure service principal account.
func NewAzureServicePrincipalAccount ¶ added in v1.7.0
func NewAzureServicePrincipalAccount(name string, subscriptionID uuid.UUID, tenantID uuid.UUID, applicationID uuid.UUID, applicationPassword *SensitiveValue) (*AzureServicePrincipalAccount, error)
NewAzureServicePrincipalAccount creates and initializes an Azure service principal account.
func (*AzureServicePrincipalAccount) GetAccountType ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) GetAccountType() AccountType
GetAccountType returns the type of this account.
func (*AzureServicePrincipalAccount) GetDescription ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) GetDescription() string
GetDescription returns the description of the account.
func (*AzureServicePrincipalAccount) GetEnvironmentIDs ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) GetEnvironmentIDs() []string
GetEnvironmentIDs returns the environment IDs associated with this account.
func (*AzureServicePrincipalAccount) GetName ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) GetName() string
GetName returns the name of the account.
func (*AzureServicePrincipalAccount) GetSpaceID ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) GetSpaceID() string
GetSpaceID returns the space ID of this account.
func (*AzureServicePrincipalAccount) GetTenantIDs ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) GetTenantIDs() []string
GetTenantIDs returns the tenant IDs associated with this account.
func (*AzureServicePrincipalAccount) GetTenantTags ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) GetTenantTags() []string
GetTenantTags returns the tenant tags assigned to this account.
func (*AzureServicePrincipalAccount) GetTenantedDeploymentMode ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
GetTenantedDeploymentMode returns the tenanted deployment mode of this account.
func (*AzureServicePrincipalAccount) SetDescription ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) SetDescription(description string)
SetDescription sets the description of the account.
func (*AzureServicePrincipalAccount) SetEnvironmentIDs ¶ added in v1.7.55
func (a *AzureServicePrincipalAccount) SetEnvironmentIDs(environmentIds []string)
SetEnvironmentIDs sets the associated environment IDs of the account.
func (*AzureServicePrincipalAccount) SetName ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) SetName(name string)
SetName sets the name of the account.
func (*AzureServicePrincipalAccount) SetSpaceID ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of this account.
func (*AzureServicePrincipalAccount) SetTenantIDs ¶ added in v1.7.55
func (a *AzureServicePrincipalAccount) SetTenantIDs(tenantIds []string)
SetTenantIDs sets the tenant IDs associated with this account.
func (*AzureServicePrincipalAccount) SetTenantTags ¶ added in v1.7.55
func (a *AzureServicePrincipalAccount) SetTenantTags(tenantTags []string)
SetTenantTags sets the tenant tags associated with this account.
func (*AzureServicePrincipalAccount) SetTenantedDeploymentMode ¶ added in v1.7.55
func (a *AzureServicePrincipalAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
SetTenantedDeploymentMode sets the tenanted deployment mode of this account.
func (*AzureServicePrincipalAccount) Validate ¶ added in v1.7.0
func (a *AzureServicePrincipalAccount) Validate() error
Validate checks the state of this Azure service principal account and returns an error if invalid.
type AzureSubscriptionAccount ¶ added in v1.7.0
type AzureSubscriptionAccount struct { AzureEnvironment string `json:"AzureEnvironment,omitempty" validate:"omitempty,oneof=AzureCloud AzureChinaCloud AzureGermanCloud AzureUSGovernment"` CertificateBytes *SensitiveValue `json:"CertificateBytes,omitempty"` CertificateThumbprint string `json:"CertificateThumbprint,omitempty"` ManagementEndpoint string `json:"ServiceManagementEndpointBaseUri,omitempty" validate:"omitempty,uri"` StorageEndpointSuffix string `json:"ServiceManagementEndpointSuffix,omitempty" validate:"omitempty,hostname"` SubscriptionID *uuid.UUID `json:"SubscriptionNumber" validate:"required"` // contains filtered or unexported fields }
AzureSubscriptionAccount represents an Azure subscription account.
func NewAzureSubscriptionAccount ¶ added in v1.7.0
func NewAzureSubscriptionAccount(name string, subscriptionID uuid.UUID) (*AzureSubscriptionAccount, error)
NewAzureSubscriptionAccount creates and initializes an Azure subscription account with a name.
func (*AzureSubscriptionAccount) GetAccountType ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) GetAccountType() AccountType
GetAccountType returns the type of this account.
func (*AzureSubscriptionAccount) GetDescription ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) GetDescription() string
GetDescription returns the description of the account.
func (*AzureSubscriptionAccount) GetEnvironmentIDs ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) GetEnvironmentIDs() []string
GetEnvironmentIDs returns the environment IDs associated with this account.
func (*AzureSubscriptionAccount) GetName ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) GetName() string
GetName returns the name of the account.
func (*AzureSubscriptionAccount) GetSpaceID ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) GetSpaceID() string
GetSpaceID returns the space ID of this account.
func (*AzureSubscriptionAccount) GetTenantIDs ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) GetTenantIDs() []string
GetTenantIDs returns the tenant IDs associated with this account.
func (*AzureSubscriptionAccount) GetTenantTags ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) GetTenantTags() []string
GetTenantTags returns the tenant tags assigned to this account.
func (*AzureSubscriptionAccount) GetTenantedDeploymentMode ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
GetTenantedDeploymentMode returns the tenanted deployment mode of this account.
func (*AzureSubscriptionAccount) SetDescription ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) SetDescription(description string)
SetDescription sets the description of the account.
func (*AzureSubscriptionAccount) SetEnvironmentIDs ¶ added in v1.7.55
func (a *AzureSubscriptionAccount) SetEnvironmentIDs(environmentIds []string)
SetEnvironmentIDs sets the associated environment IDs of the account.
func (*AzureSubscriptionAccount) SetName ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) SetName(name string)
SetName sets the name of the account.
func (*AzureSubscriptionAccount) SetSpaceID ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of this account.
func (*AzureSubscriptionAccount) SetTenantIDs ¶ added in v1.7.55
func (a *AzureSubscriptionAccount) SetTenantIDs(tenantIds []string)
SetTenantIDs sets the tenant IDs associated with this account.
func (*AzureSubscriptionAccount) SetTenantTags ¶ added in v1.7.55
func (a *AzureSubscriptionAccount) SetTenantTags(tenantTags []string)
SetTenantTags sets the tenant tags associated with this account.
func (*AzureSubscriptionAccount) SetTenantedDeploymentMode ¶ added in v1.7.55
func (a *AzureSubscriptionAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
SetTenantedDeploymentMode sets the tenanted deployment mode of this account.
func (*AzureSubscriptionAccount) Validate ¶ added in v1.7.0
func (a *AzureSubscriptionAccount) Validate() error
Validate checks the state of this account and returns an error if invalid.
type AzureWebAppEndpoint ¶ added in v1.7.0
type AzureWebAppEndpoint struct { AccountID string `json:"AccountId"` ResourceGroupName string `json:"ResourceGroupName,omitempty"` WebAppName string `json:"WebAppName,omitempty"` WebAppSlotName string `json:"WebAppSlotName"` // contains filtered or unexported fields }
AzureWebAppEndpoint represents the an Azure web app-based endpoint.
func NewAzureWebAppEndpoint ¶ added in v1.7.0
func NewAzureWebAppEndpoint() *AzureWebAppEndpoint
NewAzureWebAppEndpoint creates a new endpoint for Azure web apps.
func (AzureWebAppEndpoint) GetCommunicationStyle ¶ added in v1.7.0
func (e AzureWebAppEndpoint) GetCommunicationStyle() string
GetCommunicationStyle returns the communication style of this endpoint.
type BuildInformation ¶ added in v1.7.0
type BuildInformation struct { Branch string `json:"Branch,omitempty"` BuildEnvironment string `json:"BuildEnvironment,omitempty"` BuildNumber string `json:"BuildNumber,omitempty"` BuildURL string `json:"BuildUrl,omitempty"` Commits []*CommitDetails `json:"Commits"` Created time.Time `json:"Created,omitempty"` IncompleteDataWarning string `json:"IncompleteDataWarning,omitempty"` IssueTrackerName string `json:"IssueTrackerName,omitempty"` PackageID string `json:"PackageId,omitempty"` VcsCommitNumber string `json:"VcsCommitNumber,omitempty"` VcsCommitURL string `json:"VcsCommitUrl,omitempty"` VcsRoot string `json:"VcsRoot,omitempty"` VcsType string `json:"VcsType,omitempty"` Version string `json:"Version,omitempty"` WorkItems []*WorkItemLink `json:"WorkItems"` // contains filtered or unexported fields }
func NewBuildInformation ¶ added in v1.7.0
func NewBuildInformation() *BuildInformation
func (*BuildInformation) GetID ¶ added in v1.7.0
func (r *BuildInformation) GetID() string
GetID returns the ID value of the resource.
func (*BuildInformation) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*BuildInformation) GetModifiedBy ¶ added in v1.7.0
func (r *BuildInformation) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*BuildInformation) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*BuildInformation) SetID ¶ added in v1.7.55
func (r *BuildInformation) SetID(id string)
SetID sets the ID value of the resource.
func (*BuildInformation) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*BuildInformation) SetModifiedBy ¶ added in v1.7.55
func (r *BuildInformation) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*BuildInformation) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type BuildInformationBulkQuery ¶ added in v1.7.0
type BuildInformationBulkQuery struct {
IDs []string `uri:"ids,omitempty" url:"ids,omitempty"`
}
type BuildInformationQuery ¶ added in v1.7.0
type BuildInformationQuery 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"` PackageID string `uri:"packageId,omitempty" url:"packageId,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type BuiltInFeed ¶ added in v1.7.0
type BuiltInFeed struct { DeleteUnreleasedPackagesAfterDays int `json:"DeleteUnreleasedPackagesAfterDays"` DownloadAttempts int `json:"DownloadAttempts"` DownloadRetryBackoffSeconds int `json:"DownloadRetryBackoffSeconds"` IsBuiltInRepoSyncEnabled bool `json:"IsBuiltInRepoSyncEnabled"` // contains filtered or unexported fields }
BuiltInFeed represents a built-in feed.
func NewBuiltInFeed ¶ added in v1.7.0
func NewBuiltInFeed(name string) (*BuiltInFeed, error)
NewBuiltInFeed creates and initializes a built-in feed.
func (*BuiltInFeed) GetFeedType ¶ added in v1.8.0
func (f *BuiltInFeed) GetFeedType() FeedType
GetFeedType returns the type of this feed.
func (*BuiltInFeed) GetName ¶ added in v1.8.0
func (f *BuiltInFeed) GetName() string
GetName returns the name of the feed.
func (*BuiltInFeed) GetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *BuiltInFeed) GetPackageAcquisitionLocationOptions() []string
GetPackageAcquisitionLocationOptions returns the package acquisition location options of the feed.
func (*BuiltInFeed) GetPassword ¶ added in v1.8.0
func (f *BuiltInFeed) GetPassword() *SensitiveValue
GetPassword returns the password of the feed.
func (*BuiltInFeed) GetSpaceID ¶ added in v1.8.0
func (f *BuiltInFeed) GetSpaceID() string
GetSpaceID returns the space ID of the feed.
func (*BuiltInFeed) GetUsername ¶ added in v1.8.0
func (f *BuiltInFeed) GetUsername() string
GetUsername returns the username of the feed.
func (*BuiltInFeed) SetFeedType ¶ added in v1.8.0
func (f *BuiltInFeed) SetFeedType(feedType FeedType)
SetFeedType returns the type of this feed.
func (*BuiltInFeed) SetName ¶ added in v1.8.0
func (f *BuiltInFeed) SetName(name string)
SetName sets the name of the feed.
func (*BuiltInFeed) SetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *BuiltInFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
SetPackageAcquisitionLocationOptions sets the package acquisition location options of the feed.
func (*BuiltInFeed) SetPassword ¶ added in v1.8.0
func (f *BuiltInFeed) SetPassword(password *SensitiveValue)
SetPassword sets the password of the feed.
func (*BuiltInFeed) SetSpaceID ¶ added in v1.8.0
func (f *BuiltInFeed) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of the feed.
func (*BuiltInFeed) SetUsername ¶ added in v1.8.0
func (f *BuiltInFeed) SetUsername(username string)
SetUsername sets the username of the feed.
func (*BuiltInFeed) Validate ¶ added in v1.7.0
func (b *BuiltInFeed) Validate() error
Validate checks the state of this built-in feed and returns an error if invalid.
type BuiltInFeedStatistics ¶ added in v1.7.0
type BuiltInFeedStatistics struct { TotalPackages int32 `json:"TotalPackages,omitempty"` // contains filtered or unexported fields }
func (*BuiltInFeedStatistics) GetID ¶ added in v1.7.0
func (r *BuiltInFeedStatistics) GetID() string
GetID returns the ID value of the resource.
func (*BuiltInFeedStatistics) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*BuiltInFeedStatistics) GetModifiedBy ¶ added in v1.7.0
func (r *BuiltInFeedStatistics) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*BuiltInFeedStatistics) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*BuiltInFeedStatistics) SetID ¶ added in v1.7.55
func (r *BuiltInFeedStatistics) SetID(id string)
SetID sets the ID value of the resource.
func (*BuiltInFeedStatistics) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*BuiltInFeedStatistics) SetModifiedBy ¶ added in v1.7.55
func (r *BuiltInFeedStatistics) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*BuiltInFeedStatistics) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type CertificateConfigurationQuery ¶ added in v1.7.0
type CertificateResource ¶ added in v1.7.0
type CertificateResource struct { Archived string `json:"Archived,omitempty"` CertificateData *SensitiveValue `json:"CertificateData,omitempty" validate:"required"` CertificateDataFormat string `json:"CertificateDataFormat,omitempty"` EnvironmentIDs []string `json:"EnvironmentIds,omitempty"` HasPrivateKey bool `json:"HasPrivateKey,omitempty"` IsExpired bool `json:"IsExpired,omitempty"` IssuerCommonName string `json:"IssuerCommonName,omitempty"` IssuerDistinguishedName string `json:"IssuerDistinguishedName,omitempty"` IssuerOrganization string `json:"IssuerOrganization,omitempty"` Name string `json:"Name,omitempty" validate:"required"` NotAfter string `json:"NotAfter,omitempty"` NotBefore string `json:"NotBefore,omitempty"` Notes string `json:"Notes,omitempty"` Password *SensitiveValue `json:"Password,omitempty"` ReplacedBy string `json:"ReplacedBy,omitempty"` SelfSigned bool `json:"SelfSigned,omitempty"` SerialNumber string `json:"SerialNumber,omitempty"` SignatureAlgorithmName string `json:"SignatureAlgorithmName,omitempty"` SubjectAlternativeNames []string `json:"SubjectAlternativeNames,omitempty"` SubjectCommonName string `json:"SubjectCommonName,omitempty"` SubjectDistinguishedName string `json:"SubjectDistinguishedName,omitempty"` SubjectOrganization string `json:"SubjectOrganization,omitempty"` TenantedDeploymentMode TenantedDeploymentMode `json:"TenantedDeploymentParticipation"` TenantIDs []string `json:"TenantIds,omitempty"` TenantTags []string `json:"TenantTags,omitempty"` Thumbprint string `json:"Thumbprint,omitempty"` Version int `json:"Version,omitempty"` // contains filtered or unexported fields }
func NewCertificateResource ¶ added in v1.7.0
func NewCertificateResource(name string, certificateData *SensitiveValue, password *SensitiveValue) *CertificateResource
NewCertificateResource initializes a certificate resource with a name and credentials.
func (*CertificateResource) GetID ¶ added in v1.7.0
func (r *CertificateResource) GetID() string
GetID returns the ID value of the resource.
func (*CertificateResource) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*CertificateResource) GetModifiedBy ¶ added in v1.7.0
func (r *CertificateResource) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*CertificateResource) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*CertificateResource) SetID ¶ added in v1.7.55
func (r *CertificateResource) SetID(id string)
SetID sets the ID value of the resource.
func (*CertificateResource) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*CertificateResource) SetModifiedBy ¶ added in v1.7.55
func (r *CertificateResource) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*CertificateResource) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (CertificateResource) Validate ¶ added in v1.7.0
func (c CertificateResource) Validate() error
Validate checks the state of the certificate resource and returns an error if invalid.
type CertificateResources ¶ added in v1.7.0
type CertificateResources struct { Items []*CertificateResource `json:"Items"` PagedResults }
type CertificatesQuery ¶ added in v1.7.0
type CertificatesQuery struct { Archived string `uri:"archived,omitempty" url:"archived,omitempty"` FirstResult string `uri:"firstResult,omitempty" url:"firstResult,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` OrderBy string `uri:"orderBy,omitempty" url:"orderBy,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Search string `uri:"search,omitempty" url:"search,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` Tenant string `uri:"tenant,omitempty" url:"tenant,omitempty"` }
type ChangeDetails ¶ added in v1.7.46
type ChangeDetails struct { Differences interface{} `json:"Differences,omitempty"` DocumentContext interface{} `json:"DocumentContext,omitempty"` }
type Channel ¶ added in v1.4.0
type Channel struct { Description string `json:"Description,omitempty"` IsDefault bool `json:"IsDefault"` LifecycleID string `json:"LifecycleId,omitempty"` Name string `json:"Name" validate:"required,notblank,notall"` ProjectID string `json:"ProjectId" validate:"required,notblank"` Rules []ChannelRule `json:"Rules,omitempty"` SpaceID string `json:"SpaceId,omitempty"` TenantTags []string `json:"TenantTags,omitempty"` // contains filtered or unexported fields }
func NewChannel ¶ added in v1.4.0
func (*Channel) GetID ¶ added in v1.7.0
func (r *Channel) GetID() string
GetID returns the ID value of the resource.
func (*Channel) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Channel) GetModifiedBy ¶ added in v1.7.0
func (r *Channel) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Channel) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Channel) SetID ¶ added in v1.7.55
func (r *Channel) SetID(id string)
SetID sets the ID value of the resource.
func (*Channel) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Channel) SetModifiedBy ¶ added in v1.7.55
func (r *Channel) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Channel) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type ChannelRule ¶ added in v1.4.0
type ChannelRule struct { ActionPackages []DeploymentActionPackage `json:"ActionPackages,omitempty"` ID string `json:"Id,omitempty"` Tag string `json:"Tag,omitempty"` //Use the NuGet or Maven versioning syntax (depending on the feed type) //to specify the range of versions to include VersionRange string `json:"VersionRange,omitempty"` // contains filtered or unexported fields }
func (*ChannelRule) GetID ¶ added in v1.7.16
func (r *ChannelRule) GetID() string
GetID returns the ID value of the resource.
func (*ChannelRule) GetLinks ¶ added in v1.7.16
GetLinks returns the associated links with the value of this resource.
func (*ChannelRule) GetModifiedBy ¶ added in v1.7.16
func (r *ChannelRule) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*ChannelRule) GetModifiedOn ¶ added in v1.7.16
GetModifiedOn returns the time when the value of this resource was changed.
func (*ChannelRule) SetID ¶ added in v1.7.55
func (r *ChannelRule) SetID(id string)
SetID sets the ID value of the resource.
func (*ChannelRule) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*ChannelRule) SetModifiedBy ¶ added in v1.7.55
func (r *ChannelRule) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*ChannelRule) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type Channels ¶ added in v1.4.0
type Channels struct { Items []*Channel `json:"Items"` PagedResults }
Channels defines a collection of channels with built-in support for paged results.
type ChannelsQuery ¶ added in v1.7.0
type Client ¶
type Client struct { Accounts *accountService ActionTemplates *actionTemplateService APIKeys *apiKeyService Artifacts *artifactService Authentication *authenticationService AzureDevOpsConnectivityCheck *azureDevOpsConnectivityCheckService AzureEnvironments *azureEnvironmentService BuildInformation *buildInformationService CertificateConfiguration *certificateConfigurationService Certificates *certificateService Channels *channelService CloudTemplate *cloudTemplateService CommunityActionTemplates *communityActionTemplateService Configuration *configurationService DashboardConfigurations *dashboardConfigurationService Dashboards *dashboardService DeploymentProcesses *deploymentProcessService Deployments *deploymentService DynamicExtensions *dynamicExtensionService Environments *environmentService Events *eventService ExternalSecurityGroupProviders *externalSecurityGroupProviderService FeaturesConfiguration *featuresConfigurationService Feeds *feedService Interruptions *interruptionService Invitations *invitationService IssueTrackers *issueTrackerService JiraIntegration *jiraIntegrationService LetsEncryptConfiguration *letsEncryptConfigurationService LibraryVariableSets *libraryVariableSetService Licenses *licenseService Lifecycles *lifecycleService MachinePolicies *machinePolicyService MachineRoles *machineRoleService Machines *machineService MaintenanceConfiguration *maintenanceConfigurationService Migrations *migrationService OctopusPackageMetadata *octopusPackageMetadataService OctopusServerNodes *octopusServerNodeService Packages *packageService PackageMetadata *packageMetadataService PerformanceConfiguration *performanceConfigurationService Permissions *permissionService ProjectGroups *projectGroupService Projects *projectService ProjectTriggers *projectTriggerService Proxies *proxyService Releases *releaseService Reporting *reportingService RunbookProcesses *runbookProcessService RunbookRuns *runbookRunService Runbooks *runbookService RunbookSnapshots *runbookSnapshotService Root *rootService ScheduledProjectTriggers *scheduledProjectTriggerService Scheduler *schedulerService ScopedUserRoles *scopedUserRoleService ScriptModules *scriptModuleService ServerConfiguration *serverConfigurationService ServerStatus *serverStatusService SMTPConfiguration *smtpConfigurationService Spaces *spaceService Subscriptions *subscriptionService TagSets *tagSetService Tasks *taskService TeamMembership *teamMembershipService Teams *teamService Tenants *tenantService TenantVariables *tenantVariableService UpgradeConfiguration *upgradeConfigurationService UserOnboarding *userOnboardingService UserRoles *userRoleService Users *userService Variables *variableService WorkerPools *workerPoolService Workers *workerService WorkerToolsLatestImages *workerToolsLatestImageService // contains filtered or unexported fields }
Client is an OctopusDeploy for making Octopus API requests.
type CloudRegionEndpoint ¶ added in v1.7.0
type CloudRegionEndpoint struct { DefaultWorkerPoolID string `json:"DefaultWorkerPoolId"` // contains filtered or unexported fields }
CloudRegionEndpoint represents a cloud service endpoint.
func NewCloudRegionEndpoint ¶ added in v1.7.0
func NewCloudRegionEndpoint() *CloudRegionEndpoint
NewCloudRegionEndpoint creates and initializes a new cloud service endpoint.
func (CloudRegionEndpoint) GetCommunicationStyle ¶ added in v1.7.0
func (e CloudRegionEndpoint) GetCommunicationStyle() string
GetCommunicationStyle returns the communication style of this endpoint.
func (CloudRegionEndpoint) GetDefaultWorkerPoolID ¶ added in v1.7.0
func (e CloudRegionEndpoint) GetDefaultWorkerPoolID() string
GetDefaultWorkerPoolID returns the default worker pool ID of this endpoint.
func (*CloudRegionEndpoint) SetDefaultWorkerPoolID ¶ added in v1.7.0
func (e *CloudRegionEndpoint) SetDefaultWorkerPoolID(defaultWorkerPoolID string)
SetDefaultWorkerPoolID sets the default worker pool ID of this endpoint.
type CloudServiceEndpoint ¶ added in v1.7.0
type CloudServiceEndpoint struct { CloudServiceName string `json:"CloudServiceName,omitempty"` Slot string `json:"Slot,omitempty"` StorageAccountName string `json:"StorageAccountName,omitempty"` SwapIfPossible bool `json:"SwapIfPossible"` UseCurrentInstanceCount bool `json:"UseCurrentInstanceCount"` // contains filtered or unexported fields }
func NewCloudServiceEndpoint ¶ added in v1.7.0
func NewCloudServiceEndpoint() *CloudServiceEndpoint
func (CloudServiceEndpoint) GetCommunicationStyle ¶ added in v1.7.0
func (e CloudServiceEndpoint) GetCommunicationStyle() string
GetCommunicationStyle returns the communication style of this endpoint.
type CloudTemplateQuery ¶ added in v1.7.0
type CommitDetails ¶ added in v1.7.0
type CommitDetails struct { Comment string `json:"Comment,omitempty"` ID string `json:"Id,omitempty"` LinkURL string `json:"LinkUrl,omitempty"` }
func NewCommitDetails ¶ added in v1.7.0
func NewCommitDetails() *CommitDetails
type CommunityActionTemplate ¶ added in v1.7.0
type CommunityActionTemplate struct { ActionType string `json:"ActionType" validate:"required,notblank"` Author string `json:"Author,omitempty"` Category string `json:"Category,omitempty"` Description string `json:"Description,omitempty"` ExternalId *uuid.UUID `json:"ExternalId,omitempty"` HistoryURL string `json:"HistoryUrl,omitempty"` Name string `json:"Name" validate:"required"` Packages []PackageReference `json:"Packages,omitempty"` Parameters []ActionTemplateParameter `json:"Parameters"` Properties map[string]PropertyValue `json:"Properties,omitempty"` Type string `json:"Type,omitempty"` Version int32 `json:"Version,omitempty"` Website string `json:"Website,omitempty"` // contains filtered or unexported fields }
CommunityActionTemplate represents a community action template in Octopus Deploy.
func NewCommunityActionTemplate ¶ added in v1.7.0
func NewCommunityActionTemplate(name string, actionType string) *CommunityActionTemplate
NewCommunityActionTemplate initializes a community action template.
func (*CommunityActionTemplate) GetID ¶ added in v1.7.0
func (r *CommunityActionTemplate) GetID() string
GetID returns the ID value of the resource.
func (*CommunityActionTemplate) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*CommunityActionTemplate) GetModifiedBy ¶ added in v1.7.0
func (r *CommunityActionTemplate) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*CommunityActionTemplate) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*CommunityActionTemplate) SetID ¶ added in v1.7.55
func (r *CommunityActionTemplate) SetID(id string)
SetID sets the ID value of the resource.
func (*CommunityActionTemplate) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*CommunityActionTemplate) SetModifiedBy ¶ added in v1.7.55
func (r *CommunityActionTemplate) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*CommunityActionTemplate) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*CommunityActionTemplate) Validate ¶ added in v1.7.0
func (c *CommunityActionTemplate) Validate() error
Validate checks the state of this CommunityActionTemplate and returns an error if invalid.
type CommunityActionTemplates ¶ added in v1.7.0
type CommunityActionTemplates struct { Items []*CommunityActionTemplate `json:"Items"` PagedResults }
CommunityActionTemplates defines a collection of community action templates with built-in support for paged results.
type CommunityActionTemplatesQuery ¶ added in v1.7.0
type ConfigurationSection ¶ added in v1.7.0
type ConfigurationSection struct { Description string `json:"Description,omitempty"` Name string `json:"Name,omitempty"` // contains filtered or unexported fields }
func NewConfigurationSection ¶ added in v1.7.0
func NewConfigurationSection() *ConfigurationSection
func (*ConfigurationSection) GetID ¶ added in v1.7.0
func (r *ConfigurationSection) GetID() string
GetID returns the ID value of the resource.
func (*ConfigurationSection) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*ConfigurationSection) GetModifiedBy ¶ added in v1.7.0
func (r *ConfigurationSection) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*ConfigurationSection) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*ConfigurationSection) SetID ¶ added in v1.7.55
func (r *ConfigurationSection) SetID(id string)
SetID sets the ID value of the resource.
func (*ConfigurationSection) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*ConfigurationSection) SetModifiedBy ¶ added in v1.7.55
func (r *ConfigurationSection) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*ConfigurationSection) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type ConfigurationSections ¶ added in v1.7.0
type ConfigurationSections struct { Items []*ConfigurationSection `json:"Items"` PagedResults }
type ConnectivityCheck ¶ added in v1.7.0
type ConnectivityCheck struct { DependsOnPropertyNames []string `json:"DependsOnPropertyNames"` Title string `json:"Title,omitempty"` URL string `json:"Url,omitempty"` }
func NewConnectivityCheck ¶ added in v1.7.0
func NewConnectivityCheck() *ConnectivityCheck
type ConnectivityPolicy ¶ added in v1.7.0
type ConnectivityPolicy struct { AllowDeploymentsToNoTargets bool `json:"AllowDeploymentsToNoTargets,omitempty"` ExcludeUnhealthyTargets bool `json:"ExcludeUnhealthyTargets,omitempty"` SkipMachineBehavior SkipMachineBehavior `json:"SkipMachineBehavior,omitempty"` TargetRoles []string `json:"TargetRoles,omitempty"` }
func NewConnectivityPolicy ¶ added in v1.7.55
func NewConnectivityPolicy() *ConnectivityPolicy
type ContinuousDailyScheduledTriggerFilter ¶ added in v1.7.45
type ContinuousDailyScheduledTriggerFilter struct { Days []Weekday `json:"DaysOfWeek,omitempty"` HourInterval *int16 `json:"HourInterval,omitempty"` Interval *DailyScheduledInterval `json:"Interval,omitempty"` MinuteInterval *int16 `json:"MinuteInterval,omitempty"` RunAfter *time.Time `json:"RunAfter,omitempty"` RunUntil *time.Time `json:"RunUntil,omitempty"` // contains filtered or unexported fields }
func NewContinuousDailyScheduledTriggerFilter ¶ added in v1.7.45
func NewContinuousDailyScheduledTriggerFilter(days []Weekday, timeZone *time.Location) *ContinuousDailyScheduledTriggerFilter
func (*ContinuousDailyScheduledTriggerFilter) GetFilterType ¶ added in v1.7.45
func (t *ContinuousDailyScheduledTriggerFilter) GetFilterType() FilterType
func (*ContinuousDailyScheduledTriggerFilter) SetFilterType ¶ added in v1.7.45
func (t *ContinuousDailyScheduledTriggerFilter) SetFilterType(filterType FilterType)
type ConvertToVcs ¶ added in v1.7.55
type ConvertToVcs struct { CommitMessage string VersionControlSettings *VersionControlSettings }
func NewConvertToVcs ¶ added in v1.7.55
func NewConvertToVcs(commitMessage string, versionControlSettings *VersionControlSettings) *ConvertToVcs
type ConvertToVcsResponse ¶ added in v1.7.55
type ConvertToVcsResponse struct {
Messages []string
}
type CronScheduledTriggerFilter ¶ added in v1.7.45
type CronScheduledTriggerFilter struct { CronExpression string `json:"CronExpression,omitempty"` // contains filtered or unexported fields }
func NewCronScheduledTriggerFilter ¶ added in v1.7.45
func NewCronScheduledTriggerFilter(cronExpression string, timeZone *time.Location) *CronScheduledTriggerFilter
func (*CronScheduledTriggerFilter) GetFilterType ¶ added in v1.7.45
func (t *CronScheduledTriggerFilter) GetFilterType() FilterType
func (*CronScheduledTriggerFilter) SetFilterType ¶ added in v1.7.45
func (t *CronScheduledTriggerFilter) SetFilterType(filterType FilterType)
type DailyScheduledInterval ¶ added in v1.7.45
type DailyScheduledInterval int
const ( OnceDaily DailyScheduledInterval = iota OnceHourly OnceEveryMinute )
func DailyScheduledIntervalString ¶ added in v1.7.45
func DailyScheduledIntervalString(s string) (DailyScheduledInterval, error)
DailyScheduledIntervalString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func DailyScheduledIntervalValues ¶ added in v1.7.45
func DailyScheduledIntervalValues() []DailyScheduledInterval
DailyScheduledIntervalValues returns all values of the enum
func (DailyScheduledInterval) IsADailyScheduledInterval ¶ added in v1.7.45
func (i DailyScheduledInterval) IsADailyScheduledInterval() bool
IsADailyScheduledInterval returns "true" if the value is listed in the enum definition. "false" otherwise
func (DailyScheduledInterval) MarshalJSON ¶ added in v1.7.45
func (i DailyScheduledInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for DailyScheduledInterval
func (DailyScheduledInterval) String ¶ added in v1.7.45
func (i DailyScheduledInterval) String() string
func (*DailyScheduledInterval) UnmarshalJSON ¶ added in v1.7.45
func (i *DailyScheduledInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DailyScheduledInterval
type DailyScheduledTriggerFilter ¶ added in v1.7.45
type DailyScheduledTriggerFilter struct { HourInterval int16 `json:"HourInterval,omitempty"` Interval DailyScheduledInterval `json:"Interval"` MinuteInterval int16 `json:"MinuteInterval,omitempty"` RunType ScheduledTriggerFilterRunType `json:"RunType"` // contains filtered or unexported fields }
func NewDailyScheduledTriggerFilter ¶ added in v1.7.45
func NewDailyScheduledTriggerFilter(start time.Time) *DailyScheduledTriggerFilter
func (*DailyScheduledTriggerFilter) GetFilterType ¶ added in v1.7.45
func (t *DailyScheduledTriggerFilter) GetFilterType() FilterType
func (*DailyScheduledTriggerFilter) SetFilterType ¶ added in v1.7.45
func (t *DailyScheduledTriggerFilter) SetFilterType(filterType FilterType)
type DashboardDynamicQuery ¶ added in v1.7.0
type DashboardItem ¶ added in v1.7.0
type DashboardItem struct { ChannelID string `json:"ChannelId,omitempty"` CompletedTime *time.Time `json:"CompletedTime,omitempty"` Created *time.Time `json:"Created,omitempty"` DeploymentID string `json:"DeploymentId,omitempty"` Duration string `json:"Duration,omitempty"` EnvironmentID string `json:"EnvironmentId,omitempty"` ErrorMessage string `json:"ErrorMessage,omitempty"` HasPendingInterruptions bool `json:"HasPendingInterruptions,omitempty"` HasWarningsOrErrors bool `json:"HasWarningsOrErrors,omitempty"` IsCompleted bool `json:"IsCompleted,omitempty"` IsCurrent bool `json:"IsCurrent,omitempty"` IsPrevious bool `json:"IsPrevious,omitempty"` ProjectID string `json:"ProjectId,omitempty"` QueueTime *time.Time `json:"QueueTime,omitempty"` ReleaseID string `json:"ReleaseId,omitempty"` ReleaseVersion string `json:"ReleaseVersion,omitempty"` StartTime *time.Time `json:"StartTime,omitempty"` // Enum: [Canceled Cancelling Executing Failed Queued Success TimedOut] State string `json:"State,omitempty"` TaskID string `json:"TaskId,omitempty"` TenantID string `json:"TenantId,omitempty"` }
type DashboardQuery ¶ added in v1.7.0
type DashboardQuery struct { IncludeLatest bool `url:"highestLatestVersionPerProjectAndEnvironment"` ProjectID string `uri:"projectId,omitempty" url:"projectId,omitempty"` SelectedTags []string `uri:"selectedTags,omitempty" url:"selectedTags,omitempty"` SelectedTenants []string `uri:"selectedTenants,omitempty" url:"selectedTenants,omitempty"` ShowAll bool `uri:"showAll,omitempty" url:"showAll,omitempty"` ReleaseID string `uri:"releaseId,omitempty" url:"releaseId,omitempty"` }
type DatabasePersistenceSettings ¶ added in v1.7.55
type DatabasePersistenceSettings struct {
// contains filtered or unexported fields
}
DatabasePersistenceSettings represents database persistence settings associated with a project.
func NewDatabasePersistenceSettings ¶ added in v1.7.55
func NewDatabasePersistenceSettings() *DatabasePersistenceSettings
NewDatabasePersistenceSettings creates an instance of database persistence settings.
func (*DatabasePersistenceSettings) GetType ¶ added in v1.7.55
func (d *DatabasePersistenceSettings) GetType() string
GetType returns the type for this persistence settings.
type DateOfMonthScheduledTriggerFilter ¶ added in v1.7.45
type DateOfMonthScheduledTriggerFilter struct { DateOfMonth string `json:"DateOfMonth,omitempty"` // contains filtered or unexported fields }
func NewDateOfMonthScheduledTriggerFilter ¶ added in v1.7.45
func NewDateOfMonthScheduledTriggerFilter(dateOfMonth string, start time.Time) *DateOfMonthScheduledTriggerFilter
type DayOfWeekScheduledTriggerFilter ¶ added in v1.7.45
type DayOfWeekScheduledTriggerFilter struct { Day Weekday `json:"DayOfWeek,omitempty"` Ordinal string `json:"DayNumberOfMonth,omitempty"` // contains filtered or unexported fields }
func NewDayOfWeekScheduledTriggerFilter ¶ added in v1.7.45
func NewDayOfWeekScheduledTriggerFilter(ordinal string, day Weekday, start time.Time) *DayOfWeekScheduledTriggerFilter
type DeployLatestReleaseAction ¶ added in v1.7.45
type DeployLatestReleaseAction struct { DestinationEnvironment string `json:"DestinationEnvironmentId"` ShouldRedeploy bool `json:"ShouldRedeployWhenReleaseIsCurrent"` SourceEnvironments []string `json:"SourceEnvironmentIds"` Variables string `json:"Variables"` // contains filtered or unexported fields }
func NewDeployLatestReleaseAction ¶ added in v1.7.45
func NewDeployLatestReleaseAction(destinationEnvironment string, shouldRedeploy bool, sourceEnvironments []string, variables string) *DeployLatestReleaseAction
func (*DeployLatestReleaseAction) GetActionType ¶ added in v1.7.45
func (a *DeployLatestReleaseAction) GetActionType() ActionType
func (*DeployLatestReleaseAction) SetActionType ¶ added in v1.7.45
func (a *DeployLatestReleaseAction) SetActionType(actionType ActionType)
type DeployNewReleaseAction ¶ added in v1.7.45
type DeployNewReleaseAction struct { Environment string `json:"EnvironmentId,omitempty"` Variables string `json:"Variable,omitempty"` VersionControlReference *VersionControlReference `json:"VersionControlReference,omitempty"` // contains filtered or unexported fields }
func NewDeployNewReleaseAction ¶ added in v1.7.45
func NewDeployNewReleaseAction(environment string, variables string, versionControlReference *VersionControlReference) *DeployNewReleaseAction
func (*DeployNewReleaseAction) GetActionType ¶ added in v1.7.45
func (a *DeployNewReleaseAction) GetActionType() ActionType
func (*DeployNewReleaseAction) SetActionType ¶ added in v1.7.45
func (a *DeployNewReleaseAction) SetActionType(actionType ActionType)
type Deployment ¶ added in v1.7.0
type Deployment struct { Changes []*ReleaseChanges `json:"Changes"` ChangesMarkdown string `json:"ChangesMarkdown,omitempty"` ChannelID string `json:"ChannelId,omitempty"` Comments string `json:"Comments,omitempty"` Created *time.Time `json:"Created,omitempty"` DeployedBy string `json:"DeployedBy,omitempty"` DeployedByID string `json:"DeployedById,omitempty"` DeployedToMachineIDs []string `json:"DeployedToMachineIds"` DeploymentProcessID string `json:"DeploymentProcessId,omitempty"` EnvironmentID string `json:"EnvironmentId" validate:"required"` ExcludedMachineIDs []string `json:"ExcludedMachineIds"` FailureEncountered bool `json:"FailureEncountered,omitempty"` ForcePackageDownload bool `json:"ForcePackageDownload,omitempty"` ForcePackageRedeployment bool `json:"ForcePackageRedeployment,omitempty"` FormValues map[string]string `json:"FormValues,omitempty"` ManifestVariableSetID string `json:"ManifestVariableSetId,omitempty"` Name string `json:"Name,omitempty"` ProjectID string `json:"ProjectId,omitempty"` QueueTime *time.Time `json:"QueueTime,omitempty"` QueueTimeExpiry *time.Time `json:"QueueTimeExpiry,omitempty"` ReleaseID string `json:"ReleaseId" validate:"required"` SkipActions []string `json:"SkipActions"` SpaceID string `json:"SpaceId,omitempty"` SpecificMachineIDs []string `json:"SpecificMachineIds"` TaskID string `json:"TaskId,omitempty"` TenantID string `json:"TenantId,omitempty"` TentacleRetentionPeriod *RetentionPeriod `json:"TentacleRetentionPeriod,omitempty"` UseGuidedFailure bool `json:"UseGuidedFailure,omitempty"` // contains filtered or unexported fields }
func NewDeployment ¶ added in v1.7.0
func NewDeployment(environmentID string, releaseID string) *Deployment
NewDeployment initializes a deployment with a name, environment ID, and release ID.
func (*Deployment) GetID ¶ added in v1.7.0
func (r *Deployment) GetID() string
GetID returns the ID value of the resource.
func (*Deployment) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Deployment) GetModifiedBy ¶ added in v1.7.0
func (r *Deployment) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Deployment) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Deployment) SetID ¶ added in v1.7.55
func (r *Deployment) SetID(id string)
SetID sets the ID value of the resource.
func (*Deployment) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Deployment) SetModifiedBy ¶ added in v1.7.55
func (r *Deployment) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Deployment) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*Deployment) Validate ¶ added in v1.7.0
func (d *Deployment) Validate() error
Validate checks the state of the deployment and returns an error if invalid.
type DeploymentAction ¶
type DeploymentAction struct { ActionType string `json:"ActionType" validate:"required,notblank"` CanBeUsedForProjectVersioning bool `json:"CanBeUsedForProjectVersioning,omitempty"` Channels []string `json:"Channels,omitempty"` Condition string `json:"Condition,omitempty"` Container *DeploymentActionContainer `json:"Container,omitempty"` Environments []string `json:"Environments,omitempty"` ExcludedEnvironments []string `json:"ExcludedEnvironments,omitempty"` IsDisabled bool `json:"IsDisabled,omitempty"` IsRequired bool `json:"IsRequired,omitempty"` Name string `json:"Name" validate:"required,notblank"` Notes string `json:"Notes,omitempty"` Packages []*PackageReference `json:"Packages,omitempty"` Properties map[string]PropertyValue `json:"Properties,omitempty"` TenantTags []string `json:"TenantTags,omitempty"` WorkerPoolID string `json:"WorkerPoolId,omitempty"` WorkerPoolVariable string `json:"WorkerPoolVariable,omitempty"` // contains filtered or unexported fields }
func NewDeploymentAction ¶ added in v1.7.0
func NewDeploymentAction(name string, actionType string) *DeploymentAction
NewDeploymentAction initializes a DeploymentAction with a name.
func (*DeploymentAction) GetID ¶ added in v1.7.15
func (r *DeploymentAction) GetID() string
GetID returns the ID value of the resource.
func (*DeploymentAction) GetLinks ¶ added in v1.7.15
GetLinks returns the associated links with the value of this resource.
func (*DeploymentAction) GetModifiedBy ¶ added in v1.7.15
func (r *DeploymentAction) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*DeploymentAction) GetModifiedOn ¶ added in v1.7.15
GetModifiedOn returns the time when the value of this resource was changed.
func (*DeploymentAction) SetID ¶ added in v1.7.55
func (r *DeploymentAction) SetID(id string)
SetID sets the ID value of the resource.
func (*DeploymentAction) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*DeploymentAction) SetModifiedBy ¶ added in v1.7.55
func (r *DeploymentAction) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*DeploymentAction) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (DeploymentAction) Validate ¶ added in v1.7.15
func (d DeploymentAction) Validate() error
Validate checks the state of the channel and returns an error if invalid.
type DeploymentActionContainer ¶ added in v1.7.0
type DeploymentActionContainer struct { FeedID string `json:"FeedId,omitempty"` Image string `json:"Image,omitempty"` }
func NewDeploymentActionContainer ¶ added in v1.7.38
func NewDeploymentActionContainer(feedID *string, image *string) *DeploymentActionContainer
NewDeploymentActionContainer creates and initializes a new Kubernetes endpoint.
type DeploymentActionPackage ¶ added in v1.7.0
type DeploymentProcess ¶
type DeploymentProcess struct { Branch string `json:"-"` LastSnapshotID string `json:"LastSnapshotId,omitempty"` ProjectID string `json:"ProjectId,omitempty"` SpaceID string `json:"SpaceId,omitempty"` Steps []DeploymentStep `json:"Steps,omitempty"` Version int32 `json:"Version"` // contains filtered or unexported fields }
func NewDeploymentProcess ¶ added in v1.7.0
func NewDeploymentProcess(projectID string) *DeploymentProcess
NewDeploymentProcess initializes a deployment process.
func (*DeploymentProcess) GetID ¶ added in v1.7.0
func (r *DeploymentProcess) GetID() string
GetID returns the ID value of the resource.
func (*DeploymentProcess) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*DeploymentProcess) GetModifiedBy ¶ added in v1.7.0
func (r *DeploymentProcess) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*DeploymentProcess) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*DeploymentProcess) SetID ¶ added in v1.7.55
func (r *DeploymentProcess) SetID(id string)
SetID sets the ID value of the resource.
func (*DeploymentProcess) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*DeploymentProcess) SetModifiedBy ¶ added in v1.7.55
func (r *DeploymentProcess) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*DeploymentProcess) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type DeploymentProcesses ¶
type DeploymentProcesses struct { Items []*DeploymentProcess `json:"Items"` PagedResults }
type DeploymentProcessesQuery ¶ added in v1.7.0
type DeploymentQuery ¶ added in v1.7.0
type DeploymentStep ¶
type DeploymentStep struct { Actions []DeploymentAction `json:"Actions,omitempty"` Condition DeploymentStepConditionType `json:"Condition,omitempty"` // variable option adds a Property "Octopus.Action.ConditionVariableExpression" Name string `json:"Name"` PackageRequirement DeploymentStepPackageRequirement `json:"PackageRequirement,omitempty"` Properties map[string]PropertyValue `json:"Properties,omitempty"` StartTrigger DeploymentStepStartTrigger `json:"StartTrigger,omitempty" validate:"required,oneof=StartAfterPrevious StartWithPrevious"` // contains filtered or unexported fields }
func NewDeploymentStep ¶ added in v1.7.0
func NewDeploymentStep(name string) *DeploymentStep
NewDeploymentStep initializes a DeploymentStep with a name.
func (*DeploymentStep) GetID ¶ added in v1.7.0
func (r *DeploymentStep) GetID() string
GetID returns the ID value of the resource.
func (*DeploymentStep) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*DeploymentStep) GetModifiedBy ¶ added in v1.7.0
func (r *DeploymentStep) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*DeploymentStep) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*DeploymentStep) SetID ¶ added in v1.7.55
func (r *DeploymentStep) SetID(id string)
SetID sets the ID value of the resource.
func (*DeploymentStep) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*DeploymentStep) SetModifiedBy ¶ added in v1.7.55
func (r *DeploymentStep) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*DeploymentStep) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (DeploymentStep) Validate ¶ added in v1.7.0
func (d DeploymentStep) Validate() error
Validate checks the state of the deployment step and returns an error if invalid.
type DeploymentStepConditionType ¶ added in v1.7.0
type DeploymentStepConditionType string
const ( DeploymentStepConditionTypeSuccess DeploymentStepConditionType = "Success" DeploymentStepConditionTypeFailure DeploymentStepConditionType = "Failure" DeploymentStepConditionTypeAlways DeploymentStepConditionType = "Always" DeploymentStepConditionTypeVariable DeploymentStepConditionType = "Variable" )
type DeploymentStepPackageRequirement ¶
type DeploymentStepPackageRequirement string
const ( DeploymentStepPackageRequirementLetOctopusDecide DeploymentStepPackageRequirement = "LetOctopusDecide" DeploymentStepPackageRequirementBeforePackageAcquisition DeploymentStepPackageRequirement = "BeforePackageAcquisition" DeploymentStepPackageRequirementAfterPackageAcquisition DeploymentStepPackageRequirement = "AfterPackageAcquisition" )
type DeploymentStepStartTrigger ¶
type DeploymentStepStartTrigger string
const ( DeploymentStepStartTriggerStartAfterPrevious DeploymentStepStartTrigger = "StartAfterPrevious" DeploymentStepStartTriggerStartWithPrevious DeploymentStepStartTrigger = "StartWithPrevious" )
type DeploymentTarget ¶ added in v1.7.0
type DeploymentTarget struct { EnvironmentIDs []string `json:"EnvironmentIds,omitempty"` Roles []string `json:"Roles,omitempty"` SpaceID string `json:"SpaceId,omitempty"` TenantedDeploymentMode TenantedDeploymentMode `json:"TenantedDeploymentParticipation,omitempty"` TenantIDs []string `json:"TenantIds,omitempty"` TenantTags []string `json:"TenantTags,omitempty"` // contains filtered or unexported fields }
func NewDeploymentTarget ¶ added in v1.7.0
func NewDeploymentTarget(name string, endpoint IEndpoint, environmentIDs []string, roles []string) *DeploymentTarget
func (*DeploymentTarget) MarshalJSON ¶ added in v1.7.0
func (d *DeploymentTarget) MarshalJSON() ([]byte, error)
MarshalJSON returns a deployment target as its JSON encoding.
func (*DeploymentTarget) UnmarshalJSON ¶ added in v1.7.0
func (resource *DeploymentTarget) UnmarshalJSON(b []byte) error
UnmarshalJSON sets this deployment target to its representation in JSON.
func (*DeploymentTarget) Validate ¶ added in v1.7.0
func (d *DeploymentTarget) Validate() error
Validate checks the state of the deployment target and returns an error if invalid.
type DeploymentTargetFilter ¶ added in v1.7.45
type DeploymentTargetFilter struct { Environments []string `json:"EnvironmentIds,omitempty"` EventCategories []string `json:"EventCategories,omitempty"` EventGroups []string `json:"EventGroups,omitempty"` Roles []string `json:"Roles,omitempty"` // contains filtered or unexported fields }
func NewDeploymentTargetFilter ¶ added in v1.7.45
func NewDeploymentTargetFilter(environments []string, eventCategories []string, eventGroups []string, roles []string) *DeploymentTargetFilter
func (*DeploymentTargetFilter) GetFilterType ¶ added in v1.7.45
func (f *DeploymentTargetFilter) GetFilterType() FilterType
func (*DeploymentTargetFilter) SetFilterType ¶ added in v1.7.45
func (f *DeploymentTargetFilter) SetFilterType(filterType FilterType)
func (*DeploymentTargetFilter) Validate ¶ added in v1.7.45
func (f *DeploymentTargetFilter) Validate() error
type DeploymentTargets ¶ added in v1.7.0
type DeploymentTargets struct { Items []*DeploymentTarget `json:"Items"` PagedResults }
DeploymentTargets defines a collection of deployment targets with built-in support for paged results from the API.
type Deployments ¶ added in v1.7.0
type Deployments struct { Items []*Deployment `json:"Items"` PagedResults }
Deployments defines a collection of deployment instances with built-in support for paged results.
type DeploymentsQuery ¶ added in v1.7.0
type DeploymentsQuery struct { Channels string `uri:"channels,omitempty" url:"channels,omitempty"` Environments []string `uri:"environments,omitempty" url:"environments,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Projects []string `uri:"projects,omitempty" url:"projects,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` TaskState string `uri:"taskState,omitempty" url:"taskState,omitempty"` Tenants []string `uri:"tenants,omitempty" url:"tenants,omitempty"` }
type DiscoverMachineQuery ¶ added in v1.7.0
type DiscoverWorkerQuery ¶ added in v1.7.0
type DisplayInfo ¶ added in v1.7.0
type DisplayInfo struct { ConnectivityCheck *ConnectivityCheck `json:"ConnectivityCheck,omitempty"` Description string `json:"Description,omitempty"` Label string `json:"Label,omitempty"` ListAPI *ListAPIMetadata `json:"ListApi,omitempty"` Options *OptionsMetadata `json:"Options,omitempty"` PropertyApplicability *PropertyApplicability `json:"PropertyApplicability,omitempty"` ReadOnly bool `json:"ReadOnly,omitempty"` Required bool `json:"Required,omitempty"` ShowCopyToClipboard bool `json:"ShowCopyToClipboard,omitempty"` }
func NewDisplayInfo ¶ added in v1.7.0
func NewDisplayInfo() *DisplayInfo
type DisplaySettings ¶ added in v1.8.6
type DisplaySettings struct { ControlType string `json:"Octopus.ControlType"` SelectOptions map[string]string `json:"Octopus.SelectOptions,omitempty"` }
func NewDisplaySettings ¶ added in v1.8.6
func NewDisplaySettings(controlType string, selectOptions map[string]string) *DisplaySettings
func (*DisplaySettings) MarshalJSON ¶ added in v1.8.6
func (d *DisplaySettings) MarshalJSON() ([]byte, error)
MarshalJSON returns display settings as its JSON encoding.
func (*DisplaySettings) UnmarshalJSON ¶ added in v1.8.6
func (d *DisplaySettings) UnmarshalJSON(b []byte) error
UnmarshalJSON sets display settings from its representation in JSON.
type DockerContainerRegistry ¶ added in v1.7.0
type DockerContainerRegistry struct { APIVersion string `json:"ApiVersion,omitempty"` FeedURI string `json:"FeedUri,omitempty"` RegistryPath string `json:"RegistryPath,omitempty"` // contains filtered or unexported fields }
DockerContainerRegistry represents a Docker container registry.
func NewDockerContainerRegistry ¶ added in v1.7.0
func NewDockerContainerRegistry(name string) (*DockerContainerRegistry, error)
NewDockerContainerRegistry creates and initializes a Docker container registry.
func (*DockerContainerRegistry) GetFeedType ¶ added in v1.8.0
func (f *DockerContainerRegistry) GetFeedType() FeedType
GetFeedType returns the type of this feed.
func (*DockerContainerRegistry) GetName ¶ added in v1.8.0
func (f *DockerContainerRegistry) GetName() string
GetName returns the name of the feed.
func (*DockerContainerRegistry) GetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *DockerContainerRegistry) GetPackageAcquisitionLocationOptions() []string
GetPackageAcquisitionLocationOptions returns the package acquisition location options of the feed.
func (*DockerContainerRegistry) GetPassword ¶ added in v1.8.0
func (f *DockerContainerRegistry) GetPassword() *SensitiveValue
GetPassword returns the password of the feed.
func (*DockerContainerRegistry) GetSpaceID ¶ added in v1.8.0
func (f *DockerContainerRegistry) GetSpaceID() string
GetSpaceID returns the space ID of the feed.
func (*DockerContainerRegistry) GetUsername ¶ added in v1.8.0
func (f *DockerContainerRegistry) GetUsername() string
GetUsername returns the username of the feed.
func (*DockerContainerRegistry) SetFeedType ¶ added in v1.8.0
func (f *DockerContainerRegistry) SetFeedType(feedType FeedType)
SetFeedType returns the type of this feed.
func (*DockerContainerRegistry) SetName ¶ added in v1.8.0
func (f *DockerContainerRegistry) SetName(name string)
SetName sets the name of the feed.
func (*DockerContainerRegistry) SetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *DockerContainerRegistry) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
SetPackageAcquisitionLocationOptions sets the package acquisition location options of the feed.
func (*DockerContainerRegistry) SetPassword ¶ added in v1.8.0
func (f *DockerContainerRegistry) SetPassword(password *SensitiveValue)
SetPassword sets the password of the feed.
func (*DockerContainerRegistry) SetSpaceID ¶ added in v1.8.0
func (f *DockerContainerRegistry) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of the feed.
func (*DockerContainerRegistry) SetUsername ¶ added in v1.8.0
func (f *DockerContainerRegistry) SetUsername(username string)
SetUsername sets the username of the feed.
func (*DockerContainerRegistry) Validate ¶ added in v1.7.0
func (d *DockerContainerRegistry) Validate() error
Validate checks the state of this Docker container registry and returns an error if invalid.
type DocumentType ¶ added in v1.7.46
type DynamicWorkerPool ¶ added in v1.7.0
type DynamicWorkerPool struct { WorkerType WorkerType `json:"WorkerType"` // contains filtered or unexported fields }
func NewDynamicWorkerPool ¶ added in v1.7.0
func NewDynamicWorkerPool(name string, workerType WorkerType) *DynamicWorkerPool
NewDynamicWorkerPool creates and initializes a dynamic worker pool.
func (*DynamicWorkerPool) GetCanAddWorkers ¶ added in v1.8.0
func (w *DynamicWorkerPool) GetCanAddWorkers() bool
func (*DynamicWorkerPool) GetDescription ¶ added in v1.8.0
func (w *DynamicWorkerPool) GetDescription() string
func (*DynamicWorkerPool) GetIsDefault ¶ added in v1.7.0
func (w *DynamicWorkerPool) GetIsDefault() bool
func (*DynamicWorkerPool) GetName ¶ added in v1.8.0
func (w *DynamicWorkerPool) GetName() string
GetName returns the name of the worker pool resource.
func (*DynamicWorkerPool) GetSortOrder ¶ added in v1.8.0
func (w *DynamicWorkerPool) GetSortOrder() int
func (*DynamicWorkerPool) GetSpaceID ¶ added in v1.8.0
func (w *DynamicWorkerPool) GetSpaceID() string
func (*DynamicWorkerPool) GetWorkerPoolType ¶ added in v1.7.0
func (w *DynamicWorkerPool) GetWorkerPoolType() WorkerPoolType
GetWorkerPoolType returns the worker type for this worker pool.
func (*DynamicWorkerPool) GetWorkerType ¶ added in v1.7.0
func (d *DynamicWorkerPool) GetWorkerType() WorkerType
GetWorkerType returns the worker type for this worker pool.
func (*DynamicWorkerPool) SetCanAddWorkers ¶ added in v1.8.0
func (w *DynamicWorkerPool) SetCanAddWorkers(canAddWorkers bool)
func (*DynamicWorkerPool) SetDescription ¶ added in v1.8.0
func (w *DynamicWorkerPool) SetDescription(description string)
func (*DynamicWorkerPool) SetIsDefault ¶ added in v1.8.0
func (w *DynamicWorkerPool) SetIsDefault(isDefault bool)
func (*DynamicWorkerPool) SetName ¶ added in v1.8.0
func (w *DynamicWorkerPool) SetName(name string)
SetName sets the name of the worker pool.
func (*DynamicWorkerPool) SetSortOrder ¶ added in v1.8.0
func (w *DynamicWorkerPool) SetSortOrder(sortOrder int)
func (*DynamicWorkerPool) SetSpaceID ¶ added in v1.8.0
func (w *DynamicWorkerPool) SetSpaceID(spaceID string)
func (*DynamicWorkerPool) SetWorkerPoolType ¶ added in v1.8.0
func (w *DynamicWorkerPool) SetWorkerPoolType(workerPoolType WorkerPoolType)
func (*DynamicWorkerPool) Validate ¶ added in v1.7.0
func (d *DynamicWorkerPool) Validate() error
Validate checks the state of the dynamic worker pool and returns an error if invalid.
type DynamicWorkerPools ¶ added in v1.7.0
type DynamicWorkerPools struct { Items []*DynamicWorkerPool `json:"Items"` PagedResults }
type EndpointResource ¶ added in v1.7.0
type EndpointResource struct { AadClientCredentialSecret string `json:"AadClientCredentialSecret,omitempty"` AadCredentialType string `json:"AadCredentialType,omitempty" validate:"omitempty,oneof=ClientCredential UserCredential"` AadUserCredentialUsername string `json:"AadUserCredentialUsername,omitempty"` AadUserCredentialPassword *SensitiveValue `json:"AadUserCredentialPassword,omitempty"` AccountID string `json:"AccountId"` ApplicationsDirectory string `json:"ApplicationsDirectory,omitempty"` Authentication IKubernetesAuthentication `json:"Authentication,omitempty"` CertificateSignatureAlgorithm string `json:"CertificateSignatureAlgorithm,omitempty"` CertificateStoreLocation string `json:"CertificateStoreLocation,omitempty"` CertificateStoreName string `json:"CertificateStoreName,omitempty"` ClientCertificateVariable string `json:"ClientCertVariable,omitempty"` CloudServiceName string `json:"CloudServiceName"` ClusterCertificate string `json:"ClusterCertificate,omitempty"` ClusterCertificatePath string `json:"ClusterCertificatePath,omitempty"` ClusterURL *url.URL `json:"ClusterUrl" validate:"required,url"` CommunicationStyle string `` /* 162-byte string literal not displayed */ ConnectionEndpoint string `json:"ConnectionEndpoint,omitempty"` Container *DeploymentActionContainer `json:"Container,omitempty"` DefaultWorkerPoolID string `json:"DefaultWorkerPoolId"` Destination *OfflinePackageDropDestination `json:"Destination"` DotNetCorePlatform string `json:"DotNetCorePlatform,omitempty"` Fingerprint string `json:"Fingerprint,omitempty"` Host string `json:"Host,omitempty"` Namespace string `json:"Namespace,omitempty"` Port int `json:"Port,omitempty"` ProxyID string `json:"ProxyId,omitempty"` ResourceGroupName string `json:"ResourceGroupName,omitempty"` RunningInContainer bool `json:"RunningInContainer"` SecurityMode string `json:"SecurityMode,omitempty" validate:"omitempty,oneof=Unsecure SecureClientCertificate SecureAzureAD"` SensitiveVariablesEncryptionPassword *SensitiveValue `json:"SensitiveVariablesEncryptionPassword"` ServerCertificateThumbprint string `json:"ServerCertThumbprint,omitempty"` SkipTLSVerification bool `json:"SkipTlsVerification"` Slot string `json:"Slot"` StorageAccountName string `json:"StorageAccountName"` SwapIfPossible bool `json:"SwapIfPossible"` TentacleVersionDetails *TentacleVersionDetails `json:"TentacleVersionDetails,omitempty"` Thumbprint string `json:"Thumbprint" validate:"required"` WorkingDirectory string `json:"OctopusWorkingDirectory,omitempty"` UseCurrentInstanceCount bool `json:"UseCurrentInstanceCount"` URI *url.URL `json:"Uri" validate:"required,uri"` WebAppName string `json:"WebAppName,omitempty"` WebAppSlotName string `json:"WebAppSlotName"` // contains filtered or unexported fields }
func NewEndpointResource ¶ added in v1.7.0
func NewEndpointResource(communicationStyle string) *EndpointResource
NewEndpoint creates and initializes an account resource with a name and type.
func ToEndpointResource ¶ added in v1.7.0
func ToEndpointResource(endpoint IEndpoint) (*EndpointResource, error)
func (*EndpointResource) GetCommunicationStyle ¶ added in v1.7.0
func (e *EndpointResource) GetCommunicationStyle() string
GetCommunicationStyle returns the communication style of this endpoint.
func (*EndpointResource) GetID ¶ added in v1.7.0
func (r *EndpointResource) GetID() string
GetID returns the ID value of the resource.
func (*EndpointResource) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*EndpointResource) GetModifiedBy ¶ added in v1.7.0
func (r *EndpointResource) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*EndpointResource) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*EndpointResource) SetID ¶ added in v1.7.55
func (r *EndpointResource) SetID(id string)
SetID sets the ID value of the resource.
func (*EndpointResource) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*EndpointResource) SetModifiedBy ¶ added in v1.7.55
func (r *EndpointResource) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*EndpointResource) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (EndpointResource) Validate ¶ added in v1.7.0
func (e EndpointResource) Validate() error
Validate checks the state of the endpoint resource and returns an error if invalid.
type EndpointResources ¶ added in v1.7.0
type EndpointResources struct { Items []*EndpointResource `json:"Items"` PagedResults }
type Environment ¶
type Environment struct { AllowDynamicInfrastructure bool `json:"AllowDynamicInfrastructure"` Description string `json:"Description,omitempty"` Name string `json:"Name" validate:"required"` SortOrder int `json:"SortOrder"` UseGuidedFailure bool `json:"UseGuidedFailure"` // contains filtered or unexported fields }
func NewEnvironment ¶
func NewEnvironment(name string) *Environment
func (*Environment) GetID ¶ added in v1.7.0
func (r *Environment) GetID() string
GetID returns the ID value of the resource.
func (*Environment) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Environment) GetModifiedBy ¶ added in v1.7.0
func (r *Environment) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Environment) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Environment) SetID ¶ added in v1.7.55
func (r *Environment) SetID(id string)
SetID sets the ID value of the resource.
func (*Environment) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Environment) SetModifiedBy ¶ added in v1.7.55
func (r *Environment) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Environment) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*Environment) Validate ¶
func (e *Environment) Validate() error
Validate checks the state of the environment and returns an error if invalid.
type Environments ¶
type Environments struct { Items []*Environment `json:"Items"` PagedResults }
type EnvironmentsQuery ¶ added in v1.7.0
type EnvironmentsQuery struct { IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` Name string `uri:"name,omitempty" url:"name,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type EnvironmentsSummaryQuery ¶ added in v1.7.0
type EnvironmentsSummaryQuery struct { CommunicationStyles []string `uri:"commStyles,omitempty" url:"commStyles,omitempty"` HealthStatuses []string `uri:"healthStatuses,omitempty" url:"healthStatuses,omitempty"` HideEmptyEnvironments bool `uri:"hideEmptyEnvironments,omitempty" url:"hideEmptyEnvironments,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IsDisabled bool `uri:"isDisabled,omitempty" url:"isDisabled,omitempty"` MachinePartialName string `uri:"machinePartialName,omitempty" url:"machinePartialName,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Roles []string `uri:"roles,omitempty" url:"roles,omitempty"` ShellNames []string `uri:"shellNames,omitempty" url:"shellNames,omitempty"` TenantIDs []string `uri:"tenantIds,omitempty" url:"tenantIds,omitempty"` TenantTags []string `uri:"tenantTags,omitempty" url:"tenantTags,omitempty"` }
type Event ¶ added in v1.7.46
type Event struct { Category string `json:"Category,omitempty"` ChangeDetails *ChangeDetails `json:"ChangeDetails,omitempty"` Comments string `json:"Comments,omitempty"` Details string `json:"Details,omitempty"` IdentityEstablishedWith string `json:"IdentityEstablishedWith,omitempty"` IsService bool `json:"IsService,omitempty"` Message string `json:"Message,omitempty"` MessageHTML string `json:"MessageHtml,omitempty"` MessageReferences []*EventReference `json:"MessageReferences"` Occurred time.Time `json:"Occurred,omitempty"` RelatedDocumentIds []string `json:"RelatedDocumentIds"` SpaceID string `json:"SpaceId,omitempty"` UserAgent string `json:"UserAgent,omitempty"` UserID string `json:"UserId,omitempty"` Username string `json:"Username,omitempty"` // contains filtered or unexported fields }
func (*Event) GetID ¶ added in v1.7.46
func (r *Event) GetID() string
GetID returns the ID value of the resource.
func (*Event) GetLinks ¶ added in v1.7.46
GetLinks returns the associated links with the value of this resource.
func (*Event) GetModifiedBy ¶ added in v1.7.46
func (r *Event) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Event) GetModifiedOn ¶ added in v1.7.46
GetModifiedOn returns the time when the value of this resource was changed.
func (*Event) SetID ¶ added in v1.7.55
func (r *Event) SetID(id string)
SetID sets the ID value of the resource.
func (*Event) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Event) SetModifiedBy ¶ added in v1.7.55
func (r *Event) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Event) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type EventAgent ¶ added in v1.7.46
type EventCategoriesQuery ¶ added in v1.7.0
type EventCategoriesQuery struct {
AppliesTo string `uri:"appliesTo" url:"appliesTo,omitempty"`
}
type EventCategory ¶ added in v1.7.45
type EventGroup ¶ added in v1.7.45
type EventGroupsQuery ¶ added in v1.7.0
type EventGroupsQuery struct {
AppliesTo string `uri:"appliesTo" url:"appliesTo,omitempty"`
}
type EventReference ¶ added in v1.7.46
type Events ¶ added in v1.7.46
type Events struct { Items []*Event `json:"Items"` PagedResults }
type EventsQuery ¶ added in v1.7.0
type EventsQuery struct { AsCSV string `uri:"asCsv,omitempty" url:"asCsv,omitempty"` DocumentTypes []string `uri:"documentTypes,omitempty" url:"documentTypes,omitempty"` Environments []string `uri:"environments,omitempty" url:"environments,omitempty"` EventAgents []string `uri:"eventAgents,omitempty" url:"eventAgents,omitempty"` EventCategories []string `uri:"eventCategories,omitempty" url:"eventCategories,omitempty"` EventGroups []string `uri:"eventGroups,omitempty" url:"eventGroups,omitempty"` ExcludeDifference bool `uri:"excludeDifference,omitempty" url:"excludeDifference,omitempty"` From string `uri:"from,omitempty" url:"from,omitempty"` FromAutoID string `uri:"fromAutoId,omitempty" url:"fromAutoId,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IncludeSystem bool `uri:"includeSystem,omitempty" url:"includeSystem,omitempty"` Internal string `uri:"interal,omitempty" url:"interal,omitempty"` Name string `uri:"name,omitempty" url:"name,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` ProjectGroups []string `uri:"projectGroups,omitempty" url:"projectGroups,omitempty"` Projects []string `uri:"projects,omitempty" url:"projects,omitempty"` Regarding string `uri:"regarding,omitempty" url:"regarding,omitempty"` RegardingAny string `uri:"regardingAny,omitempty" url:"regardingAny,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Spaces []string `uri:"spaces,omitempty" url:"spaces,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` Tags []string `uri:"tags,omitempty" url:"tags,omitempty"` Tenants []string `uri:"tenants,omitempty" url:"tenants,omitempty"` To string `uri:"to,omitempty" url:"to,omitempty"` ToAutoID string `uri:"toAutoId,omitempty" url:"toAutoId,omitempty"` User string `uri:"user,omitempty" url:"user,omitempty"` Users []string `uri:"users,omitempty" url:"users,omitempty"` }
type ExtensionSettingsValues ¶ added in v1.7.0
type ExtensionSettingsValues struct { ExtensionID string `json:"ExtensionId,omitempty"` Values interface{} `json:"Values,omitempty"` }
type ExternalUserSearchQuery ¶ added in v1.7.0
type ExternalUserSearchQuery struct {
PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"`
}
type FeedResource ¶ added in v1.7.0
type FeedResource struct { AccessKey string `json:"AccessKey,omitempty"` APIVersion string `json:"ApiVersion,omitempty"` DeleteUnreleasedPackagesAfterDays int `json:"DeleteUnreleasedPackagesAfterDays"` DownloadAttempts int `json:"DownloadAttempts"` DownloadRetryBackoffSeconds int `json:"DownloadRetryBackoffSeconds"` EnhancedMode bool `json:"EnhancedMode"` FeedType FeedType `json:"FeedType" validate:"required,notblank"` FeedURI string `json:"FeedUri,omitempty"` IsBuiltInRepoSyncEnabled bool `json:"IsBuiltInRepoSyncEnabled,omitempty"` Name string `json:"Name" validate:"required,notblank"` Password *SensitiveValue `json:"Password,omitempty"` PackageAcquisitionLocationOptions []string `json:"PackageAcquisitionLocationOptions,omitempty"` Region string `json:"Region,omitempty"` RegistryPath string `json:"RegistryPath,omitempty"` SecretKey *SensitiveValue `json:"SecretKey,omitempty"` SpaceID string `json:"SpaceId,omitempty"` Username string `json:"Username,omitempty"` // contains filtered or unexported fields }
func NewFeedResource ¶ added in v1.7.0
func NewFeedResource(name string, feedType FeedType) *FeedResource
func ToFeedResource ¶ added in v1.7.0
func ToFeedResource(feed IFeed) (*FeedResource, error)
func (*FeedResource) GetFeedType ¶ added in v1.7.0
func (f *FeedResource) GetFeedType() FeedType
GetFeedType returns the type of this feed.
func (*FeedResource) GetID ¶ added in v1.7.0
func (r *FeedResource) GetID() string
GetID returns the ID value of the resource.
func (*FeedResource) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*FeedResource) GetModifiedBy ¶ added in v1.7.0
func (r *FeedResource) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*FeedResource) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*FeedResource) GetName ¶ added in v1.7.0
func (f *FeedResource) GetName() string
GetName returns the name of the feed.
func (*FeedResource) GetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *FeedResource) GetPackageAcquisitionLocationOptions() []string
GetPackageAcquisitionLocationOptions returns the package acquisition location options of the feed.
func (*FeedResource) GetPassword ¶ added in v1.8.0
func (f *FeedResource) GetPassword() *SensitiveValue
GetPassword returns the password of the feed.
func (*FeedResource) GetSpaceID ¶ added in v1.8.0
func (f *FeedResource) GetSpaceID() string
GetSpaceID returns the space ID of the feed.
func (*FeedResource) GetUsername ¶ added in v1.8.0
func (f *FeedResource) GetUsername() string
GetUsername returns the username of the feed.
func (*FeedResource) SetFeedType ¶ added in v1.8.0
func (f *FeedResource) SetFeedType(feedType FeedType)
SetFeedType returns the type of this feed.
func (*FeedResource) SetID ¶ added in v1.7.55
func (r *FeedResource) SetID(id string)
SetID sets the ID value of the resource.
func (*FeedResource) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*FeedResource) SetModifiedBy ¶ added in v1.7.55
func (r *FeedResource) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*FeedResource) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*FeedResource) SetName ¶ added in v1.7.0
func (f *FeedResource) SetName(name string)
SetName sets the name of the feed.
func (*FeedResource) SetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *FeedResource) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
SetPackageAcquisitionLocationOptions sets the package acquisition location options of the feed.
func (*FeedResource) SetPassword ¶ added in v1.8.0
func (f *FeedResource) SetPassword(password *SensitiveValue)
SetPassword sets the password of the feed.
func (*FeedResource) SetSpaceID ¶ added in v1.8.0
func (f *FeedResource) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of the feed.
func (*FeedResource) SetUsername ¶ added in v1.8.0
func (f *FeedResource) SetUsername(username string)
SetUsername sets the username of the feed.
func (FeedResource) Validate ¶ added in v1.7.0
func (f FeedResource) Validate() error
Validate checks the state of the feed resource and returns an error if invalid.
type FeedResources ¶ added in v1.7.0
type FeedResources struct { Items []*FeedResource `json:"Items"` PagedResults }
type Feeds ¶
type Feeds struct { Items []IFeed `json:"Items"` PagedResults }
func ToFeeds ¶ added in v1.7.0
func ToFeeds(feedResources *FeedResources) *Feeds
type FeedsQuery ¶ added in v1.7.0
type FeedsQuery struct { FeedType string `uri:"feedType,omitempty" url:"feedType,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type FilterType ¶ added in v1.7.45
type FilterType int
const ( ContinuousDailySchedule FilterType = iota CronExpressionSchedule DailySchedule DaysPerMonthSchedule DaysPerWeekSchedule MachineFilter OnceDailySchedule )
func FilterTypeString ¶ added in v1.7.45
func FilterTypeString(s string) (FilterType, error)
FilterTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func FilterTypeValues ¶ added in v1.7.45
func FilterTypeValues() []FilterType
FilterTypeValues returns all values of the enum
func (FilterType) IsAFilterType ¶ added in v1.7.45
func (i FilterType) IsAFilterType() bool
IsAFilterType returns "true" if the value is listed in the enum definition. "false" otherwise
func (FilterType) MarshalJSON ¶ added in v1.7.45
func (i FilterType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for FilterType
func (FilterType) String ¶ added in v1.7.45
func (i FilterType) String() string
func (*FilterType) UnmarshalJSON ¶ added in v1.7.45
func (i *FilterType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for FilterType
type Form ¶ added in v1.7.0
type Form struct { Elements []*FormElement `json:"Elements"` Values map[string]string `json:"Values,omitempty"` }
type FormElement ¶ added in v1.7.0
type GitCredentialType ¶ added in v1.7.55
type GitCredentialType string
type GitHubRepositoryFeed ¶ added in v1.7.0
type GitHubRepositoryFeed struct { DownloadAttempts int `json:"DownloadAttempts"` DownloadRetryBackoffSeconds int `json:"DownloadRetryBackoffSeconds"` FeedURI string `json:"FeedUri,omitempty"` // contains filtered or unexported fields }
GitHubRepositoryFeed represents a GitHub repository feed.
func NewGitHubRepositoryFeed ¶ added in v1.7.0
func NewGitHubRepositoryFeed(name string) (*GitHubRepositoryFeed, error)
NewGitHubRepositoryFeed creates and initializes a GitHub repository feed.
func (*GitHubRepositoryFeed) GetFeedType ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) GetFeedType() FeedType
GetFeedType returns the type of this feed.
func (*GitHubRepositoryFeed) GetName ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) GetName() string
GetName returns the name of the feed.
func (*GitHubRepositoryFeed) GetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) GetPackageAcquisitionLocationOptions() []string
GetPackageAcquisitionLocationOptions returns the package acquisition location options of the feed.
func (*GitHubRepositoryFeed) GetPassword ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) GetPassword() *SensitiveValue
GetPassword returns the password of the feed.
func (*GitHubRepositoryFeed) GetSpaceID ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) GetSpaceID() string
GetSpaceID returns the space ID of the feed.
func (*GitHubRepositoryFeed) GetUsername ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) GetUsername() string
GetUsername returns the username of the feed.
func (*GitHubRepositoryFeed) SetFeedType ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) SetFeedType(feedType FeedType)
SetFeedType returns the type of this feed.
func (*GitHubRepositoryFeed) SetName ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) SetName(name string)
SetName sets the name of the feed.
func (*GitHubRepositoryFeed) SetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
SetPackageAcquisitionLocationOptions sets the package acquisition location options of the feed.
func (*GitHubRepositoryFeed) SetPassword ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) SetPassword(password *SensitiveValue)
SetPassword sets the password of the feed.
func (*GitHubRepositoryFeed) SetSpaceID ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of the feed.
func (*GitHubRepositoryFeed) SetUsername ¶ added in v1.8.0
func (f *GitHubRepositoryFeed) SetUsername(username string)
SetUsername sets the username of the feed.
func (*GitHubRepositoryFeed) Validate ¶ added in v1.7.0
func (g *GitHubRepositoryFeed) Validate() error
Validate checks the state of this GitHub repository feed and returns an error if invalid.
type GitPersistenceSettings ¶ added in v1.7.55
type GitPersistenceSettings struct { BasePath string Credentials IGitCredential DefaultBranch string URL *url.URL // contains filtered or unexported fields }
GitPersistenceSettings represents persistence settings associated with a project.
func NewGitPersistenceSettings ¶ added in v1.7.55
func NewGitPersistenceSettings( basePath string, credentials IGitCredential, defaultBranch string, url *url.URL) *GitPersistenceSettings
NewGitPersistenceSettings creates an instance of persistence settings.
func (*GitPersistenceSettings) GetType ¶ added in v1.7.55
func (g *GitPersistenceSettings) GetType() string
GetType returns the type for this persistence settings.
func (*GitPersistenceSettings) MarshalJSON ¶ added in v1.7.55
func (p *GitPersistenceSettings) MarshalJSON() ([]byte, error)
MarshalJSON returns persistence settings as its JSON encoding.
func (*GitPersistenceSettings) UnmarshalJSON ¶ added in v1.7.55
func (p *GitPersistenceSettings) UnmarshalJSON(b []byte) error
UnmarshalJSON sets the persistence settings to its representation in JSON.
type GoogleCloudPlatformAccount ¶ added in v1.7.41
type GoogleCloudPlatformAccount struct { JsonKey *SensitiveValue `validate:"required"` // contains filtered or unexported fields }
GoogleCloudPlatformAccount represents a Google cloud account.
func NewGoogleCloudPlatformAccount ¶ added in v1.7.41
func NewGoogleCloudPlatformAccount(name string, jsonKey *SensitiveValue, options ...func(*GoogleCloudPlatformAccount)) (*GoogleCloudPlatformAccount, error)
NewGoogleCloudPlatformAccount initializes and returns a Google cloud account.
func (*GoogleCloudPlatformAccount) GetAccountType ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) GetAccountType() AccountType
GetAccountType returns the type of this account.
func (*GoogleCloudPlatformAccount) GetDescription ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) GetDescription() string
GetDescription returns the description of the account.
func (*GoogleCloudPlatformAccount) GetEnvironmentIDs ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) GetEnvironmentIDs() []string
GetEnvironmentIDs returns the environment IDs associated with this account.
func (*GoogleCloudPlatformAccount) GetName ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) GetName() string
GetName returns the name of the account.
func (*GoogleCloudPlatformAccount) GetSpaceID ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) GetSpaceID() string
GetSpaceID returns the space ID of this account.
func (*GoogleCloudPlatformAccount) GetTenantIDs ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) GetTenantIDs() []string
GetTenantIDs returns the tenant IDs associated with this account.
func (*GoogleCloudPlatformAccount) GetTenantTags ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) GetTenantTags() []string
GetTenantTags returns the tenant tags assigned to this account.
func (*GoogleCloudPlatformAccount) GetTenantedDeploymentMode ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
GetTenantedDeploymentMode returns the tenanted deployment mode of this account.
func (*GoogleCloudPlatformAccount) SetDescription ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) SetDescription(description string)
SetDescription sets the description of the account.
func (*GoogleCloudPlatformAccount) SetEnvironmentIDs ¶ added in v1.7.55
func (a *GoogleCloudPlatformAccount) SetEnvironmentIDs(environmentIds []string)
SetEnvironmentIDs sets the associated environment IDs of the account.
func (*GoogleCloudPlatformAccount) SetName ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) SetName(name string)
SetName sets the name of the account.
func (*GoogleCloudPlatformAccount) SetSpaceID ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of this account.
func (*GoogleCloudPlatformAccount) SetTenantIDs ¶ added in v1.7.55
func (a *GoogleCloudPlatformAccount) SetTenantIDs(tenantIds []string)
SetTenantIDs sets the tenant IDs associated with this account.
func (*GoogleCloudPlatformAccount) SetTenantTags ¶ added in v1.7.55
func (a *GoogleCloudPlatformAccount) SetTenantTags(tenantTags []string)
SetTenantTags sets the tenant tags associated with this account.
func (*GoogleCloudPlatformAccount) SetTenantedDeploymentMode ¶ added in v1.7.55
func (a *GoogleCloudPlatformAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
SetTenantedDeploymentMode sets the tenanted deployment mode of this account.
func (*GoogleCloudPlatformAccount) Validate ¶ added in v1.7.41
func (a *GoogleCloudPlatformAccount) Validate() error
Validate checks the state of this account and returns an error if invalid.
type HelmFeed ¶ added in v1.7.0
type HelmFeed struct { FeedURI string `json:"FeedUri,omitempty"` // contains filtered or unexported fields }
HelmFeed represents a Helm feed.
func NewHelmFeed ¶ added in v1.7.0
NewHelmFeed creates and initializes a Helm feed.
func (*HelmFeed) GetFeedType ¶ added in v1.8.0
func (f *HelmFeed) GetFeedType() FeedType
GetFeedType returns the type of this feed.
func (*HelmFeed) GetName ¶ added in v1.8.0
func (f *HelmFeed) GetName() string
GetName returns the name of the feed.
func (*HelmFeed) GetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *HelmFeed) GetPackageAcquisitionLocationOptions() []string
GetPackageAcquisitionLocationOptions returns the package acquisition location options of the feed.
func (*HelmFeed) GetPassword ¶ added in v1.8.0
func (f *HelmFeed) GetPassword() *SensitiveValue
GetPassword returns the password of the feed.
func (*HelmFeed) GetSpaceID ¶ added in v1.8.0
func (f *HelmFeed) GetSpaceID() string
GetSpaceID returns the space ID of the feed.
func (*HelmFeed) GetUsername ¶ added in v1.8.0
func (f *HelmFeed) GetUsername() string
GetUsername returns the username of the feed.
func (*HelmFeed) SetFeedType ¶ added in v1.8.0
func (f *HelmFeed) SetFeedType(feedType FeedType)
SetFeedType returns the type of this feed.
func (*HelmFeed) SetName ¶ added in v1.8.0
func (f *HelmFeed) SetName(name string)
SetName sets the name of the feed.
func (*HelmFeed) SetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *HelmFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
SetPackageAcquisitionLocationOptions sets the package acquisition location options of the feed.
func (*HelmFeed) SetPassword ¶ added in v1.8.0
func (f *HelmFeed) SetPassword(password *SensitiveValue)
SetPassword sets the password of the feed.
func (*HelmFeed) SetSpaceID ¶ added in v1.8.0
func (f *HelmFeed) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of the feed.
func (*HelmFeed) SetUsername ¶ added in v1.8.0
func (f *HelmFeed) SetUsername(username string)
SetUsername sets the username of the feed.
type IAccount ¶ added in v1.7.0
type IAccount interface { GetAccountType() AccountType GetDescription() string GetEnvironmentIDs() []string GetTenantedDeploymentMode() TenantedDeploymentMode GetTenantIDs() []string GetTenantTags() []string SetDescription(string) SetEnvironmentIDs([]string) SetTenantedDeploymentMode(TenantedDeploymentMode) SetTenantIDs([]string) SetTenantTags([]string) IHasName IHasSpace IResource }
IAccount defines the interface for accounts.
func ToAccount ¶ added in v1.7.0
func ToAccount(accountResource *AccountResource) (IAccount, error)
func ToAccountArray ¶ added in v1.7.0
func ToAccountArray(accountResources []*AccountResource) []IAccount
type IDeploymentTarget ¶ added in v1.7.5
type IDynamicWorkerPool ¶ added in v1.7.0
type IDynamicWorkerPool interface { GetWorkerType() WorkerType IWorkerPool }
type IEndpoint ¶ added in v1.7.0
IEndpoint defines the interface for endpoints.
func ToEndpoint ¶ added in v1.7.0
func ToEndpoint(endpointResource *EndpointResource) (IEndpoint, error)
func ToEndpointArray ¶ added in v1.7.0
func ToEndpointArray(endpointResources []*EndpointResource) []IEndpoint
type IEndpointWithAccount ¶ added in v1.7.0
type IEndpointWithAccount interface {
GetAccountID() string
}
type IEndpointWithFingerprint ¶ added in v1.7.0
type IEndpointWithFingerprint interface {
GetFingerprint() string
}
type IEndpointWithHostname ¶ added in v1.7.0
type IEndpointWithHostname interface {
GetHost() string
}
type IEndpointWithProxy ¶ added in v1.7.0
type IFeed ¶ added in v1.7.0
type IFeed interface { GetFeedType() FeedType GetName() string GetPackageAcquisitionLocationOptions() []string GetPassword() *SensitiveValue GetSpaceID() string GetUsername() string SetFeedType(FeedType) SetName(string) SetPackageAcquisitionLocationOptions([]string) SetPassword(*SensitiveValue) SetSpaceID(string) SetUsername(string) IResource }
func ToFeed ¶ added in v1.7.0
func ToFeed(feedResource *FeedResource) (IFeed, error)
func ToFeedArray ¶ added in v1.7.0
func ToFeedArray(feedResources []*FeedResource) []IFeed
type IGitCredential ¶ added in v1.7.55
type IGitCredential interface {
GetType() GitCredentialType
}
IGitCredential defines the interface for Git-associated credentials.
type IKubernetesAuthentication ¶ added in v1.7.0
type IKubernetesAuthentication interface {
GetAuthenticationType() string
}
type IPersistenceSettings ¶ added in v1.7.55
type IPersistenceSettings interface {
GetType() string
}
IPersistenceSettings defines the interface for persistence settings.
type IResource ¶ added in v1.7.0
type IResource interface { GetID() string GetModifiedBy() string GetModifiedOn() *time.Time GetLinks() map[string]string SetID(string) SetLinks(map[string]string) SetModifiedBy(string) SetModifiedOn(*time.Time) Validate() error }
IResource defines the interface for resources.
type IRunsOnAWorker ¶ added in v1.7.0
IRunsOnAWorker defines the interface for workers.
type ISSHKeyAccount ¶ added in v1.7.55
type ISSHKeyAccount interface { SetPrivateKeyPassphrase(*SensitiveValue) IAccount }
ISSHKeyAccount defines the interface for SSH key accounts.
type IService ¶ added in v1.7.0
type IService interface {
// contains filtered or unexported methods
}
IService defines the contract for all services that communicate with the Octopus API.
type ITriggerAction ¶ added in v1.7.45
type ITriggerAction interface { GetActionType() ActionType SetActionType(actionType ActionType) }
ITriggerAction defines the interface for trigger actions.
type ITriggerFilter ¶ added in v1.7.45
type ITriggerFilter interface { GetFilterType() FilterType SetFilterType(filterType FilterType) }
ITriggerFilter defines the interface for trigger filters.
type IUsernamePasswordAccount ¶ added in v1.7.55
type IUsernamePasswordAccount interface { GetUsername() string SetPassword(*SensitiveValue) SetUsername(string) IAccount }
IUsernamePasswordAccount defines the interface for username-password accounts.
type IWorkerPool ¶ added in v1.7.0
type IWorkerPool interface { GetCanAddWorkers() bool GetDescription() string GetIsDefault() bool GetName() string GetSpaceID() string GetSortOrder() int GetWorkerPoolType() WorkerPoolType SetCanAddWorkers(bool) SetDescription(string) SetIsDefault(bool) SetName(string) SetSpaceID(string) SetSortOrder(int) SetWorkerPoolType(WorkerPoolType) IHasName IResource }
IWorkerPool defines the interface for worker pools.
func ToWorkerPool ¶ added in v1.7.48
func ToWorkerPool(workerPoolResource *WorkerPoolResource) (IWorkerPool, error)
func ToWorkerPoolArray ¶ added in v1.7.48
func ToWorkerPoolArray(workerPoolResources []*WorkerPoolResource) []IWorkerPool
type Identity ¶ added in v1.7.0
type Identity struct { Claims map[string]IdentityClaim `json:"Claims,omitempty"` IdentityProviderName string `json:"IdentityProviderName,omitempty"` }
type IdentityClaim ¶ added in v1.7.0
type Interruption ¶
type Interruption struct { CanTakeResponsibility bool `json:"CanTakeResponsibility,omitempty"` CorrelationID string `json:"CorrelationId,omitempty"` Created time.Time `json:"Created,omitempty"` Form *Form `json:"Form,omitempty"` HasResponsibility bool `json:"HasResponsibility"` IsLinkedToOtherInterruption bool `json:"IsLinkedToOtherInterruption"` IsPending bool `json:"IsPending"` RelatedDocumentIDs []string `json:"RelatedDocumentIds"` ResponsibleTeamIDs []string `json:"ResponsibleTeamIds"` ResponsibleUserID string `json:"ResponsibleUserId,omitempty"` SpaceID string `json:"SpaceId,omitempty"` TaskID string `json:"TaskId,omitempty"` Title string `json:"Title,omitempty"` // contains filtered or unexported fields }
func NewInterruption ¶ added in v1.7.0
func NewInterruption() *Interruption
func (*Interruption) GetID ¶ added in v1.7.0
func (r *Interruption) GetID() string
GetID returns the ID value of the resource.
func (*Interruption) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Interruption) GetModifiedBy ¶ added in v1.7.0
func (r *Interruption) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Interruption) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Interruption) SetID ¶ added in v1.7.55
func (r *Interruption) SetID(id string)
SetID sets the ID value of the resource.
func (*Interruption) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Interruption) SetModifiedBy ¶ added in v1.7.55
func (r *Interruption) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Interruption) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type InterruptionSubmitRequest ¶
type InterruptionSubmitRequest struct { Instructions string `json:"Instructions"` Notes string `json:"Notes"` Result string `json:"Result"` }
func NewInterruptionSubmitRequest ¶ added in v1.7.0
func NewInterruptionSubmitRequest() *InterruptionSubmitRequest
type Interruptions ¶
type Interruptions struct { Items []*Interruption `json:"Items"` PagedResults }
type InterruptionsQuery ¶ added in v1.7.0
type InterruptionsQuery struct { IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` PendingOnly bool `uri:"pendingOnly,omitempty" url:"pendingOnly,omitempty"` Regarding string `uri:"regarding,omitempty" url:"regarding,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type IssueTrackersQuery ¶ added in v1.7.0
type KubernetesAuthentication ¶ added in v1.7.0
type KubernetesAuthentication struct { AccountID string `json:"AccountId,omitempty"` AdminLogin string `json:"AdminLogin,omitempty"` AssumedRoleARN string `json:"AssumedRoleArn,omitempty"` AssumedRoleSession string `json:"AssumedRoleSession,omitempty"` AssumeRole bool `json:"AssumeRole,omitempty"` AssumeRoleSessionDuration int `json:"AssumeRoleSessionDurationSeconds,omitempty"` AssumeRoleExternalID string `json:"AssumeRoleExternalId,omitempty"` AuthenticationType string `json:"AuthenticationType,omitempty"` ClientCertificate string `json:"ClientCertificate,omitempty"` ClusterName string `json:"ClusterName,omitempty"` ClusterResourceGroup string `json:"ClusterResourceGroup,omitempty"` ImpersonateServiceAccount bool `json:"ImpersonateServiceAccount,omitempty"` Project string `json:"Project,omitempty"` Region string `json:"Region,omitempty"` ServiceAccountEmails string `json:"ServiceAccountEmails,omitempty"` UseInstanceRole bool `json:"UseInstanceRole,omitempty"` UseVmServiceAccount bool `json:"UseVmServiceAccount,omitempty"` Zone string `json:"Zone,omitempty"` }
func (*KubernetesAuthentication) GetAuthenticationType ¶ added in v1.7.0
func (k *KubernetesAuthentication) GetAuthenticationType() string
GetAuthenticationType returns the authentication type of this Kubernetes-based authentication.
type KubernetesAwsAuthentication ¶ added in v1.7.0
type KubernetesAwsAuthentication struct { AssumedRoleARN string `json:"AssumedRoleArn,omitempty"` AssumedRoleSession string `json:"AssumedRoleSession,omitempty"` AssumeRole bool `json:"AssumeRole,omitempty"` AssumeRoleExternalID string `json:"AssumeRoleExternalId,omitempty"` AssumeRoleSessionDuration int `json:"AssumeRoleSessionDurationSeconds,omitempty"` ClusterName string `json:"ClusterName,omitempty"` UseInstanceRole bool `json:"UseInstanceRole,omitempty"` KubernetesStandardAuthentication }
func NewKubernetesAwsAuthentication ¶ added in v1.7.0
func NewKubernetesAwsAuthentication() *KubernetesAwsAuthentication
NewKubernetesAwsAuthentication creates and initializes a Kubernetes AWS authentication.
type KubernetesAzureAuthentication ¶ added in v1.7.0
type KubernetesAzureAuthentication struct { ClusterName string `json:"ClusterName,omitempty"` ClusterResourceGroup string `json:"ClusterResourceGroup,omitempty"` KubernetesStandardAuthentication }
func NewKubernetesAzureAuthentication ¶ added in v1.7.0
func NewKubernetesAzureAuthentication() *KubernetesAzureAuthentication
NewKubernetesAzureAuthentication creates and initializes a Kubernetes Azure authentication.
type KubernetesCertificateAuthentication ¶ added in v1.7.0
type KubernetesCertificateAuthentication struct { AuthenticationType string `json:"AuthenticationType"` ClientCertificate string `json:"ClientCertificate,omitempty"` }
func NewKubernetesCertificateAuthentication ¶ added in v1.7.0
func NewKubernetesCertificateAuthentication() *KubernetesCertificateAuthentication
NewKubernetesCertificateAuthentication creates and initializes a Kubernetes certificate authentication.
func (*KubernetesCertificateAuthentication) GetAuthenticationType ¶ added in v1.7.0
func (k *KubernetesCertificateAuthentication) GetAuthenticationType() string
GetAuthenticationType returns the authentication type of this Kubernetes-based authentication.
type KubernetesEndpoint ¶ added in v1.7.0
type KubernetesEndpoint struct { Authentication IKubernetesAuthentication `json:"Authentication,omitempty"` ClusterCertificate string `json:"ClusterCertificate,omitempty"` ClusterCertificatePath string `json:"ClusterCertificatePath,omitempty"` ClusterURL *url.URL `json:"ClusterUrl" validate:"required,url"` Container *DeploymentActionContainer `json:"Container,omitempty"` DefaultWorkerPoolID string `json:"DefaultWorkerPoolId,omitempty"` Namespace string `json:"Namespace,omitempty"` ProxyID string `json:"ProxyId,omitempty"` RunningInContainer bool `json:"RunningInContainer"` SkipTLSVerification bool `json:"SkipTlsVerification"` // contains filtered or unexported fields }
func NewKubernetesEndpoint ¶ added in v1.7.0
func NewKubernetesEndpoint(clusterURL *url.URL) *KubernetesEndpoint
NewKubernetesEndpoint creates and initializes a new Kubernetes endpoint.
func (KubernetesEndpoint) GetCommunicationStyle ¶ added in v1.7.0
func (e KubernetesEndpoint) GetCommunicationStyle() string
GetCommunicationStyle returns the communication style of this endpoint.
func (*KubernetesEndpoint) GetDefaultWorkerPoolID ¶ added in v1.7.0
func (k *KubernetesEndpoint) GetDefaultWorkerPoolID() string
GetDefaultWorkerPoolID returns the default worker pool ID of this Kubernetes endpoint.
func (*KubernetesEndpoint) GetProxyID ¶ added in v1.7.0
func (k *KubernetesEndpoint) GetProxyID() string
GetProxyID returns the proxy ID associated with this Kubernetes endpoint.
func (*KubernetesEndpoint) MarshalJSON ¶ added in v1.7.0
func (k *KubernetesEndpoint) MarshalJSON() ([]byte, error)
MarshalJSON returns a Kubernetes endpoint as its JSON encoding.
func (*KubernetesEndpoint) SetDefaultWorkerPoolID ¶ added in v1.7.0
func (k *KubernetesEndpoint) SetDefaultWorkerPoolID(defaultWorkerPoolID string)
SetDefaultWorkerPoolID sets the default worker pool ID of this Kubernetes endpoint.
func (*KubernetesEndpoint) SetProxyID ¶ added in v1.7.0
func (k *KubernetesEndpoint) SetProxyID(proxyID string)
SetProxyID sets the proxy ID associated with this Kubernetes endpoint.
func (*KubernetesEndpoint) UnmarshalJSON ¶ added in v1.7.0
func (k *KubernetesEndpoint) UnmarshalJSON(data []byte) error
UnmarshalJSON sets this Kubernetes endpoint to its representation in JSON.
func (*KubernetesEndpoint) Validate ¶ added in v1.7.0
func (k *KubernetesEndpoint) Validate() error
Validate checks the state of the Kubernetes endpoint and returns an error if invalid.
type KubernetesGcpAuthentication ¶ added in v1.7.43
type KubernetesGcpAuthentication struct { ClusterName string `json:"ClusterName,omitempty"` ImpersonateServiceAccount bool `json:"ImpersonateServiceAccount,omitempty"` Project string `json:"Project,omitempty"` Region string `json:"Region,omitempty"` ServiceAccountEmails string `json:"ServiceAccountEmails,omitempty"` UseVmServiceAccount bool `json:"UseVmServiceAccount,omitempty"` Zone string `json:"Zone,omitempty"` KubernetesStandardAuthentication }
func NewKubernetesGcpAuthentication ¶ added in v1.7.43
func NewKubernetesGcpAuthentication() *KubernetesGcpAuthentication
NewKubernetesGcpAuthentication creates and initializes a Kubernetes GCP authentication.
type KubernetesStandardAuthentication ¶ added in v1.7.0
type KubernetesStandardAuthentication struct { AccountID string `json:"AccountId,omitempty"` AuthenticationType string `json:"AuthenticationType"` }
func NewKubernetesStandardAuthentication ¶ added in v1.7.0
func NewKubernetesStandardAuthentication(authenticationType string) *KubernetesStandardAuthentication
NewKubernetesStandardAuthentication creates and initializes a Kubernetes authentication.
func (*KubernetesStandardAuthentication) GetAuthenticationType ¶ added in v1.7.0
func (k *KubernetesStandardAuthentication) GetAuthenticationType() string
GetAuthenticationType returns the authentication type of this Kubernetes-based authentication.
type Library ¶ added in v1.7.0
type Library struct { LibraryVariableSetID string `json:"LibraryVariableSetId,omitempty"` LibraryVariableSetName string `json:"LibraryVariableSetName,omitempty"` Links map[string]string `json:"Links,omitempty"` Templates []*ActionTemplateParameter `json:"Templates"` Variables map[string]PropertyValue `json:"Variables,omitempty"` }
type LibraryVariable ¶ added in v1.7.24
type LibraryVariable struct { LibraryVariableSetID string `json:"LibraryVariableSetId,omitempty"` LibraryVariableSetName string `json:"LibraryVariableSetName,omitempty"` Links map[string]string `json:"Links,omitempty"` Templates []*ActionTemplateParameter `json:"Templates"` Variables map[string]PropertyValue `json:"Variables,omitempty"` }
func NewLibraryVariable ¶ added in v1.7.28
func NewLibraryVariable() *LibraryVariable
type LibraryVariableSet ¶
type LibraryVariableSet struct { ContentType string `json:"ContentType" validate:"required,oneof=ScriptModule Variables"` Description string `json:"Description,omitempty"` Name string `json:"Name" validate:"required"` SpaceID string `json:"SpaceId,omitempty"` Templates []ActionTemplateParameter `json:"Templates,omitempty"` VariableSetID string `json:"VariableSetId,omitempty"` // contains filtered or unexported fields }
func NewLibraryVariableSet ¶
func NewLibraryVariableSet(name string) *LibraryVariableSet
func (*LibraryVariableSet) GetID ¶ added in v1.7.0
func (r *LibraryVariableSet) GetID() string
GetID returns the ID value of the resource.
func (*LibraryVariableSet) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*LibraryVariableSet) GetModifiedBy ¶ added in v1.7.0
func (r *LibraryVariableSet) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*LibraryVariableSet) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*LibraryVariableSet) SetID ¶ added in v1.7.55
func (r *LibraryVariableSet) SetID(id string)
SetID sets the ID value of the resource.
func (*LibraryVariableSet) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*LibraryVariableSet) SetModifiedBy ¶ added in v1.7.55
func (r *LibraryVariableSet) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*LibraryVariableSet) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (LibraryVariableSet) Validate ¶ added in v1.7.0
func (l LibraryVariableSet) Validate() error
Validate checks the state of the library variable set and returns an error if invalid.
type LibraryVariableSetUsageEntry ¶ added in v1.7.0
type LibraryVariableSetUsageEntry struct { LibraryVariableSetID string `json:"LibraryVariableSetId,omitempty"` LibraryVariableSetName string `json:"LibraryVariableSetName,omitempty"` // contains filtered or unexported fields }
func NewLibraryVariableSetUsageEntry ¶ added in v1.7.0
func NewLibraryVariableSetUsageEntry() *LibraryVariableSetUsageEntry
func (*LibraryVariableSetUsageEntry) GetID ¶ added in v1.7.0
func (r *LibraryVariableSetUsageEntry) GetID() string
GetID returns the ID value of the resource.
func (*LibraryVariableSetUsageEntry) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*LibraryVariableSetUsageEntry) GetModifiedBy ¶ added in v1.7.0
func (r *LibraryVariableSetUsageEntry) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*LibraryVariableSetUsageEntry) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*LibraryVariableSetUsageEntry) SetID ¶ added in v1.7.55
func (r *LibraryVariableSetUsageEntry) SetID(id string)
SetID sets the ID value of the resource.
func (*LibraryVariableSetUsageEntry) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*LibraryVariableSetUsageEntry) SetModifiedBy ¶ added in v1.7.55
func (r *LibraryVariableSetUsageEntry) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*LibraryVariableSetUsageEntry) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type LibraryVariableSets ¶
type LibraryVariableSets struct { Items []*LibraryVariableSet `json:"Items"` PagedResults }
type LibraryVariablesQuery ¶ added in v1.7.0
type LibraryVariablesQuery struct { ContentType string `uri:"contentType,omitempty" url:"contentType,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type Lifecycle ¶
type Lifecycle struct { Description string `json:"Description,omitempty"` Name string `json:"Name" validate:"required"` Phases []Phase `json:"Phases,omitempty"` ReleaseRetentionPolicy RetentionPeriod `json:"ReleaseRetentionPolicy,omitempty"` SpaceID string `json:"SpaceId,omitempty"` TentacleRetentionPolicy RetentionPeriod `json:"TentacleRetentionPolicy,omitempty"` // contains filtered or unexported fields }
func NewLifecycle ¶
func (*Lifecycle) GetID ¶ added in v1.7.0
func (r *Lifecycle) GetID() string
GetID returns the ID value of the resource.
func (*Lifecycle) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Lifecycle) GetModifiedBy ¶ added in v1.7.0
func (r *Lifecycle) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Lifecycle) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Lifecycle) SetID ¶ added in v1.7.55
func (r *Lifecycle) SetID(id string)
SetID sets the ID value of the resource.
func (*Lifecycle) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Lifecycle) SetModifiedBy ¶ added in v1.7.55
func (r *Lifecycle) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Lifecycle) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type Lifecycles ¶
type Lifecycles struct { Items []*Lifecycle `json:"Items"` PagedResults }
type LifecyclesQuery ¶ added in v1.7.0
type ListAPIMetadata ¶ added in v1.7.0
type ListAPIMetadata struct { APIEndpoint string `json:"ApiEndpoint,omitempty"` SelectMode string `json:"SelectMode,omitempty"` }
func NewListAPIMetadata ¶ added in v1.7.0
func NewListAPIMetadata() *ListAPIMetadata
type ListeningTentacleDeploymentTarget ¶ added in v1.7.5
type ListeningTentacleDeploymentTarget struct { Endpoint *ListeningTentacleEndpoint `json:"Endpoint" validate:"required"` EnvironmentIDs []string `json:"EnvironmentIds,omitempty"` HasLatestCalamari bool `json:"HasLatestCalamari,omitempty"` HealthStatus string `json:"HealthStatus,omitempty" validate:"omitempty,oneof=HasWarnings Healthy Unavailable Unhealthy Unknown"` IsDisabled bool `json:"IsDisabled,omitempty"` IsInProcess bool `json:"IsInProcess,omitempty"` MachinePolicyID string `json:"MachinePolicyId,omitempty"` Name string `json:"Name,omitempty"` OperatingSystem string `json:"OperatingSystem,omitempty"` Roles []string `json:"Roles,omitempty"` ShellName string `json:"ShellName,omitempty"` ShellVersion string `json:"ShellVersion,omitempty"` SpaceID string `json:"SpaceId,omitempty"` Status string `json:"Status,omitempty" validate:"omitempty,oneof=CalamariNeedsUpgrade Disabled NeedsUpgrade Offline Online Unknown"` StatusSummary string `json:"StatusSummary,omitempty"` TenantedDeploymentMode TenantedDeploymentMode `json:"TenantedDeploymentParticipation,omitempty"` TenantIDs []string `json:"TenantIds,omitempty"` TenantTags []string `json:"TenantTags,omitempty"` Thumbprint string `json:"Thumbprint,omitempty"` URI string `json:"Uri,omitempty" validate:"omitempty,uri"` // contains filtered or unexported fields }
func NewListeningTentacleDeploymentTarget ¶ added in v1.7.5
func NewListeningTentacleDeploymentTarget(name string, endpoint *ListeningTentacleEndpoint, environmentIDs []string, roles []string) *ListeningTentacleDeploymentTarget
func (*ListeningTentacleDeploymentTarget) GetEndpoint ¶ added in v1.7.5
func (l *ListeningTentacleDeploymentTarget) GetEndpoint() IEndpoint
func (*ListeningTentacleDeploymentTarget) GetHealthStatus ¶ added in v1.7.5
func (l *ListeningTentacleDeploymentTarget) GetHealthStatus() string
func (*ListeningTentacleDeploymentTarget) GetID ¶ added in v1.7.5
func (r *ListeningTentacleDeploymentTarget) GetID() string
GetID returns the ID value of the resource.
func (*ListeningTentacleDeploymentTarget) GetIsDisabled ¶ added in v1.7.5
func (l *ListeningTentacleDeploymentTarget) GetIsDisabled() bool
func (*ListeningTentacleDeploymentTarget) GetLinks ¶ added in v1.7.5
GetLinks returns the associated links with the value of this resource.
func (*ListeningTentacleDeploymentTarget) GetModifiedBy ¶ added in v1.7.5
func (r *ListeningTentacleDeploymentTarget) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*ListeningTentacleDeploymentTarget) GetModifiedOn ¶ added in v1.7.5
GetModifiedOn returns the time when the value of this resource was changed.
func (*ListeningTentacleDeploymentTarget) GetName ¶ added in v1.7.5
func (l *ListeningTentacleDeploymentTarget) GetName() string
func (*ListeningTentacleDeploymentTarget) SetID ¶ added in v1.7.55
func (r *ListeningTentacleDeploymentTarget) SetID(id string)
SetID sets the ID value of the resource.
func (*ListeningTentacleDeploymentTarget) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*ListeningTentacleDeploymentTarget) SetModifiedBy ¶ added in v1.7.55
func (r *ListeningTentacleDeploymentTarget) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*ListeningTentacleDeploymentTarget) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type ListeningTentacleEndpoint ¶ added in v1.7.0
type ListeningTentacleEndpoint struct { ProxyID string `json:"ProxyId,omitempty"` // contains filtered or unexported fields }
func NewListeningTentacleEndpoint ¶ added in v1.7.0
func NewListeningTentacleEndpoint(uri *url.URL, thumbprint string) *ListeningTentacleEndpoint
func (ListeningTentacleEndpoint) MarshalJSON ¶ added in v1.7.0
func (l ListeningTentacleEndpoint) MarshalJSON() ([]byte, error)
func (*ListeningTentacleEndpoint) UnmarshalJSON ¶ added in v1.7.0
func (l *ListeningTentacleEndpoint) UnmarshalJSON(b []byte) error
UnmarshalJSON sets this tentacle endpoint to its representation in JSON.
type MachineCleanupPolicy ¶ added in v1.7.0
type MachineCleanupPolicy struct { DeleteMachinesBehavior string `json:"DeleteMachinesBehavior" validate:"required,oneof=DeleteUnavailableMachines DoNotDelete"` DeleteMachinesElapsedTimeSpan time.Duration `json:"DeleteMachinesElapsedTimeSpan,omitempty"` }
func NewMachineCleanupPolicy ¶ added in v1.7.0
func NewMachineCleanupPolicy() *MachineCleanupPolicy
func (*MachineCleanupPolicy) MarshalJSON ¶ added in v1.7.0
func (m *MachineCleanupPolicy) MarshalJSON() ([]byte, error)
MarshalJSON returns a machine policy as its JSON encoding.
func (*MachineCleanupPolicy) UnmarshalJSON ¶ added in v1.7.0
func (m *MachineCleanupPolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON sets this Kubernetes endpoint to its representation in JSON.
func (*MachineCleanupPolicy) Validate ¶ added in v1.7.0
func (m *MachineCleanupPolicy) Validate() error
Validate checks the state of the machine policy and returns an error if invalid.
type MachineConnectionStatus ¶ added in v1.7.0
type MachineConnectionStatus struct { CurrentTentacleVersion string `json:"CurrentTentacleVersion,omitempty"` LastChecked time.Time `json:"LastChecked,omitempty"` Logs []*ActivityLogElement `json:"Logs"` MachineID string `json:"MachineId,omitempty"` Status string `json:"Status,omitempty"` // contains filtered or unexported fields }
func NewMachineConnectionStatus ¶ added in v1.7.0
func NewMachineConnectionStatus() *MachineConnectionStatus
func (*MachineConnectionStatus) GetID ¶ added in v1.7.0
func (r *MachineConnectionStatus) GetID() string
GetID returns the ID value of the resource.
func (*MachineConnectionStatus) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*MachineConnectionStatus) GetModifiedBy ¶ added in v1.7.0
func (r *MachineConnectionStatus) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*MachineConnectionStatus) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*MachineConnectionStatus) SetID ¶ added in v1.7.55
func (r *MachineConnectionStatus) SetID(id string)
SetID sets the ID value of the resource.
func (*MachineConnectionStatus) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*MachineConnectionStatus) SetModifiedBy ¶ added in v1.7.55
func (r *MachineConnectionStatus) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*MachineConnectionStatus) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type MachineConnectivityPolicy ¶ added in v1.7.0
type MachineConnectivityPolicy struct {
MachineConnectivityBehavior string `json:"MachineConnectivityBehavior" validate:"oneof=ExpectedToBeOnline MayBeOfflineAndCanBeSkipped"`
}
func NewMachineConnectivityPolicy ¶ added in v1.7.0
func NewMachineConnectivityPolicy() *MachineConnectivityPolicy
type MachineHealthCheckPolicy ¶
type MachineHealthCheckPolicy struct { BashHealthCheckPolicy *MachineScriptPolicy `json:"BashHealthCheckPolicy" validate:"required"` HealthCheckCron string `json:"HealthCheckCron,omitempty"` HealthCheckCronTimezone string `json:"HealthCheckCronTimezone" validate:"required"` HealthCheckInterval time.Duration `json:"HealthCheckInterval,omitempty"` HealthCheckType string `json:"HealthCheckType" validate:"required,oneof=OnlyConnectivity RunScript"` PowerShellHealthCheckPolicy *MachineScriptPolicy `json:"PowerShellHealthCheckPolicy" validate:"required"` }
func NewMachineHealthCheckPolicy ¶ added in v1.7.0
func NewMachineHealthCheckPolicy() *MachineHealthCheckPolicy
func (*MachineHealthCheckPolicy) MarshalJSON ¶ added in v1.7.0
func (m *MachineHealthCheckPolicy) MarshalJSON() ([]byte, error)
MarshalJSON returns a machine health check policy as its JSON encoding.
func (*MachineHealthCheckPolicy) UnmarshalJSON ¶ added in v1.7.0
func (m *MachineHealthCheckPolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON sets this machine health check policy to its representation in JSON.
func (*MachineHealthCheckPolicy) Validate ¶ added in v1.7.0
func (m *MachineHealthCheckPolicy) Validate() error
Validate checks the state of the machine health check policy and returns an error if invalid.
type MachinePolicies ¶
type MachinePolicies struct { Items []*MachinePolicy `json:"Items"` PagedResults }
type MachinePoliciesQuery ¶ added in v1.7.0
type MachinePolicy ¶
type MachinePolicy struct { ConnectionConnectTimeout time.Duration `json:"ConnectionConnectTimeout" validate:"required,min=10s"` ConnectionRetryCountLimit int32 `json:"ConnectionRetryCountLimit" validate:"required,gte=2"` ConnectionRetrySleepInterval time.Duration `json:"ConnectionRetrySleepInterval" validate:"required"` ConnectionRetryTimeLimit time.Duration `json:"ConnectionRetryTimeLimit" validate:"required,min=10s"` Description string `json:"Description,omitempty"` IsDefault bool `json:"IsDefault"` MachineCleanupPolicy *MachineCleanupPolicy `json:"MachineCleanupPolicy"` MachineConnectivityPolicy *MachineConnectivityPolicy `json:"MachineConnectivityPolicy"` MachineHealthCheckPolicy *MachineHealthCheckPolicy `json:"MachineHealthCheckPolicy"` MachineUpdatePolicy *MachineUpdatePolicy `json:"MachineUpdatePolicy"` Name string `json:"Name" validate:"required,notblank"` PollingRequestMaximumMessageProcessingTimeout time.Duration `json:"PollingRequestMaximumMessageProcessingTimeout" validate:"required"` PollingRequestQueueTimeout time.Duration `json:"PollingRequestQueueTimeout" validate:"required"` SpaceID string `json:"SpaceId,omitempty"` // contains filtered or unexported fields }
func NewMachinePolicy ¶ added in v1.7.0
func NewMachinePolicy(name string) *MachinePolicy
func (*MachinePolicy) GetID ¶ added in v1.7.0
func (r *MachinePolicy) GetID() string
GetID returns the ID value of the resource.
func (*MachinePolicy) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*MachinePolicy) GetModifiedBy ¶ added in v1.7.0
func (r *MachinePolicy) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*MachinePolicy) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*MachinePolicy) MarshalJSON ¶ added in v1.7.0
func (m *MachinePolicy) MarshalJSON() ([]byte, error)
MarshalJSON returns a machine policy as its JSON encoding.
func (*MachinePolicy) SetID ¶ added in v1.7.55
func (r *MachinePolicy) SetID(id string)
SetID sets the ID value of the resource.
func (*MachinePolicy) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*MachinePolicy) SetModifiedBy ¶ added in v1.7.55
func (r *MachinePolicy) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*MachinePolicy) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*MachinePolicy) UnmarshalJSON ¶ added in v1.7.0
func (m *MachinePolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON sets this Kubernetes endpoint to its representation in JSON.
func (*MachinePolicy) Validate ¶ added in v1.7.0
func (m *MachinePolicy) Validate() error
Validate checks the state of the machine policy and returns an error if invalid.
type MachineScriptPolicy ¶ added in v1.7.0
type MachineScriptPolicy struct { RunType string `json:"RunType" validate:"required,oneof=InheritFromDefault Inline OnlyConnectivity"` ScriptBody *string `json:"ScriptBody"` }
func NewMachineScriptPolicy ¶ added in v1.7.0
func NewMachineScriptPolicy() *MachineScriptPolicy
type MachineUpdatePolicy ¶ added in v1.7.0
type MachineUpdatePolicy struct { CalamariUpdateBehavior string `json:"CalamariUpdateBehavior" validate:"required,oneof=UpdateAlways UpdateOnDeployment UpdateOnNewMachine"` TentacleUpdateAccountID string `json:"TentacleUpdateAccountId,omitempty"` TentacleUpdateBehavior string `json:"TentacleUpdateBehavior" validate:"required,oneof=NeverUpdate Update"` }
func NewMachineUpdatePolicy ¶ added in v1.7.0
func NewMachineUpdatePolicy() *MachineUpdatePolicy
type MachinesQuery ¶ added in v1.7.0
type MachinesQuery struct { CommunicationStyles []string `uri:"commStyles,omitempty" url:"commStyles,omitempty"` DeploymentID string `uri:"deploymentId,omitempty" url:"deploymentId,omitempty"` EnvironmentIDs []string `uri:"environmentIds,omitempty" url:"environmentIds,omitempty"` HealthStatuses []string `uri:"healthStatuses,omitempty" url:"healthStatuses,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IsDisabled bool `uri:"isDisabled,omitempty" url:"isDisabled,omitempty"` Name string `uri:"name,omitempty" url:"name,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Roles []string `uri:"roles,omitempty" url:"roles,omitempty"` ShellNames []string `uri:"shellNames,omitempty" url:"shellNames,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` TenantIDs []string `uri:"tenantIds,omitempty" url:"tenantIds,omitempty"` TenantTags []string `uri:"tenantTags,omitempty" url:"tenantTags,omitempty"` Thumbprint string `uri:"thumbprint,omitempty" url:"thumbprint,omitempty"` }
type MavenFeed ¶ added in v1.7.0
type MavenFeed struct { DownloadAttempts int `json:"DownloadAttempts"` DownloadRetryBackoffSeconds int `json:"DownloadRetryBackoffSeconds"` FeedURI string `json:"FeedUri,omitempty"` // contains filtered or unexported fields }
MavenFeed represents a Maven feed.
func NewMavenFeed ¶ added in v1.7.0
NewMavenFeed creates and initializes a Maven feed.
func (*MavenFeed) GetFeedType ¶ added in v1.8.0
func (f *MavenFeed) GetFeedType() FeedType
GetFeedType returns the type of this feed.
func (*MavenFeed) GetName ¶ added in v1.8.0
func (f *MavenFeed) GetName() string
GetName returns the name of the feed.
func (*MavenFeed) GetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *MavenFeed) GetPackageAcquisitionLocationOptions() []string
GetPackageAcquisitionLocationOptions returns the package acquisition location options of the feed.
func (*MavenFeed) GetPassword ¶ added in v1.8.0
func (f *MavenFeed) GetPassword() *SensitiveValue
GetPassword returns the password of the feed.
func (*MavenFeed) GetSpaceID ¶ added in v1.8.0
func (f *MavenFeed) GetSpaceID() string
GetSpaceID returns the space ID of the feed.
func (*MavenFeed) GetUsername ¶ added in v1.8.0
func (f *MavenFeed) GetUsername() string
GetUsername returns the username of the feed.
func (*MavenFeed) SetFeedType ¶ added in v1.8.0
func (f *MavenFeed) SetFeedType(feedType FeedType)
SetFeedType returns the type of this feed.
func (*MavenFeed) SetName ¶ added in v1.8.0
func (f *MavenFeed) SetName(name string)
SetName sets the name of the feed.
func (*MavenFeed) SetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *MavenFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
SetPackageAcquisitionLocationOptions sets the package acquisition location options of the feed.
func (*MavenFeed) SetPassword ¶ added in v1.8.0
func (f *MavenFeed) SetPassword(password *SensitiveValue)
SetPassword sets the password of the feed.
func (*MavenFeed) SetSpaceID ¶ added in v1.8.0
func (f *MavenFeed) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of the feed.
func (*MavenFeed) SetUsername ¶ added in v1.8.0
func (f *MavenFeed) SetUsername(username string)
SetUsername sets the username of the feed.
type Metadata ¶ added in v1.7.0
type Metadata struct { Description string `json:"Description,omitempty"` Types []*TypeMetadata `json:"Types"` }
func NewMetadata ¶ added in v1.7.0
func NewMetadata() *Metadata
type MissingVariable ¶ added in v1.7.24
type MissingVariable struct { EnvironmentID string `json:"EnvironmentId,omitempty"` LibraryVariableSetID string `json:"LibraryVariableSetId,omitempty"` Links map[string]string `json:"Links,omitempty"` ProjectID string `json:"ProjectId,omitempty"` VariableTemplateID string `json:"VariableTemplateId,omitempty"` VariableTemplateName string `json:"VariableTemplateName,omitempty"` }
type MissingVariablesQuery ¶ added in v1.7.24
type MissingVariablesQuery struct { EnvironmentID string `uri:"environmentId,omitempty" url:"environmentId,omitempty"` IncludeDetails bool `uri:"includeDetails,omitempty" url:"includeDetails,omitempty"` ProjectID string `uri:"projectId,omitempty" url:"projectId,omitempty"` TenantID string `uri:"tenantId,omitempty" url:"tenantId,omitempty"` }
type MonthlySchedule ¶ added in v1.7.45
type MonthlySchedule int
const ( DateOfMonth MonthlySchedule = iota DayOfMonth )
func MonthlyScheduleString ¶ added in v1.7.45
func MonthlyScheduleString(s string) (MonthlySchedule, error)
MonthlyScheduleString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func MonthlyScheduleValues ¶ added in v1.7.45
func MonthlyScheduleValues() []MonthlySchedule
MonthlyScheduleValues returns all values of the enum
func (MonthlySchedule) IsAMonthlySchedule ¶ added in v1.7.45
func (i MonthlySchedule) IsAMonthlySchedule() bool
IsAMonthlySchedule returns "true" if the value is listed in the enum definition. "false" otherwise
func (MonthlySchedule) MarshalJSON ¶ added in v1.7.45
func (i MonthlySchedule) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for MonthlySchedule
func (MonthlySchedule) String ¶ added in v1.7.45
func (i MonthlySchedule) String() string
func (*MonthlySchedule) UnmarshalJSON ¶ added in v1.7.45
func (i *MonthlySchedule) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MonthlySchedule
type NamedReferenceItem ¶ added in v1.7.0
type NamedReferenceItem struct { DisplayIDAndName bool `json:"DisplayIdAndName,omitempty"` DisplayName string `json:"DisplayName,omitempty"` ID string `json:"Id,omitempty"` }
func NewNamedReferenceItem ¶ added in v1.7.0
func NewNamedReferenceItem() *NamedReferenceItem
type NuGetFeed ¶ added in v1.7.0
type NuGetFeed struct { DownloadAttempts int `json:"DownloadAttempts"` DownloadRetryBackoffSeconds int `json:"DownloadRetryBackoffSeconds"` EnhancedMode bool `json:"EnhancedMode"` FeedURI string `json:"FeedUri,omitempty"` // contains filtered or unexported fields }
NuGetFeed represents a NuGet feed.
func NewNuGetFeed ¶ added in v1.7.0
NewNuGetFeed creates and initializes a NuGet feed.
func (*NuGetFeed) GetFeedType ¶ added in v1.8.0
func (f *NuGetFeed) GetFeedType() FeedType
GetFeedType returns the type of this feed.
func (*NuGetFeed) GetName ¶ added in v1.8.0
func (f *NuGetFeed) GetName() string
GetName returns the name of the feed.
func (*NuGetFeed) GetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *NuGetFeed) GetPackageAcquisitionLocationOptions() []string
GetPackageAcquisitionLocationOptions returns the package acquisition location options of the feed.
func (*NuGetFeed) GetPassword ¶ added in v1.8.0
func (f *NuGetFeed) GetPassword() *SensitiveValue
GetPassword returns the password of the feed.
func (*NuGetFeed) GetSpaceID ¶ added in v1.8.0
func (f *NuGetFeed) GetSpaceID() string
GetSpaceID returns the space ID of the feed.
func (*NuGetFeed) GetUsername ¶ added in v1.8.0
func (f *NuGetFeed) GetUsername() string
GetUsername returns the username of the feed.
func (*NuGetFeed) SetFeedType ¶ added in v1.8.0
func (f *NuGetFeed) SetFeedType(feedType FeedType)
SetFeedType returns the type of this feed.
func (*NuGetFeed) SetName ¶ added in v1.8.0
func (f *NuGetFeed) SetName(name string)
SetName sets the name of the feed.
func (*NuGetFeed) SetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *NuGetFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
SetPackageAcquisitionLocationOptions sets the package acquisition location options of the feed.
func (*NuGetFeed) SetPassword ¶ added in v1.8.0
func (f *NuGetFeed) SetPassword(password *SensitiveValue)
SetPassword sets the password of the feed.
func (*NuGetFeed) SetSpaceID ¶ added in v1.8.0
func (f *NuGetFeed) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of the feed.
func (*NuGetFeed) SetUsername ¶ added in v1.8.0
func (f *NuGetFeed) SetUsername(username string)
SetUsername sets the username of the feed.
type OctopusProjectFeed ¶ added in v1.7.0
type OctopusProjectFeed struct {
// contains filtered or unexported fields
}
OctopusProjectFeed represents an Octopus project feed.
func NewOctopusProjectFeed ¶ added in v1.7.0
func NewOctopusProjectFeed(name string) (*OctopusProjectFeed, error)
NewOctopusProjectFeed creates and initializes a Octopus project feed.
func (*OctopusProjectFeed) GetFeedType ¶ added in v1.8.0
func (f *OctopusProjectFeed) GetFeedType() FeedType
GetFeedType returns the type of this feed.
func (*OctopusProjectFeed) GetName ¶ added in v1.8.0
func (f *OctopusProjectFeed) GetName() string
GetName returns the name of the feed.
func (*OctopusProjectFeed) GetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *OctopusProjectFeed) GetPackageAcquisitionLocationOptions() []string
GetPackageAcquisitionLocationOptions returns the package acquisition location options of the feed.
func (*OctopusProjectFeed) GetPassword ¶ added in v1.8.0
func (f *OctopusProjectFeed) GetPassword() *SensitiveValue
GetPassword returns the password of the feed.
func (*OctopusProjectFeed) GetSpaceID ¶ added in v1.8.0
func (f *OctopusProjectFeed) GetSpaceID() string
GetSpaceID returns the space ID of the feed.
func (*OctopusProjectFeed) GetUsername ¶ added in v1.8.0
func (f *OctopusProjectFeed) GetUsername() string
GetUsername returns the username of the feed.
func (*OctopusProjectFeed) SetFeedType ¶ added in v1.8.0
func (f *OctopusProjectFeed) SetFeedType(feedType FeedType)
SetFeedType returns the type of this feed.
func (*OctopusProjectFeed) SetName ¶ added in v1.8.0
func (f *OctopusProjectFeed) SetName(name string)
SetName sets the name of the feed.
func (*OctopusProjectFeed) SetPackageAcquisitionLocationOptions ¶ added in v1.8.0
func (f *OctopusProjectFeed) SetPackageAcquisitionLocationOptions(packageAcquisitionLocationOptions []string)
SetPackageAcquisitionLocationOptions sets the package acquisition location options of the feed.
func (*OctopusProjectFeed) SetPassword ¶ added in v1.8.0
func (f *OctopusProjectFeed) SetPassword(password *SensitiveValue)
SetPassword sets the password of the feed.
func (*OctopusProjectFeed) SetSpaceID ¶ added in v1.8.0
func (f *OctopusProjectFeed) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of the feed.
func (*OctopusProjectFeed) SetUsername ¶ added in v1.8.0
func (f *OctopusProjectFeed) SetUsername(username string)
SetUsername sets the username of the feed.
func (*OctopusProjectFeed) Validate ¶ added in v1.7.0
func (o *OctopusProjectFeed) Validate() error
Validate checks the state of this Octopus project feed and returns an error if invalid.
type OctopusServerNodeResource ¶ added in v1.7.0
type OctopusServerNodeResource struct { IsInMaintenanceMode bool `json:"IsInMaintenanceMode,omitempty"` MaxConcurrentTasks int32 `json:"MaxConcurrentTasks,omitempty"` Name string `json:"Name,omitempty"` // contains filtered or unexported fields }
func NewOctopusServerNodeResource ¶ added in v1.7.0
func NewOctopusServerNodeResource() *OctopusServerNodeResource
func (*OctopusServerNodeResource) GetID ¶ added in v1.7.0
func (r *OctopusServerNodeResource) GetID() string
GetID returns the ID value of the resource.
func (*OctopusServerNodeResource) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*OctopusServerNodeResource) GetModifiedBy ¶ added in v1.7.0
func (r *OctopusServerNodeResource) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*OctopusServerNodeResource) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*OctopusServerNodeResource) SetID ¶ added in v1.7.55
func (r *OctopusServerNodeResource) SetID(id string)
SetID sets the ID value of the resource.
func (*OctopusServerNodeResource) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*OctopusServerNodeResource) SetModifiedBy ¶ added in v1.7.55
func (r *OctopusServerNodeResource) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*OctopusServerNodeResource) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type OctopusServerNodesQuery ¶ added in v1.7.0
type OfflinePackageDropDeploymentTarget ¶ added in v1.7.3
type OfflinePackageDropDeploymentTarget struct { Endpoint OfflinePackageDropEndpoint `json:"Endpoint" validate:"required"` EnvironmentIDs []string `json:"EnvironmentIds"` HasLatestCalamari bool `json:"HasLatestCalamari"` HealthStatus string `json:"HealthStatus,omitempty" validate:"omitempty,oneof=HasWarnings Healthy Unavailable Unhealthy Unknown"` IsDisabled bool `json:"IsDisabled"` IsInProcess bool `json:"IsInProcess"` MachinePolicyID string `json:"MachinePolicyId,omitempty"` Name string `json:"Name"` OperatingSystem string `json:"OperatingSystem,omitempty"` Roles []string `json:"Roles"` ShellName string `json:"ShellName,omitempty"` ShellVersion string `json:"ShellVersion,omitempty"` SpaceID string `json:"SpaceId,omitempty"` Status string `json:"Status,omitempty" validate:"omitempty,oneof=CalamariNeedsUpgrade Disabled NeedsUpgrade Offline Online Unknown"` StatusSummary string `json:"StatusSummary,omitempty"` TenantedDeploymentMode TenantedDeploymentMode `json:"TenantedDeploymentParticipation,omitempty"` TenantIDs []string `json:"TenantIds"` TenantTags []string `json:"TenantTags"` Thumbprint string `json:"Thumbprint,omitempty"` URI string `json:"Uri,omitempty" validate:"omitempty,uri"` // contains filtered or unexported fields }
func NewOfflinePackageDropDeploymentTarget ¶ added in v1.7.3
func NewOfflinePackageDropDeploymentTarget(name string, endpoint OfflinePackageDropEndpoint, environmentIDs []string, roles []string) *OfflinePackageDropDeploymentTarget
func (*OfflinePackageDropDeploymentTarget) GetID ¶ added in v1.7.3
func (r *OfflinePackageDropDeploymentTarget) GetID() string
GetID returns the ID value of the resource.
func (*OfflinePackageDropDeploymentTarget) GetLinks ¶ added in v1.7.3
GetLinks returns the associated links with the value of this resource.
func (*OfflinePackageDropDeploymentTarget) GetModifiedBy ¶ added in v1.7.3
func (r *OfflinePackageDropDeploymentTarget) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*OfflinePackageDropDeploymentTarget) GetModifiedOn ¶ added in v1.7.3
GetModifiedOn returns the time when the value of this resource was changed.
func (*OfflinePackageDropDeploymentTarget) SetID ¶ added in v1.7.55
func (r *OfflinePackageDropDeploymentTarget) SetID(id string)
SetID sets the ID value of the resource.
func (*OfflinePackageDropDeploymentTarget) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*OfflinePackageDropDeploymentTarget) SetModifiedBy ¶ added in v1.7.55
func (r *OfflinePackageDropDeploymentTarget) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*OfflinePackageDropDeploymentTarget) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type OfflinePackageDropDestination ¶ added in v1.7.3
type OfflinePackageDropDestination struct { DestinationType string `json:"DestinationType" validate:"oneof=Artifact FileSystem"` DropFolderPath string `json:"DropFolderPath,omitempty"` }
func NewOfflinePackageDropDestination ¶ added in v1.7.3
func NewOfflinePackageDropDestination() *OfflinePackageDropDestination
type OfflinePackageDropEndpoint ¶ added in v1.7.3
type OfflinePackageDropEndpoint struct { ApplicationsDirectory string `json:"ApplicationsDirectory,omitempty"` Destination *OfflinePackageDropDestination `json:"Destination"` SensitiveVariablesEncryptionPassword *SensitiveValue `json:"SensitiveVariablesEncryptionPassword"` WorkingDirectory string `json:"OctopusWorkingDirectory,omitempty"` // contains filtered or unexported fields }
func NewOfflinePackageDropEndpoint ¶ added in v1.7.3
func NewOfflinePackageDropEndpoint() *OfflinePackageDropEndpoint
func (OfflinePackageDropEndpoint) GetCommunicationStyle ¶ added in v1.7.3
func (e OfflinePackageDropEndpoint) GetCommunicationStyle() string
GetCommunicationStyle returns the communication style of this endpoint.
type OnceDailyScheduledTriggerFilter ¶ added in v1.7.45
type OnceDailyScheduledTriggerFilter struct { Days []Weekday `json:"DaysOfWeek,omitempty"` // contains filtered or unexported fields }
func NewOnceDailyScheduledTriggerFilter ¶ added in v1.7.45
func NewOnceDailyScheduledTriggerFilter(days []Weekday, start time.Time) *OnceDailyScheduledTriggerFilter
func (*OnceDailyScheduledTriggerFilter) GetFilterType ¶ added in v1.7.45
func (t *OnceDailyScheduledTriggerFilter) GetFilterType() FilterType
func (*OnceDailyScheduledTriggerFilter) SetFilterType ¶ added in v1.7.45
func (t *OnceDailyScheduledTriggerFilter) SetFilterType(filterType FilterType)
type OptionsMetadata ¶ added in v1.7.0
type OptionsMetadata struct { SelectMode string `json:"SelectMode,omitempty"` Values map[string]string `json:"Values,omitempty"` }
func NewOptionsMetadata ¶ added in v1.7.0
func NewOptionsMetadata() *OptionsMetadata
type Package ¶ added in v1.7.0
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 `json:"PackageVersionBuildInformation,omitempty"` Published time.Time `json:"ReleaseNotes,omitempty"` Summary string `json:"Summary,omitempty"` Title string `json:"Title,omitempty"` Version string `json:"Version,omitempty"` // contains filtered or unexported fields }
func NewPackage ¶ added in v1.7.0
func NewPackage() *Package
func (*Package) GetID ¶ added in v1.7.0
func (r *Package) GetID() string
GetID returns the ID value of the resource.
func (*Package) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Package) GetModifiedBy ¶ added in v1.7.0
func (r *Package) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Package) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Package) SetID ¶ added in v1.7.55
func (r *Package) SetID(id string)
SetID sets the ID value of the resource.
func (*Package) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Package) SetModifiedBy ¶ added in v1.7.55
func (r *Package) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Package) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type PackageDeltaSignatureQuery ¶ added in v1.7.0
type PackageDeltaUploadQuery ¶ added in v1.7.0
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 ¶ added in v1.7.0
type PackageDescriptions ¶ added in v1.7.0
type PackageDescriptions struct { Items []*PackageDescription `json:"Items"` PagedResults }
type PackageMetadataQuery ¶ added in v1.7.0
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 PackageNote ¶ added in v1.7.0
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 ¶ added in v1.7.0
func NewPackageNote() *PackageNote
type PackageNotesListQuery ¶ added in v1.7.0
type PackageNotesListQuery struct {
PackageIDs []string `uri:"packageIds,omitempty" url:"packageIds,omitempty"`
}
type PackageNotesResult ¶ added in v1.7.0
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 ¶ added in v1.7.0
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 PackageUploadQuery ¶ added in v1.7.0
type PackageVersion ¶ added in v1.7.0
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"` // contains filtered or unexported fields }
func NewPackageVersion ¶ added in v1.7.0
func NewPackageVersion() *PackageVersion
func (*PackageVersion) GetID ¶ added in v1.7.0
func (r *PackageVersion) GetID() string
GetID returns the ID value of the resource.
func (*PackageVersion) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*PackageVersion) GetModifiedBy ¶ added in v1.7.0
func (r *PackageVersion) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*PackageVersion) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*PackageVersion) SetID ¶ added in v1.7.55
func (r *PackageVersion) SetID(id string)
SetID sets the ID value of the resource.
func (*PackageVersion) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*PackageVersion) SetModifiedBy ¶ added in v1.7.55
func (r *PackageVersion) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*PackageVersion) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type Packages ¶ added in v1.7.0
type Packages struct { Items []*Package `json:"Items"` PagedResults }
type PackagesBulkQuery ¶ added in v1.7.0
type PackagesBulkQuery struct {
IDs []string `uri:"ids,omitempty" url:"ids,omitempty"`
}
type PackagesQuery ¶ added in v1.7.0
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"` }
type PagedResults ¶
type PermissionDescription ¶ added in v1.7.0
type Phase ¶
type Phase struct { AutomaticDeploymentTargets []string `json:"AutomaticDeploymentTargets"` ID string `json:"Id,omitempty"` IsOptionalPhase bool `json:"IsOptionalPhase"` MinimumEnvironmentsBeforePromotion int32 `json:"MinimumEnvironmentsBeforePromotion"` Name string `json:"Name" validate:"required"` OptionalDeploymentTargets []string `json:"OptionalDeploymentTargets"` ReleaseRetentionPolicy *RetentionPeriod `json:"ReleaseRetentionPolicy"` TentacleRetentionPolicy *RetentionPeriod `json:"TentacleRetentionPolicy"` }
type PollingTentacleEndpoint ¶ added in v1.7.0
type PollingTentacleEndpoint struct {
// contains filtered or unexported fields
}
func NewPollingTentacleEndpoint ¶ added in v1.7.0
func NewPollingTentacleEndpoint(uri *url.URL, thumbprint string) *PollingTentacleEndpoint
func (PollingTentacleEndpoint) MarshalJSON ¶ added in v1.7.3
func (p PollingTentacleEndpoint) MarshalJSON() ([]byte, error)
func (*PollingTentacleEndpoint) UnmarshalJSON ¶ added in v1.7.3
func (p *PollingTentacleEndpoint) UnmarshalJSON(b []byte) error
UnmarshalJSON sets this tentacle endpoint to its representation in JSON.
func (*PollingTentacleEndpoint) Validate ¶ added in v1.7.0
func (l *PollingTentacleEndpoint) Validate() error
Validate checks the state of the listening tentacle endpoint and returns an error if invalid.
type ProcessReferenceDataItem ¶ added in v1.7.0
type Progression ¶ added in v1.7.0
type Progression struct { ChannelEnvironments map[string][]ReferenceDataItem `json:"ChannelEnvironments,omitempty"` Environments []*ReferenceDataItem `json:"Environments"` Releases []*ReleaseProgression `json:"Releases"` // contains filtered or unexported fields }
func (*Progression) GetID ¶ added in v1.7.0
func (r *Progression) GetID() string
GetID returns the ID value of the resource.
func (*Progression) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Progression) GetModifiedBy ¶ added in v1.7.0
func (r *Progression) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Progression) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Progression) SetID ¶ added in v1.7.55
func (r *Progression) SetID(id string)
SetID sets the ID value of the resource.
func (*Progression) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Progression) SetModifiedBy ¶ added in v1.7.55
func (r *Progression) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Progression) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type Project ¶
type Project struct { AutoCreateRelease bool `json:"AutoCreateRelease,omitempty"` AutoDeployReleaseOverrides []AutoDeployReleaseOverride `json:"AutoDeployReleaseOverrides,omitempty"` ClonedFromProjectID string `json:"ClonedFromProjectId,omitempty"` ConnectivityPolicy *ConnectivityPolicy `json:"ProjectConnectivityPolicy,omitempty"` DefaultGuidedFailureMode string `json:"DefaultGuidedFailureMode,omitempty"` DefaultToSkipIfAlreadyInstalled bool `json:"DefaultToSkipIfAlreadyInstalled,omitempty"` DeploymentChangesTemplate string `json:"DeploymentChangesTemplate,omitempty"` DeploymentProcessID string `json:"DeploymentProcessId,omitempty"` Description string `json:"Description,omitempty"` ExtensionSettings []ExtensionSettingsValues `json:"ExtensionSettings,omitempty"` IncludedLibraryVariableSets []string `json:"IncludedLibraryVariableSetIds,omitempty"` IsDisabled bool `json:"IsDisabled,omitempty"` IsDiscreteChannelRelease bool `json:"DiscreteChannelRelease,omitempty"` IsVersionControlled bool `json:"IsVersionControlled,omitempty"` LifecycleID string `json:"LifecycleId" validate:"required"` Name string `json:"Name" validate:"required"` PersistenceSettings IPersistenceSettings `json:"PersistenceSettings,omitempty"` ProjectGroupID string `json:"ProjectGroupId" validate:"required"` ReleaseCreationStrategy *ReleaseCreationStrategy `json:"ReleaseCreationStrategy,omitempty"` ReleaseNotesTemplate string `json:"ReleaseNotesTemplate,omitempty"` Slug string `json:"Slug,omitempty"` SpaceID string `json:"SpaceId,omitempty"` Templates []ActionTemplateParameter `json:"Templates,omitempty"` TenantedDeploymentMode TenantedDeploymentMode `json:"TenantedDeploymentMode,omitempty"` VariableSetID string `json:"VariableSetId,omitempty"` VersioningStrategy *VersioningStrategy `json:"VersioningStrategy,omitempty"` // contains filtered or unexported fields }
func (*Project) GetID ¶ added in v1.7.0
func (r *Project) GetID() string
GetID returns the ID value of the resource.
func (*Project) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Project) GetModifiedBy ¶ added in v1.7.0
func (r *Project) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Project) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Project) SetID ¶ added in v1.7.55
func (r *Project) SetID(id string)
SetID sets the ID value of the resource.
func (*Project) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Project) SetModifiedBy ¶ added in v1.7.55
func (r *Project) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Project) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*Project) UnmarshalJSON ¶ added in v1.7.55
UnmarshalJSON sets this project to its representation in JSON.
type ProjectGroup ¶
type ProjectGroup struct { Description string `json:"Description,omitempty"` EnvironmentIDs []string `json:"EnvironmentIds,omitempty"` Name string `json:"Name,omitempty" validate:"required"` RetentionPolicyID string `json:"RetentionPolicyId,omitempty"` SpaceID string `json:"SpaceId,omitempty"` // contains filtered or unexported fields }
func NewProjectGroup ¶
func NewProjectGroup(name string) *ProjectGroup
func (*ProjectGroup) GetID ¶ added in v1.7.0
func (r *ProjectGroup) GetID() string
GetID returns the ID value of the resource.
func (*ProjectGroup) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*ProjectGroup) GetModifiedBy ¶ added in v1.7.0
func (r *ProjectGroup) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*ProjectGroup) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*ProjectGroup) SetID ¶ added in v1.7.55
func (r *ProjectGroup) SetID(id string)
SetID sets the ID value of the resource.
func (*ProjectGroup) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*ProjectGroup) SetModifiedBy ¶ added in v1.7.55
func (r *ProjectGroup) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*ProjectGroup) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type ProjectGroups ¶
type ProjectGroups struct { Items []*ProjectGroup `json:"Items"` PagedResults }
type ProjectGroupsQuery ¶ added in v1.7.0
type ProjectPulseQuery ¶ added in v1.7.0
type ProjectPulseQuery struct {
ProjectIDs []string `uri:"projectIds,omitempty" url:"projectIds,omitempty"`
}
type ProjectSummary ¶ added in v1.7.0
type ProjectTrigger ¶
type ProjectTrigger struct { Action ITriggerAction `json:"Action"` Description string `json:"Description,omitempty"` Filter ITriggerFilter `json:"Filter"` IsDisabled bool `json:"IsDisabled,omitempty"` Name string `json:"Name"` ProjectID string `json:"ProjectId,omitempty"` SpaceID string `json:"SpaceId,omitempty"` // contains filtered or unexported fields }
func NewProjectTrigger ¶ added in v1.7.45
func NewProjectTrigger(name string, description string, isDisabled bool, projectID string, action ITriggerAction, filter ITriggerFilter) *ProjectTrigger
func (*ProjectTrigger) GetID ¶ added in v1.7.0
func (r *ProjectTrigger) GetID() string
GetID returns the ID value of the resource.
func (*ProjectTrigger) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*ProjectTrigger) GetModifiedBy ¶ added in v1.7.0
func (r *ProjectTrigger) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*ProjectTrigger) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*ProjectTrigger) SetID ¶ added in v1.7.55
func (r *ProjectTrigger) SetID(id string)
SetID sets the ID value of the resource.
func (*ProjectTrigger) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*ProjectTrigger) SetModifiedBy ¶ added in v1.7.55
func (r *ProjectTrigger) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*ProjectTrigger) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*ProjectTrigger) UnmarshalJSON ¶ added in v1.7.45
func (projectTrigger *ProjectTrigger) UnmarshalJSON(b []byte) error
UnmarshalJSON sets this trigger to its representation in JSON.
func (*ProjectTrigger) Validate ¶ added in v1.7.0
func (t *ProjectTrigger) Validate() error
Validate checks the state of the deployment target and returns an error if invalid.
type ProjectTriggerAction ¶
type ProjectTriggerAction struct { ActionType string `json:"ActionType"` DestinationEnvironmentID string `json:"DestinationEnvironmentId"` ShouldRedeployWhenMachineHasBeenDeployedTo bool `json:"ShouldRedeployWhenMachineHasBeenDeployedTo"` SourceEnvironmentID string `json:"SourceEnvironmentId"` }
func (*ProjectTriggerAction) GetActionType ¶ added in v1.7.45
func (a *ProjectTriggerAction) GetActionType() ActionType
func (*ProjectTriggerAction) SetActionType ¶ added in v1.7.45
func (a *ProjectTriggerAction) SetActionType(actionType ActionType)
type ProjectTriggerFilter ¶
type ProjectTriggerFilter struct { DateOfMonth string `json:"DateOfMonth"` DayNumberOfMonth string `json:"DayNumberOfMonth"` DayOfWeek string `json:"DayOfWeek"` EnvironmentIDs []string `json:"EnvironmentIds,omitempty"` EventCategories []string `json:"EventCategories,omitempty"` EventGroups []string `json:"EventGroups,omitempty"` FilterType string `json:"FilterType"` MonthlyScheduleType string `json:"MonthlyScheduleType"` Roles []string `json:"Roles"` StartTime string `json:"StartTime"` Timezone string `json:"Timezone"` }
func (*ProjectTriggerFilter) GetFilterType ¶ added in v1.7.45
func (f *ProjectTriggerFilter) GetFilterType() FilterType
func (*ProjectTriggerFilter) SetFilterType ¶ added in v1.7.45
func (f *ProjectTriggerFilter) SetFilterType(filterType FilterType)
func (*ProjectTriggerFilter) Validate ¶ added in v1.7.45
func (f *ProjectTriggerFilter) Validate() error
type ProjectTriggers ¶
type ProjectTriggers struct { Items []*ProjectTrigger `json:"Items"` PagedResults }
type ProjectTriggersQuery ¶ added in v1.7.0
type ProjectVariable ¶ added in v1.7.24
type ProjectVariable struct { Links map[string]string `json:"Links,omitempty"` ProjectID string `json:"ProjectId,omitempty"` ProjectName string `json:"ProjectName,omitempty"` Templates []*ActionTemplateParameter `json:"Templates"` Variables map[string]map[string]PropertyValue `json:"Variables,omitempty"` }
type ProjectVariableSetUsage ¶ added in v1.7.0
type ProjectVariableSetUsage struct { IsCurrentlyBeingUsedInProject bool `json:"IsCurrentlyBeingUsedInProject"` ProjectID string `json:"ProjectId,omitempty"` ProjectName string `json:"ProjectName,omitempty"` ProjectSlug string `json:"ProjectSlug,omitempty"` Releases []*ReleaseUsageEntry `json:"Releases"` RunbookSnapshots []*RunbookSnapshotUsageEntry `json:"RunbookSnapshots"` }
type ProjectedTeamReferenceDataItem ¶ added in v1.7.0
type ProjectedTeamReferenceDataItem struct { ExternalSecurityGroups []NamedReferenceItem `json:"ExternalSecurityGroups"` ID string `json:"Id,omitempty"` IsDirectlyAssigned bool `json:"IsDirectlyAssigned,omitempty"` Name string `json:"Name,omitempty"` SpaceID string `json:"SpaceId,omitempty"` }
type Projects ¶
type Projects struct { Items []*Project `json:"Items"` PagedResults }
type ProjectsExperimentalSummariesQuery ¶ added in v1.7.0
type ProjectsExperimentalSummariesQuery struct {
IDs []string `uri:"ids,omitempty" url:"ids,omitempty"`
}
type ProjectsQuery ¶ added in v1.7.0
type ProjectsQuery struct { ClonedFromProjectID string `url:"clonedFromProjectId"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IsClone bool `uri:"clone,omitempty" url:"clone,omitempty"` Name string `uri:"name,omitempty" url:"name,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type PropertyApplicability ¶ added in v1.7.0
type PropertyApplicability struct { DependsOnPropertyName string `json:"DependsOnPropertyName,omitempty"` DependsOnPropertyValue interface{} `json:"DependsOnPropertyValue,omitempty"` Mode string `` /* 149-byte string literal not displayed */ }
func NewPropertyApplicability ¶ added in v1.7.0
func NewPropertyApplicability() *PropertyApplicability
func (PropertyApplicability) Validate ¶ added in v1.7.0
func (p PropertyApplicability) Validate() error
Validate checks the state of the property applicability and returns an error if invalid.
type PropertyMetadata ¶ added in v1.7.0
type PropertyMetadata struct { DisplayInfo *DisplayInfo `json:"DisplayInfo,omitempty"` Name string `json:"Name,omitempty"` Type string `json:"Type,omitempty"` }
func NewPropertyMetadata ¶ added in v1.7.0
func NewPropertyMetadata() *PropertyMetadata
type PropertyValue ¶
type PropertyValue struct { IsSensitive bool `json:"IsSensitive,omitempty"` SensitiveValue *SensitiveValue `json:"SensitiveValue,omitempty"` Value string `json:"Value,omitempty"` }
func NewPropertyValue ¶ added in v1.7.15
func NewPropertyValue(value string, isSensitive bool) PropertyValue
func (PropertyValue) MarshalJSON ¶ added in v1.7.15
func (p PropertyValue) MarshalJSON() ([]byte, error)
func (*PropertyValue) UnmarshalJSON ¶ added in v1.7.15
func (d *PropertyValue) UnmarshalJSON(data []byte) error
UnmarshalJSON sets this property value to its representation in JSON.
type ProxiesQuery ¶ added in v1.7.0
type ReferenceDataItem ¶ added in v1.7.0
type Release ¶ added in v1.7.0
type Release struct { Assembled time.Time `json:"Assembled,omitempty"` BuildInformation []*ReleasePackageVersionBuildInformation `json:"BuildInformation,omitempty"` ChannelID string `json:"ChannelId,omitempty"` IgnoreChannelRules bool `json:"IgnoreChannelRules,omitempty"` LibraryVariableSetSnapshotIDs []string `json:"LibraryVariableSetSnapshotIds,omitempty"` ProjectDeploymentProcessSnapshotID string `json:"ProjectDeploymentProcessSnapshotId,omitempty"` ProjectID string `json:"ProjectId,omitempty"` ProjectVariableSetSnapshotID string `json:"ProjectVariableSetSnapshotId,omitempty"` ReleaseNotes string `json:"ReleaseNotes,omitempty"` SelectedPackages []*SelectedPackage `json:"SelectedPackages,omitempty"` SpaceID string `json:"SpaceId,omitempty"` Version string `json:"Version"` // contains filtered or unexported fields }
func NewRelease ¶ added in v1.7.0
func (*Release) GetID ¶ added in v1.7.0
func (r *Release) GetID() string
GetID returns the ID value of the resource.
func (*Release) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Release) GetModifiedBy ¶ added in v1.7.0
func (r *Release) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Release) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Release) SetID ¶ added in v1.7.55
func (r *Release) SetID(id string)
SetID sets the ID value of the resource.
func (*Release) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Release) SetModifiedBy ¶ added in v1.7.55
func (r *Release) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Release) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type ReleaseChanges ¶ added in v1.7.0
type ReleaseChanges struct { BuildInformation []*ReleasePackageVersionBuildInformation `json:"BuildInformation"` Commits []*CommitDetails `json:"Commits"` ReleaseNotes string `json:"ReleaseNotes,omitempty"` Version string `json:"Version,omitempty"` WorkItems []*WorkItemLink `json:"WorkItems"` }
type ReleaseCreationStrategy ¶
type ReleaseCreationStrategy struct { ChannelID string `json:"ChannelId,omitempty"` ReleaseCreationPackage *DeploymentActionPackage `json:"ReleaseCreationPackage,omitempty"` ReleaseCreationPackageStepID string `json:"ReleaseCreationPackageStepId,omitempty"` }
type ReleasePackageVersionBuildInformation ¶ added in v1.7.0
type ReleasePackageVersionBuildInformation struct { Branch string `json:"Branch,omitempty"` BuildEnvironment string `json:"BuildEnvironment,omitempty"` BuildNumber string `json:"BuildNumber,omitempty"` BuildURL string `json:"BuildUrl,omitempty"` Commits []*CommitDetails `json:"Commits"` PackageID string `json:"PackageId,omitempty"` VcsCommitNumber string `json:"VcsCommitNumber,omitempty"` VcsCommitURL string `json:"VcsCommitUrl,omitempty"` VcsRoot string `json:"VcsRoot,omitempty"` VcsType string `json:"VcsType,omitempty"` Version string `json:"Version,omitempty"` WorkItems []*WorkItemLink `json:"WorkItems"` }
type ReleaseProgression ¶ added in v1.7.0
type ReleaseProgression struct { Channel *Channel `json:"Channel,omitempty"` Deployments map[string][]DashboardItem `json:"Deployments,omitempty"` HasUnresolvedDefect bool `json:"HasUnresolvedDefect,omitempty"` NextDeployments []string `json:"NextDeployments"` Release *Release `json:"Release,omitempty"` ReleaseRetentionPeriod *RetentionPeriod `json:"ReleaseRetentionPeriod,omitempty"` TentacleRetentionPeriod *RetentionPeriod `json:"TentacleRetentionPeriod,omitempty"` }
type ReleaseQuery ¶ added in v1.7.0
type ReleaseTemplatePackage ¶ added in v1.7.45
type ReleaseTemplatePackage struct { ActionName string `json:"ActionName,omitempty"` FeedID string `json:"FeedId,omitempty"` FeedName string `json:"FeedName,omitempty"` IsResolvable bool `json:"IsResolvable,omitempty"` NuGetFeedID string `json:"NuGetFeedId,omitempty"` NuGetFeedName string `json:"NuGetFeedName,omitempty"` NuGetPackageID string `json:"NuGetPackageId,omitempty"` PackageID string `json:"PackageId,omitempty"` PackageReferenceName string `json:"PackageReferenceName,omitempty"` ProjectName string `json:"ProjectName,omitempty"` StepName string `json:"StepName,omitempty"` VersionSelectedLastRelease string `json:"VersionSelectedLastRelease,omitempty"` }
type ReleaseUsage ¶ added in v1.7.0
type ReleaseUsage struct { ProjectID string `json:"ProjectId,omitempty"` ProjectName string `json:"ProjectName,omitempty"` Releases []*ReleaseUsageEntry `json:"Releases"` }
type ReleaseUsageEntry ¶ added in v1.7.0
type Releases ¶ added in v1.7.0
type Releases struct { Items []*Release `json:"Items"` PagedResults }
Releases defines a collection of Release instance with built-in support for paged results from the API.
type ReleasesQuery ¶ added in v1.7.0
type ReplacementCertificate ¶ added in v1.7.0
type ReplacementCertificate struct { CertificateData string `json:"CertificateData,omitempty"` Password string `json:"Password,omitempty"` }
func NewReplacementCertificate ¶ added in v1.7.0
func NewReplacementCertificate(certificateData string, password string) *ReplacementCertificate
type Resources ¶ added in v1.7.0
type Resources struct { Items []*resource `json:"Items"` PagedResults }
type RetentionPeriod ¶
type RetentionPeriod struct { QuantityToKeep int32 `json:"QuantityToKeep"` ShouldKeepForever bool `json:"ShouldKeepForever"` Unit string `json:"Unit"` }
func NewRetentionPeriod ¶ added in v1.7.55
func NewRetentionPeriod(quantityToKeep int32, unit string, shouldKeepForever bool) RetentionPeriod
type RootResource ¶ added in v1.7.0
type RootResource struct { Application string `json:"Application" validate:"required"` Version string `json:"Version" validate:"required"` APIVersion string `json:"ApiVersion" validate:"required"` InstallationID *uuid.UUID `json:"InstallationId" validate:"required"` IsEarlyAccessProgram bool `json:"IsEarlyAccessProgram"` HasLongTermSupport bool `json:"HasLongTermSupport"` // contains filtered or unexported fields }
func NewRootResource ¶ added in v1.7.0
func NewRootResource() *RootResource
func (*RootResource) GetID ¶ added in v1.7.0
func (r *RootResource) GetID() string
GetID returns the ID value of the resource.
func (*RootResource) GetLinkPath ¶ added in v1.7.0
func (r *RootResource) GetLinkPath(args ...interface{}) string
GetLinkPath returns correct Link Path
func (*RootResource) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*RootResource) GetModifiedBy ¶ added in v1.7.0
func (r *RootResource) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*RootResource) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*RootResource) SetID ¶ added in v1.7.55
func (r *RootResource) SetID(id string)
SetID sets the ID value of the resource.
func (*RootResource) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*RootResource) SetModifiedBy ¶ added in v1.7.55
func (r *RootResource) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*RootResource) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*RootResource) Validate ¶ added in v1.7.0
func (r *RootResource) Validate() error
Validate checks the state of the root resource and returns an error if invalid.
type RunRunbookAction ¶ added in v1.7.45
type RunRunbookAction struct { Environments []string `json:"EnvironmentIds"` Runbook string `json:"RunbookId"` Tenants []string `json:"TenantIds"` TenantTags []string `json:"TenantTags"` // contains filtered or unexported fields }
func NewRunRunbookAction ¶ added in v1.7.45
func NewRunRunbookAction() *RunRunbookAction
func (*RunRunbookAction) GetActionType ¶ added in v1.7.45
func (a *RunRunbookAction) GetActionType() ActionType
func (*RunRunbookAction) SetActionType ¶ added in v1.7.45
func (a *RunRunbookAction) SetActionType(actionType ActionType)
type Runbook ¶ added in v1.7.0
type Runbook struct { ConnectivityPolicy *ConnectivityPolicy `json:"ConnectivityPolicy,omitempty"` DefaultGuidedFailureMode string `json:"DefaultGuidedFailureMode" validate:"required,oneof=EnvironmentDefault Off On"` Description string `json:"Description,omitempty"` EnvironmentScope string `json:"EnvironmentScope" validate:"required,oneof=All FromProjectLifecycles Specified"` Environments []string `json:"Environments,omitempty"` MultiTenancyMode string `json:"MultiTenancyMode" validate:"required,oneof=Untenanted TenantedOrUntenanted Tenanted"` Name string `json:"Name,omitempty"` ProjectID string `json:"ProjectId,omitempty"` PublishedRunbookSnapshotID string `json:"PublishedRunbookSnapshotId,omitempty"` RunRetentionPolicy *RunbookRetentionPeriod `json:"RunRetentionPolicy,omitempty"` RunbookProcessID string `json:"RunbookProcessId,omitempty"` SpaceID string `json:"SpaceId,omitempty"` // contains filtered or unexported fields }
func NewRunbook ¶ added in v1.7.0
NewRunbook creates and initializes a runbook.
func (*Runbook) GetID ¶ added in v1.7.0
func (r *Runbook) GetID() string
GetID returns the ID value of the resource.
func (*Runbook) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Runbook) GetModifiedBy ¶ added in v1.7.0
func (r *Runbook) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Runbook) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Runbook) SetID ¶ added in v1.7.55
func (r *Runbook) SetID(id string)
SetID sets the ID value of the resource.
func (*Runbook) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Runbook) SetModifiedBy ¶ added in v1.7.55
func (r *Runbook) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Runbook) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type RunbookProcess ¶ added in v1.7.0
type RunbookProcess struct { LastSnapshotID string `json:"LastSnapshotId,omitempty"` ProjectID string `json:"ProjectId,omitempty"` RunbookID string `json:"RunbookId,omitempty"` SpaceID string `json:"SpaceId,omitempty"` Steps []*DeploymentStep `json:"Steps"` Version *int32 `json:"Version"` // contains filtered or unexported fields }
func NewRunbookProcess ¶ added in v1.7.0
func NewRunbookProcess() *RunbookProcess
func (*RunbookProcess) GetID ¶ added in v1.7.0
func (r *RunbookProcess) GetID() string
GetID returns the ID value of the resource.
func (*RunbookProcess) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*RunbookProcess) GetModifiedBy ¶ added in v1.7.0
func (r *RunbookProcess) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*RunbookProcess) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*RunbookProcess) SetID ¶ added in v1.7.55
func (r *RunbookProcess) SetID(id string)
SetID sets the ID value of the resource.
func (*RunbookProcess) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*RunbookProcess) SetModifiedBy ¶ added in v1.7.55
func (r *RunbookProcess) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*RunbookProcess) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type RunbookProcesses ¶ added in v1.7.0
type RunbookProcesses struct { Items []*RunbookProcess `json:"Items"` PagedResults }
type RunbookProcessesQuery ¶ added in v1.7.0
type RunbookRetentionPeriod ¶ added in v1.7.0
type RunbookRetentionPeriod struct { QuantityToKeep int32 `json:"QuantityToKeep"` ShouldKeepForever bool `json:"ShouldKeepForever"` }
func NewRunbookRetentionPeriod ¶ added in v1.7.0
func NewRunbookRetentionPeriod() *RunbookRetentionPeriod
type RunbookRunsQuery ¶ added in v1.7.0
type RunbookRunsQuery struct { Environments []string `uri:"environments,omitempty" url:"environments,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Projects []string `uri:"projects,omitempty" url:"projects,omitempty"` Runbooks []string `uri:"runbooks,omitempty" url:"runbooks,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` TaskState string `uri:"taskState,omitempty" url:"taskState,omitempty"` Tenants []string `uri:"tenants,omitempty" url:"tenants,omitempty"` }
type RunbookSnapshot ¶ added in v1.7.45
type RunbookSnapshot struct { Assembled *time.Time `json:"Assembled,omitempty"` FrozenProjectVariableSetID string `json:"FrozenProjectVariableSetId,omitempty"` FrozenRunbookProcessID string `json:"FrozenRunbookProcessId,omitempty"` LibraryVariableSetSnapshotIDs []string `json:"LibraryVariableSetSnapshotIds"` Name string `json:"Name,omitempty"` Notes string `json:"Notes,omitempty"` ProjectID string `json:"ProjectId" validate:"required,notblank"` ProjectVariableSetSnapshotID string `json:"ProjectVariableSetSnapshotId,omitempty"` RunbookID string `json:"RunbookId" validate:"required,notblank"` SelectedPackages []*SelectedPackage `json:"SelectedPackages"` SpaceID string `json:"SpaceId,omitempty"` // contains filtered or unexported fields }
RunbookSnapshot represents a runbook snapshot.
func NewRunbookSnapshot ¶ added in v1.7.45
func NewRunbookSnapshot(name string, projectID string, runbookID string) *RunbookSnapshot
NewRunbookSnapshot creates and initializes a runbook snapshot.
func (*RunbookSnapshot) GetID ¶ added in v1.7.45
func (r *RunbookSnapshot) GetID() string
GetID returns the ID value of the resource.
func (*RunbookSnapshot) GetLinks ¶ added in v1.7.45
GetLinks returns the associated links with the value of this resource.
func (*RunbookSnapshot) GetModifiedBy ¶ added in v1.7.45
func (r *RunbookSnapshot) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*RunbookSnapshot) GetModifiedOn ¶ added in v1.7.45
GetModifiedOn returns the time when the value of this resource was changed.
func (*RunbookSnapshot) SetID ¶ added in v1.7.55
func (r *RunbookSnapshot) SetID(id string)
SetID sets the ID value of the resource.
func (*RunbookSnapshot) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*RunbookSnapshot) SetModifiedBy ¶ added in v1.7.55
func (r *RunbookSnapshot) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*RunbookSnapshot) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (RunbookSnapshot) Validate ¶ added in v1.7.45
func (c RunbookSnapshot) Validate() error
Validate checks the state of the runbook snapshot and returns an error if invalid.
type RunbookSnapshotTemplate ¶ added in v1.7.45
type RunbookSnapshotTemplate struct { NextNameIncrement string `json:"NextNameIncrement,omitempty"` Packages []*ReleaseTemplatePackage `json:"Packages"` RunbookID string `json:"RunbookId,omitempty"` RunbookProcessID string `json:"RunbookProcessId,omitempty"` // contains filtered or unexported fields }
func (*RunbookSnapshotTemplate) GetID ¶ added in v1.7.45
func (r *RunbookSnapshotTemplate) GetID() string
GetID returns the ID value of the resource.
func (*RunbookSnapshotTemplate) GetLinks ¶ added in v1.7.45
GetLinks returns the associated links with the value of this resource.
func (*RunbookSnapshotTemplate) GetModifiedBy ¶ added in v1.7.45
func (r *RunbookSnapshotTemplate) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*RunbookSnapshotTemplate) GetModifiedOn ¶ added in v1.7.45
GetModifiedOn returns the time when the value of this resource was changed.
func (*RunbookSnapshotTemplate) SetID ¶ added in v1.7.55
func (r *RunbookSnapshotTemplate) SetID(id string)
SetID sets the ID value of the resource.
func (*RunbookSnapshotTemplate) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*RunbookSnapshotTemplate) SetModifiedBy ¶ added in v1.7.55
func (r *RunbookSnapshotTemplate) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*RunbookSnapshotTemplate) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type RunbookSnapshotUsage ¶ added in v1.7.0
type RunbookSnapshotUsage struct { ProjectID string `json:"ProjectId,omitempty"` ProjectName string `json:"ProjectName,omitempty"` RunbookID string `json:"RunbookId,omitempty"` RunbookName string `json:"RunbookName,omitempty"` Snapshots []*RunbookSnapshotUsageEntry `json:"Snapshots"` }
type RunbookSnapshotUsageEntry ¶ added in v1.7.0
type RunbookSnapshots ¶ added in v1.7.45
type RunbookSnapshots struct { Items []*RunbookSnapshot `json:"Items"` PagedResults }
RunbookSnapshots defines a collection of runbook snapshots with built-in support for paged results from the API.
type RunbookSnapshotsQuery ¶ added in v1.7.0
type RunbookStepUsage ¶ added in v1.7.0
type RunbookStepUsage struct { ProcessID string `json:"ProcessId,omitempty"` ProjectID string `json:"ProjectId,omitempty"` ProjectName string `json:"ProjectName,omitempty"` ProjectSlug string `json:"ProjectSlug,omitempty"` RunbookID string `json:"RunbookId,omitempty"` RunbookName string `json:"RunbookName,omitempty"` Steps []*StepUsageEntry `json:"Steps"` }
type Runbooks ¶ added in v1.7.0
type Runbooks struct { Items []*Runbook `json:"Items"` PagedResults }
Runbooks defines a collection of runbooks with built-in support for paged results.
type RunbooksQuery ¶ added in v1.7.0
type RunbooksQuery struct { IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IsClone bool `uri:"clone,omitempty" url:"clone,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` ProjectIDs []string `uri:"projectIds,omitempty" url:"projectIds,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type SSHEndpoint ¶ added in v1.7.0
type SSHEndpoint struct { AccountID string `json:"AccountId,omitempty"` DotNetCorePlatform string Fingerprint string Host string ProxyID string `json:"ProxyId,omitempty"` Port int URI *url.URL `json:"Uri"` // contains filtered or unexported fields }
SSHEndpoint contains the information necessary to communicate with an SSH endpoint. If a private key file is provided it will be used; otherwise we fall back to username/password.
func NewSSHEndpoint ¶ added in v1.7.0
func NewSSHEndpoint(host string, port int, fingerprint string) *SSHEndpoint
NewSSHEndpoint creates and initializes a new SSH endpoint.
func (*SSHEndpoint) GetAccountID ¶ added in v1.7.0
func (s *SSHEndpoint) GetAccountID() string
GetAccountID returns the account ID associated with this SSH endpoint.
func (*SSHEndpoint) GetCommunicationStyle ¶ added in v1.7.0
func (s *SSHEndpoint) GetCommunicationStyle() string
GetCommunicationStyle returns the communication style of this endpoint.
func (*SSHEndpoint) GetFingerprint ¶ added in v1.7.0
func (s *SSHEndpoint) GetFingerprint() string
GetFingerprint returns the fingerprint associated with this SSH endpoint.
func (*SSHEndpoint) GetHost ¶ added in v1.7.0
func (s *SSHEndpoint) GetHost() string
GetHost returns the host associated with this SSH endpoint.
func (*SSHEndpoint) GetProxyID ¶ added in v1.7.0
func (s *SSHEndpoint) GetProxyID() string
GetProxyID returns the proxy ID associated with this SSH endpoint.
func (*SSHEndpoint) MarshalJSON ¶ added in v1.7.0
func (s *SSHEndpoint) MarshalJSON() ([]byte, error)
func (*SSHEndpoint) SetProxyID ¶ added in v1.7.0
func (s *SSHEndpoint) SetProxyID(proxyID string)
SetProxyID sets the proxy ID associated with this SSH endpoint.
func (*SSHEndpoint) UnmarshalJSON ¶ added in v1.7.0
func (s *SSHEndpoint) UnmarshalJSON(b []byte) error
UnmarshalJSON sets this SSH endpoint to its representation in JSON.
func (*SSHEndpoint) Validate ¶ added in v1.7.0
func (s *SSHEndpoint) Validate() error
Validate checks the state of the SSH endpoint and returns an error if invalid.
type SSHKeyAccount ¶ added in v1.7.0
type SSHKeyAccount struct { PrivateKeyFile *SensitiveValue `validate:"required"` PrivateKeyPassphrase *SensitiveValue Username string `validate:"required"` // contains filtered or unexported fields }
SSHKeyAccount represents a SSH key pair account.
func NewSSHKeyAccount ¶ added in v1.7.0
func NewSSHKeyAccount(name string, username string, privateKeyFile *SensitiveValue, options ...func(*SSHKeyAccount)) (*SSHKeyAccount, error)
NewSSHKeyAccount initializes and returns a SSH key pair account with a name, username, and private key file.
func (*SSHKeyAccount) GetAccountType ¶ added in v1.7.0
func (a *SSHKeyAccount) GetAccountType() AccountType
GetAccountType returns the type of this account.
func (*SSHKeyAccount) GetDescription ¶ added in v1.7.0
func (a *SSHKeyAccount) GetDescription() string
GetDescription returns the description of the account.
func (*SSHKeyAccount) GetEnvironmentIDs ¶ added in v1.7.0
func (a *SSHKeyAccount) GetEnvironmentIDs() []string
GetEnvironmentIDs returns the environment IDs associated with this account.
func (*SSHKeyAccount) GetName ¶ added in v1.7.0
func (a *SSHKeyAccount) GetName() string
GetName returns the name of the account.
func (*SSHKeyAccount) GetSpaceID ¶ added in v1.7.0
func (a *SSHKeyAccount) GetSpaceID() string
GetSpaceID returns the space ID of this account.
func (*SSHKeyAccount) GetTenantIDs ¶ added in v1.7.0
func (a *SSHKeyAccount) GetTenantIDs() []string
GetTenantIDs returns the tenant IDs associated with this account.
func (*SSHKeyAccount) GetTenantTags ¶ added in v1.7.0
func (a *SSHKeyAccount) GetTenantTags() []string
GetTenantTags returns the tenant tags assigned to this account.
func (*SSHKeyAccount) GetTenantedDeploymentMode ¶ added in v1.7.0
func (a *SSHKeyAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
GetTenantedDeploymentMode returns the tenanted deployment mode of this account.
func (*SSHKeyAccount) SetDescription ¶ added in v1.7.0
func (a *SSHKeyAccount) SetDescription(description string)
SetDescription sets the description of the account.
func (*SSHKeyAccount) SetEnvironmentIDs ¶ added in v1.7.55
func (a *SSHKeyAccount) SetEnvironmentIDs(environmentIds []string)
SetEnvironmentIDs sets the associated environment IDs of the account.
func (*SSHKeyAccount) SetName ¶ added in v1.7.0
func (a *SSHKeyAccount) SetName(name string)
SetName sets the name of the account.
func (*SSHKeyAccount) SetPrivateKeyPassphrase ¶ added in v1.8.0
func (s *SSHKeyAccount) SetPrivateKeyPassphrase(privateKeyPassphrase *SensitiveValue)
SetPrivateKeyPassphrase sets the private key [assphrase of this SSH key pair account.
func (*SSHKeyAccount) SetSpaceID ¶ added in v1.7.0
func (a *SSHKeyAccount) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of this account.
func (*SSHKeyAccount) SetTenantIDs ¶ added in v1.7.55
func (a *SSHKeyAccount) SetTenantIDs(tenantIds []string)
SetTenantIDs sets the tenant IDs associated with this account.
func (*SSHKeyAccount) SetTenantTags ¶ added in v1.7.55
func (a *SSHKeyAccount) SetTenantTags(tenantTags []string)
SetTenantTags sets the tenant tags associated with this account.
func (*SSHKeyAccount) SetTenantedDeploymentMode ¶ added in v1.7.55
func (a *SSHKeyAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
SetTenantedDeploymentMode sets the tenanted deployment mode of this account.
func (*SSHKeyAccount) Validate ¶ added in v1.7.0
func (s *SSHKeyAccount) Validate() error
Validate checks the state of this account and returns an error if invalid.
type ScheduledProjectTriggersQuery ¶ added in v1.7.0
type ScheduledTriggerFilterRunType ¶ added in v1.7.45
type ScheduledTriggerFilterRunType int
const ( ScheduledTime ScheduledTriggerFilterRunType = iota Continuously )
func ScheduledTriggerFilterRunTypeString ¶ added in v1.7.45
func ScheduledTriggerFilterRunTypeString(s string) (ScheduledTriggerFilterRunType, error)
ScheduledTriggerFilterRunTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func ScheduledTriggerFilterRunTypeValues ¶ added in v1.7.45
func ScheduledTriggerFilterRunTypeValues() []ScheduledTriggerFilterRunType
ScheduledTriggerFilterRunTypeValues returns all values of the enum
func (ScheduledTriggerFilterRunType) IsAScheduledTriggerFilterRunType ¶ added in v1.7.45
func (i ScheduledTriggerFilterRunType) IsAScheduledTriggerFilterRunType() bool
IsAScheduledTriggerFilterRunType returns "true" if the value is listed in the enum definition. "false" otherwise
func (ScheduledTriggerFilterRunType) MarshalJSON ¶ added in v1.7.45
func (i ScheduledTriggerFilterRunType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ScheduledTriggerFilterRunType
func (ScheduledTriggerFilterRunType) String ¶ added in v1.7.45
func (i ScheduledTriggerFilterRunType) String() string
func (*ScheduledTriggerFilterRunType) UnmarshalJSON ¶ added in v1.7.45
func (i *ScheduledTriggerFilterRunType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ScheduledTriggerFilterRunType
type SchedulerQuery ¶ added in v1.7.0
type ScopedUserRole ¶ added in v1.7.15
type ScopedUserRole struct { EnvironmentIDs []string `json:"EnvironmentIds,omitempty"` ProjectIDs []string `json:"ProjectIds,omitempty"` ProjectGroupIDs []string `json:"ProjectGroupIds,omitempty"` TeamID string `json:"TeamId"` TenantIDs []string `json:"TenantIds,omitempty"` SpaceID string `json:"SpaceId"` UserRoleID string `json:"UserRoleId"` // contains filtered or unexported fields }
func NewScopedUserRole ¶ added in v1.7.17
func NewScopedUserRole(userRoleId string) *ScopedUserRole
func (*ScopedUserRole) GetID ¶ added in v1.7.15
func (r *ScopedUserRole) GetID() string
GetID returns the ID value of the resource.
func (*ScopedUserRole) GetLinks ¶ added in v1.7.15
GetLinks returns the associated links with the value of this resource.
func (*ScopedUserRole) GetModifiedBy ¶ added in v1.7.15
func (r *ScopedUserRole) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*ScopedUserRole) GetModifiedOn ¶ added in v1.7.15
GetModifiedOn returns the time when the value of this resource was changed.
func (*ScopedUserRole) SetID ¶ added in v1.7.55
func (r *ScopedUserRole) SetID(id string)
SetID sets the ID value of the resource.
func (*ScopedUserRole) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*ScopedUserRole) SetModifiedBy ¶ added in v1.7.55
func (r *ScopedUserRole) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*ScopedUserRole) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type ScopedUserRoles ¶ added in v1.7.15
type ScopedUserRoles struct { Items []*ScopedUserRole `json:"Items"` PagedResults }
type ScopedUserRolesQuery ¶ added in v1.7.0
type ScopedUserRolesQuery struct { IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IncludeSystem bool `uri:"includeSystem,omitempty" url:"includeSystem,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Spaces []string `uri:"spaces,omitempty" url:"spaces,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type ScriptModule ¶ added in v1.7.51
type ScriptModule struct { Description string `json:"Description,omitempty"` Name string `json:"Name" validate:"required"` ScriptBody string `json:"scriptBody" validate:"required"` SpaceID string `json:"SpaceId,omitempty"` Syntax string `json:"syntax" validate:"required"` VariableSetID string `json:"VariableSetId,omitempty"` // contains filtered or unexported fields }
func NewScriptModule ¶ added in v1.7.51
func NewScriptModule(name string) *ScriptModule
NewScriptModule creates and initializes a script module.
func (*ScriptModule) GetID ¶ added in v1.7.51
func (r *ScriptModule) GetID() string
GetID returns the ID value of the resource.
func (*ScriptModule) GetLinks ¶ added in v1.7.51
GetLinks returns the associated links with the value of this resource.
func (*ScriptModule) GetModifiedBy ¶ added in v1.7.51
func (r *ScriptModule) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*ScriptModule) GetModifiedOn ¶ added in v1.7.51
GetModifiedOn returns the time when the value of this resource was changed.
func (*ScriptModule) MarshalJSON ¶ added in v1.7.51
func (s *ScriptModule) MarshalJSON() ([]byte, error)
MarshalJSON returns a script module as its JSON encoding.
func (*ScriptModule) SetID ¶ added in v1.7.55
func (r *ScriptModule) SetID(id string)
SetID sets the ID value of the resource.
func (*ScriptModule) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*ScriptModule) SetModifiedBy ¶ added in v1.7.55
func (r *ScriptModule) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*ScriptModule) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*ScriptModule) Validate ¶ added in v1.7.51
func (s *ScriptModule) Validate() error
Validate checks the state of the script module and returns an error if invalid.
type ScriptModules ¶ added in v1.7.51
type ScriptModules struct { Items []*ScriptModule `json:"Items"` PagedResults }
type SearchPackagesQuery ¶ added in v1.7.0
type SelectedPackage ¶ added in v1.7.0
type SensitiveValue ¶
func NewSensitiveValue ¶ added in v1.7.0
func NewSensitiveValue(newValue string) *SensitiveValue
NewSensitiveValue creates and initializes a sensitive value.
type ServerStatus ¶ added in v1.7.14
type ServerStatus struct { IsDatabaseEncrypted bool `json:"IsDatabaseEncrypted,omitempty"` IsMajorMinorUpgrade bool `json:"IsMajorMinorUpgrade,omitempty"` IsInMaintenanceMode bool `json:"IsInMaintenanceMode,omitempty"` IsUpgradeAvailable bool `json:"IsUpgradeAvailable,omitempty"` MaintenanceExpires string `json:"MaintenanceExpires,omitempty"` MaximumAvailableVersion string `json:"MaximumAvailableVersion,omitempty"` MaximumAvailableVersionCoveredByLicense string `json:"MaximumAvailableVersionCoveredByLicense,omitempty"` // contains filtered or unexported fields }
func (*ServerStatus) GetID ¶ added in v1.7.14
func (r *ServerStatus) GetID() string
GetID returns the ID value of the resource.
func (*ServerStatus) GetLinks ¶ added in v1.7.14
GetLinks returns the associated links with the value of this resource.
func (*ServerStatus) GetModifiedBy ¶ added in v1.7.14
func (r *ServerStatus) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*ServerStatus) GetModifiedOn ¶ added in v1.7.14
GetModifiedOn returns the time when the value of this resource was changed.
func (*ServerStatus) SetID ¶ added in v1.7.55
func (r *ServerStatus) SetID(id string)
SetID sets the ID value of the resource.
func (*ServerStatus) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*ServerStatus) SetModifiedBy ¶ added in v1.7.55
func (r *ServerStatus) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*ServerStatus) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type SignInQuery ¶ added in v1.7.0
type SignInQuery struct {
ReturnURL string `uri:"returnUrl,omitempty" url:"returnUrl,omitempty"`
}
type SkipMachineBehavior ¶ added in v1.7.0
type SkipMachineBehavior string
type SkipTakeQuery ¶ added in v1.7.38
type Space ¶ added in v1.1.0
type Space struct { Description string `json:"Description,omitempty"` IsDefault bool `json:"IsDefault,omitempty"` Name string `json:"Name" validate:"required,max=20"` SpaceManagersTeamMembers []string `json:"SpaceManagersTeamMembers,omitempty"` SpaceManagersTeams []string `json:"SpaceManagersTeams,omitempty"` TaskQueueStopped bool `json:"TaskQueueStopped,omitempty"` // contains filtered or unexported fields }
func (*Space) GetID ¶ added in v1.7.0
func (r *Space) GetID() string
GetID returns the ID value of the resource.
func (*Space) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Space) GetModifiedBy ¶ added in v1.7.0
func (r *Space) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Space) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Space) SetID ¶ added in v1.7.55
func (r *Space) SetID(id string)
SetID sets the ID value of the resource.
func (*Space) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Space) SetModifiedBy ¶ added in v1.7.55
func (r *Space) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Space) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type SpaceHomeQuery ¶ added in v1.7.0
type SpaceHomeQuery struct {
SpaceID string `uri:"spaceId,omitempty" url:"spaceId,omitempty"`
}
type SpacePermissions ¶ added in v1.7.0
type SpacePermissions struct { AccountCreate []UserPermissionRestriction `json:"AccountCreate"` AccountDelete []UserPermissionRestriction `json:"AccountDelete"` AccountEdit []UserPermissionRestriction `json:"AccountEdit"` AccountView []UserPermissionRestriction `json:"AccountView"` ActionTemplateCreate []UserPermissionRestriction `json:"ActionTemplateCreate"` ActionTemplateDelete []UserPermissionRestriction `json:"ActionTemplateDelete"` ActionTemplateEdit []UserPermissionRestriction `json:"ActionTemplateEdit"` ActionTemplateView []UserPermissionRestriction `json:"ActionTemplateView"` AdministerSystem []UserPermissionRestriction `json:"AdministerSystem"` ArtifactCreate []UserPermissionRestriction `json:"ArtifactCreate"` ArtifactDelete []UserPermissionRestriction `json:"ArtifactDelete"` ArtifactEdit []UserPermissionRestriction `json:"ArtifactEdit"` ArtifactView []UserPermissionRestriction `json:"ArtifactView"` BuildInformationAdminister []UserPermissionRestriction `json:"BuildInformationAdminister"` BuildInformationPush []UserPermissionRestriction `json:"BuildInformationPush"` BuiltInFeedAdminister []UserPermissionRestriction `json:"BuiltInFeedAdminister"` BuiltInFeedDownload []UserPermissionRestriction `json:"BuiltInFeedDownload"` BuiltInFeedPush []UserPermissionRestriction `json:"BuiltInFeedPush"` CertificateCreate []UserPermissionRestriction `json:"CertificateCreate"` CertificateDelete []UserPermissionRestriction `json:"CertificateDelete"` CertificateEdit []UserPermissionRestriction `json:"CertificateEdit"` CertificateExportPrivateKey []UserPermissionRestriction `json:"CertificateExportPrivateKey"` CertificateView []UserPermissionRestriction `json:"CertificateView"` ConfigureServer []UserPermissionRestriction `json:"ConfigureServer"` DefectReport []UserPermissionRestriction `json:"DefectReport"` DefectResolve []UserPermissionRestriction `json:"DefectResolve"` DeploymentCreate []UserPermissionRestriction `json:"DeploymentCreate"` DeploymentDelete []UserPermissionRestriction `json:"DeploymentDelete"` DeploymentView []UserPermissionRestriction `json:"DeploymentView"` EnvironmentCreate []UserPermissionRestriction `json:"EnvironmentCreate"` EnvironmentDelete []UserPermissionRestriction `json:"EnvironmentDelete"` EnvironmentEdit []UserPermissionRestriction `json:"EnvironmentEdit"` EnvironmentView []UserPermissionRestriction `json:"EnvironmentView"` EventView []UserPermissionRestriction `json:"EventView"` FeedEdit []UserPermissionRestriction `json:"FeedEdit"` FeedView []UserPermissionRestriction `json:"FeedView"` InterruptionSubmit []UserPermissionRestriction `json:"InterruptionSubmit"` InterruptionView []UserPermissionRestriction `json:"InterruptionView"` InterruptionViewSubmitResponsible []UserPermissionRestriction `json:"InterruptionViewSubmitResponsible"` LibraryVariableSetCreate []UserPermissionRestriction `json:"LibraryVariableSetCreate"` LibraryVariableSetDelete []UserPermissionRestriction `json:"LibraryVariableSetDelete"` LibraryVariableSetEdit []UserPermissionRestriction `json:"LibraryVariableSetEdit"` LibraryVariableSetView []UserPermissionRestriction `json:"LibraryVariableSetView"` LifecycleCreate []UserPermissionRestriction `json:"LifecycleCreate"` LifecycleDelete []UserPermissionRestriction `json:"LifecycleDelete"` LifecycleEdit []UserPermissionRestriction `json:"LifecycleEdit"` LifecycleView []UserPermissionRestriction `json:"LifecycleView"` MachineCreate []UserPermissionRestriction `json:"MachineCreate"` MachineDelete []UserPermissionRestriction `json:"MachineDelete"` MachineEdit []UserPermissionRestriction `json:"MachineEdit"` MachinePolicyCreate []UserPermissionRestriction `json:"MachinePolicyCreate"` MachinePolicyDelete []UserPermissionRestriction `json:"MachinePolicyDelete"` MachinePolicyEdit []UserPermissionRestriction `json:"MachinePolicyEdit"` MachinePolicyView []UserPermissionRestriction `json:"MachinePolicyView"` MachineView []UserPermissionRestriction `json:"MachineView"` ProcessEdit []UserPermissionRestriction `json:"ProcessEdit"` ProcessView []UserPermissionRestriction `json:"ProcessView"` ProjectCreate []UserPermissionRestriction `json:"ProjectCreate"` ProjectDelete []UserPermissionRestriction `json:"ProjectDelete"` ProjectEdit []UserPermissionRestriction `json:"ProjectEdit"` ProjectGroupCreate []UserPermissionRestriction `json:"ProjectGroupCreate"` ProjectGroupDelete []UserPermissionRestriction `json:"ProjectGroupDelete"` ProjectGroupEdit []UserPermissionRestriction `json:"ProjectGroupEdit"` ProjectGroupView []UserPermissionRestriction `json:"ProjectGroupView"` ProjectView []UserPermissionRestriction `json:"ProjectView"` ProxyCreate []UserPermissionRestriction `json:"ProxyCreate"` ProxyDelete []UserPermissionRestriction `json:"ProxyDelete"` ProxyEdit []UserPermissionRestriction `json:"ProxyEdit"` ProxyView []UserPermissionRestriction `json:"ProxyView"` ReleaseCreate []UserPermissionRestriction `json:"ReleaseCreate"` ReleaseDelete []UserPermissionRestriction `json:"ReleaseDelete"` ReleaseEdit []UserPermissionRestriction `json:"ReleaseEdit"` ReleaseView []UserPermissionRestriction `json:"ReleaseView"` RunbookEdit []UserPermissionRestriction `json:"RunbookEdit"` RunbookRunCreate []UserPermissionRestriction `json:"RunbookRunCreate"` RunbookRunDelete []UserPermissionRestriction `json:"RunbookRunDelete"` RunbookRunView []UserPermissionRestriction `json:"RunbookRunView"` RunbookView []UserPermissionRestriction `json:"RunbookView"` SpaceCreate []UserPermissionRestriction `json:"SpaceCreate"` SpaceDelete []UserPermissionRestriction `json:"SpaceDelete"` SpaceEdit []UserPermissionRestriction `json:"SpaceEdit"` SpaceView []UserPermissionRestriction `json:"SpaceView"` SubscriptionCreate []UserPermissionRestriction `json:"SubscriptionCreate"` SubscriptionDelete []UserPermissionRestriction `json:"SubscriptionDelete"` SubscriptionEdit []UserPermissionRestriction `json:"SubscriptionEdit"` SubscriptionView []UserPermissionRestriction `json:"SubscriptionView"` TagSetCreate []UserPermissionRestriction `json:"TagSetCreate"` TagSetDelete []UserPermissionRestriction `json:"TagSetDelete"` TagSetEdit []UserPermissionRestriction `json:"TagSetEdit"` TaskCancel []UserPermissionRestriction `json:"TaskCancel"` TaskCreate []UserPermissionRestriction `json:"TaskCreate"` TaskEdit []UserPermissionRestriction `json:"TaskEdit"` TaskView []UserPermissionRestriction `json:"TaskView"` TeamCreate []UserPermissionRestriction `json:"TeamCreate"` TeamDelete []UserPermissionRestriction `json:"TeamDelete"` TeamEdit []UserPermissionRestriction `json:"TeamEdit"` TeamView []UserPermissionRestriction `json:"TeamView"` TenantCreate []UserPermissionRestriction `json:"TenantCreate"` TenantDelete []UserPermissionRestriction `json:"TenantDelete"` TenantEdit []UserPermissionRestriction `json:"TenantEdit"` TenantView []UserPermissionRestriction `json:"TenantView"` TriggerCreate []UserPermissionRestriction `json:"TriggerCreate"` TriggerDelete []UserPermissionRestriction `json:"TriggerDelete"` TriggerEdit []UserPermissionRestriction `json:"TriggerEdit"` TriggerView []UserPermissionRestriction `json:"TriggerView"` UserEdit []UserPermissionRestriction `json:"UserEdit"` UserInvite []UserPermissionRestriction `json:"UserInvite"` UserRoleEdit []UserPermissionRestriction `json:"UserRoleEdit"` UserRoleView []UserPermissionRestriction `json:"UserRoleView"` UserView []UserPermissionRestriction `json:"UserView"` VariableEdit []UserPermissionRestriction `json:"VariableEdit"` VariableEditUnscoped []UserPermissionRestriction `json:"VariableEditUnscoped"` VariableView []UserPermissionRestriction `json:"VariableView"` VariableViewUnscoped []UserPermissionRestriction `json:"VariableViewUnscoped"` WorkerEdit []UserPermissionRestriction `json:"WorkerEdit"` WorkerView []UserPermissionRestriction `json:"WorkerView"` }
type Spaces ¶ added in v1.1.0
type Spaces struct { Items []*Space `json:"Items"` PagedResults }
type SpacesQuery ¶ added in v1.7.0
type SpacesQuery struct { IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` Name string `uri:"name,omitempty" url:"name,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type StaticWorkerPool ¶ added in v1.7.0
type StaticWorkerPool struct {
// contains filtered or unexported fields
}
func NewStaticWorkerPool ¶ added in v1.7.0
func NewStaticWorkerPool(name string) *StaticWorkerPool
NewStaticWorkerPool creates and initializes a static worker pool.
func (*StaticWorkerPool) GetCanAddWorkers ¶ added in v1.8.0
func (w *StaticWorkerPool) GetCanAddWorkers() bool
func (*StaticWorkerPool) GetDescription ¶ added in v1.8.0
func (w *StaticWorkerPool) GetDescription() string
func (*StaticWorkerPool) GetIsDefault ¶ added in v1.7.0
func (w *StaticWorkerPool) GetIsDefault() bool
func (*StaticWorkerPool) GetName ¶ added in v1.8.0
func (w *StaticWorkerPool) GetName() string
GetName returns the name of the worker pool resource.
func (*StaticWorkerPool) GetSortOrder ¶ added in v1.8.0
func (w *StaticWorkerPool) GetSortOrder() int
func (*StaticWorkerPool) GetSpaceID ¶ added in v1.8.0
func (w *StaticWorkerPool) GetSpaceID() string
func (*StaticWorkerPool) GetWorkerPoolType ¶ added in v1.7.0
func (w *StaticWorkerPool) GetWorkerPoolType() WorkerPoolType
GetWorkerPoolType returns the worker type for this worker pool.
func (*StaticWorkerPool) SetCanAddWorkers ¶ added in v1.8.0
func (w *StaticWorkerPool) SetCanAddWorkers(canAddWorkers bool)
func (*StaticWorkerPool) SetDescription ¶ added in v1.8.0
func (w *StaticWorkerPool) SetDescription(description string)
func (*StaticWorkerPool) SetIsDefault ¶ added in v1.8.0
func (w *StaticWorkerPool) SetIsDefault(isDefault bool)
func (*StaticWorkerPool) SetName ¶ added in v1.8.0
func (w *StaticWorkerPool) SetName(name string)
SetName sets the name of the worker pool.
func (*StaticWorkerPool) SetSortOrder ¶ added in v1.8.0
func (w *StaticWorkerPool) SetSortOrder(sortOrder int)
func (*StaticWorkerPool) SetSpaceID ¶ added in v1.8.0
func (w *StaticWorkerPool) SetSpaceID(spaceID string)
func (*StaticWorkerPool) SetWorkerPoolType ¶ added in v1.8.0
func (w *StaticWorkerPool) SetWorkerPoolType(workerPoolType WorkerPoolType)
func (*StaticWorkerPool) Validate ¶ added in v1.7.0
func (s *StaticWorkerPool) Validate() error
Validate checks the state of the static worker pool and returns an error if invalid.
type StaticWorkerPools ¶ added in v1.7.0
type StaticWorkerPools struct { Items []*StaticWorkerPool `json:"Items"` PagedResults }
type StepUsage ¶ added in v1.7.0
type StepUsage struct { ProjectID string `json:"ProjectId,omitempty"` ProjectName string `json:"ProjectName,omitempty"` ProjectSlug string `json:"ProjectSlug,omitempty"` Steps []*StepUsageEntry `json:"Steps"` }
type StepUsageEntry ¶ added in v1.7.0
type SubscriptionsQuery ¶ added in v1.7.0
type SubscriptionsQuery struct { IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Spaces []string `uri:"spaces,omitempty" url:"spaces,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type TagSet ¶
type TagSet struct { Description string `json:"Description,omitempty"` Name string `json:"Name"` SortOrder int32 `json:"SortOrder,omitempty"` SpaceID string `json:"SpaceId,omitempty"` Tags []Tag `json:"Tags,omitempty"` // contains filtered or unexported fields }
func (*TagSet) GetID ¶ added in v1.7.0
func (r *TagSet) GetID() string
GetID returns the ID value of the resource.
func (*TagSet) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*TagSet) GetModifiedBy ¶ added in v1.7.0
func (r *TagSet) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*TagSet) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*TagSet) SetID ¶ added in v1.7.55
func (r *TagSet) SetID(id string)
SetID sets the ID value of the resource.
func (*TagSet) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*TagSet) SetModifiedBy ¶ added in v1.7.55
func (r *TagSet) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*TagSet) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type TagSets ¶
type TagSets struct { Items []*TagSet `json:"Items"` PagedResults }
type TagSetsQuery ¶ added in v1.7.0
type TargetUsageEntry ¶ added in v1.7.0
type Task ¶ added in v1.7.30
type Task struct { Arguments map[string]interface{} `json:"Arguments,omitempty"` CanRerun bool `json:"CanRerun,omitempty"` Completed string `json:"Completed,omitempty"` CompletedTime *time.Time `json:"CompletedTime,omitempty"` Description string `json:"Description,omitempty"` Duration string `json:"Duration,omitempty"` ErrorMessage string `json:"ErrorMessage,omitempty"` FinishedSuccessfully *bool `json:"FinishedSuccessfully,omitempty"` HasBeenPickedUpByProcessor bool `json:"HasBeenPickedUpByProcessor,omitempty"` HasPendingInterruptions bool `json:"HasPendingInterruptions,omitempty"` HasWarningsOrErrors bool `json:"HasWarningsOrErrors,omitempty"` IsCompleted *bool `json:"IsCompleted,omitempty"` LastUpdatedTime *time.Time `json:"LastUpdatedTime,omitempty"` Name string `json:"Name,omitempty"` QueueTime *time.Time `json:"QueueTime,omitempty"` QueueTimeExpiry *time.Time `json:"QueueTimeExpiry,omitempty"` ServerNode string `json:"ServerNode,omitempty"` SpaceID string `json:"SpaceId,omitempty"` StartTime *time.Time `json:"StartTime,omitempty"` State string `json:"State,omitempty"` // contains filtered or unexported fields }
func (*Task) GetID ¶ added in v1.7.30
func (r *Task) GetID() string
GetID returns the ID value of the resource.
func (*Task) GetLinks ¶ added in v1.7.30
GetLinks returns the associated links with the value of this resource.
func (*Task) GetModifiedBy ¶ added in v1.7.30
func (r *Task) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Task) GetModifiedOn ¶ added in v1.7.30
GetModifiedOn returns the time when the value of this resource was changed.
func (*Task) SetID ¶ added in v1.7.55
func (r *Task) SetID(id string)
SetID sets the ID value of the resource.
func (*Task) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Task) SetModifiedBy ¶ added in v1.7.55
func (r *Task) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Task) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type Tasks ¶ added in v1.7.30
type Tasks struct { Items []*Task `json:"Items"` PagedResults }
type TasksQuery ¶ added in v1.7.0
type TasksQuery struct { Environment string `uri:"environment,omitempty" url:"environment,omitempty"` HasPendingInterruptions bool `uri:"hasPendingInterruptions,omitempty" url:"hasPendingInterruptions,omitempty"` HasWarningsOrErrors bool `uri:"hasWarningsOrErrors,omitempty" url:"hasWarningsOrErrors,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IncludeSystem bool `uri:"includeSystem,omitempty" url:"includeSystem,omitempty"` IsActive bool `uri:"active,omitempty" url:"active,omitempty"` IsRunning bool `uri:"running,omitempty" url:"running,omitempty"` Name string `uri:"name,omitempty" url:"name,omitempty"` Node string `uri:"node,omitempty" url:"node,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Project string `uri:"project,omitempty" url:"project,omitempty"` Runbook string `uri:"runbook,omitempty" url:"runbook,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Spaces []string `uri:"spaces,omitempty" url:"spaces,omitempty"` States []string `uri:"states,omitempty" url:"states,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` Tenant string `uri:"tenant,omitempty" url:"tenant,omitempty"` }
type Team ¶ added in v1.7.0
type Team struct { CanBeDeleted bool `json:"CanBeDeleted,omitempty"` CanBeRenamed bool `json:"CanBeRenamed,omitempty"` CanChangeMembers bool `json:"CanChangeMembers,omitempty"` CanChangeRoles bool `json:"CanChangeRoles,omitempty"` Description string `json:"Description,omitempty"` ExternalSecurityGroups []NamedReferenceItem `json:"ExternalSecurityGroups,omitempty"` MemberUserIDs []string `json:"MemberUserIds"` Name string `json:"Name" validate:"required"` SpaceID string `json:"SpaceId,omitempty"` // contains filtered or unexported fields }
func (*Team) GetID ¶ added in v1.7.0
func (r *Team) GetID() string
GetID returns the ID value of the resource.
func (*Team) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Team) GetModifiedBy ¶ added in v1.7.0
func (r *Team) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Team) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Team) SetID ¶ added in v1.7.55
func (r *Team) SetID(id string)
SetID sets the ID value of the resource.
func (*Team) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Team) SetModifiedBy ¶ added in v1.7.55
func (r *Team) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Team) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type TeamMembershipQuery ¶ added in v1.7.0
type Teams ¶ added in v1.7.0
type Teams struct { Items []*Team `json:"Items"` PagedResults }
Teams defines a collection of teams with built-in support for paged results.
type TeamsQuery ¶ added in v1.7.0
type TeamsQuery struct { IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IncludeSystem bool `uri:"includeSystem,omitempty" url:"includeSystem,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Spaces []string `uri:"spaces,omitempty" url:"spaces,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type Tenant ¶ added in v1.7.0
type Tenant struct { ClonedFromTenantID string `json:"ClonedFromTenantId"` Description string `json:"Description"` Name string `json:"Name" validate:"required"` ProjectEnvironments map[string][]string `json:"ProjectEnvironments,omitempty"` SpaceID string `json:"SpaceId"` TenantTags []string `json:"TenantTags,omitempty"` // contains filtered or unexported fields }
func (*Tenant) GetID ¶ added in v1.7.0
func (r *Tenant) GetID() string
GetID returns the ID value of the resource.
func (*Tenant) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Tenant) GetModifiedBy ¶ added in v1.7.0
func (r *Tenant) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Tenant) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Tenant) SetID ¶ added in v1.7.55
func (r *Tenant) SetID(id string)
SetID sets the ID value of the resource.
func (*Tenant) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Tenant) SetModifiedBy ¶ added in v1.7.55
func (r *Tenant) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Tenant) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type TenantVariables ¶ added in v1.7.25
type TenantVariables struct { LibraryVariables map[string]LibraryVariable `json:"LibraryVariables,omitempty"` ProjectVariables map[string]ProjectVariable `json:"ProjectVariables,omitempty"` SpaceID string `json:"SpaceId,omitempty"` TenantID string `json:"TenantId,omitempty"` TenantName string `json:"TenantName,omitempty"` // contains filtered or unexported fields }
func NewTenantVariables ¶ added in v1.7.25
func NewTenantVariables(tenantID string) *TenantVariables
func (*TenantVariables) GetID ¶ added in v1.7.25
func (r *TenantVariables) GetID() string
GetID returns the ID value of the resource.
func (*TenantVariables) GetLinks ¶ added in v1.7.25
GetLinks returns the associated links with the value of this resource.
func (*TenantVariables) GetModifiedBy ¶ added in v1.7.25
func (r *TenantVariables) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*TenantVariables) GetModifiedOn ¶ added in v1.7.25
GetModifiedOn returns the time when the value of this resource was changed.
func (*TenantVariables) SetID ¶ added in v1.7.55
func (r *TenantVariables) SetID(id string)
SetID sets the ID value of the resource.
func (*TenantVariables) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*TenantVariables) SetModifiedBy ¶ added in v1.7.55
func (r *TenantVariables) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*TenantVariables) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type TenantVariablesQuery ¶ added in v1.7.0
type TenantVariablesQuery struct {
ProjectID string `uri:"projectId,omitempty" url:"projectId,omitempty"`
}
type TenantedDeploymentMode ¶ added in v1.6.0
type TenantedDeploymentMode string
type Tenants ¶ added in v1.7.0
type Tenants struct { Items []*Tenant `json:"Items"` PagedResults }
type TenantsMissingVariables ¶ added in v1.7.24
type TenantsMissingVariables struct { Links map[string]string `json:"Links,omitempty"` MissingVariables []MissingVariable `json:"MissingVariables,omitempty"` TenantID string `json:"TenantId,omitempty"` }
type TenantsMissingVariablesQuery ¶ added in v1.7.0
type TenantsMissingVariablesQuery struct { EnvironmentID []string `uri:"environmentId,omitempty" url:"environmentId,omitempty"` IncludeDetails bool `uri:"includeDetails,omitempty" url:"includeDetails,omitempty"` ProjectID string `uri:"projectId,omitempty" url:"projectId,omitempty"` TenantID string `uri:"tenantId,omitempty" url:"tenantId,omitempty"` }
type TenantsQuery ¶ added in v1.7.0
type TenantsQuery struct { ClonedFromTenantID string `uri:"clonedFromTenantId,omitempty" url:"clonedFromTenantId,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IsClone bool `uri:"clone,omitempty" url:"clone,omitempty"` Name string `uri:"name,omitempty" url:"name,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` ProjectID string `uri:"projectId,omitempty" url:"projectId,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Tags []string `uri:"tags,omitempty" url:"tags,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type TentacleVersionDetails ¶ added in v1.7.0
type TentacleVersionDetails struct { UpgradeLocked bool `json:"UpgradeLocked"` UpgradeSuggested bool `json:"UpgradeSuggested"` UpgradeRequired bool `json:"UpgradeRequired"` Version *string `json:"Version"` }
func NewTentacleVersionDetails ¶ added in v1.7.0
func NewTentacleVersionDetails(version *string, upgradeLocked bool, upgradeSuggested bool, upgradeRequired bool) *TentacleVersionDetails
NewTentacleVersionDetails creates and initializes tentacle version details.
type TokenAccount ¶ added in v1.7.0
type TokenAccount struct { Token *SensitiveValue `json:"Token,omitempty" validate:"required"` // contains filtered or unexported fields }
TokenAccount represents a token account.
func NewTokenAccount ¶ added in v1.7.0
func NewTokenAccount(name string, token *SensitiveValue, options ...func(*TokenAccount)) (*TokenAccount, error)
NewTokenAccount creates and initializes a token account with a name and token.
func (*TokenAccount) GetAccountType ¶ added in v1.7.0
func (a *TokenAccount) GetAccountType() AccountType
GetAccountType returns the type of this account.
func (*TokenAccount) GetDescription ¶ added in v1.7.0
func (a *TokenAccount) GetDescription() string
GetDescription returns the description of the account.
func (*TokenAccount) GetEnvironmentIDs ¶ added in v1.7.0
func (a *TokenAccount) GetEnvironmentIDs() []string
GetEnvironmentIDs returns the environment IDs associated with this account.
func (*TokenAccount) GetName ¶ added in v1.7.0
func (a *TokenAccount) GetName() string
GetName returns the name of the account.
func (*TokenAccount) GetSpaceID ¶ added in v1.7.0
func (a *TokenAccount) GetSpaceID() string
GetSpaceID returns the space ID of this account.
func (*TokenAccount) GetTenantIDs ¶ added in v1.7.0
func (a *TokenAccount) GetTenantIDs() []string
GetTenantIDs returns the tenant IDs associated with this account.
func (*TokenAccount) GetTenantTags ¶ added in v1.7.0
func (a *TokenAccount) GetTenantTags() []string
GetTenantTags returns the tenant tags assigned to this account.
func (*TokenAccount) GetTenantedDeploymentMode ¶ added in v1.7.0
func (a *TokenAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
GetTenantedDeploymentMode returns the tenanted deployment mode of this account.
func (*TokenAccount) SetDescription ¶ added in v1.7.0
func (a *TokenAccount) SetDescription(description string)
SetDescription sets the description of the account.
func (*TokenAccount) SetEnvironmentIDs ¶ added in v1.7.55
func (a *TokenAccount) SetEnvironmentIDs(environmentIds []string)
SetEnvironmentIDs sets the associated environment IDs of the account.
func (*TokenAccount) SetName ¶ added in v1.7.0
func (a *TokenAccount) SetName(name string)
SetName sets the name of the account.
func (*TokenAccount) SetSpaceID ¶ added in v1.7.0
func (a *TokenAccount) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of this account.
func (*TokenAccount) SetTenantIDs ¶ added in v1.7.55
func (a *TokenAccount) SetTenantIDs(tenantIds []string)
SetTenantIDs sets the tenant IDs associated with this account.
func (*TokenAccount) SetTenantTags ¶ added in v1.7.55
func (a *TokenAccount) SetTenantTags(tenantTags []string)
SetTenantTags sets the tenant tags associated with this account.
func (*TokenAccount) SetTenantedDeploymentMode ¶ added in v1.7.55
func (a *TokenAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
SetTenantedDeploymentMode sets the tenanted deployment mode of this account.
func (*TokenAccount) Validate ¶ added in v1.7.0
func (t *TokenAccount) Validate() error
Validate checks the state of this account and returns an error if invalid.
type TypeMetadata ¶ added in v1.7.0
type TypeMetadata struct { Name string `json:"Name,omitempty"` Properties []*PropertyMetadata `json:"Properties"` }
func NewTypeMetadata ¶ added in v1.7.0
func NewTypeMetadata() *TypeMetadata
type User ¶
type User struct { CanPasswordBeEdited bool `json:"CanPasswordBeEdited,omitempty"` DisplayName string `json:"DisplayName,omitempty"` EmailAddress string `json:"EmailAddress,omitempty"` Identities []Identity `json:"Identities,omitempty"` IsActive bool `json:"IsActive,omitempty"` IsRequestor bool `json:"IsRequestor,omitempty"` IsService bool `json:"IsService,omitempty"` Password string `json:"Password,omitempty" validate:"max=20"` Username string `json:"Username,omitempty"` // contains filtered or unexported fields }
User represents a user in Octopus.
func (*User) GetID ¶ added in v1.7.0
func (r *User) GetID() string
GetID returns the ID value of the resource.
func (*User) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*User) GetModifiedBy ¶ added in v1.7.0
func (r *User) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*User) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*User) SetID ¶ added in v1.7.55
func (r *User) SetID(id string)
SetID sets the ID value of the resource.
func (*User) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*User) SetModifiedBy ¶ added in v1.7.55
func (r *User) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*User) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type UserAuthentication ¶ added in v1.7.0
type UserAuthentication struct { AuthenticationProviders []AuthenticationProviderElement CanCurrentUserEditIdentitiesForUser bool Links map[string]string }
UserAuthentication represents enabled authentication providers and whether the current user can edit logins for the given user.
type UserPermissionRestriction ¶ added in v1.7.0
type UserPermissionRestriction struct { RestrictedToEnvironmentIds []string `json:"RestrictedToEnvironmentIds"` RestrictedToProjectGroupIds []string `json:"RestrictedToProjectGroupIds"` RestrictedToProjectIds []string `json:"RestrictedToProjectIds"` RestrictedToTenantIds []string `json:"RestrictedToTenantIds"` SpaceID string `json:"SpaceId,omitempty"` }
type UserPermissionSet ¶ added in v1.7.0
type UserPermissionSet struct { ID string `json:"Id"` IsPermissionsComplete bool `json:"IsPermissionsComplete,omitempty"` IsTeamsComplete bool `json:"IsTeamsComplete,omitempty"` Links map[string]string `json:"Links,omitempty"` SpacePermissions SpacePermissions `json:"SpacePermissions,omitempty"` SystemPermissions []string `json:"SystemPermissions"` Teams []ProjectedTeamReferenceDataItem `json:"Teams"` }
type UserRole ¶ added in v1.7.2
type UserRole struct { CanBeDeleted bool `json:"CanBeDeleted,omitempty"` Description string `json:"Description,omitempty"` GrantedSpacePermissions []string `json:"GrantedSpacePermissions"` GrantedSystemPermissions []string `json:"GrantedSystemPermissions"` Name string `json:"Name,omitempty"` SpacePermissionDescriptions []string `json:"SpacePermissionDescriptions"` SupportedRestrictions []string `json:"SupportedRestrictions"` SystemPermissionDescriptions []string `json:"SystemPermissionDescriptions"` // contains filtered or unexported fields }
UserRole represents a user role in Octopus.
func NewUserRole ¶ added in v1.7.4
NewUserRole initializes a user role with a name.
func (*UserRole) GetID ¶ added in v1.7.2
func (r *UserRole) GetID() string
GetID returns the ID value of the resource.
func (*UserRole) GetLinks ¶ added in v1.7.2
GetLinks returns the associated links with the value of this resource.
func (*UserRole) GetModifiedBy ¶ added in v1.7.2
func (r *UserRole) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*UserRole) GetModifiedOn ¶ added in v1.7.2
GetModifiedOn returns the time when the value of this resource was changed.
func (*UserRole) SetID ¶ added in v1.7.55
func (r *UserRole) SetID(id string)
SetID sets the ID value of the resource.
func (*UserRole) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*UserRole) SetModifiedBy ¶ added in v1.7.55
func (r *UserRole) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*UserRole) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type UserRoles ¶ added in v1.7.2
type UserRoles struct { Items []*UserRole `json:"Items"` PagedResults }
UserRoles defines a collection of user roles with built-in support for paged results.
type UserRolesQuery ¶ added in v1.7.0
type UsernamePasswordAccount ¶ added in v1.7.0
type UsernamePasswordAccount struct { Username string Password *SensitiveValue // contains filtered or unexported fields }
UsernamePasswordAccount represents a username/password account.
func NewUsernamePasswordAccount ¶ added in v1.7.0
func NewUsernamePasswordAccount(name string, options ...func(*UsernamePasswordAccount)) (*UsernamePasswordAccount, error)
NewUsernamePasswordAccount creates and initializes a username/password account with a name.
func (*UsernamePasswordAccount) GetAccountType ¶ added in v1.7.0
func (a *UsernamePasswordAccount) GetAccountType() AccountType
GetAccountType returns the type of this account.
func (*UsernamePasswordAccount) GetDescription ¶ added in v1.7.0
func (a *UsernamePasswordAccount) GetDescription() string
GetDescription returns the description of the account.
func (*UsernamePasswordAccount) GetEnvironmentIDs ¶ added in v1.7.0
func (a *UsernamePasswordAccount) GetEnvironmentIDs() []string
GetEnvironmentIDs returns the environment IDs associated with this account.
func (*UsernamePasswordAccount) GetName ¶ added in v1.7.0
func (a *UsernamePasswordAccount) GetName() string
GetName returns the name of the account.
func (*UsernamePasswordAccount) GetSpaceID ¶ added in v1.7.0
func (a *UsernamePasswordAccount) GetSpaceID() string
GetSpaceID returns the space ID of this account.
func (*UsernamePasswordAccount) GetTenantIDs ¶ added in v1.7.0
func (a *UsernamePasswordAccount) GetTenantIDs() []string
GetTenantIDs returns the tenant IDs associated with this account.
func (*UsernamePasswordAccount) GetTenantTags ¶ added in v1.7.0
func (a *UsernamePasswordAccount) GetTenantTags() []string
GetTenantTags returns the tenant tags assigned to this account.
func (*UsernamePasswordAccount) GetTenantedDeploymentMode ¶ added in v1.7.0
func (a *UsernamePasswordAccount) GetTenantedDeploymentMode() TenantedDeploymentMode
GetTenantedDeploymentMode returns the tenanted deployment mode of this account.
func (*UsernamePasswordAccount) GetUsername ¶ added in v1.7.55
func (u *UsernamePasswordAccount) GetUsername() string
GetUsername returns the username of this username/password account.
func (*UsernamePasswordAccount) SetDescription ¶ added in v1.7.0
func (a *UsernamePasswordAccount) SetDescription(description string)
SetDescription sets the description of the account.
func (*UsernamePasswordAccount) SetEnvironmentIDs ¶ added in v1.7.55
func (a *UsernamePasswordAccount) SetEnvironmentIDs(environmentIds []string)
SetEnvironmentIDs sets the associated environment IDs of the account.
func (*UsernamePasswordAccount) SetName ¶ added in v1.7.0
func (a *UsernamePasswordAccount) SetName(name string)
SetName sets the name of the account.
func (*UsernamePasswordAccount) SetPassword ¶ added in v1.7.55
func (u *UsernamePasswordAccount) SetPassword(password *SensitiveValue)
SetPassword sets the password of this username/password account.
func (*UsernamePasswordAccount) SetSpaceID ¶ added in v1.7.0
func (a *UsernamePasswordAccount) SetSpaceID(spaceID string)
SetSpaceID sets the space ID of this account.
func (*UsernamePasswordAccount) SetTenantIDs ¶ added in v1.7.55
func (a *UsernamePasswordAccount) SetTenantIDs(tenantIds []string)
SetTenantIDs sets the tenant IDs associated with this account.
func (*UsernamePasswordAccount) SetTenantTags ¶ added in v1.7.55
func (a *UsernamePasswordAccount) SetTenantTags(tenantTags []string)
SetTenantTags sets the tenant tags associated with this account.
func (*UsernamePasswordAccount) SetTenantedDeploymentMode ¶ added in v1.7.55
func (a *UsernamePasswordAccount) SetTenantedDeploymentMode(mode TenantedDeploymentMode)
SetTenantedDeploymentMode sets the tenanted deployment mode of this account.
func (*UsernamePasswordAccount) SetUsername ¶ added in v1.7.55
func (u *UsernamePasswordAccount) SetUsername(username string)
SetUsername sets the username of this username/password account.
func (*UsernamePasswordAccount) Validate ¶ added in v1.7.0
func (u *UsernamePasswordAccount) Validate() error
Validate checks the state of this account and returns an error if invalid.
type UsernamePasswordGitCredential ¶ added in v1.7.55
type UsernamePasswordGitCredential struct { Password *SensitiveValue `json:"Password"` Username string `json:"Username"` // contains filtered or unexported fields }
UsernamePasswordGitCredential defines a username-password Git credential.
func NewUsernamePasswordGitCredential ¶ added in v1.7.55
func NewUsernamePasswordGitCredential(username string, password *SensitiveValue) *UsernamePasswordGitCredential
NewUsernamePasswordGitCredential creates and initializes an username-password Git credential.
func (*UsernamePasswordGitCredential) GetType ¶ added in v1.7.55
func (u *UsernamePasswordGitCredential) GetType() GitCredentialType
GitCredentialType returns the type for this Git credential.
type Users ¶ added in v1.7.0
type Users struct { Items []*User `json:"Items"` PagedResults }
Users defines a collection of users with built-in support for paged results.
type UsersQuery ¶ added in v1.7.0
type Variable ¶
type Variable struct { Description string `json:"Description"` IsEditable bool `json:"IsEditable"` IsSensitive bool `json:"IsSensitive"` Name string `json:"Name"` Prompt *VariablePromptOptions `json:"Prompt,omitempty"` Scope VariableScope `json:"Scope"` Type string `json:"Type"` Value string `json:"Value"` // contains filtered or unexported fields }
func NewVariable ¶
func (*Variable) GetID ¶ added in v1.7.0
func (r *Variable) GetID() string
GetID returns the ID value of the resource.
func (*Variable) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*Variable) GetModifiedBy ¶ added in v1.7.0
func (r *Variable) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*Variable) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*Variable) SetID ¶ added in v1.7.55
func (r *Variable) SetID(id string)
SetID sets the ID value of the resource.
func (*Variable) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*Variable) SetModifiedBy ¶ added in v1.7.55
func (r *Variable) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*Variable) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type VariableNamesQuery ¶ added in v1.7.0
type VariablePreviewQuery ¶ added in v1.7.0
type VariablePreviewQuery struct { Action string `uri:"action,omitempty" url:"action,omitempty"` Channel string `uri:"channel,omitempty" url:"channel,omitempty"` Environment string `uri:"environment,omitempty" url:"environment,omitempty"` Machine string `uri:"machine,omitempty" url:"machine,omitempty"` Project string `uri:"project,omitempty" url:"project,omitempty"` Role string `uri:"role,omitempty" url:"role,omitempty"` Runbook string `uri:"runbook,omitempty" url:"runbook,omitempty"` Tenant string `uri:"tenant,omitempty" url:"tenant,omitempty"` }
type VariablePromptOptions ¶
type VariablePromptOptions struct { Description string `json:"Description"` DisplaySettings *DisplaySettings `json:"DisplaySettings,omitempty"` IsRequired bool `json:"Required"` Label string `json:"Label"` }
type VariableScope ¶
type VariableScope struct { Environments []string `json:"Environment,omitempty"` Machines []string `json:"Machine,omitempty"` Actions []string `json:"Action,omitempty"` Roles []string `json:"Role,omitempty"` Channels []string `json:"Channel,omitempty"` TenantTags []string `json:"TenantTag,omitempty"` }
func (VariableScope) IsEmpty ¶ added in v1.7.17
func (scope VariableScope) IsEmpty() bool
type VariableScopeValues ¶ added in v1.7.0
type VariableScopeValues struct { Actions []*ReferenceDataItem `json:"Actions"` Channels []*ReferenceDataItem `json:"Channels"` Environments []*ReferenceDataItem `json:"Environments"` Machines []*ReferenceDataItem `json:"Machines"` Processes []*ProcessReferenceDataItem `json:"Processes"` Roles []*ReferenceDataItem `json:"Roles"` TenantTags []*ReferenceDataItem `json:"TenantTags"` }
type VariableSet ¶ added in v1.7.0
type VariableSet struct { OwnerID string `json:"OwnerId,omitempty"` ScopeValues *VariableScopeValues `json:"ScopeValues,omitempty"` SpaceID string `json:"SpaceId,omitempty"` Variables []*Variable `json:"Variables"` Version int32 `json:"Version"` // contains filtered or unexported fields }
func NewVariableSet ¶ added in v1.7.0
func NewVariableSet() *VariableSet
func (*VariableSet) GetID ¶ added in v1.7.0
func (r *VariableSet) GetID() string
GetID returns the ID value of the resource.
func (*VariableSet) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*VariableSet) GetModifiedBy ¶ added in v1.7.0
func (r *VariableSet) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*VariableSet) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*VariableSet) SetID ¶ added in v1.7.55
func (r *VariableSet) SetID(id string)
SetID sets the ID value of the resource.
func (*VariableSet) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*VariableSet) SetModifiedBy ¶ added in v1.7.55
func (r *VariableSet) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*VariableSet) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
type VariablesQuery ¶ added in v1.7.0
type VariablesQuery struct {
IDs []string `uri:"ids,omitempty" url:"ids,omitempty"`
}
type VersionControlReference ¶ added in v1.7.45
type VersionControlSettings ¶ added in v1.7.0
type VersionControlSettings struct { BasePath string Credentials IGitCredential DefaultBranch string Type string URL *url.URL }
VersionControlSettings represents version control settings associated with a project.
func NewVersionControlSettings ¶ added in v1.7.55
func NewVersionControlSettings( basePath string, credentials IGitCredential, defaultBranch string, persistenceType string, url *url.URL) *VersionControlSettings
NewVersionControlSettings creates an instance of version control settings.
func (*VersionControlSettings) MarshalJSON ¶ added in v1.7.55
func (v *VersionControlSettings) MarshalJSON() ([]byte, error)
MarshalJSON returns version control settings as its JSON encoding.
func (*VersionControlSettings) UnmarshalJSON ¶ added in v1.7.55
func (v *VersionControlSettings) UnmarshalJSON(b []byte) error
UnmarshalJSON sets the version control settings to its representation in JSON.
type VersionRuleTestQuery ¶ added in v1.7.0
type VersionRuleTestQuery struct { FeetType string `uri:"feetType,omitempty" url:"feetType,omitempty"` PreReleaseTag string `uri:"preReleaseTag,omitempty" url:"preReleaseTag,omitempty"` Version string `uri:"version,omitempty" url:"version,omitempty"` VersionRange string `uri:"versionRange,omitempty" url:"versionRange,omitempty"` }
type VersioningStrategy ¶
type VersioningStrategy struct { DonorPackage *DeploymentActionPackage `json:"DonorPackage,omitempty"` DonorPackageStepID *string `json:"DonorPackageStepId,omitempty"` Template string `json:"Template,omitempty"` }
type Weekday ¶ added in v1.7.45
type Weekday int
func WeekdayString ¶ added in v1.7.45
WeekdayString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func WeekdayValues ¶ added in v1.7.45
func WeekdayValues() []Weekday
WeekdayValues returns all values of the enum
func (Weekday) IsAWeekday ¶ added in v1.7.45
IsAWeekday returns "true" if the value is listed in the enum definition. "false" otherwise
func (Weekday) MarshalJSON ¶ added in v1.7.45
MarshalJSON implements the json.Marshaler interface for Weekday
func (*Weekday) UnmarshalJSON ¶ added in v1.7.45
UnmarshalJSON implements the json.Unmarshaler interface for Weekday
type WorkItemLink ¶ added in v1.7.0
type WorkItemLink struct { Description string `json:"Description,omitempty"` ID string `json:"Id,omitempty"` LinkURL string `json:"LinkUrl,omitempty"` Source string `json:"Source,omitempty"` }
func NewWorkItemLink ¶ added in v1.7.0
func NewWorkItemLink() *WorkItemLink
type Worker ¶ added in v1.7.0
type Worker struct { SpaceID string `json:"SpaceId,omitempty"` WorkerPoolIDs []string `json:"WorkerPoolIds,omitempty"` // contains filtered or unexported fields }
func (*Worker) GetSpaceID ¶ added in v1.7.0
GetSpaceID returns the space ID that is associated with this worker.
func (*Worker) MarshalJSON ¶ added in v1.7.0
MarshalJSON returns a worker as its JSON encoding.
func (*Worker) SetSpaceID ¶ added in v1.7.0
SetSpaceID sets the space ID that is associated with this worker.
func (*Worker) UnmarshalJSON ¶ added in v1.7.0
UnmarshalJSON sets this worker to its representation in JSON.
type WorkerPoolResource ¶ added in v1.7.0
type WorkerPoolResource struct { CanAddWorkers bool `json:"CanAddWorkers"` Description string `json:"Description,omitempty"` IsDefault bool `json:"IsDefault"` Name string `json:"Name" validate:"required,notblank"` SpaceID string `json:"SpaceId,omitempty" validate:"omitempty,notblank"` SortOrder int `json:"SortOrder"` WorkerPoolType WorkerPoolType `json:"WorkerPoolType"` WorkerType WorkerType `json:"WorkerType,omitempty"` // contains filtered or unexported fields }
func NewWorkerPoolResource ¶ added in v1.7.49
func NewWorkerPoolResource(name string, workerPoolType WorkerPoolType) *WorkerPoolResource
NewWorkerPoolResource creates and initializes a worker pool resource.
func ToWorkerPoolResource ¶ added in v1.7.48
func ToWorkerPoolResource(workerPool IWorkerPool) (*WorkerPoolResource, error)
func (*WorkerPoolResource) GetCanAddWorkers ¶ added in v1.8.0
func (w *WorkerPoolResource) GetCanAddWorkers() bool
func (*WorkerPoolResource) GetDescription ¶ added in v1.8.0
func (w *WorkerPoolResource) GetDescription() string
func (*WorkerPoolResource) GetID ¶ added in v1.7.0
func (r *WorkerPoolResource) GetID() string
GetID returns the ID value of the resource.
func (*WorkerPoolResource) GetIsDefault ¶ added in v1.7.0
func (w *WorkerPoolResource) GetIsDefault() bool
func (*WorkerPoolResource) GetLinks ¶ added in v1.7.0
GetLinks returns the associated links with the value of this resource.
func (*WorkerPoolResource) GetModifiedBy ¶ added in v1.7.0
func (r *WorkerPoolResource) GetModifiedBy() string
GetModifiedBy returns the name of the account that modified the value of this resource.
func (*WorkerPoolResource) GetModifiedOn ¶ added in v1.7.0
GetModifiedOn returns the time when the value of this resource was changed.
func (*WorkerPoolResource) GetName ¶ added in v1.7.0
func (w *WorkerPoolResource) GetName() string
GetName returns the name of the worker pool resource.
func (*WorkerPoolResource) GetSortOrder ¶ added in v1.8.0
func (w *WorkerPoolResource) GetSortOrder() int
func (*WorkerPoolResource) GetSpaceID ¶ added in v1.8.0
func (w *WorkerPoolResource) GetSpaceID() string
func (*WorkerPoolResource) GetWorkerPoolType ¶ added in v1.7.0
func (w *WorkerPoolResource) GetWorkerPoolType() WorkerPoolType
GetWorkerPoolType returns the worker type for this worker pool resource.
func (*WorkerPoolResource) GetWorkerType ¶ added in v1.7.0
func (w *WorkerPoolResource) GetWorkerType() WorkerType
GetWorkerType returns the worker type for this worker pool resource.
func (*WorkerPoolResource) SetCanAddWorkers ¶ added in v1.8.0
func (w *WorkerPoolResource) SetCanAddWorkers(canAddWorkers bool)
func (*WorkerPoolResource) SetDescription ¶ added in v1.8.0
func (w *WorkerPoolResource) SetDescription(description string)
func (*WorkerPoolResource) SetID ¶ added in v1.7.55
func (r *WorkerPoolResource) SetID(id string)
SetID sets the ID value of the resource.
func (*WorkerPoolResource) SetIsDefault ¶ added in v1.8.0
func (w *WorkerPoolResource) SetIsDefault(isDefault bool)
func (*WorkerPoolResource) SetLinks ¶ added in v1.7.55
SetLinks sets the associated links with the value of this resource.
func (*WorkerPoolResource) SetModifiedBy ¶ added in v1.7.55
func (r *WorkerPoolResource) SetModifiedBy(modifiedBy string)
SetModifiedBy set the name of the account that modified the value of this resource.
func (*WorkerPoolResource) SetModifiedOn ¶ added in v1.7.55
SetModifiedOn set the time when the value of this resource was changed.
func (*WorkerPoolResource) SetName ¶ added in v1.7.0
func (w *WorkerPoolResource) SetName(name string)
SetName sets the name of the worker pool resource.
func (*WorkerPoolResource) SetSortOrder ¶ added in v1.8.0
func (w *WorkerPoolResource) SetSortOrder(sortOrder int)
func (*WorkerPoolResource) SetSpaceID ¶ added in v1.8.0
func (w *WorkerPoolResource) SetSpaceID(spaceID string)
func (*WorkerPoolResource) SetWorkerPoolType ¶ added in v1.8.0
func (w *WorkerPoolResource) SetWorkerPoolType(workerPoolType WorkerPoolType)
func (*WorkerPoolResource) SetWorkerType ¶ added in v1.8.0
func (w *WorkerPoolResource) SetWorkerType(workerType WorkerType)
func (*WorkerPoolResource) Validate ¶ added in v1.7.0
func (w *WorkerPoolResource) Validate() error
Validate checks the state of the worker pool resource and returns an error if invalid.
type WorkerPoolResources ¶ added in v1.7.0
type WorkerPoolResources struct { Items []*WorkerPoolResource `json:"Items"` PagedResults }
type WorkerPoolType ¶ added in v1.7.0
type WorkerPoolType string
const ( WorkerPoolTypeDynamic WorkerPoolType = "DynamicWorkerPool" WorkerPoolTypeStatic WorkerPoolType = "StaticWorkerPool" )
type WorkerPools ¶ added in v1.7.0
type WorkerPools struct { Items []IWorkerPool `json:"Items"` PagedResults }
func ToWorkerPools ¶ added in v1.7.48
func ToWorkerPools(workerPoolResources *WorkerPoolResources) *WorkerPools
type WorkerPoolsQuery ¶ added in v1.7.0
type WorkerPoolsQuery struct { IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` Name string `uri:"name,omitempty" url:"name,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` }
type WorkerPoolsSummaryQuery ¶ added in v1.7.0
type WorkerPoolsSummaryQuery struct { CommunicationStyles []string `uri:"commStyles,omitempty" url:"commStyles,omitempty"` HealthStatuses []string `uri:"healthStatuses,omitempty" url:"healthStatuses,omitempty"` HideEmptyWorkerPools bool `uri:"hideEmptyWorkerPools,omitempty" url:"hideEmptyWorkerPools,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IsDisabled bool `uri:"isDisabled,omitempty" url:"isDisabled,omitempty"` MachinePartialName string `uri:"machinePartialName,omitempty" url:"machinePartialName,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` ShellNames []string `uri:"shellNames,omitempty" url:"shellNames,omitempty"` }
type WorkerType ¶ added in v1.7.0
type WorkerType string
const ( WorkerTypeUbuntu1804 WorkerType = "Ubuntu1804" WorkerTypeUbuntuDefault WorkerType = "UbuntuDefault" WorkerTypeWindows2016 WorkerType = "Windows2016" WorkerTypeWindows2019 WorkerType = "Windows2019" WorkerTypeUWindowsDefault WorkerType = "WindowsDefault" )
type Workers ¶ added in v1.7.0
type Workers struct { Items []*Worker `json:"Items"` PagedResults }
Workers defines a collection of workers with built-in support for paged results.
type WorkersQuery ¶ added in v1.7.0
type WorkersQuery struct { CommunicationStyles []string `uri:"commStyles,omitempty" url:"commStyles,omitempty"` HealthStatuses []string `uri:"healthStatuses,omitempty" url:"healthStatuses,omitempty"` IDs []string `uri:"ids,omitempty" url:"ids,omitempty"` IsDisabled bool `uri:"isDisabled,omitempty" url:"isDisabled,omitempty"` Name string `uri:"name,omitempty" url:"name,omitempty"` PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"` ShellNames []string `uri:"shellNames,omitempty" url:"shellNames,omitempty"` Skip int `uri:"skip,omitempty" url:"skip,omitempty"` Take int `uri:"take,omitempty" url:"take,omitempty"` Thumbprint string `uri:"thumbprint,omitempty" url:"thumbprint,omitempty"` WorkerPoolIDs []string `uri:"workerPoolIds" url:"workerPoolIds,omitempty"` }
Source Files ¶
- account.go
- account_resource.go
- account_service.go
- account_types.go
- account_usage.go
- account_utilities.go
- accounts.go
- action_template.go
- action_template_category.go
- action_template_parameter.go
- action_template_search.go
- action_template_service.go
- action_type.go
- action_type_string.go
- activity_log_element.go
- activity_log_entry.go
- amazon_web_services_account.go
- anonymous_git_credential.go
- api_key.go
- api_key_service.go
- artifact.go
- artifact_service.go
- authentication.go
- authentication_provider_element.go
- authentication_service.go
- auto_deploy_action.go
- auto_deploy_release_override.go
- aws_elastic_container_registry.go
- azure_cloud_service_endpoint.go
- azure_devops_connectivity_check_service.go
- azure_devops_environment_service.go
- azure_service_fabric_endpoint.go
- azure_service_principal_account.go
- azure_subscription_account.go
- azure_web_app_endpoint.go
- build_information.go
- build_information_service.go
- built_in_feed.go
- built_in_feed_statistics.go
- certificate.go
- certificate_configuration_service.go
- certificate_service.go
- change_details.go
- channel.go
- channel_rule.go
- channel_service.go
- cloud_region_endpoint.go
- cloud_service_endpoint.go
- cloud_template_service.go
- commit_details.go
- community_action_template.go
- community_action_template_service.go
- configuration_section.go
- configuration_service.go
- connectivity_check.go
- connectivity_policy.go
- constants_action_types.go
- constants_api_replies.go
- constants_client.go
- constants_links.go
- constants_operations.go
- constants_parameters.go
- constants_services.go
- continuous_daily_scheduled_trigger_filter.go
- control.go
- convert_to_vcs.go
- convert_to_vcs_response.go
- cron_scheduled_trigger_filter.go
- daily_scheduled_trigger_filter.go
- daily_scheduled_trigger_interval.go
- daily_scheduled_trigger_interval_string.go
- dashboard_configuration_service.go
- dashboard_item.go
- dashboard_service.go
- database_persistence_settings.go
- date_of_month_scheduled_trigger_filter.go
- day_of_week_scheduled_trigger_filter.go
- deploy_latest_release_action.go
- deploy_new_release_action.go
- deployment.go
- deployment_action.go
- deployment_action_container.go
- deployment_action_package.go
- deployment_process.go
- deployment_process_service.go
- deployment_service.go
- deployment_step.go
- deployment_step_condition_types.go
- deployment_step_package_requirement.go
- deployment_step_start_trigger.go
- deployment_target.go
- deployment_target_filter.go
- display_info.go
- display_settings.go
- docker_container_registry.go
- document_type.go
- duration_formatter.go
- dynamic_extension_service.go
- dynamic_worker_pool.go
- endpoint.go
- endpoint_resource.go
- endpoint_utilities.go
- environment.go
- environment_service.go
- event.go
- event_agent.go
- event_category.go
- event_group.go
- event_reference.go
- event_service.go
- extension_settings_values.go
- external_security_group_provider_service.go
- feature_configuration.go
- feed.go
- feed_resource.go
- feed_service.go
- feed_types.go
- feed_utilities.go
- filter_type.go
- filter_type_string.go
- form.go
- form_element.go
- git_credential.go
- git_credential_types.go
- git_persistence_settings.go
- github_feed.go
- google_cloud_platform_account.go
- helm_feed.go
- identity.go
- identity_claim.go
- interfaces.go
- interruption.go
- interruption_service.go
- interruption_submit_request.go
- invitation_service.go
- issue_tracker_service.go
- jira_integration_service.go
- kubernetes_authentication.go
- kubernetes_aws_authentication.go
- kubernetes_azure_authentication.go
- kubernetes_certificate_authentication.go
- kubernetes_endpoint.go
- kubernetes_gcp_authentication.go
- kubernetes_standard_authentication.go
- lets_encrypt_configuration_service.go
- library.go
- library_variable.go
- library_variable_set.go
- library_variable_set_service.go
- library_variable_set_usage_entry.go
- licenses_service.go
- lifecycle.go
- lifecycle_service.go
- links.go
- list_api_metadata.go
- listening_tentacle_deployment_target.go
- listening_tentacle_endpoint.go
- machine.go
- machine_cleanup_policy.go
- machine_connection_status.go
- machine_connectivity_policy.go
- machine_health_check_policy.go
- machine_policy.go
- machine_policy_service.go
- machine_role_service.go
- machine_script_policy.go
- machine_service.go
- machine_tentacle_version_details.go
- machine_update_policy.go
- maintenance_configuration_service.go
- maven_feed.go
- metadata.go
- migration_service.go
- monthly_schedule.go
- monthly_schedule_string.go
- monthly_scheduled_trigger_filter.go
- named_reference_item.go
- not_all_validator.go
- nuget_feed.go
- octopus_package_metadata_service.go
- octopus_project_feed.go
- octopus_server_node.go
- octopus_server_nodes_service.go
- octopusdeploy.go
- offline_package_drop_deployment_target.go
- offline_package_drop_destination.go
- offline_package_drop_endpoint.go
- once_daily_scheduled_trigger_filter.go
- options_metadata.go
- package.go
- package_description.go
- package_metadata_service.go
- package_note.go
- package_notes_result.go
- package_reference.go
- package_service.go
- package_version.go
- paged_results.go
- performance_configuration_service.go
- permission_description.go
- permission_service.go
- persistence_settings.go
- phase.go
- polling_tentacle_endpoint.go
- process_reference_data_item.go
- progression.go
- project.go
- project_group.go
- project_group_service.go
- project_service.go
- project_summary.go
- project_trigger.go
- project_trigger_action.go
- project_trigger_filter.go
- project_trigger_service.go
- project_variable.go
- project_variable_set_usage.go
- projected_team_reference_data_item.go
- property_applicability.go
- property_metadata.go
- property_value.go
- proxy_service.go
- queries.go
- reference_data_item.go
- release.go
- release_changes.go
- release_creation_strategy.go
- release_package_version_build_information.go
- release_progression.go
- release_service.go
- release_template_package.go
- release_usage.go
- release_usage_entry.go
- releases.go
- replacement_certificate.go
- reporting_service.go
- resource.go
- retention_period.go
- root_resource.go
- root_service.go
- run_runbook_action.go
- runbook.go
- runbook_process.go
- runbook_process_service.go
- runbook_retention_period.go
- runbook_run_service.go
- runbook_service.go
- runbook_snapshot.go
- runbook_snapshot_service.go
- runbook_snapshot_template.go
- runbook_snapshot_usage.go
- runbook_snapshot_usage_entry.go
- runbook_step_usage.go
- schedule_trigger_filter.go
- scheduled_project_triggers_service.go
- scheduled_trigger_filter.go
- scheduled_trigger_filter_run_type.go
- scheduled_trigger_filter_run_type_string.go
- scheduler_service.go
- scoped_deployment_action.go
- scoped_user_role.go
- scoped_user_role_service.go
- script_module.go
- script_module_service.go
- selected_package.go
- sensitive_value.go
- server_configuration_service.go
- server_status.go
- server_status_service.go
- service.go
- skip_machine_behavior.go
- smtp_configuration_service.go
- space.go
- space_permissions.go
- space_service.go
- ssh_endpoint.go
- ssh_key_account.go
- static_worker_pool.go
- step_usage.go
- step_usage_entry.go
- subscription_service.go
- tag.go
- tag_set.go
- tag_set_service.go
- target_usage_entry.go
- task.go
- task_service.go
- team.go
- team_membership_service.go
- team_service.go
- tenant.go
- tenant_service.go
- tenant_variable.go
- tenant_variable_service.go
- tenanted_deployment_mode_types.go
- tenants_missing_variables.go
- tentacle_endpoint.go
- tentacle_version_details.go
- test_helpers.go
- token_account.go
- trigger_action.go
- trigger_filter.go
- type_metadata.go
- upgrade_configuration_service.go
- user.go
- user_authentication.go
- user_onboarding_service.go
- user_permission_restriction.go
- user_permission_set.go
- user_role.go
- user_role_service.go
- user_service.go
- username_password_account.go
- username_password_git_credential.go
- util.go
- utilities.go
- valid_values.go
- variable.go
- variable_prompt_options.go
- variable_scope.go
- variable_scope_values.go
- variable_service.go
- variable_set.go
- version_control_reference.go
- version_control_settings.go
- versioning_strategy.go
- weekday.go
- weekday_string.go
- work_item_link.go
- worker.go
- worker_pool.go
- worker_pool_resource.go
- worker_pool_service.go
- worker_pool_types.go
- worker_pool_utilities.go
- worker_service.go
- worker_tools_latest_images_service.go
- worker_types.go