Documentation
¶
Index ¶
- type Account
- type Action
- type ActionPackage
- type AuthenticationResource
- type AzureCloudServiceEndpointResource
- type AzureCloudServiceResource
- type AzureServiceFabricEndpointResource
- type AzureServiceFabricResource
- type AzureWebAppEndpointResource
- type AzureWebAppResource
- type BashHealthCheckPolicy
- type Certificate
- type Channel
- type Claim
- type CloudRegionEndpointResource
- type CloudRegionResource
- type Container
- type ConversionState
- type Credentials
- type DeploymentActionContainerResource
- type DeploymentProcess
- type Dn
- type DonorPackage
- type Email
- type Environment
- type Extension
- type Feed
- type GeneralCollection
- type GitCredentials
- type GitCredentialsDetails
- type Identity
- type KubernetesEndpointResource
- type KubernetesTentacleEndpointResource
- type LibraryVariable
- type LibraryVariableSet
- type Lifecycle
- type ListeningEndpointResource
- type ListeningTentacleEndpointResource
- type Machine
- type MachineCleanupPolicy
- type MachineConnectivityPolicy
- type MachineEndpointResource
- type MachineHealthCheckPolicy
- type MachinePolicy
- type MachineUpdatePolicy
- type NameId
- type OfflineDropEndpointDestinationResource
- type OfflineDropEndpointResource
- type OfflineDropResource
- type Package
- type PersistenceSettings
- type Phase
- type Policy
- type PollingEndpointResource
- type PollingTentacleEndpointResource
- type PowerShellHealthCheckPolicy
- type Project
- type ProjectConnectivityPolicy
- type ProjectGroup
- type ProjectTrigger
- type ProjectTriggerAction
- type ProjectTriggerFilter
- type ProjectVariable
- type Prompt
- type Role
- type Rule
- type RunRetentionPolicy
- type Runbook
- type RunbookProcess
- type Scope
- type Secret
- type Space
- type SshConnectionDeploymentTargetEndpoint
- type SshEndpointResource
- type Step
- type Tag
- type TagSet
- type Team
- type Template
- type Tenant
- type TenantVariable
- type TentacleVersionDetails
- type User
- type Variable
- type VariableSet
- type VersioningStrategy
- type WorkerPool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
Id string
Name string
Slug *string
Description *string
SpaceId *string
EnvironmentIds []string
TenantedDeploymentParticipation *string
TenantIds []string
TenantTags []string
AccountType string
// token
Token Secret
// aws
AccessKey *string
SecretKey Secret
// azure
SubscriptionNumber *string
ClientId *string
TenantId *string
Password Secret
AzureEnvironment *string
ResourceManagementEndpointBaseUri *string
ActiveDirectoryEndpointBaseUri *string
// azure subscription
ServiceManagementEndpointBaseUri *string
ServiceManagementEndpointSuffix *string
CertificateBytes Secret
CertificateThumbprint *string
// username
Username *string
// google
JsonKey Secret
}
type Action ¶
type Action struct {
Id string
Name *string
ActionType *string
Notes *string
IsDisabled bool
CanBeUsedForProjectVersioning bool
IsRequired bool
WorkerPoolId string
Container Container
WorkerPoolVariable *string
Environments []string
ExcludedEnvironments []string
Channels []string
TenantTags []string
Packages []Package
Condition *string
Properties map[string]any
}
type ActionPackage ¶
type AuthenticationResource ¶
type AuthenticationResource struct {
AuthenticationType string
// KubernetesCertificateAuthenticationResource
ClientCertificate *string
// KubernetesPodServiceAuthenticationResource
TokenPath *string
// KubernetesStandardAccountAuthenticationResource
AccountId *string
// KubernetesAzureAuthenticationResource and KubernetesAwsAuthenticationResource
ClusterName *string
ClusterResourceGroup *string
// KubernetesAwsAuthenticationResource
UseInstanceRole *bool
AssumeRole *bool
AssumedRoleArn *string
AssumedRoleSession *string
AssumeRoleSessionDurationSeconds *int
AssumeRoleExternalId *string
// KubernetesGoogleCloudAuthenticationResource
UseVmServiceAccount *bool
ImpersonateServiceAccount *bool
ServiceAccountEmails *string
Project *string
Region *string
Zone *string
}
type AzureCloudServiceResource ¶
type AzureCloudServiceResource struct {
Id string
Name string
EnvironmentIds []string
Roles []string
TenantIds []string
TenantTags []string
TenantedDeploymentParticipation string
Thumbprint string
Uri string
IsDisabled bool
MachinePolicyId string
HealthStatus string
HasLatestCalamari bool
StatusSummary string
IsInProcess bool
OperatingSystem string
ShellName string
ShellVersion string
Architecture string
Endpoint AzureCloudServiceEndpointResource
}
type AzureServiceFabricEndpointResource ¶
type AzureServiceFabricEndpointResource struct {
CommunicationStyle string
ConnectionEndpoint string
SecurityMode string
ServerCertThumbprint string
ClientCertVariable string
CertificateStoreLocation string
CertificateStoreName string
AadCredentialType string
AadClientCredentialSecret string
AadUserCredentialUsername string
AadUserCredentialPassword Secret
DefaultWorkerPoolId string
}
type AzureServiceFabricResource ¶
type AzureServiceFabricResource struct {
Id string
Name string
EnvironmentIds []string
Roles []string
TenantIds []string
TenantTags []string
TenantedDeploymentParticipation string
Thumbprint string
Uri string
IsDisabled bool
MachinePolicyId string
HealthStatus string
HasLatestCalamari bool
StatusSummary string
IsInProcess bool
OperatingSystem string
ShellName string
ShellVersion string
Architecture string
Endpoint AzureServiceFabricEndpointResource
}
type AzureWebAppResource ¶
type AzureWebAppResource struct {
Id string
Name string
EnvironmentIds []string
Roles []string
TenantIds []string
TenantTags []string
TenantedDeploymentParticipation string
Thumbprint string
Uri string
IsDisabled bool
MachinePolicyId string
HealthStatus string
HasLatestCalamari bool
StatusSummary string
IsInProcess bool
OperatingSystem string
ShellName string
ShellVersion string
Architecture string
Endpoint AzureWebAppEndpointResource
}
type BashHealthCheckPolicy ¶
type Certificate ¶
type Certificate struct {
Id string
Name string
Description *string
TenantedDeploymentParticipation string
EnvironmentIds []string
TenantIds []string
TenantTags []string
CertificateDataFormat string
Archived string
ReplacedBy string
SubjectDistinguishedName string
SubjectCommonName string
SubjectOrganization string
IssuerDistinguishedName string
IssuerCommonName string
IssuerOrganization string
SelfSigned bool
Thumbprint string
NotAfter string
NotBefore string
Notes string
IsExpired bool
HasPrivateKey bool
Version int
SerialNumber string
SignatureAlgorithmName string
SubjectAlternativeNames []string
CertificateChain []string
}
type CloudRegionResource ¶
type CloudRegionResource struct {
Id string
Name string
EnvironmentIds []string
Roles []string
TenantIds []string
TenantTags []string
TenantedDeploymentParticipation string
Thumbprint string
Uri string
IsDisabled bool
MachinePolicyId string
HealthStatus string
HasLatestCalamari bool
StatusSummary string
IsInProcess bool
OperatingSystem string
ShellName string
ShellVersion string
Architecture string
Endpoint CloudRegionEndpointResource
}
type ConversionState ¶
type ConversionState struct {
VariablesAreInGit bool
}
type Credentials ¶
type DeploymentProcess ¶
type DonorPackage ¶
type Environment ¶
type Feed ¶
type Feed struct {
Id string
Name string
Slug *string
FeedType *string
FeedUri *string
Username *string
Password *Secret
PackageAcquisitionLocationOptions []string
RetentionPolicyId *string
DownloadAttempts *int
DownloadRetryBackoffSeconds *int
// Docker
RegistryPath *string
ApiVersion *string
// ECR
AccessKey *string
SecretKey *Secret
Region *string
// Nuget
EnhancedMode bool
}
type GeneralCollection ¶
type GitCredentials ¶
type GitCredentials struct {
Id string
Name string
Description *string
Details GitCredentialsDetails
}
type GitCredentialsDetails ¶
type KubernetesEndpointResource ¶
type KubernetesEndpointResource struct {
Id string
Name string
EnvironmentIds []string
Roles []string
TenantIds []string
TenantTags []string
TenantedDeploymentParticipation string
Thumbprint *string
Uri *string
IsDisabled bool
MachinePolicyId string
HealthStatus string
HasLatestCalamari bool
StatusSummary string
IsInProcess bool
OperatingSystem string
ShellName string
ShellVersion string
Architecture string
Endpoint KubernetesTentacleEndpointResource
}
type KubernetesTentacleEndpointResource ¶
type KubernetesTentacleEndpointResource struct {
CommunicationStyle string
ClusterCertificate *string
ClusterCertificatePath *string
ClusterUrl *string
Namespace *string
SkipTlsVerification *string
ProxyId *string
DefaultWorkerPoolId *string
Container DeploymentActionContainerResource
Authentication AuthenticationResource
}
KubernetesTentacleEndpointResource is based on KubernetesEndpointResource from the client library
type LibraryVariable ¶
type LibraryVariableSet ¶
type ListeningEndpointResource ¶
type ListeningEndpointResource struct {
Id string
Name string
EnvironmentIds []string
Roles []string
TenantIds []string
TenantTags []string
TenantedDeploymentParticipation string
Thumbprint string
Uri string
IsDisabled bool
MachinePolicyId string
HealthStatus string
HasLatestCalamari bool
StatusSummary string
IsInProcess bool
OperatingSystem string
ShellName string
ShellVersion string
Architecture string
Endpoint ListeningTentacleEndpointResource
}
type ListeningTentacleEndpointResource ¶
type ListeningTentacleEndpointResource struct {
CommunicationStyle string
Uri string
ProxyId string
TentacleVersionDetails TentacleVersionDetails
}
ListeningTentacleEndpointResource is based on ListeningTentacleEndpointResource from the client library
type Machine ¶ added in v0.1.433
type Machine struct {
Id string
Name string
Endpoint MachineEndpointResource
}
Machine is a minimal representation capturing the common fields required to distinguish and identify a target
type MachineCleanupPolicy ¶
type MachineConnectivityPolicy ¶
type MachineConnectivityPolicy struct {
MachineConnectivityBehavior string
}
type MachineEndpointResource ¶ added in v0.1.433
type MachineEndpointResource struct {
CommunicationStyle string
}
type MachineHealthCheckPolicy ¶
type MachineHealthCheckPolicy struct {
HealthCheckInterval *string
HealthCheckCron *string
HealthCheckCronTimezone *string
HealthCheckType *string
PowerShellHealthCheckPolicy PowerShellHealthCheckPolicy
BashHealthCheckPolicy BashHealthCheckPolicy
}
type MachinePolicy ¶
type MachinePolicy struct {
Id string
Name string
SpaceId *string
Description *string
IsDefault bool
PollingRequestQueueTimeout string
PollingRequestMaximumMessageProcessingTimeout string
ConnectionRetrySleepInterval string
ConnectionRetryCountLimit *int
ConnectionRetryTimeLimit string
ConnectionConnectTimeout string
MachineHealthCheckPolicy MachineHealthCheckPolicy
MachineConnectivityPolicy MachineConnectivityPolicy
MachineCleanupPolicy MachineCleanupPolicy
MachineUpdatePolicy MachineUpdatePolicy
}
type MachineUpdatePolicy ¶
type OfflineDropEndpointResource ¶
type OfflineDropEndpointResource struct {
CommunicationStyle string
Destination OfflineDropEndpointDestinationResource
ApplicationsDirectory string
OctopusWorkingDirectory string
}
type OfflineDropResource ¶
type OfflineDropResource struct {
Id string
Name string
EnvironmentIds []string
Roles []string
TenantIds []string
TenantTags []string
TenantedDeploymentParticipation string
Thumbprint string
Uri string
IsDisabled bool
MachinePolicyId string
HealthStatus string
HasLatestCalamari bool
StatusSummary string
IsInProcess bool
OperatingSystem string
ShellName string
ShellVersion string
Architecture string
Endpoint OfflineDropEndpointResource
}
type PersistenceSettings ¶
type PersistenceSettings struct {
Type string
Url string
Credentials Credentials
DefaultBranch string
BasePath string
ProtectedDefaultBranch bool
ProtectedBranchNamePatterns []string
ConversionState ConversionState
}
type PollingEndpointResource ¶
type PollingEndpointResource struct {
Id string
Name string
EnvironmentIds []string
Roles []string
TenantIds []string
TenantTags []string
TenantedDeploymentParticipation string
Thumbprint string
Uri string
IsDisabled bool
MachinePolicyId string
HealthStatus string
HasLatestCalamari bool
StatusSummary string
IsInProcess bool
OperatingSystem string
ShellName string
ShellVersion string
Architecture string
Endpoint PollingTentacleEndpointResource
}
type PollingTentacleEndpointResource ¶
type PollingTentacleEndpointResource struct {
CommunicationStyle string
Uri string
TentacleVersionDetails TentacleVersionDetails
}
PollingTentacleEndpointResource is based on PollingTentacleEndpointResource from the client library
type Project ¶
type Project struct {
Id string
Name string
Slug *string
Description *string
AutoCreateRelease bool
DefaultGuidedFailureMode *string
DefaultToSkipIfAlreadyInstalled bool
DiscreteChannelRelease bool
IsDisabled bool
IsVersionControlled bool
LifecycleId string
ProjectGroupId string
DeploymentProcessId *string
TenantedDeploymentMode *string
ProjectConnectivityPolicy ProjectConnectivityPolicy
Templates []Template
VariableSetId *string
IncludedLibraryVariableSetIds []string
PersistenceSettings PersistenceSettings
VersioningStrategy VersioningStrategy
}
func (Project) HasCacConfigured ¶
type ProjectGroup ¶
type ProjectTrigger ¶
type ProjectTrigger struct {
Id string
Name string
SpaceId *string
ProjectId string
IsDisabled bool
Filter ProjectTriggerFilter
Action ProjectTriggerAction
}
type ProjectTriggerAction ¶
type ProjectTriggerFilter ¶
type ProjectVariable ¶
type Rule ¶
type Rule struct {
VersionRange *string
Tag *string
ActionPackages []ActionPackage
Actions []string
}
type RunRetentionPolicy ¶
type Runbook ¶
type Runbook struct {
Id string
Name string
Slug *string
Description *string
RunbookProcessId *string
PublishedRunbookSnapshotId *string
ProjectId string
MultiTenancyMode *string
ConnectivityPolicy ProjectConnectivityPolicy
EnvironmentScope *string
Environments []string
DefaultGuidedFailureMode *string
RunRetentionPolicy RunRetentionPolicy
ForcePackageDownload bool
}
type RunbookProcess ¶
type SshConnectionDeploymentTargetEndpoint ¶
type SshConnectionDeploymentTargetEndpoint struct {
CommunicationStyle string
AccountId string
Host string
Port int
Fingerprint string
ProxyId string
DotNetCorePlatform string
}
SshConnectionDeploymentTargetEndpoint is based on SshEndpointResource from the client library
type SshEndpointResource ¶
type SshEndpointResource struct {
Id string
Name string
EnvironmentIds []string
Roles []string
TenantIds []string
TenantTags []string
TenantedDeploymentParticipation string
Thumbprint *string
Uri *string
IsDisabled bool
MachinePolicyId string
HealthStatus string
HasLatestCalamari bool
StatusSummary string
IsInProcess bool
OperatingSystem string
ShellName string
ShellVersion string
Architecture string
Endpoint SshConnectionDeploymentTargetEndpoint
}
type Template ¶
type Template struct {
Id string
Name *string
Label *string
HelpText *string
DefaultValue any
DisplaySettings map[string]string
}
func (Template) GetDefaultValueString ¶ added in v0.1.617
type TenantVariable ¶
type TenantVariable struct {
TenantId string
SpaceId string
TenantName string
ConcurrencyToken string
ProjectVariables map[string]ProjectVariable
LibraryVariables map[string]LibraryVariable
}
type TentacleVersionDetails ¶
type VariableSet ¶
type VersioningStrategy ¶
type VersioningStrategy struct {
Template string
DonorPackageStepId *string
DonorPackage *DonorPackage
}
Source Files
¶
- octopus_account.go
- octopus_azure_cloud_service_deployment_target.go
- octopus_azure_service_fabric_cluster_deployment_target.go
- octopus_azure_web_app_deployment_target.go
- octopus_certificate.go
- octopus_channel.go
- octopus_cloud_region_deployment_target.go
- octopus_collection.go
- octopus_deployment_process.go
- octopus_environment.go
- octopus_feed.go
- octopus_gitcredential.go
- octopus_kubernetes_cluster_deployment_target.go
- octopus_library_variable_set.go
- octopus_lifecycle.go
- octopus_listening_tentacle_deployment_target.go
- octopus_machine.go
- octopus_machine_policy.go
- octopus_name_id.go
- octopus_offline_package_drop_deployment_target.go
- octopus_polling_tentacle_deployment_target.go
- octopus_project.go
- octopus_project_group.go
- octopus_project_trigger.go
- octopus_role.go
- octopus_runbook.go
- octopus_runbook_process.go
- octopus_space.go
- octopus_ssh_connection_deployment_target.go
- octopus_tag_set.go
- octopus_team.go
- octopus_tenant.go
- octopus_tenant_variable.go
- octopus_user.go
- octopus_variable_set.go
- octopus_worker_pool.go
Click to show internal directories.
Click to hide internal directories.