Documentation
¶
Index ¶
- Variables
- func RegisterCDAPIServer(s *grpc.Server, srv CDAPIServer)
- func RegisterCIAPIServer(s *grpc.Server, srv CIAPIServer)
- type ArtifactsArray
- func (*ArtifactsArray) Descriptor() ([]byte, []int)
- func (m *ArtifactsArray) GetArtifacts() []*BuildArtifact
- func (m *ArtifactsArray) GetTotal() int64
- func (*ArtifactsArray) ProtoMessage()
- func (m *ArtifactsArray) Reset()
- func (m *ArtifactsArray) String() string
- func (m *ArtifactsArray) XXX_DiscardUnknown()
- func (m *ArtifactsArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ArtifactsArray) XXX_Merge(src proto.Message)
- func (m *ArtifactsArray) XXX_Size() int
- func (m *ArtifactsArray) XXX_Unmarshal(b []byte) error
- type Build
- func (*Build) Descriptor() ([]byte, []int)
- func (m *Build) GetBranch() string
- func (m *Build) GetDate() *timestamp.Timestamp
- func (m *Build) GetGithubRepoID() int64
- func (m *Build) GetID() int64
- func (m *Build) GetIsSuccessfull() bool
- func (m *Build) GetStdout() string
- func (*Build) ProtoMessage()
- func (m *Build) Reset()
- func (m *Build) String() string
- func (m *Build) XXX_DiscardUnknown()
- func (m *Build) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Build) XXX_Merge(src proto.Message)
- func (m *Build) XXX_Size() int
- func (m *Build) XXX_Unmarshal(b []byte) error
- type BuildArtifact
- func (*BuildArtifact) Descriptor() ([]byte, []int)
- func (m *BuildArtifact) GetBuildID() int64
- func (m *BuildArtifact) GetID() int64
- func (m *BuildArtifact) GetName() string
- func (*BuildArtifact) ProtoMessage()
- func (m *BuildArtifact) Reset()
- func (m *BuildArtifact) String() string
- func (m *BuildArtifact) XXX_DiscardUnknown()
- func (m *BuildArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BuildArtifact) XXX_Merge(src proto.Message)
- func (m *BuildArtifact) XXX_Size() int
- func (m *BuildArtifact) XXX_Unmarshal(b []byte) error
- type BuildsArray
- func (*BuildsArray) Descriptor() ([]byte, []int)
- func (m *BuildsArray) GetBuilds() []*Build
- func (m *BuildsArray) GetTotal() int64
- func (*BuildsArray) ProtoMessage()
- func (m *BuildsArray) Reset()
- func (m *BuildsArray) String() string
- func (m *BuildsArray) XXX_DiscardUnknown()
- func (m *BuildsArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BuildsArray) XXX_Merge(src proto.Message)
- func (m *BuildsArray) XXX_Size() int
- func (m *BuildsArray) XXX_Unmarshal(b []byte) error
- type BuildsQuery
- func (*BuildsQuery) Descriptor() ([]byte, []int)
- func (m *BuildsQuery) GetBranch() string
- func (m *BuildsQuery) GetLimit() int64
- func (m *BuildsQuery) GetPage() int64
- func (m *BuildsQuery) GetRepoID() int64
- func (*BuildsQuery) ProtoMessage()
- func (m *BuildsQuery) Reset()
- func (m *BuildsQuery) String() string
- func (m *BuildsQuery) XXX_DiscardUnknown()
- func (m *BuildsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BuildsQuery) XXX_Merge(src proto.Message)
- func (m *BuildsQuery) XXX_Size() int
- func (m *BuildsQuery) XXX_Unmarshal(b []byte) error
- type CDAPIClient
- type CDAPIServer
- type CDJob
- func (*CDJob) Descriptor() ([]byte, []int)
- func (m *CDJob) GetArtifactID() int64
- func (m *CDJob) GetBranch() string
- func (m *CDJob) GetRepoID() int64
- func (*CDJob) ProtoMessage()
- func (m *CDJob) Reset()
- func (m *CDJob) String() string
- func (m *CDJob) XXX_DiscardUnknown()
- func (m *CDJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CDJob) XXX_Merge(src proto.Message)
- func (m *CDJob) XXX_Size() int
- func (m *CDJob) XXX_Unmarshal(b []byte) error
- type CIAPIClient
- type CIAPIServer
- type CIJob
- func (*CIJob) Descriptor() ([]byte, []int)
- func (m *CIJob) GetAccessToken() string
- func (m *CIJob) GetBranch() string
- func (m *CIJob) GetHeadSHA() string
- func (m *CIJob) GetRepoID() int64
- func (m *CIJob) GetRepoURL() string
- func (m *CIJob) GetUser() string
- func (*CIJob) ProtoMessage()
- func (m *CIJob) Reset()
- func (m *CIJob) String() string
- func (m *CIJob) XXX_DiscardUnknown()
- func (m *CIJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CIJob) XXX_Merge(src proto.Message)
- func (m *CIJob) XXX_Size() int
- func (m *CIJob) XXX_Unmarshal(b []byte) error
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)
- func (m *Deployment) GetArtifactID() int64
- func (m *Deployment) GetBranch() string
- func (m *Deployment) GetID() int64
- func (m *Deployment) GetIsInitialized() bool
- func (m *Deployment) GetK8SName() string
- func (m *Deployment) GetManifest() string
- func (m *Deployment) GetReplicas() int64
- func (m *Deployment) GetRepoID() int64
- func (*Deployment) ProtoMessage()
- func (m *Deployment) Reset()
- func (m *Deployment) String() string
- func (m *Deployment) XXX_DiscardUnknown()
- func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Deployment) XXX_Merge(src proto.Message)
- func (m *Deployment) XXX_Size() int
- func (m *Deployment) XXX_Unmarshal(b []byte) error
- type DeploymentsArray
- func (*DeploymentsArray) Descriptor() ([]byte, []int)
- func (m *DeploymentsArray) GetDeployments() []*Deployment
- func (m *DeploymentsArray) GetTotal() int64
- func (*DeploymentsArray) ProtoMessage()
- func (m *DeploymentsArray) Reset()
- func (m *DeploymentsArray) String() string
- func (m *DeploymentsArray) XXX_DiscardUnknown()
- func (m *DeploymentsArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeploymentsArray) XXX_Merge(src proto.Message)
- func (m *DeploymentsArray) XXX_Size() int
- func (m *DeploymentsArray) XXX_Unmarshal(b []byte) error
- type DeploymentsQuery
- func (*DeploymentsQuery) Descriptor() ([]byte, []int)
- func (m *DeploymentsQuery) GetLimit() int64
- func (m *DeploymentsQuery) GetPage() int64
- func (*DeploymentsQuery) ProtoMessage()
- func (m *DeploymentsQuery) Reset()
- func (m *DeploymentsQuery) String() string
- func (m *DeploymentsQuery) XXX_DiscardUnknown()
- func (m *DeploymentsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeploymentsQuery) XXX_Merge(src proto.Message)
- func (m *DeploymentsQuery) XXX_Size() int
- func (m *DeploymentsQuery) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetErr() string
- func (m *Error) Marshal() (dAtA []byte, err error)
- func (m *Error) MarshalTo(dAtA []byte) (int, error)
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) Size() (n int)
- func (m *Error) String() string
- func (m *Error) Unmarshal(dAtA []byte) error
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type Revision
- func (*Revision) Descriptor() ([]byte, []int)
- func (m *Revision) GetArtifactID() int64
- func (m *Revision) GetDate() *timestamp.Timestamp
- func (m *Revision) GetDeploymentID() int64
- func (m *Revision) GetID() int64
- func (m *Revision) GetReplicas() int64
- func (m *Revision) GetStdout() string
- func (*Revision) ProtoMessage()
- func (m *Revision) Reset()
- func (m *Revision) String() string
- func (m *Revision) XXX_DiscardUnknown()
- func (m *Revision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Revision) XXX_Merge(src proto.Message)
- func (m *Revision) XXX_Size() int
- func (m *Revision) XXX_Unmarshal(b []byte) error
- type RevisionsArray
- func (*RevisionsArray) Descriptor() ([]byte, []int)
- func (m *RevisionsArray) GetRevisions() []*Revision
- func (m *RevisionsArray) GetTotal() int64
- func (*RevisionsArray) ProtoMessage()
- func (m *RevisionsArray) Reset()
- func (m *RevisionsArray) String() string
- func (m *RevisionsArray) XXX_DiscardUnknown()
- func (m *RevisionsArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RevisionsArray) XXX_Merge(src proto.Message)
- func (m *RevisionsArray) XXX_Size() int
- func (m *RevisionsArray) XXX_Unmarshal(b []byte) error
- type RevisionsQuery
- func (*RevisionsQuery) Descriptor() ([]byte, []int)
- func (m *RevisionsQuery) GetDeploymentID() int64
- func (m *RevisionsQuery) GetLimit() int64
- func (m *RevisionsQuery) GetPage() int64
- func (*RevisionsQuery) ProtoMessage()
- func (m *RevisionsQuery) Reset()
- func (m *RevisionsQuery) String() string
- func (m *RevisionsQuery) XXX_DiscardUnknown()
- func (m *RevisionsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RevisionsQuery) XXX_Merge(src proto.Message)
- func (m *RevisionsQuery) XXX_Size() int
- func (m *RevisionsQuery) XXX_Unmarshal(b []byte) error
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) GetGithubRepoID ¶
func (*Build) GetIsSuccessfull ¶
func (*Build) ProtoMessage ¶
func (*Build) ProtoMessage()
func (*Build) XXX_DiscardUnknown ¶
func (m *Build) XXX_DiscardUnknown()
func (*Build) XXX_Marshal ¶
func (*Build) XXX_Unmarshal ¶
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) GetArtifactID ¶
func (*CDJob) ProtoMessage ¶
func (*CDJob) ProtoMessage()
func (*CDJob) XXX_DiscardUnknown ¶
func (m *CDJob) XXX_DiscardUnknown()
func (*CDJob) XXX_Marshal ¶
func (*CDJob) XXX_Unmarshal ¶
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) GetAccessToken ¶
func (*CIJob) GetHeadSHA ¶
func (*CIJob) GetRepoURL ¶
func (*CIJob) ProtoMessage ¶
func (*CIJob) ProtoMessage()
func (*CIJob) XXX_DiscardUnknown ¶
func (m *CIJob) XXX_DiscardUnknown()
func (*CIJob) XXX_Marshal ¶
func (*CIJob) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
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) GetArtifactID ¶
func (*Revision) GetDeploymentID ¶
func (*Revision) GetReplicas ¶
func (*Revision) ProtoMessage ¶
func (*Revision) ProtoMessage()
func (*Revision) XXX_DiscardUnknown ¶
func (m *Revision) XXX_DiscardUnknown()
func (*Revision) XXX_Marshal ¶
func (*Revision) XXX_Unmarshal ¶
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
Click to show internal directories.
Click to hide internal directories.