package
1.11.0-alpha.1
Repository: https://github.com/ceshihao/kubernetes.git
Documentation: pkg.go.dev
# Packages
Package cloud implements a more golang friendly interface to the GCE compute API.
# Functions
CreateGCECloud creates a GCECloud object using the specified parameters.
CreateGCECloudWithCloud is a helper function to create an instance of GCECloud with the given Cloud interface implementation.
FirewallToGCloudCreateCmd generates a gcloud command to create a firewall with specified params.
FirewallToGCloudCreateCmd generates a gcloud command to delete a firewall to specified params.
FirewallToGCloudCreateCmd generates a gcloud command to update a firewall to specified params.
GetGCERegion returns region of the gce zone.
GetLoadBalancerAnnotationBackendShare returns whether this service's backend service should be shared with other load balancers.
GetLoadBalancerAnnotationType returns the type of GCP load balancer which should be assembled.
GetNodesHealthCheckPath returns the health check path used by the GCE load balancers (l4) for performing health checks on nodes.
GetNodesHealthCheckPort returns the health check port used by the GCE load balancers (l4) for performing health checks on nodes.
GetServiceNetworkTier returns the network tier of GCP load balancer which should be assembled, and an error if the specified tier is not supported.
LoadBalancerSrcRanges contains the ranges of ips used by the GCE load balancers (l4 & L7) for proxying client requests and performing health checks.
MakeFirewallName returns the firewall name used by the GCE load balancers (l4) for serving traffic.
MakeHealthCheckFirewallName returns the firewall name used by the GCE load balancers (l4) for performing health checks.
MakeNodesHealthCheckName returns name of the health check resource used by the GCE load balancers (l4) for performing health checks on nodes.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
alpha: v1.8 (for Services)
Allows Services backed by a GCP load balancer to choose what network tier to use.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NetworkTierAnnotationKey is annotated on a Service object to indicate which network tier a GCP LB should use.
No description provided by the author
No description provided by the author
No description provided by the author
ServiceAnnotationInternalBackendShare is annotated on a service with "true" when users want to share GCP Backend Services for a set of internal load balancers.
ServiceAnnotationLoadBalancerType is annotated on a service with type LoadBalancer dictates what specific kind of GCP LB should be assembled.
Data keys for the specific ids.
Key used to persist UIDs to configmaps.
No description provided by the author
Namespace which contains the above config map.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
CloudConfig includes all the necessary configuration for creating GCECloud.
No description provided by the author
ConfigFile is the struct used to parse the /etc/gce.conf configuration file.
TODO: replace gcfg with json.
No description provided by the author
GCECloud is an implementation of Interface, LoadBalancer and Instances for Google Compute Engine.
No description provided by the author
Services is the set of all versions of the compute service.
# Interfaces
CloudAddressService is an interface for managing addresses.
CloudForwardingRuleService is an interface for managing forwarding rules.
Disks is interface for manipulation with GCE PDs.