models

package
v1.0.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

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

Index

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"`
}

func (*App) Descriptor

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

func (*App) GetEndpoint

func (m *App) GetEndpoint() string

func (*App) GetName

func (m *App) GetName() string

func (*App) GetReleaseId

func (m *App) GetReleaseId() string

func (*App) GetStatus

func (m *App) GetStatus() string

func (*App) Marshal

func (m *App) Marshal() (dAtA []byte, err error)

func (*App) MarshalTo

func (m *App) MarshalTo(dAtA []byte) (int, error)

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) Reset

func (m *App) Reset()

func (*App) Size

func (m *App) Size() (n int)

func (*App) String

func (m *App) String() string

func (*App) Unmarshal

func (m *App) Unmarshal(dAtA []byte) error

type AppCreateOptions

type AppCreateOptions struct {
	RepoUrl string
	Auth    map[string]string
}

type Apps

type Apps []*App

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,noindex"`
	CreatedAt int32  `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" datastore:"created_at,noindex"`
}

func (*Build) Descriptor

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

func (*Build) GetApp

func (m *Build) GetApp() string

func (*Build) GetCreatedAt

func (m *Build) GetCreatedAt() int32

func (*Build) GetId

func (m *Build) GetId() string

func (*Build) GetRemoteId

func (m *Build) GetRemoteId() string

func (*Build) GetStatus

func (m *Build) GetStatus() string

func (*Build) Marshal

func (m *Build) Marshal() (dAtA []byte, err error)

func (*Build) MarshalTo

func (m *Build) MarshalTo(dAtA []byte) (int, error)

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) Reset

func (m *Build) Reset()

func (*Build) Size

func (m *Build) Size() (n int)

func (*Build) String

func (m *Build) String() string

func (*Build) Unmarshal

func (m *Build) Unmarshal(dAtA []byte) error

type Builds

type Builds []*Build

type CreateBuildOptions

type CreateBuildOptions struct {
	Version     string
	Auther      string
	Description string
}

type EnvConfig

type EnvConfig struct {
	Data map[string]string `` /* 142-byte string literal not displayed */
}

func (*EnvConfig) Descriptor

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

func (*EnvConfig) GetData

func (m *EnvConfig) GetData() map[string]string

func (*EnvConfig) Marshal

func (m *EnvConfig) Marshal() (dAtA []byte, err error)

func (*EnvConfig) MarshalTo

func (m *EnvConfig) MarshalTo(dAtA []byte) (int, error)

func (*EnvConfig) ProtoMessage

func (*EnvConfig) ProtoMessage()

func (*EnvConfig) Reset

func (m *EnvConfig) Reset()

func (*EnvConfig) Size

func (m *EnvConfig) Size() (n int)

func (*EnvConfig) String

func (m *EnvConfig) String() string

func (*EnvConfig) Unmarshal

func (m *EnvConfig) Unmarshal(dAtA []byte) error

type Environment

type Environment map[string]string

type LogStreamOptions

type LogStreamOptions struct {
	Follow bool
	Since  time.Duration
}

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 int32  `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" datastore:"created_at,noindex"`
}

func (*Release) Descriptor

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

func (*Release) GetApp

func (m *Release) GetApp() string

func (*Release) GetBuildId

func (m *Release) GetBuildId() string

func (*Release) GetCreatedAt

func (m *Release) GetCreatedAt() int32

func (*Release) GetId

func (m *Release) GetId() string

func (*Release) GetStatus

func (m *Release) GetStatus() string

func (*Release) Marshal

func (m *Release) Marshal() (dAtA []byte, err error)

func (*Release) MarshalTo

func (m *Release) MarshalTo(dAtA []byte) (int, error)

func (*Release) ProtoMessage

func (*Release) ProtoMessage()

func (*Release) Reset

func (m *Release) Reset()

func (*Release) Size

func (m *Release) Size() (n int)

func (*Release) String

func (m *Release) String() string

func (*Release) Unmarshal

func (m *Release) Unmarshal(dAtA []byte) error

type ReleaseOptions

type ReleaseOptions struct {
	Port int
	Env  string
	Wait bool
}

type Releases

type Releases []*Release

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

func (*Resource) GetApps

func (m *Resource) GetApps() []string

func (*Resource) GetExports

func (m *Resource) GetExports() map[string]string

func (*Resource) GetKind

func (m *Resource) GetKind() string

func (*Resource) GetName

func (m *Resource) GetName() string

func (*Resource) GetOutputs

func (m *Resource) GetOutputs() map[string]string

func (*Resource) GetParameters

func (m *Resource) GetParameters() map[string]string

func (*Resource) GetStack

func (m *Resource) GetStack() string

func (*Resource) GetStatus

func (m *Resource) GetStatus() string

func (*Resource) GetStatusReason

func (m *Resource) GetStatusReason() string

func (*Resource) GetTags

func (m *Resource) GetTags() map[string]string

func (*Resource) GetURL

func (m *Resource) GetURL() string

func (*Resource) Marshal

func (m *Resource) Marshal() (dAtA []byte, err error)

func (*Resource) MarshalTo

func (m *Resource) MarshalTo(dAtA []byte) (int, error)

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) Size

func (m *Resource) Size() (n int)

func (*Resource) String

func (m *Resource) String() string

func (*Resource) Unmarshal

func (m *Resource) 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) MarshalTo

func (m *ResourceVar) MarshalTo(dAtA []byte) (int, 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

type Resources

type Resources []*Resource

Jump to

Keyboard shortcuts

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