package
1.11.0-alpha.1
Repository: https://github.com/ceshihao/kubernetes.git
Documentation: pkg.go.dev
# Functions
NetworkTierGCEValueToType converts the value of the NetworkTier field of a GCE object to the NetworkTier type.
NewGCE returns a GCE.
NewMockAddresses returns a new mock for Addresses.
NewMockAlphaAddresses returns a new mock for Addresses.
NewMockAlphaBackendServices returns a new mock for BackendServices.
NewMockAlphaDisks returns a new mock for Disks.
NewMockAlphaForwardingRules returns a new mock for ForwardingRules.
NewMockAlphaHealthChecks returns a new mock for HealthChecks.
NewMockAlphaInstances returns a new mock for Instances.
NewMockAlphaNetworkEndpointGroups returns a new mock for NetworkEndpointGroups.
NewMockAlphaRegionBackendServices returns a new mock for RegionBackendServices.
NewMockAlphaRegionDisks returns a new mock for RegionDisks.
NewMockBackendServices returns a new mock for BackendServices.
NewMockBetaAddresses returns a new mock for Addresses.
NewMockBetaInstances returns a new mock for Instances.
NewMockDisks returns a new mock for Disks.
NewMockFirewalls returns a new mock for Firewalls.
NewMockForwardingRules returns a new mock for ForwardingRules.
NewMockGCE returns a new mock for GCE.
NewMockGlobalAddresses returns a new mock for GlobalAddresses.
NewMockGlobalForwardingRules returns a new mock for GlobalForwardingRules.
NewMockHealthChecks returns a new mock for HealthChecks.
NewMockHttpHealthChecks returns a new mock for HttpHealthChecks.
NewMockHttpsHealthChecks returns a new mock for HttpsHealthChecks.
NewMockInstanceGroups returns a new mock for InstanceGroups.
NewMockInstances returns a new mock for Instances.
NewMockProjects returns a new mock for Projects.
NewMockRegionBackendServices returns a new mock for RegionBackendServices.
NewMockRegions returns a new mock for Regions.
NewMockRoutes returns a new mock for Routes.
NewMockSslCertificates returns a new mock for SslCertificates.
NewMockTargetHttpProxies returns a new mock for TargetHttpProxies.
NewMockTargetHttpsProxies returns a new mock for TargetHttpsProxies.
NewMockTargetPools returns a new mock for TargetPools.
NewMockUrlMaps returns a new mock for UrlMaps.
NewMockZones returns a new mock for Zones.
ParseResourceURL parses resource URLs of the following formats:
projects/<proj>/global/<res>/<name> projects/<proj>/regions/<region>/<res>/<name> projects/<proj>/zones/<zone>/<res>/<name> [https://www.googleapis.com/compute/<ver>]/projects/<proj>/global/<res>/<name> [https://www.googleapis.com/compute/<ver>]/projects/<proj>/regions/<region>/<res>/<name> [https://www.googleapis.com/compute/<ver>]/projects/<proj>/zones/<zone>/<res>/<name>.
SelfLink returns the self link URL for the given object.
# Constants
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
# Structs
GCE is the golang adapter for the compute APIs.
GCEAddresses is a simplifying adapter for the GCE Addresses.
GCEAlphaAddresses is a simplifying adapter for the GCE Addresses.
GCEAlphaBackendServices is a simplifying adapter for the GCE BackendServices.
GCEAlphaDisks is a simplifying adapter for the GCE Disks.
GCEAlphaForwardingRules is a simplifying adapter for the GCE ForwardingRules.
GCEAlphaHealthChecks is a simplifying adapter for the GCE HealthChecks.
GCEAlphaInstances is a simplifying adapter for the GCE Instances.
GCEAlphaNetworkEndpointGroups is a simplifying adapter for the GCE NetworkEndpointGroups.
GCEAlphaRegionBackendServices is a simplifying adapter for the GCE RegionBackendServices.
GCEAlphaRegionDisks is a simplifying adapter for the GCE RegionDisks.
GCEBackendServices is a simplifying adapter for the GCE BackendServices.
GCEBetaAddresses is a simplifying adapter for the GCE Addresses.
GCEBetaInstances is a simplifying adapter for the GCE Instances.
GCEDisks is a simplifying adapter for the GCE Disks.
GCEFirewalls is a simplifying adapter for the GCE Firewalls.
GCEForwardingRules is a simplifying adapter for the GCE ForwardingRules.
GCEGlobalAddresses is a simplifying adapter for the GCE GlobalAddresses.
GCEGlobalForwardingRules is a simplifying adapter for the GCE GlobalForwardingRules.
GCEHealthChecks is a simplifying adapter for the GCE HealthChecks.
GCEHttpHealthChecks is a simplifying adapter for the GCE HttpHealthChecks.
GCEHttpsHealthChecks is a simplifying adapter for the GCE HttpsHealthChecks.
GCEInstanceGroups is a simplifying adapter for the GCE InstanceGroups.
GCEInstances is a simplifying adapter for the GCE Instances.
GCEProjects is a simplifying adapter for the GCE Projects.
GCERegionBackendServices is a simplifying adapter for the GCE RegionBackendServices.
GCERegions is a simplifying adapter for the GCE Regions.
GCERoutes is a simplifying adapter for the GCE Routes.
GCESslCertificates is a simplifying adapter for the GCE SslCertificates.
GCETargetHttpProxies is a simplifying adapter for the GCE TargetHttpProxies.
GCETargetHttpsProxies is a simplifying adapter for the GCE TargetHttpsProxies.
GCETargetPools is a simplifying adapter for the GCE TargetPools.
GCEUrlMaps is a simplifying adapter for the GCE UrlMaps.
GCEZones is a simplifying adapter for the GCE Zones.
MockAddresses is the mock for Addresses.
MockAddressesObj is used to store the various object versions in the shared map of mocked objects.
MockAlphaAddresses is the mock for Addresses.
MockAlphaBackendServices is the mock for BackendServices.
MockAlphaDisks is the mock for Disks.
MockAlphaForwardingRules is the mock for ForwardingRules.
MockAlphaHealthChecks is the mock for HealthChecks.
MockAlphaInstances is the mock for Instances.
MockAlphaNetworkEndpointGroups is the mock for NetworkEndpointGroups.
MockAlphaRegionBackendServices is the mock for RegionBackendServices.
MockAlphaRegionDisks is the mock for RegionDisks.
MockBackendServices is the mock for BackendServices.
MockBackendServicesObj is used to store the various object versions in the shared map of mocked objects.
MockBetaAddresses is the mock for Addresses.
MockBetaInstances is the mock for Instances.
MockDisks is the mock for Disks.
MockDisksObj is used to store the various object versions in the shared map of mocked objects.
MockFirewalls is the mock for Firewalls.
MockFirewallsObj is used to store the various object versions in the shared map of mocked objects.
MockForwardingRules is the mock for ForwardingRules.
MockForwardingRulesObj is used to store the various object versions in the shared map of mocked objects.
MockGCE is the mock for the compute API.
MockGlobalAddresses is the mock for GlobalAddresses.
MockGlobalAddressesObj is used to store the various object versions in the shared map of mocked objects.
MockGlobalForwardingRules is the mock for GlobalForwardingRules.
MockGlobalForwardingRulesObj is used to store the various object versions in the shared map of mocked objects.
MockHealthChecks is the mock for HealthChecks.
MockHealthChecksObj is used to store the various object versions in the shared map of mocked objects.
MockHttpHealthChecks is the mock for HttpHealthChecks.
MockHttpHealthChecksObj is used to store the various object versions in the shared map of mocked objects.
MockHttpsHealthChecks is the mock for HttpsHealthChecks.
MockHttpsHealthChecksObj is used to store the various object versions in the shared map of mocked objects.
MockInstanceGroups is the mock for InstanceGroups.
MockInstanceGroupsObj is used to store the various object versions in the shared map of mocked objects.
MockInstances is the mock for Instances.
MockInstancesObj is used to store the various object versions in the shared map of mocked objects.
MockNetworkEndpointGroupsObj is used to store the various object versions in the shared map of mocked objects.
MockProjectOpsState is stored in the mock.X field.
MockProjects is the mock for Projects.
MockProjectsObj is used to store the various object versions in the shared map of mocked objects.
MockRegionBackendServices is the mock for RegionBackendServices.
MockRegionBackendServicesObj is used to store the various object versions in the shared map of mocked objects.
MockRegionDisksObj is used to store the various object versions in the shared map of mocked objects.
MockRegions is the mock for Regions.
MockRegionsObj is used to store the various object versions in the shared map of mocked objects.
MockRoutes is the mock for Routes.
MockRoutesObj is used to store the various object versions in the shared map of mocked objects.
MockSslCertificates is the mock for SslCertificates.
MockSslCertificatesObj is used to store the various object versions in the shared map of mocked objects.
MockTargetHttpProxies is the mock for TargetHttpProxies.
MockTargetHttpProxiesObj is used to store the various object versions in the shared map of mocked objects.
MockTargetHttpsProxies is the mock for TargetHttpsProxies.
MockTargetHttpsProxiesObj is used to store the various object versions in the shared map of mocked objects.
MockTargetPools is the mock for TargetPools.
MockTargetPoolsObj is used to store the various object versions in the shared map of mocked objects.
MockUrlMaps is the mock for UrlMaps.
MockUrlMapsObj is used to store the various object versions in the shared map of mocked objects.
MockZones is the mock for Zones.
MockZonesObj is used to store the various object versions in the shared map of mocked objects.
NopRateLimiter is a rate limiter that performs no rate limiting.
RateLimitKey is a key identifying the operation to be rate limited.
ResourceID identifies a GCE resource as parsed from compute resource URL.
Service is the top-level adapter for all of the different compute API versions.
SingleProjectRouter routes all service calls to the same project ID.
# Interfaces
Addresses is an interface that allows for mocking of Addresses.
AlphaAddresses is an interface that allows for mocking of Addresses.
AlphaBackendServices is an interface that allows for mocking of BackendServices.
AlphaDisks is an interface that allows for mocking of Disks.
AlphaForwardingRules is an interface that allows for mocking of ForwardingRules.
AlphaHealthChecks is an interface that allows for mocking of HealthChecks.
AlphaInstances is an interface that allows for mocking of Instances.
AlphaNetworkEndpointGroups is an interface that allows for mocking of NetworkEndpointGroups.
AlphaRegionBackendServices is an interface that allows for mocking of RegionBackendServices.
AlphaRegionDisks is an interface that allows for mocking of RegionDisks.
BackendServices is an interface that allows for mocking of BackendServices.
BetaAddresses is an interface that allows for mocking of Addresses.
BetaInstances is an interface that allows for mocking of Instances.
Cloud is an interface for the GCE compute API.
Disks is an interface that allows for mocking of Disks.
Firewalls is an interface that allows for mocking of Firewalls.
ForwardingRules is an interface that allows for mocking of ForwardingRules.
GlobalAddresses is an interface that allows for mocking of GlobalAddresses.
GlobalForwardingRules is an interface that allows for mocking of GlobalForwardingRules.
HealthChecks is an interface that allows for mocking of HealthChecks.
HttpHealthChecks is an interface that allows for mocking of HttpHealthChecks.
HttpsHealthChecks is an interface that allows for mocking of HttpsHealthChecks.
InstanceGroups is an interface that allows for mocking of InstanceGroups.
Instances is an interface that allows for mocking of Instances.
ProjectRouter routes service calls to the appropriate GCE project.
Projects is an interface that allows for mocking of Projects.
ProjectsOps is the manually implemented methods for the Projects service.
RateLimiter is the interface for a rate limiting policy.
RegionBackendServices is an interface that allows for mocking of RegionBackendServices.
Regions is an interface that allows for mocking of Regions.
Routes is an interface that allows for mocking of Routes.
SslCertificates is an interface that allows for mocking of SslCertificates.
TargetHttpProxies is an interface that allows for mocking of TargetHttpProxies.
TargetHttpsProxies is an interface that allows for mocking of TargetHttpsProxies.
TargetPools is an interface that allows for mocking of TargetPools.
UrlMaps is an interface that allows for mocking of UrlMaps.
Zones is an interface that allows for mocking of Zones.
# Type aliases
LbScheme represents the possible types of load balancers.
NetworkTier represents the Network Service Tier used by a resource.