Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 1b0b4b8

Browse files
author
Jonathan Yu
committed
chore: rename instances of Coder Enterprise to Coder
We rebranded the product from Coder Enterprise to Coder; this change updates the text accordingly. Some references (such as URLs and variable names) have not been changed.
1 parent 2aeb038 commit 1b0b4b8

25 files changed

+41
-41
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
![build](https://github.com/cdr/coder-cli/workflows/build/badge.svg)
66
[![Go Report Card](https://goreportcard.com/badge/cdr.dev/coder-cli)](https://goreportcard.com/report/cdr.dev/coder-cli)
77

8-
`coder` is a command line utility for Coder Enterprise.
8+
`coder` is a command line utility for Coder.
99

1010
To report bugs and request features, please [open an issue](https://github.com/cdr/coder-cli/issues/new).
1111

coder-sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coder-sdk
22

3-
`coder-sdk` is a Go client library for [Coder Enterprise](https://coder.com).
3+
`coder-sdk` is a Go client library for [Coder](https://coder.com).
44
It is not yet stable and therefore we do not recommend depending on the current state of its public APIs.
55

66
## Usage

coder-sdk/config.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ const (
1515
AuthProviderOIDC AuthProviderType = "oidc"
1616
)
1717

18-
// ConfigAuth describes the authentication configuration for a Coder Enterprise deployment.
18+
// ConfigAuth describes the authentication configuration for a Coder deployment.
1919
type ConfigAuth struct {
2020
ProviderType *AuthProviderType `json:"provider_type"`
2121
OIDC *ConfigOIDC `json:"oidc"`
2222
SAML *ConfigSAML `json:"saml"`
2323
}
2424

25-
// ConfigOIDC describes the OIDC configuration for single-signon support in Coder Enterprise.
25+
// ConfigOIDC describes the OIDC configuration for single-signon support in Coder.
2626
type ConfigOIDC struct {
2727
ClientID *string `json:"client_id"`
2828
ClientSecret *string `json:"client_secret"`
@@ -38,26 +38,26 @@ type ConfigSAML struct {
3838
PublicKeyCertificate *string `json:"public_key_certificate"`
3939
}
4040

41-
// ConfigOAuthBitbucketServer describes the Bitbucket integration configuration for a Coder Enterprise deployment.
41+
// ConfigOAuthBitbucketServer describes the Bitbucket integration configuration for a Coder deployment.
4242
type ConfigOAuthBitbucketServer struct {
4343
BaseURL string `json:"base_url" diff:"oauth.bitbucket_server.base_url"`
4444
}
4545

46-
// ConfigOAuthGitHub describes the Github integration configuration for a Coder Enterprise deployment.
46+
// ConfigOAuthGitHub describes the Github integration configuration for a Coder deployment.
4747
type ConfigOAuthGitHub struct {
4848
BaseURL string `json:"base_url"`
4949
ClientID string `json:"client_id"`
5050
ClientSecret string `json:"client_secret"`
5151
}
5252

53-
// ConfigOAuthGitLab describes the GitLab integration configuration for a Coder Enterprise deployment.
53+
// ConfigOAuthGitLab describes the GitLab integration configuration for a Coder deployment.
5454
type ConfigOAuthGitLab struct {
5555
BaseURL string `json:"base_url"`
5656
ClientID string `json:"client_id" `
5757
ClientSecret string `json:"client_secret"`
5858
}
5959

60-
// ConfigOAuth describes the aggregate git integration configuration for a Coder Enterprise deployment.
60+
// ConfigOAuth describes the aggregate git integration configuration for a Coder deployment.
6161
type ConfigOAuth struct {
6262
BitbucketServer ConfigOAuthBitbucketServer `json:"bitbucket_server"`
6363
GitHub ConfigOAuthGitHub `json:"github"`
@@ -96,7 +96,7 @@ type configSetupMode struct {
9696
SetupMode bool `json:"setup_mode"`
9797
}
9898

99-
// SiteSetupModeEnabled fetches the current setup_mode state of a Coder Enterprise deployment.
99+
// SiteSetupModeEnabled fetches the current setup_mode state of a Coder deployment.
100100
func (c *DefaultClient) SiteSetupModeEnabled(ctx context.Context) (bool, error) {
101101
var conf configSetupMode
102102
if err := c.requestBody(ctx, http.MethodGet, "/api/private/config/setup-mode", nil, &conf); err != nil {

coder-sdk/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
// Package coder provides simple APIs for integrating Go applications with Coder Enterprise.
1+
// Package coder provides simple APIs for integrating Go applications with Coder.
22
package coder

coder-sdk/interface.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type Client interface {
5353
// PutSiteConfigOAuth sets the sitewide git provider OAuth configuration.
5454
PutSiteConfigOAuth(ctx context.Context, req ConfigOAuth) error
5555

56-
// SiteSetupModeEnabled fetches the current setup_mode state of a Coder Enterprise deployment.
56+
// SiteSetupModeEnabled fetches the current setup_mode state of a Coder deployment.
5757
SiteSetupModeEnabled(ctx context.Context) (bool, error)
5858

5959
// SiteConfigExtensionMarketplace fetches the extension marketplace configuration.
@@ -160,7 +160,7 @@ type Client interface {
160160
// UpdateOrganization applys a partial update of an Organization resource.
161161
UpdateOrganization(ctx context.Context, orgID string, req UpdateOrganizationReq) error
162162

163-
// CreateOrganization creates a new Organization in Coder Enterprise.
163+
// CreateOrganization creates a new Organization in Coder.
164164
CreateOrganization(ctx context.Context, req CreateOrganizationReq) error
165165

166166
// DeleteOrganization deletes an organization.
@@ -190,7 +190,7 @@ type Client interface {
190190
// ImageTagByID fetch an image tag by ID.
191191
ImageTagByID(ctx context.Context, imageID, tagID string) (*ImageTag, error)
192192

193-
// CreateAPIToken creates a new APIToken for making authenticated requests to Coder Enterprise.
193+
// CreateAPIToken creates a new APIToken for making authenticated requests to Coder.
194194
CreateAPIToken(ctx context.Context, userID string, req CreateAPITokenReq) (string, error)
195195

196196
// APITokens fetches all APITokens owned by the given user.

coder-sdk/org.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ type CreateOrganizationReq struct {
9090
MemoryProvisioningRate float32 `json:"memory_provisioning_rate"`
9191
}
9292

93-
// CreateOrganization creates a new Organization in Coder Enterprise.
93+
// CreateOrganization creates a new Organization in Coder.
9494
func (c *DefaultClient) CreateOrganization(ctx context.Context, req CreateOrganizationReq) error {
9595
return c.requestBody(ctx, http.MethodPost, "/api/v0/orgs", req, nil)
9696
}

coder-sdk/tokens.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"time"
77
)
88

9-
// APIToken describes a Coder Enterprise APIToken resource for use in API requests.
9+
// APIToken describes a Coder APIToken resource for use in API requests.
1010
type APIToken struct {
1111
ID string `json:"id"`
1212
Name string `json:"name"`
@@ -24,7 +24,7 @@ type createAPITokenResp struct {
2424
Key string `json:"key"`
2525
}
2626

27-
// CreateAPIToken creates a new APIToken for making authenticated requests to Coder Enterprise.
27+
// CreateAPIToken creates a new APIToken for making authenticated requests to Coder.
2828
func (c *DefaultClient) CreateAPIToken(ctx context.Context, userID string, req CreateAPITokenReq) (token string, _ error) {
2929
var resp createAPITokenResp
3030
err := c.requestBody(ctx, http.MethodPost, "/api/v0/api-keys/"+userID, req, &resp)

coder-sdk/users.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type User struct {
2020
UpdatedAt time.Time `json:"updated_at" table:"-"`
2121
}
2222

23-
// Role defines a Coder Enterprise permissions role group.
23+
// Role defines a Coder permissions role group.
2424
type Role string
2525

2626
// Site Roles.

docs/coder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## coder
22

3-
coder provides a CLI for working with an existing Coder Enterprise installation
3+
coder provides a CLI for working with an existing Coder installation
44

55
### Options
66

docs/coder_completion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ MacOS:
6666

6767
### SEE ALSO
6868

69-
* [coder](coder.md) - coder provides a CLI for working with an existing Coder Enterprise installation
69+
* [coder](coder.md) - coder provides a CLI for working with an existing Coder installation
7070

0 commit comments

Comments
 (0)