platform

package
v0.95.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_holos_platform_v1alpha1_platform_proto protoreflect.FileDescriptor
View Source
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"`
	AlreadyExists bool      `protobuf:"varint,2,opt,name=already_exists,json=alreadyExists,proto3" json:"already_exists,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePlatformResponse) Descriptor deprecated

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

Deprecated: Use CreatePlatformResponse.ProtoReflect.Descriptor instead.

func (*CreatePlatformResponse) GetAlreadyExists added in v0.89.0

func (x *CreatePlatformResponse) GetAlreadyExists() bool

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 DeletePlatformRequest added in v0.90.0

type DeletePlatformRequest struct {
	PlatformId string `protobuf:"bytes,1,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePlatformRequest) Descriptor deprecated added in v0.90.0

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

Deprecated: Use DeletePlatformRequest.ProtoReflect.Descriptor instead.

func (*DeletePlatformRequest) GetPlatformId added in v0.90.0

func (x *DeletePlatformRequest) GetPlatformId() string

func (*DeletePlatformRequest) ProtoMessage added in v0.90.0

func (*DeletePlatformRequest) ProtoMessage()

func (*DeletePlatformRequest) ProtoReflect added in v0.90.0

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

func (*DeletePlatformRequest) Reset added in v0.90.0

func (x *DeletePlatformRequest) Reset()

func (*DeletePlatformRequest) String added in v0.90.0

func (x *DeletePlatformRequest) String() string

type DeletePlatformResponse added in v0.90.0

type DeletePlatformResponse struct {
	Platform *Platform `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePlatformResponse) Descriptor deprecated added in v0.90.0

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

Deprecated: Use DeletePlatformResponse.ProtoReflect.Descriptor instead.

func (*DeletePlatformResponse) GetPlatform added in v0.90.0

func (x *DeletePlatformResponse) GetPlatform() *Platform

func (*DeletePlatformResponse) ProtoMessage added in v0.90.0

func (*DeletePlatformResponse) ProtoMessage()

func (*DeletePlatformResponse) ProtoReflect added in v0.90.0

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

func (*DeletePlatformResponse) Reset added in v0.90.0

func (x *DeletePlatformResponse) Reset()

func (*DeletePlatformResponse) String added in v0.90.0

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

Deprecated: Use Owner.ProtoReflect.Descriptor instead.

func (*Owner) GetOrgId

func (x *Owner) GetOrgId() string

func (*Owner) GetOwner

func (m *Owner) GetOwner() isOwner_Owner

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) ProtoReflect

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

func (*Owner) Reset

func (x *Owner) Reset()

func (*Owner) String

func (x *Owner) String() string

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

Deprecated: Use Platform.ProtoReflect.Descriptor instead.

func (*Platform) GetDescription

func (x *Platform) GetDescription() string

func (*Platform) GetDetail

func (x *Platform) GetDetail() *v1alpha1.Detail

func (*Platform) GetDisplayName

func (x *Platform) GetDisplayName() string

func (*Platform) GetId

func (x *Platform) GetId() string

func (*Platform) GetName

func (x *Platform) GetName() string

func (*Platform) GetOwner

func (x *Platform) GetOwner() *Owner

func (*Platform) GetSpec

func (x *Platform) GetSpec() *Spec

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) ProtoReflect

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

func (*Platform) Reset

func (x *Platform) Reset()

func (*Platform) String

func (x *Platform) String() string

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

Deprecated: Use Spec.ProtoReflect.Descriptor instead.

func (*Spec) GetForm

func (x *Spec) GetForm() *v1alpha1.Form

func (*Spec) GetModel

func (x *Spec) GetModel() *structpb.Struct

func (*Spec) ProtoMessage

func (*Spec) ProtoMessage()

func (*Spec) ProtoReflect

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

func (*Spec) Reset

func (x *Spec) Reset()

func (*Spec) String

func (x *Spec) String() string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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