types

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

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 EKSClusterAddon struct {
	Name    string `json:"name,omitempty"`
	Version string `json:"version,omitempty"`
	Status  string `json:"status,omitempty"`
}

type EOLStatus

type EOLStatus struct {
	EOLDate       string `json:"eol_date,omitempty"`
	RemainingDays int    `json:"remaining_active_days"`
	Status        Status `json:"status,omitempty"`
}

type GitOpsReference

type GitOpsReference struct {
	Repo   string `json:"repo,omitempty"`
	Branch string `json:"branch,omitempty"`
	Path   string `json:"path,omitempty"`
}

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 InventoryReport struct {
	Identity  Indentity   `json:"identity,omitempty"`
	Resources []Versioned `json:"resources,omitempty"`
}

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 Status

type Status string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL