Documentation ¶
Index ¶
- Constants
- type ACMCertificate
- type EKSCluster
- type EKSClusterAddon
- type EOLStatus
- type GitOpsReference
- type GitRepo
- type HelmRelease
- type Indentity
- type InventoryReport
- type Lambda
- type MachineImage
- type ParentResource
- type ProductCycle
- type RDSCluster
- type ResourceKind
- type Status
- type TerraformModule
- type TfcProvider
- type TfcResource
- type TfcWorkspace
- type Versioned
- type VersionedResource
- type Volume
Constants ¶
View Source
const StatusCritical = "CRITICAL"
View Source
const StatusValid = "VALID"
View Source
const StatusWarning = "WARNING"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACMCertificate ¶ added in v0.19.0
type ACMCertificate struct { VersionedResource InUse bool `json:"inuse,omitempty"` Status string `json:"status,omitempty"` Expiration string `json:"expiration,omitempty"` AutoRenewal bool `json:"autorenewal,omitempty"` DomainName string `json:"domainname,omitempty"` AlternativeNames []string `json:"alternativenames,omitempty"` }
func (ACMCertificate) GetVersionedResource ¶ added in v0.19.0
func (r ACMCertificate) GetVersionedResource() VersionedResource
type EKSCluster ¶
type EKSCluster struct { VersionedResource PlatformVersion string `json:"platform_version,omitempty"` Addons []EKSClusterAddon `json:"addons,omitempty"` }
func (EKSCluster) GetVersionedResource ¶ added in v0.15.0
func (r EKSCluster) GetVersionedResource() VersionedResource
type EKSClusterAddon ¶
type GitOpsReference ¶
type GitRepo ¶
type GitRepo struct {
VersionedResource
}
func (GitRepo) GetVersionedResource ¶ added in v0.15.0
func (r GitRepo) GetVersionedResource() VersionedResource
type HelmRelease ¶
type HelmRelease struct {
VersionedResource
}
func (HelmRelease) GetVersionedResource ¶ added in v0.15.0
func (r HelmRelease) GetVersionedResource() VersionedResource
type Indentity ¶
type Indentity struct {
AwsAccountNumber string `json:"aws_account_number,omitempty"`
}
type InventoryReport ¶
type Lambda ¶
type Lambda struct { VersionedResource Engine string `json:"engine,omitempty"` }
func (Lambda) GetVersionedResource ¶ added in v0.15.0
func (r Lambda) GetVersionedResource() VersionedResource
type MachineImage ¶
type MachineImage struct {
VersionedResource
}
func (MachineImage) GetVersionedResource ¶ added in v0.15.0
func (r MachineImage) GetVersionedResource() VersionedResource
type ParentResource ¶
type ParentResource struct { Kind ResourceKind `json:"kind,omitempty"` ID string `json:"id,omitempty"` }
type ProductCycle ¶
type ProductCycle struct { Cycle string `json:"cycle"` ReleaseDate string `json:"releaseDate"` Support interface{} `json:"support"` // Could be a bool or a date string: https://endoflife.date/api/nodejs.json EOL interface{} `json:"eol"` // Could be a bool or a date string Latest string `json:"latest"` LatestReleaseDate string `json:"latestReleaseDate"` Link string `json:"link,omitempty"` LTS interface{} `json:"lts"` // Could be a bool or a date string }
type RDSCluster ¶
type RDSCluster struct { VersionedResource Engine string `json:"engine,omitempty"` }
func (RDSCluster) GetVersionedResource ¶ added in v0.15.0
func (r RDSCluster) GetVersionedResource() VersionedResource
type ResourceKind ¶ added in v0.15.0
type ResourceKind string
const KindACMCertificate ResourceKind = "cert"
const KindAWSAccount ResourceKind = "aws"
const KindEC2Instance ResourceKind = "ec2"
const KindEKSCluster ResourceKind = "eks"
const KindGitPath ResourceKind = "git-path"
const KindGithubOrg ResourceKind = "github-org"
const KindGithubRepo ResourceKind = "github-repo"
const KindHelmRelease ResourceKind = "helm"
const KindLambda ResourceKind = "lambda"
const KindMachineImage ResourceKind = "ami"
const KindRDSCluster ResourceKind = "rds"
const KindTFCOrg ResourceKind = "tfc-org"
const KindTFCProvider ResourceKind = "tfc-provider"
const KindTFCResource ResourceKind = "tfc-resource"
const KindTFCWorkspace ResourceKind = "tfc-workspace"
const KindTerrfaormModule ResourceKind = "tf-module"
const KindVolume ResourceKind = "vol"
type TerraformModule ¶
type TerraformModule struct {
VersionedResource
}
func (TerraformModule) GetVersionedResource ¶ added in v0.15.0
func (r TerraformModule) GetVersionedResource() VersionedResource
type TfcProvider ¶ added in v0.16.0
type TfcProvider struct {
VersionedResource
}
func (TfcProvider) GetVersionedResource ¶ added in v0.16.0
func (r TfcProvider) GetVersionedResource() VersionedResource
type TfcResource ¶
type TfcResource struct {
VersionedResource
}
func (TfcResource) GetVersionedResource ¶ added in v0.15.0
func (r TfcResource) GetVersionedResource() VersionedResource
type TfcWorkspace ¶
type TfcWorkspace struct {
VersionedResource
}
func (TfcWorkspace) GetVersionedResource ¶ added in v0.15.0
func (r TfcWorkspace) GetVersionedResource() VersionedResource
type Versioned ¶ added in v0.15.0
type Versioned interface {
GetVersionedResource() VersionedResource
}
type VersionedResource ¶
type VersionedResource struct { Kind ResourceKind `json:"kind,omitempty"` ID string `json:"id,omitempty"` Arn string `json:"arn,omitempty"` Parents []ParentResource `json:"parents,omitempty"` Version string `json:"version,omitempty"` CurrentVersion string `json:"current_version,omitempty"` GitOpsReference GitOpsReference `json:"gitops_reference,omitempty"` EOL EOLStatus `json:"eol,omitempty"` }
type Volume ¶ added in v0.18.0
type Volume struct { VersionedResource VolumeType string `json:"volumetype,omitempty"` Size int32 `json:"size,omitempty"` }
func (Volume) GetVersionedResource ¶ added in v0.18.0
func (r Volume) GetVersionedResource() VersionedResource
Click to show internal directories.
Click to hide internal directories.