Documentation ¶
Index ¶
- Variables
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetAccountName() string
- func (x *Project) GetCreatedAt() *timestamppb.Timestamp
- func (x *Project) GetId() string
- func (x *Project) GetSettings() *ProjectSettings
- func (x *Project) GetUpdatedAt() *timestamppb.Timestamp
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- func (m *Project) Validate() error
- type ProjectPlugin
- func (*ProjectPlugin) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPlugin) GetEnabled() bool
- func (x *ProjectPlugin) GetPluginId() string
- func (*ProjectPlugin) ProtoMessage()
- func (x *ProjectPlugin) ProtoReflect() protoreflect.Message
- func (x *ProjectPlugin) Reset()
- func (x *ProjectPlugin) String() string
- func (m *ProjectPlugin) Validate() error
- type ProjectPluginValidationError
- func (e ProjectPluginValidationError) Cause() error
- func (e ProjectPluginValidationError) Error() string
- func (e ProjectPluginValidationError) ErrorName() string
- func (e ProjectPluginValidationError) Field() string
- func (e ProjectPluginValidationError) Key() bool
- func (e ProjectPluginValidationError) Reason() string
- type ProjectSettings
- func (*ProjectSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectSettings) GetEnabled() bool
- func (x *ProjectSettings) GetMainPath() *program.Path
- func (x *ProjectSettings) GetMemo() map[string]string
- func (x *ProjectSettings) GetName() string
- func (x *ProjectSettings) GetPlugins() []*ProjectPlugin
- func (x *ProjectSettings) GetPredecls() map[string]*values.Value
- func (*ProjectSettings) ProtoMessage()
- func (x *ProjectSettings) ProtoReflect() protoreflect.Message
- func (x *ProjectSettings) Reset()
- func (x *ProjectSettings) String() string
- func (m *ProjectSettings) Validate() error
- type ProjectSettingsValidationError
- func (e ProjectSettingsValidationError) Cause() error
- func (e ProjectSettingsValidationError) Error() string
- func (e ProjectSettingsValidationError) ErrorName() string
- func (e ProjectSettingsValidationError) Field() string
- func (e ProjectSettingsValidationError) Key() bool
- func (e ProjectSettingsValidationError) Reason() string
- type ProjectValidationError
Constants ¶
This section is empty.
Variables ¶
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) GetAccountName ¶
func (*Project) GetCreatedAt ¶
func (x *Project) GetCreatedAt() *timestamppb.Timestamp
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
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 ¶
func (e ProjectPluginValidationError) Cause() error
Cause function returns cause value.
func (ProjectPluginValidationError) Error ¶
func (e ProjectPluginValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectPluginValidationError) ErrorName ¶
func (e ProjectPluginValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectPluginValidationError) Field ¶
func (e ProjectPluginValidationError) Field() string
Field function returns field value.
func (ProjectPluginValidationError) Key ¶
func (e ProjectPluginValidationError) Key() bool
Key function returns key value.
func (ProjectPluginValidationError) Reason ¶
func (e ProjectPluginValidationError) Reason() string
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 ¶
func (e ProjectSettingsValidationError) Cause() error
Cause function returns cause value.
func (ProjectSettingsValidationError) Error ¶
func (e ProjectSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectSettingsValidationError) ErrorName ¶
func (e ProjectSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectSettingsValidationError) Field ¶
func (e ProjectSettingsValidationError) Field() string
Field function returns field value.
func (ProjectSettingsValidationError) Key ¶
func (e ProjectSettingsValidationError) Key() bool
Key function returns key value.
func (ProjectSettingsValidationError) Reason ¶
func (e ProjectSettingsValidationError) Reason() string
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.