Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
func NewNetHttpAdapter ¶
func NewNetHttpAdapter(config *utils.ConfigEnv) HttpClient
type IRunBuilder ¶
func GetBuilder ¶
func GetBuilder(builderType string) (IRunBuilder, error)
func NewVariableRunBuilder ¶
func NewVariableRunBuilder(config *utils.ConfigEnv, variableType string) IRunBuilder
type IVariable ¶
type IVariable interface {
Create(ctx context.Context) error
Read(ctx context.Context) (*model.WorkspaceVariables, error)
Update(ctx context.Context) error
Delete(ctx context.Context) error
}
func NewVariableRun ¶
func NewVariableRun(client HttpClient, config *utils.ConfigEnv, workspaces IWorkspaces) IVariable
type IWorkspaces ¶
type IWorkspaces interface {
ShowWorkspace(ctx context.Context) (*model.Workspaces, error)
ReturnWorkspaceID(ctx context.Context) (string, error)
}
func NewWorkspaceRun ¶
func NewWorkspaceRun(client HttpClient, ISetting ISetting) IWorkspaces
type NetHttpAdapter ¶
type NetHttpAdapter struct {
// contains filtered or unexported fields
}
func (*NetHttpAdapter) NewRequest ¶
type VariableRun ¶
type VariableRun struct {
Config *utils.ConfigEnv
HttpClient HttpClient
IWorkspaces IWorkspaces
}
func (VariableRun) Read ¶
func (v VariableRun) Read(ctx context.Context) (*model.WorkspaceVariables, error)
type VariableRunBuilder ¶
type VariableRunBuilder struct {
// contains filtered or unexported fields
}
func (VariableRunBuilder) GetRunBuilder ¶
func (v VariableRunBuilder) GetRunBuilder(ctx context.Context)
type WorkspaceRun ¶
type WorkspaceRun struct {
ISetting ISetting
HttpClient HttpClient
}
func (*WorkspaceRun) ReturnWorkspaceID ¶
func (w *WorkspaceRun) ReturnWorkspaceID(ctx context.Context) (string, error)
func (*WorkspaceRun) ShowWorkspace ¶
func (w *WorkspaceRun) ShowWorkspace(ctx context.Context) (*model.Workspaces, error)
Click to show internal directories.
Click to hide internal directories.