networkconnectivity

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: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllocationOptions_FromProto added in v1.151.0

func AllocationOptions_FromProto(mapCtx *direct.MapContext, in *pb.AllocationOptions) *krm.AllocationOptions

func AllocationOptions_ToProto added in v1.151.0

func AllocationOptions_ToProto(mapCtx *direct.MapContext, in *krm.AllocationOptions) *pb.AllocationOptions

func GoogleRpcErrorInfo_FromProto

func GoogleRpcErrorInfo_FromProto(mapCtx *direct.MapContext, in *pb.GoogleRpcErrorInfo) *krm.GoogleRpcErrorInfo

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

func AllocationOptions_ToProto(mapCtx *direct.MapContext, in *krm.AllocationOptions) *pb.AllocationOptions {
	if in == nil {
		return nil
	}
	out := &pb.AllocationOptions{}
	out.AllocationStrategy = direct.ValueOf(in.AllocationStrategy)
	out.FirstAvailableRangesLookupSize = direct.ValueOf(in.FirstAvailableRangesLookupSize)
	return out
}

func GoogleRpcErrorInfo_ToProto

func GoogleRpcErrorInfo_ToProto(mapCtx *direct.MapContext, in *krm.GoogleRpcErrorInfo) *pb.GoogleRpcErrorInfo

func GoogleRpcStatus_FromProto

func GoogleRpcStatus_FromProto(mapCtx *direct.MapContext, in *pb.GoogleRpcStatus) *krm.GoogleRpcStatus

func GoogleRpcStatus_ToProto

func GoogleRpcStatus_ToProto(mapCtx *direct.MapContext, in *krm.GoogleRpcStatus) *pb.GoogleRpcStatus

func Group_CreateTime_FromProto

func Group_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func Group_CreateTime_ToProto

func Group_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func Group_UpdateTime_FromProto

func Group_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func Group_UpdateTime_ToProto

func Group_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func Hub_CreateTime_FromProto

func Hub_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func Hub_CreateTime_ToProto

func Hub_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func Hub_UpdateTime_FromProto

func Hub_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func Hub_UpdateTime_ToProto

func Hub_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func InternalRange_CreateTime_FromProto

func InternalRange_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func InternalRange_CreateTime_ToProto

func InternalRange_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func InternalRange_UpdateTime_FromProto

func InternalRange_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func InternalRange_UpdateTime_ToProto

func InternalRange_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func Migration_FromProto added in v1.130.1

func Migration_FromProto(mapCtx *direct.MapContext, in *pb.Migration) *krm.Migration

func Migration_ToProto added in v1.130.1

func Migration_ToProto(mapCtx *direct.MapContext, in *krm.Migration) *pb.Migration

func NetworkConnectivityInternalRangeObservedState_FromProto added in v1.130.1

func NetworkConnectivityInternalRangeObservedState_FromProto(mapCtx *direct.MapContext, in *pb.InternalRange) *krm.NetworkConnectivityInternalRangeObservedState

func NetworkConnectivityInternalRangeObservedState_ToProto added in v1.130.1

func NetworkConnectivityInternalRangeObservedState_ToProto(mapCtx *direct.MapContext, in *krm.NetworkConnectivityInternalRangeObservedState) *pb.InternalRange

func NetworkConnectivityInternalRangeSpec_FromProto added in v1.130.1

func NetworkConnectivityInternalRangeSpec_FromProto(mapCtx *direct.MapContext, in *pb.InternalRange) *krm.NetworkConnectivityInternalRangeSpec

func NetworkConnectivityInternalRangeSpec_ToProto added in v1.130.1

func NetworkConnectivityInternalRangeSpec_ToProto(mapCtx *direct.MapContext, in *krm.NetworkConnectivityInternalRangeSpec) *pb.InternalRange

func NetworkConnectivityRegionalEndpointObservedState_FromProto added in v1.152.0

func NetworkConnectivityRegionalEndpointObservedState_FromProto(mapCtx *direct.MapContext, in *pb.RegionalEndpoint) *krm.NetworkConnectivityRegionalEndpointObservedState

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

func NetworkConnectivityInternalRangeSpec_ToProto(mapCtx *direct.MapContext, in *krm.NetworkConnectivityInternalRangeSpec) *pb.InternalRange {
	if in == nil {
		return nil
	}
	out := &pb.InternalRange{}
	out.AllocationOptions = AllocationOptions_ToProto(mapCtx, in.AllocationOptions)
	out.Description = direct.ValueOf(in.Description)
	// MISSING: ExcludeCIDRRanges
	// MISSING: Immutable
	out.IpCidrRange = direct.ValueOf(in.IPCIDRRange)
	out.Labels = in.Labels
	out.Migration = Migration_ToProto(mapCtx, in.Migration)
	// MISSING: Name
	if in.NetworkRef != nil {
		out.Network = in.NetworkRef.External
	}
	out.Overlaps = in.Overlaps
	out.Peering = direct.ValueOf(in.Peering)
	out.PrefixLength = direct.ValueOf(in.PrefixLength)
	out.TargetCidrRange = in.TargetCIDRRange
	out.Usage = direct.ValueOf(in.Usage)
	return out
}

func NetworkConnectivityRegionalEndpointObservedState_ToProto added in v1.152.0

func NetworkConnectivityRegionalEndpointObservedState_ToProto(mapCtx *direct.MapContext, in *krm.NetworkConnectivityRegionalEndpointObservedState) *pb.RegionalEndpoint

func NetworkConnectivityRegionalEndpointSpec_FromProto added in v1.152.0

func NetworkConnectivityRegionalEndpointSpec_FromProto(mapCtx *direct.MapContext, in *pb.RegionalEndpoint) *krm.NetworkConnectivityRegionalEndpointSpec

func NetworkConnectivityRegionalEndpointSpec_ToProto added in v1.152.0

func NetworkConnectivityRegionalEndpointSpec_ToProto(mapCtx *direct.MapContext, in *krm.NetworkConnectivityRegionalEndpointSpec) *pb.RegionalEndpoint

func NetworkConnectivityServiceConnectionPolicySpec_Network_ToProto

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

func NetworkConnectivityServiceConnectionPolicySpec_ToProto

func NetworkConnectivityServiceConnectionPolicySpec_ToProto(mapCtx *direct.MapContext, in *krm.NetworkConnectivityServiceConnectionPolicySpec) *pb.ServiceConnectionPolicy

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

func NetworkConnectivityServiceConnectionPolicySpec_FromProto(mapCtx *direct.MapContext, in *pb.ServiceConnectionPolicy) *krm.NetworkConnectivityServiceConnectionPolicySpec {
	if in == nil {
		return nil
	}
	out := &krm.NetworkConnectivityServiceConnectionPolicySpec{}
	// MISSING: AutoCreatedSubnetInfo
	out.Description = direct.LazyPtr(in.GetDescription())
	// MISSING: Labels
	// MISSING: Name
	out.Network = direct.LazyPtr(in.GetNetwork())
	out.PSCConfig = PSCConfig_FromProto(mapCtx, in.GetPscConfig())
	out.ServiceClass = direct.LazyPtr(in.GetServiceClass())
	return out
}

func NewInternalRangeModel added in v1.131.0

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

func NewRegionalEndpointModel added in v1.152.0

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

func OperationMetadata_CreateTime_FromProto

func OperationMetadata_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func OperationMetadata_CreateTime_ToProto

func OperationMetadata_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func OperationMetadata_EndTime_FromProto

func OperationMetadata_EndTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func OperationMetadata_EndTime_ToProto

func OperationMetadata_EndTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func PSCConfig_FromProto added in v1.151.0

func PSCConfig_FromProto(mapCtx *direct.MapContext, in *pb.PscConfig) *krm.PSCConfig

func PSCConfig_Subnetworks_FromProto added in v1.151.0

func PSCConfig_Subnetworks_FromProto(mapCtx *direct.MapContext, in []string) []computev1beta1.ComputeSubnetworkRef

func PSCConfig_Subnetworks_ToProto added in v1.151.0

func PSCConfig_Subnetworks_ToProto(mapCtx *direct.MapContext, in []computev1beta1.ComputeSubnetworkRef) []string

func PSCConfig_ToProto added in v1.151.0

func PSCConfig_ToProto(mapCtx *direct.MapContext, in *krm.PSCConfig) *pb.PscConfig

func PSCConnection_FromProto added in v1.151.0

func PSCConnection_FromProto(mapCtx *direct.MapContext, in *pb.PscConnection) *krm.PSCConnection

func PSCConnection_ToProto added in v1.151.0

func PSCConnection_ToProto(mapCtx *direct.MapContext, in *krm.PSCConnection) *pb.PscConnection

func PolicyBasedRoute_CreateTime_FromProto

func PolicyBasedRoute_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func PolicyBasedRoute_CreateTime_ToProto

func PolicyBasedRoute_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func PolicyBasedRoute_UpdateTime_FromProto

func PolicyBasedRoute_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func PolicyBasedRoute_UpdateTime_ToProto

func PolicyBasedRoute_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func RegionalEndpoint_CreateTime_FromProto

func RegionalEndpoint_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func RegionalEndpoint_CreateTime_ToProto

func RegionalEndpoint_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func RegionalEndpoint_UpdateTime_FromProto

func RegionalEndpoint_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func RegionalEndpoint_UpdateTime_ToProto

func RegionalEndpoint_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func RouteTable_CreateTime_FromProto

func RouteTable_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func RouteTable_CreateTime_ToProto

func RouteTable_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func RouteTable_UpdateTime_FromProto

func RouteTable_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func RouteTable_UpdateTime_ToProto

func RouteTable_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func Route_CreateTime_FromProto

func Route_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func Route_CreateTime_ToProto

func Route_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func Route_UpdateTime_FromProto

func Route_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func Route_UpdateTime_ToProto

func Route_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func ServiceClass_CreateTime_FromProto

func ServiceClass_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func ServiceClass_CreateTime_ToProto

func ServiceClass_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func ServiceClass_UpdateTime_FromProto

func ServiceClass_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func ServiceClass_UpdateTime_ToProto

func ServiceClass_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func ServiceConnectionMap_CreateTime_FromProto

func ServiceConnectionMap_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func ServiceConnectionMap_CreateTime_ToProto

func ServiceConnectionMap_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func ServiceConnectionMap_UpdateTime_FromProto

func ServiceConnectionMap_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func ServiceConnectionMap_UpdateTime_ToProto

func ServiceConnectionMap_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func ServiceConnectionPolicy_CreateTime_FromProto

func ServiceConnectionPolicy_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func ServiceConnectionPolicy_CreateTime_ToProto

func ServiceConnectionPolicy_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func ServiceConnectionPolicy_UpdateTime_FromProto

func ServiceConnectionPolicy_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func ServiceConnectionPolicy_UpdateTime_ToProto

func ServiceConnectionPolicy_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func ServiceConnectionToken_CreateTime_FromProto

func ServiceConnectionToken_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func ServiceConnectionToken_CreateTime_ToProto

func ServiceConnectionToken_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func ServiceConnectionToken_ExpireTime_FromProto

func ServiceConnectionToken_ExpireTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func ServiceConnectionToken_ExpireTime_ToProto

func ServiceConnectionToken_ExpireTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func ServiceConnectionToken_UpdateTime_FromProto

func ServiceConnectionToken_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func ServiceConnectionToken_UpdateTime_ToProto

func ServiceConnectionToken_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func Spoke_CreateTime_FromProto

func Spoke_CreateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func Spoke_CreateTime_ToProto

func Spoke_CreateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func Spoke_UpdateTime_FromProto

func Spoke_UpdateTime_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func Spoke_UpdateTime_ToProto

func Spoke_UpdateTime_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

func Timestamp_FromProto

func Timestamp_FromProto(mapCtx *direct.MapContext, in *timestamppb.Timestamp) *string

func Timestamp_ToProto

func Timestamp_ToProto(mapCtx *direct.MapContext, in *string) *timestamppb.Timestamp

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL