Documentation ¶
Index ¶
- Variables
- type Detail
- func (*Detail) Descriptor() ([]byte, []int)deprecated
- func (x *Detail) GetCreatedAt() *timestamppb.Timestamp
- func (x *Detail) GetCreatedBy() *ResourceEditor
- func (x *Detail) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Detail) GetUpdatedBy() *ResourceEditor
- func (*Detail) ProtoMessage()
- func (x *Detail) ProtoReflect() protoreflect.Message
- func (x *Detail) Reset()
- func (x *Detail) String() string
- type Form
- type OrganizationRef
- func (*OrganizationRef) Descriptor() ([]byte, []int)deprecated
- func (m *OrganizationRef) GetOrg() isOrganizationRef_Org
- func (x *OrganizationRef) GetOrgId() string
- func (x *OrganizationRef) GetOrgName() string
- func (*OrganizationRef) ProtoMessage()
- func (x *OrganizationRef) ProtoReflect() protoreflect.Message
- func (x *OrganizationRef) Reset()
- func (x *OrganizationRef) String() string
- type OrganizationRef_OrgId
- type OrganizationRef_OrgName
- type PlatformConfig
- type ResourceEditor
- func (*ResourceEditor) Descriptor() ([]byte, []int)deprecated
- func (m *ResourceEditor) GetEditor() isResourceEditor_Editor
- func (x *ResourceEditor) GetUserId() string
- func (*ResourceEditor) ProtoMessage()
- func (x *ResourceEditor) ProtoReflect() protoreflect.Message
- func (x *ResourceEditor) Reset()
- func (x *ResourceEditor) String() string
- type ResourceEditor_UserId
- type ResourceOwner
- func (*ResourceOwner) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOwner) GetOrgId() string
- func (m *ResourceOwner) GetResourceOwner() isResourceOwner_ResourceOwner
- func (x *ResourceOwner) GetUserId() string
- func (*ResourceOwner) ProtoMessage()
- func (x *ResourceOwner) ProtoReflect() protoreflect.Message
- func (x *ResourceOwner) Reset()
- func (x *ResourceOwner) String() string
- type ResourceOwner_OrgId
- type ResourceOwner_UserId
- type Subject
- type UserRef
- func (*UserRef) Descriptor() ([]byte, []int)deprecated
- func (x *UserRef) GetEmail() string
- func (x *UserRef) GetSubject() *Subject
- func (m *UserRef) GetUser() isUserRef_User
- func (x *UserRef) GetUserId() string
- func (*UserRef) ProtoMessage()
- func (x *UserRef) ProtoReflect() protoreflect.Message
- func (x *UserRef) Reset()
- func (x *UserRef) String() string
- type UserRef_Email
- type UserRef_Subject
- type UserRef_UserId
Constants ¶
This section is empty.
Variables ¶
var File_holos_object_v1alpha1_object_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Detail ¶
type Detail struct { // Created by entity CreatedBy *ResourceEditor `protobuf:"bytes,1,opt,name=created_by,json=createdBy,proto3,oneof" json:"created_by,omitempty"` // Created at timestamp CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Updated by entity UpdatedBy *ResourceEditor `protobuf:"bytes,3,opt,name=updated_by,json=updatedBy,proto3,oneof" json:"updated_by,omitempty"` // Updated at timestamp UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Detail) Descriptor
deprecated
func (*Detail) GetCreatedAt ¶
func (x *Detail) GetCreatedAt() *timestamppb.Timestamp
func (*Detail) GetCreatedBy ¶
func (x *Detail) GetCreatedBy() *ResourceEditor
func (*Detail) GetUpdatedAt ¶
func (x *Detail) GetUpdatedAt() *timestamppb.Timestamp
func (*Detail) GetUpdatedBy ¶
func (x *Detail) GetUpdatedBy() *ResourceEditor
func (*Detail) ProtoMessage ¶
func (*Detail) ProtoMessage()
func (*Detail) ProtoReflect ¶
func (x *Detail) ProtoReflect() protoreflect.Message
type Form ¶
type Form struct { // field_configs represents FormlyFieldConfig[] encoded as an array of JSON // objects organized by section. FieldConfigs []*structpb.Struct `protobuf:"bytes,1,rep,name=field_configs,json=fieldConfigs,proto3" json:"field_configs,omitempty"` // contains filtered or unexported fields }
Form represents a Formly json powered form.
func (*Form) Descriptor
deprecated
func (*Form) GetFieldConfigs ¶
func (*Form) ProtoMessage ¶
func (*Form) ProtoMessage()
func (*Form) ProtoReflect ¶
func (x *Form) ProtoReflect() protoreflect.Message
type OrganizationRef ¶
type OrganizationRef struct { // Types that are assignable to Org: // // *OrganizationRef_OrgId // *OrganizationRef_OrgName Org isOrganizationRef_Org `protobuf_oneof:"org"` // contains filtered or unexported fields }
Organization represents the ways in which a organization may be uniquely identified in the system.
func (*OrganizationRef) Descriptor
deprecated
func (*OrganizationRef) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationRef.ProtoReflect.Descriptor instead.
func (*OrganizationRef) GetOrg ¶
func (m *OrganizationRef) GetOrg() isOrganizationRef_Org
func (*OrganizationRef) GetOrgId ¶
func (x *OrganizationRef) GetOrgId() string
func (*OrganizationRef) GetOrgName ¶
func (x *OrganizationRef) GetOrgName() string
func (*OrganizationRef) ProtoMessage ¶
func (*OrganizationRef) ProtoMessage()
func (*OrganizationRef) ProtoReflect ¶
func (x *OrganizationRef) ProtoReflect() protoreflect.Message
func (*OrganizationRef) Reset ¶
func (x *OrganizationRef) Reset()
func (*OrganizationRef) String ¶
func (x *OrganizationRef) String() string
type OrganizationRef_OrgId ¶
type OrganizationRef_OrgId struct {
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3,oneof"`
}
type OrganizationRef_OrgName ¶
type OrganizationRef_OrgName struct {
OrgName string `protobuf:"bytes,2,opt,name=org_name,json=orgName,proto3,oneof"`
}
type PlatformConfig ¶
type PlatformConfig struct { // platform_model represents the form values from the PlatformService. PlatformModel *structpb.Struct `protobuf:"bytes,1,opt,name=platform_model,json=platformModel,proto3" json:"platform_model,omitempty"` // contains filtered or unexported fields }
PlatformConfig represents the data passed from the holos cli to CUE when rendering configuration. At present it contains only the platform model from the PlatformService, but it is expected to carry additional fields from additional data sources. For this reason, there is a distinction in domain language between the "Platform Config" and the "Platform Model" The config is a data transfer object that carries at least the model. The model represents the form values from the PlatformService.
func (*PlatformConfig) Descriptor
deprecated
func (*PlatformConfig) Descriptor() ([]byte, []int)
Deprecated: Use PlatformConfig.ProtoReflect.Descriptor instead.
func (*PlatformConfig) GetPlatformModel ¶
func (x *PlatformConfig) GetPlatformModel() *structpb.Struct
func (*PlatformConfig) ProtoMessage ¶
func (*PlatformConfig) ProtoMessage()
func (*PlatformConfig) ProtoReflect ¶
func (x *PlatformConfig) ProtoReflect() protoreflect.Message
func (*PlatformConfig) Reset ¶
func (x *PlatformConfig) Reset()
func (*PlatformConfig) String ¶
func (x *PlatformConfig) String() string
type ResourceEditor ¶
type ResourceEditor struct { // Types that are assignable to Editor: // // *ResourceEditor_UserId Editor isResourceEditor_Editor `protobuf_oneof:"editor"` // contains filtered or unexported fields }
ResourceEditor represents the entity that most recently created or edited a resource.
func (*ResourceEditor) Descriptor
deprecated
func (*ResourceEditor) Descriptor() ([]byte, []int)
Deprecated: Use ResourceEditor.ProtoReflect.Descriptor instead.
func (*ResourceEditor) GetEditor ¶
func (m *ResourceEditor) GetEditor() isResourceEditor_Editor
func (*ResourceEditor) GetUserId ¶
func (x *ResourceEditor) GetUserId() string
func (*ResourceEditor) ProtoMessage ¶
func (*ResourceEditor) ProtoMessage()
func (*ResourceEditor) ProtoReflect ¶
func (x *ResourceEditor) ProtoReflect() protoreflect.Message
func (*ResourceEditor) Reset ¶
func (x *ResourceEditor) Reset()
func (*ResourceEditor) String ¶
func (x *ResourceEditor) String() string
type ResourceEditor_UserId ¶
type ResourceEditor_UserId struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"`
}
type ResourceOwner ¶
type ResourceOwner struct { // Types that are assignable to ResourceOwner: // // *ResourceOwner_OrgId // *ResourceOwner_UserId ResourceOwner isResourceOwner_ResourceOwner `protobuf_oneof:"resource_owner"` // contains filtered or unexported fields }
func (*ResourceOwner) Descriptor
deprecated
func (*ResourceOwner) Descriptor() ([]byte, []int)
Deprecated: Use ResourceOwner.ProtoReflect.Descriptor instead.
func (*ResourceOwner) GetOrgId ¶
func (x *ResourceOwner) GetOrgId() string
func (*ResourceOwner) GetResourceOwner ¶
func (m *ResourceOwner) GetResourceOwner() isResourceOwner_ResourceOwner
func (*ResourceOwner) GetUserId ¶
func (x *ResourceOwner) GetUserId() string
func (*ResourceOwner) ProtoMessage ¶
func (*ResourceOwner) ProtoMessage()
func (*ResourceOwner) ProtoReflect ¶
func (x *ResourceOwner) ProtoReflect() protoreflect.Message
func (*ResourceOwner) Reset ¶
func (x *ResourceOwner) Reset()
func (*ResourceOwner) String ¶
func (x *ResourceOwner) String() string
type ResourceOwner_OrgId ¶
type ResourceOwner_OrgId struct {
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3,oneof"`
}
type ResourceOwner_UserId ¶
type ResourceOwner_UserId struct {
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3,oneof"`
}
type Subject ¶
type Subject struct { // iss represents the oidc id token iss claim. Limits defined at // https://openid.net/specs/openid-authentication-1_1.html#limits Iss string `protobuf:"bytes,1,opt,name=iss,proto3" json:"iss,omitempty"` // sub represents the oidc id token sub claim. Sub string `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"` // contains filtered or unexported fields }
Subject represents the oidc iss and sub claims which uniquely identify a subject.
func (*Subject) Descriptor
deprecated
func (*Subject) ProtoMessage ¶
func (*Subject) ProtoMessage()
func (*Subject) ProtoReflect ¶
func (x *Subject) ProtoReflect() protoreflect.Message
type UserRef ¶
type UserRef struct { // Types that are assignable to User: // // *UserRef_UserId // *UserRef_Email // *UserRef_Subject User isUserRef_User `protobuf_oneof:"user"` // contains filtered or unexported fields }
UserRef refers to a User by uuid, email, or by the oidc iss and sub claims.
func (*UserRef) Descriptor
deprecated
func (*UserRef) GetSubject ¶
func (*UserRef) ProtoMessage ¶
func (*UserRef) ProtoMessage()
func (*UserRef) ProtoReflect ¶
func (x *UserRef) ProtoReflect() protoreflect.Message
type UserRef_Email ¶
type UserRef_Email struct {
Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}
type UserRef_Subject ¶
type UserRef_Subject struct {
Subject *Subject `protobuf:"bytes,3,opt,name=subject,proto3,oneof"`
}
type UserRef_UserId ¶
type UserRef_UserId struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"`
}