Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationDnsZone ¶
type Copsctl ¶
type Copsctl interface {
// Connect sets the local kubectl connection to the configured cluster. Parameters:
// clusterName - cluster environment tag for the cluster you want to connect to
// clusterConnectionString - connection string of the cluster (either a user or technical connection string)
// isTechnicalAccountConnect - set to true, if the clusterConnectionString used is technical account connection string
// connectToSecondaryCluster - if set, will connect to secondary cluster (use for cluster migrations)
Connect(clusterName string, clusterConnectionString string, isTechnicalAccountConnect bool, connectToSecondaryCluster bool) error
// GetClusterInfo returns the cluster info for the currently connected cluster
GetClusterInfo() (*Info, error)
}
type Info ¶
type Info struct {
Version string `json:"version"`
SubscriptionId string `json:"subscription_id"`
TenantId string `json:"tenant_id"`
EgressStaticOutboundIpsEnabled bool `json:"egress_static_outbound_ips_enabled"`
EgressStaticOutboundIps []string `json:"egress_static_outbound_ips"`
TechnicalAccountName string `json:"technical_account_name"`
TechnicalAccountNamespace string `json:"technical_account_namespace"`
CoreOpsMonitoringAndLogging string `json:"coreops_monitoring_and_logging"`
LogAnalyticsWorkspace string `json:"log_analytics_workspace"`
NetworkingBlue Networking `json:"networking_blue"`
NetworkingGreen Networking `json:"networking_green"`
ApplicationDnsZones []ApplicationDnsZone `json:"application_dns_zones"`
}
type Networking ¶
type Networking struct {
ClusterSubnetId string `json:"cluster_subnet_id"`
ApplicationSubnets []Subnet `json:"application_subnets"`
PrivateDnsZones []PrivateDnsZone `json:"private_dns_zones"`
}
type PrivateDnsZone ¶
Click to show internal directories.
Click to hide internal directories.