package
1.14.0-alpha.0
Repository: https://github.com/kolyshkin/kubernetes.git
Documentation: pkg.go.dev
# Functions
ContextWithCallTimeout returns a context with a default timeout, used for generated client calls.
NetworkTierGCEValueToType converts the value of the NetworkTier field of a GCE object to the NetworkTier type.
NewAddressesResourceID creates a ResourceID for the Addresses resource.
NewBackendServicesResourceID creates a ResourceID for the BackendServices resource.
NewDisksResourceID creates a ResourceID for the Disks resource.
NewFirewallsResourceID creates a ResourceID for the Firewalls resource.
NewForwardingRulesResourceID creates a ResourceID for the ForwardingRules resource.
NewGCE returns a GCE.
NewGlobalAddressesResourceID creates a ResourceID for the GlobalAddresses resource.
NewGlobalForwardingRulesResourceID creates a ResourceID for the GlobalForwardingRules resource.
NewHealthChecksResourceID creates a ResourceID for the HealthChecks resource.
NewHttpHealthChecksResourceID creates a ResourceID for the HttpHealthChecks resource.
NewHttpsHealthChecksResourceID creates a ResourceID for the HttpsHealthChecks resource.
NewInstanceGroupsResourceID creates a ResourceID for the InstanceGroups resource.
NewInstancesResourceID creates a ResourceID for the Instances resource.
NewMockAddresses returns a new mock for Addresses.
NewMockAlphaAddresses returns a new mock for Addresses.
NewMockAlphaBackendServices returns a new mock for BackendServices.
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.
NewMockBackendServices returns a new mock for BackendServices.
NewMockBetaAddresses returns a new mock for Addresses.
NewMockBetaBackendServices returns a new mock for BackendServices.
NewMockBetaHealthChecks returns a new mock for HealthChecks.
NewMockBetaInstances returns a new mock for Instances.
NewMockBetaNetworkEndpointGroups returns a new mock for NetworkEndpointGroups.
NewMockBetaRegionDisks returns a new mock for RegionDisks.
NewMockBetaSecurityPolicies returns a new mock for SecurityPolicies.
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.
NewNetworkEndpointGroupsResourceID creates a ResourceID for the NetworkEndpointGroups resource.
NewProjectsResourceID creates a ResourceID for the Projects resource.
NewRegionBackendServicesResourceID creates a ResourceID for the RegionBackendServices resource.
NewRegionDisksResourceID creates a ResourceID for the RegionDisks resource.
NewRegionsResourceID creates a ResourceID for the Regions resource.
NewRoutesResourceID creates a ResourceID for the Routes resource.
NewSecurityPoliciesResourceID creates a ResourceID for the SecurityPolicies resource.
NewSslCertificatesResourceID creates a ResourceID for the SslCertificates resource.
NewTargetHttpProxiesResourceID creates a ResourceID for the TargetHttpProxies resource.
NewTargetHttpsProxiesResourceID creates a ResourceID for the TargetHttpsProxies resource.
NewTargetPoolsResourceID creates a ResourceID for the TargetPools resource.
NewUrlMapsResourceID creates a ResourceID for the UrlMaps resource.
NewZonesResourceID creates a ResourceID for the Zones resource.
ParseResourceURL parses resource URLs of the following formats:
global/<res>/<name> regions/<region>/<res>/<name> zones/<zone>/<res>/<name> projects/<proj> 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>.
RelativeResourceName returns the path starting from project.
ResourcePath returns the path starting from the location.
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
AcceptRateLimiter wraps an Acceptor with RateLimiter parameters.
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.
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.
GCEBackendServices is a simplifying adapter for the GCE BackendServices.
GCEBetaAddresses is a simplifying adapter for the GCE Addresses.
GCEBetaBackendServices is a simplifying adapter for the GCE BackendServices.
GCEBetaHealthChecks is a simplifying adapter for the GCE HealthChecks.
GCEBetaInstances is a simplifying adapter for the GCE Instances.
GCEBetaNetworkEndpointGroups is a simplifying adapter for the GCE NetworkEndpointGroups.
GCEBetaRegionDisks is a simplifying adapter for the GCE RegionDisks.
GCEBetaSecurityPolicies is a simplifying adapter for the GCE SecurityPolicies.
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.
MinimumRateLimiter wraps a RateLimiter and will only call its Accept until the minimum duration has been met or the context is cancelled.
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.
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.
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.
MockBetaBackendServices is the mock for BackendServices.
MockBetaHealthChecks is the mock for HealthChecks.
MockBetaInstances is the mock for Instances.
MockBetaNetworkEndpointGroups is the mock for NetworkEndpointGroups.
MockBetaRegionDisks is the mock for RegionDisks.
MockBetaSecurityPolicies is the mock for SecurityPolicies.
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.
MockSecurityPoliciesObj 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.
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.
BackendServices is an interface that allows for mocking of BackendServices.
BetaAddresses is an interface that allows for mocking of Addresses.
BetaBackendServices is an interface that allows for mocking of BackendServices.
BetaHealthChecks is an interface that allows for mocking of HealthChecks.
BetaInstances is an interface that allows for mocking of Instances.
BetaNetworkEndpointGroups is an interface that allows for mocking of NetworkEndpointGroups.
BetaRegionDisks is an interface that allows for mocking of RegionDisks.
BetaSecurityPolicies is an interface that allows for mocking of SecurityPolicies.
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.