Documentation
¶
Index ¶
- Variables
- func ConnectToEKSCluster(cluster string) error
- func ListEKSClusters(region ...string) ([]string, error)
- func ListProfiles() ([]string, error)
- func SelectEKSCluster() (string, error)
- func SelectProfiles() ([]string, error)
- type Cluster
- type ECRImage
- type ECRImages
- type ECRRepositories
- type ECRRepository
- type HostedZone
- type HostedZones
- type ResourceRecordSet
- type ResourceRecordSets
- func ListAllRecords() (*ResourceRecordSets, error)
- func ListAllRecordsByProfile(profile string) (*ResourceRecordSets, error)
- func ListRecordsByHostedZone(hostedZone *HostedZone) (*ResourceRecordSets, error)
- func ListRecordsByHostedZoneByProfile(hostedZone *HostedZone, profile string) (*ResourceRecordSets, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Regions = []string{
"af-south-1",
"ap-east-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-south-1",
"ap-southeast-1",
"ap-southeast-2",
"ca-central-1",
"eu-central-1",
"eu-north-1",
"eu-south-1",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"me-south-1",
"sa-east-1",
"us-east-1",
"us-east-2",
"us-gov-east-1",
"us-gov-west-1",
"us-west-1",
"us-west-2",
}
Functions ¶
func ConnectToEKSCluster ¶
func ListEKSClusters ¶
func ListProfiles ¶
func SelectEKSCluster ¶
func SelectProfiles ¶
Types ¶
type Cluster ¶
type Cluster struct {
Name string `json:"name"`
Arn string `json:"arn"`
CreatedAt string `json:"createdAt"`
Version string `json:"version"`
Endpoint string `json:"endpoint"`
RoleArn string `json:"roleArn"`
Vpc struct {
SubnetIds []string `json:"subnetIds"`
SecurityGroupIds []string `json:"securityGroupIds"`
ID string `json:"vpcId"`
} `json:"resourcesVpcConfig"`
Status string `json:"status"`
CertificateAuthority struct {
Data string `json:"data"`
} `json:"certificateAuthority"`
}
func DescribeEKSCluster ¶
type ECRImages ¶
type ECRImages struct {
Items []*ECRImage `json:"imageDetails"`
}
func ListECRImages ¶
func ListECRImages(repo *ECRRepository) (*ECRImages, error)
type ECRRepositories ¶
type ECRRepositories struct {
Items []*ECRRepository `json:"repositories"`
}
func ListECRRepositories ¶
func ListECRRepositories() (*ECRRepositories, error)
func (*ECRRepositories) SelectMany ¶
func (e *ECRRepositories) SelectMany() (*ECRRepositories, error)
type ECRRepository ¶
type ECRRepository struct {
Arn string `json:"repositoryArn"`
RegistryID string `json:"registryId"`
Name string `json:"repositoryName"`
URI string `json:"repositoryUri"`
CreatedAt string `json:"createdAt"`
ImageTagMutability string `json:"imageTagMutability"`
ImageScanningConfiguration struct {
ScanOnPush bool `json:"scanOnPush"`
} `json:"imageScanningConfiguration"`
EncryptionConfiguration struct {
EncryptionType string `json:"encryptionType"`
} `json:"encryptionConfiguration"`
}
type HostedZone ¶
type HostedZones ¶
type HostedZones struct {
Items []*HostedZone `json:"HostedZones"`
}
func ListHostedZones ¶
func ListHostedZones() (*HostedZones, error)
func ListHostedZonesByProfile ¶
func ListHostedZonesByProfile(profile string) (*HostedZones, error)
type ResourceRecordSet ¶
type ResourceRecordSets ¶
type ResourceRecordSets struct {
Items []*ResourceRecordSet `json:"ResourceRecordSets"`
}
func ListAllRecords ¶
func ListAllRecords() (*ResourceRecordSets, error)
func ListAllRecordsByProfile ¶
func ListAllRecordsByProfile(profile string) (*ResourceRecordSets, error)
func ListRecordsByHostedZone ¶
func ListRecordsByHostedZone(hostedZone *HostedZone) (*ResourceRecordSets, error)
func ListRecordsByHostedZoneByProfile ¶
func ListRecordsByHostedZoneByProfile(hostedZone *HostedZone, profile string) (*ResourceRecordSets, error)
func (*ResourceRecordSets) RenderTable ¶
func (s *ResourceRecordSets) RenderTable()
Click to show internal directories.
Click to hide internal directories.