Documentation ¶
Index ¶
- Variables
- type CreatePlatformRequest
- func (*CreatePlatformRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePlatformRequest) GetCreate() *PlatformMutation
- func (x *CreatePlatformRequest) GetOrgId() string
- func (*CreatePlatformRequest) ProtoMessage()
- func (x *CreatePlatformRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePlatformRequest) Reset()
- func (x *CreatePlatformRequest) String() string
- type CreatePlatformResponse
- func (*CreatePlatformResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePlatformResponse) GetPlatform() *Platform
- func (*CreatePlatformResponse) ProtoMessage()
- func (x *CreatePlatformResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePlatformResponse) Reset()
- func (x *CreatePlatformResponse) String() string
- type GetPlatformRequest
- func (*GetPlatformRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPlatformRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *GetPlatformRequest) GetPlatformId() string
- func (*GetPlatformRequest) ProtoMessage()
- func (x *GetPlatformRequest) ProtoReflect() protoreflect.Message
- func (x *GetPlatformRequest) Reset()
- func (x *GetPlatformRequest) String() string
- type GetPlatformResponse
- func (*GetPlatformResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPlatformResponse) GetPlatform() *Platform
- func (*GetPlatformResponse) ProtoMessage()
- func (x *GetPlatformResponse) ProtoReflect() protoreflect.Message
- func (x *GetPlatformResponse) Reset()
- func (x *GetPlatformResponse) String() string
- type ListPlatformsRequest
- func (*ListPlatformsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPlatformsRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *ListPlatformsRequest) GetOrgId() string
- func (*ListPlatformsRequest) ProtoMessage()
- func (x *ListPlatformsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPlatformsRequest) Reset()
- func (x *ListPlatformsRequest) String() string
- type ListPlatformsResponse
- func (*ListPlatformsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPlatformsResponse) GetPlatforms() []*Platform
- func (*ListPlatformsResponse) ProtoMessage()
- func (x *ListPlatformsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPlatformsResponse) Reset()
- func (x *ListPlatformsResponse) String() string
- type Owner
- type Owner_OrgId
- type Platform
- func (*Platform) Descriptor() ([]byte, []int)deprecated
- func (x *Platform) GetDescription() string
- func (x *Platform) GetDetail() *v1alpha1.Detail
- func (x *Platform) GetDisplayName() string
- func (x *Platform) GetId() string
- func (x *Platform) GetName() string
- func (x *Platform) GetOwner() *Owner
- func (x *Platform) GetSpec() *Spec
- func (*Platform) ProtoMessage()
- func (x *Platform) ProtoReflect() protoreflect.Message
- func (x *Platform) Reset()
- func (x *Platform) String() string
- type PlatformMutation
- func (*PlatformMutation) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformMutation) GetDisplayName() string
- func (x *PlatformMutation) GetForm() *v1alpha1.Form
- func (x *PlatformMutation) GetModel() *structpb.Struct
- func (x *PlatformMutation) GetName() string
- func (*PlatformMutation) ProtoMessage()
- func (x *PlatformMutation) ProtoReflect() protoreflect.Message
- func (x *PlatformMutation) Reset()
- func (x *PlatformMutation) String() string
- type Spec
- type UpdatePlatformRequest
- func (*UpdatePlatformRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePlatformRequest) GetPlatformId() string
- func (x *UpdatePlatformRequest) GetUpdate() *PlatformMutation
- func (x *UpdatePlatformRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdatePlatformRequest) ProtoMessage()
- func (x *UpdatePlatformRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePlatformRequest) Reset()
- func (x *UpdatePlatformRequest) String() string
- type UpdatePlatformResponse
- func (*UpdatePlatformResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePlatformResponse) GetPlatform() *Platform
- func (*UpdatePlatformResponse) ProtoMessage()
- func (x *UpdatePlatformResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePlatformResponse) Reset()
- func (x *UpdatePlatformResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_holos_platform_v1alpha1_platform_proto protoreflect.FileDescriptor
var File_holos_platform_v1alpha1_platform_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreatePlatformRequest ¶
type CreatePlatformRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Create *PlatformMutation `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // contains filtered or unexported fields }
func (*CreatePlatformRequest) Descriptor
deprecated
func (*CreatePlatformRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePlatformRequest.ProtoReflect.Descriptor instead.
func (*CreatePlatformRequest) GetCreate ¶
func (x *CreatePlatformRequest) GetCreate() *PlatformMutation
func (*CreatePlatformRequest) GetOrgId ¶
func (x *CreatePlatformRequest) GetOrgId() string
func (*CreatePlatformRequest) ProtoMessage ¶
func (*CreatePlatformRequest) ProtoMessage()
func (*CreatePlatformRequest) ProtoReflect ¶
func (x *CreatePlatformRequest) ProtoReflect() protoreflect.Message
func (*CreatePlatformRequest) Reset ¶
func (x *CreatePlatformRequest) Reset()
func (*CreatePlatformRequest) String ¶
func (x *CreatePlatformRequest) String() string
type CreatePlatformResponse ¶
type CreatePlatformResponse struct { Platform *Platform `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*CreatePlatformResponse) Descriptor
deprecated
func (*CreatePlatformResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePlatformResponse.ProtoReflect.Descriptor instead.
func (*CreatePlatformResponse) GetPlatform ¶
func (x *CreatePlatformResponse) GetPlatform() *Platform
func (*CreatePlatformResponse) ProtoMessage ¶
func (*CreatePlatformResponse) ProtoMessage()
func (*CreatePlatformResponse) ProtoReflect ¶
func (x *CreatePlatformResponse) ProtoReflect() protoreflect.Message
func (*CreatePlatformResponse) Reset ¶
func (x *CreatePlatformResponse) Reset()
func (*CreatePlatformResponse) String ¶
func (x *CreatePlatformResponse) String() string
type GetPlatformRequest ¶
type GetPlatformRequest struct { PlatformId string `protobuf:"bytes,1,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"` // FieldMask represents the response Platform fields to include. FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
func (*GetPlatformRequest) Descriptor
deprecated
func (*GetPlatformRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPlatformRequest.ProtoReflect.Descriptor instead.
func (*GetPlatformRequest) GetFieldMask ¶
func (x *GetPlatformRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*GetPlatformRequest) GetPlatformId ¶
func (x *GetPlatformRequest) GetPlatformId() string
func (*GetPlatformRequest) ProtoMessage ¶
func (*GetPlatformRequest) ProtoMessage()
func (*GetPlatformRequest) ProtoReflect ¶
func (x *GetPlatformRequest) ProtoReflect() protoreflect.Message
func (*GetPlatformRequest) Reset ¶
func (x *GetPlatformRequest) Reset()
func (*GetPlatformRequest) String ¶
func (x *GetPlatformRequest) String() string
type GetPlatformResponse ¶
type GetPlatformResponse struct { Platform *Platform `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*GetPlatformResponse) Descriptor
deprecated
func (*GetPlatformResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPlatformResponse.ProtoReflect.Descriptor instead.
func (*GetPlatformResponse) GetPlatform ¶
func (x *GetPlatformResponse) GetPlatform() *Platform
func (*GetPlatformResponse) ProtoMessage ¶
func (*GetPlatformResponse) ProtoMessage()
func (*GetPlatformResponse) ProtoReflect ¶
func (x *GetPlatformResponse) ProtoReflect() protoreflect.Message
func (*GetPlatformResponse) Reset ¶
func (x *GetPlatformResponse) Reset()
func (*GetPlatformResponse) String ¶
func (x *GetPlatformResponse) String() string
type ListPlatformsRequest ¶
type ListPlatformsRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // FieldMask represents the response Platform fields to include. FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
func (*ListPlatformsRequest) Descriptor
deprecated
func (*ListPlatformsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPlatformsRequest.ProtoReflect.Descriptor instead.
func (*ListPlatformsRequest) GetFieldMask ¶
func (x *ListPlatformsRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*ListPlatformsRequest) GetOrgId ¶
func (x *ListPlatformsRequest) GetOrgId() string
func (*ListPlatformsRequest) ProtoMessage ¶
func (*ListPlatformsRequest) ProtoMessage()
func (*ListPlatformsRequest) ProtoReflect ¶
func (x *ListPlatformsRequest) ProtoReflect() protoreflect.Message
func (*ListPlatformsRequest) Reset ¶
func (x *ListPlatformsRequest) Reset()
func (*ListPlatformsRequest) String ¶
func (x *ListPlatformsRequest) String() string
type ListPlatformsResponse ¶
type ListPlatformsResponse struct { Platforms []*Platform `protobuf:"bytes,1,rep,name=platforms,proto3" json:"platforms,omitempty"` // contains filtered or unexported fields }
func (*ListPlatformsResponse) Descriptor
deprecated
func (*ListPlatformsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPlatformsResponse.ProtoReflect.Descriptor instead.
func (*ListPlatformsResponse) GetPlatforms ¶
func (x *ListPlatformsResponse) GetPlatforms() []*Platform
func (*ListPlatformsResponse) ProtoMessage ¶
func (*ListPlatformsResponse) ProtoMessage()
func (*ListPlatformsResponse) ProtoReflect ¶
func (x *ListPlatformsResponse) ProtoReflect() protoreflect.Message
func (*ListPlatformsResponse) Reset ¶
func (x *ListPlatformsResponse) Reset()
func (*ListPlatformsResponse) String ¶
func (x *ListPlatformsResponse) String() string
type Owner ¶
type Owner struct { // Types that are assignable to Owner: // // *Owner_OrgId Owner isOwner_Owner `protobuf_oneof:"owner"` // contains filtered or unexported fields }
Owner of a platform.
func (*Owner) Descriptor
deprecated
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) ProtoReflect ¶
func (x *Owner) ProtoReflect() protoreflect.Message
type Owner_OrgId ¶
type Owner_OrgId struct {
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3,oneof"`
}
type Platform ¶
type Platform struct { // Unique id assigned by the server. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Owner of the platform. Owner *Owner `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // name is the platform short name as a dns label. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` DisplayName *string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` Spec *Spec `protobuf:"bytes,6,opt,name=spec,proto3,oneof" json:"spec,omitempty"` Detail *v1alpha1.Detail `protobuf:"bytes,8,opt,name=detail,proto3,oneof" json:"detail,omitempty"` // contains filtered or unexported fields }
func (*Platform) Descriptor
deprecated
func (*Platform) GetDescription ¶
func (*Platform) GetDisplayName ¶
func (*Platform) ProtoMessage ¶
func (*Platform) ProtoMessage()
func (*Platform) ProtoReflect ¶
func (x *Platform) ProtoReflect() protoreflect.Message
type PlatformMutation ¶
type PlatformMutation struct { // Update the platform name. Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // Update the platform display name. DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"` // Replace the form model. Model *structpb.Struct `protobuf:"bytes,4,opt,name=model,proto3,oneof" json:"model,omitempty"` // Replace the form. Form *v1alpha1.Form `protobuf:"bytes,5,opt,name=form,proto3,oneof" json:"form,omitempty"` // contains filtered or unexported fields }
PlatformMutation represents the fields to create or update.
func (*PlatformMutation) Descriptor
deprecated
func (*PlatformMutation) Descriptor() ([]byte, []int)
Deprecated: Use PlatformMutation.ProtoReflect.Descriptor instead.
func (*PlatformMutation) GetDisplayName ¶
func (x *PlatformMutation) GetDisplayName() string
func (*PlatformMutation) GetForm ¶
func (x *PlatformMutation) GetForm() *v1alpha1.Form
func (*PlatformMutation) GetModel ¶
func (x *PlatformMutation) GetModel() *structpb.Struct
func (*PlatformMutation) GetName ¶
func (x *PlatformMutation) GetName() string
func (*PlatformMutation) ProtoMessage ¶
func (*PlatformMutation) ProtoMessage()
func (*PlatformMutation) ProtoReflect ¶
func (x *PlatformMutation) ProtoReflect() protoreflect.Message
func (*PlatformMutation) Reset ¶
func (x *PlatformMutation) Reset()
func (*PlatformMutation) String ¶
func (x *PlatformMutation) String() string
type Spec ¶
type Spec struct { // model represents the user-defined and user-supplied form field values. // The model is a Struct to ensure any valid JSON object defined by the user // via the form can be represented and stored. Model *structpb.Struct `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` Form *v1alpha1.Form `protobuf:"bytes,2,opt,name=form,proto3,oneof" json:"form,omitempty"` // contains filtered or unexported fields }
Spec represents the top level specification of a Platform.
func (*Spec) Descriptor
deprecated
func (*Spec) ProtoMessage ¶
func (*Spec) ProtoMessage()
func (*Spec) ProtoReflect ¶
func (x *Spec) ProtoReflect() protoreflect.Message
type UpdatePlatformRequest ¶
type UpdatePlatformRequest struct { // Platform UUID to update. PlatformId string `protobuf:"bytes,1,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"` // Update operations to perform. Fields are set to the provided value if // selected by the mask. Absent fields are cleared if they are selected by // the mask. Update *PlatformMutation `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"` // FieldMask represents the mutation operations to perform. Marked optional // for the nil guard check. Required. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3,oneof" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdatePlatformRequest) Descriptor
deprecated
func (*UpdatePlatformRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePlatformRequest.ProtoReflect.Descriptor instead.
func (*UpdatePlatformRequest) GetPlatformId ¶
func (x *UpdatePlatformRequest) GetPlatformId() string
func (*UpdatePlatformRequest) GetUpdate ¶
func (x *UpdatePlatformRequest) GetUpdate() *PlatformMutation
func (*UpdatePlatformRequest) GetUpdateMask ¶
func (x *UpdatePlatformRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePlatformRequest) ProtoMessage ¶
func (*UpdatePlatformRequest) ProtoMessage()
func (*UpdatePlatformRequest) ProtoReflect ¶
func (x *UpdatePlatformRequest) ProtoReflect() protoreflect.Message
func (*UpdatePlatformRequest) Reset ¶
func (x *UpdatePlatformRequest) Reset()
func (*UpdatePlatformRequest) String ¶
func (x *UpdatePlatformRequest) String() string
type UpdatePlatformResponse ¶
type UpdatePlatformResponse struct { Platform *Platform `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*UpdatePlatformResponse) Descriptor
deprecated
func (*UpdatePlatformResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePlatformResponse.ProtoReflect.Descriptor instead.
func (*UpdatePlatformResponse) GetPlatform ¶
func (x *UpdatePlatformResponse) GetPlatform() *Platform
func (*UpdatePlatformResponse) ProtoMessage ¶
func (*UpdatePlatformResponse) ProtoMessage()
func (*UpdatePlatformResponse) ProtoReflect ¶
func (x *UpdatePlatformResponse) ProtoReflect() protoreflect.Message
func (*UpdatePlatformResponse) Reset ¶
func (x *UpdatePlatformResponse) Reset()
func (*UpdatePlatformResponse) String ¶
func (x *UpdatePlatformResponse) String() string