schema

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 4 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",
}
View Source
var Service_DeploymentState_value = map[string]int32{
	"SKIP":      0,
	"INSTALLED": 1,
	"RUNNING":   2,
	"REMOVED":   3,
}
View Source
var Service_InstallType_name = map[int32]string{
	0: "DEPOT",
	1: "HART",
}
View Source
var Service_InstallType_value = map[string]int32{
	"DEPOT": 0,
	"HART":  1,
}

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              *timestamp.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 */
	XXX_NoUnkeyedLiteral   struct{}             `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized       []byte               `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache          int32                `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Deployment) Descriptor

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

func (*Deployment) GetCreatedAt

func (m *Deployment) GetCreatedAt() *timestamp.Timestamp

func (*Deployment) GetCurrentReleaseManifest

func (m *Deployment) GetCurrentReleaseManifest() *ReleaseManifest

func (*Deployment) GetDeployed

func (m *Deployment) GetDeployed() bool

func (*Deployment) GetId

func (m *Deployment) GetId() string

func (*Deployment) GetLastAction

func (m *Deployment) GetLastAction() string

func (*Deployment) GetServices

func (m *Deployment) GetServices() []*Service

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) Reset

func (m *Deployment) Reset()

func (*Deployment) String

func (m *Deployment) String() string

func (*Deployment) XXX_DiscardUnknown

func (m *Deployment) XXX_DiscardUnknown()

func (*Deployment) XXX_Marshal

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

func (*Deployment) XXX_Merge

func (dst *Deployment) XXX_Merge(src proto.Message)

func (*Deployment) XXX_Size

func (m *Deployment) XXX_Size() int

func (*Deployment) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Hart) Descriptor

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

func (*Hart) GetName

func (m *Hart) GetName() string

func (*Hart) GetOrigin

func (m *Hart) GetOrigin() string

func (*Hart) GetPath

func (m *Hart) GetPath() string

func (*Hart) ProtoMessage

func (*Hart) ProtoMessage()

func (*Hart) Reset

func (m *Hart) Reset()

func (*Hart) String

func (m *Hart) String() string

func (*Hart) XXX_DiscardUnknown

func (m *Hart) XXX_DiscardUnknown()

func (*Hart) XXX_Marshal

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

func (*Hart) XXX_Merge

func (dst *Hart) XXX_Merge(src proto.Message)

func (*Hart) XXX_Size

func (m *Hart) XXX_Size() int

func (*Hart) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ReleaseManifest) Descriptor

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

func (*ReleaseManifest) GetBuild

func (m *ReleaseManifest) GetBuild() string

func (*ReleaseManifest) GetBuildSHA

func (m *ReleaseManifest) GetBuildSHA() string

func (*ReleaseManifest) GetHarts

func (m *ReleaseManifest) GetHarts() []*Hart

func (*ReleaseManifest) GetPackages

func (m *ReleaseManifest) GetPackages() []string

func (*ReleaseManifest) ProtoMessage

func (*ReleaseManifest) ProtoMessage()

func (*ReleaseManifest) Reset

func (m *ReleaseManifest) Reset()

func (*ReleaseManifest) String

func (m *ReleaseManifest) String() string

func (*ReleaseManifest) XXX_DiscardUnknown

func (m *ReleaseManifest) XXX_DiscardUnknown()

func (*ReleaseManifest) XXX_Marshal

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

func (*ReleaseManifest) XXX_Merge

func (dst *ReleaseManifest) XXX_Merge(src proto.Message)

func (*ReleaseManifest) XXX_Size

func (m *ReleaseManifest) XXX_Size() int

func (*ReleaseManifest) XXX_Unmarshal

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

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 */
	XXX_NoUnkeyedLiteral struct{}                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                  `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                   `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Service) Descriptor

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

func (*Service) GetDeploymentState

func (m *Service) GetDeploymentState() Service_DeploymentState

func (*Service) GetHartPath

func (m *Service) GetHartPath() string

func (*Service) GetInstallType

func (m *Service) GetInstallType() Service_InstallType

func (*Service) GetName

func (m *Service) GetName() string

func (*Service) GetOrigin

func (m *Service) GetOrigin() string

func (*Service) GetOriginalOrigin

func (m *Service) GetOriginalOrigin() string

func (*Service) GetSslCert

func (m *Service) GetSslCert() string

func (*Service) GetSslKey

func (m *Service) GetSslKey() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) Reset

func (m *Service) Reset()

func (*Service) String

func (m *Service) String() string

func (*Service) XXX_DiscardUnknown

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal

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

func (*Service) XXX_Merge

func (dst *Service) XXX_Merge(src proto.Message)

func (*Service) XXX_Size

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal

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

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

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

func (Service_DeploymentState) String

func (x Service_DeploymentState) String() string

type Service_InstallType

type Service_InstallType int32
const (
	Service_DEPOT Service_InstallType = 0
	Service_HART  Service_InstallType = 1
)

func (Service_InstallType) EnumDescriptor

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

func (Service_InstallType) String

func (x Service_InstallType) String() string

Jump to

Keyboard shortcuts

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