Documentation ¶
Index ¶
- func BoolPtr(b bool) *bool
- func BoolValue(b *bool) bool
- func DurationPtr(d time.Duration) *time.Duration
- func Int64Ptr(i int64) *int64
- func Int64Value(i *int64) int64
- func IntValue(i *int) int
- func Ptr[T any](v T) *T
- func PtrIfNotEmpty[T comparable](v T) *T
- func RawJsonBytes(bytes []byte) *rawJsonBytes
- func StringPtr(s string) *string
- func StringPtrIfNotEmpty(s string) *string
- func StringValue(s *string) string
- func TimeProto(t *time.Time) *timestamppb.Timestamp
- func TimePtr(time time.Time) *time.Time
- func TimeValue(t *time.Time) time.Time
- func TimestampProto(t time.Time) *timestamppb.Timestamp
- func TimestampProtoFromPtr(t *time.Time) *timestamppb.Timestamp
- func Value[T any](v *T) T
- type ApiTokenId
- type ApplicationId
- type ConcurrencyLeaseId
- type ConcurrencyLimitId
- type DeliveryExtensionId
- type DeliveryExtensionInstanceId
- type DeploymentId
- type DesiredStateId
- type EntityContextNamespace
- type EventId
- type InsightId
- type IntegrationId
- type InternalUserType
- type JobId
- type ManagedResourceId
- type NotificationId
- type OrganizationId
- type PipelineId
- type ProtectionAttachmentId
- type ProtectionId
- type RecipeId
- type RegistryCacheId
- type ReleaseChannelId
- type ReleaseId
- type RepositoryId
- type RuntimeId
- type SecretId
- type ServiceId
- type SignalId
- type TimingRecordId
- type UserId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int64Value ¶
func PtrIfNotEmpty ¶
func PtrIfNotEmpty[T comparable](v T) *T
func RawJsonBytes ¶
func RawJsonBytes(bytes []byte) *rawJsonBytes
func StringPtrIfNotEmpty ¶
func StringValue ¶
func TimestampProto ¶
func TimestampProto(t time.Time) *timestamppb.Timestamp
func TimestampProtoFromPtr ¶
func TimestampProtoFromPtr(t *time.Time) *timestamppb.Timestamp
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 IntegrationId ¶
type IntegrationId string
type InternalUserType ¶
type InternalUserType 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 RegistryCacheId ¶
type RegistryCacheId string
type ReleaseChannelId ¶
type ReleaseChannelId string
type RepositoryId ¶
type RepositoryId string
type TimingRecordId ¶
type TimingRecordId string
Click to show internal directories.
Click to hide internal directories.