Documentation
¶
Index ¶
- Variables
- type AccountInfo
- func (*AccountInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInfo) GetAuthUrl() string
- func (x *AccountInfo) GetEmail() string
- func (x *AccountInfo) GetSessionId() string
- func (x *AccountInfo) GetUserId() string
- func (*AccountInfo) ProtoMessage()
- func (x *AccountInfo) ProtoReflect() protoreflect.Message
- func (x *AccountInfo) Reset()
- func (x *AccountInfo) String() string
- type AddFeatureAppsRequest
- func (*AddFeatureAppsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddFeatureAppsRequest) GetApps() []string
- func (x *AddFeatureAppsRequest) GetFeature() string
- func (x *AddFeatureAppsRequest) GetProject() string
- func (*AddFeatureAppsRequest) ProtoMessage()
- func (x *AddFeatureAppsRequest) ProtoReflect() protoreflect.Message
- func (x *AddFeatureAppsRequest) Reset()
- func (x *AddFeatureAppsRequest) String() string
- type AddFeatureAppsResponse
- func (*AddFeatureAppsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddFeatureAppsResponse) GetEnvironmentId() string
- func (x *AddFeatureAppsResponse) GetRevision() uint64
- func (*AddFeatureAppsResponse) ProtoMessage()
- func (x *AddFeatureAppsResponse) ProtoReflect() protoreflect.Message
- func (x *AddFeatureAppsResponse) Reset()
- func (x *AddFeatureAppsResponse) String() string
- type AppInfo
- func (*AppInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AppInfo) GetName() string
- func (x *AppInfo) GetOptional() bool
- func (x *AppInfo) GetRoutes() []string
- func (x *AppInfo) GetUses() []string
- func (*AppInfo) ProtoMessage()
- func (x *AppInfo) ProtoReflect() protoreflect.Message
- func (x *AppInfo) Reset()
- func (x *AppInfo) String() string
- type AppSource
- func (*AppSource) Descriptor() ([]byte, []int)deprecated
- func (x *AppSource) GetApp() string
- func (x *AppSource) GetBranch() string
- func (x *AppSource) GetCheckout() string
- func (x *AppSource) GetPath() string
- func (*AppSource) ProtoMessage()
- func (x *AppSource) ProtoReflect() protoreflect.Message
- func (x *AppSource) Reset()
- func (x *AppSource) String() string
- type CAInfo
- func (*CAInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CAInfo) GetFingerprint() string
- func (x *CAInfo) GetNotAfter() *timestamppb.Timestamp
- func (x *CAInfo) GetRootPath() string
- func (*CAInfo) ProtoMessage()
- func (x *CAInfo) ProtoReflect() protoreflect.Message
- func (x *CAInfo) Reset()
- func (x *CAInfo) String() string
- type CreateFeatureRequest
- func (*CreateFeatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFeatureRequest) GetApps() []string
- func (x *CreateFeatureRequest) GetBranch() string
- func (x *CreateFeatureRequest) GetName() string
- func (x *CreateFeatureRequest) GetProject() string
- func (*CreateFeatureRequest) ProtoMessage()
- func (x *CreateFeatureRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFeatureRequest) Reset()
- func (x *CreateFeatureRequest) String() string
- type CreateFeatureResponse
- func (*CreateFeatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFeatureResponse) GetBaseEnvironmentId() string
- func (x *CreateFeatureResponse) GetBranch() string
- func (x *CreateFeatureResponse) GetEnvironmentId() string
- func (x *CreateFeatureResponse) GetRevision() uint64
- func (x *CreateFeatureResponse) GetSlug() string
- func (*CreateFeatureResponse) ProtoMessage()
- func (x *CreateFeatureResponse) ProtoReflect() protoreflect.Message
- func (x *CreateFeatureResponse) Reset()
- func (x *CreateFeatureResponse) String() string
- type DataStatus
- func (*DataStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DataStatus) GetBehind() bool
- func (x *DataStatus) GetCopiedAt() *timestamppb.Timestamp
- func (x *DataStatus) GetEngine() string
- func (x *DataStatus) GetNote() string
- func (x *DataStatus) GetService() string
- func (x *DataStatus) GetSize() string
- func (*DataStatus) ProtoMessage()
- func (x *DataStatus) ProtoReflect() protoreflect.Message
- func (x *DataStatus) Reset()
- func (x *DataStatus) String() string
- type DescribeProjectRequest
- func (*DescribeProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeProjectRequest) GetForks() []string
- func (x *DescribeProjectRequest) GetProject() string
- func (*DescribeProjectRequest) ProtoMessage()
- func (x *DescribeProjectRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeProjectRequest) Reset()
- func (x *DescribeProjectRequest) String() string
- type DescribeProjectResponse
- func (*DescribeProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeProjectResponse) GetApps() []*AppInfo
- func (x *DescribeProjectResponse) GetBranchPrefix() string
- func (x *DescribeProjectResponse) GetDomain() string
- func (x *DescribeProjectResponse) GetOverrideFile() string
- func (x *DescribeProjectResponse) GetOverridesApplied() []string
- func (x *DescribeProjectResponse) GetOverridesRejected() []string
- func (x *DescribeProjectResponse) GetPlan() *FeaturePlan
- func (x *DescribeProjectResponse) GetProject() string
- func (x *DescribeProjectResponse) GetServices() []string
- func (x *DescribeProjectResponse) GetSpec() []byte
- func (x *DescribeProjectResponse) GetWorkspacePath() string
- func (*DescribeProjectResponse) ProtoMessage()
- func (x *DescribeProjectResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeProjectResponse) Reset()
- func (x *DescribeProjectResponse) String() string
- type DesiredPhase
- func (DesiredPhase) Descriptor() protoreflect.EnumDescriptor
- func (x DesiredPhase) Enum() *DesiredPhase
- func (DesiredPhase) EnumDescriptor() ([]byte, []int)deprecated
- func (x DesiredPhase) Number() protoreflect.EnumNumber
- func (x DesiredPhase) String() string
- func (DesiredPhase) Type() protoreflect.EnumType
- type DesiredState
- func (*DesiredState) Descriptor() ([]byte, []int)deprecated
- func (x *DesiredState) GetDevice() *DeviceSettings
- func (x *DesiredState) GetEnvironments() []*EnvironmentSpec
- func (x *DesiredState) GetProjects() []*ProjectSpec
- func (x *DesiredState) GetRevision() uint64
- func (x *DesiredState) GetTrustRoots() map[string]*TrustRoot
- func (*DesiredState) ProtoMessage()
- func (x *DesiredState) ProtoReflect() protoreflect.Message
- func (x *DesiredState) Reset()
- func (x *DesiredState) String() string
- type DeviceSettings
- func (*DeviceSettings) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceSettings) GetCoexistHttpPort() uint32
- func (x *DeviceSettings) GetCoexistHttpsPort() uint32
- func (x *DeviceSettings) GetProxyGeneration() uint64
- func (*DeviceSettings) ProtoMessage()
- func (x *DeviceSettings) ProtoReflect() protoreflect.Message
- func (x *DeviceSettings) Reset()
- func (x *DeviceSettings) String() string
- type DownRequest
- type DownResponse
- type EnvironmentKind
- func (EnvironmentKind) Descriptor() protoreflect.EnumDescriptor
- func (x EnvironmentKind) Enum() *EnvironmentKind
- func (EnvironmentKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnvironmentKind) Number() protoreflect.EnumNumber
- func (x EnvironmentKind) String() string
- func (EnvironmentKind) Type() protoreflect.EnumType
- type EnvironmentSpec
- func (*EnvironmentSpec) Descriptor() ([]byte, []int)deprecated
- func (x *EnvironmentSpec) GetBranch() string
- func (x *EnvironmentSpec) GetDataResets() map[string]uint64
- func (x *EnvironmentSpec) GetForkedApps() []string
- func (x *EnvironmentSpec) GetId() string
- func (x *EnvironmentSpec) GetKind() EnvironmentKind
- func (x *EnvironmentSpec) GetName() string
- func (x *EnvironmentSpec) GetPhase() DesiredPhase
- func (x *EnvironmentSpec) GetProject() string
- func (x *EnvironmentSpec) GetSlug() string
- func (*EnvironmentSpec) ProtoMessage()
- func (x *EnvironmentSpec) ProtoReflect() protoreflect.Message
- func (x *EnvironmentSpec) Reset()
- func (x *EnvironmentSpec) String() string
- type EnvironmentStatus
- func (*EnvironmentStatus) Descriptor() ([]byte, []int)deprecated
- func (x *EnvironmentStatus) GetAppliedRevision() uint64
- func (x *EnvironmentStatus) GetBranch() string
- func (x *EnvironmentStatus) GetCodeRoot() string
- func (x *EnvironmentStatus) GetData() []*DataStatus
- func (x *EnvironmentStatus) GetError() string
- func (x *EnvironmentStatus) GetForkedApps() []string
- func (x *EnvironmentStatus) GetId() string
- func (x *EnvironmentStatus) GetKind() EnvironmentKind
- func (x *EnvironmentStatus) GetLastActive() *timestamppb.Timestamp
- func (x *EnvironmentStatus) GetMerged() bool
- func (x *EnvironmentStatus) GetName() string
- func (x *EnvironmentStatus) GetNetwork() *NetworkStatus
- func (x *EnvironmentStatus) GetNotes() []string
- func (x *EnvironmentStatus) GetPhase() Phase
- func (x *EnvironmentStatus) GetProject() string
- func (x *EnvironmentStatus) GetRemoved() bool
- func (x *EnvironmentStatus) GetShared() []string
- func (x *EnvironmentStatus) GetSleepReason() string
- func (x *EnvironmentStatus) GetSleepingSince() *timestamppb.Timestamp
- func (x *EnvironmentStatus) GetSlug() string
- func (x *EnvironmentStatus) GetSources() []*AppSource
- func (x *EnvironmentStatus) GetSteps() []*StepProgress
- func (x *EnvironmentStatus) GetUnits() []*UnitStatus
- func (x *EnvironmentStatus) GetUpdatedAt() *timestamppb.Timestamp
- func (x *EnvironmentStatus) GetUrl() string
- func (*EnvironmentStatus) ProtoMessage()
- func (x *EnvironmentStatus) ProtoReflect() protoreflect.Message
- func (x *EnvironmentStatus) Reset()
- func (x *EnvironmentStatus) String() string
- type ExpectChangeRequest
- func (*ExpectChangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpectChangeRequest) GetProject() string
- func (x *ExpectChangeRequest) GetSection() string
- func (x *ExpectChangeRequest) GetYaml() []byte
- func (*ExpectChangeRequest) ProtoMessage()
- func (x *ExpectChangeRequest) ProtoReflect() protoreflect.Message
- func (x *ExpectChangeRequest) Reset()
- func (x *ExpectChangeRequest) String() string
- type ExpectChangeResponse
- type FeaturePlan
- func (*FeaturePlan) Descriptor() ([]byte, []int)deprecated
- func (x *FeaturePlan) GetCopies() []string
- func (x *FeaturePlan) GetDependents() []string
- func (x *FeaturePlan) GetForked() []string
- func (x *FeaturePlan) GetOwn() []string
- func (x *FeaturePlan) GetShared() []string
- func (x *FeaturePlan) GetWarnings() []string
- func (*FeaturePlan) ProtoMessage()
- func (x *FeaturePlan) ProtoReflect() protoreflect.Message
- func (x *FeaturePlan) Reset()
- func (x *FeaturePlan) String() string
- type LinkInfo
- func (*LinkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LinkInfo) GetConnected() bool
- func (x *LinkInfo) GetError() string
- func (x *LinkInfo) GetServer() string
- func (x *LinkInfo) GetTrustOffered() string
- func (x *LinkInfo) GetTrustRoot() string
- func (x *LinkInfo) GetWorkspace() string
- func (*LinkInfo) ProtoMessage()
- func (x *LinkInfo) ProtoReflect() protoreflect.Message
- func (x *LinkInfo) Reset()
- func (x *LinkInfo) String() string
- type LogLine
- func (*LogLine) Descriptor() ([]byte, []int)deprecated
- func (x *LogLine) GetStderr() bool
- func (x *LogLine) GetText() string
- func (x *LogLine) GetTime() *timestamppb.Timestamp
- func (*LogLine) ProtoMessage()
- func (x *LogLine) ProtoReflect() protoreflect.Message
- func (x *LogLine) Reset()
- func (x *LogLine) String() string
- type LogSource
- func (*LogSource) Descriptor() ([]byte, []int)deprecated
- func (x *LogSource) GetFile() string
- func (x *LogSource) GetUnit() string
- func (x *LogSource) GetUpdatedAt() *timestamppb.Timestamp
- func (*LogSource) ProtoMessage()
- func (x *LogSource) ProtoReflect() protoreflect.Message
- func (x *LogSource) Reset()
- func (x *LogSource) String() string
- type LogSourcesRequest
- func (*LogSourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogSourcesRequest) GetEnvironmentId() string
- func (*LogSourcesRequest) ProtoMessage()
- func (x *LogSourcesRequest) ProtoReflect() protoreflect.Message
- func (x *LogSourcesRequest) Reset()
- func (x *LogSourcesRequest) String() string
- type LogSourcesResponse
- func (*LogSourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LogSourcesResponse) GetSources() []*LogSource
- func (*LogSourcesResponse) ProtoMessage()
- func (x *LogSourcesResponse) ProtoReflect() protoreflect.Message
- func (x *LogSourcesResponse) Reset()
- func (x *LogSourcesResponse) String() string
- type LogsRequest
- func (*LogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogsRequest) GetEnvironmentId() string
- func (x *LogsRequest) GetFollow() bool
- func (x *LogsRequest) GetSource() *LogSource
- func (x *LogsRequest) GetTail() uint32
- func (*LogsRequest) ProtoMessage()
- func (x *LogsRequest) ProtoReflect() protoreflect.Message
- func (x *LogsRequest) Reset()
- func (x *LogsRequest) String() string
- type LogsResponse
- type NetworkStatus
- func (*NetworkStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkStatus) GetName() string
- func (x *NetworkStatus) GetSubnet() string
- func (*NetworkStatus) ProtoMessage()
- func (x *NetworkStatus) ProtoReflect() protoreflect.Message
- func (x *NetworkStatus) Reset()
- func (x *NetworkStatus) String() string
- type PendingChange
- func (*PendingChange) Descriptor() ([]byte, []int)deprecated
- func (x *PendingChange) GetHash() string
- func (x *PendingChange) GetOther() []string
- func (x *PendingChange) GetRisky() []string
- func (x *PendingChange) GetSpec() []byte
- func (x *PendingChange) GetUnverified() string
- func (x *PendingChange) GetVersion() int32
- func (*PendingChange) ProtoMessage()
- func (x *PendingChange) ProtoReflect() protoreflect.Message
- func (x *PendingChange) Reset()
- func (x *PendingChange) String() string
- type Phase
- type PortConflict
- func (*PortConflict) Descriptor() ([]byte, []int)deprecated
- func (x *PortConflict) GetAddress() string
- func (x *PortConflict) GetHint() string
- func (x *PortConflict) GetKind() string
- func (x *PortConflict) GetOwner() string
- func (x *PortConflict) GetPid() int32
- func (*PortConflict) ProtoMessage()
- func (x *PortConflict) ProtoReflect() protoreflect.Message
- func (x *PortConflict) Reset()
- func (x *PortConflict) String() string
- type ProjectSpec
- func (*ProjectSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectSpec) GetAdminEmail() string
- func (x *ProjectSpec) GetConfig() []byte
- func (x *ProjectSpec) GetConfigHash() string
- func (x *ProjectSpec) GetConfigVersion() int32
- func (x *ProjectSpec) GetDeclined() string
- func (x *ProjectSpec) GetDeployedBy() string
- func (x *ProjectSpec) GetEnvKind() string
- func (x *ProjectSpec) GetEnvironmentSignedBy() string
- func (x *ProjectSpec) GetExpected() map[string][]byte
- func (x *ProjectSpec) GetHeld() bool
- func (x *ProjectSpec) GetKeyGeneration() int32
- func (x *ProjectSpec) GetKeyWrap() []byte
- func (x *ProjectSpec) GetName() string
- func (x *ProjectSpec) GetOrphaned() bool
- func (x *ProjectSpec) GetOverridesAllowed() []string
- func (x *ProjectSpec) GetOverridesPermitted() bool
- func (x *ProjectSpec) GetPending() *PendingChange
- func (x *ProjectSpec) GetPublicDomain() string
- func (x *ProjectSpec) GetRoot() string
- func (x *ProjectSpec) GetSecrets() map[string][]byte
- func (x *ProjectSpec) GetSignedBy() string
- func (x *ProjectSpec) GetSpec() []byte
- func (x *ProjectSpec) GetWorkspaceId() string
- func (*ProjectSpec) ProtoMessage()
- func (x *ProjectSpec) ProtoReflect() protoreflect.Message
- func (x *ProjectSpec) Reset()
- func (x *ProjectSpec) String() string
- type ProxyStatus
- func (*ProxyStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyStatus) GetCoexistHttpPort() uint32
- func (x *ProxyStatus) GetCoexistHttpsPort() uint32
- func (x *ProxyStatus) GetConfigVersion() string
- func (x *ProxyStatus) GetConflicts() []*PortConflict
- func (x *ProxyStatus) GetConnected() bool
- func (x *ProxyStatus) GetContainer() string
- func (x *ProxyStatus) GetError() string
- func (x *ProxyStatus) GetHttpPort() uint32
- func (x *ProxyStatus) GetHttpsPort() uint32
- func (x *ProxyStatus) GetMode() string
- func (x *ProxyStatus) GetRejected() string
- func (x *ProxyStatus) GetRelays() []string
- func (x *ProxyStatus) GetState() string
- func (*ProxyStatus) ProtoMessage()
- func (x *ProxyStatus) ProtoReflect() protoreflect.Message
- func (x *ProxyStatus) Reset()
- func (x *ProxyStatus) String() string
- type RemoveFeatureRequest
- func (*RemoveFeatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFeatureRequest) GetFeature() string
- func (x *RemoveFeatureRequest) GetForce() bool
- func (x *RemoveFeatureRequest) GetProject() string
- func (*RemoveFeatureRequest) ProtoMessage()
- func (x *RemoveFeatureRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFeatureRequest) Reset()
- func (x *RemoveFeatureRequest) String() string
- type RemoveFeatureResponse
- func (*RemoveFeatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFeatureResponse) GetEnvironmentId() string
- func (x *RemoveFeatureResponse) GetRevision() uint64
- func (*RemoveFeatureResponse) ProtoMessage()
- func (x *RemoveFeatureResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveFeatureResponse) Reset()
- func (x *RemoveFeatureResponse) String() string
- type ResetDataRequest
- func (*ResetDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetDataRequest) GetEnvironment() string
- func (x *ResetDataRequest) GetProject() string
- func (x *ResetDataRequest) GetServices() []string
- func (*ResetDataRequest) ProtoMessage()
- func (x *ResetDataRequest) ProtoReflect() protoreflect.Message
- func (x *ResetDataRequest) Reset()
- func (x *ResetDataRequest) String() string
- type ResetDataResponse
- func (*ResetDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResetDataResponse) GetEnvironmentId() string
- func (x *ResetDataResponse) GetRevision() uint64
- func (x *ResetDataResponse) GetServices() []string
- func (*ResetDataResponse) ProtoMessage()
- func (x *ResetDataResponse) ProtoReflect() protoreflect.Message
- func (x *ResetDataResponse) Reset()
- func (x *ResetDataResponse) String() string
- type ResourcesRequest
- type ResourcesResponse
- func (*ResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcesResponse) GetUnits() []*UnitResources
- func (*ResourcesResponse) ProtoMessage()
- func (x *ResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ResourcesResponse) Reset()
- func (x *ResourcesResponse) String() string
- type ReviewChangesRequest
- func (*ReviewChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReviewChangesRequest) GetAccept() bool
- func (x *ReviewChangesRequest) GetHash() string
- func (x *ReviewChangesRequest) GetProject() string
- func (*ReviewChangesRequest) ProtoMessage()
- func (x *ReviewChangesRequest) ProtoReflect() protoreflect.Message
- func (x *ReviewChangesRequest) Reset()
- func (x *ReviewChangesRequest) String() string
- type ReviewChangesResponse
- func (*ReviewChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReviewChangesResponse) GetDesiredRevision() uint64
- func (*ReviewChangesResponse) ProtoMessage()
- func (x *ReviewChangesResponse) ProtoReflect() protoreflect.Message
- func (x *ReviewChangesResponse) Reset()
- func (x *ReviewChangesResponse) String() string
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetEnvironmentId() string
- func (x *Route) GetHost() string
- func (x *Route) GetPath() string
- func (x *Route) GetProject() string
- func (x *Route) GetTarget() string
- func (x *Route) GetUrl() string
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- type RoutesRequest
- type RoutesResponse
- func (*RoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoutesResponse) GetProxy() *ProxyStatus
- func (x *RoutesResponse) GetRoutes() []*Route
- func (*RoutesResponse) ProtoMessage()
- func (x *RoutesResponse) ProtoReflect() protoreflect.Message
- func (x *RoutesResponse) Reset()
- func (x *RoutesResponse) String() string
- type RuntimeInfo
- func (*RuntimeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeInfo) GetEndpoint() string
- func (x *RuntimeInfo) GetError() string
- func (x *RuntimeInfo) GetName() string
- func (x *RuntimeInfo) GetOs() string
- func (x *RuntimeInfo) GetReachable() bool
- func (x *RuntimeInfo) GetServerVersion() string
- func (*RuntimeInfo) ProtoMessage()
- func (x *RuntimeInfo) ProtoReflect() protoreflect.Message
- func (x *RuntimeInfo) Reset()
- func (x *RuntimeInfo) String() string
- type SetProxyRequest
- func (*SetProxyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetProxyRequest) GetCoexistHttpPort() uint32
- func (x *SetProxyRequest) GetCoexistHttpsPort() uint32
- func (x *SetProxyRequest) GetRestart() bool
- func (*SetProxyRequest) ProtoMessage()
- func (x *SetProxyRequest) ProtoReflect() protoreflect.Message
- func (x *SetProxyRequest) Reset()
- func (x *SetProxyRequest) String() string
- type SetProxyResponse
- type SetSleepRequest
- func (*SetSleepRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSleepRequest) GetAsleep() bool
- func (x *SetSleepRequest) GetFeature() string
- func (x *SetSleepRequest) GetProject() string
- func (*SetSleepRequest) ProtoMessage()
- func (x *SetSleepRequest) ProtoReflect() protoreflect.Message
- func (x *SetSleepRequest) Reset()
- func (x *SetSleepRequest) String() string
- type SetSleepResponse
- type StatusRequest
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetAccount() *AccountInfo
- func (x *StatusResponse) GetAgentVersion() string
- func (x *StatusResponse) GetCa() *CAInfo
- func (x *StatusResponse) GetDesiredRevision() uint64
- func (x *StatusResponse) GetEnvironments() []*EnvironmentStatus
- func (x *StatusResponse) GetLink() *LinkInfo
- func (x *StatusResponse) GetProjects() []*ProjectSpec
- func (x *StatusResponse) GetProxy() *ProxyStatus
- func (x *StatusResponse) GetRuntime() *RuntimeInfo
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type StepProgress
- func (*StepProgress) Descriptor() ([]byte, []int)deprecated
- func (x *StepProgress) GetFinishedAt() *timestamppb.Timestamp
- func (x *StepProgress) GetMessage() string
- func (x *StepProgress) GetName() string
- func (x *StepProgress) GetStartedAt() *timestamppb.Timestamp
- func (x *StepProgress) GetState() StepState
- func (*StepProgress) ProtoMessage()
- func (x *StepProgress) ProtoReflect() protoreflect.Message
- func (x *StepProgress) Reset()
- func (x *StepProgress) String() string
- type StepState
- type TrustRoot
- func (*TrustRoot) Descriptor() ([]byte, []int)deprecated
- func (x *TrustRoot) GetDeviceId() string
- func (x *TrustRoot) GetEmail() string
- func (x *TrustRoot) GetOffered() []byte
- func (x *TrustRoot) GetPublicKey() []byte
- func (*TrustRoot) ProtoMessage()
- func (x *TrustRoot) ProtoReflect() protoreflect.Message
- func (x *TrustRoot) Reset()
- func (x *TrustRoot) String() string
- type UnitResources
- func (*UnitResources) Descriptor() ([]byte, []int)deprecated
- func (x *UnitResources) GetCpuPercent() float64
- func (x *UnitResources) GetMemoryBytes() uint64
- func (x *UnitResources) GetMemoryLimit() uint64
- func (x *UnitResources) GetName() string
- func (*UnitResources) ProtoMessage()
- func (x *UnitResources) ProtoReflect() protoreflect.Message
- func (x *UnitResources) Reset()
- func (x *UnitResources) String() string
- type UnitStatus
- func (*UnitStatus) Descriptor() ([]byte, []int)deprecated
- func (x *UnitStatus) GetAddress() string
- func (x *UnitStatus) GetContainer() string
- func (x *UnitStatus) GetError() string
- func (x *UnitStatus) GetName() string
- func (x *UnitStatus) GetRole() string
- func (x *UnitStatus) GetRoutes() []string
- func (x *UnitStatus) GetState() string
- func (*UnitStatus) ProtoMessage()
- func (x *UnitStatus) ProtoReflect() protoreflect.Message
- func (x *UnitStatus) Reset()
- func (x *UnitStatus) String() string
- type UpRequest
- type UpResponse
- func (*UpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpResponse) GetEnvironmentId() string
- func (x *UpResponse) GetRevision() uint64
- func (*UpResponse) ProtoMessage()
- func (x *UpResponse) ProtoReflect() protoreflect.Message
- func (x *UpResponse) Reset()
- func (x *UpResponse) String() string
- type WatchRequest
- type WatchResponse
- func (*WatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WatchResponse) GetStatus() *EnvironmentStatus
- func (x *WatchResponse) GetSynced() bool
- func (*WatchResponse) ProtoMessage()
- func (x *WatchResponse) ProtoReflect() protoreflect.Message
- func (x *WatchResponse) Reset()
- func (x *WatchResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( EnvironmentKind_name = map[int32]string{ 0: "ENVIRONMENT_KIND_UNSPECIFIED", 1: "ENVIRONMENT_KIND_BASE", 2: "ENVIRONMENT_KIND_FEATURE", } EnvironmentKind_value = map[string]int32{ "ENVIRONMENT_KIND_UNSPECIFIED": 0, "ENVIRONMENT_KIND_BASE": 1, "ENVIRONMENT_KIND_FEATURE": 2, } )
Enum value maps for EnvironmentKind.
var ( DesiredPhase_name = map[int32]string{ 0: "DESIRED_PHASE_UNSPECIFIED", 1: "DESIRED_PHASE_RUNNING", 2: "DESIRED_PHASE_STOPPED", } DesiredPhase_value = map[string]int32{ "DESIRED_PHASE_UNSPECIFIED": 0, "DESIRED_PHASE_RUNNING": 1, "DESIRED_PHASE_STOPPED": 2, } )
Enum value maps for DesiredPhase.
var ( Phase_name = map[int32]string{ 0: "PHASE_UNSPECIFIED", 1: "PHASE_CREATING", 2: "PHASE_RUNNING", 3: "PHASE_STOPPED", 4: "PHASE_ERROR", 5: "PHASE_DELETING", 6: "PHASE_SLEEPING", } Phase_value = map[string]int32{ "PHASE_UNSPECIFIED": 0, "PHASE_CREATING": 1, "PHASE_RUNNING": 2, "PHASE_STOPPED": 3, "PHASE_ERROR": 4, "PHASE_DELETING": 5, "PHASE_SLEEPING": 6, } )
Enum value maps for Phase.
var ( StepState_name = map[int32]string{ 0: "STEP_STATE_UNSPECIFIED", 1: "STEP_STATE_PENDING", 2: "STEP_STATE_RUNNING", 3: "STEP_STATE_DONE", 4: "STEP_STATE_FAILED", } StepState_value = map[string]int32{ "STEP_STATE_UNSPECIFIED": 0, "STEP_STATE_PENDING": 1, "STEP_STATE_RUNNING": 2, "STEP_STATE_DONE": 3, "STEP_STATE_FAILED": 4, } )
Enum value maps for StepState.
var File_devopus_agent_v2_agent_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccountInfo ¶
type AccountInfo struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// The Auth service the session belongs to.
AuthUrl string `protobuf:"bytes,4,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"`
// contains filtered or unexported fields
}
func (*AccountInfo) Descriptor
deprecated
func (*AccountInfo) Descriptor() ([]byte, []int)
Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.
func (*AccountInfo) GetAuthUrl ¶
func (x *AccountInfo) GetAuthUrl() string
func (*AccountInfo) GetEmail ¶
func (x *AccountInfo) GetEmail() string
func (*AccountInfo) GetSessionId ¶
func (x *AccountInfo) GetSessionId() string
func (*AccountInfo) GetUserId ¶
func (x *AccountInfo) GetUserId() string
func (*AccountInfo) ProtoMessage ¶
func (*AccountInfo) ProtoMessage()
func (*AccountInfo) ProtoReflect ¶
func (x *AccountInfo) ProtoReflect() protoreflect.Message
func (*AccountInfo) Reset ¶
func (x *AccountInfo) Reset()
func (*AccountInfo) String ¶
func (x *AccountInfo) String() string
type AddFeatureAppsRequest ¶
type AddFeatureAppsRequest struct {
// Name, slug or ID of the feature.
Feature string `protobuf:"bytes,3,opt,name=feature,proto3" json:"feature,omitempty"`
Apps []string `protobuf:"bytes,4,rep,name=apps,proto3" json:"apps,omitempty"`
Project string `protobuf:"bytes,5,opt,name=project,proto3" json:"project,omitempty"`
// contains filtered or unexported fields
}
func (*AddFeatureAppsRequest) Descriptor
deprecated
func (*AddFeatureAppsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFeatureAppsRequest.ProtoReflect.Descriptor instead.
func (*AddFeatureAppsRequest) GetApps ¶
func (x *AddFeatureAppsRequest) GetApps() []string
func (*AddFeatureAppsRequest) GetFeature ¶
func (x *AddFeatureAppsRequest) GetFeature() string
func (*AddFeatureAppsRequest) GetProject ¶
func (x *AddFeatureAppsRequest) GetProject() string
func (*AddFeatureAppsRequest) ProtoMessage ¶
func (*AddFeatureAppsRequest) ProtoMessage()
func (*AddFeatureAppsRequest) ProtoReflect ¶
func (x *AddFeatureAppsRequest) ProtoReflect() protoreflect.Message
func (*AddFeatureAppsRequest) Reset ¶
func (x *AddFeatureAppsRequest) Reset()
func (*AddFeatureAppsRequest) String ¶
func (x *AddFeatureAppsRequest) String() string
type AddFeatureAppsResponse ¶
type AddFeatureAppsResponse struct {
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
func (*AddFeatureAppsResponse) Descriptor
deprecated
func (*AddFeatureAppsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddFeatureAppsResponse.ProtoReflect.Descriptor instead.
func (*AddFeatureAppsResponse) GetEnvironmentId ¶
func (x *AddFeatureAppsResponse) GetEnvironmentId() string
func (*AddFeatureAppsResponse) GetRevision ¶
func (x *AddFeatureAppsResponse) GetRevision() uint64
func (*AddFeatureAppsResponse) ProtoMessage ¶
func (*AddFeatureAppsResponse) ProtoMessage()
func (*AddFeatureAppsResponse) ProtoReflect ¶
func (x *AddFeatureAppsResponse) ProtoReflect() protoreflect.Message
func (*AddFeatureAppsResponse) Reset ¶
func (x *AddFeatureAppsResponse) Reset()
func (*AddFeatureAppsResponse) String ¶
func (x *AddFeatureAppsResponse) String() string
type AppInfo ¶
type AppInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Routes []string `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
Optional bool `protobuf:"varint,3,opt,name=optional,proto3" json:"optional,omitempty"`
Uses []string `protobuf:"bytes,4,rep,name=uses,proto3" json:"uses,omitempty"`
// contains filtered or unexported fields
}
func (*AppInfo) Descriptor
deprecated
func (*AppInfo) GetOptional ¶
func (*AppInfo) ProtoMessage ¶
func (*AppInfo) ProtoMessage()
func (*AppInfo) ProtoReflect ¶
func (x *AppInfo) ProtoReflect() protoreflect.Message
type AppSource ¶
type AppSource struct {
App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
// The application's folder.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// The checkout it belongs to: a clone, a worktree or the project's repository.
Checkout string `protobuf:"bytes,3,opt,name=checkout,proto3" json:"checkout,omitempty"`
// Branch checked out there; empty when detached at the base branch's commit.
Branch string `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
// contains filtered or unexported fields
}
func (*AppSource) Descriptor
deprecated
func (*AppSource) GetCheckout ¶
func (*AppSource) ProtoMessage ¶
func (*AppSource) ProtoMessage()
func (*AppSource) ProtoReflect ¶
func (x *AppSource) ProtoReflect() protoreflect.Message
type CAInfo ¶
type CAInfo struct {
// The root certificate people add to their trust stores.
RootPath string `protobuf:"bytes,1,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"`
// SHA-256 of the root, as keychains show it.
Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
NotAfter *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`
// contains filtered or unexported fields
}
func (*CAInfo) Descriptor
deprecated
func (*CAInfo) GetFingerprint ¶
func (*CAInfo) GetNotAfter ¶
func (x *CAInfo) GetNotAfter() *timestamppb.Timestamp
func (*CAInfo) GetRootPath ¶
func (*CAInfo) ProtoMessage ¶
func (*CAInfo) ProtoMessage()
func (*CAInfo) ProtoReflect ¶
func (x *CAInfo) ProtoReflect() protoreflect.Message
type CreateFeatureRequest ¶
type CreateFeatureRequest struct {
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Apps []string `protobuf:"bytes,4,rep,name=apps,proto3" json:"apps,omitempty"`
// Default: features.branch_prefix + name.
Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"`
Project string `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"`
// contains filtered or unexported fields
}
func (*CreateFeatureRequest) Descriptor
deprecated
func (*CreateFeatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFeatureRequest.ProtoReflect.Descriptor instead.
func (*CreateFeatureRequest) GetApps ¶
func (x *CreateFeatureRequest) GetApps() []string
func (*CreateFeatureRequest) GetBranch ¶
func (x *CreateFeatureRequest) GetBranch() string
func (*CreateFeatureRequest) GetName ¶
func (x *CreateFeatureRequest) GetName() string
func (*CreateFeatureRequest) GetProject ¶
func (x *CreateFeatureRequest) GetProject() string
func (*CreateFeatureRequest) ProtoMessage ¶
func (*CreateFeatureRequest) ProtoMessage()
func (*CreateFeatureRequest) ProtoReflect ¶
func (x *CreateFeatureRequest) ProtoReflect() protoreflect.Message
func (*CreateFeatureRequest) Reset ¶
func (x *CreateFeatureRequest) Reset()
func (*CreateFeatureRequest) String ¶
func (x *CreateFeatureRequest) String() string
type CreateFeatureResponse ¶
type CreateFeatureResponse struct {
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
Revision uint64 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
BaseEnvironmentId string `protobuf:"bytes,5,opt,name=base_environment_id,json=baseEnvironmentId,proto3" json:"base_environment_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateFeatureResponse) Descriptor
deprecated
func (*CreateFeatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateFeatureResponse.ProtoReflect.Descriptor instead.
func (*CreateFeatureResponse) GetBaseEnvironmentId ¶
func (x *CreateFeatureResponse) GetBaseEnvironmentId() string
func (*CreateFeatureResponse) GetBranch ¶
func (x *CreateFeatureResponse) GetBranch() string
func (*CreateFeatureResponse) GetEnvironmentId ¶
func (x *CreateFeatureResponse) GetEnvironmentId() string
func (*CreateFeatureResponse) GetRevision ¶
func (x *CreateFeatureResponse) GetRevision() uint64
func (*CreateFeatureResponse) GetSlug ¶
func (x *CreateFeatureResponse) GetSlug() string
func (*CreateFeatureResponse) ProtoMessage ¶
func (*CreateFeatureResponse) ProtoMessage()
func (*CreateFeatureResponse) ProtoReflect ¶
func (x *CreateFeatureResponse) ProtoReflect() protoreflect.Message
func (*CreateFeatureResponse) Reset ¶
func (x *CreateFeatureResponse) Reset()
func (*CreateFeatureResponse) String ¶
func (x *CreateFeatureResponse) String() string
type DataStatus ¶
type DataStatus struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// postgres or mysql.
Engine string `protobuf:"bytes,2,opt,name=engine,proto3" json:"engine,omitempty"`
// When the golden copy (base) or the feature's copy was made.
CopiedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=copied_at,json=copiedAt,proto3" json:"copied_at,omitempty"`
// The feature's copy comes from an older golden copy: main migrated since.
Behind bool `protobuf:"varint,4,opt,name=behind,proto3" json:"behind,omitempty"`
// Size of the copy, human-readable.
Size string `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"`
Note string `protobuf:"bytes,6,opt,name=note,proto3" json:"note,omitempty"`
// contains filtered or unexported fields
}
func (*DataStatus) Descriptor
deprecated
func (*DataStatus) Descriptor() ([]byte, []int)
Deprecated: Use DataStatus.ProtoReflect.Descriptor instead.
func (*DataStatus) GetBehind ¶
func (x *DataStatus) GetBehind() bool
func (*DataStatus) GetCopiedAt ¶
func (x *DataStatus) GetCopiedAt() *timestamppb.Timestamp
func (*DataStatus) GetEngine ¶
func (x *DataStatus) GetEngine() string
func (*DataStatus) GetNote ¶
func (x *DataStatus) GetNote() string
func (*DataStatus) GetService ¶
func (x *DataStatus) GetService() string
func (*DataStatus) GetSize ¶
func (x *DataStatus) GetSize() string
func (*DataStatus) ProtoMessage ¶
func (*DataStatus) ProtoMessage()
func (*DataStatus) ProtoReflect ¶
func (x *DataStatus) ProtoReflect() protoreflect.Message
func (*DataStatus) Reset ¶
func (x *DataStatus) Reset()
func (*DataStatus) String ¶
func (x *DataStatus) String() string
type DescribeProjectRequest ¶
type DescribeProjectRequest struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// forks, if any, plans a feature that forks these applications.
Forks []string `protobuf:"bytes,2,rep,name=forks,proto3" json:"forks,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeProjectRequest) Descriptor
deprecated
func (*DescribeProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeProjectRequest.ProtoReflect.Descriptor instead.
func (*DescribeProjectRequest) GetForks ¶
func (x *DescribeProjectRequest) GetForks() []string
func (*DescribeProjectRequest) GetProject ¶
func (x *DescribeProjectRequest) GetProject() string
func (*DescribeProjectRequest) ProtoMessage ¶
func (*DescribeProjectRequest) ProtoMessage()
func (*DescribeProjectRequest) ProtoReflect ¶
func (x *DescribeProjectRequest) ProtoReflect() protoreflect.Message
func (*DescribeProjectRequest) Reset ¶
func (x *DescribeProjectRequest) Reset()
func (*DescribeProjectRequest) String ¶
func (x *DescribeProjectRequest) String() string
type DescribeProjectResponse ¶
type DescribeProjectResponse struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
WorkspacePath string `protobuf:"bytes,2,opt,name=workspace_path,json=workspacePath,proto3" json:"workspace_path,omitempty"`
Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
Apps []*AppInfo `protobuf:"bytes,4,rep,name=apps,proto3" json:"apps,omitempty"`
Services []string `protobuf:"bytes,5,rep,name=services,proto3" json:"services,omitempty"`
BranchPrefix string `protobuf:"bytes,6,opt,name=branch_prefix,json=branchPrefix,proto3" json:"branch_prefix,omitempty"`
Plan *FeaturePlan `protobuf:"bytes,7,opt,name=plan,proto3" json:"plan,omitempty"`
// The project as the agent runs it, in the YAML form of api/spec: with the
// personal overrides of devopus.yaml applied.
Spec []byte `protobuf:"bytes,8,opt,name=spec,proto3" json:"spec,omitempty"`
// devopus.yaml: where it is, what it changed, what it could not.
OverrideFile string `protobuf:"bytes,9,opt,name=override_file,json=overrideFile,proto3" json:"override_file,omitempty"`
OverridesApplied []string `protobuf:"bytes,10,rep,name=overrides_applied,json=overridesApplied,proto3" json:"overrides_applied,omitempty"`
OverridesRejected []string `protobuf:"bytes,11,rep,name=overrides_rejected,json=overridesRejected,proto3" json:"overrides_rejected,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeProjectResponse) Descriptor
deprecated
func (*DescribeProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeProjectResponse.ProtoReflect.Descriptor instead.
func (*DescribeProjectResponse) GetApps ¶
func (x *DescribeProjectResponse) GetApps() []*AppInfo
func (*DescribeProjectResponse) GetBranchPrefix ¶
func (x *DescribeProjectResponse) GetBranchPrefix() string
func (*DescribeProjectResponse) GetDomain ¶
func (x *DescribeProjectResponse) GetDomain() string
func (*DescribeProjectResponse) GetOverrideFile ¶
func (x *DescribeProjectResponse) GetOverrideFile() string
func (*DescribeProjectResponse) GetOverridesApplied ¶
func (x *DescribeProjectResponse) GetOverridesApplied() []string
func (*DescribeProjectResponse) GetOverridesRejected ¶
func (x *DescribeProjectResponse) GetOverridesRejected() []string
func (*DescribeProjectResponse) GetPlan ¶
func (x *DescribeProjectResponse) GetPlan() *FeaturePlan
func (*DescribeProjectResponse) GetProject ¶
func (x *DescribeProjectResponse) GetProject() string
func (*DescribeProjectResponse) GetServices ¶
func (x *DescribeProjectResponse) GetServices() []string
func (*DescribeProjectResponse) GetSpec ¶
func (x *DescribeProjectResponse) GetSpec() []byte
func (*DescribeProjectResponse) GetWorkspacePath ¶
func (x *DescribeProjectResponse) GetWorkspacePath() string
func (*DescribeProjectResponse) ProtoMessage ¶
func (*DescribeProjectResponse) ProtoMessage()
func (*DescribeProjectResponse) ProtoReflect ¶
func (x *DescribeProjectResponse) ProtoReflect() protoreflect.Message
func (*DescribeProjectResponse) Reset ¶
func (x *DescribeProjectResponse) Reset()
func (*DescribeProjectResponse) String ¶
func (x *DescribeProjectResponse) String() string
type DesiredPhase ¶
type DesiredPhase int32
const ( DesiredPhase_DESIRED_PHASE_UNSPECIFIED DesiredPhase = 0 DesiredPhase_DESIRED_PHASE_RUNNING DesiredPhase = 1 // Containers stopped, data and network kept. DesiredPhase_DESIRED_PHASE_STOPPED DesiredPhase = 2 )
func (DesiredPhase) Descriptor ¶
func (DesiredPhase) Descriptor() protoreflect.EnumDescriptor
func (DesiredPhase) Enum ¶
func (x DesiredPhase) Enum() *DesiredPhase
func (DesiredPhase) EnumDescriptor
deprecated
func (DesiredPhase) EnumDescriptor() ([]byte, []int)
Deprecated: Use DesiredPhase.Descriptor instead.
func (DesiredPhase) Number ¶
func (x DesiredPhase) Number() protoreflect.EnumNumber
func (DesiredPhase) String ¶
func (x DesiredPhase) String() string
func (DesiredPhase) Type ¶
func (DesiredPhase) Type() protoreflect.EnumType
type DesiredState ¶
type DesiredState struct {
Revision uint64 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
Projects []*ProjectSpec `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"`
Environments []*EnvironmentSpec `protobuf:"bytes,3,rep,name=environments,proto3" json:"environments,omitempty"`
Device *DeviceSettings `protobuf:"bytes,4,opt,name=device,proto3" json:"device,omitempty"`
// The root of trust of each workspace, pinned the first time the agent saw it
// (ADR-0018): the server cannot replace it.
TrustRoots map[string]*TrustRoot `` /* 165-byte string literal not displayed */
// contains filtered or unexported fields
}
DesiredState is what must exist on this device. Revision grows with every change.
func (*DesiredState) Descriptor
deprecated
func (*DesiredState) Descriptor() ([]byte, []int)
Deprecated: Use DesiredState.ProtoReflect.Descriptor instead.
func (*DesiredState) GetDevice ¶
func (x *DesiredState) GetDevice() *DeviceSettings
func (*DesiredState) GetEnvironments ¶
func (x *DesiredState) GetEnvironments() []*EnvironmentSpec
func (*DesiredState) GetProjects ¶
func (x *DesiredState) GetProjects() []*ProjectSpec
func (*DesiredState) GetRevision ¶
func (x *DesiredState) GetRevision() uint64
func (*DesiredState) GetTrustRoots ¶
func (x *DesiredState) GetTrustRoots() map[string]*TrustRoot
func (*DesiredState) ProtoMessage ¶
func (*DesiredState) ProtoMessage()
func (*DesiredState) ProtoReflect ¶
func (x *DesiredState) ProtoReflect() protoreflect.Message
func (*DesiredState) Reset ¶
func (x *DesiredState) Reset()
func (*DesiredState) String ¶
func (x *DesiredState) String() string
type DeviceSettings ¶
type DeviceSettings struct {
// Coexistence (local-networking.md §1): a dev server moved off 80/443 to these host
// ports gets every host Devopus does not serve. 0: off.
CoexistHttpPort uint32 `protobuf:"varint,1,opt,name=coexist_http_port,json=coexistHttpPort,proto3" json:"coexist_http_port,omitempty"`
CoexistHttpsPort uint32 `protobuf:"varint,2,opt,name=coexist_https_port,json=coexistHttpsPort,proto3" json:"coexist_https_port,omitempty"`
// Bumping it recreates the proxy container, which probes the ports again.
ProxyGeneration uint64 `protobuf:"varint,3,opt,name=proxy_generation,json=proxyGeneration,proto3" json:"proxy_generation,omitempty"`
// contains filtered or unexported fields
}
DeviceSettings are per device, not per project.
func (*DeviceSettings) Descriptor
deprecated
func (*DeviceSettings) Descriptor() ([]byte, []int)
Deprecated: Use DeviceSettings.ProtoReflect.Descriptor instead.
func (*DeviceSettings) GetCoexistHttpPort ¶
func (x *DeviceSettings) GetCoexistHttpPort() uint32
func (*DeviceSettings) GetCoexistHttpsPort ¶
func (x *DeviceSettings) GetCoexistHttpsPort() uint32
func (*DeviceSettings) GetProxyGeneration ¶
func (x *DeviceSettings) GetProxyGeneration() uint64
func (*DeviceSettings) ProtoMessage ¶
func (*DeviceSettings) ProtoMessage()
func (*DeviceSettings) ProtoReflect ¶
func (x *DeviceSettings) ProtoReflect() protoreflect.Message
func (*DeviceSettings) Reset ¶
func (x *DeviceSettings) Reset()
func (*DeviceSettings) String ¶
func (x *DeviceSettings) String() string
type DownRequest ¶
type DownRequest struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Remove the project and everything it owns, data included.
Purge bool `protobuf:"varint,2,opt,name=purge,proto3" json:"purge,omitempty"`
// contains filtered or unexported fields
}
func (*DownRequest) Descriptor
deprecated
func (*DownRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownRequest.ProtoReflect.Descriptor instead.
func (*DownRequest) GetProject ¶
func (x *DownRequest) GetProject() string
func (*DownRequest) GetPurge ¶
func (x *DownRequest) GetPurge() bool
func (*DownRequest) ProtoMessage ¶
func (*DownRequest) ProtoMessage()
func (*DownRequest) ProtoReflect ¶
func (x *DownRequest) ProtoReflect() protoreflect.Message
func (*DownRequest) Reset ¶
func (x *DownRequest) Reset()
func (*DownRequest) String ¶
func (x *DownRequest) String() string
type DownResponse ¶
type DownResponse struct {
Revision uint64 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
func (*DownResponse) Descriptor
deprecated
func (*DownResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownResponse.ProtoReflect.Descriptor instead.
func (*DownResponse) GetRevision ¶
func (x *DownResponse) GetRevision() uint64
func (*DownResponse) ProtoMessage ¶
func (*DownResponse) ProtoMessage()
func (*DownResponse) ProtoReflect ¶
func (x *DownResponse) ProtoReflect() protoreflect.Message
func (*DownResponse) Reset ¶
func (x *DownResponse) Reset()
func (*DownResponse) String ¶
func (x *DownResponse) String() string
type EnvironmentKind ¶
type EnvironmentKind int32
const ( EnvironmentKind_ENVIRONMENT_KIND_UNSPECIFIED EnvironmentKind = 0 EnvironmentKind_ENVIRONMENT_KIND_BASE EnvironmentKind = 1 EnvironmentKind_ENVIRONMENT_KIND_FEATURE EnvironmentKind = 2 )
func (EnvironmentKind) Descriptor ¶
func (EnvironmentKind) Descriptor() protoreflect.EnumDescriptor
func (EnvironmentKind) Enum ¶
func (x EnvironmentKind) Enum() *EnvironmentKind
func (EnvironmentKind) EnumDescriptor
deprecated
func (EnvironmentKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnvironmentKind.Descriptor instead.
func (EnvironmentKind) Number ¶
func (x EnvironmentKind) Number() protoreflect.EnumNumber
func (EnvironmentKind) String ¶
func (x EnvironmentKind) String() string
func (EnvironmentKind) Type ¶
func (EnvironmentKind) Type() protoreflect.EnumType
type EnvironmentSpec ¶
type EnvironmentSpec struct {
// Stable ID used in every Docker resource; never derived from a branch name.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
Kind EnvironmentKind `protobuf:"varint,3,opt,name=kind,proto3,enum=devopus.agent.v2.EnvironmentKind" json:"kind,omitempty"`
// Only in URLs.
Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"`
Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"`
ForkedApps []string `protobuf:"bytes,6,rep,name=forked_apps,json=forkedApps,proto3" json:"forked_apps,omitempty"`
Phase DesiredPhase `protobuf:"varint,7,opt,name=phase,proto3,enum=devopus.agent.v2.DesiredPhase" json:"phase,omitempty"`
// The feature's name as people typed it (PAY-123); the slug is derived from it.
Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
// Bumping a service's number recreates the feature's copy of its data from the golden
// copy; in the base environment it refreshes the golden copy.
DataResets map[string]uint64 `` /* 166-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*EnvironmentSpec) Descriptor
deprecated
func (*EnvironmentSpec) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentSpec.ProtoReflect.Descriptor instead.
func (*EnvironmentSpec) GetBranch ¶
func (x *EnvironmentSpec) GetBranch() string
func (*EnvironmentSpec) GetDataResets ¶
func (x *EnvironmentSpec) GetDataResets() map[string]uint64
func (*EnvironmentSpec) GetForkedApps ¶
func (x *EnvironmentSpec) GetForkedApps() []string
func (*EnvironmentSpec) GetId ¶
func (x *EnvironmentSpec) GetId() string
func (*EnvironmentSpec) GetKind ¶
func (x *EnvironmentSpec) GetKind() EnvironmentKind
func (*EnvironmentSpec) GetName ¶
func (x *EnvironmentSpec) GetName() string
func (*EnvironmentSpec) GetPhase ¶
func (x *EnvironmentSpec) GetPhase() DesiredPhase
func (*EnvironmentSpec) GetProject ¶
func (x *EnvironmentSpec) GetProject() string
func (*EnvironmentSpec) GetSlug ¶
func (x *EnvironmentSpec) GetSlug() string
func (*EnvironmentSpec) ProtoMessage ¶
func (*EnvironmentSpec) ProtoMessage()
func (*EnvironmentSpec) ProtoReflect ¶
func (x *EnvironmentSpec) ProtoReflect() protoreflect.Message
func (*EnvironmentSpec) Reset ¶
func (x *EnvironmentSpec) Reset()
func (*EnvironmentSpec) String ¶
func (x *EnvironmentSpec) String() string
type EnvironmentStatus ¶
type EnvironmentStatus struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
Kind EnvironmentKind `protobuf:"varint,3,opt,name=kind,proto3,enum=devopus.agent.v2.EnvironmentKind" json:"kind,omitempty"`
Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"`
Phase Phase `protobuf:"varint,5,opt,name=phase,proto3,enum=devopus.agent.v2.Phase" json:"phase,omitempty"`
Steps []*StepProgress `protobuf:"bytes,6,rep,name=steps,proto3" json:"steps,omitempty"`
Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"`
Error string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
Network *NetworkStatus `protobuf:"bytes,9,opt,name=network,proto3" json:"network,omitempty"`
// Revision of the desired state this status reflects.
AppliedRevision uint64 `protobuf:"varint,10,opt,name=applied_revision,json=appliedRevision,proto3" json:"applied_revision,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// The environment left the desired state and its resources are gone.
Removed bool `protobuf:"varint,12,opt,name=removed,proto3" json:"removed,omitempty"`
// Services, applications and workers of the environment.
Units []*UnitStatus `protobuf:"bytes,13,rep,name=units,proto3" json:"units,omitempty"`
// Features: the name, the branch and the forked applications from the desired state.
Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"`
Branch string `protobuf:"bytes,15,opt,name=branch,proto3" json:"branch,omitempty"`
ForkedApps []string `protobuf:"bytes,16,rep,name=forked_apps,json=forkedApps,proto3" json:"forked_apps,omitempty"`
// Where the code of each application of the environment is on the host.
Sources []*AppSource `protobuf:"bytes,17,rep,name=sources,proto3" json:"sources,omitempty"`
Shared []string `protobuf:"bytes,18,rep,name=shared,proto3" json:"shared,omitempty"`
// Notes for people: migrations skipped on shared data and the like.
Notes []string `protobuf:"bytes,19,rep,name=notes,proto3" json:"notes,omitempty"`
// The project's folder in the feature's worktree of its repository; empty when the
// feature's applications all come from other repositories.
CodeRoot string `protobuf:"bytes,20,opt,name=code_root,json=codeRoot,proto3" json:"code_root,omitempty"`
// Databases: golden copies in the base environment, their copies in a feature.
Data []*DataStatus `protobuf:"bytes,21,rep,name=data,proto3" json:"data,omitempty"`
// Features: when they were last in use, why and since when they sleep.
LastActive *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=last_active,json=lastActive,proto3" json:"last_active,omitempty"`
SleepReason string `protobuf:"bytes,23,opt,name=sleep_reason,json=sleepReason,proto3" json:"sleep_reason,omitempty"`
SleepingSince *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=sleeping_since,json=sleepingSince,proto3" json:"sleeping_since,omitempty"`
// The feature's branch is merged into the base branch (cleanup: on_merge).
Merged bool `protobuf:"varint,25,opt,name=merged,proto3" json:"merged,omitempty"`
// contains filtered or unexported fields
}
func (*EnvironmentStatus) Descriptor
deprecated
func (*EnvironmentStatus) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentStatus.ProtoReflect.Descriptor instead.
func (*EnvironmentStatus) GetAppliedRevision ¶
func (x *EnvironmentStatus) GetAppliedRevision() uint64
func (*EnvironmentStatus) GetBranch ¶
func (x *EnvironmentStatus) GetBranch() string
func (*EnvironmentStatus) GetCodeRoot ¶
func (x *EnvironmentStatus) GetCodeRoot() string
func (*EnvironmentStatus) GetData ¶
func (x *EnvironmentStatus) GetData() []*DataStatus
func (*EnvironmentStatus) GetError ¶
func (x *EnvironmentStatus) GetError() string
func (*EnvironmentStatus) GetForkedApps ¶
func (x *EnvironmentStatus) GetForkedApps() []string
func (*EnvironmentStatus) GetId ¶
func (x *EnvironmentStatus) GetId() string
func (*EnvironmentStatus) GetKind ¶
func (x *EnvironmentStatus) GetKind() EnvironmentKind
func (*EnvironmentStatus) GetLastActive ¶
func (x *EnvironmentStatus) GetLastActive() *timestamppb.Timestamp
func (*EnvironmentStatus) GetMerged ¶
func (x *EnvironmentStatus) GetMerged() bool
func (*EnvironmentStatus) GetName ¶
func (x *EnvironmentStatus) GetName() string
func (*EnvironmentStatus) GetNetwork ¶
func (x *EnvironmentStatus) GetNetwork() *NetworkStatus
func (*EnvironmentStatus) GetNotes ¶
func (x *EnvironmentStatus) GetNotes() []string
func (*EnvironmentStatus) GetPhase ¶
func (x *EnvironmentStatus) GetPhase() Phase
func (*EnvironmentStatus) GetProject ¶
func (x *EnvironmentStatus) GetProject() string
func (*EnvironmentStatus) GetRemoved ¶
func (x *EnvironmentStatus) GetRemoved() bool
func (*EnvironmentStatus) GetShared ¶
func (x *EnvironmentStatus) GetShared() []string
func (*EnvironmentStatus) GetSleepReason ¶
func (x *EnvironmentStatus) GetSleepReason() string
func (*EnvironmentStatus) GetSleepingSince ¶
func (x *EnvironmentStatus) GetSleepingSince() *timestamppb.Timestamp
func (*EnvironmentStatus) GetSlug ¶
func (x *EnvironmentStatus) GetSlug() string
func (*EnvironmentStatus) GetSources ¶
func (x *EnvironmentStatus) GetSources() []*AppSource
func (*EnvironmentStatus) GetSteps ¶
func (x *EnvironmentStatus) GetSteps() []*StepProgress
func (*EnvironmentStatus) GetUnits ¶
func (x *EnvironmentStatus) GetUnits() []*UnitStatus
func (*EnvironmentStatus) GetUpdatedAt ¶
func (x *EnvironmentStatus) GetUpdatedAt() *timestamppb.Timestamp
func (*EnvironmentStatus) GetUrl ¶
func (x *EnvironmentStatus) GetUrl() string
func (*EnvironmentStatus) ProtoMessage ¶
func (*EnvironmentStatus) ProtoMessage()
func (*EnvironmentStatus) ProtoReflect ¶
func (x *EnvironmentStatus) ProtoReflect() protoreflect.Message
func (*EnvironmentStatus) Reset ¶
func (x *EnvironmentStatus) Reset()
func (*EnvironmentStatus) String ¶
func (x *EnvironmentStatus) String() string
type ExpectChangeRequest ¶
type ExpectChangeRequest struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// apps.<name> or services.<name>.
Section string `protobuf:"bytes,2,opt,name=section,proto3" json:"section,omitempty"`
// The section in YAML as the user sent it to the server; empty: removed.
Yaml []byte `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"`
// contains filtered or unexported fields
}
func (*ExpectChangeRequest) Descriptor
deprecated
func (*ExpectChangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpectChangeRequest.ProtoReflect.Descriptor instead.
func (*ExpectChangeRequest) GetProject ¶
func (x *ExpectChangeRequest) GetProject() string
func (*ExpectChangeRequest) GetSection ¶
func (x *ExpectChangeRequest) GetSection() string
func (*ExpectChangeRequest) GetYaml ¶
func (x *ExpectChangeRequest) GetYaml() []byte
func (*ExpectChangeRequest) ProtoMessage ¶
func (*ExpectChangeRequest) ProtoMessage()
func (*ExpectChangeRequest) ProtoReflect ¶
func (x *ExpectChangeRequest) ProtoReflect() protoreflect.Message
func (*ExpectChangeRequest) Reset ¶
func (x *ExpectChangeRequest) Reset()
func (*ExpectChangeRequest) String ¶
func (x *ExpectChangeRequest) String() string
type ExpectChangeResponse ¶
type ExpectChangeResponse struct {
// contains filtered or unexported fields
}
func (*ExpectChangeResponse) Descriptor
deprecated
func (*ExpectChangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpectChangeResponse.ProtoReflect.Descriptor instead.
func (*ExpectChangeResponse) ProtoMessage ¶
func (*ExpectChangeResponse) ProtoMessage()
func (*ExpectChangeResponse) ProtoReflect ¶
func (x *ExpectChangeResponse) ProtoReflect() protoreflect.Message
func (*ExpectChangeResponse) Reset ¶
func (x *ExpectChangeResponse) Reset()
func (*ExpectChangeResponse) String ¶
func (x *ExpectChangeResponse) String() string
type FeaturePlan ¶
type FeaturePlan struct {
Forked []string `protobuf:"bytes,1,rep,name=forked,proto3" json:"forked,omitempty"`
// dependents use forked applications and run in the feature on the base branch.
Dependents []string `protobuf:"bytes,2,rep,name=dependents,proto3" json:"dependents,omitempty"`
// copies are databases that start as a copy of main's data.
Copies []string `protobuf:"bytes,3,rep,name=copies,proto3" json:"copies,omitempty"`
// own are services the feature runs empty.
Own []string `protobuf:"bytes,4,rep,name=own,proto3" json:"own,omitempty"`
Warnings []string `protobuf:"bytes,6,rep,name=warnings,proto3" json:"warnings,omitempty"`
// contains filtered or unexported fields
}
func (*FeaturePlan) Descriptor
deprecated
func (*FeaturePlan) Descriptor() ([]byte, []int)
Deprecated: Use FeaturePlan.ProtoReflect.Descriptor instead.
func (*FeaturePlan) GetCopies ¶
func (x *FeaturePlan) GetCopies() []string
func (*FeaturePlan) GetDependents ¶
func (x *FeaturePlan) GetDependents() []string
func (*FeaturePlan) GetForked ¶
func (x *FeaturePlan) GetForked() []string
func (*FeaturePlan) GetOwn ¶
func (x *FeaturePlan) GetOwn() []string
func (*FeaturePlan) GetShared ¶
func (x *FeaturePlan) GetShared() []string
func (*FeaturePlan) GetWarnings ¶
func (x *FeaturePlan) GetWarnings() []string
func (*FeaturePlan) ProtoMessage ¶
func (*FeaturePlan) ProtoMessage()
func (*FeaturePlan) ProtoReflect ¶
func (x *FeaturePlan) ProtoReflect() protoreflect.Message
func (*FeaturePlan) Reset ¶
func (x *FeaturePlan) Reset()
func (*FeaturePlan) String ¶
func (x *FeaturePlan) String() string
type LinkInfo ¶
type LinkInfo struct {
Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
Server string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
Connected bool `protobuf:"varint,3,opt,name=connected,proto3" json:"connected,omitempty"`
// Why it is not connected.
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// The root of trust the agent pinned for the workspace (ADR-0018), its fingerprint;
// offered is another one the server gives now — signatures count against the pinned
// one, and someone must find out why.
TrustRoot string `protobuf:"bytes,5,opt,name=trust_root,json=trustRoot,proto3" json:"trust_root,omitempty"`
TrustOffered string `protobuf:"bytes,6,opt,name=trust_offered,json=trustOffered,proto3" json:"trust_offered,omitempty"`
// contains filtered or unexported fields
}
func (*LinkInfo) Descriptor
deprecated
func (*LinkInfo) GetConnected ¶
func (*LinkInfo) GetTrustOffered ¶
func (*LinkInfo) GetTrustRoot ¶
func (*LinkInfo) GetWorkspace ¶
func (*LinkInfo) ProtoMessage ¶
func (*LinkInfo) ProtoMessage()
func (*LinkInfo) ProtoReflect ¶
func (x *LinkInfo) ProtoReflect() protoreflect.Message
type LogLine ¶
type LogLine struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
Stderr bool `protobuf:"varint,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
// contains filtered or unexported fields
}
func (*LogLine) Descriptor
deprecated
func (*LogLine) GetTime ¶
func (x *LogLine) GetTime() *timestamppb.Timestamp
func (*LogLine) ProtoMessage ¶
func (*LogLine) ProtoMessage()
func (*LogLine) ProtoReflect ¶
func (x *LogLine) ProtoReflect() protoreflect.Message
type LogSource ¶
type LogSource struct {
// unit is an application, worker or service; file is a hook or build log of the environment.
Unit string `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"`
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*LogSource) Descriptor
deprecated
func (*LogSource) GetUpdatedAt ¶
func (x *LogSource) GetUpdatedAt() *timestamppb.Timestamp
func (*LogSource) ProtoMessage ¶
func (*LogSource) ProtoMessage()
func (*LogSource) ProtoReflect ¶
func (x *LogSource) ProtoReflect() protoreflect.Message
type LogSourcesRequest ¶
type LogSourcesRequest struct {
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
// contains filtered or unexported fields
}
func (*LogSourcesRequest) Descriptor
deprecated
func (*LogSourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogSourcesRequest.ProtoReflect.Descriptor instead.
func (*LogSourcesRequest) GetEnvironmentId ¶
func (x *LogSourcesRequest) GetEnvironmentId() string
func (*LogSourcesRequest) ProtoMessage ¶
func (*LogSourcesRequest) ProtoMessage()
func (*LogSourcesRequest) ProtoReflect ¶
func (x *LogSourcesRequest) ProtoReflect() protoreflect.Message
func (*LogSourcesRequest) Reset ¶
func (x *LogSourcesRequest) Reset()
func (*LogSourcesRequest) String ¶
func (x *LogSourcesRequest) String() string
type LogSourcesResponse ¶
type LogSourcesResponse struct {
Sources []*LogSource `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
// contains filtered or unexported fields
}
func (*LogSourcesResponse) Descriptor
deprecated
func (*LogSourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogSourcesResponse.ProtoReflect.Descriptor instead.
func (*LogSourcesResponse) GetSources ¶
func (x *LogSourcesResponse) GetSources() []*LogSource
func (*LogSourcesResponse) ProtoMessage ¶
func (*LogSourcesResponse) ProtoMessage()
func (*LogSourcesResponse) ProtoReflect ¶
func (x *LogSourcesResponse) ProtoReflect() protoreflect.Message
func (*LogSourcesResponse) Reset ¶
func (x *LogSourcesResponse) Reset()
func (*LogSourcesResponse) String ¶
func (x *LogSourcesResponse) String() string
type LogsRequest ¶
type LogsRequest struct {
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
Source *LogSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
// tail is how many last lines to send first; 0 sends them all.
Tail uint32 `protobuf:"varint,3,opt,name=tail,proto3" json:"tail,omitempty"`
Follow bool `protobuf:"varint,4,opt,name=follow,proto3" json:"follow,omitempty"`
// contains filtered or unexported fields
}
func (*LogsRequest) Descriptor
deprecated
func (*LogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.
func (*LogsRequest) GetEnvironmentId ¶
func (x *LogsRequest) GetEnvironmentId() string
func (*LogsRequest) GetFollow ¶
func (x *LogsRequest) GetFollow() bool
func (*LogsRequest) GetSource ¶
func (x *LogsRequest) GetSource() *LogSource
func (*LogsRequest) GetTail ¶
func (x *LogsRequest) GetTail() uint32
func (*LogsRequest) ProtoMessage ¶
func (*LogsRequest) ProtoMessage()
func (*LogsRequest) ProtoReflect ¶
func (x *LogsRequest) ProtoReflect() protoreflect.Message
func (*LogsRequest) Reset ¶
func (x *LogsRequest) Reset()
func (*LogsRequest) String ¶
func (x *LogsRequest) String() string
type LogsResponse ¶
type LogsResponse struct {
Lines []*LogLine `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"`
// contains filtered or unexported fields
}
func (*LogsResponse) Descriptor
deprecated
func (*LogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.
func (*LogsResponse) GetLines ¶
func (x *LogsResponse) GetLines() []*LogLine
func (*LogsResponse) ProtoMessage ¶
func (*LogsResponse) ProtoMessage()
func (*LogsResponse) ProtoReflect ¶
func (x *LogsResponse) ProtoReflect() protoreflect.Message
func (*LogsResponse) Reset ¶
func (x *LogsResponse) Reset()
func (*LogsResponse) String ¶
func (x *LogsResponse) String() string
type NetworkStatus ¶
type NetworkStatus struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Subnet string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkStatus) Descriptor
deprecated
func (*NetworkStatus) Descriptor() ([]byte, []int)
Deprecated: Use NetworkStatus.ProtoReflect.Descriptor instead.
func (*NetworkStatus) GetName ¶
func (x *NetworkStatus) GetName() string
func (*NetworkStatus) GetSubnet ¶
func (x *NetworkStatus) GetSubnet() string
func (*NetworkStatus) ProtoMessage ¶
func (*NetworkStatus) ProtoMessage()
func (*NetworkStatus) ProtoReflect ¶
func (x *NetworkStatus) ProtoReflect() protoreflect.Message
func (*NetworkStatus) Reset ¶
func (x *NetworkStatus) Reset()
func (*NetworkStatus) String ¶
func (x *NetworkStatus) String() string
type PendingChange ¶
type PendingChange struct {
Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Spec []byte `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// sha256 of spec, hex: what ReviewChanges accepts.
Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
// The risky changes, then the rest.
Risky []string `protobuf:"bytes,4,rep,name=risky,proto3" json:"risky,omitempty"`
Other []string `protobuf:"bytes,5,rep,name=other,proto3" json:"other,omitempty"`
// Why its signature does not count: unsigned, an uncertified device…
Unverified string `protobuf:"bytes,6,opt,name=unverified,proto3" json:"unverified,omitempty"`
// contains filtered or unexported fields
}
func (*PendingChange) Descriptor
deprecated
func (*PendingChange) Descriptor() ([]byte, []int)
Deprecated: Use PendingChange.ProtoReflect.Descriptor instead.
func (*PendingChange) GetHash ¶
func (x *PendingChange) GetHash() string
func (*PendingChange) GetOther ¶
func (x *PendingChange) GetOther() []string
func (*PendingChange) GetRisky ¶
func (x *PendingChange) GetRisky() []string
func (*PendingChange) GetSpec ¶
func (x *PendingChange) GetSpec() []byte
func (*PendingChange) GetUnverified ¶
func (x *PendingChange) GetUnverified() string
func (*PendingChange) GetVersion ¶
func (x *PendingChange) GetVersion() int32
func (*PendingChange) ProtoMessage ¶
func (*PendingChange) ProtoMessage()
func (*PendingChange) ProtoReflect ¶
func (x *PendingChange) ProtoReflect() protoreflect.Message
func (*PendingChange) Reset ¶
func (x *PendingChange) Reset()
func (*PendingChange) String ¶
func (x *PendingChange) String() string
type Phase ¶
type Phase int32
func (Phase) Descriptor ¶
func (Phase) Descriptor() protoreflect.EnumDescriptor
func (Phase) EnumDescriptor
deprecated
func (Phase) Number ¶
func (x Phase) Number() protoreflect.EnumNumber
func (Phase) Type ¶
func (Phase) Type() protoreflect.EnumType
type PortConflict ¶
type PortConflict struct {
// 127.0.0.1:80, [::1]:443…
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
Pid int32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
// A dev server that can coexist (nginx, Laravel Herd…) or "runtime".
Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
Hint string `protobuf:"bytes,5,opt,name=hint,proto3" json:"hint,omitempty"`
// contains filtered or unexported fields
}
func (*PortConflict) Descriptor
deprecated
func (*PortConflict) Descriptor() ([]byte, []int)
Deprecated: Use PortConflict.ProtoReflect.Descriptor instead.
func (*PortConflict) GetAddress ¶
func (x *PortConflict) GetAddress() string
func (*PortConflict) GetHint ¶
func (x *PortConflict) GetHint() string
func (*PortConflict) GetKind ¶
func (x *PortConflict) GetKind() string
func (*PortConflict) GetOwner ¶
func (x *PortConflict) GetOwner() string
func (*PortConflict) GetPid ¶
func (x *PortConflict) GetPid() int32
func (*PortConflict) ProtoMessage ¶
func (*PortConflict) ProtoMessage()
func (*PortConflict) ProtoReflect ¶
func (x *PortConflict) ProtoReflect() protoreflect.Message
func (*PortConflict) Reset ¶
func (x *PortConflict) Reset()
func (*PortConflict) String ¶
func (x *PortConflict) String() string
type ProjectSpec ¶
type ProjectSpec struct {
// Name from workspace.yaml or the workspace server; unique on the device.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Repository root: the folder of workspace.yaml. For a project from the workspace
// server: the folder its path applications live in (devopus up --dir), or a folder
// of the agent's own.
Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
// workspace.yaml as it was when the project was applied; empty for a project from
// the workspace server, which has spec instead.
Config []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
// sha256 of config or spec, hex.
ConfigHash string `protobuf:"bytes,4,opt,name=config_hash,json=configHash,proto3" json:"config_hash,omitempty"`
// A project from the workspace server (R7): the workspace it belongs to.
WorkspaceId string `protobuf:"bytes,5,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
// The project in the YAML form of api/spec, as the server sent it.
Spec []byte `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty"`
// The version of the project's settings on the server.
ConfigVersion int32 `protobuf:"varint,7,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
// The workspace's admin: whom to ask for access to repositories.
AdminEmail string `protobuf:"bytes,8,opt,name=admin_email,json=adminEmail,proto3" json:"admin_email,omitempty"`
// The server no longer gives this project to this device: removed, access ended,
// or another workspace is current. Its environments are stopped, data kept.
Orphaned bool `protobuf:"varint,9,opt,name=orphaned,proto3" json:"orphaned,omitempty"`
// Stopped on this device with devopus down: the server's changes do not start it.
Held bool `protobuf:"varint,10,opt,name=held,proto3" json:"held,omitempty"`
// Its secrets encrypted to the workspace's key, by name (ADR-0009).
Secrets map[string][]byte `` /* 142-byte string literal not displayed */
// The workspace's key wrapped for this device; empty until it is delivered.
KeyWrap []byte `protobuf:"bytes,12,opt,name=key_wrap,json=keyWrap,proto3" json:"key_wrap,omitempty"`
KeyGeneration int32 `protobuf:"varint,13,opt,name=key_generation,json=keyGeneration,proto3" json:"key_generation,omitempty"`
// What devopus.yaml may change for this user (spec.Allow*), and whether they have
// overrides.use at all.
OverridesAllowed []string `protobuf:"bytes,14,rep,name=overrides_allowed,json=overridesAllowed,proto3" json:"overrides_allowed,omitempty"`
OverridesPermitted bool `protobuf:"varint,15,opt,name=overrides_permitted,json=overridesPermitted,proto3" json:"overrides_permitted,omitempty"`
// A version from the server with risky changes — a new image outside the catalog,
// commands, hooks, builds, host folders, another repository (risk R21) — waits for
// the user: the project keeps running config_version until they accept it.
Pending *PendingChange `protobuf:"bytes,16,opt,name=pending,proto3" json:"pending,omitempty"`
// What this device's user just changed themselves (devopus app/service set), by
// section ("apps.api"): a version whose risky changes are these is theirs, and is
// applied without asking. Cleared when a version is applied.
Expected map[string][]byte `` /* 144-byte string literal not displayed */
// sha256 of a version the user declined: it is not asked about again.
Declined string `protobuf:"bytes,18,opt,name=declined,proto3" json:"declined,omitempty"`
// Who signed the version the project runs, checked against the pinned root; empty:
// unsigned or not trusted.
SignedBy string `protobuf:"bytes,19,opt,name=signed_by,json=signedBy,proto3" json:"signed_by,omitempty"`
// On an admin's server (R14, ADR-0020): the environment it runs the project as, its
// public domain and who signed it. Empty: the project's own (local) domain.
EnvKind string `protobuf:"bytes,20,opt,name=env_kind,json=envKind,proto3" json:"env_kind,omitempty"`
PublicDomain string `protobuf:"bytes,21,opt,name=public_domain,json=publicDomain,proto3" json:"public_domain,omitempty"`
EnvironmentSignedBy string `protobuf:"bytes,22,opt,name=environment_signed_by,json=environmentSignedBy,proto3" json:"environment_signed_by,omitempty"`
// Production: who deployed the version it runs.
DeployedBy string `protobuf:"bytes,23,opt,name=deployed_by,json=deployedBy,proto3" json:"deployed_by,omitempty"`
// contains filtered or unexported fields
}
func (*ProjectSpec) Descriptor
deprecated
func (*ProjectSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProjectSpec.ProtoReflect.Descriptor instead.
func (*ProjectSpec) GetAdminEmail ¶
func (x *ProjectSpec) GetAdminEmail() string
func (*ProjectSpec) GetConfig ¶
func (x *ProjectSpec) GetConfig() []byte
func (*ProjectSpec) GetConfigHash ¶
func (x *ProjectSpec) GetConfigHash() string
func (*ProjectSpec) GetConfigVersion ¶
func (x *ProjectSpec) GetConfigVersion() int32
func (*ProjectSpec) GetDeclined ¶
func (x *ProjectSpec) GetDeclined() string
func (*ProjectSpec) GetDeployedBy ¶
func (x *ProjectSpec) GetDeployedBy() string
func (*ProjectSpec) GetEnvKind ¶
func (x *ProjectSpec) GetEnvKind() string
func (*ProjectSpec) GetEnvironmentSignedBy ¶
func (x *ProjectSpec) GetEnvironmentSignedBy() string
func (*ProjectSpec) GetExpected ¶
func (x *ProjectSpec) GetExpected() map[string][]byte
func (*ProjectSpec) GetHeld ¶
func (x *ProjectSpec) GetHeld() bool
func (*ProjectSpec) GetKeyGeneration ¶
func (x *ProjectSpec) GetKeyGeneration() int32
func (*ProjectSpec) GetKeyWrap ¶
func (x *ProjectSpec) GetKeyWrap() []byte
func (*ProjectSpec) GetName ¶
func (x *ProjectSpec) GetName() string
func (*ProjectSpec) GetOrphaned ¶
func (x *ProjectSpec) GetOrphaned() bool
func (*ProjectSpec) GetOverridesAllowed ¶
func (x *ProjectSpec) GetOverridesAllowed() []string
func (*ProjectSpec) GetOverridesPermitted ¶
func (x *ProjectSpec) GetOverridesPermitted() bool
func (*ProjectSpec) GetPending ¶
func (x *ProjectSpec) GetPending() *PendingChange
func (*ProjectSpec) GetPublicDomain ¶
func (x *ProjectSpec) GetPublicDomain() string
func (*ProjectSpec) GetRoot ¶
func (x *ProjectSpec) GetRoot() string
func (*ProjectSpec) GetSecrets ¶
func (x *ProjectSpec) GetSecrets() map[string][]byte
func (*ProjectSpec) GetSignedBy ¶
func (x *ProjectSpec) GetSignedBy() string
func (*ProjectSpec) GetSpec ¶
func (x *ProjectSpec) GetSpec() []byte
func (*ProjectSpec) GetWorkspaceId ¶
func (x *ProjectSpec) GetWorkspaceId() string
func (*ProjectSpec) ProtoMessage ¶
func (*ProjectSpec) ProtoMessage()
func (*ProjectSpec) ProtoReflect ¶
func (x *ProjectSpec) ProtoReflect() protoreflect.Message
func (*ProjectSpec) Reset ¶
func (x *ProjectSpec) Reset()
func (*ProjectSpec) String ¶
func (x *ProjectSpec) String() string
type ProxyStatus ¶
type ProxyStatus struct {
// absent (no environments), starting, running, error.
State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
// default, coexist or fallback.
Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
HttpPort uint32 `protobuf:"varint,3,opt,name=http_port,json=httpPort,proto3" json:"http_port,omitempty"`
HttpsPort uint32 `protobuf:"varint,4,opt,name=https_port,json=httpsPort,proto3" json:"https_port,omitempty"`
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// Why the proxy is not on 80/443, or why it cannot start.
Conflicts []*PortConflict `protobuf:"bytes,6,rep,name=conflicts,proto3" json:"conflicts,omitempty"`
// Envoy holds the xDS stream.
Connected bool `protobuf:"varint,7,opt,name=connected,proto3" json:"connected,omitempty"`
ConfigVersion string `protobuf:"bytes,8,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
// Envoy's last rejection of the configuration, if any.
Rejected string `protobuf:"bytes,9,opt,name=rejected,proto3" json:"rejected,omitempty"`
Container string `protobuf:"bytes,10,opt,name=container,proto3" json:"container,omitempty"`
CoexistHttpPort uint32 `protobuf:"varint,11,opt,name=coexist_http_port,json=coexistHttpPort,proto3" json:"coexist_http_port,omitempty"`
CoexistHttpsPort uint32 `protobuf:"varint,12,opt,name=coexist_https_port,json=coexistHttpsPort,proto3" json:"coexist_https_port,omitempty"`
// Loopback addresses the agent relays itself because the runtime does not publish
// them (Colima: [::1] for ports above 1024).
Relays []string `protobuf:"bytes,13,rep,name=relays,proto3" json:"relays,omitempty"`
// contains filtered or unexported fields
}
func (*ProxyStatus) Descriptor
deprecated
func (*ProxyStatus) Descriptor() ([]byte, []int)
Deprecated: Use ProxyStatus.ProtoReflect.Descriptor instead.
func (*ProxyStatus) GetCoexistHttpPort ¶
func (x *ProxyStatus) GetCoexistHttpPort() uint32
func (*ProxyStatus) GetCoexistHttpsPort ¶
func (x *ProxyStatus) GetCoexistHttpsPort() uint32
func (*ProxyStatus) GetConfigVersion ¶
func (x *ProxyStatus) GetConfigVersion() string
func (*ProxyStatus) GetConflicts ¶
func (x *ProxyStatus) GetConflicts() []*PortConflict
func (*ProxyStatus) GetConnected ¶
func (x *ProxyStatus) GetConnected() bool
func (*ProxyStatus) GetContainer ¶
func (x *ProxyStatus) GetContainer() string
func (*ProxyStatus) GetError ¶
func (x *ProxyStatus) GetError() string
func (*ProxyStatus) GetHttpPort ¶
func (x *ProxyStatus) GetHttpPort() uint32
func (*ProxyStatus) GetHttpsPort ¶
func (x *ProxyStatus) GetHttpsPort() uint32
func (*ProxyStatus) GetMode ¶
func (x *ProxyStatus) GetMode() string
func (*ProxyStatus) GetRejected ¶
func (x *ProxyStatus) GetRejected() string
func (*ProxyStatus) GetRelays ¶
func (x *ProxyStatus) GetRelays() []string
func (*ProxyStatus) GetState ¶
func (x *ProxyStatus) GetState() string
func (*ProxyStatus) ProtoMessage ¶
func (*ProxyStatus) ProtoMessage()
func (*ProxyStatus) ProtoReflect ¶
func (x *ProxyStatus) ProtoReflect() protoreflect.Message
func (*ProxyStatus) Reset ¶
func (x *ProxyStatus) Reset()
func (*ProxyStatus) String ¶
func (x *ProxyStatus) String() string
type RemoveFeatureRequest ¶
type RemoveFeatureRequest struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Name, slug or ID of the feature.
Feature string `protobuf:"bytes,2,opt,name=feature,proto3" json:"feature,omitempty"`
// Remove even with uncommitted or unpushed work in its worktrees.
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveFeatureRequest) Descriptor
deprecated
func (*RemoveFeatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFeatureRequest.ProtoReflect.Descriptor instead.
func (*RemoveFeatureRequest) GetFeature ¶
func (x *RemoveFeatureRequest) GetFeature() string
func (*RemoveFeatureRequest) GetForce ¶
func (x *RemoveFeatureRequest) GetForce() bool
func (*RemoveFeatureRequest) GetProject ¶
func (x *RemoveFeatureRequest) GetProject() string
func (*RemoveFeatureRequest) ProtoMessage ¶
func (*RemoveFeatureRequest) ProtoMessage()
func (*RemoveFeatureRequest) ProtoReflect ¶
func (x *RemoveFeatureRequest) ProtoReflect() protoreflect.Message
func (*RemoveFeatureRequest) Reset ¶
func (x *RemoveFeatureRequest) Reset()
func (*RemoveFeatureRequest) String ¶
func (x *RemoveFeatureRequest) String() string
type RemoveFeatureResponse ¶
type RemoveFeatureResponse struct {
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveFeatureResponse) Descriptor
deprecated
func (*RemoveFeatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFeatureResponse.ProtoReflect.Descriptor instead.
func (*RemoveFeatureResponse) GetEnvironmentId ¶
func (x *RemoveFeatureResponse) GetEnvironmentId() string
func (*RemoveFeatureResponse) GetRevision ¶
func (x *RemoveFeatureResponse) GetRevision() uint64
func (*RemoveFeatureResponse) ProtoMessage ¶
func (*RemoveFeatureResponse) ProtoMessage()
func (*RemoveFeatureResponse) ProtoReflect ¶
func (x *RemoveFeatureResponse) ProtoReflect() protoreflect.Message
func (*RemoveFeatureResponse) Reset ¶
func (x *RemoveFeatureResponse) Reset()
func (*RemoveFeatureResponse) String ¶
func (x *RemoveFeatureResponse) String() string
type ResetDataRequest ¶
type ResetDataRequest struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Name, slug or ID of a feature; empty for the base environment's golden copies.
Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
// Empty: every database of the environment.
Services []string `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
func (*ResetDataRequest) Descriptor
deprecated
func (*ResetDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetDataRequest.ProtoReflect.Descriptor instead.
func (*ResetDataRequest) GetEnvironment ¶
func (x *ResetDataRequest) GetEnvironment() string
func (*ResetDataRequest) GetProject ¶
func (x *ResetDataRequest) GetProject() string
func (*ResetDataRequest) GetServices ¶
func (x *ResetDataRequest) GetServices() []string
func (*ResetDataRequest) ProtoMessage ¶
func (*ResetDataRequest) ProtoMessage()
func (*ResetDataRequest) ProtoReflect ¶
func (x *ResetDataRequest) ProtoReflect() protoreflect.Message
func (*ResetDataRequest) Reset ¶
func (x *ResetDataRequest) Reset()
func (*ResetDataRequest) String ¶
func (x *ResetDataRequest) String() string
type ResetDataResponse ¶
type ResetDataResponse struct {
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
Services []string `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
func (*ResetDataResponse) Descriptor
deprecated
func (*ResetDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResetDataResponse.ProtoReflect.Descriptor instead.
func (*ResetDataResponse) GetEnvironmentId ¶
func (x *ResetDataResponse) GetEnvironmentId() string
func (*ResetDataResponse) GetRevision ¶
func (x *ResetDataResponse) GetRevision() uint64
func (*ResetDataResponse) GetServices ¶
func (x *ResetDataResponse) GetServices() []string
func (*ResetDataResponse) ProtoMessage ¶
func (*ResetDataResponse) ProtoMessage()
func (*ResetDataResponse) ProtoReflect ¶
func (x *ResetDataResponse) ProtoReflect() protoreflect.Message
func (*ResetDataResponse) Reset ¶
func (x *ResetDataResponse) Reset()
func (*ResetDataResponse) String ¶
func (x *ResetDataResponse) String() string
type ResourcesRequest ¶
type ResourcesRequest struct {
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
// contains filtered or unexported fields
}
func (*ResourcesRequest) Descriptor
deprecated
func (*ResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesRequest.ProtoReflect.Descriptor instead.
func (*ResourcesRequest) GetEnvironmentId ¶
func (x *ResourcesRequest) GetEnvironmentId() string
func (*ResourcesRequest) ProtoMessage ¶
func (*ResourcesRequest) ProtoMessage()
func (*ResourcesRequest) ProtoReflect ¶
func (x *ResourcesRequest) ProtoReflect() protoreflect.Message
func (*ResourcesRequest) Reset ¶
func (x *ResourcesRequest) Reset()
func (*ResourcesRequest) String ¶
func (x *ResourcesRequest) String() string
type ResourcesResponse ¶
type ResourcesResponse struct {
Units []*UnitResources `protobuf:"bytes,1,rep,name=units,proto3" json:"units,omitempty"`
// contains filtered or unexported fields
}
func (*ResourcesResponse) Descriptor
deprecated
func (*ResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesResponse.ProtoReflect.Descriptor instead.
func (*ResourcesResponse) GetUnits ¶
func (x *ResourcesResponse) GetUnits() []*UnitResources
func (*ResourcesResponse) ProtoMessage ¶
func (*ResourcesResponse) ProtoMessage()
func (*ResourcesResponse) ProtoReflect ¶
func (x *ResourcesResponse) ProtoReflect() protoreflect.Message
func (*ResourcesResponse) Reset ¶
func (x *ResourcesResponse) Reset()
func (*ResourcesResponse) String ¶
func (x *ResourcesResponse) String() string
type ReviewChangesRequest ¶
type ReviewChangesRequest struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// The pending version's hash, as the user saw it: a newer version is not accepted
// in its place.
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
Accept bool `protobuf:"varint,3,opt,name=accept,proto3" json:"accept,omitempty"`
// contains filtered or unexported fields
}
func (*ReviewChangesRequest) Descriptor
deprecated
func (*ReviewChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReviewChangesRequest.ProtoReflect.Descriptor instead.
func (*ReviewChangesRequest) GetAccept ¶
func (x *ReviewChangesRequest) GetAccept() bool
func (*ReviewChangesRequest) GetHash ¶
func (x *ReviewChangesRequest) GetHash() string
func (*ReviewChangesRequest) GetProject ¶
func (x *ReviewChangesRequest) GetProject() string
func (*ReviewChangesRequest) ProtoMessage ¶
func (*ReviewChangesRequest) ProtoMessage()
func (*ReviewChangesRequest) ProtoReflect ¶
func (x *ReviewChangesRequest) ProtoReflect() protoreflect.Message
func (*ReviewChangesRequest) Reset ¶
func (x *ReviewChangesRequest) Reset()
func (*ReviewChangesRequest) String ¶
func (x *ReviewChangesRequest) String() string
type ReviewChangesResponse ¶
type ReviewChangesResponse struct {
DesiredRevision uint64 `protobuf:"varint,1,opt,name=desired_revision,json=desiredRevision,proto3" json:"desired_revision,omitempty"`
// contains filtered or unexported fields
}
func (*ReviewChangesResponse) Descriptor
deprecated
func (*ReviewChangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReviewChangesResponse.ProtoReflect.Descriptor instead.
func (*ReviewChangesResponse) GetDesiredRevision ¶
func (x *ReviewChangesResponse) GetDesiredRevision() uint64
func (*ReviewChangesResponse) ProtoMessage ¶
func (*ReviewChangesResponse) ProtoMessage()
func (*ReviewChangesResponse) ProtoReflect ¶
func (x *ReviewChangesResponse) ProtoReflect() protoreflect.Message
func (*ReviewChangesResponse) Reset ¶
func (x *ReviewChangesResponse) Reset()
func (*ReviewChangesResponse) String ¶
func (x *ReviewChangesResponse) String() string
type Route ¶
type Route struct {
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
EnvironmentId string `protobuf:"bytes,2,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
// Path prefix; "/" for everything.
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
// What serves it: an application or service with its address, or a page of the proxy.
Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*Route) Descriptor
deprecated
func (*Route) GetEnvironmentId ¶
func (*Route) GetProject ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
type RoutesRequest ¶
type RoutesRequest struct {
// Empty: every environment.
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
// contains filtered or unexported fields
}
func (*RoutesRequest) Descriptor
deprecated
func (*RoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoutesRequest.ProtoReflect.Descriptor instead.
func (*RoutesRequest) GetEnvironmentId ¶
func (x *RoutesRequest) GetEnvironmentId() string
func (*RoutesRequest) ProtoMessage ¶
func (*RoutesRequest) ProtoMessage()
func (*RoutesRequest) ProtoReflect ¶
func (x *RoutesRequest) ProtoReflect() protoreflect.Message
func (*RoutesRequest) Reset ¶
func (x *RoutesRequest) Reset()
func (*RoutesRequest) String ¶
func (x *RoutesRequest) String() string
type RoutesResponse ¶
type RoutesResponse struct {
Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
Proxy *ProxyStatus `protobuf:"bytes,2,opt,name=proxy,proto3" json:"proxy,omitempty"`
// contains filtered or unexported fields
}
func (*RoutesResponse) Descriptor
deprecated
func (*RoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoutesResponse.ProtoReflect.Descriptor instead.
func (*RoutesResponse) GetProxy ¶
func (x *RoutesResponse) GetProxy() *ProxyStatus
func (*RoutesResponse) GetRoutes ¶
func (x *RoutesResponse) GetRoutes() []*Route
func (*RoutesResponse) ProtoMessage ¶
func (*RoutesResponse) ProtoMessage()
func (*RoutesResponse) ProtoReflect ¶
func (x *RoutesResponse) ProtoReflect() protoreflect.Message
func (*RoutesResponse) Reset ¶
func (x *RoutesResponse) Reset()
func (*RoutesResponse) String ¶
func (x *RoutesResponse) String() string
type RuntimeInfo ¶
type RuntimeInfo struct {
// docker-desktop, orbstack, colima, podman, docker-engine or unknown.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
ServerVersion string `protobuf:"bytes,3,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"`
Reachable bool `protobuf:"varint,5,opt,name=reachable,proto3" json:"reachable,omitempty"`
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*RuntimeInfo) Descriptor
deprecated
func (*RuntimeInfo) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeInfo.ProtoReflect.Descriptor instead.
func (*RuntimeInfo) GetEndpoint ¶
func (x *RuntimeInfo) GetEndpoint() string
func (*RuntimeInfo) GetError ¶
func (x *RuntimeInfo) GetError() string
func (*RuntimeInfo) GetName ¶
func (x *RuntimeInfo) GetName() string
func (*RuntimeInfo) GetOs ¶
func (x *RuntimeInfo) GetOs() string
func (*RuntimeInfo) GetReachable ¶
func (x *RuntimeInfo) GetReachable() bool
func (*RuntimeInfo) GetServerVersion ¶
func (x *RuntimeInfo) GetServerVersion() string
func (*RuntimeInfo) ProtoMessage ¶
func (*RuntimeInfo) ProtoMessage()
func (*RuntimeInfo) ProtoReflect ¶
func (x *RuntimeInfo) ProtoReflect() protoreflect.Message
func (*RuntimeInfo) Reset ¶
func (x *RuntimeInfo) Reset()
func (*RuntimeInfo) String ¶
func (x *RuntimeInfo) String() string
type SetProxyRequest ¶
type SetProxyRequest struct {
// 0 turns coexistence off.
CoexistHttpPort uint32 `protobuf:"varint,1,opt,name=coexist_http_port,json=coexistHttpPort,proto3" json:"coexist_http_port,omitempty"`
CoexistHttpsPort uint32 `protobuf:"varint,2,opt,name=coexist_https_port,json=coexistHttpsPort,proto3" json:"coexist_https_port,omitempty"`
// Recreate the proxy container: it probes 80/443 again. Changing coexistence
// restarts it too, since that is when 80/443 become free.
Restart bool `protobuf:"varint,3,opt,name=restart,proto3" json:"restart,omitempty"`
// contains filtered or unexported fields
}
func (*SetProxyRequest) Descriptor
deprecated
func (*SetProxyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetProxyRequest.ProtoReflect.Descriptor instead.
func (*SetProxyRequest) GetCoexistHttpPort ¶
func (x *SetProxyRequest) GetCoexistHttpPort() uint32
func (*SetProxyRequest) GetCoexistHttpsPort ¶
func (x *SetProxyRequest) GetCoexistHttpsPort() uint32
func (*SetProxyRequest) GetRestart ¶
func (x *SetProxyRequest) GetRestart() bool
func (*SetProxyRequest) ProtoMessage ¶
func (*SetProxyRequest) ProtoMessage()
func (*SetProxyRequest) ProtoReflect ¶
func (x *SetProxyRequest) ProtoReflect() protoreflect.Message
func (*SetProxyRequest) Reset ¶
func (x *SetProxyRequest) Reset()
func (*SetProxyRequest) String ¶
func (x *SetProxyRequest) String() string
type SetProxyResponse ¶
type SetProxyResponse struct {
Revision uint64 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
func (*SetProxyResponse) Descriptor
deprecated
func (*SetProxyResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetProxyResponse.ProtoReflect.Descriptor instead.
func (*SetProxyResponse) GetRevision ¶
func (x *SetProxyResponse) GetRevision() uint64
func (*SetProxyResponse) ProtoMessage ¶
func (*SetProxyResponse) ProtoMessage()
func (*SetProxyResponse) ProtoReflect ¶
func (x *SetProxyResponse) ProtoReflect() protoreflect.Message
func (*SetProxyResponse) Reset ¶
func (x *SetProxyResponse) Reset()
func (*SetProxyResponse) String ¶
func (x *SetProxyResponse) String() string
type SetSleepRequest ¶
type SetSleepRequest struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Name, slug or ID of the feature.
Feature string `protobuf:"bytes,2,opt,name=feature,proto3" json:"feature,omitempty"`
Asleep bool `protobuf:"varint,3,opt,name=asleep,proto3" json:"asleep,omitempty"`
// contains filtered or unexported fields
}
func (*SetSleepRequest) Descriptor
deprecated
func (*SetSleepRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSleepRequest.ProtoReflect.Descriptor instead.
func (*SetSleepRequest) GetAsleep ¶
func (x *SetSleepRequest) GetAsleep() bool
func (*SetSleepRequest) GetFeature ¶
func (x *SetSleepRequest) GetFeature() string
func (*SetSleepRequest) GetProject ¶
func (x *SetSleepRequest) GetProject() string
func (*SetSleepRequest) ProtoMessage ¶
func (*SetSleepRequest) ProtoMessage()
func (*SetSleepRequest) ProtoReflect ¶
func (x *SetSleepRequest) ProtoReflect() protoreflect.Message
func (*SetSleepRequest) Reset ¶
func (x *SetSleepRequest) Reset()
func (*SetSleepRequest) String ¶
func (x *SetSleepRequest) String() string
type SetSleepResponse ¶
type SetSleepResponse struct {
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
// contains filtered or unexported fields
}
func (*SetSleepResponse) Descriptor
deprecated
func (*SetSleepResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetSleepResponse.ProtoReflect.Descriptor instead.
func (*SetSleepResponse) GetEnvironmentId ¶
func (x *SetSleepResponse) GetEnvironmentId() string
func (*SetSleepResponse) ProtoMessage ¶
func (*SetSleepResponse) ProtoMessage()
func (*SetSleepResponse) ProtoReflect ¶
func (x *SetSleepResponse) ProtoReflect() protoreflect.Message
func (*SetSleepResponse) Reset ¶
func (x *SetSleepResponse) Reset()
func (*SetSleepResponse) String ¶
func (x *SetSleepResponse) String() string
type StatusRequest ¶
type StatusRequest struct {
// contains filtered or unexported fields
}
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string
type StatusResponse ¶
type StatusResponse struct {
AgentVersion string `protobuf:"bytes,1,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
DesiredRevision uint64 `protobuf:"varint,2,opt,name=desired_revision,json=desiredRevision,proto3" json:"desired_revision,omitempty"`
Runtime *RuntimeInfo `protobuf:"bytes,3,opt,name=runtime,proto3" json:"runtime,omitempty"`
Projects []*ProjectSpec `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"`
Environments []*EnvironmentStatus `protobuf:"bytes,5,rep,name=environments,proto3" json:"environments,omitempty"`
Proxy *ProxyStatus `protobuf:"bytes,6,opt,name=proxy,proto3" json:"proxy,omitempty"`
Ca *CAInfo `protobuf:"bytes,7,opt,name=ca,proto3" json:"ca,omitempty"`
// Who the agent works for: the user signed in on this device. Absent when nobody is.
Account *AccountInfo `protobuf:"bytes,9,opt,name=account,proto3" json:"account,omitempty"`
// The link to the workspace server the projects come from.
Link *LinkInfo `protobuf:"bytes,10,opt,name=link,proto3" json:"link,omitempty"`
// contains filtered or unexported fields
}
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetAccount ¶
func (x *StatusResponse) GetAccount() *AccountInfo
func (*StatusResponse) GetAgentVersion ¶
func (x *StatusResponse) GetAgentVersion() string
func (*StatusResponse) GetCa ¶
func (x *StatusResponse) GetCa() *CAInfo
func (*StatusResponse) GetDesiredRevision ¶
func (x *StatusResponse) GetDesiredRevision() uint64
func (*StatusResponse) GetEnvironments ¶
func (x *StatusResponse) GetEnvironments() []*EnvironmentStatus
func (*StatusResponse) GetLink ¶
func (x *StatusResponse) GetLink() *LinkInfo
func (*StatusResponse) GetProjects ¶
func (x *StatusResponse) GetProjects() []*ProjectSpec
func (*StatusResponse) GetProxy ¶
func (x *StatusResponse) GetProxy() *ProxyStatus
func (*StatusResponse) GetRuntime ¶
func (x *StatusResponse) GetRuntime() *RuntimeInfo
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type StepProgress ¶
type StepProgress struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
State StepState `protobuf:"varint,2,opt,name=state,proto3,enum=devopus.agent.v2.StepState" json:"state,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
FinishedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
// contains filtered or unexported fields
}
func (*StepProgress) Descriptor
deprecated
func (*StepProgress) Descriptor() ([]byte, []int)
Deprecated: Use StepProgress.ProtoReflect.Descriptor instead.
func (*StepProgress) GetFinishedAt ¶
func (x *StepProgress) GetFinishedAt() *timestamppb.Timestamp
func (*StepProgress) GetMessage ¶
func (x *StepProgress) GetMessage() string
func (*StepProgress) GetName ¶
func (x *StepProgress) GetName() string
func (*StepProgress) GetStartedAt ¶
func (x *StepProgress) GetStartedAt() *timestamppb.Timestamp
func (*StepProgress) GetState ¶
func (x *StepProgress) GetState() StepState
func (*StepProgress) ProtoMessage ¶
func (*StepProgress) ProtoMessage()
func (*StepProgress) ProtoReflect ¶
func (x *StepProgress) ProtoReflect() protoreflect.Message
func (*StepProgress) Reset ¶
func (x *StepProgress) Reset()
func (*StepProgress) String ¶
func (x *StepProgress) String() string
type StepState ¶
type StepState int32
func (StepState) Descriptor ¶
func (StepState) Descriptor() protoreflect.EnumDescriptor
func (StepState) EnumDescriptor
deprecated
func (StepState) Number ¶
func (x StepState) Number() protoreflect.EnumNumber
func (StepState) Type ¶
func (StepState) Type() protoreflect.EnumType
type TrustRoot ¶
type TrustRoot struct {
PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
// The server gives another root than the pinned one: signatures do not count until
// the user looks into it.
Offered []byte `protobuf:"bytes,4,opt,name=offered,proto3" json:"offered,omitempty"`
// contains filtered or unexported fields
}
func (*TrustRoot) Descriptor
deprecated
func (*TrustRoot) GetDeviceId ¶
func (*TrustRoot) GetOffered ¶
func (*TrustRoot) GetPublicKey ¶
func (*TrustRoot) ProtoMessage ¶
func (*TrustRoot) ProtoMessage()
func (*TrustRoot) ProtoReflect ¶
func (x *TrustRoot) ProtoReflect() protoreflect.Message
type UnitResources ¶
type UnitResources struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CpuPercent float64 `protobuf:"fixed64,2,opt,name=cpu_percent,json=cpuPercent,proto3" json:"cpu_percent,omitempty"`
MemoryBytes uint64 `protobuf:"varint,3,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
MemoryLimit uint64 `protobuf:"varint,4,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
// contains filtered or unexported fields
}
func (*UnitResources) Descriptor
deprecated
func (*UnitResources) Descriptor() ([]byte, []int)
Deprecated: Use UnitResources.ProtoReflect.Descriptor instead.
func (*UnitResources) GetCpuPercent ¶
func (x *UnitResources) GetCpuPercent() float64
func (*UnitResources) GetMemoryBytes ¶
func (x *UnitResources) GetMemoryBytes() uint64
func (*UnitResources) GetMemoryLimit ¶
func (x *UnitResources) GetMemoryLimit() uint64
func (*UnitResources) GetName ¶
func (x *UnitResources) GetName() string
func (*UnitResources) ProtoMessage ¶
func (*UnitResources) ProtoMessage()
func (*UnitResources) ProtoReflect ¶
func (x *UnitResources) ProtoReflect() protoreflect.Message
func (*UnitResources) Reset ¶
func (x *UnitResources) Reset()
func (*UnitResources) String ¶
func (x *UnitResources) String() string
type UnitStatus ¶
type UnitStatus struct {
// Name in the environment: mysql, api, api-worker-1.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// service, app or worker.
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
// running, starting (running, not healthy yet), exited, stopped, missing.
State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
// Pinned address and port in the environment network; empty for workers.
Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
// Path prefixes (applications) or the host of the web UI (services with expose).
Routes []string `protobuf:"bytes,6,rep,name=routes,proto3" json:"routes,omitempty"`
// Why the unit is not running, with the end of its output.
Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
UnitStatus is one container of an environment.
func (*UnitStatus) Descriptor
deprecated
func (*UnitStatus) Descriptor() ([]byte, []int)
Deprecated: Use UnitStatus.ProtoReflect.Descriptor instead.
func (*UnitStatus) GetAddress ¶
func (x *UnitStatus) GetAddress() string
func (*UnitStatus) GetContainer ¶
func (x *UnitStatus) GetContainer() string
func (*UnitStatus) GetError ¶
func (x *UnitStatus) GetError() string
func (*UnitStatus) GetName ¶
func (x *UnitStatus) GetName() string
func (*UnitStatus) GetRole ¶
func (x *UnitStatus) GetRole() string
func (*UnitStatus) GetRoutes ¶
func (x *UnitStatus) GetRoutes() []string
func (*UnitStatus) GetState ¶
func (x *UnitStatus) GetState() string
func (*UnitStatus) ProtoMessage ¶
func (*UnitStatus) ProtoMessage()
func (*UnitStatus) ProtoReflect ¶
func (x *UnitStatus) ProtoReflect() protoreflect.Message
func (*UnitStatus) Reset ¶
func (x *UnitStatus) Reset()
func (*UnitStatus) String ¶
func (x *UnitStatus) String() string
type UpRequest ¶
type UpRequest struct {
// A project the agent has: from the workspace server, or registered from a folder
// before R10.
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
// A project from the workspace server: the folder of its path applications.
Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"`
// contains filtered or unexported fields
}
func (*UpRequest) Descriptor
deprecated
func (*UpRequest) GetProject ¶
func (*UpRequest) ProtoMessage ¶
func (*UpRequest) ProtoMessage()
func (*UpRequest) ProtoReflect ¶
func (x *UpRequest) ProtoReflect() protoreflect.Message
type UpResponse ¶
type UpResponse struct {
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
func (*UpResponse) Descriptor
deprecated
func (*UpResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpResponse.ProtoReflect.Descriptor instead.
func (*UpResponse) GetEnvironmentId ¶
func (x *UpResponse) GetEnvironmentId() string
func (*UpResponse) GetRevision ¶
func (x *UpResponse) GetRevision() uint64
func (*UpResponse) ProtoMessage ¶
func (*UpResponse) ProtoMessage()
func (*UpResponse) ProtoReflect ¶
func (x *UpResponse) ProtoReflect() protoreflect.Message
func (*UpResponse) Reset ¶
func (x *UpResponse) Reset()
func (*UpResponse) String ¶
func (x *UpResponse) String() string
type WatchRequest ¶
type WatchRequest struct {
// Empty: every environment.
EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
// contains filtered or unexported fields
}
func (*WatchRequest) Descriptor
deprecated
func (*WatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.
func (*WatchRequest) GetEnvironmentId ¶
func (x *WatchRequest) GetEnvironmentId() string
func (*WatchRequest) ProtoMessage ¶
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) ProtoReflect ¶
func (x *WatchRequest) ProtoReflect() protoreflect.Message
func (*WatchRequest) Reset ¶
func (x *WatchRequest) Reset()
func (*WatchRequest) String ¶
func (x *WatchRequest) String() string
type WatchResponse ¶
type WatchResponse struct {
Status *EnvironmentStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// Sent once, after the current statuses: from here on every change is delivered.
// A client that changes the desired state waits for it to not miss progress.
Synced bool `protobuf:"varint,2,opt,name=synced,proto3" json:"synced,omitempty"`
// contains filtered or unexported fields
}
func (*WatchResponse) Descriptor
deprecated
func (*WatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.
func (*WatchResponse) GetStatus ¶
func (x *WatchResponse) GetStatus() *EnvironmentStatus
func (*WatchResponse) GetSynced ¶
func (x *WatchResponse) GetSynced() bool
func (*WatchResponse) ProtoMessage ¶
func (*WatchResponse) ProtoMessage()
func (*WatchResponse) ProtoReflect ¶
func (x *WatchResponse) ProtoReflect() protoreflect.Message
func (*WatchResponse) Reset ¶
func (x *WatchResponse) Reset()
func (*WatchResponse) String ¶
func (x *WatchResponse) String() string