compute

package
v1.154.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ComputeDiskGVK = schema.GroupVersionKind{
		Group:   "compute.cnrm.cloud.google.com",
		Version: "v1beta1",
		Kind:    "ComputeDisk",
	}
	ComputeAddressGVK = schema.GroupVersionKind{
		Group:   "compute.cnrm.cloud.google.com",
		Version: "v1beta1",
		Kind:    "ComputeAddress",
	}
	ComputeNetworkGVK = schema.GroupVersionKind{
		Group:   "compute.cnrm.cloud.google.com",
		Version: "v1beta1",
		Kind:    "ComputeNetwork",
	}
	ComputeSubnetworkGVK = schema.GroupVersionKind{
		Group:   "compute.cnrm.cloud.google.com",
		Version: "v1beta1",
		Kind:    "ComputeSubnetwork",
	}
	ComputeImageGVK = schema.GroupVersionKind{
		Group:   "compute.cnrm.cloud.google.com",
		Version: "v1beta1",
		Kind:    "ComputeImage",
	}
	ComputeInstanceTemplateGVK = schema.GroupVersionKind{
		Group:   "compute.cnrm.cloud.google.com",
		Version: "v1beta1",
		Kind:    "ComputeInstanceTemplate",
	}
	ComputeResourcePolicyGVK = schema.GroupVersionKind{
		Group:   "compute.cnrm.cloud.google.com",
		Version: "v1beta1",
		Kind:    "ComputeResourcePolicy",
	}
	KMSCryptoKeyGVK = schema.GroupVersionKind{
		Group:   "kms.cnrm.cloud.google.com",
		Version: "v1beta1",
		Kind:    "KMSCryptoKey",
	}
	IAMServiceAccountGVK = schema.GroupVersionKind{
		Group:   "iam.cnrm.cloud.google.com",
		Version: "v1beta1",
		Kind:    "IAMServiceAccount",
	}
)

Functions

func AcceleratorConfig_v1alpha1_FromProto added in v1.151.0

func AcceleratorConfig_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AcceleratorConfig) *krmcomputev1alpha1.AcceleratorConfig

func AcceleratorConfig_v1alpha1_ToProto added in v1.151.0

func AcceleratorConfig_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.AcceleratorConfig) *pb.AcceleratorConfig

func AllocationAggregateReservation_v1alpha1_FromProto added in v1.151.0

func AllocationAggregateReservation_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AllocationAggregateReservation) *krmcomputev1alpha1.AllocationAggregateReservation

func AllocationAggregateReservation_v1alpha1_ToProto added in v1.151.0

func AllocationAggregateReservation_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.AllocationAggregateReservation) *pb.AllocationAggregateReservation

func AutoscalerAutoscalingPolicy_v1alpha1_FromProto added in v1.154.0

func AutoscalerAutoscalingPolicy_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicy) *krm.AutoscalerAutoscalingPolicy

func AutoscalerAutoscalingPolicy_v1alpha1_ToProto added in v1.154.0

func AutoscalerAutoscalingPolicy_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalerAutoscalingPolicy) *pb.AutoscalingPolicy

func AutoscalerCpuUtilization_v1alpha1_FromProto added in v1.154.0

func AutoscalerCpuUtilization_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyCpuUtilization) *krm.AutoscalerCpuUtilization

func AutoscalerCpuUtilization_v1alpha1_ToProto added in v1.154.0

func AutoscalerCpuUtilization_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalerCpuUtilization) *pb.AutoscalingPolicyCpuUtilization

func AutoscalerLoadBalancingUtilization_v1alpha1_FromProto added in v1.154.0

func AutoscalerLoadBalancingUtilization_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyLoadBalancingUtilization) *krm.AutoscalerLoadBalancingUtilization

func AutoscalerLoadBalancingUtilization_v1alpha1_ToProto added in v1.154.0

func AutoscalerLoadBalancingUtilization_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalerLoadBalancingUtilization) *pb.AutoscalingPolicyLoadBalancingUtilization

func AutoscalerMetric_v1alpha1_FromProto added in v1.154.0

func AutoscalerMetric_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyCustomMetricUtilization) *krm.AutoscalerMetric

func AutoscalerMetric_v1alpha1_ToProto added in v1.154.0

func AutoscalerMetric_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalerMetric) *pb.AutoscalingPolicyCustomMetricUtilization

func AutoscalerScaleDownControl_v1alpha1_FromProto added in v1.154.0

func AutoscalerScaleDownControl_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyScaleInControl) *krm.AutoscalerScaleDownControl

func AutoscalerScaleDownControl_v1alpha1_ToProto added in v1.154.0

func AutoscalerScaleDownControl_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalerScaleDownControl) *pb.AutoscalingPolicyScaleInControl

func AutoscalerScaleInControl_v1alpha1_FromProto added in v1.154.0

func AutoscalerScaleInControl_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyScaleInControl) *krm.AutoscalerScaleInControl

func AutoscalerScaleInControl_v1alpha1_ToProto added in v1.154.0

func AutoscalerScaleInControl_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalerScaleInControl) *pb.AutoscalingPolicyScaleInControl

func AutoscalerScalingSchedule_v1alpha1_FromProto added in v1.154.0

func AutoscalerScalingSchedule_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyScalingSchedule) *krm.AutoscalerScalingSchedules

func AutoscalerScalingSchedule_v1alpha1_ToProto added in v1.154.0

func AutoscalerScalingSchedule_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalerScalingSchedules) *pb.AutoscalingPolicyScalingSchedule

func BackendBucketCDNPolicyCacheKeyPolicy_v1beta1_FromProto added in v1.154.0

func BackendBucketCDNPolicyCacheKeyPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendBucketCdnPolicyCacheKeyPolicy) *krm.BackendBucketCDNPolicyCacheKeyPolicy

func BackendBucketCDNPolicyCacheKeyPolicy_v1beta1_ToProto added in v1.154.0

func BackendBucketCDNPolicyCacheKeyPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendBucketCDNPolicyCacheKeyPolicy) *pb.BackendBucketCdnPolicyCacheKeyPolicy

func BackendBucketCDNPolicyNegativeCachingPolicy_v1beta1_FromProto added in v1.154.0

func BackendBucketCDNPolicyNegativeCachingPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendBucketCdnPolicyNegativeCachingPolicy) *krm.BackendBucketCDNPolicyNegativeCachingPolicy

func BackendBucketCDNPolicyNegativeCachingPolicy_v1beta1_ToProto added in v1.154.0

func BackendBucketCDNPolicyNegativeCachingPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendBucketCDNPolicyNegativeCachingPolicy) *pb.BackendBucketCdnPolicyNegativeCachingPolicy

func BackendBucketCDNPolicy_v1beta1_FromProto added in v1.154.0

func BackendBucketCDNPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendBucketCdnPolicy) *krm.BackendBucketCDNPolicy

found existing non-generated mapping function "Backend_v1beta1_ToProto", skipping

func Backend_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.Backend) *pb.Backend {
	if in == nil {
		return nil
	}
	out := &pb.Backend{}
	out.BalancingMode = in.BalancingMode
	out.CapacityScaler = in.CapacityScaler
	// MISSING: CustomMetrics
	out.Description = in.Description
	out.Failover = in.Failover
	out.Group = in.Group
	out.MaxConnections = in.MaxConnections
	out.MaxConnectionsPerEndpoint = in.MaxConnectionsPerEndpoint
	out.MaxConnectionsPerInstance = in.MaxConnectionsPerInstance
	out.MaxRate = in.MaxRate
	out.MaxRatePerEndpoint = in.MaxRatePerEndpoint
	out.MaxRatePerInstance = in.MaxRatePerInstance
	out.MaxUtilization = in.MaxUtilization
	// MISSING: Preference
	return out
}

func BackendBucketCDNPolicy_v1beta1_ToProto added in v1.154.0

func BackendBucketCDNPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendBucketCDNPolicy) *pb.BackendBucketCdnPolicy

func BackendGroup_v1beta1_FromProto added in v1.154.0

func BackendGroup_v1beta1_FromProto(mapCtx *direct.MapContext, in *string) *krm.BackendGroup

BackendGroup_v1beta1_FromProto converts proto group selfLink string to KRM BackendGroup.

func BackendGroup_v1beta1_ToProto added in v1.154.0

func BackendGroup_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendGroup) *string

BackendGroup_v1beta1_ToProto converts KRM BackendGroup to proto group selfLink string.

func BackendServiceCdnPolicyBypassCacheOnRequestHeader_v1beta1_FromProto added in v1.154.0

func BackendServiceCdnPolicyBypassCacheOnRequestHeader_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendServiceCdnPolicyBypassCacheOnRequestHeader) *krm.BackendServiceCdnPolicyBypassCacheOnRequestHeader

BackendServiceCdnPolicyBypassCacheOnRequestHeader_v1beta1_FromProto maps pb.BackendServiceCdnPolicyBypassCacheOnRequestHeader to BackendServiceCdnPolicyBypassCacheOnRequestHeader.

func BackendServiceCdnPolicyBypassCacheOnRequestHeader_v1beta1_ToProto added in v1.154.0

func BackendServiceCdnPolicyBypassCacheOnRequestHeader_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceCdnPolicyBypassCacheOnRequestHeader) *pb.BackendServiceCdnPolicyBypassCacheOnRequestHeader

BackendServiceCdnPolicyBypassCacheOnRequestHeader_v1beta1_ToProto maps BackendServiceCdnPolicyBypassCacheOnRequestHeader to pb.BackendServiceCdnPolicyBypassCacheOnRequestHeader.

func BackendServiceCdnPolicyNegativeCachingPolicy_v1beta1_FromProto added in v1.154.0

func BackendServiceCdnPolicyNegativeCachingPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendServiceCdnPolicyNegativeCachingPolicy) *krm.BackendServiceCdnPolicyNegativeCachingPolicy

BackendServiceCdnPolicyNegativeCachingPolicy_v1beta1_FromProto maps pb.BackendServiceCdnPolicyNegativeCachingPolicy to BackendServiceCdnPolicyNegativeCachingPolicy.

func BackendServiceCdnPolicyNegativeCachingPolicy_v1beta1_ToProto added in v1.154.0

func BackendServiceCdnPolicyNegativeCachingPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceCdnPolicyNegativeCachingPolicy) *pb.BackendServiceCdnPolicyNegativeCachingPolicy

BackendServiceCdnPolicyNegativeCachingPolicy_v1beta1_ToProto maps BackendServiceCdnPolicyNegativeCachingPolicy to pb.BackendServiceCdnPolicyNegativeCachingPolicy.

func BackendServiceCdnPolicy_v1beta1_FromProto added in v1.154.0

func BackendServiceCdnPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendServiceCdnPolicy) *krm.BackendServiceCdnPolicy

BackendServiceCdnPolicy_v1beta1_FromProto maps pb.BackendServiceCdnPolicy to BackendServiceCdnPolicy.

func BackendServiceCdnPolicy_v1beta1_ToProto added in v1.154.0

func BackendServiceCdnPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceCdnPolicy) *pb.BackendServiceCdnPolicy

BackendServiceCdnPolicy_v1beta1_ToProto maps BackendServiceCdnPolicy to pb.BackendServiceCdnPolicy.

func BackendServiceConnectionTrackingPolicy_v1beta1_FromProto added in v1.154.0

func BackendServiceConnectionTrackingPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendServiceConnectionTrackingPolicy) *krm.BackendServiceConnectionTrackingPolicy

found existing non-generated mapping function "BackendServiceCdnPolicyNegativeCachingPolicy_v1beta1_ToProto", skipping

func BackendServiceCdnPolicyNegativeCachingPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceCdnPolicyNegativeCachingPolicy) *pb.BackendServiceCdnPolicyNegativeCachingPolicy {
	if in == nil {
		return nil
	}
	out := &pb.BackendServiceCdnPolicyNegativeCachingPolicy{}
	out.Code = in.Code
	// MISSING: TTL
	// (near miss): "TTL" vs "Ttl"
	return out
}

func BackendServiceConnectionTrackingPolicy_v1beta1_ToProto added in v1.154.0

func BackendServiceConnectionTrackingPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceConnectionTrackingPolicy) *pb.BackendServiceConnectionTrackingPolicy

func BackendServiceDuration_v1beta1_FromProto added in v1.154.0

func BackendServiceDuration_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Duration) *krm.BackendServiceDuration

BackendServiceDuration_v1beta1_FromProto maps pb.Duration to BackendServiceDuration.

func BackendServiceDuration_v1beta1_ToProto added in v1.154.0

func BackendServiceDuration_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceDuration) *pb.Duration

BackendServiceDuration_v1beta1_ToProto maps BackendServiceDuration to pb.Duration.

func BackendServiceFailoverPolicy_v1beta1_FromProto added in v1.154.0

func BackendServiceFailoverPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendServiceFailoverPolicy) *krm.BackendServiceFailoverPolicy

func BackendServiceFailoverPolicy_v1beta1_ToProto added in v1.154.0

func BackendServiceFailoverPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceFailoverPolicy) *pb.BackendServiceFailoverPolicy

func BackendServiceHttpCookie_v1beta1_FromProto added in v1.154.0

func BackendServiceHttpCookie_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ConsistentHashLoadBalancerSettingsHttpCookie) *krm.BackendServiceHttpCookie

BackendServiceHttpCookie_v1beta1_FromProto maps pb.ConsistentHashLoadBalancerSettingsHttpCookie to BackendServiceHttpCookie.

func BackendServiceHttpCookie_v1beta1_ToProto added in v1.154.0

func BackendServiceHttpCookie_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceHttpCookie) *pb.ConsistentHashLoadBalancerSettingsHttpCookie

BackendServiceHttpCookie_v1beta1_ToProto maps BackendServiceHttpCookie to pb.ConsistentHashLoadBalancerSettingsHttpCookie.

func BackendServiceIap_v1beta1_FromProto added in v1.154.0

func BackendServiceIap_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendServiceIAP) *krm.BackendServiceIap

BackendServiceIap_v1beta1_FromProto maps pb.BackendServiceIAP to BackendServiceIap.

func BackendServiceIap_v1beta1_ToProto added in v1.154.0

func BackendServiceIap_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceIap) *pb.BackendServiceIAP

BackendServiceIap_v1beta1_ToProto maps BackendServiceIap to pb.BackendServiceIAP.

func BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_v1beta1_FromProto added in v1.154.0

func BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) *krm.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy

BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_v1beta1_FromProto maps pb.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy to BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.

func BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_v1beta1_ToProto added in v1.154.0

func BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) *pb.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy

BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_v1beta1_ToProto maps BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy to pb.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.

func BackendServiceLocalityLoadBalancingPolicyConfigPolicy_v1beta1_FromProto added in v1.154.0

func BackendServiceLocalityLoadBalancingPolicyConfigPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) *krm.BackendServiceLocalityLoadBalancingPolicyConfigPolicy

BackendServiceLocalityLoadBalancingPolicyConfigPolicy_v1beta1_FromProto maps pb.BackendServiceLocalityLoadBalancingPolicyConfigPolicy to BackendServiceLocalityLoadBalancingPolicyConfigPolicy.

func BackendServiceLocalityLoadBalancingPolicyConfigPolicy_v1beta1_ToProto added in v1.154.0

func BackendServiceLocalityLoadBalancingPolicyConfigPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) *pb.BackendServiceLocalityLoadBalancingPolicyConfigPolicy

BackendServiceLocalityLoadBalancingPolicyConfigPolicy_v1beta1_ToProto maps BackendServiceLocalityLoadBalancingPolicyConfigPolicy to pb.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.

func BackendServiceLocalityLoadBalancingPolicyConfig_v1beta1_FromProto added in v1.154.0

func BackendServiceLocalityLoadBalancingPolicyConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendServiceLocalityLoadBalancingPolicyConfig) *krm.BackendServiceLocalityLoadBalancingPolicyConfig

BackendServiceLocalityLoadBalancingPolicyConfig_v1beta1_FromProto maps BackendServiceLocalityLoadBalancingPolicyConfig to BackendServiceLocalityLoadBalancingPolicyConfig.

func BackendServiceLocalityLoadBalancingPolicyConfig_v1beta1_ToProto added in v1.154.0

func BackendServiceLocalityLoadBalancingPolicyConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceLocalityLoadBalancingPolicyConfig) *pb.BackendServiceLocalityLoadBalancingPolicyConfig

BackendServiceLocalityLoadBalancingPolicyConfig_v1beta1_ToProto maps BackendServiceLocalityLoadBalancingPolicyConfig to pb.BackendServiceLocalityLoadBalancingPolicyConfig.

func BackendServiceLogConfig_v1beta1_FromProto added in v1.154.0

func BackendServiceLogConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendServiceLogConfig) *krm.BackendServiceLogConfig

BackendServiceLogConfig_v1beta1_FromProto maps pb.BackendServiceLogConfig to BackendServiceLogConfig.

func BackendServiceLogConfig_v1beta1_ToProto added in v1.154.0

func BackendServiceLogConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.BackendServiceLogConfig) *pb.BackendServiceLogConfig

BackendServiceLogConfig_v1beta1_ToProto maps BackendServiceLogConfig to pb.BackendServiceLogConfig.

func Backend_v1beta1_FromProto added in v1.154.0

func Backend_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Backend) *krm.Backend

Backend_v1beta1_FromProto maps pb.Backend to a Backend KRM struct. Handcoded to map custom nested group references.

func Backend_v1beta1_ToProto added in v1.154.0

func Backend_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.Backend) *pb.Backend

Backend_v1beta1_ToProto maps a Backend KRM struct to pb.Backend. Handcoded to map custom nested group references.

func CacheKeyPolicy_v1beta1_FromProto added in v1.154.0

func CacheKeyPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CacheKeyPolicy) *krm.CacheKeyPolicy

CacheKeyPolicy_v1beta1_FromProto maps pb.CacheKeyPolicy to CacheKeyPolicy.

func CacheKeyPolicy_v1beta1_ToProto added in v1.154.0

func CacheKeyPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.CacheKeyPolicy) *pb.CacheKeyPolicy

CacheKeyPolicy_v1beta1_ToProto maps CacheKeyPolicy to pb.CacheKeyPolicy.

func CircuitBreakers_v1beta1_FromProto added in v1.154.0

func CircuitBreakers_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CircuitBreakers) *krm.CircuitBreakers

CircuitBreakers_v1beta1_FromProto maps pb.CircuitBreakers to CircuitBreakers.

func CircuitBreakers_v1beta1_ToProto added in v1.154.0

func CircuitBreakers_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.CircuitBreakers) *pb.CircuitBreakers

CircuitBreakers_v1beta1_ToProto maps CircuitBreakers to pb.CircuitBreakers.

func ComputeAddressObservedState_v1beta1_FromProto added in v1.154.0

func ComputeAddressObservedState_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Address) *krm.ComputeAddressObservedState

found existing non-generated mapping function "CircuitBreakers_v1beta1_ToProto", skipping

func CircuitBreakers_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.CircuitBreakers) *pb.CircuitBreakers {
	if in == nil {
		return nil
	}
	out := &pb.CircuitBreakers{}
	out.MaxConnections = in.MaxConnections
	out.MaxPendingRequests = in.MaxPendingRequests
	out.MaxRequests = in.MaxRequests
	out.MaxRequestsPerConnection = in.MaxRequestsPerConnection
	out.MaxRetries = in.MaxRetries
	return out
}

func ComputeAddressObservedState_v1beta1_ToProto added in v1.154.0

func ComputeAddressObservedState_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeAddressObservedState) *pb.Address

func ComputeAddressSpec_v1beta1_FromProto added in v1.154.0

func ComputeAddressSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Address) *krm.ComputeAddressSpec

func ComputeAddressSpec_v1beta1_ToProto added in v1.154.0

func ComputeAddressSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeAddressSpec) *pb.Address

func ComputeAddressStatus_v1beta1_FromProto added in v1.154.0

func ComputeAddressStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Address) *krm.ComputeAddressStatus

found existing non-generated mapping function "ComputeAddressSpec_v1beta1_ToProto", skipping

func ComputeAddressSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeAddressSpec) *pb.Address {
	if in == nil {
		return nil
	}
	out := &pb.Address{}
	out.Address = in.Address
	out.AddressType = in.AddressType
	// MISSING: CreationTimestamp
	out.Description = in.Description
	// MISSING: ID
	out.IpVersion = in.IPVersion
	out.Ipv6EndpointType = in.IPV6EndpointType
	// MISSING: Kind
	// MISSING: LabelFingerprint
	// MISSING: Labels
	// MISSING: Name
	if in.NetworkRef != nil {
		out.Network = &in.NetworkRef.External
	}
	out.NetworkTier = in.NetworkTier
	out.PrefixLength = in.PrefixLength
	out.Purpose = in.Purpose
	// MISSING: Region
	// MISSING: SelfLink
	// MISSING: Status
	if in.SubnetworkRef != nil {
		out.Subnetwork = &in.SubnetworkRef.External
	}
	// MISSING: Users
	return out
}

func ComputeAddressStatus_v1beta1_ToProto added in v1.154.0

func ComputeAddressStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeAddressStatus) *pb.Address

func ComputeAutoscalerSpec_v1alpha1_FromProto added in v1.154.0

func ComputeAutoscalerSpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.Autoscaler) *krm.ComputeAutoscalerSpec

func ComputeAutoscalerSpec_v1alpha1_ToProto added in v1.154.0

func ComputeAutoscalerSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeAutoscalerSpec) *pb.Autoscaler

func ComputeAutoscalerStatus_v1alpha1_FromProto added in v1.154.0

func ComputeAutoscalerStatus_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.Autoscaler) *krm.ComputeAutoscalerStatus

func ComputeAutoscalerStatus_v1alpha1_ToProto added in v1.154.0

func ComputeAutoscalerStatus_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeAutoscalerStatus) *pb.Autoscaler

func ComputeBackendBucketSpec_v1beta1_FromProto added in v1.154.0

func ComputeBackendBucketSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendBucket) *krm.ComputeBackendBucketSpec

func ComputeBackendBucketSpec_v1beta1_ToProto added in v1.154.0

func ComputeBackendBucketSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeBackendBucketSpec) *pb.BackendBucket

func ComputeBackendBucketStatus_v1beta1_FromProto added in v1.154.0

func ComputeBackendBucketStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendBucket) *krm.ComputeBackendBucketStatus

found existing non-generated mapping function "ComputeBackendBucketSpec_v1beta1_ToProto", skipping

func ComputeBackendBucketSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeBackendBucketSpec) *pb.BackendBucket {
	if in == nil {
		return nil
	}
	out := &pb.BackendBucket{}
	// MISSING: BucketName
	out.CdnPolicy = BackendBucketCDNPolicy_v1beta1_ToProto(mapCtx, in.CDNPolicy)
	out.CompressionMode = in.CompressionMode
	// MISSING: CreationTimestamp
	out.CustomResponseHeaders = in.CustomResponseHeaders
	out.Description = in.Description
	out.EdgeSecurityPolicy = in.EdgeSecurityPolicy
	out.EnableCdn = in.EnableCDN
	// MISSING: ID
	// MISSING: Kind
	// MISSING: LoadBalancingScheme
	// MISSING: Name
	// MISSING: Params
	// MISSING: SelfLink
	// MISSING: UsedBy
	return out
}

func ComputeBackendBucketStatus_v1beta1_ToProto added in v1.154.0

func ComputeBackendBucketStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeBackendBucketStatus) *pb.BackendBucket

func ComputeBackendServiceSignedURLKeySpec_v1alpha1_FromProto added in v1.154.0

func ComputeBackendServiceSignedURLKeySpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.SignedUrlKey) *krm.ComputeBackendServiceSignedURLKeySpec

ComputeBackendServiceSignedURLKeySpec_v1alpha1_FromProto converts the Proto SignedUrlKey to the KRM Spec. We hand-code this function because the KeyValue field in KRM is a struct containing SecretKeyRef (sensitive), whereas in the GCP proto it is a plain string. Since we cannot retrieve a secret's value back from GCP, we only map KeyValue if it exists, and map the key name.

func ComputeBackendServiceSignedURLKeySpec_v1alpha1_ToProto added in v1.154.0

func ComputeBackendServiceSignedURLKeySpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeBackendServiceSignedURLKeySpec) *pb.SignedUrlKey

ComputeBackendServiceSignedURLKeySpec_v1alpha1_ToProto converts the KRM Spec to the Proto SignedUrlKey. We hand-code this because KeyValue is a struct with sensitive value/valueFrom fields in KRM, but is a plain string in the GCP proto. The actual secret resolution is handled during reconciliation rather than direct mapping.

func ComputeBackendServiceSpec_Backends_v1beta1_FromProto added in v1.154.0

func ComputeBackendServiceSpec_Backends_v1beta1_FromProto(mapCtx *direct.MapContext, in []*pb.Backend) []krm.Backend

ComputeBackendServiceSpec_Backends_v1beta1_FromProto maps slice of pb.Backend to Backend KRM objects slice.

func ComputeBackendServiceSpec_Backends_v1beta1_ToProto added in v1.154.0

func ComputeBackendServiceSpec_Backends_v1beta1_ToProto(mapCtx *direct.MapContext, in []krm.Backend) []*pb.Backend

ComputeBackendServiceSpec_Backends_v1beta1_ToProto maps slice of Backend KRM objects to pb.Backend slice.

func ComputeBackendServiceSpec_HealthChecks_v1beta1_FromProto added in v1.154.0

func ComputeBackendServiceSpec_HealthChecks_v1beta1_FromProto(mapCtx *direct.MapContext, in []string) []krm.BackendserviceHealthChecks

ComputeBackendServiceSpec_HealthChecks_v1beta1_FromProto converts proto health check selfLink slice to KRM HealthChecks slice.

func ComputeBackendServiceSpec_HealthChecks_v1beta1_ToProto added in v1.154.0

func ComputeBackendServiceSpec_HealthChecks_v1beta1_ToProto(mapCtx *direct.MapContext, in []krm.BackendserviceHealthChecks) []string

ComputeBackendServiceSpec_HealthChecks_v1beta1_ToProto converts KRM HealthChecks slice to proto health check selfLink slice.

func ComputeBackendServiceSpec_v1beta1_FromProto added in v1.154.0

func ComputeBackendServiceSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendService) *krm.ComputeBackendServiceSpec

ComputeBackendServiceSpec_v1beta1_FromProto maps protobuf BackendService to ComputeBackendServiceSpec. Handcoded to handle custom reference structures, flat mapping for connection draining timeout, and regional vs global locations.

func ComputeBackendServiceSpec_v1beta1_ToProto added in v1.154.0

func ComputeBackendServiceSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeBackendServiceSpec) *pb.BackendService

ComputeBackendServiceSpec_v1beta1_ToProto maps ComputeBackendServiceSpec to the protobuf BackendService. Handcoded to handle custom reference structures, flat mapping for connection draining timeout, and regional vs global locations.

func ComputeBackendServiceStatus_v1beta1_FromProto added in v1.154.0

func ComputeBackendServiceStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.BackendService) *krm.ComputeBackendServiceStatus

ComputeBackendServiceStatus_v1beta1_FromProto maps protobuf BackendService to ComputeBackendServiceStatus. Handcoded to preserve custom fields like GeneratedId, CreationTimestamp, Fingerprint, and SelfLink.

func ComputeBackendServiceStatus_v1beta1_ToProto added in v1.154.0

func ComputeBackendServiceStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeBackendServiceStatus) *pb.BackendService

ComputeBackendServiceStatus_v1beta1_ToProto maps ComputeBackendServiceStatus to protobuf BackendService. Handcoded to preserve custom fields like GeneratedId, CreationTimestamp, Fingerprint, and SelfLink.

func ComputeDiskRef_FromProto added in v1.154.0

func ComputeDiskRef_FromProto(mapCtx *direct.MapContext, in string) *krm.ComputeDiskRef

ComputeDiskRef_FromProto maps a disk string reference from pb to KRM ComputeDiskRef.

func ComputeDiskRef_ToProto added in v1.154.0

func ComputeDiskRef_ToProto(mapCtx *direct.MapContext, in *krm.ComputeDiskRef) *string

ComputeDiskRef_ToProto maps a KRM ComputeDiskRef to pb string reference.

func ComputeDiskResourcePolicyAttachmentSpec_FromProto added in v1.154.0

func ComputeDiskResourcePolicyAttachmentSpec_FromProto(mapCtx *direct.MapContext, in *pb.AddResourcePoliciesDiskRequest) *computev1alpha1.ComputeDiskResourcePolicyAttachmentSpec

func ComputeDiskSpec_ResourcePolicies_FromProto added in v1.154.0

func ComputeDiskSpec_ResourcePolicies_FromProto(mapCtx *direct.MapContext, in []string) []krm.ComputeResourcePolicyRef

func ComputeDiskSpec_ResourcePolicies_ToProto added in v1.154.0

func ComputeDiskSpec_ResourcePolicies_ToProto(mapCtx *direct.MapContext, in []krm.ComputeResourcePolicyRef) []string

func ComputeDiskSpec_v1beta1_FromProto added in v1.154.0

func ComputeDiskSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Disk) *krm.ComputeDiskSpec

found existing non-generated mapping function "ComputeBackendServiceSpec_v1beta1_ToProto", skipping

func ComputeBackendServiceSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeBackendServiceSpec) *pb.BackendService {
	if in == nil {
		return nil
	}
	out := &pb.BackendService{}
	// MISSING: AffinityCookieTTLSec
	// (near miss): "AffinityCookieTTLSec" vs "AffinityCookieTtlSec"
	// MISSING: Backends
	out.CdnPolicy = BackendServiceCdnPolicy_v1beta1_ToProto(mapCtx, in.CDNPolicy)
	out.CircuitBreakers = CircuitBreakers_v1beta1_ToProto(mapCtx, in.CircuitBreakers)
	out.CompressionMode = in.CompressionMode
	// MISSING: ConnectionDraining
	out.ConnectionTrackingPolicy = BackendServiceConnectionTrackingPolicy_v1beta1_ToProto(mapCtx, in.ConnectionTrackingPolicy)
	out.ConsistentHash = ConsistentHashLoadBalancerSettings_v1beta1_ToProto(mapCtx, in.ConsistentHash)
	// MISSING: CreationTimestamp
	// MISSING: CustomMetrics
	out.CustomRequestHeaders = in.CustomRequestHeaders
	out.CustomResponseHeaders = in.CustomResponseHeaders
	out.Description = in.Description
	if in.EdgeSecurityPolicyRef != nil {
		out.EdgeSecurityPolicy = &in.EdgeSecurityPolicyRef.External
	}
	// MISSING: EnableCDN
	// (near miss): "EnableCDN" vs "EnableCdn"
	// MISSING: ExternalManagedMigrationState
	// MISSING: ExternalManagedMigrationTestingPercentage
	out.FailoverPolicy = BackendServiceFailoverPolicy_v1beta1_ToProto(mapCtx, in.FailoverPolicy)
	// MISSING: Fingerprint
	// MISSING: HaPolicy
	out.HealthChecks = ComputeBackendServiceSpec_HealthChecks_ToProto(mapCtx, in.HealthChecks)
	// MISSING: IAP
	// (near miss): "IAP" vs "Iap"
	// MISSING: ID
	// MISSING: IPAddressSelectionPolicy
	// MISSING: Kind
	out.LoadBalancingScheme = in.LoadBalancingScheme
	out.LocalityLbPolicies = direct.Slice_ToProto(mapCtx, in.LocalityLbPolicies, BackendServiceLocalityLoadBalancingPolicyConfig_v1beta1_ToProto)
	out.LocalityLbPolicy = in.LocalityLbPolicy
	out.LogConfig = BackendServiceLogConfig_v1beta1_ToProto(mapCtx, in.LogConfig)
	// MISSING: MaxStreamDuration
	// MISSING: Metadatas
	// MISSING: Name
	if in.NetworkRef != nil {
		out.Network = &in.NetworkRef.External
	}
	out.OutlierDetection = OutlierDetection_v1beta1_ToProto(mapCtx, in.OutlierDetection)
	// MISSING: Params
	// MISSING: Port
	out.PortName = in.PortName
	out.Protocol = in.Protocol
	// MISSING: Region
	out.SecurityPolicy = in.SecurityPolicy
	out.SecuritySettings = SecuritySettings_v1beta1_ToProto(mapCtx, in.SecuritySettings)
	// MISSING: SelfLink
	// MISSING: ServiceBindings
	// MISSING: ServiceLbPolicy
	out.SessionAffinity = in.SessionAffinity
	// MISSING: StrongSessionAffinityCookie
	out.Subsetting = Subsetting_v1beta1_ToProto(mapCtx, in.Subsetting)
	out.TimeoutSec = in.TimeoutSec
	// MISSING: TLSSettings
	// MISSING: UsedBy
	return out
}

func ComputeDiskSpec_v1beta1_ToProto added in v1.154.0

func ComputeDiskSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeDiskSpec) *pb.Disk

func ComputeDiskStatus_v1beta1_FromProto added in v1.154.0

func ComputeDiskStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Disk) *krm.ComputeDiskStatus

func ComputeDiskStatus_v1beta1_ToProto added in v1.154.0

func ComputeDiskStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeDiskStatus) *pb.Disk

func ComputeExternalVPNGatewayInterface_v1beta1_FromProto added in v1.154.0

func ComputeExternalVPNGatewayInterface_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ExternalVpnGatewayInterface) *krm.ComputeExternalVPNGatewayInterface

ComputeExternalVPNGatewayInterface_v1beta1_FromProto maps a pb.ExternalVpnGatewayInterface to a krm.ComputeExternalVPNGatewayInterface. It is handcoded here because of type mismatches: KRM ID is *int64, while Proto ID is *uint32.

func ComputeExternalVPNGatewayInterface_v1beta1_ToProto added in v1.154.0

func ComputeExternalVPNGatewayInterface_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeExternalVPNGatewayInterface) *pb.ExternalVpnGatewayInterface

ComputeExternalVPNGatewayInterface_v1beta1_ToProto maps a krm.ComputeExternalVPNGatewayInterface to a pb.ExternalVpnGatewayInterface. It is handcoded here because of type mismatches: KRM ID is *int64, while Proto ID is *uint32.

func ComputeExternalVPNGatewaySpec_v1beta1_FromProto added in v1.154.0

func ComputeExternalVPNGatewaySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ExternalVpnGateway) *krm.ComputeExternalVPNGatewaySpec

found existing non-generated mapping function "ComputeExternalVPNGatewayInterface_v1beta1_ToProto", skipping

func ComputeExternalVPNGatewayInterface_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeExternalVPNGatewayInterface) *pb.ExternalVpnGatewayInterface {
	if in == nil {
		return nil
	}
	out := &pb.ExternalVpnGatewayInterface{}
	out.Id = in.ID
	out.IpAddress = in.IPAddress
	// MISSING: IPV6Address
	return out
}

func ComputeExternalVPNGatewaySpec_v1beta1_ToProto added in v1.154.0

func ComputeExternalVPNGatewaySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeExternalVPNGatewaySpec) *pb.ExternalVpnGateway

func ComputeExternalVPNGatewayStatus_v1beta1_FromProto added in v1.154.0

func ComputeExternalVPNGatewayStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ExternalVpnGateway) *krm.ComputeExternalVPNGatewayStatus

ComputeExternalVPNGatewayStatus_v1beta1_FromProto maps a pb.ExternalVpnGateway to a krm.ComputeExternalVPNGatewayStatus. It is handcoded here to organize status mappings cleanly within mappers.go.

func ComputeExternalVPNGatewayStatus_v1beta1_ToProto added in v1.154.0

func ComputeExternalVPNGatewayStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeExternalVPNGatewayStatus) *pb.ExternalVpnGateway

ComputeExternalVPNGatewayStatus_v1beta1_ToProto maps a krm.ComputeExternalVPNGatewayStatus to a pb.ExternalVpnGateway. It is handcoded here to organize status mappings cleanly within mappers.go.

func ComputeFirewallPolicyAssociationSpec_v1beta1_FromProto added in v1.154.0

func ComputeFirewallPolicyAssociationSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicyAssociation) *krm.ComputeFirewallPolicyAssociationSpec

ComputeFirewallPolicyAssociationSpec_v1beta1_FromProto maps a GCP proto FirewallPolicyAssociation to a KRM spec. This is handwritten because the reference fields (attachmentTargetRef and firewallPolicyRef) have a different type structure than the simple string fields in the proto message.

func ComputeFirewallPolicyAssociationSpec_v1beta1_ToProto added in v1.154.0

func ComputeFirewallPolicyAssociationSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeFirewallPolicyAssociationSpec) *pb.FirewallPolicyAssociation

ComputeFirewallPolicyAssociationSpec_v1beta1_ToProto maps a KRM spec to a GCP proto FirewallPolicyAssociation. This is handwritten because the reference fields (attachmentTargetRef and firewallPolicyRef) have a different type structure than the simple string fields in the proto message.

func ComputeFirewallPolicyAssociationStatus_v1beta1_FromProto added in v1.154.0

func ComputeFirewallPolicyAssociationStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicyAssociation) *krm.ComputeFirewallPolicyAssociationStatus

ComputeFirewallPolicyAssociationStatus_v1beta1_FromProto maps a GCP proto FirewallPolicyAssociation to a KRM status.

func ComputeFirewallPolicyAssociationStatus_v1beta1_ToProto added in v1.154.0

func ComputeFirewallPolicyAssociationStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeFirewallPolicyAssociationStatus) *pb.FirewallPolicyAssociation

ComputeFirewallPolicyAssociationStatus_v1beta1_ToProto maps a KRM status to a GCP proto FirewallPolicyAssociation.

func ComputeFirewallPolicyRuleSpec_TargetResources_FromProto added in v1.138.0

func ComputeFirewallPolicyRuleSpec_TargetResources_FromProto(mapCtx *direct.MapContext, in []string) []*computerefs.ComputeNetworkRef

func ComputeFirewallPolicyRuleSpec_TargetResources_ToProto added in v1.138.0

func ComputeFirewallPolicyRuleSpec_TargetResources_ToProto(mapCtx *direct.MapContext, in []*computerefs.ComputeNetworkRef) []string

func ComputeFirewallPolicyRuleSpec_TargetServiceAccounts_FromProto added in v1.138.0

func ComputeFirewallPolicyRuleSpec_TargetServiceAccounts_FromProto(mapCtx *direct.MapContext, in []string) []*refs.IAMServiceAccountRef

func ComputeFirewallPolicyRuleSpec_TargetServiceAccounts_ToProto added in v1.138.0

func ComputeFirewallPolicyRuleSpec_TargetServiceAccounts_ToProto(mapCtx *direct.MapContext, in []*refs.IAMServiceAccountRef) []string

func ComputeFirewallPolicyRuleSpec_v1beta1_FromProto added in v1.143.0

func ComputeFirewallPolicyRuleSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicyRule) *krm.ComputeFirewallPolicyRuleSpec

func ComputeFirewallPolicyRuleSpec_v1beta1_ToProto added in v1.143.0

func ComputeFirewallPolicyRuleSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeFirewallPolicyRuleSpec) *pb.FirewallPolicyRule

func ComputeFirewallPolicyRuleStatus_v1beta1_FromProto added in v1.143.0

func ComputeFirewallPolicyRuleStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicyRule) *krm.ComputeFirewallPolicyRuleStatus

func ComputeFirewallPolicyRuleStatus_v1beta1_ToProto added in v1.143.0

func ComputeFirewallPolicyRuleStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeFirewallPolicyRuleStatus) *pb.FirewallPolicyRule

func ComputeFirewallPolicySpec_v1beta1_FromProto added in v1.154.0

func ComputeFirewallPolicySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicy) *krm.ComputeFirewallPolicySpec

ComputeFirewallPolicySpec_v1beta1_FromProto is handcoded because ShortName is a pointer *string in the proto but a required non-pointer string in the KRM schema.

func ComputeFirewallPolicySpec_v1beta1_ToProto added in v1.154.0

func ComputeFirewallPolicySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeFirewallPolicySpec) *pb.FirewallPolicy

ComputeFirewallPolicySpec_v1beta1_ToProto is handcoded because ShortName is a pointer *string in the proto but a required non-pointer string in the KRM schema.

func ComputeFirewallPolicyStatus_v1beta1_FromProto added in v1.154.0

func ComputeFirewallPolicyStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicy) *krm.ComputeFirewallPolicyStatus

func ComputeFirewallPolicyStatus_v1beta1_ToProto added in v1.154.0

func ComputeFirewallPolicyStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeFirewallPolicyStatus) *pb.FirewallPolicy

func ComputeFirewallPolicy_v1beta1_FromProto added in v1.154.0

func ComputeFirewallPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicy) *krm.ComputeFirewallPolicy

found existing non-generated mapping function "ComputeExternalVPNGatewayStatus_v1beta1_ToProto", skipping

func ComputeExternalVPNGatewayStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeExternalVPNGatewayStatus) *pb.ExternalVpnGateway {
	if in == nil {
		return nil
	}
	out := &pb.ExternalVpnGateway{}
	// MISSING: CreationTimestamp
	// MISSING: Description
	// MISSING: ID
	// MISSING: Interfaces
	// MISSING: Kind
	out.LabelFingerprint = in.LabelFingerprint
	// MISSING: Labels
	// MISSING: Name
	// MISSING: RedundancyType
	out.SelfLink = in.SelfLink
	return out
}

func ComputeFirewallPolicy_v1beta1_ToProto added in v1.154.0

func ComputeFirewallPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeFirewallPolicy) *pb.FirewallPolicy

func ComputeFirewallSpec_SourceServiceAccounts_FromProto added in v1.154.0

func ComputeFirewallSpec_SourceServiceAccounts_FromProto(mapCtx *direct.MapContext, in []string) []*refs.IAMServiceAccountRef

func ComputeFirewallSpec_SourceServiceAccounts_ToProto added in v1.154.0

func ComputeFirewallSpec_SourceServiceAccounts_ToProto(mapCtx *direct.MapContext, in []*refs.IAMServiceAccountRef) []string

func ComputeFirewallSpec_TargetServiceAccounts_FromProto added in v1.154.0

func ComputeFirewallSpec_TargetServiceAccounts_FromProto(mapCtx *direct.MapContext, in []string) []*refs.IAMServiceAccountRef

func ComputeFirewallSpec_TargetServiceAccounts_ToProto added in v1.154.0

func ComputeFirewallSpec_TargetServiceAccounts_ToProto(mapCtx *direct.MapContext, in []*refs.IAMServiceAccountRef) []string

func ComputeFirewallSpec_v1beta1_FromProto added in v1.154.0

func ComputeFirewallSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Firewall) *krm.ComputeFirewallSpec

func ComputeFirewallSpec_v1beta1_ToProto added in v1.154.0

func ComputeFirewallSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeFirewallSpec) *pb.Firewall

func ComputeFirewallStatus_v1beta1_FromProto added in v1.154.0

func ComputeFirewallStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Firewall) *krm.ComputeFirewallStatus

found existing non-generated mapping function "ComputeFirewallSpec_v1beta1_ToProto", skipping

func ComputeFirewallSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeFirewallSpec) *pb.Firewall {
	if in == nil {
		return nil
	}
	out := &pb.Firewall{}
	// MISSING: Allowed
	// MISSING: CreationTimestamp
	// MISSING: Denied
	out.Description = in.Description
	out.DestinationRanges = in.DestinationRanges
	out.Direction = in.Direction
	out.Disabled = in.Disabled
	// MISSING: ID
	// MISSING: Kind
	out.LogConfig = FirewallLogConfig_v1beta1_ToProto(mapCtx, in.LogConfig)
	// MISSING: Name
	if in.NetworkRef != nil {
		out.Network = &in.NetworkRef.External
	}
	// MISSING: Params
	out.Priority = in.Priority
	// MISSING: SelfLink
	out.SourceRanges = in.SourceRanges
	out.SourceServiceAccounts = ComputeFirewallSpec_SourceServiceAccounts_ToProto(mapCtx, in.SourceServiceAccounts)
	out.SourceTags = in.SourceTags
	out.TargetServiceAccounts = ComputeFirewallSpec_TargetServiceAccounts_ToProto(mapCtx, in.TargetServiceAccounts)
	out.TargetTags = in.TargetTags
	return out
}

func ComputeFirewallStatus_v1beta1_ToProto added in v1.154.0

func ComputeFirewallStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeFirewallStatus) *pb.Firewall

func ComputeForwardingRuleSpec_BackendSeriviceRef_FromProto

func ComputeForwardingRuleSpec_BackendSeriviceRef_FromProto(mapCtx *direct.MapContext, in string) *krm.ComputeBackendServiceRef

func ComputeForwardingRuleSpec_BackendSeriviceRef_ToProto

func ComputeForwardingRuleSpec_BackendSeriviceRef_ToProto(mapCtx *direct.MapContext, in *krm.ComputeBackendServiceRef) *string

func ComputeForwardingRuleSpec_IpAddress_FromProto

func ComputeForwardingRuleSpec_IpAddress_FromProto(mapCtx *direct.MapContext, in string) *krm.IpAddress

func ComputeForwardingRuleSpec_IpAddress_ToProto

func ComputeForwardingRuleSpec_IpAddress_ToProto(mapCtx *direct.MapContext, in *krm.IpAddress) *string

func ComputeForwardingRuleSpec_NetworkRef_FromProto

func ComputeForwardingRuleSpec_NetworkRef_FromProto(mapCtx *direct.MapContext, in string) *computerefs.ComputeNetworkRef

func ComputeForwardingRuleSpec_NetworkRef_ToProto

func ComputeForwardingRuleSpec_NetworkRef_ToProto(mapCtx *direct.MapContext, in *computerefs.ComputeNetworkRef) *string

func ComputeForwardingRuleSpec_SubnetworkRef_FromProto

func ComputeForwardingRuleSpec_SubnetworkRef_FromProto(mapCtx *direct.MapContext, in string) *krm.ComputeSubnetworkRef

func ComputeForwardingRuleSpec_SubnetworkRef_ToProto

func ComputeForwardingRuleSpec_SubnetworkRef_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSubnetworkRef) *string

func ComputeForwardingRuleSpec_Target_FromProto

func ComputeForwardingRuleSpec_Target_FromProto(mapCtx *direct.MapContext, in string) *krm.Target

func ComputeForwardingRuleSpec_Target_ToProto

func ComputeForwardingRuleSpec_Target_ToProto(mapCtx *direct.MapContext, in *krm.Target) *string

func ComputeForwardingRuleSpec_v1beta1_FromProto added in v1.143.0

func ComputeForwardingRuleSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ForwardingRule) *krm.ComputeForwardingRuleSpec

func ComputeForwardingRuleSpec_v1beta1_ToProto added in v1.143.0

func ComputeForwardingRuleSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeForwardingRuleSpec) *pb.ForwardingRule

func ComputeForwardingRuleStatus_PscConnectionId_FromProto

func ComputeForwardingRuleStatus_PscConnectionId_FromProto(mapCtx *direct.MapContext, in uint64) *string

func ComputeForwardingRuleStatus_PscConnectionId_ToProto

func ComputeForwardingRuleStatus_PscConnectionId_ToProto(mapCtx *direct.MapContext, in *string) *uint64

func ComputeForwardingRuleStatus_v1beta1_FromProto added in v1.143.0

func ComputeForwardingRuleStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ForwardingRule) *krm.ComputeForwardingRuleStatus

func ComputeForwardingRuleStatus_v1beta1_ToProto added in v1.143.0

func ComputeForwardingRuleStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeForwardingRuleStatus) *pb.ForwardingRule

func ComputeFutureReservationObservedState_v1alpha1_FromProto added in v1.151.0

func ComputeFutureReservationObservedState_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.FutureReservation) *krmcomputev1alpha1.ComputeFutureReservationObservedState

func ComputeFutureReservationObservedState_v1alpha1_ToProto added in v1.151.0

func ComputeFutureReservationObservedState_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeFutureReservationObservedState) *pb.FutureReservation

func ComputeFutureReservationSpec_v1alpha1_FromProto added in v1.151.0

func ComputeFutureReservationSpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.FutureReservation) *krmcomputev1alpha1.ComputeFutureReservationSpec

func ComputeFutureReservationSpec_v1alpha1_ToProto added in v1.151.0

func ComputeFutureReservationSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeFutureReservationSpec) *pb.FutureReservation

func ComputeHTTPHealthCheckSpec_v1beta1_FromProto added in v1.154.0

func ComputeHTTPHealthCheckSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HealthCheck) *krm.ComputeHTTPHealthCheckSpec

func ComputeHTTPHealthCheckSpec_v1beta1_ToProto added in v1.154.0

func ComputeHTTPHealthCheckSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeHTTPHealthCheckSpec) *pb.HealthCheck

func ComputeHTTPHealthCheckStatus_v1beta1_FromProto added in v1.154.0

func ComputeHTTPHealthCheckStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HealthCheck) *krm.ComputeHTTPHealthCheckStatus

func ComputeHTTPHealthCheckStatus_v1beta1_ToProto added in v1.154.0

func ComputeHTTPHealthCheckStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeHTTPHealthCheckStatus) *pb.HealthCheck

func ComputeHTTPSHealthCheckSpec_v1beta1_FromProto added in v1.154.0

func ComputeHTTPSHealthCheckSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HealthCheck) *krm.ComputeHTTPSHealthCheckSpec

func ComputeHTTPSHealthCheckSpec_v1beta1_ToProto added in v1.154.0

func ComputeHTTPSHealthCheckSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeHTTPSHealthCheckSpec) *pb.HealthCheck

func ComputeHTTPSHealthCheckStatus_v1beta1_FromProto added in v1.154.0

func ComputeHTTPSHealthCheckStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HealthCheck) *krm.ComputeHTTPSHealthCheckStatus

func ComputeHTTPSHealthCheckStatus_v1beta1_ToProto added in v1.154.0

func ComputeHTTPSHealthCheckStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeHTTPSHealthCheckStatus) *pb.HealthCheck

func ComputeHealthCheckSpec_v1beta1_FromProto added in v1.152.0

func ComputeHealthCheckSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HealthCheck) *krm.ComputeHealthCheckSpec

func ComputeHealthCheckSpec_v1beta1_ToProto added in v1.152.0

func ComputeHealthCheckSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeHealthCheckSpec) *pb.HealthCheck

func ComputeHealthCheckStatus_v1beta1_FromProto added in v1.152.0

func ComputeHealthCheckStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HealthCheck) *krm.ComputeHealthCheckStatus

func ComputeHealthCheckStatus_v1beta1_ToProto added in v1.152.0

func ComputeHealthCheckStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeHealthCheckStatus) *pb.HealthCheck

func ComputeImageRef_FromProto added in v1.154.0

func ComputeImageRef_FromProto(mapCtx *direct.MapContext, in string) *krm.ComputeImageRef

ComputeImageRef_FromProto maps an image string reference from pb to KRM ComputeImageRef.

func ComputeImageRef_ToProto added in v1.154.0

func ComputeImageRef_ToProto(mapCtx *direct.MapContext, in *krm.ComputeImageRef) *string

ComputeImageRef_ToProto maps a KRM ComputeImageRef to pb string reference.

func ComputeImageSpec_v1beta1_FromProto added in v1.154.0

func ComputeImageSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Image) *krm.ComputeImageSpec

ComputeImageSpec_v1beta1_FromProto maps a pb.Image to a krm.ComputeImageSpec. We hand-code this function because KRM has multiple resource reference fields (like diskRef, sourceImageRef, sourceSnapshotRef) that map to/from flat string fields in the proto definition, requiring custom reference parsing.

func ComputeImageSpec_v1beta1_ToProto added in v1.154.0

func ComputeImageSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeImageSpec) *pb.Image

ComputeImageSpec_v1beta1_ToProto maps a krm.ComputeImageSpec to a pb.Image. We hand-code this function because KRM has multiple resource reference fields (like diskRef, sourceImageRef, sourceSnapshotRef) that map to/from flat string fields in the proto definition, requiring custom reference parsing.

func ComputeImageStatus_v1beta1_FromProto added in v1.154.0

func ComputeImageStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Image) *krm.ComputeImageStatus

ComputeImageStatus_v1beta1_FromProto maps a pb.Image to a krm.ComputeImageStatus.

func ComputeImageStatus_v1beta1_ToProto added in v1.154.0

func ComputeImageStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeImageStatus) *pb.Image

ComputeImageStatus_v1beta1_ToProto maps a krm.ComputeImageStatus to a pb.Image.

func ComputeInstanceGroupManagerSpec_TargetPools_FromProto added in v1.154.0

func ComputeInstanceGroupManagerSpec_TargetPools_FromProto(mapCtx *direct.MapContext, in []string) []krm.ComputeTargetPoolRef

func ComputeInstanceGroupManagerSpec_TargetPools_ToProto added in v1.154.0

func ComputeInstanceGroupManagerSpec_TargetPools_ToProto(mapCtx *direct.MapContext, in []krm.ComputeTargetPoolRef) []string

func ComputeInstanceGroupManagerSpec_v1beta1_FromProto added in v1.154.0

func ComputeInstanceGroupManagerSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.InstanceGroupManager) *krm.ComputeInstanceGroupManagerSpec

func ComputeInstanceGroupManagerSpec_v1beta1_ToProto added in v1.154.0

func ComputeInstanceGroupManagerSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInstanceGroupManagerSpec) *pb.InstanceGroupManager

func ComputeInstanceGroupManagerStatus_v1beta1_FromProto added in v1.154.0

func ComputeInstanceGroupManagerStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.InstanceGroupManager) krm.ComputeInstanceGroupManagerStatus

func ComputeInstanceGroupManagerStatus_v1beta1_ToProto added in v1.154.0

func ComputeInstanceGroupManagerStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInstanceGroupManagerStatus) *pb.InstanceGroupManager

func ComputeInstanceGroupManager_v1beta1_FromProto added in v1.154.0

func ComputeInstanceGroupManager_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.InstanceGroupManager) *krm.ComputeInstanceGroupManager

func ComputeInstanceGroupManager_v1beta1_ToProto added in v1.154.0

func ComputeInstanceGroupManager_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInstanceGroupManager) *pb.InstanceGroupManager

func ComputeInstanceGroupSpec_v1beta1_FromProto added in v1.154.0

func ComputeInstanceGroupSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.InstanceGroup) *krm.ComputeInstanceGroupSpec

ComputeInstanceGroupSpec_v1beta1_FromProto is handcoded because the KRM's Zone field is a non-pointer string while the proto's Zone is a pointer string, and to skip generating it.

func ComputeInstanceGroupSpec_v1beta1_ToProto added in v1.154.0

func ComputeInstanceGroupSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInstanceGroupSpec) *pb.InstanceGroup

ComputeInstanceGroupSpec_v1beta1_ToProto is handcoded because the KRM's Zone field is a non-pointer string while the proto's Zone is a pointer string, and to skip generating it.

func ComputeInstanceGroupStatus_v1beta1_FromProto added in v1.154.0

func ComputeInstanceGroupStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.InstanceGroup) *krm.ComputeInstanceGroupStatus

func ComputeInstanceGroupStatus_v1beta1_ToProto added in v1.154.0

func ComputeInstanceGroupStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInstanceGroupStatus) *pb.InstanceGroup

func ComputeInstanceSpec_ResourcePolicies_FromProto added in v1.154.0

func ComputeInstanceSpec_ResourcePolicies_FromProto(mapCtx *direct.MapContext, in []string) []krm.InstanceResourceRef

func ComputeInstanceSpec_ResourcePolicies_ToProto added in v1.154.0

func ComputeInstanceSpec_ResourcePolicies_ToProto(mapCtx *direct.MapContext, in []krm.InstanceResourceRef) []string

func ComputeInstanceSpec_v1beta1_FromProto added in v1.154.0

func ComputeInstanceSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Instance) *krm.ComputeInstanceSpec

func ComputeInstanceSpec_v1beta1_ToProto added in v1.154.0

func ComputeInstanceSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInstanceSpec) *pb.Instance

func ComputeInstanceStatus_v1beta1_FromProto added in v1.154.0

func ComputeInstanceStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Instance) *krm.ComputeInstanceStatus

func ComputeInstanceStatus_v1beta1_ToProto added in v1.154.0

func ComputeInstanceStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInstanceStatus) *pb.Instance

func ComputeInterconnectAttachmentSpec_IpsecInternalAddresses_FromProto added in v1.154.0

func ComputeInterconnectAttachmentSpec_IpsecInternalAddresses_FromProto(mapCtx *direct.MapContext, in []string) []krm.ComputeAddressRef

func ComputeInterconnectAttachmentSpec_IpsecInternalAddresses_ToProto added in v1.154.0

func ComputeInterconnectAttachmentSpec_IpsecInternalAddresses_ToProto(mapCtx *direct.MapContext, in []krm.ComputeAddressRef) []string

func ComputeInterconnectAttachmentSpec_v1beta1_FromProto added in v1.154.0

func ComputeInterconnectAttachmentSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.InterconnectAttachment) *krm.ComputeInterconnectAttachmentSpec

func ComputeInterconnectAttachmentSpec_v1beta1_ToProto added in v1.154.0

func ComputeInterconnectAttachmentSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInterconnectAttachmentSpec) *pb.InterconnectAttachment

func ComputeInterconnectAttachmentStatus_v1beta1_FromProto added in v1.154.0

func ComputeInterconnectAttachmentStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.InterconnectAttachment) *krm.ComputeInterconnectAttachmentStatus

func ComputeInterconnectAttachmentStatus_v1beta1_ToProto added in v1.154.0

func ComputeInterconnectAttachmentStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInterconnectAttachmentStatus) *pb.InterconnectAttachment

func ComputeInterconnectObservedState_v1alpha1_FromProto added in v1.143.0

func ComputeInterconnectObservedState_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.Interconnect) *krm.ComputeInterconnectObservedState

func ComputeInterconnectObservedState_v1alpha1_ToProto added in v1.143.0

func ComputeInterconnectObservedState_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInterconnectObservedState) *pb.Interconnect

func ComputeInterconnectSpec_v1alpha1_FromProto added in v1.143.0

func ComputeInterconnectSpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.Interconnect) *krm.ComputeInterconnectSpec

func ComputeInterconnectSpec_v1alpha1_ToProto added in v1.143.0

func ComputeInterconnectSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeInterconnectSpec) *pb.Interconnect

func ComputeMachineImageSpec_v1alpha1_FromProto added in v1.154.0

func ComputeMachineImageSpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.MachineImage) *krmcomputev1alpha1.ComputeMachineImageSpec

found existing non-generated mapping function "ComputeInterconnectSpec_v1alpha1_ToProto", skipping

func ComputeInterconnectSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeInterconnectSpec) *pb.Interconnect {
	if in == nil {
		return nil
	}
	out := &pb.Interconnect{}
	// MISSING: AaiEnabled
	out.AdminEnabled = in.AdminEnabled
	// MISSING: ApplicationAwareInterconnect
	out.CustomerName = in.CustomerName
	out.Description = in.Description
	// MISSING: InterconnectGroups
	out.InterconnectType = in.InterconnectType
	out.LabelFingerprint = in.LabelFingerprint
	out.Labels = in.Labels
	out.LinkType = in.LinkType
	out.Location = in.Location
	out.Macsec = InterconnectMacsec_v1alpha1_ToProto(mapCtx, in.Macsec)
	out.MacsecEnabled = in.MacsecEnabled
	// MISSING: Name
	out.NocContactEmail = in.NocContactEmail
	out.RemoteLocation = in.RemoteLocation
	out.RequestedFeatures = in.RequestedFeatures
	out.RequestedLinkCount = in.RequestedLinkCount
	return out
}

func ComputeMachineImageSpec_v1alpha1_ToProto added in v1.154.0

func ComputeMachineImageSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeMachineImageSpec) *pb.MachineImage

func ComputeMachineImageStatus_v1alpha1_FromProto added in v1.154.0

func ComputeMachineImageStatus_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.MachineImage) *krmcomputev1alpha1.ComputeMachineImageStatus

func ComputeMachineImageStatus_v1alpha1_ToProto added in v1.154.0

func ComputeMachineImageStatus_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeMachineImageStatus) *pb.MachineImage

func ComputeNetworkAttachmentObservedState_v1alpha1_FromProto added in v1.143.0

func ComputeNetworkAttachmentObservedState_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkAttachment) *krm.ComputeNetworkAttachmentObservedState

func ComputeNetworkAttachmentObservedState_v1alpha1_ToProto added in v1.143.0

func ComputeNetworkAttachmentObservedState_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkAttachmentObservedState) *pb.NetworkAttachment

func ComputeNetworkAttachmentSpec_v1alpha1_FromProto added in v1.143.0

func ComputeNetworkAttachmentSpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkAttachment) *krm.ComputeNetworkAttachmentSpec

func ComputeNetworkAttachmentSpec_v1alpha1_ToProto added in v1.143.0

func ComputeNetworkAttachmentSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkAttachmentSpec) *pb.NetworkAttachment

func ComputeNetworkEdgeSecurityServiceObservedState_v1alpha1_FromProto added in v1.143.0

func ComputeNetworkEdgeSecurityServiceObservedState_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkEdgeSecurityService) *krm.ComputeNetworkEdgeSecurityServiceObservedState

func ComputeNetworkEdgeSecurityServiceObservedState_v1alpha1_ToProto added in v1.143.0

func ComputeNetworkEdgeSecurityServiceObservedState_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkEdgeSecurityServiceObservedState) *pb.NetworkEdgeSecurityService

func ComputeNetworkEdgeSecurityServiceSpec_v1alpha1_FromProto added in v1.143.0

func ComputeNetworkEdgeSecurityServiceSpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkEdgeSecurityService) *krm.ComputeNetworkEdgeSecurityServiceSpec

func ComputeNetworkEdgeSecurityServiceSpec_v1alpha1_ToProto added in v1.143.0

func ComputeNetworkEdgeSecurityServiceSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkEdgeSecurityServiceSpec) *pb.NetworkEdgeSecurityService

func ComputeNetworkEndpointGroupSpec_v1beta1_FromProto added in v1.154.0

func ComputeNetworkEndpointGroupSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkEndpointGroup) *krm.ComputeNetworkEndpointGroupSpec

func ComputeNetworkEndpointGroupSpec_v1beta1_ToProto added in v1.154.0

func ComputeNetworkEndpointGroupSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkEndpointGroupSpec) *pb.NetworkEndpointGroup

func ComputeNetworkEndpointGroupStatus_v1beta1_FromProto added in v1.154.0

func ComputeNetworkEndpointGroupStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkEndpointGroup) *krm.ComputeNetworkEndpointGroupStatus

func ComputeNetworkEndpointGroupStatus_v1beta1_ToProto added in v1.154.0

func ComputeNetworkEndpointGroupStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkEndpointGroupStatus) *pb.NetworkEndpointGroup

func ComputeNetworkEndpointSpec_v1alpha1_FromProto added in v1.154.0

func ComputeNetworkEndpointSpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkEndpoint) *krmcomputev1alpha1.ComputeNetworkEndpointSpec

func ComputeNetworkEndpointSpec_v1alpha1_ToProto added in v1.154.0

func ComputeNetworkEndpointSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeNetworkEndpointSpec) *pb.NetworkEndpoint

func ComputeNetworkEndpointStatus_v1alpha1_FromProto added in v1.154.0

func ComputeNetworkEndpointStatus_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkEndpoint) *krmcomputev1alpha1.ComputeNetworkEndpointStatus

func ComputeNetworkEndpointStatus_v1alpha1_ToProto added in v1.154.0

func ComputeNetworkEndpointStatus_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeNetworkEndpointStatus) *pb.NetworkEndpoint

func ComputeNetworkFirewallPolicySpec_v1beta1_FromProto added in v1.154.0

func ComputeNetworkFirewallPolicySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicy) *krm.ComputeNetworkFirewallPolicySpec

func ComputeNetworkFirewallPolicySpec_v1beta1_ToProto added in v1.154.0

func ComputeNetworkFirewallPolicySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkFirewallPolicySpec) *pb.FirewallPolicy

func ComputeNetworkFirewallPolicyStatus_v1beta1_FromProto added in v1.154.0

func ComputeNetworkFirewallPolicyStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicy) *krm.ComputeNetworkFirewallPolicyStatus

ComputeNetworkFirewallPolicyStatus_v1beta1_FromProto is handcoded because status fields are mapped directly to status (rather than a nested observedState object) for strict schema compatibility. It also handles type conversion between protobuf uint64/int32 and KRM string/int64.

func ComputeNetworkFirewallPolicyStatus_v1beta1_ToProto added in v1.154.0

func ComputeNetworkFirewallPolicyStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkFirewallPolicyStatus) *pb.FirewallPolicy

ComputeNetworkFirewallPolicyStatus_v1beta1_ToProto is handcoded because status fields are mapped directly to status (rather than a nested observedState object) for strict schema compatibility. It also handles type conversion between KRM string/int64 and protobuf uint64/int32.

func ComputeNetworkFirewallPolicy_v1beta1_FromProto added in v1.154.0

func ComputeNetworkFirewallPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicy) *krm.ComputeNetworkFirewallPolicy

found existing non-generated mapping function "ComputeNetworkEndpointSpec_v1alpha1_ToProto", skipping

func ComputeNetworkEndpointSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeNetworkEndpointSpec) *pb.NetworkEndpoint {
	if in == nil {
		return nil
	}
	out := &pb.NetworkEndpoint{}
	// MISSING: Annotations
	// MISSING: ClientDestinationPort
	// MISSING: FQDN
	if in.InstanceRef != nil {
		out.Instance = &in.InstanceRef.External
	}
	// MISSING: IPAddress
	// (near miss): "IPAddress" vs "IpAddress"
	// MISSING: IPV6Address
	// MISSING: Port
	return out
}

func ComputeNetworkFirewallPolicy_v1beta1_ToProto added in v1.154.0

func ComputeNetworkFirewallPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkFirewallPolicy) *pb.FirewallPolicy

func ComputeNetworkPeeringSpec_v1beta1_FromProto added in v1.154.0

func ComputeNetworkPeeringSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkPeering) *krm.ComputeNetworkPeeringSpec

func ComputeNetworkPeeringSpec_v1beta1_ToProto added in v1.154.0

func ComputeNetworkPeeringSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkPeeringSpec) *pb.NetworkPeering

func ComputeNetworkPeeringStatus_v1beta1_FromProto added in v1.154.0

func ComputeNetworkPeeringStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkPeering) *krm.ComputeNetworkPeeringStatus

func ComputeNetworkPeeringStatus_v1beta1_ToProto added in v1.154.0

func ComputeNetworkPeeringStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkPeeringStatus) *pb.NetworkPeering

func ComputeNetworkSpec_v1beta1_FromProto added in v1.153.0

func ComputeNetworkSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Network) *krm.ComputeNetworkSpec

func ComputeNetworkSpec_v1beta1_ToProto added in v1.153.0

func ComputeNetworkSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkSpec) *pb.Network

func ComputeNetworkStatus_v1beta1_FromProto added in v1.153.0

func ComputeNetworkStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Network) *krm.ComputeNetworkStatus

func ComputeNetworkStatus_v1beta1_ToProto added in v1.153.0

func ComputeNetworkStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNetworkStatus) *pb.Network

func ComputeNodeGroupSpec_v1beta1_FromProto added in v1.153.0

func ComputeNodeGroupSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NodeGroup) *krm.ComputeNodeGroupSpec

func ComputeNodeGroupSpec_v1beta1_ToProto added in v1.153.0

func ComputeNodeGroupSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNodeGroupSpec) *pb.NodeGroup

func ComputeNodeGroupStatus_v1beta1_FromProto added in v1.153.0

func ComputeNodeGroupStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NodeGroup) *krm.ComputeNodeGroupStatus

func ComputeNodeGroupStatus_v1beta1_ToProto added in v1.153.0

func ComputeNodeGroupStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNodeGroupStatus) *pb.NodeGroup

func ComputeNodeTemplateSpec_v1beta1_FromProto added in v1.149.1

func ComputeNodeTemplateSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NodeTemplate) *krm.ComputeNodeTemplateSpec

found existing non-generated mapping function "ComputeNodeGroupSpec_v1beta1_ToProto", skipping

func ComputeNodeGroupSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNodeGroupSpec) *pb.NodeGroup {
	if in == nil {
		return nil
	}
	out := &pb.NodeGroup{}
	out.AutoscalingPolicy = NodeGroupAutoscalingPolicy_v1beta1_ToProto(mapCtx, in.AutoscalingPolicy)
	// MISSING: CreationTimestamp
	out.Description = in.Description
	// MISSING: Fingerprint
	// MISSING: ID
	// MISSING: Kind
	// MISSING: LocationHint
	// MISSING: MaintenanceInterval
	out.MaintenancePolicy = in.MaintenancePolicy
	out.MaintenanceWindow = NodeGroupMaintenanceWindow_v1beta1_ToProto(mapCtx, in.MaintenanceWindow)
	// MISSING: Name
	if in.NodeTemplateRef != nil {
		out.NodeTemplate = &in.NodeTemplateRef.External
	}
	// MISSING: SelfLink
	out.ShareSettings = NodeGroupShareSettings_v1beta1_ToProto(mapCtx, in.ShareSettings)
	out.Size = in.Size
	// MISSING: Status
	out.Zone = in.Zone
	return out
}

func ComputeNodeTemplateSpec_v1beta1_ToProto added in v1.149.1

func ComputeNodeTemplateSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNodeTemplateSpec) *pb.NodeTemplate

func ComputeNodeTemplateStatus_v1beta1_FromProto added in v1.149.1

func ComputeNodeTemplateStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NodeTemplate) *krm.ComputeNodeTemplateStatus

func ComputeNodeTemplateStatus_v1beta1_ToProto added in v1.149.1

func ComputeNodeTemplateStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeNodeTemplateStatus) *pb.NodeTemplate

func ComputeOrganizationSecurityPolicySpec_v1alpha1_FromProto added in v1.154.0

func ComputeOrganizationSecurityPolicySpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicy) *krmcomputev1alpha1.ComputeOrganizationSecurityPolicySpec

ComputeOrganizationSecurityPolicySpec_v1alpha1_FromProto converts a v1.SecurityPolicy proto to a v1alpha1.ComputeOrganizationSecurityPolicySpec. We hand-code this function because KRM displayName and parent map to proto ShortName and Parent.

func ComputeOrganizationSecurityPolicySpec_v1alpha1_ToProto added in v1.154.0

func ComputeOrganizationSecurityPolicySpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeOrganizationSecurityPolicySpec) *pb.SecurityPolicy

ComputeOrganizationSecurityPolicySpec_v1alpha1_ToProto converts a v1alpha1.ComputeOrganizationSecurityPolicySpec to a v1.SecurityPolicy proto. We hand-code this function because KRM displayName and parent map to proto ShortName and Parent.

func ComputeOrganizationSecurityPolicyStatus_v1alpha1_FromProto added in v1.154.0

func ComputeOrganizationSecurityPolicyStatus_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicy) *krmcomputev1alpha1.ComputeOrganizationSecurityPolicyStatus

ComputeOrganizationSecurityPolicyStatus_v1alpha1_FromProto converts a v1.SecurityPolicy proto to a v1alpha1.ComputeOrganizationSecurityPolicyStatus. We hand-code this function because policyId maps to Id (which requires string to uint64 conversion).

func ComputeOrganizationSecurityPolicyStatus_v1alpha1_ToProto added in v1.154.0

func ComputeOrganizationSecurityPolicyStatus_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeOrganizationSecurityPolicyStatus) *pb.SecurityPolicy

ComputeOrganizationSecurityPolicyStatus_v1alpha1_ToProto converts a v1alpha1.ComputeOrganizationSecurityPolicyStatus to a v1.SecurityPolicy proto. We hand-code this function because policyId maps to Id (which requires string to uint64 conversion).

func ComputePacketMirroringSpec_v1beta1_FromProto added in v1.154.0

func ComputePacketMirroringSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PacketMirroring) *krm.ComputePacketMirroringSpec

func ComputePacketMirroringSpec_v1beta1_ToProto added in v1.154.0

func ComputePacketMirroringSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputePacketMirroringSpec) *pb.PacketMirroring

func ComputePacketMirroringStatus_v1beta1_FromProto added in v1.154.0

func ComputePacketMirroringStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PacketMirroring) *krm.ComputePacketMirroringStatus

func ComputePacketMirroringStatus_v1beta1_ToProto added in v1.154.0

func ComputePacketMirroringStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputePacketMirroringStatus) *pb.PacketMirroring

func ComputeProjectMetadataSpec_FromProto added in v1.154.0

func ComputeProjectMetadataSpec_FromProto(mapCtx *direct.MapContext, in *pb.Metadata) *krm.ComputeProjectMetadataSpec

func ComputeProjectMetadataSpec_ToProto added in v1.154.0

func ComputeProjectMetadataSpec_ToProto(mapCtx *direct.MapContext, in *krm.ComputeProjectMetadataSpec) *pb.Metadata

func ComputeProjectMetadataStatus_FromProto added in v1.154.0

func ComputeProjectMetadataStatus_FromProto(mapCtx *direct.MapContext, in *pb.Metadata) *krm.ComputeProjectMetadataStatus

func ComputeProjectMetadataStatus_ToProto added in v1.154.0

func ComputeProjectMetadataStatus_ToProto(mapCtx *direct.MapContext, in *krm.ComputeProjectMetadataStatus) *pb.Metadata

func ComputeRegionAutoscalerSpec_v1alpha1_FromProto added in v1.154.0

func ComputeRegionAutoscalerSpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.Autoscaler) *krm.ComputeRegionAutoscalerSpec

ComputeRegionAutoscalerSpec_v1alpha1_FromProto maps a pb.Autoscaler to a krm.ComputeRegionAutoscalerSpec.

func ComputeRegionAutoscalerSpec_v1alpha1_ToProto added in v1.154.0

func ComputeRegionAutoscalerSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRegionAutoscalerSpec) *pb.Autoscaler

ComputeRegionAutoscalerSpec_v1alpha1_ToProto maps a krm.ComputeRegionAutoscalerSpec to a pb.Autoscaler.

func ComputeRegionAutoscalerStatus_v1alpha1_FromProto added in v1.154.0

func ComputeRegionAutoscalerStatus_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.Autoscaler) *krm.ComputeRegionAutoscalerStatus

ComputeRegionAutoscalerStatus_v1alpha1_FromProto maps a pb.Autoscaler to a krm.ComputeRegionAutoscalerStatus.

func ComputeRegionAutoscalerStatus_v1alpha1_ToProto added in v1.154.0

func ComputeRegionAutoscalerStatus_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRegionAutoscalerStatus) *pb.Autoscaler

ComputeRegionAutoscalerStatus_v1alpha1_ToProto maps a krm.ComputeRegionAutoscalerStatus to a pb.Autoscaler.

func ComputeRegionPerInstanceConfigSpec_v1alpha1_FromProto added in v1.154.0

func ComputeRegionPerInstanceConfigSpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.PerInstanceConfig) *krmcomputev1alpha1.ComputeRegionPerInstanceConfigSpec

found existing non-generated mapping function "ComputeRegionAutoscalerSpec_v1alpha1_ToProto", skipping

func ComputeRegionAutoscalerSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeRegionAutoscalerSpec) *pb.Autoscaler {
	if in == nil {
		return nil
	}
	out := &pb.Autoscaler{}
	out.AutoscalingPolicy = RegionautoscalerAutoscalingPolicy_v1alpha1_ToProto(mapCtx, in.AutoscalingPolicy)
	// MISSING: CreationTimestamp
	out.Description = in.Description
	// MISSING: ID
	// MISSING: Kind
	// MISSING: Name
	// MISSING: RecommendedSize
	out.Region = in.Region
	// MISSING: ScalingScheduleStatus
	// MISSING: SelfLink
	// MISSING: Status
	// MISSING: StatusDetails
	out.Target = in.Target
	// MISSING: Zone
	return out
}

func ComputeRegionPerInstanceConfigSpec_v1alpha1_ToProto added in v1.154.0

func ComputeRegionPerInstanceConfigSpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeRegionPerInstanceConfigSpec) *pb.PerInstanceConfig

func ComputeRegionSSLPolicySpec_v1alpha1_FromProto added in v1.154.0

func ComputeRegionSSLPolicySpec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.SslPolicy) *krm.ComputeRegionSSLPolicySpec

ComputeRegionSSLPolicySpec_v1alpha1_FromProto maps SslPolicy proto to ComputeRegionSSLPolicySpec. This function is handcoded because the proto field 'region' is an optional *string (pointer) while the KRM field 'Region' is a required/immutable string (non-pointer).

func ComputeRegionSSLPolicySpec_v1alpha1_ToProto added in v1.154.0

func ComputeRegionSSLPolicySpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRegionSSLPolicySpec) *pb.SslPolicy

ComputeRegionSSLPolicySpec_v1alpha1_ToProto maps ComputeRegionSSLPolicySpec to SslPolicy proto. This function is handcoded because the proto field 'region' is an optional *string (pointer) while the KRM field 'Region' is a required/immutable string (non-pointer).

func ComputeRegionSSLPolicyStatus_v1alpha1_FromProto added in v1.154.0

func ComputeRegionSSLPolicyStatus_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.SslPolicy) *krm.ComputeRegionSSLPolicyStatus

ComputeRegionSSLPolicyStatus_v1alpha1_FromProto maps SslPolicy proto to ComputeRegionSSLPolicyStatus. This function is handcoded to map the output-only status fields directly from the SslPolicy proto.

func ComputeRegionSSLPolicyStatus_v1alpha1_ToProto added in v1.154.0

func ComputeRegionSSLPolicyStatus_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRegionSSLPolicyStatus) *pb.SslPolicy

ComputeRegionSSLPolicyStatus_v1alpha1_ToProto maps ComputeRegionSSLPolicyStatus to SslPolicy proto. This function is handcoded to map the output-only status fields directly to the SslPolicy proto.

func ComputeReservationSpec_v1beta1_FromProto added in v1.151.0

func ComputeReservationSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Reservation) *krm.ComputeReservationSpec

found existing non-generated mapping function "ComputeRegionSSLPolicySpec_v1alpha1_ToProto", skipping

func ComputeRegionSSLPolicySpec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ComputeRegionSSLPolicySpec) *pb.SslPolicy {
	if in == nil {
		return nil
	}
	out := &pb.SslPolicy{}
	// MISSING: CreationTimestamp
	out.CustomFeatures = in.CustomFeatures
	out.Description = in.Description
	// MISSING: EnabledFeatures
	// MISSING: Fingerprint
	// MISSING: ID
	// MISSING: Kind
	out.MinTlsVersion = in.MinTLSVersion
	// MISSING: Name
	out.Profile = in.Profile
	out.Region = in.Region
	// MISSING: SelfLink
	// MISSING: Warnings
	return out
}

func ComputeReservationSpec_v1beta1_ToProto added in v1.151.0

func ComputeReservationSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeReservationSpec) *pb.Reservation

func ComputeReservationStatus_v1beta1_FromProto added in v1.152.0

func ComputeReservationStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Reservation) *krm.ComputeReservationStatus

func ComputeReservationStatus_v1beta1_ToProto added in v1.152.0

func ComputeReservationStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeReservationStatus) *pb.Reservation

func ComputeResourcePolicyObservedState_v1beta1_FromProto added in v1.149.1

func ComputeResourcePolicyObservedState_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ResourcePolicy) *krm.ComputeResourcePolicyObservedState

func ComputeResourcePolicyObservedState_v1beta1_ToProto added in v1.149.1

func ComputeResourcePolicyObservedState_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeResourcePolicyObservedState) *pb.ResourcePolicy

func ComputeResourcePolicySpec_v1beta1_FromProto added in v1.149.1

func ComputeResourcePolicySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ResourcePolicy) *krm.ComputeResourcePolicySpec

func ComputeResourcePolicySpec_v1beta1_ToProto added in v1.149.1

func ComputeResourcePolicySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeResourcePolicySpec) *pb.ResourcePolicy

func ComputeRouteSpec_v1beta1_FromProto added in v1.154.0

func ComputeRouteSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Route) *krm.ComputeRouteSpec

func ComputeRouteSpec_v1beta1_ToProto added in v1.154.0

func ComputeRouteSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRouteSpec) *pb.Route

func ComputeRouteStatus_v1beta1_FromProto added in v1.154.0

func ComputeRouteStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Route) *krm.ComputeRouteStatus

func ComputeRouteStatus_v1beta1_ToProto added in v1.154.0

func ComputeRouteStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRouteStatus) *pb.Route

func ComputeRouterInterfaceSpec_v1beta1_FromProto added in v1.154.0

func ComputeRouterInterfaceSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.RouterInterface) *krm.ComputeRouterInterfaceSpec

ComputeRouterInterfaceSpec_v1beta1_FromProto maps a pb.RouterInterface to a krm.ComputeRouterInterfaceSpec. We hand-code this function because custom reference types (like InterconnectAttachmentRef, PrivateIPAddressRef, etc.) require non-standard mapping logic that does not match 1:1 with field names.

func ComputeRouterInterfaceSpec_v1beta1_ToProto added in v1.154.0

func ComputeRouterInterfaceSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRouterInterfaceSpec) *pb.RouterInterface

ComputeRouterInterfaceSpec_v1beta1_ToProto maps a krm.ComputeRouterInterfaceSpec to a pb.RouterInterface. We hand-code this function because custom reference types (like InterconnectAttachmentRef, PrivateIPAddressRef, etc.) require non-standard mapping logic that does not match 1:1 with field names.

func ComputeRouterNATSpec_v1beta1_FromProto added in v1.154.0

func ComputeRouterNATSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.RouterNat) *krm.ComputeRouterNATSpec

ComputeRouterNATSpec_v1beta1_FromProto maps a pb.RouterNat to a krm.ComputeRouterNATSpec

func ComputeRouterNATSpec_v1beta1_ToProto added in v1.154.0

func ComputeRouterNATSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRouterNATSpec) *pb.RouterNat

ComputeRouterNATSpec_v1beta1_ToProto maps a krm.ComputeRouterNATSpec to a pb.RouterNat

func ComputeRouterRef_FromProto added in v1.154.0

func ComputeRouterRef_FromProto(mapCtx *direct.MapContext, in *string) krm.ComputeRouterRef

func ComputeRouterRef_ToProto added in v1.154.0

func ComputeRouterRef_ToProto(mapCtx *direct.MapContext, in krm.ComputeRouterRef) *string

func ComputeRouterSpec_v1beta1_FromProto added in v1.154.0

func ComputeRouterSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Router) *krm.ComputeRouterSpec

ComputeRouterSpec_v1beta1_FromProto maps a pb.Router to a krm.ComputeRouterSpec This is handcoded because NetworkRef is a non-pointer struct and Region has type differences.

func ComputeRouterSpec_v1beta1_ToProto added in v1.154.0

func ComputeRouterSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRouterSpec) *pb.Router

ComputeRouterSpec_v1beta1_ToProto maps a krm.ComputeRouterSpec to a pb.Router This is handcoded because NetworkRef is a non-pointer struct and Region has type differences.

func ComputeRouterStatus_v1beta1_FromProto added in v1.154.0

func ComputeRouterStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Router) *krm.ComputeRouterStatus

found existing non-generated mapping function "ComputeRouterSpec_v1beta1_ToProto", skipping

func ComputeRouterSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRouterSpec) *pb.Router {
	if in == nil {
		return nil
	}
	out := &pb.Router{}
	out.Bgp = RouterBGP_v1beta1_ToProto(mapCtx, in.BGP)
	// MISSING: BGPPeers
	// MISSING: CreationTimestamp
	out.Description = in.Description
	out.EncryptedInterconnectRouter = in.EncryptedInterconnectRouter
	// MISSING: ID
	// MISSING: Interfaces
	// MISSING: Kind
	// MISSING: Md5AuthenticationKeys
	// MISSING: Name
	// MISSING: Nats
	if in.NetworkRef != nil {
		out.Network = &in.NetworkRef.External
	}
	out.Region = in.Region
	// MISSING: SelfLink
	return out
}

func ComputeRouterStatus_v1beta1_ToProto added in v1.154.0

func ComputeRouterStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeRouterStatus) *pb.Router

func ComputeSSLCertificateSpec_v1beta1_FromProto added in v1.154.0

func ComputeSSLCertificateSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SslCertificate) *krm.ComputeSSLCertificateSpec

ComputeSSLCertificateSpec_v1beta1_FromProto maps a protobuf SslCertificate to its KRM ComputeSSLCertificateSpec representation. This is hand-coded because Certificate and PrivateKey fields are modeled as SecretKeyRefs in KRM but are represented as string pointers in the Compute API protobuf.

func ComputeSSLCertificateSpec_v1beta1_ToProto added in v1.154.0

func ComputeSSLCertificateSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSSLCertificateSpec) *pb.SslCertificate

ComputeSSLCertificateSpec_v1beta1_ToProto maps a KRM ComputeSSLCertificateSpec to its protobuf representation. This is hand-coded because Certificate and PrivateKey fields are modeled as SecretKeyRefs in KRM but are represented as string pointers in the Compute API protobuf.

func ComputeSSLCertificateStatus_v1beta1_FromProto added in v1.154.0

func ComputeSSLCertificateStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SslCertificate) *krm.ComputeSSLCertificateStatus

ComputeSSLCertificateStatus_v1beta1_FromProto maps a protobuf SslCertificate to its KRM ComputeSSLCertificateStatus representation.

func ComputeSSLCertificateStatus_v1beta1_ToProto added in v1.154.0

func ComputeSSLCertificateStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSSLCertificateStatus) *pb.SslCertificate

ComputeSSLCertificateStatus_v1beta1_ToProto maps a KRM ComputeSSLCertificateStatus to its protobuf representation.

func ComputeSSLPolicySpec_v1beta1_FromProto added in v1.154.0

func ComputeSSLPolicySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SslPolicy) *krm.ComputeSSLPolicySpec

func ComputeSSLPolicySpec_v1beta1_ToProto added in v1.154.0

func ComputeSSLPolicySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSSLPolicySpec) *pb.SslPolicy

func ComputeSSLPolicyStatus_v1beta1_FromProto added in v1.154.0

func ComputeSSLPolicyStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SslPolicy) *krm.ComputeSSLPolicyStatus

func ComputeSSLPolicyStatus_v1beta1_ToProto added in v1.154.0

func ComputeSSLPolicyStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSSLPolicyStatus) *pb.SslPolicy

func ComputeSecurityPolicyObservedState_v1beta1_FromProto added in v1.145.0

func ComputeSecurityPolicyObservedState_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicy) *krm.ComputeSecurityPolicyObservedState

found existing non-generated mapping function "ComputeSSLPolicyStatus_v1beta1_ToProto", skipping

func ComputeSSLPolicyStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSSLPolicyStatus) *pb.SslPolicy {
	if in == nil {
		return nil
	}
	out := &pb.SslPolicy{}
	out.CreationTimestamp = in.CreationTimestamp
	// MISSING: CustomFeatures
	// MISSING: Description
	out.EnabledFeatures = in.EnabledFeatures
	out.Fingerprint = in.Fingerprint
	// MISSING: ID
	// MISSING: Kind
	// MISSING: MinTLSVersion
	// MISSING: Name
	// MISSING: Profile
	// MISSING: Region
	out.SelfLink = in.SelfLink
	// MISSING: Warnings
	return out
}

func ComputeSecurityPolicyObservedState_v1beta1_ToProto added in v1.145.0

func ComputeSecurityPolicyObservedState_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSecurityPolicyObservedState) *pb.SecurityPolicy

func ComputeSecurityPolicySpec_v1beta1_FromProto added in v1.145.0

func ComputeSecurityPolicySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicy) *krm.ComputeSecurityPolicySpec

func ComputeSecurityPolicySpec_v1beta1_ToProto added in v1.145.0

func ComputeSecurityPolicySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSecurityPolicySpec) *pb.SecurityPolicy

func ComputeSecurityPolicyStatus_v1beta1_FromProto added in v1.154.0

func ComputeSecurityPolicyStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicy) *krm.ComputeSecurityPolicyStatus

func ComputeServiceAttachmentSpec_ConsumerRejectLists_FromProto added in v1.154.0

func ComputeServiceAttachmentSpec_ConsumerRejectLists_FromProto(mapCtx *direct.MapContext, in []string) []refs.ProjectRef

func ComputeServiceAttachmentSpec_ConsumerRejectLists_ToProto added in v1.154.0

func ComputeServiceAttachmentSpec_ConsumerRejectLists_ToProto(mapCtx *direct.MapContext, in []refs.ProjectRef) []string

func ComputeServiceAttachmentSpec_NatSubnets_FromProto added in v1.154.0

func ComputeServiceAttachmentSpec_NatSubnets_FromProto(mapCtx *direct.MapContext, in []string) []krm.ComputeSubnetworkRef

func ComputeServiceAttachmentSpec_NatSubnets_ToProto added in v1.154.0

func ComputeServiceAttachmentSpec_NatSubnets_ToProto(mapCtx *direct.MapContext, in []krm.ComputeSubnetworkRef) []string

func ComputeServiceAttachmentSpec_v1beta1_FromProto added in v1.154.0

func ComputeServiceAttachmentSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ServiceAttachment) *krm.ComputeServiceAttachmentSpec

func ComputeServiceAttachmentSpec_v1beta1_ToProto added in v1.154.0

func ComputeServiceAttachmentSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeServiceAttachmentSpec) *pb.ServiceAttachment

func ComputeServiceAttachmentStatus_v1beta1_FromProto added in v1.154.0

func ComputeServiceAttachmentStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ServiceAttachment) *krm.ComputeServiceAttachmentStatus

func ComputeServiceAttachmentStatus_v1beta1_ToProto added in v1.154.0

func ComputeServiceAttachmentStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeServiceAttachmentStatus) *pb.ServiceAttachment

func ComputeSnapshotRef_FromProto added in v1.154.0

func ComputeSnapshotRef_FromProto(mapCtx *direct.MapContext, in string) *krm.ComputeSnapshotRef

ComputeSnapshotRef_FromProto maps a snapshot string reference from pb to KRM ComputeSnapshotRef.

func ComputeSnapshotRef_ToProto added in v1.154.0

func ComputeSnapshotRef_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSnapshotRef) *string

ComputeSnapshotRef_ToProto maps a KRM ComputeSnapshotRef to pb string reference.

func ComputeSnapshotSpec_v1beta1_FromProto added in v1.154.0

func ComputeSnapshotSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Snapshot) *krm.ComputeSnapshotSpec

found existing non-generated mapping function "ComputeServiceAttachmentStatus_v1beta1_ToProto", skipping

func ComputeServiceAttachmentStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeServiceAttachmentStatus) *pb.ServiceAttachment {
	if in == nil {
		return nil
	}
	out := &pb.ServiceAttachment{}
	out.ConnectedEndpoints = direct.Slice_ToProto(mapCtx, in.ConnectedEndpoints, ServiceattachmentConnectedEndpointsStatus_v1beta1_ToProto)
	// MISSING: ConnectionPreference
	// MISSING: ConsumerAcceptLists
	// MISSING: ConsumerRejectLists
	// MISSING: CreationTimestamp
	// MISSING: Description
	// MISSING: DomainNames
	// MISSING: EnableProxyProtocol
	out.Fingerprint = in.Fingerprint
	// MISSING: ID
	// (near miss): "ID" vs "Id"
	// MISSING: Kind
	// MISSING: Metadata
	// MISSING: Name
	// MISSING: NATSubnets
	// MISSING: ProducerForwardingRule
	// MISSING: PropagatedConnectionLimit
	// MISSING: PSCServiceAttachmentID
	// (near miss): "PSCServiceAttachmentID" vs "PscServiceAttachmentId"
	// MISSING: ReconcileConnections
	out.Region = in.Region
	out.SelfLink = in.SelfLink
	// MISSING: TargetService
	return out
}

func ComputeSnapshotSpec_v1beta1_ToProto added in v1.154.0

func ComputeSnapshotSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSnapshotSpec) *pb.Snapshot

func ComputeSnapshotStatus_v1beta1_FromProto added in v1.154.0

func ComputeSnapshotStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Snapshot) *krm.ComputeSnapshotStatus

func ComputeSnapshotStatus_v1beta1_ToProto added in v1.154.0

func ComputeSnapshotStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSnapshotStatus) *pb.Snapshot

func ComputeSubnetworkSpec_v1beta1_FromProto added in v1.143.0

func ComputeSubnetworkSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Subnetwork) *krm.ComputeSubnetworkSpec

func ComputeSubnetworkSpec_v1beta1_ToProto added in v1.143.0

func ComputeSubnetworkSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSubnetworkSpec) *pb.Subnetwork

func ComputeSubnetworkStatus_v1beta1_FromProto added in v1.143.0

func ComputeSubnetworkStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Subnetwork) *krm.ComputeSubnetworkStatus

func ComputeSubnetworkStatus_v1beta1_ToProto added in v1.143.0

func ComputeSubnetworkStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeSubnetworkStatus) *pb.Subnetwork

func ComputeTargetGRPCProxySpec_v1beta1_FromProto added in v1.154.0

func ComputeTargetGRPCProxySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetGrpcProxy) *krm.ComputeTargetGRPCProxySpec

func ComputeTargetGRPCProxySpec_v1beta1_ToProto added in v1.154.0

func ComputeTargetGRPCProxySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetGRPCProxySpec) *pb.TargetGrpcProxy

func ComputeTargetGRPCProxyStatus_v1beta1_FromProto added in v1.154.0

func ComputeTargetGRPCProxyStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetGrpcProxy) *krm.ComputeTargetGRPCProxyStatus

func ComputeTargetGRPCProxyStatus_v1beta1_ToProto added in v1.154.0

func ComputeTargetGRPCProxyStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetGRPCProxyStatus) *pb.TargetGrpcProxy

func ComputeTargetHTTPProxySpec_v1beta1_FromProto added in v1.154.0

func ComputeTargetHTTPProxySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetHttpProxy) *krm.ComputeTargetHTTPProxySpec

ComputeTargetHTTPProxySpec_v1beta1_FromProto converts a Proto message to a KRM Spec. This is handcoded because of UrlMapRef external resolution and HttpKeepAliveTimeoutSec type conversion.

func ComputeTargetHTTPProxySpec_v1beta1_ToProto added in v1.154.0

func ComputeTargetHTTPProxySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetHTTPProxySpec) *pb.TargetHttpProxy

ComputeTargetHTTPProxySpec_v1beta1_ToProto converts a KRM Spec to a Proto message. This is handcoded because of UrlMapRef external resolution and HttpKeepAliveTimeoutSec type conversion.

func ComputeTargetHTTPProxyStatus_v1beta1_FromProto added in v1.154.0

func ComputeTargetHTTPProxyStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetHttpProxy) *krm.ComputeTargetHTTPProxyStatus

ComputeTargetHTTPProxyStatus_v1beta1_FromProto converts a Proto message to a KRM Status. This is handcoded because of ProxyId conversion.

func ComputeTargetHTTPSProxyObservedState_v1beta1_FromProto added in v1.149.1

func ComputeTargetHTTPSProxyObservedState_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetHttpsProxy) *krm.ComputeTargetHTTPSProxyObservedState

func ComputeTargetHTTPSProxyObservedState_v1beta1_ToProto added in v1.149.1

func ComputeTargetHTTPSProxyObservedState_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetHTTPSProxyObservedState) *pb.TargetHttpsProxy

func ComputeTargetHTTPSProxySpec_v1beta1_FromProto added in v1.149.1

func ComputeTargetHTTPSProxySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetHttpsProxy) *krm.ComputeTargetHTTPSProxySpec

func ComputeTargetHTTPSProxySpec_v1beta1_ToProto added in v1.149.1

func ComputeTargetHTTPSProxySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetHTTPSProxySpec) *pb.TargetHttpsProxy

func ComputeTargetHTTPSProxyStatus_v1beta1_FromProto added in v1.149.1

func ComputeTargetHTTPSProxyStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetHttpsProxy) *krm.ComputeTargetHTTPSProxyStatus

func ComputeTargetHTTPSProxyStatus_v1beta1_ToProto added in v1.154.0

func ComputeTargetHTTPSProxyStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetHTTPSProxyStatus) *pb.TargetHttpsProxy

func ComputeTargetInstanceSpec_v1beta1_FromProto added in v1.154.0

func ComputeTargetInstanceSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetInstance) *krm.ComputeTargetInstanceSpec

ComputeTargetInstanceSpec_v1beta1_FromProto maps a pb.TargetInstance proto representation to a krm.ComputeTargetInstanceSpec. We hand-code this mapping because Zone in the GCP proto is a *string, whereas in the KRM spec it is a string. Additionally, InstanceRef is a pointer to InstanceRef in the KRM spec but mapped as a string pointer in the GCP proto.

func ComputeTargetInstanceSpec_v1beta1_ToProto added in v1.154.0

func ComputeTargetInstanceSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetInstanceSpec) *pb.TargetInstance

ComputeTargetInstanceSpec_v1beta1_ToProto maps a krm.ComputeTargetInstanceSpec to a pb.TargetInstance proto representation. We hand-code this mapping because Zone in the GCP proto is a *string, whereas in the KRM spec it is a string. Additionally, InstanceRef is a pointer to InstanceRef in the KRM spec but mapped as a string pointer in the GCP proto.

func ComputeTargetInstanceStatus_v1beta1_FromProto added in v1.154.0

func ComputeTargetInstanceStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetInstance) *krm.ComputeTargetInstanceStatus

found existing non-generated mapping function "ComputeTargetInstanceSpec_v1beta1_ToProto", skipping

func ComputeTargetInstanceSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetInstanceSpec) *pb.TargetInstance {
	if in == nil {
		return nil
	}
	out := &pb.TargetInstance{}
	// MISSING: CreationTimestamp
	out.Description = in.Description
	// MISSING: ID
	if in.InstanceRef != nil {
		out.Instance = &in.InstanceRef.External
	}
	// MISSING: Kind
	// MISSING: Name
	out.NatPolicy = in.NATPolicy
	if in.NetworkRef != nil {
		out.Network = &in.NetworkRef.External
	}
	if in.SecurityPolicyRef != nil {
		out.SecurityPolicy = &in.SecurityPolicyRef.External
	}
	// MISSING: SelfLink
	out.Zone = in.Zone
	return out
}

func ComputeTargetInstanceStatus_v1beta1_ToProto added in v1.154.0

func ComputeTargetInstanceStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetInstanceStatus) *pb.TargetInstance

func ComputeTargetPoolSpec_v1beta1_FromProto added in v1.154.0

func ComputeTargetPoolSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetPool) *krm.ComputeTargetPoolSpec

func ComputeTargetPoolSpec_v1beta1_ToProto added in v1.154.0

func ComputeTargetPoolSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetPoolSpec) *pb.TargetPool

func ComputeTargetSSLProxySpec_v1beta1_FromProto added in v1.154.0

func ComputeTargetSSLProxySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetSslProxy) *krm.ComputeTargetSSLProxySpec

ComputeTargetSSLProxySpec_v1beta1_FromProto converts the protobuf TargetSslProxy message to ComputeTargetSSLProxySpec KRM representation. This function is handcoded because the KRM struct field names deviate from default protobuf field naming (e.g., BackendServiceRef maps to Service, CertificateMapRef maps to CertificateMap, and SslPolicyRef maps to SslPolicy).

func ComputeTargetSSLProxySpec_v1beta1_ToProto added in v1.154.0

func ComputeTargetSSLProxySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetSSLProxySpec) *pb.TargetSslProxy

ComputeTargetSSLProxySpec_v1beta1_ToProto converts ComputeTargetSSLProxySpec KRM representation to protobuf TargetSslProxy message. This function is handcoded because KRM fields use different naming and structures compared to the protobuf counterpart (e.g., BackendServiceRef is mapped to the Service proto field, and SslCertificates utilizes custom reference objects).

func ComputeTargetSSLProxyStatus_v1beta1_FromProto added in v1.154.0

func ComputeTargetSSLProxyStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetSslProxy) *krm.ComputeTargetSSLProxyStatus

ComputeTargetSSLProxyStatus_v1beta1_FromProto converts protobuf TargetSslProxy status fields to ComputeTargetSSLProxyStatus representation. This function is handcoded because the ID field is mapped to ProxyId (using customized int64 type conversion).

func ComputeTargetSSLProxyStatus_v1beta1_ToProto added in v1.154.0

func ComputeTargetSSLProxyStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetSSLProxyStatus) *pb.TargetSslProxy

ComputeTargetSSLProxyStatus_v1beta1_ToProto converts ComputeTargetSSLProxyStatus representation to protobuf TargetSslProxy message. This function is handcoded because ProxyId requires a conversion back to the protobuf uint64 ID field.

func ComputeTargetTCPProxySpec_v1beta1_FromProto added in v1.143.0

func ComputeTargetTCPProxySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetTcpProxy) *krm.ComputeTargetTCPProxySpec

func ComputeTargetTCPProxySpec_v1beta1_ToProto added in v1.143.0

func ComputeTargetTCPProxySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetTCPProxySpec) *pb.TargetTcpProxy

func ComputeTargetTCPProxyStatus_v1beta1_FromProto added in v1.143.0

func ComputeTargetTCPProxyStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetTcpProxy) *krm.ComputeTargetTCPProxyStatus

func ComputeTargetTCPProxyStatus_v1beta1_ToProto added in v1.143.0

func ComputeTargetTCPProxyStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetTCPProxyStatus) *pb.TargetTcpProxy

func ComputeTargetVPNGatewaySpec_v1beta1_FromProto added in v1.154.0

func ComputeTargetVPNGatewaySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetVpnGateway) *krm.ComputeTargetVPNGatewaySpec

found existing non-generated mapping function "ComputeTargetTCPProxyStatus_v1beta1_ToProto", skipping

func ComputeTargetTCPProxyStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetTCPProxyStatus) *pb.TargetTcpProxy {
	if in == nil {
		return nil
	}
	out := &pb.TargetTcpProxy{}
	out.CreationTimestamp = in.CreationTimestamp
	// MISSING: Description
	// MISSING: ID
	// MISSING: Kind
	// MISSING: Name
	// MISSING: ProxyBind
	// MISSING: ProxyHeader
	// MISSING: Region
	out.SelfLink = in.SelfLink
	// MISSING: Service
	return out
}

func ComputeTargetVPNGatewaySpec_v1beta1_ToProto added in v1.154.0

func ComputeTargetVPNGatewaySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetVPNGatewaySpec) *pb.TargetVpnGateway

func ComputeTargetVPNGatewayStatus_v1beta1_FromProto added in v1.154.0

func ComputeTargetVPNGatewayStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TargetVpnGateway) *krm.ComputeTargetVPNGatewayStatus

func ComputeTargetVPNGatewayStatus_v1beta1_ToProto added in v1.154.0

func ComputeTargetVPNGatewayStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeTargetVPNGatewayStatus) *pb.TargetVpnGateway

func ComputeURLMapSpec_v1beta1_FromProto added in v1.154.0

func ComputeURLMapSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.UrlMap) *krm.ComputeURLMapSpec

func ComputeURLMapSpec_v1beta1_ToProto added in v1.154.0

func ComputeURLMapSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeURLMapSpec) *pb.UrlMap

func ComputeURLMapStatus_v1beta1_FromProto added in v1.154.0

func ComputeURLMapStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.UrlMap) *krm.ComputeURLMapStatus

func ComputeURLMapStatus_v1beta1_ToProto added in v1.154.0

func ComputeURLMapStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeURLMapStatus) *pb.UrlMap

func ComputeVPNGatewaySpec_v1beta1_FromProto added in v1.154.0

func ComputeVPNGatewaySpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.VpnGateway) *krm.ComputeVPNGatewaySpec

ComputeVPNGatewaySpec_v1beta1_FromProto maps a pb.VpnGateway to krm.ComputeVPNGatewaySpec. This function is handcoded because Region in KRM is a non-pointer string while it is a pointer string in Proto.

func ComputeVPNGatewaySpec_v1beta1_ToProto added in v1.154.0

func ComputeVPNGatewaySpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeVPNGatewaySpec) *pb.VpnGateway

ComputeVPNGatewaySpec_v1beta1_ToProto maps a krm.ComputeVPNGatewaySpec to pb.VpnGateway. This function is handcoded because Region in KRM is a non-pointer string while it is a pointer string in Proto.

func ComputeVPNTunnelSpec_v1beta1_FromProto added in v1.154.0

func ComputeVPNTunnelSpec_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.VpnTunnel) *krm.ComputeVPNTunnelSpec

func ComputeVPNTunnelSpec_v1beta1_ToProto added in v1.154.0

func ComputeVPNTunnelSpec_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeVPNTunnelSpec) *pb.VpnTunnel

func ComputeVPNTunnelStatus_v1beta1_FromProto added in v1.154.0

func ComputeVPNTunnelStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.VpnTunnel) *krm.ComputeVPNTunnelStatus

func ComputeVPNTunnelStatus_v1beta1_ToProto added in v1.154.0

func ComputeVPNTunnelStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ComputeVPNTunnelStatus) *pb.VpnTunnel

func ConsistentHashLoadBalancerSettings_v1beta1_FromProto added in v1.154.0

func ConsistentHashLoadBalancerSettings_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ConsistentHashLoadBalancerSettings) *krm.ConsistentHashLoadBalancerSettings

ConsistentHashLoadBalancerSettings_v1beta1_FromProto maps pb.ConsistentHashLoadBalancerSettings to ConsistentHashLoadBalancerSettings.

func ConsistentHashLoadBalancerSettings_v1beta1_ToProto added in v1.154.0

func ConsistentHashLoadBalancerSettings_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ConsistentHashLoadBalancerSettings) *pb.ConsistentHashLoadBalancerSettings

ConsistentHashLoadBalancerSettings_v1beta1_ToProto maps ConsistentHashLoadBalancerSettings to pb.ConsistentHashLoadBalancerSettings.

func ConvertInt32ToInt added in v1.149.1

func ConvertInt32ToInt(in *int32) *int

func ConvertIntToInt32 added in v1.149.1

func ConvertIntToInt32(in *int) *int32

func DiskAsyncPrimaryDisk_v1beta1_FromProto added in v1.154.0

func DiskAsyncPrimaryDisk_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.DiskAsyncReplication) *krm.DiskAsyncPrimaryDisk

func DiskAsyncPrimaryDisk_v1beta1_ToProto added in v1.154.0

func DiskAsyncPrimaryDisk_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.DiskAsyncPrimaryDisk) *pb.DiskAsyncReplication

func DiskDiskEncryptionKey_v1beta1_FromProto added in v1.154.0

func DiskDiskEncryptionKey_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CustomerEncryptionKey) *krm.DiskDiskEncryptionKey

func DiskDiskEncryptionKey_v1beta1_ToProto added in v1.154.0

func DiskDiskEncryptionKey_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.DiskDiskEncryptionKey) *pb.CustomerEncryptionKey

func DiskGuestOsFeatures_v1beta1_FromProto added in v1.154.0

func DiskGuestOsFeatures_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.GuestOsFeature) *krm.DiskGuestOsFeatures

func DiskGuestOsFeatures_v1beta1_ToProto added in v1.154.0

func DiskGuestOsFeatures_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.DiskGuestOsFeatures) *pb.GuestOsFeature

func DiskSourceImageEncryptionKey_v1beta1_FromProto added in v1.154.0

func DiskSourceImageEncryptionKey_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CustomerEncryptionKey) *krm.DiskSourceImageEncryptionKey

func DiskSourceImageEncryptionKey_v1beta1_ToProto added in v1.154.0

func DiskSourceImageEncryptionKey_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.DiskSourceImageEncryptionKey) *pb.CustomerEncryptionKey

func DiskSourceSnapshotEncryptionKey_v1beta1_FromProto added in v1.154.0

func DiskSourceSnapshotEncryptionKey_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CustomerEncryptionKey) *krm.DiskSourceSnapshotEncryptionKey

func DiskSourceSnapshotEncryptionKey_v1beta1_ToProto added in v1.154.0

func DiskSourceSnapshotEncryptionKey_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.DiskSourceSnapshotEncryptionKey) *pb.CustomerEncryptionKey

func Duration_v1alpha1_FromProto added in v1.151.0

func Duration_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.Duration) *krmcomputev1alpha1.Duration

found existing non-generated mapping function "ConsistentHashLoadBalancerSettings_v1beta1_ToProto", skipping

func ConsistentHashLoadBalancerSettings_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ConsistentHashLoadBalancerSettings) *pb.ConsistentHashLoadBalancerSettings {
	if in == nil {
		return nil
	}
	out := &pb.ConsistentHashLoadBalancerSettings{}
	// MISSING: HTTPCookie
	// (near miss): "HTTPCookie" vs "HttpCookie"
	// MISSING: HTTPHeaderName
	// (near miss): "HTTPHeaderName" vs "HttpHeaderName"
	out.MinimumRingSize = in.MinimumRingSize
	return out
}

func Duration_v1alpha1_ToProto added in v1.151.0

func Duration_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.Duration) *pb.Duration

func FirewallAllow_v1beta1_FromProto added in v1.154.0

func FirewallAllow_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Allowed) *krm.FirewallAllow

func FirewallAllow_v1beta1_ToProto added in v1.154.0

func FirewallAllow_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.FirewallAllow) *pb.Allowed

func FirewallDeny_v1beta1_FromProto added in v1.154.0

func FirewallDeny_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Denied) *krm.FirewallDeny

func FirewallDeny_v1beta1_ToProto added in v1.154.0

func FirewallDeny_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.FirewallDeny) *pb.Denied

func FirewallLogConfig_v1beta1_FromProto added in v1.154.0

func FirewallLogConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallLogConfig) *krm.FirewallLogConfig

func FirewallLogConfig_v1beta1_ToProto added in v1.154.0

func FirewallLogConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.FirewallLogConfig) *pb.FirewallLogConfig

func FirewallPolicyRuleMatcherLayer4Config_v1beta1_FromProto added in v1.143.0

func FirewallPolicyRuleMatcherLayer4Config_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicyRuleMatcherLayer4Config) *krm.FirewallPolicyRuleMatcherLayer4Config

func FirewallPolicyRuleMatcherLayer4Config_v1beta1_ToProto added in v1.143.0

func FirewallPolicyRuleMatcherLayer4Config_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.FirewallPolicyRuleMatcherLayer4Config) *pb.FirewallPolicyRuleMatcherLayer4Config

func FirewallPolicyRuleMatcher_v1beta1_FromProto added in v1.143.0

func FirewallPolicyRuleMatcher_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.FirewallPolicyRuleMatcher) *krm.FirewallPolicyRuleMatcher

found existing non-generated mapping function "FirewallLogConfig_v1beta1_ToProto", skipping

func FirewallLogConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.FirewallLogConfig) *pb.FirewallLogConfig {
	if in == nil {
		return nil
	}
	out := &pb.FirewallLogConfig{}
	// MISSING: Enable
	out.Metadata = in.Metadata
	return out
}

func FirewallPolicyRuleMatcher_v1beta1_ToProto added in v1.143.0

func FirewallPolicyRuleMatcher_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.FirewallPolicyRuleMatcher) *pb.FirewallPolicyRuleMatcher

func FixedOrPercent_v1alpha1_FromProto added in v1.154.0

func FixedOrPercent_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.FixedOrPercent) *krm.AutoscalerMaxScaledInReplicas

func FixedOrPercent_v1alpha1_FromProtoDown added in v1.154.0

func FixedOrPercent_v1alpha1_FromProtoDown(mapCtx *direct.MapContext, in *pb.FixedOrPercent) *krm.AutoscalerMaxScaledDownReplicas

func FixedOrPercent_v1alpha1_ToProto added in v1.154.0

func FixedOrPercent_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalerMaxScaledInReplicas) *pb.FixedOrPercent

func FixedOrPercent_v1alpha1_ToProtoDown added in v1.154.0

func FixedOrPercent_v1alpha1_ToProtoDown(mapCtx *direct.MapContext, in *krm.AutoscalerMaxScaledDownReplicas) *pb.FixedOrPercent

func ForwardingruleServiceDirectoryRegistrations_v1beta1_FromProto added in v1.143.0

func ForwardingruleServiceDirectoryRegistrations_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ForwardingRuleServiceDirectoryRegistration) *krm.ForwardingruleServiceDirectoryRegistrations

found existing non-generated mapping function "FirewallPolicyRuleMatcherLayer4Config_v1beta1_ToProto", skipping

func FirewallPolicyRuleMatcherLayer4Config_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.FirewallPolicyRuleMatcherLayer4Config) *pb.FirewallPolicyRuleMatcherLayer4Config {
	if in == nil {
		return nil
	}
	out := &pb.FirewallPolicyRuleMatcherLayer4Config{}
	out.IpProtocol = in.IPProtocol
	out.Ports = in.Ports
	return out
}

func ForwardingruleServiceDirectoryRegistrations_v1beta1_ToProto added in v1.143.0

func ForwardingruleServiceDirectoryRegistrations_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ForwardingruleServiceDirectoryRegistrations) *pb.ForwardingRuleServiceDirectoryRegistration

func FutureReservationCommitmentInfo_v1alpha1_FromProto added in v1.151.0

func FutureReservationCommitmentInfo_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.FutureReservationCommitmentInfo) *krmcomputev1alpha1.FutureReservationCommitmentInfo

func FutureReservationCommitmentInfo_v1alpha1_ToProto added in v1.151.0

func FutureReservationCommitmentInfo_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.FutureReservationCommitmentInfo) *pb.FutureReservationCommitmentInfo

func FutureReservationStatus_v1alpha1_FromProto added in v1.151.0

func FutureReservationStatus_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.FutureReservationStatus) *krmcomputev1alpha1.FutureReservationStatus

func FutureReservationStatus_v1alpha1_ToProto added in v1.151.0

func FutureReservationStatus_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.FutureReservationStatus) *pb.FutureReservationStatus

func FutureReservationTimeWindow_v1alpha1_FromProto added in v1.151.0

func FutureReservationTimeWindow_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.FutureReservationTimeWindow) *krmcomputev1alpha1.FutureReservationTimeWindow

func FutureReservationTimeWindow_v1alpha1_ToProto added in v1.151.0

func FutureReservationTimeWindow_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.FutureReservationTimeWindow) *pb.FutureReservationTimeWindow

func FutureReservation_v1alpha1_FromProto added in v1.151.0

func FutureReservation_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.FutureReservation) *krmcomputev1alpha1.FutureReservation

func FutureReservation_v1alpha1_ToProto added in v1.151.0

func FutureReservation_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.FutureReservation) *pb.FutureReservation

func GetRegionFromZone added in v1.154.0

func GetRegionFromZone(zone string) string

GetRegionFromZone returns the region from a zone for Google cloud. Zones are formatted as <region>-<zone_suffix>, e.g. "us-central1-f" -> "us-central1"

func HealthCheckGRPCHealthCheck_v1beta1_FromProto added in v1.152.0

func HealthCheckGRPCHealthCheck_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.GRPCHealthCheck) *krm.HealthCheckGRPCHealthCheck

func HealthCheckGRPCHealthCheck_v1beta1_ToProto added in v1.152.0

func HealthCheckGRPCHealthCheck_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.HealthCheckGRPCHealthCheck) *pb.GRPCHealthCheck

func HealthCheckHTTP2HealthCheck_v1beta1_FromProto added in v1.152.0

func HealthCheckHTTP2HealthCheck_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HTTP2HealthCheck) *krm.HealthCheckHTTP2HealthCheck

func HealthCheckHTTP2HealthCheck_v1beta1_ToProto added in v1.152.0

func HealthCheckHTTP2HealthCheck_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.HealthCheckHTTP2HealthCheck) *pb.HTTP2HealthCheck

func HealthCheckHTTPHealthCheck_v1beta1_FromProto added in v1.152.0

func HealthCheckHTTPHealthCheck_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HTTPHealthCheck) *krm.HealthCheckHTTPHealthCheck

func HealthCheckHTTPHealthCheck_v1beta1_ToProto added in v1.152.0

func HealthCheckHTTPHealthCheck_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.HealthCheckHTTPHealthCheck) *pb.HTTPHealthCheck

func HealthCheckHTTPSHealthCheck_v1beta1_FromProto added in v1.152.0

func HealthCheckHTTPSHealthCheck_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HTTPSHealthCheck) *krm.HealthCheckHTTPSHealthCheck

func HealthCheckHTTPSHealthCheck_v1beta1_ToProto added in v1.152.0

func HealthCheckHTTPSHealthCheck_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.HealthCheckHTTPSHealthCheck) *pb.HTTPSHealthCheck

func HealthCheckLogConfig_v1beta1_FromProto added in v1.152.0

func HealthCheckLogConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HealthCheckLogConfig) *krm.HealthCheckLogConfig

found existing non-generated mapping function "HealthCheckHTTPSHealthCheck_v1beta1_ToProto", skipping

func HealthCheckHTTPSHealthCheck_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.HealthCheckHTTPSHealthCheck) *pb.HTTPSHealthCheck {
	if in == nil {
		return nil
	}
	out := &pb.HTTPSHealthCheck{}
	out.Host = in.Host
	out.Port = in.Port
	out.PortName = in.PortName
	out.PortSpecification = in.PortSpecification
	out.ProxyHeader = in.ProxyHeader
	out.RequestPath = in.RequestPath
	out.Response = in.Response
	return out
}

func HealthCheckLogConfig_v1beta1_ToProto added in v1.152.0

func HealthCheckLogConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.HealthCheckLogConfig) *pb.HealthCheckLogConfig

func HealthCheckSSLHealthCheck_v1beta1_FromProto added in v1.152.0

func HealthCheckSSLHealthCheck_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SSLHealthCheck) *krm.HealthCheckSSLHealthCheck

func HealthCheckSSLHealthCheck_v1beta1_ToProto added in v1.152.0

func HealthCheckSSLHealthCheck_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.HealthCheckSSLHealthCheck) *pb.SSLHealthCheck

func HealthCheckTCPHealthCheck_v1beta1_FromProto added in v1.152.0

func HealthCheckTCPHealthCheck_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.TCPHealthCheck) *krm.HealthCheckTCPHealthCheck

func HealthCheckTCPHealthCheck_v1beta1_ToProto added in v1.152.0

func HealthCheckTCPHealthCheck_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.HealthCheckTCPHealthCheck) *pb.TCPHealthCheck

func ImageGuestOsFeatures_FromProto added in v1.154.0

func ImageGuestOsFeatures_FromProto(mapCtx *direct.MapContext, in *pb.GuestOsFeature) *krm.ImageGuestOsFeatures

ImageGuestOsFeatures_FromProto maps GuestOsFeature from pb to KRM.

func ImageGuestOsFeatures_ToProto added in v1.154.0

func ImageGuestOsFeatures_ToProto(mapCtx *direct.MapContext, in *krm.ImageGuestOsFeatures) *pb.GuestOsFeature

ImageGuestOsFeatures_ToProto maps GuestOsFeature from KRM to pb.

func ImageImageEncryptionKey_FromProto added in v1.154.0

func ImageImageEncryptionKey_FromProto(mapCtx *direct.MapContext, in *pb.CustomerEncryptionKey) *krm.ImageImageEncryptionKey

ImageImageEncryptionKey_FromProto maps CustomerEncryptionKey from pb to KRM. We handcode this because KMSCryptoKeyRef and IAMServiceAccountRef require custom structure translation.

func ImageImageEncryptionKey_ToProto added in v1.154.0

func ImageImageEncryptionKey_ToProto(mapCtx *direct.MapContext, in *krm.ImageImageEncryptionKey) *pb.CustomerEncryptionKey

ImageImageEncryptionKey_ToProto maps CustomerEncryptionKey from KRM to pb. We handcode this because KMSCryptoKeyRef and IAMServiceAccountRef require custom structure translation.

func ImageRawDisk_FromProto added in v1.154.0

func ImageRawDisk_FromProto(mapCtx *direct.MapContext, in *pb.RawDisk) *krm.ImageRawDisk

ImageRawDisk_FromProto maps RawDisk from pb to KRM.

func ImageRawDisk_ToProto added in v1.154.0

func ImageRawDisk_ToProto(mapCtx *direct.MapContext, in *krm.ImageRawDisk) *pb.RawDisk

ImageRawDisk_ToProto maps RawDisk from KRM to pb.

func InstanceAccessConfig_v1beta1_FromProto added in v1.154.0

func InstanceAccessConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.AccessConfig) *krm.InstanceAccessConfig

func InstanceAccessConfig_v1beta1_ToProto added in v1.154.0

func InstanceAccessConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceAccessConfig) *pb.AccessConfig

func InstanceAdvancedMachineFeatures_v1beta1_FromProto added in v1.154.0

func InstanceAdvancedMachineFeatures_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.AdvancedMachineFeatures) *krm.InstanceAdvancedMachineFeatures

func InstanceAdvancedMachineFeatures_v1beta1_ToProto added in v1.154.0

func InstanceAdvancedMachineFeatures_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceAdvancedMachineFeatures) *pb.AdvancedMachineFeatures

func InstanceAliasIpRange_v1beta1_FromProto added in v1.154.0

func InstanceAliasIpRange_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.AliasIpRange) *krm.InstanceAliasIpRange

func InstanceAliasIpRange_v1beta1_ToProto added in v1.154.0

func InstanceAliasIpRange_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceAliasIpRange) *pb.AliasIpRange

func InstanceAttachedDisk_v1beta1_FromProto added in v1.154.0

func InstanceAttachedDisk_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.AttachedDisk) *krm.InstanceAttachedDisk

func InstanceAttachedDisk_v1beta1_ToProto added in v1.154.0

func InstanceAttachedDisk_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceAttachedDisk) *pb.AttachedDisk

func InstanceBootDisk_v1beta1_FromProto added in v1.154.0

func InstanceBootDisk_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.AttachedDisk) *krm.InstanceBootDisk

func InstanceBootDisk_v1beta1_ToProto added in v1.154.0

func InstanceBootDisk_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceBootDisk) *pb.AttachedDisk

func InstanceConfidentialInstanceConfig_v1beta1_FromProto added in v1.154.0

func InstanceConfidentialInstanceConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ConfidentialInstanceConfig) *krm.InstanceConfidentialInstanceConfig

func InstanceConfidentialInstanceConfig_v1beta1_ToProto added in v1.154.0

func InstanceConfidentialInstanceConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceConfidentialInstanceConfig) *pb.ConfidentialInstanceConfig

func InstanceDiskEncryptionKey_v1beta1_FromProto added in v1.154.0

func InstanceDiskEncryptionKey_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CustomerEncryptionKey) (*krm.InstanceResourceRef, *string)

func InstanceDiskEncryptionKey_v1beta1_ToProto added in v1.154.0

func InstanceDiskEncryptionKey_v1beta1_ToProto(mapCtx *direct.MapContext, kmsKeyRef *krm.InstanceResourceRef, diskEncryptionKeyRaw *krm.InstanceDiskEncryptionKeyRaw) *pb.CustomerEncryptionKey

func InstanceGroupNamedPort_v1beta1_FromProto added in v1.154.0

func InstanceGroupNamedPort_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NamedPort) *krm.InstanceGroupNamedPort

InstanceGroupNamedPort_v1beta1_FromProto is handcoded because the fields of pb.NamedPort are pointer types in protobuf, but are non-pointer types in KRM.

func InstanceGroupNamedPort_v1beta1_ToProto added in v1.154.0

func InstanceGroupNamedPort_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceGroupNamedPort) *pb.NamedPort

InstanceGroupNamedPort_v1beta1_ToProto is handcoded because the fields of pb.NamedPort are pointer types in protobuf, but are non-pointer types in KRM.

func InstanceIpv6AccessConfig_v1beta1_FromProto added in v1.154.0

func InstanceIpv6AccessConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.AccessConfig) *krm.InstanceIpv6AccessConfig

func InstanceIpv6AccessConfig_v1beta1_ToProto added in v1.154.0

func InstanceIpv6AccessConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceIpv6AccessConfig) *pb.AccessConfig

func InstanceMetadata_v1beta1_FromProto added in v1.154.0

func InstanceMetadata_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Metadata) []krm.InstanceMetadata

func InstanceMetadata_v1beta1_ToProto added in v1.154.0

func InstanceMetadata_v1beta1_ToProto(mapCtx *direct.MapContext, in []krm.InstanceMetadata) *pb.Metadata

func InstanceNetworkInterface_v1beta1_FromProto added in v1.154.0

func InstanceNetworkInterface_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkInterface) *krm.InstanceNetworkInterface

func InstanceNetworkInterface_v1beta1_ToProto added in v1.154.0

func InstanceNetworkInterface_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceNetworkInterface) *pb.NetworkInterface

func InstanceNetworkPerformanceConfig_v1beta1_FromProto added in v1.154.0

func InstanceNetworkPerformanceConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkPerformanceConfig) *krm.InstanceNetworkPerformanceConfig

func InstanceNetworkPerformanceConfig_v1beta1_ToProto added in v1.154.0

func InstanceNetworkPerformanceConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceNetworkPerformanceConfig) *pb.NetworkPerformanceConfig

func InstanceParams_v1beta1_FromProto added in v1.154.0

func InstanceParams_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.InstanceParams) *krm.InstanceParams

func InstanceParams_v1beta1_ToProto added in v1.154.0

func InstanceParams_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceParams) *pb.InstanceParams

func InstanceReservationAffinity_v1beta1_FromProto added in v1.154.0

func InstanceReservationAffinity_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ReservationAffinity) *krm.InstanceReservationAffinity

func InstanceReservationAffinity_v1beta1_ToProto added in v1.154.0

func InstanceReservationAffinity_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceReservationAffinity) *pb.ReservationAffinity

func InstanceScheduling_v1beta1_FromProto added in v1.154.0

func InstanceScheduling_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Scheduling) *krm.InstanceScheduling

func InstanceScheduling_v1beta1_ToProto added in v1.154.0

func InstanceScheduling_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceScheduling) *pb.Scheduling

func InstanceServiceAccount_v1beta1_FromProto added in v1.154.0

func InstanceServiceAccount_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ServiceAccount) *krm.InstanceServiceAccount

func InstanceServiceAccount_v1beta1_ToProto added in v1.154.0

func InstanceServiceAccount_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceServiceAccount) *pb.ServiceAccount

func InstanceShieldedInstanceConfig_v1beta1_FromProto added in v1.154.0

func InstanceShieldedInstanceConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ShieldedInstanceConfig) *krm.InstanceShieldedInstanceConfig

func InstanceShieldedInstanceConfig_v1beta1_ToProto added in v1.154.0

func InstanceShieldedInstanceConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceShieldedInstanceConfig) *pb.ShieldedInstanceConfig

func InstancegroupmanagerAutoHealingPolicies_FromProto added in v1.154.0

func InstancegroupmanagerAutoHealingPolicies_FromProto(in *pb.InstanceGroupManagerAutoHealingPolicy) *krm.InstancegroupmanagerAutoHealingPolicies

func InstancegroupmanagerAutoHealingPolicies_ToProto added in v1.154.0

func InstancegroupmanagerAutoHealingPolicies_ToProto(in *krm.InstancegroupmanagerAutoHealingPolicies) *pb.InstanceGroupManagerAutoHealingPolicy

func InstancegroupmanagerCurrentActionsStatus_FromProto added in v1.154.0

func InstancegroupmanagerCurrentActionsStatus_FromProto(in *pb.InstanceGroupManagerActionsSummary) *krm.InstancegroupmanagerCurrentActionsStatus

func InstancegroupmanagerCurrentActionsStatus_ToProto added in v1.154.0

func InstancegroupmanagerCurrentActionsStatus_ToProto(in *krm.InstancegroupmanagerCurrentActionsStatus) *pb.InstanceGroupManagerActionsSummary

func InstancegroupmanagerDistributionPolicy_FromProto added in v1.154.0

func InstancegroupmanagerDistributionPolicy_FromProto(in *pb.DistributionPolicy) *krm.InstancegroupmanagerDistributionPolicy

func InstancegroupmanagerDistributionPolicy_ToProto added in v1.154.0

func InstancegroupmanagerDistributionPolicy_ToProto(in *krm.InstancegroupmanagerDistributionPolicy) *pb.DistributionPolicy

func InstancegroupmanagerMaxSurge_FromProto added in v1.154.0

func InstancegroupmanagerMaxSurge_FromProto(in *pb.FixedOrPercent) *krm.InstancegroupmanagerMaxSurge

func InstancegroupmanagerMaxSurge_ToProto added in v1.154.0

func InstancegroupmanagerMaxSurge_ToProto(in *krm.InstancegroupmanagerMaxSurge) *pb.FixedOrPercent

func InstancegroupmanagerMaxUnavailable_FromProto added in v1.154.0

func InstancegroupmanagerMaxUnavailable_FromProto(in *pb.FixedOrPercent) *krm.InstancegroupmanagerMaxUnavailable

func InstancegroupmanagerMaxUnavailable_ToProto added in v1.154.0

func InstancegroupmanagerMaxUnavailable_ToProto(in *krm.InstancegroupmanagerMaxUnavailable) *pb.FixedOrPercent

func InstancegroupmanagerNamedPorts_FromProto added in v1.154.0

func InstancegroupmanagerNamedPorts_FromProto(in *pb.NamedPort) *krm.InstancegroupmanagerNamedPorts

func InstancegroupmanagerNamedPorts_ToProto added in v1.154.0

func InstancegroupmanagerNamedPorts_ToProto(in *krm.InstancegroupmanagerNamedPorts) *pb.NamedPort

func InstancegroupmanagerStatefulPolicy_FromProto added in v1.154.0

func InstancegroupmanagerStatefulPolicy_FromProto(in *pb.StatefulPolicy) *krm.InstancegroupmanagerStatefulPolicy

func InstancegroupmanagerStatefulPolicy_ToProto added in v1.154.0

func InstancegroupmanagerStatefulPolicy_ToProto(in *krm.InstancegroupmanagerStatefulPolicy) *pb.StatefulPolicy

func InstancegroupmanagerStatusStatus_FromProto added in v1.154.0

func InstancegroupmanagerStatusStatus_FromProto(in *pb.InstanceGroupManagerStatus) *krm.InstancegroupmanagerStatusStatus

func InstancegroupmanagerStatusStatus_ToProto added in v1.154.0

func InstancegroupmanagerStatusStatus_ToProto(in *krm.InstancegroupmanagerStatusStatus) *pb.InstanceGroupManagerStatus

func InstancegroupmanagerTargetSize_FromProto added in v1.154.0

func InstancegroupmanagerTargetSize_FromProto(in *pb.FixedOrPercent) *krm.InstancegroupmanagerTargetSize

func InstancegroupmanagerTargetSize_ToProto added in v1.154.0

func InstancegroupmanagerTargetSize_ToProto(in *krm.InstancegroupmanagerTargetSize) *pb.FixedOrPercent

func InstancegroupmanagerUpdatePolicy_FromProto added in v1.154.0

func InstancegroupmanagerUpdatePolicy_FromProto(in *pb.InstanceGroupManagerUpdatePolicy) *krm.InstancegroupmanagerUpdatePolicy

func InstancegroupmanagerUpdatePolicy_ToProto added in v1.154.0

func InstancegroupmanagerUpdatePolicy_ToProto(in *krm.InstancegroupmanagerUpdatePolicy) *pb.InstanceGroupManagerUpdatePolicy

func InstancegroupmanagerVersions_FromProto added in v1.154.0

func InstancegroupmanagerVersions_FromProto(in *pb.InstanceGroupManagerVersion) krm.InstancegroupmanagerVersions

func InstancegroupmanagerVersions_ToProto added in v1.154.0

func InstancegroupmanagerVersions_ToProto(in *krm.InstancegroupmanagerVersions) *pb.InstanceGroupManagerVersion

func InterconnectCircuitInfo_v1alpha1_FromProto added in v1.143.0

func InterconnectCircuitInfo_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.InterconnectCircuitInfo) *krmcomputev1alpha1.InterconnectCircuitInfo

found existing non-generated mapping function "InstanceGroupNamedPort_v1beta1_ToProto", skipping

func InstanceGroupNamedPort_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.InstanceGroupNamedPort) *pb.NamedPort {
	if in == nil {
		return nil
	}
	out := &pb.NamedPort{}
	out.Name = in.Name
	out.Port = in.Port
	return out
}

func InterconnectCircuitInfo_v1alpha1_ToProto added in v1.143.0

func InterconnectCircuitInfo_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.InterconnectCircuitInfo) *pb.InterconnectCircuitInfo

func InterconnectMacsecPreSharedKey_ToProto added in v1.130.1

func InterconnectMacsecPreSharedKey_ToProto(mapCtx *direct.MapContext, in *krm.InterconnectMacsecPreSharedKey) *pb.InterconnectMacsecPreSharedKey

func InterconnectMacsecPreSharedKey_v1alpha1_FromProto added in v1.143.0

func InterconnectMacsecPreSharedKey_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.InterconnectMacsecPreSharedKey) *krmcomputev1alpha1.InterconnectMacsecPreSharedKey

func InterconnectMacsecPreSharedKey_v1alpha1_ToProto added in v1.143.0

func InterconnectMacsecPreSharedKey_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.InterconnectMacsecPreSharedKey) *pb.InterconnectMacsecPreSharedKey

func InterconnectMacsec_v1alpha1_FromProto added in v1.143.0

func InterconnectMacsec_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.InterconnectMacsec) *krmcomputev1alpha1.InterconnectMacsec

func InterconnectMacsec_v1alpha1_ToProto added in v1.143.0

func InterconnectMacsec_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.InterconnectMacsec) *pb.InterconnectMacsec

func InterconnectOutageNotification_v1alpha1_FromProto added in v1.143.0

func InterconnectOutageNotification_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.InterconnectOutageNotification) *krmcomputev1alpha1.InterconnectOutageNotification

func InterconnectOutageNotification_v1alpha1_ToProto added in v1.143.0

func InterconnectOutageNotification_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.InterconnectOutageNotification) *pb.InterconnectOutageNotification

func IsSelfLinkEqual added in v1.129.2

func IsSelfLinkEqual(a, b *string) bool

func MachineImageEncryptionKey_v1alpha1_FromProto added in v1.154.0

func MachineImageEncryptionKey_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.CustomerEncryptionKey) *krmcomputev1alpha1.MachineImageEncryptionKey

func MachineImageEncryptionKey_v1alpha1_ToProto added in v1.154.0

func MachineImageEncryptionKey_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.MachineImageEncryptionKey) *pb.CustomerEncryptionKey

func MetadataFilterLabelMatch_v1beta1_FromProto added in v1.143.0

func MetadataFilterLabelMatch_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.MetadataFilterLabelMatch) *krm.MetadataFilterLabelMatch

func MetadataFilterLabelMatch_v1beta1_ToProto added in v1.143.0

func MetadataFilterLabelMatch_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.MetadataFilterLabelMatch) *pb.MetadataFilterLabelMatch

func MetadataFilter_v1beta1_FromProto added in v1.143.0

func MetadataFilter_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.MetadataFilter) *krm.MetadataFilter

func MetadataFilter_v1beta1_ToProto added in v1.143.0

func MetadataFilter_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.MetadataFilter) *pb.MetadataFilter

func Mtu_FromProto added in v1.154.0

func Mtu_FromProto(mapCtx *direct.MapContext, in *int32) *string

func Mtu_ToProto added in v1.154.0

func Mtu_ToProto(mapCtx *direct.MapContext, in *string) *int32

func NetworkAttachmentConnectedEndpoint_v1alpha1_FromProto added in v1.143.0

func NetworkAttachmentConnectedEndpoint_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.NetworkAttachmentConnectedEndpoint) *krmcomputev1alpha1.NetworkAttachmentConnectedEndpoint

func NewComputeAddressModel added in v1.154.0

func NewComputeAddressModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeAutoscalerModel added in v1.154.0

func NewComputeAutoscalerModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeBackendServiceSignedURLKeyModel added in v1.154.0

func NewComputeBackendServiceSignedURLKeyModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeDiskModel added in v1.154.0

func NewComputeDiskModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeDiskResourcePolicyAttachmentModel added in v1.154.0

func NewComputeDiskResourcePolicyAttachmentModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeExternalVPNGatewayModel added in v1.154.0

func NewComputeExternalVPNGatewayModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeFirewallPolicyModel added in v1.154.0

func NewComputeFirewallPolicyModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeHTTPHealthCheckModel added in v1.154.0

func NewComputeHTTPHealthCheckModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeHTTPSHealthCheckModel added in v1.154.0

func NewComputeHTTPSHealthCheckModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeImageModel added in v1.154.0

func NewComputeImageModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeInstanceGroupManagerModel added in v1.154.0

func NewComputeInstanceGroupManagerModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeInstanceGroupModel added in v1.154.0

func NewComputeInstanceGroupModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeInstanceModel added in v1.154.0

func NewComputeInstanceModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeNodeTemplateModel added in v1.154.0

func NewComputeNodeTemplateModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewComputeTargetHTTPSProxyModel added in v1.154.0

func NewComputeTargetHTTPSProxyModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewFirewallModel added in v1.154.0

func NewFirewallModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewFirewallPolicyRuleModel added in v1.138.0

func NewFirewallPolicyRuleModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewForwardingRuleModel added in v1.122.0

func NewForwardingRuleModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewFutureReservationModel added in v1.151.0

func NewFutureReservationModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewNetworkAttachmentModel added in v1.131.0

func NewNetworkAttachmentModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewNetworkEdgeSecurityServiceModel added in v1.131.0

func NewNetworkEdgeSecurityServiceModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewNetworkModel added in v1.154.0

func NewNetworkModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewReservationModel added in v1.152.0

func NewReservationModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewRouteModel added in v1.154.0

func NewRouteModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewRouterInterfaceModel added in v1.154.0

func NewRouterInterfaceModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewRouterModel added in v1.154.0

func NewRouterModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewRouterNATModel added in v1.154.0

func NewRouterNATModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewSSLPolicyModel added in v1.154.0

func NewSSLPolicyModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewSecurityPolicyModel added in v1.154.0

func NewSecurityPolicyModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewTargetTCPProxyModel added in v1.137.0

func NewTargetTCPProxyModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewURLMapModel added in v1.154.0

func NewURLMapModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NodeGroupAutoscalingPolicy_v1beta1_FromProto added in v1.153.0

func NodeGroupAutoscalingPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NodeGroupAutoscalingPolicy) *krm.NodeGroupAutoscalingPolicy

func NodeGroupAutoscalingPolicy_v1beta1_ToProto added in v1.153.0

func NodeGroupAutoscalingPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.NodeGroupAutoscalingPolicy) *pb.NodeGroupAutoscalingPolicy

func NodeGroupMaintenanceWindow_v1beta1_FromProto added in v1.153.0

func NodeGroupMaintenanceWindow_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NodeGroupMaintenanceWindow) *krm.NodeGroupMaintenanceWindow

func NodeGroupMaintenanceWindow_v1beta1_ToProto added in v1.153.0

func NodeGroupMaintenanceWindow_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.NodeGroupMaintenanceWindow) *pb.NodeGroupMaintenanceWindow

func NodeGroupShareSettings_v1beta1_FromProto added in v1.153.0

func NodeGroupShareSettings_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ShareSettings) *krm.NodeGroupShareSettings

func NodeGroupShareSettings_v1beta1_ToProto added in v1.153.0

func NodeGroupShareSettings_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.NodeGroupShareSettings) *pb.ShareSettings

func NodeTemplateNodeTypeFlexibility_v1beta1_FromProto added in v1.149.1

func NodeTemplateNodeTypeFlexibility_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.NodeTemplateNodeTypeFlexibility) *krm.NodeTemplateNodeTypeFlexibility

found existing non-generated mapping function "NodeGroupShareSettings_v1beta1_ToProto", skipping

func NodeGroupShareSettings_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.NodeGroupShareSettings) *pb.ShareSettings {
	if in == nil {
		return nil
	}
	out := &pb.ShareSettings{}
	out.ProjectMap = ProjectMap_ToProto(mapCtx, in.ProjectMap)
	out.ShareType = in.ShareType
	return out
}

func NodeTemplateNodeTypeFlexibility_v1beta1_ToProto added in v1.149.1

func NodeTemplateNodeTypeFlexibility_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.NodeTemplateNodeTypeFlexibility) *pb.NodeTemplateNodeTypeFlexibility

func NodeTemplateServerBinding_v1beta1_FromProto added in v1.149.1

func NodeTemplateServerBinding_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ServerBinding) *krm.NodeTemplateServerBinding

func NodeTemplateServerBinding_v1beta1_ToProto added in v1.149.1

func NodeTemplateServerBinding_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.NodeTemplateServerBinding) *pb.ServerBinding

func OutlierDetection_v1beta1_FromProto added in v1.154.0

func OutlierDetection_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.OutlierDetection) *krm.OutlierDetection

OutlierDetection_v1beta1_FromProto maps pb.OutlierDetection to OutlierDetection.

func OutlierDetection_v1beta1_ToProto added in v1.154.0

func OutlierDetection_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.OutlierDetection) *pb.OutlierDetection

OutlierDetection_v1beta1_ToProto maps OutlierDetection to pb.OutlierDetection.

func PacketmirroringCollectorIlbStatus_v1beta1_FromProto added in v1.154.0

func PacketmirroringCollectorIlbStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PacketMirroringForwardingRuleInfo) *krm.PacketmirroringCollectorIlbStatus

func PacketmirroringCollectorIlbStatus_v1beta1_ToProto added in v1.154.0

func PacketmirroringCollectorIlbStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.PacketmirroringCollectorIlbStatus) *pb.PacketMirroringForwardingRuleInfo

func PacketmirroringCollectorIlb_v1beta1_FromProto added in v1.154.0

func PacketmirroringCollectorIlb_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PacketMirroringForwardingRuleInfo) *krm.PacketmirroringCollectorIlb

func PacketmirroringCollectorIlb_v1beta1_ToProto added in v1.154.0

func PacketmirroringCollectorIlb_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.PacketmirroringCollectorIlb) *pb.PacketMirroringForwardingRuleInfo

func PacketmirroringFilter_v1beta1_FromProto added in v1.154.0

func PacketmirroringFilter_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PacketMirroringFilter) *krm.PacketmirroringFilter

found existing non-generated mapping function "PacketmirroringCollectorIlbStatus_v1beta1_ToProto", skipping

func PacketmirroringCollectorIlbStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.PacketmirroringCollectorIlbStatus) *pb.PacketMirroringForwardingRuleInfo {
	if in == nil {
		return nil
	}
	out := &pb.PacketMirroringForwardingRuleInfo{}
	// MISSING: CanonicalURL
	// (near miss): "CanonicalURL" vs "CanonicalUrl"
	// MISSING: URL
	return out
}

func PacketmirroringFilter_v1beta1_ToProto added in v1.154.0

func PacketmirroringFilter_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.PacketmirroringFilter) *pb.PacketMirroringFilter

func PacketmirroringInstances_v1beta1_FromProto added in v1.154.0

func PacketmirroringInstances_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PacketMirroringMirroredResourceInfoInstanceInfo) *krm.PacketmirroringInstances

func PacketmirroringInstances_v1beta1_ToProto added in v1.154.0

func PacketmirroringInstances_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.PacketmirroringInstances) *pb.PacketMirroringMirroredResourceInfoInstanceInfo

PacketmirroringInstances_v1beta1_ToProto maps InstanceRef to a string URL because reference mapping is not automated.

func PacketmirroringMirroredResources_v1beta1_FromProto added in v1.154.0

func PacketmirroringMirroredResources_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PacketMirroringMirroredResourceInfo) *krm.PacketmirroringMirroredResources

found existing non-generated mapping function "PacketmirroringInstances_v1beta1_ToProto", skipping

func PacketmirroringInstances_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.PacketmirroringInstances) *pb.PacketMirroringMirroredResourceInfoInstanceInfo {
	if in == nil {
		return nil
	}
	out := &pb.PacketMirroringMirroredResourceInfoInstanceInfo{}
	// MISSING: CanonicalURL
	// (near miss): "CanonicalURL" vs "CanonicalUrl"
	// MISSING: URL
	return out
}

func PacketmirroringMirroredResources_v1beta1_ToProto added in v1.154.0

func PacketmirroringMirroredResources_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.PacketmirroringMirroredResources) *pb.PacketMirroringMirroredResourceInfo

func PacketmirroringNetworkStatus_v1beta1_FromProto added in v1.154.0

func PacketmirroringNetworkStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PacketMirroringNetworkInfo) *krm.PacketmirroringNetworkStatus

func PacketmirroringNetworkStatus_v1beta1_ToProto added in v1.154.0

func PacketmirroringNetworkStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.PacketmirroringNetworkStatus) *pb.PacketMirroringNetworkInfo

func PacketmirroringNetwork_v1beta1_FromProto added in v1.154.0

func PacketmirroringNetwork_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PacketMirroringNetworkInfo) *krm.PacketmirroringNetwork

func PacketmirroringNetwork_v1beta1_ToProto added in v1.154.0

func PacketmirroringNetwork_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.PacketmirroringNetwork) *pb.PacketMirroringNetworkInfo

func PacketmirroringSubnetworks_v1beta1_FromProto added in v1.154.0

func PacketmirroringSubnetworks_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PacketMirroringMirroredResourceInfoSubnetInfo) *krm.PacketmirroringSubnetworks

func PacketmirroringSubnetworks_v1beta1_ToProto added in v1.154.0

func PacketmirroringSubnetworks_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.PacketmirroringSubnetworks) *pb.PacketMirroringMirroredResourceInfoSubnetInfo

PacketmirroringSubnetworks_v1beta1_ToProto maps ComputeSubnetworkRef to a string URL because reference mapping is not automated.

func PartnerAsn_FromProto added in v1.154.0

func PartnerAsn_FromProto(mapCtx *direct.MapContext, in *int64) *string

func PartnerAsn_ToProto added in v1.154.0

func PartnerAsn_ToProto(mapCtx *direct.MapContext, in *string) *int64

func ProjectList_FromProto added in v1.130.2

func ProjectList_FromProto(mapCtx *direct.MapContext, in []string) []*refs.ProjectRef

func ProjectList_ToProto added in v1.130.2

func ProjectList_ToProto(mapCtx *direct.MapContext, in []*refs.ProjectRef) []string

func Region_FromProto added in v1.154.0

func Region_FromProto(mapCtx *direct.MapContext, in *string) string

func Region_ToProto added in v1.154.0

func Region_ToProto(mapCtx *direct.MapContext, in string) *string

func RegionautoscalerAutoscalingPolicy_IsEmpty added in v1.154.0

func RegionautoscalerAutoscalingPolicy_IsEmpty(in *krm.RegionautoscalerAutoscalingPolicy) bool

RegionautoscalerAutoscalingPolicy_IsEmpty checks if a RegionautoscalerAutoscalingPolicy is empty.

func RegionautoscalerAutoscalingPolicy_v1alpha1_FromProto added in v1.154.0

func RegionautoscalerAutoscalingPolicy_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicy) *krm.RegionautoscalerAutoscalingPolicy

RegionautoscalerAutoscalingPolicy_v1alpha1_FromProto maps a pb.AutoscalingPolicy to a krm.RegionautoscalerAutoscalingPolicy.

func RegionautoscalerAutoscalingPolicy_v1alpha1_ToProto added in v1.154.0

func RegionautoscalerAutoscalingPolicy_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.RegionautoscalerAutoscalingPolicy) *pb.AutoscalingPolicy

RegionautoscalerAutoscalingPolicy_v1alpha1_ToProto maps a krm.RegionautoscalerAutoscalingPolicy to a pb.AutoscalingPolicy.

func RegionautoscalerCpuUtilization_v1alpha1_FromProto added in v1.154.0

func RegionautoscalerCpuUtilization_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyCpuUtilization) *krm.RegionautoscalerCpuUtilization

RegionautoscalerCpuUtilization_v1alpha1_FromProto maps a pb.AutoscalingPolicyCpuUtilization to a krm.RegionautoscalerCpuUtilization.

func RegionautoscalerCpuUtilization_v1alpha1_ToProto added in v1.154.0

func RegionautoscalerCpuUtilization_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.RegionautoscalerCpuUtilization) *pb.AutoscalingPolicyCpuUtilization

RegionautoscalerCpuUtilization_v1alpha1_ToProto maps a krm.RegionautoscalerCpuUtilization to a pb.AutoscalingPolicyCpuUtilization.

func RegionautoscalerFixedOrPercent_v1alpha1_FromProto added in v1.154.0

func RegionautoscalerFixedOrPercent_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.FixedOrPercent) *krm.RegionautoscalerFixedOrPercent

RegionautoscalerFixedOrPercent_v1alpha1_FromProto maps a pb.FixedOrPercent to a krm.RegionautoscalerFixedOrPercent.

func RegionautoscalerFixedOrPercent_v1alpha1_ToProto added in v1.154.0

func RegionautoscalerFixedOrPercent_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.RegionautoscalerFixedOrPercent) *pb.FixedOrPercent

RegionautoscalerFixedOrPercent_v1alpha1_ToProto maps a krm.RegionautoscalerFixedOrPercent to a pb.FixedOrPercent.

func RegionautoscalerLoadBalancingUtilization_v1alpha1_FromProto added in v1.154.0

func RegionautoscalerLoadBalancingUtilization_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyLoadBalancingUtilization) *krm.RegionautoscalerLoadBalancingUtilization

RegionautoscalerLoadBalancingUtilization_v1alpha1_FromProto maps a pb.AutoscalingPolicyLoadBalancingUtilization to a krm.RegionautoscalerLoadBalancingUtilization.

func RegionautoscalerLoadBalancingUtilization_v1alpha1_ToProto added in v1.154.0

func RegionautoscalerLoadBalancingUtilization_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.RegionautoscalerLoadBalancingUtilization) *pb.AutoscalingPolicyLoadBalancingUtilization

RegionautoscalerLoadBalancingUtilization_v1alpha1_ToProto maps a krm.RegionautoscalerLoadBalancingUtilization to a pb.AutoscalingPolicyLoadBalancingUtilization.

func RegionautoscalerMetric_v1alpha1_FromProto added in v1.154.0

func RegionautoscalerMetric_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyCustomMetricUtilization) *krm.RegionautoscalerMetric

RegionautoscalerMetric_v1alpha1_FromProto maps a pb.AutoscalingPolicyCustomMetricUtilization to a krm.RegionautoscalerMetric.

func RegionautoscalerMetric_v1alpha1_ToProto added in v1.154.0

func RegionautoscalerMetric_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.RegionautoscalerMetric) *pb.AutoscalingPolicyCustomMetricUtilization

RegionautoscalerMetric_v1alpha1_ToProto maps a krm.RegionautoscalerMetric to a pb.AutoscalingPolicyCustomMetricUtilization.

func RegionautoscalerScaleInControl_v1alpha1_FromProto added in v1.154.0

func RegionautoscalerScaleInControl_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyScaleInControl) *krm.RegionautoscalerScaleInControl

RegionautoscalerScaleInControl_v1alpha1_FromProto maps a pb.AutoscalingPolicyScaleInControl to a krm.RegionautoscalerScaleInControl.

func RegionautoscalerScaleInControl_v1alpha1_ToProto added in v1.154.0

func RegionautoscalerScaleInControl_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.RegionautoscalerScaleInControl) *pb.AutoscalingPolicyScaleInControl

RegionautoscalerScaleInControl_v1alpha1_ToProto maps a krm.RegionautoscalerScaleInControl to a pb.AutoscalingPolicyScaleInControl.

func RegionautoscalerScalingSchedules_v1alpha1_FromProto added in v1.154.0

func RegionautoscalerScalingSchedules_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingPolicyScalingSchedule) *krm.RegionautoscalerScalingSchedules

RegionautoscalerScalingSchedules_v1alpha1_FromProto maps a pb.AutoscalingPolicyScalingSchedule to a krm.RegionautoscalerScalingSchedules.

func RegionautoscalerScalingSchedules_v1alpha1_ToProto added in v1.154.0

func RegionautoscalerScalingSchedules_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.RegionautoscalerScalingSchedules) *pb.AutoscalingPolicyScalingSchedule

RegionautoscalerScalingSchedules_v1alpha1_ToProto maps a krm.RegionautoscalerScalingSchedules to a pb.AutoscalingPolicyScalingSchedule.

func RegionperinstanceconfigPreservedState_v1alpha1_FromProto added in v1.154.0

func RegionperinstanceconfigPreservedState_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.PreservedState) *krm.RegionperinstanceconfigPreservedState

func RegionperinstanceconfigPreservedState_v1alpha1_ToProto added in v1.154.0

func RegionperinstanceconfigPreservedState_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krm.RegionperinstanceconfigPreservedState) *pb.PreservedState

func ReservationGuestAccelerators_v1beta1_FromProto added in v1.151.0

func ReservationGuestAccelerators_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.AcceleratorConfig) *krm.ReservationGuestAccelerators

found existing non-generated mapping function "RegionautoscalerScalingSchedules_v1alpha1_ToProto", skipping

func RegionautoscalerScalingSchedules_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.RegionautoscalerScalingSchedules) *pb.AutoscalingPolicyScalingSchedule {
	if in == nil {
		return nil
	}
	out := &pb.AutoscalingPolicyScalingSchedule{}
	out.Description = in.Description
	out.Disabled = in.Disabled
	out.DurationSec = in.DurationSec
	out.MinRequiredReplicas = in.MinRequiredReplicas
	out.Schedule = in.Schedule
	out.TimeZone = in.TimeZone
	return out
}

func ReservationGuestAccelerators_v1beta1_ToProto added in v1.151.0

func ReservationGuestAccelerators_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ReservationGuestAccelerators) *pb.AcceleratorConfig

func ReservationSpecificReservation_v1beta1_FromProto added in v1.151.0

func ReservationSpecificReservation_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.AllocationSpecificSKUReservation) *krm.ReservationSpecificReservation

func ReservationSpecificReservation_v1beta1_ToProto added in v1.151.0

func ReservationSpecificReservation_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ReservationSpecificReservation) *pb.AllocationSpecificSKUReservation

func ResolveComputeAddress added in v1.122.0

func ResolveComputeAddress(ctx context.Context, reader client.Reader, src client.Object, ref *krm.ComputeAddressRef) (*krm.ComputeAddressRef, error)

func ResolveComputeFutureReservationRefs added in v1.152.0

func ResolveComputeFutureReservationRefs(ctx context.Context, reader client.Reader, projectMapper *projects.ProjectMapper, obj *krm.ComputeFutureReservation) error

func ResolveComputeNetwork added in v1.122.0

func ResolveComputeNetwork(ctx context.Context, reader client.Reader, src client.Object, ref *computerefs.ComputeNetworkRef) (*computerefs.ComputeNetworkRef, error)

func ResolveComputeReservationRefs added in v1.152.0

func ResolveComputeReservationRefs(ctx context.Context, reader client.Reader, projectMapper *projects.ProjectMapper, obj *krm.ComputeReservation) error

func ResolveComputeServiceAttachment added in v1.122.0

func ResolveComputeServiceAttachment(ctx context.Context, reader client.Reader, src client.Object, ref *refs.ComputeServiceAttachmentRef) (*refs.ComputeServiceAttachmentRef, error)

func ResolveComputeTargetGrpcProxy added in v1.122.0

func ResolveComputeTargetGrpcProxy(ctx context.Context, reader client.Reader, src client.Object, ref *refs.ComputeTargetGrpcProxyRef) (*refs.ComputeTargetGrpcProxyRef, error)

func ResolveComputeTargetHTTPProxy added in v1.122.0

func ResolveComputeTargetHTTPProxy(ctx context.Context, reader client.Reader, src client.Object, ref *refs.ComputeTargetHTTPProxyRef) (*refs.ComputeTargetHTTPProxyRef, error)

func ResolveComputeTargetHTTPSProxy added in v1.122.0

func ResolveComputeTargetHTTPSProxy(ctx context.Context, reader client.Reader, src client.Object, ref *refs.ComputeTargetHTTPSProxyRef) (*refs.ComputeTargetHTTPSProxyRef, error)

func ResolveComputeTargetSSLProxy added in v1.122.0

func ResolveComputeTargetSSLProxy(ctx context.Context, reader client.Reader, src client.Object, ref *refs.ComputeTargetSSLProxyRef) (*refs.ComputeTargetSSLProxyRef, error)

func ResolveComputeTargetTCPProxy added in v1.122.0

func ResolveComputeTargetTCPProxy(ctx context.Context, reader client.Reader, src client.Object, ref *refs.ComputeTargetTCPProxyRef) (*refs.ComputeTargetTCPProxyRef, error)

func ResolveComputeTargetVPNGateway added in v1.122.0

func ResolveComputeTargetVPNGateway(ctx context.Context, reader client.Reader, src client.Object, ref *refs.ComputeTargetVPNGatewayRef) (*refs.ComputeTargetVPNGatewayRef, error)

func ResolveIAMServiceAccount added in v1.138.0

func ResolveIAMServiceAccount(ctx context.Context, reader client.Reader, src client.Object, ref *refs.IAMServiceAccountRef) (*refs.IAMServiceAccountRef, error)

func ResolveMemorystoreInstanceServiceAttachment added in v1.151.0

func ResolveMemorystoreInstanceServiceAttachment(ctx context.Context, reader client.Reader, src client.Object, ref *krm.MemorystoreInstanceServiceAttachment) (*refs.ComputeServiceAttachmentRef, error)

func ResourcePolicyDiskConsistencyGroupPolicy_v1beta1_FromProto added in v1.149.1

func ResourcePolicyDiskConsistencyGroupPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ResourcePolicyDiskConsistencyGroupPolicy) *krm.ResourcePolicyDiskConsistencyGroupPolicy

func ResourcePolicyDiskConsistencyGroupPolicy_v1beta1_ToProto added in v1.149.1

func ResourcePolicyDiskConsistencyGroupPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ResourcePolicyDiskConsistencyGroupPolicy) *pb.ResourcePolicyDiskConsistencyGroupPolicy

func ResourcePolicyGroupPlacementPolicy_v1beta1_FromProto added in v1.149.1

func ResourcePolicyGroupPlacementPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ResourcePolicyGroupPlacementPolicy) *krm.ResourcePolicyGroupPlacementPolicy

func ResourcePolicyGroupPlacementPolicy_v1beta1_ToProto added in v1.149.1

func ResourcePolicyGroupPlacementPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ResourcePolicyGroupPlacementPolicy) *pb.ResourcePolicyGroupPlacementPolicy

func ResourcePolicyInstanceSchedulePolicy_v1beta1_FromProto added in v1.149.1

func ResourcePolicyInstanceSchedulePolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ResourcePolicyInstanceSchedulePolicy) *krm.ResourcePolicyInstanceSchedulePolicy

func ResourcePolicyInstanceSchedulePolicy_v1beta1_ToProto added in v1.149.1

func ResourcePolicyInstanceSchedulePolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ResourcePolicyInstanceSchedulePolicy) *pb.ResourcePolicyInstanceSchedulePolicy

func ResourcePolicySnapshotSchedulePolicyScheduleDailySchedule_v1beta1_FromProto added in v1.149.1

func ResourcePolicySnapshotSchedulePolicyScheduleDailySchedule_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ResourcePolicyDailyCycle) *krm.ResourcePolicySnapshotSchedulePolicyScheduleDailySchedule

func ResourcePolicySnapshotSchedulePolicyScheduleDailySchedule_v1beta1_ToProto added in v1.149.1

func ResourcePolicySnapshotSchedulePolicyScheduleDailySchedule_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ResourcePolicySnapshotSchedulePolicyScheduleDailySchedule) *pb.ResourcePolicyDailyCycle

func ResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule_v1beta1_FromProto added in v1.149.1

func ResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ResourcePolicyHourlyCycle) *krm.ResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule

func ResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule_v1beta1_ToProto added in v1.149.1

func ResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule) *pb.ResourcePolicyHourlyCycle

func ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeek_v1beta1_FromProto added in v1.149.1

func ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeek_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ResourcePolicyWeeklyCycleDayOfWeek) *krm.ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeek

found existing non-generated mapping function "ResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule_v1beta1_ToProto", skipping

func ResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule) *pb.ResourcePolicyWeeklyCycle {
	if in == nil {
		return nil
	}
	out := &pb.ResourcePolicyWeeklyCycle{}
	out.DayOfWeeks = direct.Slice_ToProto(mapCtx, in.DayOfWeeks, ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeek_v1beta1_ToProto)
	return out
}

func ResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule_v1beta1_FromProto added in v1.149.1

func ResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ResourcePolicyWeeklyCycle) *krm.ResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule

func ResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule_v1beta1_ToProto added in v1.149.1

func ResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule) *pb.ResourcePolicyWeeklyCycle

func ResourcePolicySnapshotSchedulePolicy_v1beta1_FromProto added in v1.149.1

func ResourcePolicySnapshotSchedulePolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ResourcePolicySnapshotSchedulePolicy) *krm.ResourcePolicySnapshotSchedulePolicy

func ResourcePolicySnapshotSchedulePolicy_v1beta1_ToProto added in v1.149.1

func ResourcePolicySnapshotSchedulePolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ResourcePolicySnapshotSchedulePolicy) *pb.ResourcePolicySnapshotSchedulePolicy

func RouterAdvertisedIPRange_v1beta1_FromProto added in v1.154.0

func RouterAdvertisedIPRange_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.RouterAdvertisedIpRange) *krm.RouterAdvertisedIPRange

RouterAdvertisedIPRange_v1beta1_FromProto maps a pb.RouterAdvertisedIpRange to a krm.RouterAdvertisedIPRange This is handcoded because Range is a pointer string in proto but a non-pointer in KRM.

func RouterAdvertisedIPRange_v1beta1_ToProto added in v1.154.0

func RouterAdvertisedIPRange_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.RouterAdvertisedIPRange) *pb.RouterAdvertisedIpRange

RouterAdvertisedIPRange_v1beta1_ToProto maps a krm.RouterAdvertisedIPRange to a pb.RouterAdvertisedIpRange This is handcoded because Range is a pointer string in proto but a non-pointer in KRM.

func RouterBGP_v1beta1_FromProto added in v1.154.0

func RouterBGP_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.RouterBgp) *krm.RouterBGP

RouterBGP_v1beta1_FromProto maps a pb.RouterBgp to a krm.RouterBGP This is handcoded because Asn and KeepaliveInterval have different types (uint32 vs int64)

func RouterBGP_v1beta1_ToProto added in v1.154.0

func RouterBGP_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.RouterBGP) *pb.RouterBgp

RouterBGP_v1beta1_ToProto maps a krm.RouterBGP to a pb.RouterBgp This is handcoded because Asn and KeepaliveInterval have different types (uint32 vs int64)

func RouternatAction_v1beta1_FromProto added in v1.154.0

func RouternatAction_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.RouterNatRuleAction) *krm.RouternatAction

RouternatAction_v1beta1_FromProto maps a pb.RouterNatRuleAction to a krm.RouternatAction

func RouternatAction_v1beta1_ToProto added in v1.154.0

func RouternatAction_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.RouternatAction) *pb.RouterNatRuleAction

RouternatAction_v1beta1_ToProto maps a krm.RouternatAction to a pb.RouterNatRuleAction

func RouternatLogConfig_v1beta1_FromProto added in v1.154.0

func RouternatLogConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.RouterNatLogConfig) *krm.RouternatLogConfig

RouternatLogConfig_v1beta1_FromProto maps a pb.RouterNatLogConfig to a krm.RouternatLogConfig

func RouternatLogConfig_v1beta1_ToProto added in v1.154.0

func RouternatLogConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.RouternatLogConfig) *pb.RouterNatLogConfig

RouternatLogConfig_v1beta1_ToProto maps a krm.RouternatLogConfig to a pb.RouterNatLogConfig

func RouternatRules_v1beta1_FromProto added in v1.154.0

func RouternatRules_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.RouterNatRule) *krm.RouternatRules

RouternatRules_v1beta1_FromProto maps a pb.RouterNatRule to a krm.RouternatRules

func RouternatRules_v1beta1_ToProto added in v1.154.0

func RouternatRules_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.RouternatRules) *pb.RouterNatRule

RouternatRules_v1beta1_ToProto maps a krm.RouternatRules to a pb.RouterNatRule

func RouternatSubnetwork_v1beta1_FromProto added in v1.154.0

func RouternatSubnetwork_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.RouterNatSubnetworkToNat) *krm.RouternatSubnetwork

RouternatSubnetwork_v1beta1_FromProto maps a pb.RouterNatSubnetworkToNat to a krm.RouternatSubnetwork

func RouternatSubnetwork_v1beta1_ToProto added in v1.154.0

func RouternatSubnetwork_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.RouternatSubnetwork) *pb.RouterNatSubnetworkToNat

RouternatSubnetwork_v1beta1_ToProto maps a krm.RouternatSubnetwork to a pb.RouterNatSubnetworkToNat

func ScalingSchedules_v1alpha1_FromProto added in v1.154.0

func ScalingSchedules_v1alpha1_FromProto(mapCtx *direct.MapContext, in map[string]*pb.AutoscalingPolicyScalingSchedule) []krm.RegionautoscalerScalingSchedules

ScalingSchedules_v1alpha1_FromProto maps a protobuf scaling schedules map to a slice of krm.RegionautoscalerScalingSchedules.

func ScalingSchedules_v1alpha1_ToProto added in v1.154.0

func ScalingSchedules_v1alpha1_ToProto(mapCtx *direct.MapContext, in []krm.RegionautoscalerScalingSchedules) map[string]*pb.AutoscalingPolicyScalingSchedule

ScalingSchedules_v1alpha1_ToProto maps a slice of krm.RegionautoscalerScalingSchedules to a protobuf scaling schedules map.

func SecurityPolicyAdaptiveProtectionConfig_v1beta1_FromProto added in v1.145.0

func SecurityPolicyAdaptiveProtectionConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyAdaptiveProtectionConfig) *krm.SecurityPolicyAdaptiveProtectionConfig

func SecurityPolicyAdaptiveProtectionConfig_v1beta1_ToProto added in v1.145.0

func SecurityPolicyAdaptiveProtectionConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyAdaptiveProtectionConfig) *pb.SecurityPolicyAdaptiveProtectionConfig

func SecurityPolicyAdvancedOptionsConfig_v1beta1_FromProto added in v1.145.0

func SecurityPolicyAdvancedOptionsConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyAdvancedOptionsConfig) *krm.SecurityPolicyAdvancedOptionsConfig

found existing non-generated mapping function "RouterBGP_v1beta1_ToProto", skipping

func RouterBGP_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.RouterBGP) *pb.RouterBgp {
	if in == nil {
		return nil
	}
	out := &pb.RouterBgp{}
	out.AdvertiseMode = in.AdvertiseMode
	out.AdvertisedGroups = in.AdvertisedGroups
	out.AdvertisedIpRanges = direct.Slice_ToProto(mapCtx, in.AdvertisedIPRanges, RouterAdvertisedIPRange_v1beta1_ToProto)
	out.Asn = in.Asn
	// MISSING: IdentifierRange
	out.KeepaliveInterval = in.KeepaliveInterval
	return out
}

func SecurityPolicyAdvancedOptionsConfig_v1beta1_ToProto added in v1.145.0

func SecurityPolicyAdvancedOptionsConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyAdvancedOptionsConfig) *pb.SecurityPolicyAdvancedOptionsConfig

func SecurityPolicyRecaptchaOptionsConfig_v1beta1_FromProto added in v1.145.0

func SecurityPolicyRecaptchaOptionsConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyRecaptchaOptionsConfig) *krm.SecurityPolicyRecaptchaOptionsConfig

func SecurityPolicyRecaptchaOptionsConfig_v1beta1_ToProto added in v1.145.0

func SecurityPolicyRecaptchaOptionsConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyRecaptchaOptionsConfig) *pb.SecurityPolicyRecaptchaOptionsConfig

func SecurityPolicyRuleHTTPHeaderAction_v1beta1_FromProto added in v1.145.0

func SecurityPolicyRuleHTTPHeaderAction_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyRuleHttpHeaderAction) *krm.SecurityPolicyRuleHTTPHeaderAction

func SecurityPolicyRuleHTTPHeaderAction_v1beta1_ToProto added in v1.145.0

func SecurityPolicyRuleHTTPHeaderAction_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyRuleHTTPHeaderAction) *pb.SecurityPolicyRuleHttpHeaderAction

func SecurityPolicyRuleMatcherConfig_v1beta1_FromProto added in v1.145.0

func SecurityPolicyRuleMatcherConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyRuleMatcherConfig) *krm.SecurityPolicyRuleMatcherConfig

func SecurityPolicyRuleMatcherConfig_v1beta1_ToProto added in v1.145.0

func SecurityPolicyRuleMatcherConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyRuleMatcherConfig) *pb.SecurityPolicyRuleMatcherConfig

func SecurityPolicyRuleMatcherExpr_v1beta1_FromProto added in v1.145.0

func SecurityPolicyRuleMatcherExpr_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Expr) *krm.SecurityPolicyRuleMatcherExpr

func SecurityPolicyRuleMatcherExpr_v1beta1_ToProto added in v1.145.0

func SecurityPolicyRuleMatcherExpr_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyRuleMatcherExpr) *pb.Expr

func SecurityPolicyRuleMatcher_v1beta1_FromProto added in v1.145.0

func SecurityPolicyRuleMatcher_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyRuleMatcher) *krm.SecurityPolicyRuleMatcher

func SecurityPolicyRuleMatcher_v1beta1_ToProto added in v1.145.0

func SecurityPolicyRuleMatcher_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyRuleMatcher) *pb.SecurityPolicyRuleMatcher

func SecurityPolicyRulePreconfiguredWafConfig_v1beta1_FromProto added in v1.145.0

func SecurityPolicyRulePreconfiguredWafConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyRulePreconfiguredWafConfig) *krm.SecurityPolicyRulePreconfiguredWafConfig

func SecurityPolicyRulePreconfiguredWafConfig_v1beta1_ToProto added in v1.145.0

func SecurityPolicyRulePreconfiguredWafConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyRulePreconfiguredWafConfig) *pb.SecurityPolicyRulePreconfiguredWafConfig

func SecurityPolicyRuleRateLimitOptionsThreshold_v1beta1_FromProto added in v1.145.0

func SecurityPolicyRuleRateLimitOptionsThreshold_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyRuleRateLimitOptionsThreshold) *krm.SecurityPolicyRuleRateLimitOptionsThreshold

func SecurityPolicyRuleRateLimitOptionsThreshold_v1beta1_ToProto added in v1.145.0

func SecurityPolicyRuleRateLimitOptionsThreshold_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyRuleRateLimitOptionsThreshold) *pb.SecurityPolicyRuleRateLimitOptionsThreshold

func SecurityPolicyRuleRateLimitOptions_v1beta1_FromProto added in v1.145.0

func SecurityPolicyRuleRateLimitOptions_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyRuleRateLimitOptions) *krm.SecurityPolicyRuleRateLimitOptions

func SecurityPolicyRuleRateLimitOptions_v1beta1_ToProto added in v1.145.0

func SecurityPolicyRuleRateLimitOptions_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyRuleRateLimitOptions) *pb.SecurityPolicyRuleRateLimitOptions

func SecurityPolicyRuleRedirectOptions_v1beta1_FromProto added in v1.145.0

func SecurityPolicyRuleRedirectOptions_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyRuleRedirectOptions) *krm.SecurityPolicyRuleRedirectOptions

func SecurityPolicyRuleRedirectOptions_v1beta1_ToProto added in v1.145.0

func SecurityPolicyRuleRedirectOptions_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyRuleRedirectOptions) *pb.SecurityPolicyRuleRedirectOptions

func SecurityPolicyRule_v1beta1_FromProto added in v1.145.0

func SecurityPolicyRule_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecurityPolicyRule) *krm.SecurityPolicyRule

func SecurityPolicyRule_v1beta1_ToProto added in v1.145.0

func SecurityPolicyRule_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecurityPolicyRule) *pb.SecurityPolicyRule

func SecuritySettings_v1beta1_FromProto added in v1.154.0

func SecuritySettings_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SecuritySettings) *krm.SecuritySettings

SecuritySettings_v1beta1_FromProto maps pb.SecuritySettings to SecuritySettings.

func SecuritySettings_v1beta1_ToProto added in v1.154.0

func SecuritySettings_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SecuritySettings) *pb.SecuritySettings

SecuritySettings_v1beta1_ToProto maps SecuritySettings to pb.SecuritySettings.

func ServiceattachmentConnectedEndpointsStatus_v1beta1_FromProto added in v1.154.0

func ServiceattachmentConnectedEndpointsStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ServiceAttachmentConnectedEndpoint) *krm.ServiceattachmentConnectedEndpointsStatus

func ServiceattachmentConnectedEndpointsStatus_v1beta1_ToProto added in v1.154.0

func ServiceattachmentConnectedEndpointsStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ServiceattachmentConnectedEndpointsStatus) *pb.ServiceAttachmentConnectedEndpoint

func ServiceattachmentConsumerAcceptLists_v1beta1_FromProto added in v1.154.0

func ServiceattachmentConsumerAcceptLists_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ServiceAttachmentConsumerProjectLimit) *krm.ServiceattachmentConsumerAcceptLists

func ServiceattachmentConsumerAcceptLists_v1beta1_ToProto added in v1.154.0

func ServiceattachmentConsumerAcceptLists_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ServiceattachmentConsumerAcceptLists) *pb.ServiceAttachmentConsumerProjectLimit

func ServiceattachmentPscServiceAttachmentIdStatus_v1beta1_FromProto added in v1.154.0

func ServiceattachmentPscServiceAttachmentIdStatus_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Uint128) *krm.ServiceattachmentPscServiceAttachmentIdStatus

func ServiceattachmentPscServiceAttachmentIdStatus_v1beta1_ToProto added in v1.154.0

func ServiceattachmentPscServiceAttachmentIdStatus_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ServiceattachmentPscServiceAttachmentIdStatus) *pb.Uint128

func ShareSettingsObservedState_v1alpha1_FromProto added in v1.151.0

func ShareSettingsObservedState_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.ShareSettings) *krmcomputev1alpha1.ShareSettingsObservedState

func ShareSettingsObservedState_v1alpha1_ToProto added in v1.151.0

func ShareSettingsObservedState_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ShareSettingsObservedState) *pb.ShareSettings

func ShareSettingsProjectConfigObservedState_v1alpha1_FromProto added in v1.151.0

func ShareSettingsProjectConfigObservedState_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.ShareSettingsProjectConfig) *krmcomputev1alpha1.ShareSettingsProjectConfigObservedState

found existing non-generated mapping function "ShareSettingsProjectConfig_v1beta1_ToProto", skipping

func ShareSettingsProjectConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ShareSettingsProjectConfig) *pb.ShareSettingsProjectConfig {
	if in == nil {
		return nil
	}
	out := &pb.ShareSettingsProjectConfig{}
	if in.ProjectIDRef != nil {
		out.ProjectId = &in.ProjectIDRef.External
	}
	return out
}

func ShareSettingsProjectConfigObservedState_v1alpha1_ToProto added in v1.151.0

func ShareSettingsProjectConfigObservedState_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ShareSettingsProjectConfigObservedState) *pb.ShareSettingsProjectConfig

func ShareSettingsProjectConfig_v1alpha1_FromProto added in v1.151.0

func ShareSettingsProjectConfig_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.ShareSettingsProjectConfig) *krmcomputev1alpha1.ShareSettingsProjectConfig

func ShareSettingsProjectConfig_v1alpha1_ToProto added in v1.151.0

func ShareSettingsProjectConfig_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ShareSettingsProjectConfig) *pb.ShareSettingsProjectConfig

func ShareSettingsProjectConfig_v1beta1_FromProto added in v1.151.0

func ShareSettingsProjectConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ShareSettingsProjectConfig) *krm.ShareSettingsProjectConfig

func ShareSettingsProjectConfig_v1beta1_ToProto added in v1.151.0

func ShareSettingsProjectConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ShareSettingsProjectConfig) *pb.ShareSettingsProjectConfig

func ShareSettings_v1alpha1_FromProto added in v1.151.0

func ShareSettings_v1alpha1_FromProto(mapCtx *direct.MapContext, in *pb.ShareSettings) *krmcomputev1alpha1.ShareSettings

func ShareSettings_v1alpha1_ToProto added in v1.151.0

func ShareSettings_v1alpha1_ToProto(mapCtx *direct.MapContext, in *krmcomputev1alpha1.ShareSettings) *pb.ShareSettings

func ShareSettings_v1beta1_FromProto added in v1.151.0

func ShareSettings_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.ShareSettings) *krm.ShareSettings

func ShareSettings_v1beta1_ToProto added in v1.151.0

func ShareSettings_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.ShareSettings) *pb.ShareSettings

func SnapshotSnapshotEncryptionKey_v1beta1_FromProto added in v1.154.0

func SnapshotSnapshotEncryptionKey_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CustomerEncryptionKey) *krm.SnapshotSnapshotEncryptionKey

SnapshotSnapshotEncryptionKey_v1beta1_FromProto converts pb.CustomerEncryptionKey to krm.SnapshotSnapshotEncryptionKey. This is handcoded because rawKey is represented as a sensitive secret.Legacy struct in KRM, and ref fields require custom mapping.

func SnapshotSnapshotEncryptionKey_v1beta1_ToProto added in v1.154.0

func SnapshotSnapshotEncryptionKey_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SnapshotSnapshotEncryptionKey) *pb.CustomerEncryptionKey

SnapshotSnapshotEncryptionKey_v1beta1_ToProto converts krm.SnapshotSnapshotEncryptionKey to pb.CustomerEncryptionKey. This is handcoded because rawKey is represented as a sensitive secret.Legacy struct in KRM, and ref fields require custom mapping.

func SnapshotSourceDiskEncryptionKey_v1beta1_FromProto added in v1.154.0

func SnapshotSourceDiskEncryptionKey_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CustomerEncryptionKey) *krm.SnapshotSourceDiskEncryptionKey

SnapshotSourceDiskEncryptionKey_v1beta1_FromProto converts pb.CustomerEncryptionKey to krm.SnapshotSourceDiskEncryptionKey. This is handcoded because rawKey is represented as a sensitive secret.Legacy struct in KRM, and ref fields require custom mapping.

func SnapshotSourceDiskEncryptionKey_v1beta1_ToProto added in v1.154.0

func SnapshotSourceDiskEncryptionKey_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SnapshotSourceDiskEncryptionKey) *pb.CustomerEncryptionKey

SnapshotSourceDiskEncryptionKey_v1beta1_ToProto converts krm.SnapshotSourceDiskEncryptionKey to pb.CustomerEncryptionKey. This is handcoded because rawKey is represented as a sensitive secret.Legacy struct in KRM, and ref fields require custom mapping.

func StorageBucketRef_FromProto added in v1.154.0

func StorageBucketRef_FromProto(mapCtx *direct.MapContext, in string) *storagev1beta1.StorageBucketRef

func StorageBucketRef_ToProto added in v1.154.0

func StorageBucketRef_ToProto(mapCtx *direct.MapContext, in *storagev1beta1.StorageBucketRef) *string

func SubnetworkList_FromProto added in v1.130.2

func SubnetworkList_FromProto(mapCtx *direct.MapContext, in []string) []*computev1beta1.ComputeSubnetworkRef

func SubnetworkList_ToProto added in v1.130.2

func SubnetworkList_ToProto(mapCtx *direct.MapContext, in []*computev1beta1.ComputeSubnetworkRef) []string

func SubnetworkLogConfig_v1beta1_FromProto added in v1.143.0

func SubnetworkLogConfig_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SubnetworkLogConfig) *krm.SubnetworkLogConfig

found existing non-generated mapping function "SnapshotSourceDiskEncryptionKey_v1beta1_ToProto", skipping

func SnapshotSourceDiskEncryptionKey_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SnapshotSourceDiskEncryptionKey) *pb.CustomerEncryptionKey {
	if in == nil {
		return nil
	}
	out := &pb.CustomerEncryptionKey{}
	// MISSING: KMSKeyName
	// MISSING: KMSKeyServiceAccount
	out.RawKey = in.RawKey
	// MISSING: RsaEncryptedKey
	// MISSING: Sha256
	return out
}

func SubnetworkLogConfig_v1beta1_ToProto added in v1.143.0

func SubnetworkLogConfig_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SubnetworkLogConfig) *pb.SubnetworkLogConfig

func SubnetworkSecondaryRange_v1beta1_FromProto added in v1.143.0

func SubnetworkSecondaryRange_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.SubnetworkSecondaryRange) *krm.SubnetworkSecondaryRange

func SubnetworkSecondaryRange_v1beta1_ToProto added in v1.143.0

func SubnetworkSecondaryRange_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.SubnetworkSecondaryRange) *pb.SubnetworkSecondaryRange

func Subsetting_v1beta1_FromProto added in v1.154.0

func Subsetting_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Subsetting) *krm.Subsetting

Subsetting_v1beta1_FromProto maps pb.Subsetting to Subsetting.

func Subsetting_v1beta1_ToProto added in v1.154.0

func Subsetting_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.Subsetting) *pb.Subsetting

Subsetting_v1beta1_ToProto maps Subsetting to pb.Subsetting.

func UrlmapAbortRequired_v1beta1_FromProto added in v1.154.0

func UrlmapAbortRequired_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpFaultAbort) *krm.UrlmapAbortRequired

func UrlmapAbortRequired_v1beta1_ToProto added in v1.154.0

func UrlmapAbortRequired_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapAbortRequired) *pb.HttpFaultAbort

func UrlmapAbort_v1beta1_FromProto added in v1.154.0

func UrlmapAbort_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpFaultAbort) *krm.UrlmapAbort

func UrlmapAbort_v1beta1_ToProto added in v1.154.0

func UrlmapAbort_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapAbort) *pb.HttpFaultAbort

func UrlmapCorsPolicyRequired_v1beta1_FromProto added in v1.154.0

func UrlmapCorsPolicyRequired_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CorsPolicy) *krm.UrlmapCorsPolicyRequired

func UrlmapCorsPolicyRequired_v1beta1_ToProto added in v1.154.0

func UrlmapCorsPolicyRequired_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapCorsPolicyRequired) *pb.CorsPolicy

func UrlmapCorsPolicy_v1beta1_FromProto added in v1.154.0

func UrlmapCorsPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CorsPolicy) *krm.UrlmapCorsPolicy

func UrlmapCorsPolicy_v1beta1_ToProto added in v1.154.0

func UrlmapCorsPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapCorsPolicy) *pb.CorsPolicy

func UrlmapDefaultCustomErrorResponsePolicy_v1beta1_FromProto added in v1.154.0

func UrlmapDefaultCustomErrorResponsePolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CustomErrorResponsePolicy) *krm.UrlmapDefaultCustomErrorResponsePolicy

func UrlmapDefaultCustomErrorResponsePolicy_v1beta1_ToProto added in v1.154.0

func UrlmapDefaultCustomErrorResponsePolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapDefaultCustomErrorResponsePolicy) *pb.CustomErrorResponsePolicy

func UrlmapDefaultRouteAction_v1beta1_FromProto added in v1.154.0

func UrlmapDefaultRouteAction_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRouteAction) *krm.UrlmapDefaultRouteAction

func UrlmapDefaultRouteAction_v1beta1_ToProto added in v1.154.0

func UrlmapDefaultRouteAction_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapDefaultRouteAction) *pb.HttpRouteAction

func UrlmapDefaultService_v1beta1_FromProto added in v1.154.0

func UrlmapDefaultService_v1beta1_FromProto(mapCtx *direct.MapContext, in *string) *krm.UrlmapDefaultService

func UrlmapDefaultService_v1beta1_ToProto added in v1.154.0

func UrlmapDefaultService_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapDefaultService) *string

func UrlmapDefaultUrlRedirect_v1beta1_FromProto added in v1.154.0

func UrlmapDefaultUrlRedirect_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRedirectAction) *krm.UrlmapDefaultUrlRedirect

func UrlmapDefaultUrlRedirect_v1beta1_ToProto added in v1.154.0

func UrlmapDefaultUrlRedirect_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapDefaultUrlRedirect) *pb.HttpRedirectAction

func UrlmapDelayRequired_v1beta1_FromProto added in v1.154.0

func UrlmapDelayRequired_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpFaultDelay) *krm.UrlmapDelayRequired

func UrlmapDelayRequired_v1beta1_ToProto added in v1.154.0

func UrlmapDelayRequired_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapDelayRequired) *pb.HttpFaultDelay

func UrlmapDelayRouteRules_v1beta1_FromProto added in v1.154.0

func UrlmapDelayRouteRules_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpFaultDelay) *krm.UrlmapDelayRouteRules

func UrlmapDelayRouteRules_v1beta1_ToProto added in v1.154.0

func UrlmapDelayRouteRules_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapDelayRouteRules) *pb.HttpFaultDelay

func UrlmapDelay_v1beta1_FromProto added in v1.154.0

func UrlmapDelay_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpFaultDelay) *krm.UrlmapDelay

func UrlmapDelay_v1beta1_ToProto added in v1.154.0

func UrlmapDelay_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapDelay) *pb.HttpFaultDelay

func UrlmapErrorResponseRule_v1beta1_FromProto added in v1.154.0

func UrlmapErrorResponseRule_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.CustomErrorResponsePolicyCustomErrorResponseRule) *krm.UrlmapErrorResponseRule

func UrlmapErrorResponseRule_v1beta1_ToProto added in v1.154.0

func UrlmapErrorResponseRule_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapErrorResponseRule) *pb.CustomErrorResponsePolicyCustomErrorResponseRule

func UrlmapFaultInjectionPolicyRequired_v1beta1_FromProto added in v1.154.0

func UrlmapFaultInjectionPolicyRequired_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpFaultInjection) *krm.UrlmapFaultInjectionPolicyRequired

func UrlmapFaultInjectionPolicyRequired_v1beta1_ToProto added in v1.154.0

func UrlmapFaultInjectionPolicyRequired_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapFaultInjectionPolicyRequired) *pb.HttpFaultInjection

func UrlmapFaultInjectionPolicyRouteRules_v1beta1_FromProto added in v1.154.0

func UrlmapFaultInjectionPolicyRouteRules_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpFaultInjection) *krm.UrlmapFaultInjectionPolicyRouteRules

func UrlmapFaultInjectionPolicyRouteRules_v1beta1_ToProto added in v1.154.0

func UrlmapFaultInjectionPolicyRouteRules_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapFaultInjectionPolicyRouteRules) *pb.HttpFaultInjection

func UrlmapFaultInjectionPolicy_v1beta1_FromProto added in v1.154.0

func UrlmapFaultInjectionPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpFaultInjection) *krm.UrlmapFaultInjectionPolicy

func UrlmapFaultInjectionPolicy_v1beta1_ToProto added in v1.154.0

func UrlmapFaultInjectionPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapFaultInjectionPolicy) *pb.HttpFaultInjection

func UrlmapFilterLabels_v1beta1_FromProto added in v1.154.0

func UrlmapFilterLabels_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.MetadataFilterLabelMatch) *krm.UrlmapFilterLabels

func UrlmapFilterLabels_v1beta1_ToProto added in v1.154.0

func UrlmapFilterLabels_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapFilterLabels) *pb.MetadataFilterLabelMatch

func UrlmapFixedDelayRequired_v1beta1_FromProto added in v1.154.0

func UrlmapFixedDelayRequired_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Duration) *krm.UrlmapFixedDelayRequired

func UrlmapFixedDelayRequired_v1beta1_ToProto added in v1.154.0

func UrlmapFixedDelayRequired_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapFixedDelayRequired) *pb.Duration

func UrlmapFixedDelay_v1beta1_FromProto added in v1.154.0

func UrlmapFixedDelay_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Duration) *krm.UrlmapFixedDelay

func UrlmapFixedDelay_v1beta1_ToProto added in v1.154.0

func UrlmapFixedDelay_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapFixedDelay) *pb.Duration

func UrlmapHeaderActionOptional_v1beta1_FromProto added in v1.154.0

func UrlmapHeaderActionOptional_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpHeaderAction) *krm.UrlmapHeaderActionOptional

func UrlmapHeaderActionOptional_v1beta1_ToProto added in v1.154.0

func UrlmapHeaderActionOptional_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapHeaderActionOptional) *pb.HttpHeaderAction

func UrlmapHeaderAction_v1beta1_FromProto added in v1.154.0

func UrlmapHeaderAction_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpHeaderAction) *krm.UrlmapHeaderAction

found existing non-generated mapping function "UrlmapFixedDelay_v1beta1_ToProto", skipping

func UrlmapFixedDelay_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapFixedDelay) *pb.Duration {
	if in == nil {
		return nil
	}
	out := &pb.Duration{}
	out.Nanos = in.Nanos
	out.Seconds = in.Seconds
	return out
}

func UrlmapHeaderAction_v1beta1_ToProto added in v1.154.0

func UrlmapHeaderAction_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapHeaderAction) *pb.HttpHeaderAction

func UrlmapHeaderMatches_v1beta1_FromProto added in v1.154.0

func UrlmapHeaderMatches_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpHeaderMatch) *krm.UrlmapHeaderMatches

func UrlmapHeaderMatches_v1beta1_ToProto added in v1.154.0

func UrlmapHeaderMatches_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapHeaderMatches) *pb.HttpHeaderMatch

func UrlmapHostRule_v1beta1_FromProto added in v1.154.0

func UrlmapHostRule_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HostRule) *krm.UrlmapHostRule

func UrlmapHostRule_v1beta1_ToProto added in v1.154.0

func UrlmapHostRule_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapHostRule) *pb.HostRule

func UrlmapMatchRules_v1beta1_FromProto added in v1.154.0

func UrlmapMatchRules_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRouteRuleMatch) *krm.UrlmapMatchRules

found existing non-generated mapping function "UrlmapHostRule_v1beta1_ToProto", skipping

func UrlmapHostRule_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapHostRule) *pb.HostRule {
	if in == nil {
		return nil
	}
	out := &pb.HostRule{}
	out.Description = in.Description
	out.Hosts = in.Hosts
	out.PathMatcher = in.PathMatcher
	return out
}

func UrlmapMatchRules_v1beta1_ToProto added in v1.154.0

func UrlmapMatchRules_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapMatchRules) *pb.HttpRouteRuleMatch

func UrlmapMetadataFilters_v1beta1_FromProto added in v1.154.0

func UrlmapMetadataFilters_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.MetadataFilter) *krm.UrlmapMetadataFilters

func UrlmapMetadataFilters_v1beta1_ToProto added in v1.154.0

func UrlmapMetadataFilters_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapMetadataFilters) *pb.MetadataFilter

func UrlmapPathMatcher_v1beta1_FromProto added in v1.154.0

func UrlmapPathMatcher_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PathMatcher) *krm.UrlmapPathMatcher

func UrlmapPathMatcher_v1beta1_ToProto added in v1.154.0

func UrlmapPathMatcher_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapPathMatcher) *pb.PathMatcher

func UrlmapPathRule_v1beta1_FromProto added in v1.154.0

func UrlmapPathRule_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.PathRule) *krm.UrlmapPathRule

func UrlmapPathRule_v1beta1_ToProto added in v1.154.0

func UrlmapPathRule_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapPathRule) *pb.PathRule

func UrlmapPerTryTimeoutRequired_v1beta1_FromProto added in v1.154.0

func UrlmapPerTryTimeoutRequired_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Duration) *krm.UrlmapPerTryTimeoutRequired

func UrlmapPerTryTimeoutRequired_v1beta1_ToProto added in v1.154.0

func UrlmapPerTryTimeoutRequired_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapPerTryTimeoutRequired) *pb.Duration

func UrlmapPerTryTimeout_v1beta1_FromProto added in v1.154.0

func UrlmapPerTryTimeout_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Duration) *krm.UrlmapPerTryTimeout

func UrlmapPerTryTimeout_v1beta1_ToProto added in v1.154.0

func UrlmapPerTryTimeout_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapPerTryTimeout) *pb.Duration

func UrlmapQueryParameterMatches_v1beta1_FromProto added in v1.154.0

func UrlmapQueryParameterMatches_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpQueryParameterMatch) *krm.UrlmapQueryParameterMatches

func UrlmapQueryParameterMatches_v1beta1_ToProto added in v1.154.0

func UrlmapQueryParameterMatches_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapQueryParameterMatches) *pb.HttpQueryParameterMatch

func UrlmapRangeMatch_v1beta1_FromProto added in v1.154.0

func UrlmapRangeMatch_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Int64RangeMatch) *krm.UrlmapRangeMatch

func UrlmapRangeMatch_v1beta1_ToProto added in v1.154.0

func UrlmapRangeMatch_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRangeMatch) *pb.Int64RangeMatch

func UrlmapRequestHeadersToAddOptional_v1beta1_FromProto added in v1.154.0

func UrlmapRequestHeadersToAddOptional_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpHeaderOption) *krm.UrlmapRequestHeadersToAddOptional

func UrlmapRequestHeadersToAddOptional_v1beta1_ToProto added in v1.154.0

func UrlmapRequestHeadersToAddOptional_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRequestHeadersToAddOptional) *pb.HttpHeaderOption

func UrlmapRequestHeadersToAdd_v1beta1_FromProto added in v1.154.0

func UrlmapRequestHeadersToAdd_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpHeaderOption) *krm.UrlmapRequestHeadersToAdd

func UrlmapRequestHeadersToAdd_v1beta1_ToProto added in v1.154.0

func UrlmapRequestHeadersToAdd_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRequestHeadersToAdd) *pb.HttpHeaderOption

func UrlmapRequestMirrorPolicyRequired_v1beta1_FromProto added in v1.154.0

func UrlmapRequestMirrorPolicyRequired_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.RequestMirrorPolicy) *krm.UrlmapRequestMirrorPolicyRequired

func UrlmapRequestMirrorPolicyRequired_v1beta1_ToProto added in v1.154.0

func UrlmapRequestMirrorPolicyRequired_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRequestMirrorPolicyRequired) *pb.RequestMirrorPolicy

func UrlmapRequestMirrorPolicy_v1beta1_FromProto added in v1.154.0

func UrlmapRequestMirrorPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.RequestMirrorPolicy) *krm.UrlmapRequestMirrorPolicy

found existing non-generated mapping function "UrlmapRequestHeadersToAdd_v1beta1_ToProto", skipping

func UrlmapRequestHeadersToAdd_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRequestHeadersToAdd) *pb.HttpHeaderOption {
	if in == nil {
		return nil
	}
	out := &pb.HttpHeaderOption{}
	out.HeaderName = in.HeaderName
	out.HeaderValue = in.HeaderValue
	out.Replace = in.Replace
	return out
}

func UrlmapRequestMirrorPolicy_v1beta1_ToProto added in v1.154.0

func UrlmapRequestMirrorPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRequestMirrorPolicy) *pb.RequestMirrorPolicy

func UrlmapResponseHeadersToAddOptional_v1beta1_FromProto added in v1.154.0

func UrlmapResponseHeadersToAddOptional_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpHeaderOption) *krm.UrlmapResponseHeadersToAddOptional

func UrlmapResponseHeadersToAddOptional_v1beta1_ToProto added in v1.154.0

func UrlmapResponseHeadersToAddOptional_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapResponseHeadersToAddOptional) *pb.HttpHeaderOption

func UrlmapResponseHeadersToAdd_v1beta1_FromProto added in v1.154.0

func UrlmapResponseHeadersToAdd_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpHeaderOption) *krm.UrlmapResponseHeadersToAdd

func UrlmapResponseHeadersToAdd_v1beta1_ToProto added in v1.154.0

func UrlmapResponseHeadersToAdd_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapResponseHeadersToAdd) *pb.HttpHeaderOption

func UrlmapRetryPolicyOptional_v1beta1_FromProto added in v1.154.0

func UrlmapRetryPolicyOptional_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRetryPolicy) *krm.UrlmapRetryPolicyOptional

func UrlmapRetryPolicyOptional_v1beta1_ToProto added in v1.154.0

func UrlmapRetryPolicyOptional_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRetryPolicyOptional) *pb.HttpRetryPolicy

func UrlmapRetryPolicyRequired_v1beta1_FromProto added in v1.154.0

func UrlmapRetryPolicyRequired_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRetryPolicy) *krm.UrlmapRetryPolicyRequired

func UrlmapRetryPolicyRequired_v1beta1_ToProto added in v1.154.0

func UrlmapRetryPolicyRequired_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRetryPolicyRequired) *pb.HttpRetryPolicy

func UrlmapRetryPolicy_v1beta1_FromProto added in v1.154.0

func UrlmapRetryPolicy_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRetryPolicy) *krm.UrlmapRetryPolicy

func UrlmapRetryPolicy_v1beta1_ToProto added in v1.154.0

func UrlmapRetryPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRetryPolicy) *pb.HttpRetryPolicy

func UrlmapRouteActionPathMatcherDefaultRouteAction_v1beta1_FromProto added in v1.154.0

func UrlmapRouteActionPathMatcherDefaultRouteAction_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRouteAction) *krm.UrlmapRouteActionPathMatcherDefaultRouteAction

func UrlmapRouteActionPathMatcherDefaultRouteAction_v1beta1_ToProto added in v1.154.0

func UrlmapRouteActionPathMatcherDefaultRouteAction_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRouteActionPathMatcherDefaultRouteAction) *pb.HttpRouteAction

func UrlmapRouteActionPathRule_v1beta1_FromProto added in v1.154.0

func UrlmapRouteActionPathRule_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRouteAction) *krm.UrlmapRouteActionPathRule

func UrlmapRouteActionPathRule_v1beta1_ToProto added in v1.154.0

func UrlmapRouteActionPathRule_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRouteActionPathRule) *pb.HttpRouteAction

func UrlmapRouteActionRouteRules_v1beta1_FromProto added in v1.154.0

func UrlmapRouteActionRouteRules_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRouteAction) *krm.UrlmapRouteActionRouteRules

func UrlmapRouteActionRouteRules_v1beta1_ToProto added in v1.154.0

func UrlmapRouteActionRouteRules_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRouteActionRouteRules) *pb.HttpRouteAction

func UrlmapRouteAction_v1beta1_FromProto added in v1.154.0

func UrlmapRouteAction_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRouteAction) *krm.UrlmapRouteAction

found existing non-generated mapping function "UrlmapRetryPolicy_v1beta1_ToProto", skipping

func UrlmapRetryPolicy_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRetryPolicy) *pb.HttpRetryPolicy {
	if in == nil {
		return nil
	}
	out := &pb.HttpRetryPolicy{}
	out.NumRetries = in.NumRetries
	out.PerTryTimeout = UrlmapPerTryTimeout_v1beta1_ToProto(mapCtx, in.PerTryTimeout)
	out.RetryConditions = in.RetryConditions
	return out
}

func UrlmapRouteAction_v1beta1_ToProto added in v1.154.0

func UrlmapRouteAction_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRouteAction) *pb.HttpRouteAction

func UrlmapRouteRules_v1beta1_FromProto added in v1.154.0

func UrlmapRouteRules_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRouteRule) *krm.UrlmapRouteRules

func UrlmapRouteRules_v1beta1_ToProto added in v1.154.0

func UrlmapRouteRules_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapRouteRules) *pb.HttpRouteRule

func UrlmapService_v1beta1_FromProto added in v1.154.0

func UrlmapService_v1beta1_FromProto(mapCtx *direct.MapContext, in *string) *krm.UrlmapService

func UrlmapService_v1beta1_ToProto added in v1.154.0

func UrlmapService_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapService) *string

func UrlmapTest_v1beta1_FromProto added in v1.154.0

func UrlmapTest_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.UrlMapTest) *krm.UrlmapTest

func UrlmapTest_v1beta1_ToProto added in v1.154.0

func UrlmapTest_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapTest) *pb.UrlMapTest

func UrlmapTimeoutRequired_v1beta1_FromProto added in v1.154.0

func UrlmapTimeoutRequired_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Duration) *krm.UrlmapTimeoutRequired

func UrlmapTimeoutRequired_v1beta1_ToProto added in v1.154.0

func UrlmapTimeoutRequired_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapTimeoutRequired) *pb.Duration

func UrlmapTimeout_v1beta1_FromProto added in v1.154.0

func UrlmapTimeout_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.Duration) *krm.UrlmapTimeout

func UrlmapTimeout_v1beta1_ToProto added in v1.154.0

func UrlmapTimeout_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapTimeout) *pb.Duration

func UrlmapUrlRedirect_v1beta1_FromProto added in v1.154.0

func UrlmapUrlRedirect_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.HttpRedirectAction) *krm.UrlmapUrlRedirect

func UrlmapUrlRedirect_v1beta1_ToProto added in v1.154.0

func UrlmapUrlRedirect_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapUrlRedirect) *pb.HttpRedirectAction

func UrlmapUrlRewriteWithPathTemplate_v1beta1_FromProto added in v1.154.0

func UrlmapUrlRewriteWithPathTemplate_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.UrlRewrite) *krm.UrlmapUrlRewriteWithPathTemplate

func UrlmapUrlRewriteWithPathTemplate_v1beta1_ToProto added in v1.154.0

func UrlmapUrlRewriteWithPathTemplate_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapUrlRewriteWithPathTemplate) *pb.UrlRewrite

func UrlmapUrlRewrite_v1beta1_FromProto added in v1.154.0

func UrlmapUrlRewrite_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.UrlRewrite) *krm.UrlmapUrlRewrite

func UrlmapUrlRewrite_v1beta1_ToProto added in v1.154.0

func UrlmapUrlRewrite_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapUrlRewrite) *pb.UrlRewrite

func UrlmapWeightedBackendServicesRequired_v1beta1_FromProto added in v1.154.0

func UrlmapWeightedBackendServicesRequired_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.WeightedBackendService) *krm.UrlmapWeightedBackendServicesRequired

func UrlmapWeightedBackendServicesRequired_v1beta1_ToProto added in v1.154.0

func UrlmapWeightedBackendServicesRequired_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapWeightedBackendServicesRequired) *pb.WeightedBackendService

func UrlmapWeightedBackendServices_v1beta1_FromProto added in v1.154.0

func UrlmapWeightedBackendServices_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.WeightedBackendService) *krm.UrlmapWeightedBackendServices

func UrlmapWeightedBackendServices_v1beta1_ToProto added in v1.154.0

func UrlmapWeightedBackendServices_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.UrlmapWeightedBackendServices) *pb.WeightedBackendService

func VPNGatewayInterface_v1beta1_FromProto added in v1.154.0

func VPNGatewayInterface_v1beta1_FromProto(mapCtx *direct.MapContext, in *pb.VpnGatewayVpnGatewayInterface) *krm.VPNGatewayInterface

VPNGatewayInterface_v1beta1_FromProto maps a pb.VpnGatewayVpnGatewayInterface to krm.VPNGatewayInterface. This function is handcoded because ID in KRM is an int64 pointer, whereas ID in Proto is a uint32 pointer.

func VPNGatewayInterface_v1beta1_ToProto added in v1.154.0

func VPNGatewayInterface_v1beta1_ToProto(mapCtx *direct.MapContext, in *krm.VPNGatewayInterface) *pb.VpnGatewayVpnGatewayInterface

VPNGatewayInterface_v1beta1_ToProto maps a krm.VPNGatewayInterface to pb.VpnGatewayVpnGatewayInterface. This function is handcoded because ID in KRM is an int64 pointer, whereas ID in Proto is a uint32 pointer.

func VlanTag8021q_FromProto added in v1.154.0

func VlanTag8021q_FromProto(mapCtx *direct.MapContext, in *int32) *int64

func VlanTag8021q_ToProto added in v1.154.0

func VlanTag8021q_ToProto(mapCtx *direct.MapContext, in *int64) *int32

Types

type ComputeAddressAdapter added in v1.154.0

type ComputeAddressAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeAddressAdapter) Create added in v1.154.0

func (*ComputeAddressAdapter) Delete added in v1.154.0

func (*ComputeAddressAdapter) Export added in v1.154.0

func (*ComputeAddressAdapter) Find added in v1.154.0

func (*ComputeAddressAdapter) Update added in v1.154.0

type ComputeAutoscalerAdapter added in v1.154.0

type ComputeAutoscalerAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeAutoscalerAdapter) Create added in v1.154.0

func (*ComputeAutoscalerAdapter) Delete added in v1.154.0

func (*ComputeAutoscalerAdapter) Export added in v1.154.0

func (*ComputeAutoscalerAdapter) Find added in v1.154.0

func (*ComputeAutoscalerAdapter) Update added in v1.154.0

type ComputeBackendServiceSignedURLKeyAdapter added in v1.154.0

type ComputeBackendServiceSignedURLKeyAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeBackendServiceSignedURLKeyAdapter) Create added in v1.154.0

func (*ComputeBackendServiceSignedURLKeyAdapter) Delete added in v1.154.0

func (*ComputeBackendServiceSignedURLKeyAdapter) Export added in v1.154.0

func (*ComputeBackendServiceSignedURLKeyAdapter) Find added in v1.154.0

func (*ComputeBackendServiceSignedURLKeyAdapter) Update added in v1.154.0

type ComputeDiskAdapter added in v1.154.0

type ComputeDiskAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeDiskAdapter) Create added in v1.154.0

func (*ComputeDiskAdapter) Delete added in v1.154.0

func (a *ComputeDiskAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

func (*ComputeDiskAdapter) Export added in v1.154.0

func (*ComputeDiskAdapter) Find added in v1.154.0

func (a *ComputeDiskAdapter) Find(ctx context.Context) (bool, error)

func (*ComputeDiskAdapter) Update added in v1.154.0

type ComputeDiskResourcePolicyAttachmentAdapter added in v1.154.0

type ComputeDiskResourcePolicyAttachmentAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeDiskResourcePolicyAttachmentAdapter) Create added in v1.154.0

func (*ComputeDiskResourcePolicyAttachmentAdapter) Delete added in v1.154.0

func (*ComputeDiskResourcePolicyAttachmentAdapter) Export added in v1.154.0

func (*ComputeDiskResourcePolicyAttachmentAdapter) Find added in v1.154.0

func (*ComputeDiskResourcePolicyAttachmentAdapter) Update added in v1.154.0

type ComputeExternalVPNGatewayAdapter added in v1.154.0

type ComputeExternalVPNGatewayAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeExternalVPNGatewayAdapter) Create added in v1.154.0

func (*ComputeExternalVPNGatewayAdapter) Delete added in v1.154.0

func (*ComputeExternalVPNGatewayAdapter) Export added in v1.154.0

func (*ComputeExternalVPNGatewayAdapter) Find added in v1.154.0

func (*ComputeExternalVPNGatewayAdapter) Update added in v1.154.0

type ComputeExternalVPNGatewayModel added in v1.154.0

type ComputeExternalVPNGatewayModel struct {
	// contains filtered or unexported fields
}

func (*ComputeExternalVPNGatewayModel) AdapterForObject added in v1.154.0

func (*ComputeExternalVPNGatewayModel) AdapterForURL added in v1.154.0

type ComputeHTTPHealthCheckAdapter added in v1.154.0

type ComputeHTTPHealthCheckAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeHTTPHealthCheckAdapter) Create added in v1.154.0

func (*ComputeHTTPHealthCheckAdapter) Delete added in v1.154.0

func (*ComputeHTTPHealthCheckAdapter) Export added in v1.154.0

func (*ComputeHTTPHealthCheckAdapter) Find added in v1.154.0

func (*ComputeHTTPHealthCheckAdapter) Update added in v1.154.0

type ComputeHTTPSHealthCheckAdapter added in v1.154.0

type ComputeHTTPSHealthCheckAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeHTTPSHealthCheckAdapter) Create added in v1.154.0

func (*ComputeHTTPSHealthCheckAdapter) Delete added in v1.154.0

func (*ComputeHTTPSHealthCheckAdapter) Export added in v1.154.0

func (*ComputeHTTPSHealthCheckAdapter) Find added in v1.154.0

func (*ComputeHTTPSHealthCheckAdapter) Update added in v1.154.0

type ComputeImageAdapter added in v1.154.0

type ComputeImageAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeImageAdapter) Create added in v1.154.0

func (*ComputeImageAdapter) Delete added in v1.154.0

func (*ComputeImageAdapter) Export added in v1.154.0

func (*ComputeImageAdapter) Find added in v1.154.0

func (a *ComputeImageAdapter) Find(ctx context.Context) (bool, error)

func (*ComputeImageAdapter) Update added in v1.154.0

type ComputeInstanceGroupAdapter added in v1.154.0

type ComputeInstanceGroupAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeInstanceGroupAdapter) Create added in v1.154.0

func (*ComputeInstanceGroupAdapter) Delete added in v1.154.0

func (*ComputeInstanceGroupAdapter) Export added in v1.154.0

func (*ComputeInstanceGroupAdapter) Find added in v1.154.0

func (*ComputeInstanceGroupAdapter) Update added in v1.154.0

type ComputeInstanceGroupManagerAdapter added in v1.154.0

type ComputeInstanceGroupManagerAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeInstanceGroupManagerAdapter) Create added in v1.154.0

func (*ComputeInstanceGroupManagerAdapter) Delete added in v1.154.0

func (*ComputeInstanceGroupManagerAdapter) Export added in v1.154.0

func (*ComputeInstanceGroupManagerAdapter) Find added in v1.154.0

func (*ComputeInstanceGroupManagerAdapter) Update added in v1.154.0

type ComputeNodeTemplateAdapter added in v1.154.0

type ComputeNodeTemplateAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeNodeTemplateAdapter) Create added in v1.154.0

func (*ComputeNodeTemplateAdapter) Delete added in v1.154.0

func (*ComputeNodeTemplateAdapter) Export added in v1.154.0

func (*ComputeNodeTemplateAdapter) Find added in v1.154.0

func (*ComputeNodeTemplateAdapter) Update added in v1.154.0

type ComputeTargetHTTPSProxyAdapter added in v1.154.0

type ComputeTargetHTTPSProxyAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeTargetHTTPSProxyAdapter) Create added in v1.154.0

func (*ComputeTargetHTTPSProxyAdapter) Delete added in v1.154.0

func (*ComputeTargetHTTPSProxyAdapter) Export added in v1.154.0

func (*ComputeTargetHTTPSProxyAdapter) Find added in v1.154.0

func (*ComputeTargetHTTPSProxyAdapter) Update added in v1.154.0

type ComputeURLMapAdapter added in v1.154.0

type ComputeURLMapAdapter struct {
	// contains filtered or unexported fields
}

func (*ComputeURLMapAdapter) Create added in v1.154.0

func (*ComputeURLMapAdapter) Delete added in v1.154.0

func (*ComputeURLMapAdapter) Export added in v1.154.0

func (*ComputeURLMapAdapter) Find added in v1.154.0

func (a *ComputeURLMapAdapter) Find(ctx context.Context) (bool, error)

func (*ComputeURLMapAdapter) Update added in v1.154.0

type FirewallAdapter added in v1.154.0

type FirewallAdapter struct {
	// contains filtered or unexported fields
}

func (*FirewallAdapter) Create added in v1.154.0

func (a *FirewallAdapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error

func (*FirewallAdapter) Delete added in v1.154.0

func (a *FirewallAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

func (*FirewallAdapter) Export added in v1.154.0

func (*FirewallAdapter) Find added in v1.154.0

func (a *FirewallAdapter) Find(ctx context.Context) (bool, error)

func (*FirewallAdapter) Update added in v1.154.0

func (a *FirewallAdapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error

type FutureReservationAdapter added in v1.151.0

type FutureReservationAdapter struct {
	// contains filtered or unexported fields
}

func (*FutureReservationAdapter) Create added in v1.151.0

Create creates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

func (*FutureReservationAdapter) Delete added in v1.151.0

Delete the resource from GCP service when the corresponding Config Connector resource is deleted.

func (*FutureReservationAdapter) Export added in v1.151.0

Export maps the GCP object to a Config Connector resource `spec`.

func (*FutureReservationAdapter) Find added in v1.151.0

Find retrieves the GCP resource. Return true means the object is found. This triggers Adapter `Update` call. Return false means the object is not found. This triggers Adapter `Create` call. Return a non-nil error requeues the requests.

func (*FutureReservationAdapter) Update added in v1.151.0

Update updates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

type NetworkAdapter added in v1.154.0

type NetworkAdapter struct {
	// contains filtered or unexported fields
}

func (*NetworkAdapter) Create added in v1.154.0

func (a *NetworkAdapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error

func (*NetworkAdapter) Delete added in v1.154.0

func (a *NetworkAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

func (*NetworkAdapter) Export added in v1.154.0

func (*NetworkAdapter) Find added in v1.154.0

func (a *NetworkAdapter) Find(ctx context.Context) (bool, error)

func (*NetworkAdapter) Update added in v1.154.0

func (a *NetworkAdapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error

type NetworkAttachmentAdapter added in v1.131.0

type NetworkAttachmentAdapter struct {
	// contains filtered or unexported fields
}

func (*NetworkAttachmentAdapter) Create added in v1.131.0

Create creates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

func (*NetworkAttachmentAdapter) Delete added in v1.131.0

Delete the resource from GCP service when the corresponding Config Connector resource is deleted.

func (*NetworkAttachmentAdapter) Export added in v1.131.0

Export maps the GCP object to a Config Connector resource `spec`.

func (*NetworkAttachmentAdapter) Find added in v1.131.0

Find retrieves the GCP resource. Return true means the object is found. This triggers Adapter `Update` call. Return false means the object is not found. This triggers Adapter `Create` call. Return a non-nil error requeues the requests.

func (*NetworkAttachmentAdapter) Update added in v1.131.0

Update updates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

type NetworkEdgeSecurityServiceAdapter added in v1.131.0

type NetworkEdgeSecurityServiceAdapter struct {
	// contains filtered or unexported fields
}

func (*NetworkEdgeSecurityServiceAdapter) Create added in v1.131.0

Create creates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

func (*NetworkEdgeSecurityServiceAdapter) Delete added in v1.131.0

Delete the resource from GCP service when the corresponding Config Connector resource is deleted.

func (*NetworkEdgeSecurityServiceAdapter) Export added in v1.131.0

Export maps the GCP object to a Config Connector resource `spec`.

func (*NetworkEdgeSecurityServiceAdapter) Find added in v1.131.0

Find retrieves the GCP resource. Return true means the object is found. This triggers Adapter `Update` call. Return false means the object is not found. This triggers Adapter `Create` call. Return a non-nil error requeues the requests.

func (*NetworkEdgeSecurityServiceAdapter) Update added in v1.131.0

Update updates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

type ReservationAdapter added in v1.152.0

type ReservationAdapter struct {
	// contains filtered or unexported fields
}

func (*ReservationAdapter) Create added in v1.152.0

Create creates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

func (*ReservationAdapter) Delete added in v1.152.0

func (a *ReservationAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

Delete the resource from GCP service when the corresponding Config Connector resource is deleted.

func (*ReservationAdapter) Export added in v1.152.0

Export maps the GCP object to a Config Connector resource `spec`.

func (*ReservationAdapter) Find added in v1.152.0

func (a *ReservationAdapter) Find(ctx context.Context) (bool, error)

Find retrieves the GCP resource.

func (*ReservationAdapter) Update added in v1.152.0

type RouteAdapter added in v1.154.0

type RouteAdapter struct {
	// contains filtered or unexported fields
}

func (*RouteAdapter) Create added in v1.154.0

func (a *RouteAdapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error

func (*RouteAdapter) Delete added in v1.154.0

func (a *RouteAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

func (*RouteAdapter) Export added in v1.154.0

func (*RouteAdapter) Find added in v1.154.0

func (a *RouteAdapter) Find(ctx context.Context) (bool, error)

func (*RouteAdapter) Update added in v1.154.0

func (a *RouteAdapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error

type RouterAdapter added in v1.154.0

type RouterAdapter struct {
	// contains filtered or unexported fields
}

func (*RouterAdapter) Create added in v1.154.0

func (a *RouterAdapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error

func (*RouterAdapter) Delete added in v1.154.0

func (a *RouterAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

func (*RouterAdapter) Export added in v1.154.0

func (*RouterAdapter) Find added in v1.154.0

func (a *RouterAdapter) Find(ctx context.Context) (bool, error)

func (*RouterAdapter) Update added in v1.154.0

func (a *RouterAdapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error

type RouterInterfaceAdapter added in v1.154.0

type RouterInterfaceAdapter struct {
	// contains filtered or unexported fields
}

func (*RouterInterfaceAdapter) Create added in v1.154.0

func (*RouterInterfaceAdapter) Delete added in v1.154.0

func (*RouterInterfaceAdapter) Export added in v1.154.0

func (*RouterInterfaceAdapter) Find added in v1.154.0

func (*RouterInterfaceAdapter) Update added in v1.154.0

type RouterNATAdapter added in v1.154.0

type RouterNATAdapter struct {
	// contains filtered or unexported fields
}

func (*RouterNATAdapter) Create added in v1.154.0

func (a *RouterNATAdapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error

func (*RouterNATAdapter) Delete added in v1.154.0

func (a *RouterNATAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

func (*RouterNATAdapter) Export added in v1.154.0

func (*RouterNATAdapter) Find added in v1.154.0

func (a *RouterNATAdapter) Find(ctx context.Context) (bool, error)

func (*RouterNATAdapter) Update added in v1.154.0

func (a *RouterNATAdapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error

type SSLPolicyAdapter added in v1.154.0

type SSLPolicyAdapter struct {
	// contains filtered or unexported fields
}

func (*SSLPolicyAdapter) Create added in v1.154.0

func (a *SSLPolicyAdapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error

func (*SSLPolicyAdapter) Delete added in v1.154.0

func (a *SSLPolicyAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

func (*SSLPolicyAdapter) Export added in v1.154.0

func (*SSLPolicyAdapter) Find added in v1.154.0

func (a *SSLPolicyAdapter) Find(ctx context.Context) (bool, error)

func (*SSLPolicyAdapter) Update added in v1.154.0

func (a *SSLPolicyAdapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error

type SecurityPolicyAdapter added in v1.154.0

type SecurityPolicyAdapter struct {
	// contains filtered or unexported fields
}

func (*SecurityPolicyAdapter) Create added in v1.154.0

func (*SecurityPolicyAdapter) Delete added in v1.154.0

func (*SecurityPolicyAdapter) Export added in v1.154.0

func (*SecurityPolicyAdapter) Find added in v1.154.0

func (*SecurityPolicyAdapter) Update added in v1.154.0

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL