Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func NewRepo ¶
func NewRepo(client *client.ClientWithResponses) *Repo
func (*Repo) GetEnvironment ¶
GetEnvironment retrieves an environment by ID. Note: We are not checking the workspace here because we currently only call this is from contexts where we've pulled the environment ID from a resource that was already checked. If this changes, we should fetch the project and check its workspace. For now, we will avoid the extra network call.
func (*Repo) ListEnvironments ¶
func (e *Repo) ListEnvironments(ctx context.Context, params *client.ListEnvironmentsParams) ([]*client.Environment, error)
Click to show internal directories.
Click to hide internal directories.