projects

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Topic = "projects"

Variables

View Source
var (
	EventType_name = map[int32]string{
		0: "EventTypeUnknown",
		1: "EventTypeProjectCreated",
		2: "EventTypeProjectDeleted",
	}
	EventType_value = map[string]int32{
		"EventTypeUnknown":        0,
		"EventTypeProjectCreated": 1,
		"EventTypeProjectDeleted": 2,
	}
)

Enum value maps for EventType.

View Source
var File_projects_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Event

type Event struct {
	Type           EventType       `protobuf:"varint,1,opt,name=type,proto3,enum=projectsevents.EventType" json:"type,omitempty"`
	ProjectCreated *ProjectCreated `protobuf:"bytes,2,opt,name=project_created,json=projectCreated,proto3" json:"project_created,omitempty"`
	ProjectDeleted *ProjectDeleted `protobuf:"bytes,3,opt,name=project_deleted,json=projectDeleted,proto3" json:"project_deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetProjectCreated

func (x *Event) GetProjectCreated() *ProjectCreated

func (*Event) GetProjectDeleted

func (x *Event) GetProjectDeleted() *ProjectDeleted

func (*Event) GetType

func (x *Event) GetType() EventType

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventType

type EventType int32
const (
	EventType_EventTypeUnknown        EventType = 0
	EventType_EventTypeProjectCreated EventType = 1
	EventType_EventTypeProjectDeleted EventType = 2
)

func (EventType) Descriptor

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

func (EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

type ProjectCreated

type ProjectCreated struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	BillingAccount string `protobuf:"bytes,3,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectCreated) Descriptor deprecated

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

Deprecated: Use ProjectCreated.ProtoReflect.Descriptor instead.

func (*ProjectCreated) GetBillingAccount

func (x *ProjectCreated) GetBillingAccount() string

func (*ProjectCreated) GetId

func (x *ProjectCreated) GetId() string

func (*ProjectCreated) GetName

func (x *ProjectCreated) GetName() string

func (*ProjectCreated) ProtoMessage

func (*ProjectCreated) ProtoMessage()

func (*ProjectCreated) ProtoReflect

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

func (*ProjectCreated) Reset

func (x *ProjectCreated) Reset()

func (*ProjectCreated) String

func (x *ProjectCreated) String() string

type ProjectDeleted

type ProjectDeleted struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	BillingAccount string `protobuf:"bytes,3,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectDeleted) Descriptor deprecated

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

Deprecated: Use ProjectDeleted.ProtoReflect.Descriptor instead.

func (*ProjectDeleted) GetBillingAccount

func (x *ProjectDeleted) GetBillingAccount() string

func (*ProjectDeleted) GetId

func (x *ProjectDeleted) GetId() string

func (*ProjectDeleted) GetName

func (x *ProjectDeleted) GetName() string

func (*ProjectDeleted) ProtoMessage

func (*ProjectDeleted) ProtoMessage()

func (*ProjectDeleted) ProtoReflect

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

func (*ProjectDeleted) Reset

func (x *ProjectDeleted) Reset()

func (*ProjectDeleted) String

func (x *ProjectDeleted) String() string

Jump to

Keyboard shortcuts

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