Documentation
¶
Index ¶
- type APIGetter
- func (g *APIGetter) GetOrgActionSecrets(owner string) ([]byte, error)
- func (g *APIGetter) GetOrgCodespacesSecrets(owner string) ([]byte, error)
- func (g *APIGetter) GetOrgDependabotSecrets(owner string) ([]byte, error)
- func (g *APIGetter) GetRepo(owner string, name string) (*RepoQuery, error)
- func (g *APIGetter) GetRepoActionSecrets(owner string, repo string) ([]byte, error)
- func (g *APIGetter) GetRepoCodespacesSecrets(owner string, repo string) ([]byte, error)
- func (g *APIGetter) GetRepoDependabotSecrets(owner string, repo string) ([]byte, error)
- func (g *APIGetter) GetReposList(owner string, endCursor *string) (*ReposQuery, error)
- func (g *APIGetter) GetScopedOrgActionSecrets(owner string, secret string) ([]byte, error)
- func (g *APIGetter) GetScopedOrgCodespacesSecrets(owner string, secret string) ([]byte, error)
- func (g *APIGetter) GetScopedOrgDependabotSecrets(owner string, secret string) ([]byte, error)
- type Getter
- type RepoInfo
- type RepoQuery
- type ReposQuery
- type ScopedRepository
- type ScopedSecretsResponse
- type Secret
- type SecretExport
- type SecretsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIGetter ¶
type APIGetter struct {
// contains filtered or unexported fields
}
func NewAPIGetter ¶
func NewAPIGetter(gqlClient api.GQLClient, restClient api.RESTClient) *APIGetter
func (*APIGetter) GetOrgActionSecrets ¶
func (*APIGetter) GetOrgCodespacesSecrets ¶
func (*APIGetter) GetOrgDependabotSecrets ¶
func (*APIGetter) GetRepoActionSecrets ¶
func (*APIGetter) GetRepoCodespacesSecrets ¶
func (*APIGetter) GetRepoDependabotSecrets ¶
func (*APIGetter) GetReposList ¶
func (g *APIGetter) GetReposList(owner string, endCursor *string) (*ReposQuery, error)
func (*APIGetter) GetScopedOrgActionSecrets ¶
func (*APIGetter) GetScopedOrgCodespacesSecrets ¶
type Getter ¶
type Getter interface {
GetReposList(owner string, endCursor *string) ([]ReposQuery, error)
GetRepo(owner string, name string) ([]RepoQuery, error)
GetOrgActionSecrets(owner string) ([]byte, error)
GetRepoActionSecrets(owner string, repo string) ([]byte, error)
GetScopedOrgActionSecrets(owner string, secret string) ([]byte, error)
GetOrgDependabotSecrets(owner string) ([]byte, error)
GetRepoDependabotSecrets(owner string, repo string) ([]byte, error)
GetScopedOrgDependabotSecrets(owner string, secret string) ([]byte, error)
GetOrgCodespacesSecrets(owner string) ([]byte, error)
GetRepoCodespacesSecrets(owner string, repo string) ([]byte, error)
GetScopedOrgCodespacesSecrets(owner string, secret string) ([]byte, error)
}
type RepoQuery ¶
type RepoQuery struct {
Repository RepoInfo `graphql:"repository(owner: $owner, name: $name)"`
}
type ReposQuery ¶
type ScopedRepository ¶
type ScopedSecretsResponse ¶
type ScopedSecretsResponse struct {
TotalCount int `json:"total_count"`
Repositories []ScopedRepository `json:"repositories"`
}
type SecretExport ¶
type SecretsResponse ¶
Click to show internal directories.
Click to hide internal directories.