Documentation ¶
Index ¶
- Variables
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetCreatedAt() *timestamppb.Timestamp
- func (x *Deployment) GetCurrentReleaseManifest() *ReleaseManifest
- func (x *Deployment) GetDeployed() bool
- func (x *Deployment) GetId() string
- func (x *Deployment) GetLastAction() string
- func (x *Deployment) GetServices() []*Service
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type Hart
- type ReleaseManifest
- func (*ReleaseManifest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseManifest) GetBuild() string
- func (x *ReleaseManifest) GetBuildSHA() string
- func (x *ReleaseManifest) GetHarts() []*Hart
- func (x *ReleaseManifest) GetPackages() []string
- func (*ReleaseManifest) ProtoMessage()
- func (x *ReleaseManifest) ProtoReflect() protoreflect.Message
- func (x *ReleaseManifest) Reset()
- func (x *ReleaseManifest) String() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetDeploymentState() Service_DeploymentState
- func (x *Service) GetHartPath() string
- func (x *Service) GetInstallType() Service_InstallType
- func (x *Service) GetName() string
- func (x *Service) GetOrigin() string
- func (x *Service) GetOriginalOrigin() string
- func (x *Service) GetSslCert() string
- func (x *Service) GetSslKey() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type Service_DeploymentState
- func (Service_DeploymentState) Descriptor() protoreflect.EnumDescriptor
- func (x Service_DeploymentState) Enum() *Service_DeploymentState
- func (Service_DeploymentState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_DeploymentState) Number() protoreflect.EnumNumber
- func (x Service_DeploymentState) String() string
- func (Service_DeploymentState) Type() protoreflect.EnumType
- type Service_InstallType
- func (Service_InstallType) Descriptor() protoreflect.EnumDescriptor
- func (x Service_InstallType) Enum() *Service_InstallType
- func (Service_InstallType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_InstallType) Number() protoreflect.EnumNumber
- func (x Service_InstallType) String() string
- func (Service_InstallType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Service_DeploymentState_name = map[int32]string{ 0: "SKIP", 1: "INSTALLED", 2: "RUNNING", 3: "REMOVED", } Service_DeploymentState_value = map[string]int32{ "SKIP": 0, "INSTALLED": 1, "RUNNING": 2, "REMOVED": 3, } )
Enum value maps for Service_DeploymentState.
View Source
var ( Service_InstallType_name = map[int32]string{ 0: "DEPOT", 1: "HART", } Service_InstallType_value = map[string]int32{ "DEPOT": 0, "HART": 1, } )
Enum value maps for Service_InstallType.
View Source
var File_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` CreatedAt *timestamppb.Timestamp `` /* 152-byte string literal not displayed */ LastAction string `` /* 157-byte string literal not displayed */ Deployed bool `` /* 130-byte string literal not displayed */ Services []*Service `` /* 129-byte string literal not displayed */ CurrentReleaseManifest *ReleaseManifest `` /* 221-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetCreatedAt ¶
func (x *Deployment) GetCreatedAt() *timestamppb.Timestamp
func (*Deployment) GetCurrentReleaseManifest ¶
func (x *Deployment) GetCurrentReleaseManifest() *ReleaseManifest
func (*Deployment) GetDeployed ¶
func (x *Deployment) GetDeployed() bool
func (*Deployment) GetId ¶
func (x *Deployment) GetId() string
func (*Deployment) GetLastAction ¶
func (x *Deployment) GetLastAction() string
func (*Deployment) GetServices ¶
func (x *Deployment) GetServices() []*Service
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type Hart ¶
type Hart struct { Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty" toml:"origin,omitempty" mapstructure:"origin,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` // contains filtered or unexported fields }
func (*Hart) Descriptor
deprecated
func (*Hart) ProtoMessage ¶
func (*Hart) ProtoMessage()
func (*Hart) ProtoReflect ¶
func (x *Hart) ProtoReflect() protoreflect.Message
type ReleaseManifest ¶
type ReleaseManifest struct { Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty" toml:"build,omitempty" mapstructure:"build,omitempty"` BuildSHA string `` /* 129-byte string literal not displayed */ Packages []string `` /* 129-byte string literal not displayed */ Harts []*Hart `protobuf:"bytes,4,rep,name=harts,proto3" json:"harts,omitempty" toml:"harts,omitempty" mapstructure:"harts,omitempty"` // contains filtered or unexported fields }
func (*ReleaseManifest) Descriptor
deprecated
func (*ReleaseManifest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseManifest.ProtoReflect.Descriptor instead.
func (*ReleaseManifest) GetBuild ¶
func (x *ReleaseManifest) GetBuild() string
func (*ReleaseManifest) GetBuildSHA ¶
func (x *ReleaseManifest) GetBuildSHA() string
func (*ReleaseManifest) GetHarts ¶
func (x *ReleaseManifest) GetHarts() []*Hart
func (*ReleaseManifest) GetPackages ¶
func (x *ReleaseManifest) GetPackages() []string
func (*ReleaseManifest) ProtoMessage ¶
func (*ReleaseManifest) ProtoMessage()
func (*ReleaseManifest) ProtoReflect ¶
func (x *ReleaseManifest) ProtoReflect() protoreflect.Message
func (*ReleaseManifest) Reset ¶
func (x *ReleaseManifest) Reset()
func (*ReleaseManifest) String ¶
func (x *ReleaseManifest) String() string
type Service ¶
type Service struct { Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty" toml:"origin,omitempty" mapstructure:"origin,omitempty"` OriginalOrigin string `` /* 177-byte string literal not displayed */ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` InstallType Service_InstallType `` /* 188-byte string literal not displayed */ HartPath string `` /* 147-byte string literal not displayed */ DeploymentState Service_DeploymentState `` /* 212-byte string literal not displayed */ SslKey string `` /* 137-byte string literal not displayed */ SslCert string `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetDeploymentState ¶
func (x *Service) GetDeploymentState() Service_DeploymentState
func (*Service) GetHartPath ¶
func (*Service) GetInstallType ¶
func (x *Service) GetInstallType() Service_InstallType
func (*Service) GetOriginalOrigin ¶
func (*Service) GetSslCert ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type Service_DeploymentState ¶
type Service_DeploymentState int32
const ( Service_SKIP Service_DeploymentState = 0 Service_INSTALLED Service_DeploymentState = 1 Service_RUNNING Service_DeploymentState = 2 Service_REMOVED Service_DeploymentState = 3 )
func (Service_DeploymentState) Descriptor ¶
func (Service_DeploymentState) Descriptor() protoreflect.EnumDescriptor
func (Service_DeploymentState) Enum ¶
func (x Service_DeploymentState) Enum() *Service_DeploymentState
func (Service_DeploymentState) EnumDescriptor
deprecated
func (Service_DeploymentState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Service_DeploymentState.Descriptor instead.
func (Service_DeploymentState) Number ¶
func (x Service_DeploymentState) Number() protoreflect.EnumNumber
func (Service_DeploymentState) String ¶
func (x Service_DeploymentState) String() string
func (Service_DeploymentState) Type ¶
func (Service_DeploymentState) Type() protoreflect.EnumType
type Service_InstallType ¶
type Service_InstallType int32
const ( Service_DEPOT Service_InstallType = 0 Service_HART Service_InstallType = 1 )
func (Service_InstallType) Descriptor ¶
func (Service_InstallType) Descriptor() protoreflect.EnumDescriptor
func (Service_InstallType) Enum ¶
func (x Service_InstallType) Enum() *Service_InstallType
func (Service_InstallType) EnumDescriptor
deprecated
func (Service_InstallType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Service_InstallType.Descriptor instead.
func (Service_InstallType) Number ¶
func (x Service_InstallType) Number() protoreflect.EnumNumber
func (Service_InstallType) String ¶
func (x Service_InstallType) String() string
func (Service_InstallType) Type ¶
func (Service_InstallType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.