Skip to content

Commit

Permalink
feat: provider label (#39)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Dagelic <[email protected]>
  • Loading branch information
idagelic authored Oct 11, 2024
1 parent db185bf commit 7af6590
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.23.0
toolchain go1.23.1

require (
github.com/daytonaio/daytona v0.35.0
github.com/daytonaio/daytona v0.38.0
github.com/docker/docker v27.2.0+incompatible
github.com/hashicorp/go-hclog v1.6.3
github.com/hashicorp/go-plugin v1.6.0
Expand All @@ -15,6 +15,8 @@ require (
golang.org/x/term v0.23.0
)

replace github.com/daytonaio/daytona => /workspaces/daytona

require (
code.gitea.io/sdk/gitea v0.17.1 // indirect
dario.cat/mergo v1.0.1 // indirect
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -705,8 +705,6 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davidmz/go-pageant v1.0.2 h1:bPblRCh5jGU+Uptpz6LgMZGD5hJoOt7otgT454WvHn0=
github.com/davidmz/go-pageant v1.0.2/go.mod h1:P2EDDnMqIwG5Rrp05dTRITj9z2zpGcD9efWSkTNKLIE=
github.com/daytonaio/daytona v0.35.0 h1:koMIgxPAZ6GGZ0mdWojMbbwQnSd5YpuCmIwBJU9mms4=
github.com/daytonaio/daytona v0.35.0/go.mod h1:ZZ+sA66/4715zoWUbtpjNb2VfueJ8uHxCZAayUhDzAw=
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/docker/docker v27.2.0+incompatible h1:Rk9nIVdfH3+Vz4cyI/uhbINhEZ/oLmc+CBXmH6fbNk4=
Expand Down
3 changes: 3 additions & 0 deletions pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ func (p *DockerProvider) Initialize(req provider.InitializeProviderRequest) (*pr
}

func (p DockerProvider) GetInfo() (provider.ProviderInfo, error) {
label := "Docker"

return provider.ProviderInfo{
Name: "docker-provider",
Label: &label,
Version: internal.Version,
}, nil
}
Expand Down

0 comments on commit 7af6590

Please sign in to comment.