Documentation ¶
Overview ¶
Package models is a generated protocol buffer package.
It is generated from these files:
types.proto
It has these top-level messages:
App Build Release Resource ResourceVar EnvConfig Process Formation ResourceLimits DockerCred
Index ¶
- Constants
- Variables
- type App
- func (*App) Descriptor() ([]byte, []int)
- func (m *App) GetBuildId() string
- func (m *App) GetDomains() []string
- func (m *App) GetEndpoint() string
- func (m *App) GetName() string
- func (m *App) GetReleaseId() string
- func (m *App) GetRepoUrl() string
- func (m *App) GetResources() []string
- func (m *App) GetStatus() string
- func (m *App) Marshal() (dAtA []byte, err error)
- func (m *App) MarshalTo(dAtA []byte) (int, error)
- func (*App) ProtoMessage()
- func (m *App) Reset()
- func (m *App) Size() (n int)
- func (m *App) String() string
- func (m *App) Unmarshal(dAtA []byte) error
- type AppCreateOptions
- type AppDomains
- type Apps
- type Build
- func (*Build) Descriptor() ([]byte, []int)
- func (m *Build) GetApp() string
- func (m *Build) GetCreatedAt() int64
- func (m *Build) GetId() string
- func (m *Build) GetProcfile() []byte
- func (m *Build) GetRemoteId() string
- func (m *Build) GetStatus() string
- func (m *Build) GetVersion() string
- func (m *Build) Marshal() (dAtA []byte, err error)
- func (m *Build) MarshalTo(dAtA []byte) (int, error)
- func (*Build) ProtoMessage()
- func (m *Build) Reset()
- func (m *Build) Size() (n int)
- func (m *Build) String() string
- func (m *Build) Unmarshal(dAtA []byte) error
- type Builds
- type CreateBuildOptions
- type DockerCred
- func (*DockerCred) Descriptor() ([]byte, []int)
- func (m *DockerCred) GetHost() string
- func (m *DockerCred) GetPassword() string
- func (m *DockerCred) GetUsername() string
- func (m *DockerCred) Marshal() (dAtA []byte, err error)
- func (m *DockerCred) MarshalTo(dAtA []byte) (int, error)
- func (*DockerCred) ProtoMessage()
- func (m *DockerCred) Reset()
- func (m *DockerCred) Size() (n int)
- func (m *DockerCred) String() string
- func (m *DockerCred) Unmarshal(dAtA []byte) error
- type EnvConfig
- func (*EnvConfig) Descriptor() ([]byte, []int)
- func (m *EnvConfig) GetData() map[string]string
- func (m *EnvConfig) Marshal() (dAtA []byte, err error)
- func (m *EnvConfig) MarshalTo(dAtA []byte) (int, error)
- func (*EnvConfig) ProtoMessage()
- func (m *EnvConfig) Reset()
- func (m *EnvConfig) Size() (n int)
- func (m *EnvConfig) String() string
- func (m *EnvConfig) Unmarshal(dAtA []byte) error
- type Environment
- type Formation
- func (*Formation) Descriptor() ([]byte, []int)
- func (m *Formation) GetApp() string
- func (m *Formation) GetStructure() map[string]int32
- func (m *Formation) Marshal() (dAtA []byte, err error)
- func (m *Formation) MarshalTo(dAtA []byte) (int, error)
- func (*Formation) ProtoMessage()
- func (m *Formation) Reset()
- func (m *Formation) Size() (n int)
- func (m *Formation) String() string
- func (m *Formation) Unmarshal(dAtA []byte) error
- type LogStreamOptions
- type Process
- func (*Process) Descriptor() ([]byte, []int)
- func (m *Process) GetCommand() []string
- func (m *Process) GetCount() int32
- func (m *Process) GetCpu() string
- func (m *Process) GetCronExpr() string
- func (m *Process) GetMemory() string
- func (m *Process) GetProctype() string
- func (m *Process) GetStatus() string
- func (m *Process) Marshal() (dAtA []byte, err error)
- func (m *Process) MarshalTo(dAtA []byte) (int, error)
- func (*Process) ProtoMessage()
- func (m *Process) Reset()
- func (m *Process) Size() (n int)
- func (m *Process) String() string
- func (m *Process) Unmarshal(dAtA []byte) error
- type ProcessList
- type ProcessRunOptions
- type ProcfileMap
- type Release
- func (*Release) Descriptor() ([]byte, []int)
- func (m *Release) GetApp() string
- func (m *Release) GetBuildId() string
- func (m *Release) GetCreatedAt() int64
- func (m *Release) GetId() string
- func (m *Release) GetStatus() string
- func (m *Release) GetVersion() int64
- func (m *Release) Marshal() (dAtA []byte, err error)
- func (m *Release) MarshalTo(dAtA []byte) (int, error)
- func (*Release) ProtoMessage()
- func (m *Release) Reset()
- func (m *Release) Size() (n int)
- func (m *Release) String() string
- func (m *Release) Unmarshal(dAtA []byte) error
- type ReleaseOptions
- type Releases
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)
- func (m *Resource) GetApps() []string
- func (m *Resource) GetExports() map[string]string
- func (m *Resource) GetKind() string
- func (m *Resource) GetName() string
- func (m *Resource) GetOutputs() map[string]string
- func (m *Resource) GetParameters() map[string]string
- func (m *Resource) GetStack() string
- func (m *Resource) GetStatus() string
- func (m *Resource) GetStatusReason() string
- func (m *Resource) GetTags() map[string]string
- func (m *Resource) GetURL() string
- func (m *Resource) Marshal() (dAtA []byte, err error)
- func (m *Resource) MarshalTo(dAtA []byte) (int, error)
- func (*Resource) ProtoMessage()
- func (m *Resource) Reset()
- func (m *Resource) Size() (n int)
- func (m *Resource) String() string
- func (m *Resource) Unmarshal(dAtA []byte) error
- type ResourceLimits
- func (*ResourceLimits) Descriptor() ([]byte, []int)
- func (m *ResourceLimits) GetApp() string
- func (m *ResourceLimits) GetLimits() map[string]string
- func (m *ResourceLimits) GetProctype() string
- func (m *ResourceLimits) Marshal() (dAtA []byte, err error)
- func (m *ResourceLimits) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceLimits) ProtoMessage()
- func (m *ResourceLimits) Reset()
- func (m *ResourceLimits) Size() (n int)
- func (m *ResourceLimits) String() string
- func (m *ResourceLimits) Unmarshal(dAtA []byte) error
- type ResourceVar
- func (*ResourceVar) Descriptor() ([]byte, []int)
- func (m *ResourceVar) GetKey() string
- func (m *ResourceVar) GetValue() string
- func (m *ResourceVar) Marshal() (dAtA []byte, err error)
- func (m *ResourceVar) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceVar) ProtoMessage()
- func (m *ResourceVar) Reset()
- func (m *ResourceVar) Size() (n int)
- func (m *ResourceVar) String() string
- func (m *ResourceVar) Unmarshal(dAtA []byte) error
- type Resources
Constants ¶
View Source
const (
StatusCreated = "created"
)
Variables ¶
View Source
var (
ConfigPath, ApprcPath string
SvaFilename = "sva.json"
AwsCredentialFile = "credentials.csv"
AwsKeyPemPath = "key.pem"
SortableTime = "20060102.150405.000000000"
)
View Source
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" datastore:"name"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" datastore:"status"` ReleaseId string `protobuf:"bytes,3,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty" datastore:"release_id,noindex"` Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty" datastore:"endpoint,noindex"` BuildId string `protobuf:"bytes,5,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty" datastore:"build_id,noindex"` Domains []string `protobuf:"bytes,6,rep,name=domains" json:"domains,omitempty" datastore:"domains,noindex"` Resources []string `protobuf:"bytes,7,rep,name=resources" json:"resources,omitempty" datastore:"resources,noindex"` RepoUrl string `protobuf:"bytes,8,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty" datastore:"repo_url,noindex"` }
func (*App) Descriptor ¶
func (*App) GetBuildId ¶
func (*App) GetDomains ¶
func (*App) GetEndpoint ¶
func (*App) GetReleaseId ¶
func (*App) GetRepoUrl ¶
func (*App) GetResources ¶
func (*App) ProtoMessage ¶
func (*App) ProtoMessage()
type AppCreateOptions ¶
type AppDomains ¶
type AppDomains []string
type Build ¶
type Build struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" datastore:"id"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty" datastore:"app"` RemoteId string `protobuf:"bytes,3,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty" datastore:"remote_id,noindex"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" datastore:"status"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" datastore:"created_at"` Procfile []byte `protobuf:"bytes,6,opt,name=procfile,proto3" json:"procfile,omitempty" datastore:"procfile,noindex"` Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty" datastore:"version,noindex"` }
func (*Build) Descriptor ¶
func (*Build) GetCreatedAt ¶
func (*Build) GetProcfile ¶
func (*Build) GetRemoteId ¶
func (*Build) GetVersion ¶
func (*Build) ProtoMessage ¶
func (*Build) ProtoMessage()
type CreateBuildOptions ¶
type DockerCred ¶
type DockerCred struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` }
func (*DockerCred) Descriptor ¶
func (*DockerCred) Descriptor() ([]byte, []int)
func (*DockerCred) GetHost ¶
func (m *DockerCred) GetHost() string
func (*DockerCred) GetPassword ¶
func (m *DockerCred) GetPassword() string
func (*DockerCred) GetUsername ¶
func (m *DockerCred) GetUsername() string
func (*DockerCred) Marshal ¶
func (m *DockerCred) Marshal() (dAtA []byte, err error)
func (*DockerCred) ProtoMessage ¶
func (*DockerCred) ProtoMessage()
func (*DockerCred) Reset ¶
func (m *DockerCred) Reset()
func (*DockerCred) Size ¶
func (m *DockerCred) Size() (n int)
func (*DockerCred) String ¶
func (m *DockerCred) String() string
func (*DockerCred) Unmarshal ¶
func (m *DockerCred) Unmarshal(dAtA []byte) error
type EnvConfig ¶
func (*EnvConfig) Descriptor ¶
func (*EnvConfig) ProtoMessage ¶
func (*EnvConfig) ProtoMessage()
type Environment ¶
type Formation ¶
type Formation struct { App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` Structure map[string]int32 `` /* 153-byte string literal not displayed */ }
func (*Formation) Descriptor ¶
func (*Formation) GetStructure ¶
func (*Formation) ProtoMessage ¶
func (*Formation) ProtoMessage()
type LogStreamOptions ¶
type Process ¶
type Process struct { Proctype string `protobuf:"bytes,1,opt,name=proctype,proto3" json:"proctype,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Cpu string `protobuf:"bytes,4,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory string `protobuf:"bytes,5,opt,name=memory,proto3" json:"memory,omitempty"` Command []string `protobuf:"bytes,6,rep,name=command" json:"command,omitempty"` CronExpr string `protobuf:"bytes,7,opt,name=cron_expr,json=cronExpr,proto3" json:"cron_expr,omitempty"` }
func (*Process) Descriptor ¶
func (*Process) GetCommand ¶
func (*Process) GetCronExpr ¶
func (*Process) GetProctype ¶
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
type ProcessList ¶
type ProcessList []*Process
type ProcessRunOptions ¶
type ProcfileMap ¶
type Release ¶
type Release struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" datastore:"id"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty" datastore:"app"` BuildId string `protobuf:"bytes,3,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty" datastore:"build_id,noindex"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" datastore:"status,noindex"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" datastore:"created_at,noindex"` Version int64 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty" datastore:"version,noindex"` }
func (*Release) Descriptor ¶
func (*Release) GetBuildId ¶
func (*Release) GetCreatedAt ¶
func (*Release) GetVersion ¶
func (*Release) ProtoMessage ¶
func (*Release) ProtoMessage()
type ReleaseOptions ¶
type Resource ¶
type Resource struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" datastore:"name"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty" datastore:"kind"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" datastore:"status,noindex"` StatusReason string `` /* 131-byte string literal not displayed */ URL string `protobuf:"bytes,5,opt,name=URL,proto3" json:"URL,omitempty" datastore:"URL,noindex"` Stack string `protobuf:"bytes,6,opt,name=stack,proto3" json:"stack,omitempty" datastore:"-"` Apps []string `protobuf:"bytes,7,rep,name=apps" json:"apps,omitempty" datastore:"apps,noindex"` Exports map[string]string `` /* 176-byte string literal not displayed */ Parameters map[string]string `` /* 185-byte string literal not displayed */ Outputs map[string]string `` /* 163-byte string literal not displayed */ Tags map[string]string `` /* 157-byte string literal not displayed */ }
func (*Resource) Descriptor ¶
func (*Resource) GetExports ¶
func (*Resource) GetOutputs ¶
func (*Resource) GetParameters ¶
func (*Resource) GetStatusReason ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
type ResourceLimits ¶
type ResourceLimits struct { App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` Proctype string `protobuf:"bytes,2,opt,name=proctype,proto3" json:"proctype,omitempty"` Limits map[string]string `` /* 146-byte string literal not displayed */ }
func (*ResourceLimits) Descriptor ¶
func (*ResourceLimits) Descriptor() ([]byte, []int)
func (*ResourceLimits) GetApp ¶
func (m *ResourceLimits) GetApp() string
func (*ResourceLimits) GetLimits ¶
func (m *ResourceLimits) GetLimits() map[string]string
func (*ResourceLimits) GetProctype ¶
func (m *ResourceLimits) GetProctype() string
func (*ResourceLimits) Marshal ¶
func (m *ResourceLimits) Marshal() (dAtA []byte, err error)
func (*ResourceLimits) ProtoMessage ¶
func (*ResourceLimits) ProtoMessage()
func (*ResourceLimits) Reset ¶
func (m *ResourceLimits) Reset()
func (*ResourceLimits) Size ¶
func (m *ResourceLimits) Size() (n int)
func (*ResourceLimits) String ¶
func (m *ResourceLimits) String() string
func (*ResourceLimits) Unmarshal ¶
func (m *ResourceLimits) Unmarshal(dAtA []byte) error
type ResourceVar ¶
type ResourceVar struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*ResourceVar) Descriptor ¶
func (*ResourceVar) Descriptor() ([]byte, []int)
func (*ResourceVar) GetKey ¶
func (m *ResourceVar) GetKey() string
func (*ResourceVar) GetValue ¶
func (m *ResourceVar) GetValue() string
func (*ResourceVar) Marshal ¶
func (m *ResourceVar) Marshal() (dAtA []byte, err error)
func (*ResourceVar) ProtoMessage ¶
func (*ResourceVar) ProtoMessage()
func (*ResourceVar) Reset ¶
func (m *ResourceVar) Reset()
func (*ResourceVar) Size ¶
func (m *ResourceVar) Size() (n int)
func (*ResourceVar) String ¶
func (m *ResourceVar) String() string
func (*ResourceVar) Unmarshal ¶
func (m *ResourceVar) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.