Documentation
¶
Index ¶
- type BranchPolicies
- type BranchPolicy
- type CreateEnvSecret
- type CreateVariable
- type DeploymentPolicy
- type EnvPublicKey
- type EnvResponse
- type EnvSecret
- type EnvVariables
- type Environment
- type ImportedSecret
- type ImportedVariable
- type PublicKey
- type RepoInfo
- type RepoSingleQuery
- type ReposQuery
- type Reviewer
- type Reviewers
- type Rules
- type ScopedRepository
- type ScopedResponse
- type Secret
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchPolicies ¶
type BranchPolicies struct {
TotalCount int `json:"total_count"`
BranchPolicies []BranchPolicy `json:"branch_policies"`
}
type BranchPolicy ¶
type CreateEnvSecret ¶
type CreateVariable ¶
type DeploymentPolicy ¶
type EnvPublicKey ¶
type EnvResponse ¶
type EnvResponse struct {
TotalCount int `json:"total_count"`
Environments []Environment `json:"environments"`
}
type EnvVariables ¶
type Environment ¶
type Environment struct {
Name string `json:"name"`
AdminByPass bool `json:"can_admins_bypass"`
ProtectionRules []Rules `json:"protection_rules"`
DeploymentPolicy *DeploymentPolicy `json:"deployment_branch_policy"`
}
type ImportedSecret ¶
type ImportedVariable ¶
type RepoSingleQuery ¶
type RepoSingleQuery struct {
Repository RepoInfo `graphql:"repository(owner: $owner, name: $name)"`
}
type ReposQuery ¶
type ScopedRepository ¶
type ScopedResponse ¶
type ScopedResponse struct {
TotalCount int `json:"total_count"`
Repositories []ScopedRepository `json:"repositories"`
}
Click to show internal directories.
Click to hide internal directories.