Documentation ¶
Index ¶
- Constants
- Variables
- type RemoteDevelopment
- func (r *RemoteDevelopment) Down() error
- func (r *RemoteDevelopment) SelectComponent() error
- func (r *RemoteDevelopment) SelectEnvironment() error
- func (r *RemoteDevelopment) SelectOrganization() error
- func (r *RemoteDevelopment) SelectProject() error
- func (r *RemoteDevelopment) StartSSHTerminal() error
- func (r *RemoteDevelopment) Up() error
- func (r *RemoteDevelopment) Wait() error
- func (r *RemoteDevelopment) WithComponent(component *bunnysdk.ComponentItem) *RemoteDevelopment
- func (r *RemoteDevelopment) WithEnvironment(environment *bunnysdk.EnvironmentItem) *RemoteDevelopment
- func (r *RemoteDevelopment) WithEnvironmentWorkspaceDir(environmentWorkspaceDir string) *RemoteDevelopment
- func (r *RemoteDevelopment) WithKubeConfigPath(kubeConfigPath string) *RemoteDevelopment
- func (r *RemoteDevelopment) WithLocalSyncPath(localSyncPath string) *RemoteDevelopment
- func (r *RemoteDevelopment) WithOrganization(organization *bunnysdk.OrganizationItem) *RemoteDevelopment
- func (r *RemoteDevelopment) WithProject(project *bunnysdk.ProjectItem) *RemoteDevelopment
Constants ¶
View Source
const (
KubeConfigFilename = "kube-config.yaml"
)
Variables ¶
View Source
var ( ErrNoEnvironments = fmt.Errorf("no environments available") ErrNoOrganizations = fmt.Errorf("no organizations available") ErrNoComponents = fmt.Errorf("no components available") ErrNoComponentsWithSyncPath = fmt.Errorf("no components with remote sync path set") ErrNoProjects = fmt.Errorf("no projects available") )
View Source
var (
ErrNoOrganizationSelected = fmt.Errorf("you need to select an organization first")
)
Functions ¶
This section is empty.
Types ¶
type RemoteDevelopment ¶
type RemoteDevelopment struct {
// contains filtered or unexported fields
}
func NewRemoteDevelopment ¶
func NewRemoteDevelopment() *RemoteDevelopment
func (*RemoteDevelopment) Down ¶ added in v0.7.0
func (r *RemoteDevelopment) Down() error
func (*RemoteDevelopment) SelectComponent ¶
func (r *RemoteDevelopment) SelectComponent() error
func (*RemoteDevelopment) SelectEnvironment ¶
func (r *RemoteDevelopment) SelectEnvironment() error
func (*RemoteDevelopment) SelectOrganization ¶
func (r *RemoteDevelopment) SelectOrganization() error
func (*RemoteDevelopment) SelectProject ¶
func (r *RemoteDevelopment) SelectProject() error
func (*RemoteDevelopment) StartSSHTerminal ¶
func (r *RemoteDevelopment) StartSSHTerminal() error
func (*RemoteDevelopment) Up ¶ added in v0.7.0
func (r *RemoteDevelopment) Up() error
func (*RemoteDevelopment) Wait ¶
func (r *RemoteDevelopment) Wait() error
func (*RemoteDevelopment) WithComponent ¶
func (r *RemoteDevelopment) WithComponent(component *bunnysdk.ComponentItem) *RemoteDevelopment
func (*RemoteDevelopment) WithEnvironment ¶ added in v0.7.0
func (r *RemoteDevelopment) WithEnvironment(environment *bunnysdk.EnvironmentItem) *RemoteDevelopment
func (*RemoteDevelopment) WithEnvironmentWorkspaceDir ¶ added in v0.7.0
func (r *RemoteDevelopment) WithEnvironmentWorkspaceDir(environmentWorkspaceDir string) *RemoteDevelopment
func (*RemoteDevelopment) WithKubeConfigPath ¶ added in v0.7.0
func (r *RemoteDevelopment) WithKubeConfigPath(kubeConfigPath string) *RemoteDevelopment
func (*RemoteDevelopment) WithLocalSyncPath ¶ added in v0.7.0
func (r *RemoteDevelopment) WithLocalSyncPath(localSyncPath string) *RemoteDevelopment
func (*RemoteDevelopment) WithOrganization ¶ added in v0.7.0
func (r *RemoteDevelopment) WithOrganization(organization *bunnysdk.OrganizationItem) *RemoteDevelopment
func (*RemoteDevelopment) WithProject ¶ added in v0.7.0
func (r *RemoteDevelopment) WithProject(project *bunnysdk.ProjectItem) *RemoteDevelopment
Click to show internal directories.
Click to hide internal directories.