schema

package
v0.0.0-...-bde254b Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Deprecated: Use Hart.ProtoReflect.Descriptor instead.

func (*Hart) GetName

func (x *Hart) GetName() string

func (*Hart) GetOrigin

func (x *Hart) GetOrigin() string

func (*Hart) GetPath

func (x *Hart) GetPath() string

func (*Hart) ProtoMessage

func (*Hart) ProtoMessage()

func (*Hart) ProtoReflect

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

func (*Hart) Reset

func (x *Hart) Reset()

func (*Hart) String

func (x *Hart) String() string

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetDeploymentState

func (x *Service) GetDeploymentState() Service_DeploymentState

func (*Service) GetHartPath

func (x *Service) GetHartPath() string

func (*Service) GetInstallType

func (x *Service) GetInstallType() Service_InstallType

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetOrigin

func (x *Service) GetOrigin() string

func (*Service) GetOriginalOrigin

func (x *Service) GetOriginalOrigin() string

func (*Service) GetSslCert

func (x *Service) GetSslCert() string

func (*Service) GetSslKey

func (x *Service) GetSslKey() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

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) Enum

func (Service_DeploymentState) EnumDescriptor deprecated

func (Service_DeploymentState) EnumDescriptor() ([]byte, []int)

Deprecated: Use Service_DeploymentState.Descriptor instead.

func (Service_DeploymentState) Number

func (Service_DeploymentState) String

func (x Service_DeploymentState) String() string

func (Service_DeploymentState) Type

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) Enum

func (Service_InstallType) EnumDescriptor deprecated

func (Service_InstallType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Service_InstallType.Descriptor instead.

func (Service_InstallType) Number

func (Service_InstallType) String

func (x Service_InstallType) String() string

func (Service_InstallType) Type

Jump to

Keyboard shortcuts

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