Documentation
¶
Index ¶
- type BranchService
- func (s *BranchService) Branch(branchId []byte) (*code_push.Branch, error)
- func (s *BranchService) CreateBranch(branch *code_push.Branch) error
- func (s *BranchService) DeleteBranch(branchId []byte) error
- func (s *BranchService) IsBranchAvailable(branchId []byte) bool
- func (s *BranchService) IsBranchNameExisted(branchName []byte) (bool, error)
- type Client
- type EnvService
- func (s *EnvService) CreateEnv(env *code_push.Env) error
- func (s *EnvService) DeleteEnv(envId []byte) error
- func (s *EnvService) Env(envId []byte) (*code_push.Env, error)
- func (s *EnvService) IsEnvAvailable(envId []byte) bool
- func (s *EnvService) IsEnvNameExisted(branchId, envName []byte) (bool, error)
- type VersionService
- func (s *VersionService) CreateVersion(version *code_push.Version) error
- func (s *VersionService) IsVersionAvailable(envId, appVersion []byte) (bool, error)
- func (s *VersionService) Version(envId, appVersion []byte) (*code_push.Version, error)
- func (s *VersionService) VersionsWithEnvId(envId []byte) (code_push.VersionList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchService ¶
type BranchService struct {
// contains filtered or unexported fields
}
func (*BranchService) Branch ¶
func (s *BranchService) Branch(branchId []byte) (*code_push.Branch, error)
func (*BranchService) CreateBranch ¶
func (s *BranchService) CreateBranch(branch *code_push.Branch) error
func (*BranchService) DeleteBranch ¶
func (s *BranchService) DeleteBranch(branchId []byte) error
func (*BranchService) IsBranchAvailable ¶
func (s *BranchService) IsBranchAvailable(branchId []byte) bool
func (*BranchService) IsBranchNameExisted ¶
func (s *BranchService) IsBranchNameExisted(branchName []byte) (bool, error)
type Client ¶
func (*Client) BranchService ¶
func (c *Client) BranchService() *BranchService
func (*Client) DomainService ¶
func (*Client) EnvService ¶
func (c *Client) EnvService() *EnvService
func (*Client) VersionService ¶
func (c *Client) VersionService() *VersionService
type EnvService ¶
type EnvService struct {
// contains filtered or unexported fields
}
func (*EnvService) CreateEnv ¶
func (s *EnvService) CreateEnv(env *code_push.Env) error
func (*EnvService) DeleteEnv ¶
func (s *EnvService) DeleteEnv(envId []byte) error
func (*EnvService) Env ¶
func (s *EnvService) Env(envId []byte) (*code_push.Env, error)
func (*EnvService) IsEnvAvailable ¶
func (s *EnvService) IsEnvAvailable(envId []byte) bool
func (*EnvService) IsEnvNameExisted ¶
func (s *EnvService) IsEnvNameExisted(branchId, envName []byte) (bool, error)
type VersionService ¶
type VersionService struct {
// contains filtered or unexported fields
}
func (*VersionService) CreateVersion ¶
func (s *VersionService) CreateVersion(version *code_push.Version) error
func (*VersionService) IsVersionAvailable ¶
func (s *VersionService) IsVersionAvailable(envId, appVersion []byte) (bool, error)
func (*VersionService) Version ¶
func (s *VersionService) Version(envId, appVersion []byte) (*code_push.Version, error)
func (*VersionService) VersionsWithEnvId ¶
func (s *VersionService) VersionsWithEnvId(envId []byte) (code_push.VersionList, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.