Documentation ¶
Index ¶
- func Bool(value bool) *bool
- func String(value string) *string
- type Client
- func (tc *Client) CreateEnvironmentVariable(repoId int, e *EnvironmentVariable) (*EnvironmentVariable, error)
- func (tc *Client) Delete(path string) ([]byte, error)
- func (tc *Client) DestroyEnvironmentVariable(repoId int, envVarId string) error
- func (tc *Client) Get(path string) ([]byte, error)
- func (tc *Client) GetRepository(owner, name string) (*Repository, error)
- func (tc *Client) GetRepositorySettings(repoId int) (settings *RepositorySettings, err error)
- func (tc *Client) ListEnvironmentVariables(repoId int) ([]EnvironmentVariable, error)
- func (tc *Client) Patch(path string, body interface{}) ([]byte, error)
- func (tc *Client) Post(path string, body interface{}) ([]byte, error)
- func (tc *Client) UpdateEnvironmentVariable(repoId int, envVarId string, e *EnvironmentVariable) (*EnvironmentVariable, error)
- func (tc *Client) UpdateRepositorySettings(repoId int, settings *RepositorySettings) (*RepositorySettings, error)
- type EnvironmentVariable
- type Repository
- type RepositorySettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewProClient ¶
func (*Client) CreateEnvironmentVariable ¶
func (tc *Client) CreateEnvironmentVariable(repoId int, e *EnvironmentVariable) (*EnvironmentVariable, error)
func (*Client) DestroyEnvironmentVariable ¶
func (*Client) GetRepository ¶
func (tc *Client) GetRepository(owner, name string) (*Repository, error)
func (*Client) GetRepositorySettings ¶
func (tc *Client) GetRepositorySettings(repoId int) (settings *RepositorySettings, err error)
func (*Client) ListEnvironmentVariables ¶
func (tc *Client) ListEnvironmentVariables(repoId int) ([]EnvironmentVariable, error)
func (*Client) UpdateEnvironmentVariable ¶
func (tc *Client) UpdateEnvironmentVariable(repoId int, envVarId string, e *EnvironmentVariable) (*EnvironmentVariable, error)
func (*Client) UpdateRepositorySettings ¶
func (tc *Client) UpdateRepositorySettings(repoId int, settings *RepositorySettings) (*RepositorySettings, error)
type EnvironmentVariable ¶
type Repository ¶
type RepositorySettings ¶
Click to show internal directories.
Click to hide internal directories.