types

package
v0.0.0-...-d9c1391 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(b bool) *bool

func BoolValue

func BoolValue(b *bool) bool

func DurationPtr

func DurationPtr(d time.Duration) *time.Duration

func Int64Ptr

func Int64Ptr(i int64) *int64

func Int64Value

func Int64Value(i *int64) int64

func IntValue

func IntValue(i *int) int

func Ptr

func Ptr[T any](v T) *T

func PtrIfNotEmpty

func PtrIfNotEmpty[T comparable](v T) *T

func RawJsonBytes

func RawJsonBytes(bytes []byte) *rawJsonBytes

func StringPtr

func StringPtr(s string) *string

func StringPtrIfNotEmpty

func StringPtrIfNotEmpty(s string) *string

func StringValue

func StringValue(s *string) string

func TimeProto

func TimeProto(t *time.Time) *timestamppb.Timestamp

func TimePtr

func TimePtr(time time.Time) *time.Time

func TimeValue

func TimeValue(t *time.Time) time.Time

func TimestampProto

func TimestampProto(t time.Time) *timestamppb.Timestamp

func TimestampProtoFromPtr

func TimestampProtoFromPtr(t *time.Time) *timestamppb.Timestamp

func Value

func Value[T any](v *T) T

Types

type ApiTokenId

type ApiTokenId string

type ApplicationId

type ApplicationId string

type ConcurrencyLeaseId

type ConcurrencyLeaseId string

type ConcurrencyLimitId

type ConcurrencyLimitId string

type DeliveryExtensionId

type DeliveryExtensionId string

type DeliveryExtensionInstanceId

type DeliveryExtensionInstanceId string

type DeploymentId

type DeploymentId string

type DesiredStateId

type DesiredStateId string

type EntityContextNamespace

type EntityContextNamespace string

type EventId

type EventId string

type InsightId

type InsightId string

type IntegrationId

type IntegrationId string

type InternalUserType

type InternalUserType string

type JobId

type JobId string

type ManagedResourceId

type ManagedResourceId string

type NotificationId

type NotificationId string

type OrganizationId

type OrganizationId string

type PipelineId

type PipelineId string

type ProtectionAttachmentId

type ProtectionAttachmentId string

type ProtectionId

type ProtectionId string

type RecipeId

type RecipeId string

type RegistryCacheId

type RegistryCacheId string

type ReleaseChannelId

type ReleaseChannelId string

type ReleaseId

type ReleaseId string

type RepositoryId

type RepositoryId string

type RuntimeId

type RuntimeId string

type SecretId

type SecretId string

type ServiceId

type ServiceId string

type SignalId

type SignalId string

type TimingRecordId

type TimingRecordId string

type UserId

type UserId string

Jump to

Keyboard shortcuts

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