types

package
v0.0.0-...-71eab63 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: MIT Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthError = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowError   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterCDAPIServer

func RegisterCDAPIServer(s *grpc.Server, srv CDAPIServer)

func RegisterCIAPIServer

func RegisterCIAPIServer(s *grpc.Server, srv CIAPIServer)

Types

type ArtifactsArray

type ArtifactsArray struct {
	Total                int64            `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"`
	Artifacts            []*BuildArtifact `protobuf:"bytes,2,rep,name=Artifacts,proto3" json:"Artifacts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ArtifactsArray) Descriptor

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

func (*ArtifactsArray) GetArtifacts

func (m *ArtifactsArray) GetArtifacts() []*BuildArtifact

func (*ArtifactsArray) GetTotal

func (m *ArtifactsArray) GetTotal() int64

func (*ArtifactsArray) ProtoMessage

func (*ArtifactsArray) ProtoMessage()

func (*ArtifactsArray) Reset

func (m *ArtifactsArray) Reset()

func (*ArtifactsArray) String

func (m *ArtifactsArray) String() string

func (*ArtifactsArray) XXX_DiscardUnknown

func (m *ArtifactsArray) XXX_DiscardUnknown()

func (*ArtifactsArray) XXX_Marshal

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

func (*ArtifactsArray) XXX_Merge

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

func (*ArtifactsArray) XXX_Size

func (m *ArtifactsArray) XXX_Size() int

func (*ArtifactsArray) XXX_Unmarshal

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

type Build

type Build struct {
	ID                   int64                `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	GithubRepoID         int64                `protobuf:"varint,2,opt,name=GithubRepoID,proto3" json:"GithubRepoID,omitempty"`
	IsSuccessfull        bool                 `protobuf:"varint,3,opt,name=IsSuccessfull,proto3" json:"IsSuccessfull,omitempty"`
	Date                 *timestamp.Timestamp `protobuf:"bytes,4,opt,name=Date,proto3" json:"Date,omitempty"`
	Branch               string               `protobuf:"bytes,5,opt,name=Branch,proto3" json:"Branch,omitempty"`
	Stdout               string               `protobuf:"bytes,6,opt,name=Stdout,proto3" json:"Stdout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Build) Descriptor

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

func (*Build) GetBranch

func (m *Build) GetBranch() string

func (*Build) GetDate

func (m *Build) GetDate() *timestamp.Timestamp

func (*Build) GetGithubRepoID

func (m *Build) GetGithubRepoID() int64

func (*Build) GetID

func (m *Build) GetID() int64

func (*Build) GetIsSuccessfull

func (m *Build) GetIsSuccessfull() bool

func (*Build) GetStdout

func (m *Build) GetStdout() string

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) Reset

func (m *Build) Reset()

func (*Build) String

func (m *Build) String() string

func (*Build) XXX_DiscardUnknown

func (m *Build) XXX_DiscardUnknown()

func (*Build) XXX_Marshal

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

func (*Build) XXX_Merge

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

func (*Build) XXX_Size

func (m *Build) XXX_Size() int

func (*Build) XXX_Unmarshal

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

type BuildArtifact

type BuildArtifact struct {
	ID                   int64    `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	BuildID              int64    `protobuf:"varint,2,opt,name=BuildID,proto3" json:"BuildID,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BuildArtifact) Descriptor

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

func (*BuildArtifact) GetBuildID

func (m *BuildArtifact) GetBuildID() int64

func (*BuildArtifact) GetID

func (m *BuildArtifact) GetID() int64

func (*BuildArtifact) GetName

func (m *BuildArtifact) GetName() string

func (*BuildArtifact) ProtoMessage

func (*BuildArtifact) ProtoMessage()

func (*BuildArtifact) Reset

func (m *BuildArtifact) Reset()

func (*BuildArtifact) String

func (m *BuildArtifact) String() string

func (*BuildArtifact) XXX_DiscardUnknown

func (m *BuildArtifact) XXX_DiscardUnknown()

func (*BuildArtifact) XXX_Marshal

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

func (*BuildArtifact) XXX_Merge

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

func (*BuildArtifact) XXX_Size

func (m *BuildArtifact) XXX_Size() int

func (*BuildArtifact) XXX_Unmarshal

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

type BuildsArray

type BuildsArray struct {
	Total                int64    `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"`
	Builds               []*Build `protobuf:"bytes,2,rep,name=Builds,proto3" json:"Builds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BuildsArray) Descriptor

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

func (*BuildsArray) GetBuilds

func (m *BuildsArray) GetBuilds() []*Build

func (*BuildsArray) GetTotal

func (m *BuildsArray) GetTotal() int64

func (*BuildsArray) ProtoMessage

func (*BuildsArray) ProtoMessage()

func (*BuildsArray) Reset

func (m *BuildsArray) Reset()

func (*BuildsArray) String

func (m *BuildsArray) String() string

func (*BuildsArray) XXX_DiscardUnknown

func (m *BuildsArray) XXX_DiscardUnknown()

func (*BuildsArray) XXX_Marshal

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

func (*BuildsArray) XXX_Merge

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

func (*BuildsArray) XXX_Size

func (m *BuildsArray) XXX_Size() int

func (*BuildsArray) XXX_Unmarshal

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

type BuildsQuery

type BuildsQuery struct {
	RepoID               int64    `protobuf:"varint,1,opt,name=RepoID,proto3" json:"RepoID,omitempty"`
	Branch               string   `protobuf:"bytes,2,opt,name=Branch,proto3" json:"Branch,omitempty"`
	Page                 int64    `protobuf:"varint,3,opt,name=Page,proto3" json:"Page,omitempty"`
	Limit                int64    `protobuf:"varint,4,opt,name=Limit,proto3" json:"Limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BuildsQuery) Descriptor

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

func (*BuildsQuery) GetBranch

func (m *BuildsQuery) GetBranch() string

func (*BuildsQuery) GetLimit

func (m *BuildsQuery) GetLimit() int64

func (*BuildsQuery) GetPage

func (m *BuildsQuery) GetPage() int64

func (*BuildsQuery) GetRepoID

func (m *BuildsQuery) GetRepoID() int64

func (*BuildsQuery) ProtoMessage

func (*BuildsQuery) ProtoMessage()

func (*BuildsQuery) Reset

func (m *BuildsQuery) Reset()

func (*BuildsQuery) String

func (m *BuildsQuery) String() string

func (*BuildsQuery) XXX_DiscardUnknown

func (m *BuildsQuery) XXX_DiscardUnknown()

func (*BuildsQuery) XXX_Marshal

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

func (*BuildsQuery) XXX_Merge

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

func (*BuildsQuery) XXX_Size

func (m *BuildsQuery) XXX_Size() int

func (*BuildsQuery) XXX_Unmarshal

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

type CDAPIClient

type CDAPIClient interface {
	GetRevision(ctx context.Context, in *Revision, opts ...grpc.CallOption) (*Revision, error)
	GetRevisions(ctx context.Context, in *RevisionsQuery, opts ...grpc.CallOption) (*RevisionsArray, error)
	GetAllDeployments(ctx context.Context, in *DeploymentsQuery, opts ...grpc.CallOption) (*DeploymentsArray, error)
	GetDeployment(ctx context.Context, in *Deployment, opts ...grpc.CallOption) (*Deployment, error)
	CreateDeployment(ctx context.Context, in *Deployment, opts ...grpc.CallOption) (*Empty, error)
	ChangeImage(ctx context.Context, in *Deployment, opts ...grpc.CallOption) (*Empty, error)
	ScaleDeployment(ctx context.Context, in *Deployment, opts ...grpc.CallOption) (*Empty, error)
	UpdateManifest(ctx context.Context, in *Deployment, opts ...grpc.CallOption) (*Empty, error)
	DeleteDeployment(ctx context.Context, in *Deployment, opts ...grpc.CallOption) (*Empty, error)
}

CDAPIClient is the client API for CDAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCDAPIClient

func NewCDAPIClient(cc *grpc.ClientConn) CDAPIClient

type CDAPIServer

type CDAPIServer interface {
	GetRevision(context.Context, *Revision) (*Revision, error)
	GetRevisions(context.Context, *RevisionsQuery) (*RevisionsArray, error)
	GetAllDeployments(context.Context, *DeploymentsQuery) (*DeploymentsArray, error)
	GetDeployment(context.Context, *Deployment) (*Deployment, error)
	CreateDeployment(context.Context, *Deployment) (*Empty, error)
	ChangeImage(context.Context, *Deployment) (*Empty, error)
	ScaleDeployment(context.Context, *Deployment) (*Empty, error)
	UpdateManifest(context.Context, *Deployment) (*Empty, error)
	DeleteDeployment(context.Context, *Deployment) (*Empty, error)
}

CDAPIServer is the server API for CDAPI service.

type CDJob

type CDJob struct {
	RepoID               int64    `protobuf:"varint,1,opt,name=repoID,proto3" json:"repoID,omitempty"`
	Branch               string   `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	ArtifactID           int64    `protobuf:"varint,3,opt,name=artifactID,proto3" json:"artifactID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CDJob) Descriptor

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

func (*CDJob) GetArtifactID

func (m *CDJob) GetArtifactID() int64

func (*CDJob) GetBranch

func (m *CDJob) GetBranch() string

func (*CDJob) GetRepoID

func (m *CDJob) GetRepoID() int64

func (*CDJob) ProtoMessage

func (*CDJob) ProtoMessage()

func (*CDJob) Reset

func (m *CDJob) Reset()

func (*CDJob) String

func (m *CDJob) String() string

func (*CDJob) XXX_DiscardUnknown

func (m *CDJob) XXX_DiscardUnknown()

func (*CDJob) XXX_Marshal

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

func (*CDJob) XXX_Merge

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

func (*CDJob) XXX_Size

func (m *CDJob) XXX_Size() int

func (*CDJob) XXX_Unmarshal

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

type CIAPIClient

type CIAPIClient interface {
	GetBuild(ctx context.Context, in *Build, opts ...grpc.CallOption) (*Build, error)
	GetBuildArtifact(ctx context.Context, in *BuildArtifact, opts ...grpc.CallOption) (*BuildArtifact, error)
	GetBuildArtifactByID(ctx context.Context, in *BuildArtifact, opts ...grpc.CallOption) (*BuildArtifact, error)
	GetAllBuilds(ctx context.Context, in *BuildsQuery, opts ...grpc.CallOption) (*BuildsArray, error)
	GetAllArtifacts(ctx context.Context, in *BuildsQuery, opts ...grpc.CallOption) (*ArtifactsArray, error)
}

CIAPIClient is the client API for CIAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCIAPIClient

func NewCIAPIClient(cc *grpc.ClientConn) CIAPIClient

type CIAPIServer

type CIAPIServer interface {
	GetBuild(context.Context, *Build) (*Build, error)
	GetBuildArtifact(context.Context, *BuildArtifact) (*BuildArtifact, error)
	GetBuildArtifactByID(context.Context, *BuildArtifact) (*BuildArtifact, error)
	GetAllBuilds(context.Context, *BuildsQuery) (*BuildsArray, error)
	GetAllArtifacts(context.Context, *BuildsQuery) (*ArtifactsArray, error)
}

CIAPIServer is the server API for CIAPI service.

type CIJob

type CIJob struct {
	RepoURL              string   `protobuf:"bytes,1,opt,name=repoURL,proto3" json:"repoURL,omitempty"`
	Branch               string   `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	HeadSHA              string   `protobuf:"bytes,3,opt,name=headSHA,proto3" json:"headSHA,omitempty"`
	User                 string   `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	AccessToken          string   `protobuf:"bytes,5,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	RepoID               int64    `protobuf:"varint,6,opt,name=repoID,proto3" json:"repoID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CIJob) Descriptor

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

func (*CIJob) GetAccessToken

func (m *CIJob) GetAccessToken() string

func (*CIJob) GetBranch

func (m *CIJob) GetBranch() string

func (*CIJob) GetHeadSHA

func (m *CIJob) GetHeadSHA() string

func (*CIJob) GetRepoID

func (m *CIJob) GetRepoID() int64

func (*CIJob) GetRepoURL

func (m *CIJob) GetRepoURL() string

func (*CIJob) GetUser

func (m *CIJob) GetUser() string

func (*CIJob) ProtoMessage

func (*CIJob) ProtoMessage()

func (*CIJob) Reset

func (m *CIJob) Reset()

func (*CIJob) String

func (m *CIJob) String() string

func (*CIJob) XXX_DiscardUnknown

func (m *CIJob) XXX_DiscardUnknown()

func (*CIJob) XXX_Marshal

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

func (*CIJob) XXX_Merge

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

func (*CIJob) XXX_Size

func (m *CIJob) XXX_Size() int

func (*CIJob) XXX_Unmarshal

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

type Deployment

type Deployment struct {
	ID                   int64    `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Branch               string   `protobuf:"bytes,2,opt,name=Branch,proto3" json:"Branch,omitempty"`
	RepoID               int64    `protobuf:"varint,3,opt,name=RepoID,proto3" json:"RepoID,omitempty"`
	ArtifactID           int64    `protobuf:"varint,4,opt,name=ArtifactID,proto3" json:"ArtifactID,omitempty"`
	K8SName              string   `protobuf:"bytes,5,opt,name=K8SName,proto3" json:"K8SName,omitempty"`
	Manifest             string   `protobuf:"bytes,6,opt,name=Manifest,proto3" json:"Manifest,omitempty"`
	Replicas             int64    `protobuf:"varint,7,opt,name=Replicas,proto3" json:"Replicas,omitempty"`
	IsInitialized        bool     `protobuf:"varint,8,opt,name=IsInitialized,proto3" json:"IsInitialized,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Deployment) Descriptor

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

func (*Deployment) GetArtifactID

func (m *Deployment) GetArtifactID() int64

func (*Deployment) GetBranch

func (m *Deployment) GetBranch() string

func (*Deployment) GetID

func (m *Deployment) GetID() int64

func (*Deployment) GetIsInitialized

func (m *Deployment) GetIsInitialized() bool

func (*Deployment) GetK8SName

func (m *Deployment) GetK8SName() string

func (*Deployment) GetManifest

func (m *Deployment) GetManifest() string

func (*Deployment) GetReplicas

func (m *Deployment) GetReplicas() int64

func (*Deployment) GetRepoID

func (m *Deployment) GetRepoID() int64

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 DeploymentsArray

type DeploymentsArray struct {
	Total                int64         `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"`
	Deployments          []*Deployment `protobuf:"bytes,2,rep,name=deployments,proto3" json:"deployments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*DeploymentsArray) Descriptor

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

func (*DeploymentsArray) GetDeployments

func (m *DeploymentsArray) GetDeployments() []*Deployment

func (*DeploymentsArray) GetTotal

func (m *DeploymentsArray) GetTotal() int64

func (*DeploymentsArray) ProtoMessage

func (*DeploymentsArray) ProtoMessage()

func (*DeploymentsArray) Reset

func (m *DeploymentsArray) Reset()

func (*DeploymentsArray) String

func (m *DeploymentsArray) String() string

func (*DeploymentsArray) XXX_DiscardUnknown

func (m *DeploymentsArray) XXX_DiscardUnknown()

func (*DeploymentsArray) XXX_Marshal

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

func (*DeploymentsArray) XXX_Merge

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

func (*DeploymentsArray) XXX_Size

func (m *DeploymentsArray) XXX_Size() int

func (*DeploymentsArray) XXX_Unmarshal

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

type DeploymentsQuery

type DeploymentsQuery struct {
	Page                 int64    `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"`
	Limit                int64    `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeploymentsQuery) Descriptor

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

func (*DeploymentsQuery) GetLimit

func (m *DeploymentsQuery) GetLimit() int64

func (*DeploymentsQuery) GetPage

func (m *DeploymentsQuery) GetPage() int64

func (*DeploymentsQuery) ProtoMessage

func (*DeploymentsQuery) ProtoMessage()

func (*DeploymentsQuery) Reset

func (m *DeploymentsQuery) Reset()

func (*DeploymentsQuery) String

func (m *DeploymentsQuery) String() string

func (*DeploymentsQuery) XXX_DiscardUnknown

func (m *DeploymentsQuery) XXX_DiscardUnknown()

func (*DeploymentsQuery) XXX_Marshal

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

func (*DeploymentsQuery) XXX_Merge

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

func (*DeploymentsQuery) XXX_Size

func (m *DeploymentsQuery) XXX_Size() int

func (*DeploymentsQuery) XXX_Unmarshal

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

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

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

func (*Empty) XXX_Merge

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

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

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

type Error

type Error struct {
	Err                  string   `protobuf:"bytes,1,opt,name=Err,proto3" json:"Err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Error) Descriptor

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

func (*Error) GetErr

func (m *Error) GetErr() string

func (*Error) Marshal

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

func (*Error) MarshalTo

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

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) Size

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

func (*Error) String

func (m *Error) String() string

func (*Error) Unmarshal

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

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

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

func (*Error) XXX_Merge

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

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

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

type Revision

type Revision struct {
	ID                   int64                `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	DeploymentID         int64                `protobuf:"varint,2,opt,name=DeploymentID,proto3" json:"DeploymentID,omitempty"`
	ArtifactID           int64                `protobuf:"varint,3,opt,name=ArtifactID,proto3" json:"ArtifactID,omitempty"`
	Date                 *timestamp.Timestamp `protobuf:"bytes,4,opt,name=Date,proto3" json:"Date,omitempty"`
	Stdout               string               `protobuf:"bytes,5,opt,name=Stdout,proto3" json:"Stdout,omitempty"`
	Replicas             int64                `protobuf:"varint,6,opt,name=Replicas,proto3" json:"Replicas,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Revision) Descriptor

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

func (*Revision) GetArtifactID

func (m *Revision) GetArtifactID() int64

func (*Revision) GetDate

func (m *Revision) GetDate() *timestamp.Timestamp

func (*Revision) GetDeploymentID

func (m *Revision) GetDeploymentID() int64

func (*Revision) GetID

func (m *Revision) GetID() int64

func (*Revision) GetReplicas

func (m *Revision) GetReplicas() int64

func (*Revision) GetStdout

func (m *Revision) GetStdout() string

func (*Revision) ProtoMessage

func (*Revision) ProtoMessage()

func (*Revision) Reset

func (m *Revision) Reset()

func (*Revision) String

func (m *Revision) String() string

func (*Revision) XXX_DiscardUnknown

func (m *Revision) XXX_DiscardUnknown()

func (*Revision) XXX_Marshal

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

func (*Revision) XXX_Merge

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

func (*Revision) XXX_Size

func (m *Revision) XXX_Size() int

func (*Revision) XXX_Unmarshal

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

type RevisionsArray

type RevisionsArray struct {
	Total                int64       `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"`
	Revisions            []*Revision `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*RevisionsArray) Descriptor

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

func (*RevisionsArray) GetRevisions

func (m *RevisionsArray) GetRevisions() []*Revision

func (*RevisionsArray) GetTotal

func (m *RevisionsArray) GetTotal() int64

func (*RevisionsArray) ProtoMessage

func (*RevisionsArray) ProtoMessage()

func (*RevisionsArray) Reset

func (m *RevisionsArray) Reset()

func (*RevisionsArray) String

func (m *RevisionsArray) String() string

func (*RevisionsArray) XXX_DiscardUnknown

func (m *RevisionsArray) XXX_DiscardUnknown()

func (*RevisionsArray) XXX_Marshal

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

func (*RevisionsArray) XXX_Merge

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

func (*RevisionsArray) XXX_Size

func (m *RevisionsArray) XXX_Size() int

func (*RevisionsArray) XXX_Unmarshal

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

type RevisionsQuery

type RevisionsQuery struct {
	DeploymentID         int64    `protobuf:"varint,1,opt,name=DeploymentID,proto3" json:"DeploymentID,omitempty"`
	Page                 int64    `protobuf:"varint,2,opt,name=Page,proto3" json:"Page,omitempty"`
	Limit                int64    `protobuf:"varint,3,opt,name=Limit,proto3" json:"Limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RevisionsQuery) Descriptor

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

func (*RevisionsQuery) GetDeploymentID

func (m *RevisionsQuery) GetDeploymentID() int64

func (*RevisionsQuery) GetLimit

func (m *RevisionsQuery) GetLimit() int64

func (*RevisionsQuery) GetPage

func (m *RevisionsQuery) GetPage() int64

func (*RevisionsQuery) ProtoMessage

func (*RevisionsQuery) ProtoMessage()

func (*RevisionsQuery) Reset

func (m *RevisionsQuery) Reset()

func (*RevisionsQuery) String

func (m *RevisionsQuery) String() string

func (*RevisionsQuery) XXX_DiscardUnknown

func (m *RevisionsQuery) XXX_DiscardUnknown()

func (*RevisionsQuery) XXX_Marshal

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

func (*RevisionsQuery) XXX_Merge

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

func (*RevisionsQuery) XXX_Size

func (m *RevisionsQuery) XXX_Size() int

func (*RevisionsQuery) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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