Help us shape the future of Go! Take the 2026 Go Developer Survey

datatypes

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_datatypes_proto_v1_protoconf_value_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Commit         string                 `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	CommitterEmail string                 `protobuf:"bytes,2,opt,name=committer_email,json=committerEmail,proto3" json:"committer_email,omitempty"`
	AuthorEmail    string                 `protobuf:"bytes,3,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"`
	CommittedAt    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=committed_at,json=committedAt,proto3" json:"committed_at,omitempty"`
	AuthoredAt     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=authored_at,json=authoredAt,proto3" json:"authored_at,omitempty"`
	InsertedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=inserted_at,json=insertedAt,proto3" json:"inserted_at,omitempty"`
	Channel        string                 `protobuf:"bytes,7,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAuthorEmail

func (x *Metadata) GetAuthorEmail() string

func (*Metadata) GetAuthoredAt

func (x *Metadata) GetAuthoredAt() *timestamppb.Timestamp

func (*Metadata) GetChannel

func (x *Metadata) GetChannel() string

func (*Metadata) GetCommit

func (x *Metadata) GetCommit() string

func (*Metadata) GetCommittedAt

func (x *Metadata) GetCommittedAt() *timestamppb.Timestamp

func (*Metadata) GetCommitterEmail

func (x *Metadata) GetCommitterEmail() string

func (*Metadata) GetInsertedAt

func (x *Metadata) GetInsertedAt() *timestamppb.Timestamp

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type ProtoconfValue

type ProtoconfValue struct {
	ProtoFile     string                        `protobuf:"bytes,1,opt,name=proto_file,json=protoFile,proto3" json:"proto_file,omitempty"`
	Value         *anypb.Any                    `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	RolloutConfig *ProtoconfValue_ConfigRollout `protobuf:"bytes,3,opt,name=rollout_config,json=rolloutConfig,proto3" json:"rollout_config,omitempty"`
	Metadata      *Metadata                     `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoconfValue) Descriptor deprecated

func (*ProtoconfValue) Descriptor() ([]byte, []int)

Deprecated: Use ProtoconfValue.ProtoReflect.Descriptor instead.

func (*ProtoconfValue) GetMetadata

func (x *ProtoconfValue) GetMetadata() *Metadata

func (*ProtoconfValue) GetProtoFile

func (x *ProtoconfValue) GetProtoFile() string

func (*ProtoconfValue) GetRolloutConfig

func (x *ProtoconfValue) GetRolloutConfig() *ProtoconfValue_ConfigRollout

func (*ProtoconfValue) GetValue

func (x *ProtoconfValue) GetValue() *anypb.Any

func (*ProtoconfValue) ProtoMessage

func (*ProtoconfValue) ProtoMessage()

func (*ProtoconfValue) ProtoReflect

func (x *ProtoconfValue) ProtoReflect() protoreflect.Message

func (*ProtoconfValue) Reset

func (x *ProtoconfValue) Reset()

func (*ProtoconfValue) String

func (x *ProtoconfValue) String() string

type ProtoconfValue_ConfigRollout

type ProtoconfValue_ConfigRollout struct {

	// cooldown is the duration of time the inserter waits before applying
	// the next stage, Uses protobuf google.protobuf.Duration well-known-type
	DefaultCooldownTime *durationpb.Duration `protobuf:"bytes,1,opt,name=default_cooldown_time,json=defaultCooldownTime,proto3" json:"default_cooldown_time,omitempty"`
	// expiration will be added to the time of insertion to be set as
	// `expires_at`. When `expires_at` is due, the config should revert
	// to default.
	DefaultExpirationTime *durationpb.Duration                  `` /* 126-byte string literal not displayed */
	Stages                []*ProtoconfValue_ConfigRollout_Stage `protobuf:"bytes,3,rep,name=stages,proto3" json:"stages,omitempty"`
	Namespace             string                                `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoconfValue_ConfigRollout) Descriptor deprecated

func (*ProtoconfValue_ConfigRollout) Descriptor() ([]byte, []int)

Deprecated: Use ProtoconfValue_ConfigRollout.ProtoReflect.Descriptor instead.

func (*ProtoconfValue_ConfigRollout) GetDefaultCooldownTime

func (x *ProtoconfValue_ConfigRollout) GetDefaultCooldownTime() *durationpb.Duration

func (*ProtoconfValue_ConfigRollout) GetDefaultExpirationTime

func (x *ProtoconfValue_ConfigRollout) GetDefaultExpirationTime() *durationpb.Duration

func (*ProtoconfValue_ConfigRollout) GetNamespace

func (x *ProtoconfValue_ConfigRollout) GetNamespace() string

func (*ProtoconfValue_ConfigRollout) GetStages

func (*ProtoconfValue_ConfigRollout) ProtoMessage

func (*ProtoconfValue_ConfigRollout) ProtoMessage()

func (*ProtoconfValue_ConfigRollout) ProtoReflect

func (*ProtoconfValue_ConfigRollout) Reset

func (x *ProtoconfValue_ConfigRollout) Reset()

func (*ProtoconfValue_ConfigRollout) String

type ProtoconfValue_ConfigRollout_Stage

type ProtoconfValue_ConfigRollout_Stage struct {
	Channel    string                 `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	Percentile uint32                 `protobuf:"varint,2,opt,name=percentile,proto3" json:"percentile,omitempty"`
	Labels     map[string]string      `` /* 153-byte string literal not displayed */
	Manual     bool                   `protobuf:"varint,4,opt,name=manual,proto3" json:"manual,omitempty"`
	Cooldown   *durationpb.Duration   `protobuf:"bytes,5,opt,name=cooldown,proto3" json:"cooldown,omitempty"`
	Expiration *durationpb.Duration   `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"`
	ExpiresAt  *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	Version    string                 `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoconfValue_ConfigRollout_Stage) Descriptor deprecated

func (*ProtoconfValue_ConfigRollout_Stage) Descriptor() ([]byte, []int)

Deprecated: Use ProtoconfValue_ConfigRollout_Stage.ProtoReflect.Descriptor instead.

func (*ProtoconfValue_ConfigRollout_Stage) GetChannel

func (*ProtoconfValue_ConfigRollout_Stage) GetCooldown

func (*ProtoconfValue_ConfigRollout_Stage) GetExpiration

func (*ProtoconfValue_ConfigRollout_Stage) GetExpiresAt

func (*ProtoconfValue_ConfigRollout_Stage) GetLabels

func (*ProtoconfValue_ConfigRollout_Stage) GetManual

func (*ProtoconfValue_ConfigRollout_Stage) GetPercentile

func (x *ProtoconfValue_ConfigRollout_Stage) GetPercentile() uint32

func (*ProtoconfValue_ConfigRollout_Stage) GetVersion

func (*ProtoconfValue_ConfigRollout_Stage) ProtoMessage

func (*ProtoconfValue_ConfigRollout_Stage) ProtoMessage()

func (*ProtoconfValue_ConfigRollout_Stage) ProtoReflect

func (*ProtoconfValue_ConfigRollout_Stage) Reset

func (*ProtoconfValue_ConfigRollout_Stage) String

Jump to

Keyboard shortcuts

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