Documentation
¶
Index ¶
- Constants
- type OctopusDefaultProjectGroupCountCheck
- type OctopusDuplicatedVariablesCheck
- type OctopusEmptyProjectCheck
- type OctopusEnvironmentCountCheck
- type OctopusLifecycleRetentionPolicyCheck
- type OctopusProjectGroupsWithExclusiveEnvironmentsCheck
- type OctopusProjectSpecificEnvironmentCheck
- type OctopusProjectTooManyStepsCheck
- type OctopusTenantsInsteadOfTagsCheck
- type OctopusUnhealthyTargetCheck
- type OctopusUnusedProjectsCheck
- type OctopusUnusedTargetsCheck
- type OctopusUnusedTenantsCheck
- type OctopusUnusedVariablesCheck
Constants ¶
const OctoLintDirectTenantReferences = "OctoLintDirectTenantReferences"
const OctoLintDuplicatedVariables = "OctoLintDuplicatedVariables"
const OctoLintEmptyProject = "OctoLintEmptyProject"
const OctoLintProjectGroupsWithExclusiveEnvironments = "OctoLintProjectGroupsWithExclusiveEnvironments"
const OctoLintProjectSpecificEnvs = "OctoLintProjectSpecificEnvs"
const OctoLintTooManySteps = "OctoLintTooManySteps"
const OctoLintUnhealthyTargets = "OctoLintUnhealthyTargets"
const OctoLintUnusedTargets = "OctoLintUnusedTargets"
const OctoLintUnusedVariables = "OctoLintUnusedVariables"
const OctopusEnvironmentCountCheckName = "OctoLintEnvironmentCount"
const OctopusUnusedProjectsCheckName = "OctoLintUnusedProjects"
const OctopusUnusedTenantsCheckName = "OctoLintUnusedTenants"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OctopusDefaultProjectGroupCountCheck ¶
type OctopusDefaultProjectGroupCountCheck struct {
// contains filtered or unexported fields
}
OctopusDefaultProjectGroupCountCheck checks to see if the default project group contains too many projects. This is usually an indication that additional projects groups should be created to organize the dashboard.
func NewOctopusDefaultProjectGroupCountCheck ¶
func NewOctopusDefaultProjectGroupCountCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusDefaultProjectGroupCountCheck
func (OctopusDefaultProjectGroupCountCheck) Execute ¶
func (o OctopusDefaultProjectGroupCountCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusDefaultProjectGroupCountCheck) Id ¶
func (o OctopusDefaultProjectGroupCountCheck) Id() string
type OctopusDuplicatedVariablesCheck ¶
type OctopusDuplicatedVariablesCheck struct {
// contains filtered or unexported fields
}
OctopusDuplicatedVariablesCheck checks for variables with the same value across projects. This may be an indication that library variable sets should be used to capture shared values.
func NewOctopusDuplicatedVariablesCheck ¶
func NewOctopusDuplicatedVariablesCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) *OctopusDuplicatedVariablesCheck
func (*OctopusDuplicatedVariablesCheck) Execute ¶
func (o *OctopusDuplicatedVariablesCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (*OctopusDuplicatedVariablesCheck) Id ¶
func (o *OctopusDuplicatedVariablesCheck) Id() string
type OctopusEmptyProjectCheck ¶
type OctopusEmptyProjectCheck struct {
// contains filtered or unexported fields
}
OctopusEmptyProjectCheck checks for projects with no steps and no runbooks.
func NewOctopusEmptyProjectCheck ¶
func NewOctopusEmptyProjectCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusEmptyProjectCheck
func (OctopusEmptyProjectCheck) Execute ¶
func (o OctopusEmptyProjectCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusEmptyProjectCheck) Id ¶
func (o OctopusEmptyProjectCheck) Id() string
type OctopusEnvironmentCountCheck ¶
type OctopusEnvironmentCountCheck struct {
// contains filtered or unexported fields
}
OctopusEnvironmentCountCheck checks to see if too many environments have been created in a space.
func NewOctopusEnvironmentCountCheck ¶
func NewOctopusEnvironmentCountCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusEnvironmentCountCheck
func (OctopusEnvironmentCountCheck) Execute ¶
func (o OctopusEnvironmentCountCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusEnvironmentCountCheck) Id ¶
func (o OctopusEnvironmentCountCheck) Id() string
type OctopusLifecycleRetentionPolicyCheck ¶
type OctopusLifecycleRetentionPolicyCheck struct {
// contains filtered or unexported fields
}
func NewOctopusLifecycleRetentionPolicyCheck ¶
func NewOctopusLifecycleRetentionPolicyCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusLifecycleRetentionPolicyCheck
func (OctopusLifecycleRetentionPolicyCheck) Execute ¶
func (o OctopusLifecycleRetentionPolicyCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusLifecycleRetentionPolicyCheck) Id ¶
func (o OctopusLifecycleRetentionPolicyCheck) Id() string
type OctopusProjectGroupsWithExclusiveEnvironmentsCheck ¶
type OctopusProjectGroupsWithExclusiveEnvironmentsCheck struct {
// contains filtered or unexported fields
}
OctopusProjectGroupsWithExclusiveEnvironmentsCheck checks to see if the project groups contain projects that have mutually exclusive environments.
func NewOctopusProjectGroupsWithExclusiveEnvironmentsCheck ¶
func NewOctopusProjectGroupsWithExclusiveEnvironmentsCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusProjectGroupsWithExclusiveEnvironmentsCheck
func (OctopusProjectGroupsWithExclusiveEnvironmentsCheck) Execute ¶
func (o OctopusProjectGroupsWithExclusiveEnvironmentsCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusProjectGroupsWithExclusiveEnvironmentsCheck) Id ¶
func (o OctopusProjectGroupsWithExclusiveEnvironmentsCheck) Id() string
type OctopusProjectSpecificEnvironmentCheck ¶
type OctopusProjectSpecificEnvironmentCheck struct {
// contains filtered or unexported fields
}
OctopusProjectSpecificEnvironmentCheck checks to see if any project variables are unused.
func NewOctopusProjectSpecificEnvironmentCheck ¶
func NewOctopusProjectSpecificEnvironmentCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusProjectSpecificEnvironmentCheck
func (OctopusProjectSpecificEnvironmentCheck) Execute ¶
func (o OctopusProjectSpecificEnvironmentCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusProjectSpecificEnvironmentCheck) Id ¶
func (o OctopusProjectSpecificEnvironmentCheck) Id() string
type OctopusProjectTooManyStepsCheck ¶
type OctopusProjectTooManyStepsCheck struct {
// contains filtered or unexported fields
}
OctopusProjectTooManyStepsCheck checks to see if any project has too many steps.
func NewOctopusProjectTooManyStepsCheck ¶
func NewOctopusProjectTooManyStepsCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusProjectTooManyStepsCheck
func (OctopusProjectTooManyStepsCheck) Execute ¶
func (o OctopusProjectTooManyStepsCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusProjectTooManyStepsCheck) Id ¶
func (o OctopusProjectTooManyStepsCheck) Id() string
type OctopusTenantsInsteadOfTagsCheck ¶
type OctopusTenantsInsteadOfTagsCheck struct {
// contains filtered or unexported fields
}
OctopusTenantsInsteadOfTagsCheck checks to see if any common groups of tenants are found against common resources like accounts, targets etc
func NewOctopusTenantsInsteadOfTagsCheck ¶
func NewOctopusTenantsInsteadOfTagsCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusTenantsInsteadOfTagsCheck
func (OctopusTenantsInsteadOfTagsCheck) Execute ¶
func (o OctopusTenantsInsteadOfTagsCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusTenantsInsteadOfTagsCheck) Id ¶
func (o OctopusTenantsInsteadOfTagsCheck) Id() string
type OctopusUnhealthyTargetCheck ¶
type OctopusUnhealthyTargetCheck struct {
// contains filtered or unexported fields
}
OctopusUnhealthyTargetCheck find targets that have not been healthy in the last 30 days.
func NewOctopusUnhealthyTargetCheck ¶
func NewOctopusUnhealthyTargetCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusUnhealthyTargetCheck
func (OctopusUnhealthyTargetCheck) Execute ¶
func (o OctopusUnhealthyTargetCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusUnhealthyTargetCheck) Id ¶
func (o OctopusUnhealthyTargetCheck) Id() string
type OctopusUnusedProjectsCheck ¶
type OctopusUnusedProjectsCheck struct {
// contains filtered or unexported fields
}
OctopusUnusedProjectsCheck find projects that have not had a deployment in the last 30 days
func NewOctopusUnusedProjectsCheck ¶
func NewOctopusUnusedProjectsCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusUnusedProjectsCheck
func (OctopusUnusedProjectsCheck) Execute ¶
func (o OctopusUnusedProjectsCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusUnusedProjectsCheck) Id ¶
func (o OctopusUnusedProjectsCheck) Id() string
type OctopusUnusedTargetsCheck ¶
type OctopusUnusedTargetsCheck struct {
// contains filtered or unexported fields
}
OctopusUnusedTargetsCheck checks to see if any targets have not been used in a month
func NewOctopusUnusedTargetsCheck ¶
func NewOctopusUnusedTargetsCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusUnusedTargetsCheck
func (OctopusUnusedTargetsCheck) Execute ¶
func (o OctopusUnusedTargetsCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusUnusedTargetsCheck) Id ¶
func (o OctopusUnusedTargetsCheck) Id() string
type OctopusUnusedTenantsCheck ¶
type OctopusUnusedTenantsCheck struct {
// contains filtered or unexported fields
}
OctopusUnusedTenantsCheck find projects that have not had a deployment in the last 30 days
func NewOctopusUnusedTenantsCheck ¶
func NewOctopusUnusedTenantsCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusUnusedTenantsCheck
func (OctopusUnusedTenantsCheck) Execute ¶
func (o OctopusUnusedTenantsCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (OctopusUnusedTenantsCheck) Id ¶
func (o OctopusUnusedTenantsCheck) Id() string
type OctopusUnusedVariablesCheck ¶
type OctopusUnusedVariablesCheck struct {
// contains filtered or unexported fields
}
OctopusUnusedVariablesCheck checks to see if any project variables are unused.
func NewOctopusUnusedVariablesCheck ¶
func NewOctopusUnusedVariablesCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) *OctopusUnusedVariablesCheck
func (*OctopusUnusedVariablesCheck) Execute ¶
func (o *OctopusUnusedVariablesCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)
func (*OctopusUnusedVariablesCheck) Id ¶
func (o *OctopusUnusedVariablesCheck) Id() string
Source Files
¶
- octopus_default_project_group_count.go
- octopus_duplicated_variables_check.go
- octopus_empty_project_check.go
- octopus_environment_count_check.go
- octopus_lifecycle_retention_policy_check.go
- octopus_project_group_with_exclusive_environments.go
- octopus_project_specific_environment_check.go
- octopus_project_too_many_steps_check.go
- octopus_tenants_instead_of_tags_check.go
- octopus_unhealthy_target_count.go
- octopus_unused_projects_check.go
- octopus_unused_targets_check.go
- octopus_unused_tenants_check.go
- octopus_unused_variables_check.go