object

package
v0.101.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Detail.ProtoReflect.Descriptor instead.

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

func (*Detail) Reset

func (x *Detail) Reset()

func (*Detail) String

func (x *Detail) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Form.ProtoReflect.Descriptor instead.

func (*Form) GetFieldConfigs

func (x *Form) GetFieldConfigs() []*structpb.Struct

func (*Form) ProtoMessage

func (*Form) ProtoMessage()

func (*Form) ProtoReflect

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

func (*Form) Reset

func (x *Form) Reset()

func (*Form) String

func (x *Form) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Subject.ProtoReflect.Descriptor instead.

func (*Subject) GetIss

func (x *Subject) GetIss() string

func (*Subject) GetSub

func (x *Subject) GetSub() string

func (*Subject) ProtoMessage

func (*Subject) ProtoMessage()

func (*Subject) ProtoReflect

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

func (*Subject) Reset

func (x *Subject) Reset()

func (*Subject) String

func (x *Subject) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UserRef.ProtoReflect.Descriptor instead.

func (*UserRef) GetEmail

func (x *UserRef) GetEmail() string

func (*UserRef) GetSubject

func (x *UserRef) GetSubject() *Subject

func (*UserRef) GetUser

func (m *UserRef) GetUser() isUserRef_User

func (*UserRef) GetUserId

func (x *UserRef) GetUserId() string

func (*UserRef) ProtoMessage

func (*UserRef) ProtoMessage()

func (*UserRef) ProtoReflect

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

func (*UserRef) Reset

func (x *UserRef) Reset()

func (*UserRef) String

func (x *UserRef) String() string

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"`
}

Jump to

Keyboard shortcuts

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