Dagger
Search

vscode-runme

No long description provided.

Installation

dagger install github.com/stateful/vscode-runme@v3.10.7

Entrypoint

Return Type
VscodeRunme
Example
dagger -m github.com/stateful/vscode-runme@0f3236314222c8e373aa0127a8cdc36b4d4f6134 call \
func (m *myModule) example() *VscodeRunme  {
	return dag.
			VscodeRunme()
}
@function
def example() -> dag.VscodeRunme:
	return (
		dag.vscode_runme()
	)
@func()
example(): VscodeRunme {
	return dag
		.vscodeRunme()
}

Types

VscodeRunme 🔗

directory() 🔗

The working repository directory for the VscodeRunme instance.

Return Type
Directory !
Example
dagger -m github.com/stateful/vscode-runme@0f3236314222c8e373aa0127a8cdc36b4d4f6134 call \
 directory
func (m *myModule) example() *Directory  {
	return dag.
			VscodeRunme().
			Directory()
}
@function
def example() -> dagger.Directory:
	return (
		dag.vscode_runme()
		.directory()
	)
@func()
example(): Directory {
	return dag
		.vscodeRunme()
		.directory()
}

container() 🔗

The base container being used for building the extension.

Return Type
Container !
Example
dagger -m github.com/stateful/vscode-runme@0f3236314222c8e373aa0127a8cdc36b4d4f6134 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			VscodeRunme().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.vscode_runme()
		.container()
	)
@func()
example(): Container {
	return dag
		.vscodeRunme()
		.container()
}

withRemote() 🔗

Build from remote git repository.

Return Type
VscodeRunme !
Arguments
NameTypeDefault ValueDescription
remoteString !-- Valid git remote url, aka repo to clone
refString !-- Branch, tag, or commit to checkout
Example
dagger -m github.com/stateful/vscode-runme@0f3236314222c8e373aa0127a8cdc36b4d4f6134 call \
 with-remote --remote string --ref string
func (m *myModule) example(remote string, ref string) *VscodeRunme  {
	return dag.
			VscodeRunme().
			WithRemote(remote, ref)
}
@function
def example(remote: str, ref: str) -> dag.VscodeRunme:
	return (
		dag.vscode_runme()
		.with_remote(remote, ref)
	)
@func()
example(remote: string, ref: string): VscodeRunme {
	return dag
		.vscodeRunme()
		.withRemote(remote, ref)
}

withContainer() 🔗

Sets up the container for the VscodeRunme instance.

Return Type
VscodeRunme !
Arguments
NameTypeDefault ValueDescription
binaryFile !-- Optional kernel binary file to be added to the container.
presetupFile !-- Optional presetup (for dependencies) file to be added to the container.
Example
dagger -m github.com/stateful/vscode-runme@0f3236314222c8e373aa0127a8cdc36b4d4f6134 call \
 with-container --binary file:path --presetup file:path
func (m *myModule) example(binary *File, presetup *File) *VscodeRunme  {
	return dag.
			VscodeRunme().
			WithContainer(binary, presetup)
}
@function
def example(binary: dagger.File, presetup: dagger.File) -> dag.VscodeRunme:
	return (
		dag.vscode_runme()
		.with_container(binary, presetup)
	)
@func()
example(binary: File, presetup: File): VscodeRunme {
	return dag
		.vscodeRunme()
		.withContainer(binary, presetup)
}

getFile() 🔗

Sets up the container for the VscodeRunme instance.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
pathString !-- Path to file inside the container.
Example
dagger -m github.com/stateful/vscode-runme@0f3236314222c8e373aa0127a8cdc36b4d4f6134 call \
 get-file --path string
func (m *myModule) example(path string) *File  {
	return dag.
			VscodeRunme().
			GetFile(path)
}
@function
def example(path: str) -> dagger.File:
	return (
		dag.vscode_runme()
		.get_file(path)
	)
@func()
example(path: string): File {
	return dag
		.vscodeRunme()
		.getFile(path)
}

getRepoFile() 🔗

Sets up the container for the VscodeRunme instance.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
repoString !-No description provided
pathString !-- Path to file inside the container.
Example
dagger -m github.com/stateful/vscode-runme@0f3236314222c8e373aa0127a8cdc36b4d4f6134 call \
 get-repo-file --repo string --path string
func (m *myModule) example(repo string, path string) *File  {
	return dag.
			VscodeRunme().
			GetRepoFile(repo, path)
}
@function
def example(repo: str, path: str) -> dagger.File:
	return (
		dag.vscode_runme()
		.get_repo_file(repo, path)
	)
@func()
example(repo: string, path: string): File {
	return dag
		.vscodeRunme()
		.getRepoFile(repo, path)
}

withSecret() 🔗

Sets up the container for the VscodeRunme instance.

Return Type
Secret !
Arguments
NameTypeDefault ValueDescription
nameString !-- Name of the secret.
valueSecret !-No description provided
Example
dagger -m github.com/stateful/vscode-runme@0f3236314222c8e373aa0127a8cdc36b4d4f6134 call \
 with-secret --name string --value env:MYSECRET
func (m *myModule) example(name string, value *Secret) *Secret  {
	return dag.
			VscodeRunme().
			WithSecret(name, value)
}
@function
def example(name: str, value: dagger.Secret) -> dagger.Secret:
	return (
		dag.vscode_runme()
		.with_secret(name, value)
	)
@func()
example(name: string, value: Secret): Secret {
	return dag
		.vscodeRunme()
		.withSecret(name, value)
}

buildExtension() 🔗

Sets up the container for the VscodeRunme instance.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
githubTokenSecretSecret -- Optional valid GitHub access token for API access passed as secret.
githubTokenString -- Valid GitHub access token for API access passed as plain text.
Example
dagger -m github.com/stateful/vscode-runme@0f3236314222c8e373aa0127a8cdc36b4d4f6134 call \
 build-extension
func (m *myModule) example() *File  {
	return dag.
			VscodeRunme().
			BuildExtension()
}
@function
def example() -> dagger.File:
	return (
		dag.vscode_runme()
		.build_extension()
	)
@func()
example(): File {
	return dag
		.vscodeRunme()
		.buildExtension()
}