Help us shape the future of Go! Take the 2026 Go Developer Survey

project

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type LifecycleSpec

type LifecycleSpec struct {
	// If true, the project cannot be deleted.
	EnableDeleteProtection bool `` /* 130-byte string literal not displayed */
}

temporal:dev

func (*LifecycleSpec) Descriptor

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

func (*LifecycleSpec) Equal

func (this *LifecycleSpec) Equal(that interface{}) bool

func (*LifecycleSpec) GetEnableDeleteProtection

func (m *LifecycleSpec) GetEnableDeleteProtection() bool

func (*LifecycleSpec) GoString

func (this *LifecycleSpec) GoString() string

func (*LifecycleSpec) Marshal

func (m *LifecycleSpec) Marshal() (dAtA []byte, err error)

func (*LifecycleSpec) MarshalTo

func (m *LifecycleSpec) MarshalTo(dAtA []byte) (int, error)

func (*LifecycleSpec) MarshalToSizedBuffer

func (m *LifecycleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LifecycleSpec) ProtoMessage

func (*LifecycleSpec) ProtoMessage()

func (*LifecycleSpec) Reset

func (m *LifecycleSpec) Reset()

func (*LifecycleSpec) Size

func (m *LifecycleSpec) Size() (n int)

func (*LifecycleSpec) String

func (this *LifecycleSpec) String() string

func (*LifecycleSpec) Unmarshal

func (m *LifecycleSpec) Unmarshal(dAtA []byte) error

func (*LifecycleSpec) XXX_DiscardUnknown

func (m *LifecycleSpec) XXX_DiscardUnknown()

func (*LifecycleSpec) XXX_Marshal

func (m *LifecycleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LifecycleSpec) XXX_Merge

func (m *LifecycleSpec) XXX_Merge(src proto.Message)

func (*LifecycleSpec) XXX_Size

func (m *LifecycleSpec) XXX_Size() int

func (*LifecycleSpec) XXX_Unmarshal

func (m *LifecycleSpec) XXX_Unmarshal(b []byte) error

type Project

type Project struct {
	// The id of the user
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The project specification
	Spec *ProjectSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current version of the project specification
	// The next update operation will have to include this version
	ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The current state of the project.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	State v1.ResourceState `protobuf:"varint,4,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"`
	// The id of the async operation that is creating/updating/deleting the project, if any
	AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// The date and time when the project was created
	CreatedTime *types.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// The date and time when the project was last modified
	// Will not be set if the project has never been modified
	LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
}

temporal:dev

func (*Project) Descriptor

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

func (*Project) Equal

func (this *Project) Equal(that interface{}) bool

func (*Project) GetAsyncOperationId

func (m *Project) GetAsyncOperationId() string

func (*Project) GetCreatedTime

func (m *Project) GetCreatedTime() *types.Timestamp

func (*Project) GetId

func (m *Project) GetId() string

func (*Project) GetLastModifiedTime

func (m *Project) GetLastModifiedTime() *types.Timestamp

func (*Project) GetResourceVersion

func (m *Project) GetResourceVersion() string

func (*Project) GetSpec

func (m *Project) GetSpec() *ProjectSpec

func (*Project) GetState

func (m *Project) GetState() v1.ResourceState

func (*Project) GoString

func (this *Project) GoString() string

func (*Project) Marshal

func (m *Project) Marshal() (dAtA []byte, err error)

func (*Project) MarshalTo

func (m *Project) MarshalTo(dAtA []byte) (int, error)

func (*Project) MarshalToSizedBuffer

func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) Size

func (m *Project) Size() (n int)

func (*Project) String

func (this *Project) String() string

func (*Project) Unmarshal

func (m *Project) Unmarshal(dAtA []byte) error

func (*Project) XXX_DiscardUnknown

func (m *Project) XXX_DiscardUnknown()

func (*Project) XXX_Marshal

func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Project) XXX_Merge

func (m *Project) XXX_Merge(src proto.Message)

func (*Project) XXX_Size

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal

func (m *Project) XXX_Unmarshal(b []byte) error

type ProjectSpec

type ProjectSpec struct {
	// The display name of the project.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A description of the project.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The lifecycle configuration for the project.
	Lifecycle *LifecycleSpec `protobuf:"bytes,3,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
}

temporal:dev

func (*ProjectSpec) Descriptor

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

func (*ProjectSpec) Equal

func (this *ProjectSpec) Equal(that interface{}) bool

func (*ProjectSpec) GetDescription

func (m *ProjectSpec) GetDescription() string

func (*ProjectSpec) GetDisplayName

func (m *ProjectSpec) GetDisplayName() string

func (*ProjectSpec) GetLifecycle

func (m *ProjectSpec) GetLifecycle() *LifecycleSpec

func (*ProjectSpec) GoString

func (this *ProjectSpec) GoString() string

func (*ProjectSpec) Marshal

func (m *ProjectSpec) Marshal() (dAtA []byte, err error)

func (*ProjectSpec) MarshalTo

func (m *ProjectSpec) MarshalTo(dAtA []byte) (int, error)

func (*ProjectSpec) MarshalToSizedBuffer

func (m *ProjectSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectSpec) ProtoMessage

func (*ProjectSpec) ProtoMessage()

func (*ProjectSpec) Reset

func (m *ProjectSpec) Reset()

func (*ProjectSpec) Size

func (m *ProjectSpec) Size() (n int)

func (*ProjectSpec) String

func (this *ProjectSpec) String() string

func (*ProjectSpec) Unmarshal

func (m *ProjectSpec) Unmarshal(dAtA []byte) error

func (*ProjectSpec) XXX_DiscardUnknown

func (m *ProjectSpec) XXX_DiscardUnknown()

func (*ProjectSpec) XXX_Marshal

func (m *ProjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectSpec) XXX_Merge

func (m *ProjectSpec) XXX_Merge(src proto.Message)

func (*ProjectSpec) XXX_Size

func (m *ProjectSpec) XXX_Size() int

func (*ProjectSpec) XXX_Unmarshal

func (m *ProjectSpec) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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