project

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_project_project_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Project

type Project struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // must be populated when in the db.
	AccountName string                 `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	Settings    *ProjectSettings       `protobuf:"bytes,3,opt,name=settings,proto3" json:"settings,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetAccountName

func (x *Project) GetAccountName() string

func (*Project) GetCreatedAt

func (x *Project) GetCreatedAt() *timestamppb.Timestamp

func (*Project) GetId

func (x *Project) GetId() string

func (*Project) GetSettings

func (x *Project) GetSettings() *ProjectSettings

func (*Project) GetUpdatedAt

func (x *Project) GetUpdatedAt() *timestamppb.Timestamp

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

func (*Project) Validate

func (m *Project) Validate() error

Validate checks the field values on Project with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ProjectPlugin

type ProjectPlugin struct {
	PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
	Enabled  bool   `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectPlugin) Descriptor deprecated

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

Deprecated: Use ProjectPlugin.ProtoReflect.Descriptor instead.

func (*ProjectPlugin) GetEnabled

func (x *ProjectPlugin) GetEnabled() bool

func (*ProjectPlugin) GetPluginId

func (x *ProjectPlugin) GetPluginId() string

func (*ProjectPlugin) ProtoMessage

func (*ProjectPlugin) ProtoMessage()

func (*ProjectPlugin) ProtoReflect

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

func (*ProjectPlugin) Reset

func (x *ProjectPlugin) Reset()

func (*ProjectPlugin) String

func (x *ProjectPlugin) String() string

func (*ProjectPlugin) Validate

func (m *ProjectPlugin) Validate() error

Validate checks the field values on ProjectPlugin with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ProjectPluginValidationError

type ProjectPluginValidationError struct {
	// contains filtered or unexported fields
}

ProjectPluginValidationError is the validation error returned by ProjectPlugin.Validate if the designated constraints aren't met.

func (ProjectPluginValidationError) Cause

Cause function returns cause value.

func (ProjectPluginValidationError) Error

Error satisfies the builtin error interface

func (ProjectPluginValidationError) ErrorName

func (e ProjectPluginValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectPluginValidationError) Field

Field function returns field value.

func (ProjectPluginValidationError) Key

Key function returns key value.

func (ProjectPluginValidationError) Reason

Reason function returns reason value.

type ProjectSettings

type ProjectSettings struct {
	Name     string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Enabled  bool                     `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	MainPath *program.Path            `protobuf:"bytes,3,opt,name=main_path,json=mainPath,proto3" json:"main_path,omitempty"`
	Predecls map[string]*values.Value `` /* 157-byte string literal not displayed */
	Plugins  []*ProjectPlugin         `protobuf:"bytes,6,rep,name=plugins,proto3" json:"plugins,omitempty"`
	// General human readable data about the project.
	// Not used for any automation.
	Memo map[string]string `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProjectSettings) Descriptor deprecated

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

Deprecated: Use ProjectSettings.ProtoReflect.Descriptor instead.

func (*ProjectSettings) GetEnabled

func (x *ProjectSettings) GetEnabled() bool

func (*ProjectSettings) GetMainPath

func (x *ProjectSettings) GetMainPath() *program.Path

func (*ProjectSettings) GetMemo

func (x *ProjectSettings) GetMemo() map[string]string

func (*ProjectSettings) GetName

func (x *ProjectSettings) GetName() string

func (*ProjectSettings) GetPlugins

func (x *ProjectSettings) GetPlugins() []*ProjectPlugin

func (*ProjectSettings) GetPredecls

func (x *ProjectSettings) GetPredecls() map[string]*values.Value

func (*ProjectSettings) ProtoMessage

func (*ProjectSettings) ProtoMessage()

func (*ProjectSettings) ProtoReflect

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

func (*ProjectSettings) Reset

func (x *ProjectSettings) Reset()

func (*ProjectSettings) String

func (x *ProjectSettings) String() string

func (*ProjectSettings) Validate

func (m *ProjectSettings) Validate() error

Validate checks the field values on ProjectSettings with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ProjectSettingsValidationError

type ProjectSettingsValidationError struct {
	// contains filtered or unexported fields
}

ProjectSettingsValidationError is the validation error returned by ProjectSettings.Validate if the designated constraints aren't met.

func (ProjectSettingsValidationError) Cause

Cause function returns cause value.

func (ProjectSettingsValidationError) Error

Error satisfies the builtin error interface

func (ProjectSettingsValidationError) ErrorName

func (e ProjectSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectSettingsValidationError) Field

Field function returns field value.

func (ProjectSettingsValidationError) Key

Key function returns key value.

func (ProjectSettingsValidationError) Reason

Reason function returns reason value.

type ProjectValidationError

type ProjectValidationError struct {
	// contains filtered or unexported fields
}

ProjectValidationError is the validation error returned by Project.Validate if the designated constraints aren't met.

func (ProjectValidationError) Cause

func (e ProjectValidationError) Cause() error

Cause function returns cause value.

func (ProjectValidationError) Error

func (e ProjectValidationError) Error() string

Error satisfies the builtin error interface

func (ProjectValidationError) ErrorName

func (e ProjectValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectValidationError) Field

func (e ProjectValidationError) Field() string

Field function returns field value.

func (ProjectValidationError) Key

func (e ProjectValidationError) Key() bool

Key function returns key value.

func (ProjectValidationError) Reason

func (e ProjectValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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