README
¶
Go API client for apiclient
Daytona Server API
Overview
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 0.1.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Installation
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/net/context
Put the package under your project folder and add the following in import:
import apiclient "github.com/GIT_USER_ID/GIT_REPO_ID/apiclient"
To use a proxy, set the environment variable HTTP_PROXY
:
os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
Configuration of Server URL
Default configuration comes with Servers
field that contains server objects as defined in the OpenAPI specification.
Select Server Configuration
For using other server than the one defined on index 0 set context value apiclient.ContextServerIndex
of type int
.
ctx := context.WithValue(context.Background(), apiclient.ContextServerIndex, 1)
Templated Server URL
Templated server URL is formatted using default variables from configuration or from context value apiclient.ContextServerVariables
of type map[string]string
.
ctx := context.WithValue(context.Background(), apiclient.ContextServerVariables, map[string]string{
"basePath": "v2",
})
Note, enum values are always validated and all unused variables are silently ignored.
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
.
An operation is uniquely identified by "{classname}Service.{nickname}"
string.
Similar rules for overriding default operation server index and variables applies by using apiclient.ContextOperationServerIndices
and apiclient.ContextOperationServerVariables
context maps.
ctx := context.WithValue(context.Background(), apiclient.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), apiclient.ContextOperationServerVariables, map[string]map[string]string{
"{classname}Service.{nickname}": {
"port": "8443",
},
})
Documentation for API Endpoints
All URIs are relative to http://localhost:3986
Class | Method | HTTP request | Description |
---|---|---|---|
ApiKeyAPI | GenerateApiKey | Post /apikey/{apiKeyName} | Generate an API key |
ApiKeyAPI | ListClientApiKeys | Get /apikey | List API keys |
ApiKeyAPI | RevokeApiKey | Delete /apikey/{apiKeyName} | Revoke API key |
ContainerRegistryAPI | GetContainerRegistry | Get /container-registry/{server} | Get container registry credentials |
ContainerRegistryAPI | ListContainerRegistries | Get /container-registry | List container registries |
ContainerRegistryAPI | RemoveContainerRegistry | Delete /container-registry/{server} | Remove a container registry credentials |
ContainerRegistryAPI | SetContainerRegistry | Put /container-registry/{server} | Set container registry credentials |
GitProviderAPI | GetGitContext | Get /gitprovider/context/{gitUrl} | Get Git context |
GitProviderAPI | GetGitProviderForUrl | Get /gitprovider/for-url/{url} | Get Git provider |
GitProviderAPI | GetGitUser | Get /gitprovider/{gitProviderId}/user | Get Git context |
GitProviderAPI | GetNamespaces | Get /gitprovider/{gitProviderId}/namespaces | Get Git namespaces |
GitProviderAPI | GetRepoBranches | Get /gitprovider/{gitProviderId}/{namespaceId}/{repositoryId}/branches | Get Git repository branches |
GitProviderAPI | GetRepoPRs | Get /gitprovider/{gitProviderId}/{namespaceId}/{repositoryId}/pull-requests | Get Git repository PRs |
GitProviderAPI | GetRepositories | Get /gitprovider/{gitProviderId}/{namespaceId}/repositories | Get Git repositories |
GitProviderAPI | ListGitProviders | Get /gitprovider | List Git providers |
GitProviderAPI | RemoveGitProvider | Delete /gitprovider/{gitProviderId} | Remove Git provider |
GitProviderAPI | SetGitProvider | Put /gitprovider | Set Git provider |
ProfileAPI | DeleteProfileData | Delete /profile | Delete profile data |
ProfileAPI | GetProfileData | Get /profile | Get profile data |
ProfileAPI | SetProfileData | Put /profile | Set profile data |
ProviderAPI | GetTargetManifest | Get /provider/{provider}/target-manifest | Get provider target manifest |
ProviderAPI | InstallProvider | Post /provider/install | Install a provider |
ProviderAPI | ListProviders | Get /provider | List providers |
ProviderAPI | UninstallProvider | Post /provider/{provider}/uninstall | Uninstall a provider |
ServerAPI | GenerateNetworkKey | Post /server/network-key | Generate a new authentication key |
ServerAPI | GetConfig | Get /server/config | Get the server configuration |
ServerAPI | SetConfig | Post /server/config | Set the server configuration |
TargetAPI | ListTargets | Get /target | List targets |
TargetAPI | RemoveTarget | Delete /target/{target} | Remove a target |
TargetAPI | SetTarget | Put /target | Set a target |
WorkspaceAPI | CreateWorkspace | Post /workspace | Create a workspace |
WorkspaceAPI | GetWorkspace | Get /workspace/{workspaceId} | Get workspace info |
WorkspaceAPI | ListWorkspaces | Get /workspace | List workspaces |
WorkspaceAPI | RemoveWorkspace | Delete /workspace/{workspaceId} | Remove workspace |
WorkspaceAPI | SetProjectState | Post /workspace/{workspaceId}/{projectId}/state | Set project state |
WorkspaceAPI | StartProject | Post /workspace/{workspaceId}/{projectId}/start | Start project |
WorkspaceAPI | StartWorkspace | Post /workspace/{workspaceId}/start | Start workspace |
WorkspaceAPI | StopProject | Post /workspace/{workspaceId}/{projectId}/stop | Stop project |
WorkspaceAPI | StopWorkspace | Post /workspace/{workspaceId}/stop | Stop workspace |
Documentation For Models
- ApiKey
- ApikeyApiKeyType
- ContainerRegistry
- CreateWorkspaceRequest
- CreateWorkspaceRequestProject
- CreateWorkspaceRequestProjectSource
- FRPSConfig
- FileStatus
- GitBranch
- GitNamespace
- GitProvider
- GitPullRequest
- GitRepository
- GitStatus
- GitUser
- InstallProviderRequest
- NetworkKey
- ProfileData
- Project
- ProjectBuild
- ProjectBuildDevcontainer
- ProjectInfo
- ProjectState
- Provider
- ProviderProviderInfo
- ProviderProviderTargetProperty
- ProviderProviderTargetPropertyType
- ProviderTarget
- ServerConfig
- SetProjectState
- Status
- Workspace
- WorkspaceDTO
- WorkspaceInfo
Documentation For Authorization
Authentication schemes defined for the API:
Bearer
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
Note, each API key must be added to a map of map[string]APIKey
where the key is: Authorization and passed in as the auth context for each request.
Example
auth := context.WithValue(
context.Background(),
apiclient.ContextAPIKeys,
map[string]apiclient.APIKey{
"Authorization": {Key: "API_KEY_STRING"},
},
)
r, err := client.Service.Operation(auth, args)
Documentation for Utility Methods
Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:
PtrBool
PtrInt
PtrInt32
PtrInt64
PtrFloat
PtrFloat32
PtrFloat64
PtrString
PtrTime
Author
Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiCreateWorkspaceRequest
- type ApiDeleteProfileDataRequest
- type ApiGenerateApiKeyRequest
- type ApiGenerateNetworkKeyRequest
- type ApiGetConfigRequest
- type ApiGetContainerRegistryRequest
- type ApiGetGitContextRequest
- type ApiGetGitProviderForUrlRequest
- type ApiGetGitUserRequest
- type ApiGetNamespacesRequest
- type ApiGetProfileDataRequest
- type ApiGetRepoBranchesRequest
- type ApiGetRepoPRsRequest
- type ApiGetRepositoriesRequest
- type ApiGetTargetManifestRequest
- type ApiGetWorkspaceRequest
- type ApiInstallProviderRequest
- type ApiKey
- func (o *ApiKey) GetKeyHash() string
- func (o *ApiKey) GetKeyHashOk() (*string, bool)
- func (o *ApiKey) GetName() string
- func (o *ApiKey) GetNameOk() (*string, bool)
- func (o *ApiKey) GetType() ApikeyApiKeyType
- func (o *ApiKey) GetTypeOk() (*ApikeyApiKeyType, bool)
- func (o *ApiKey) HasKeyHash() bool
- func (o *ApiKey) HasName() bool
- func (o *ApiKey) HasType() bool
- func (o ApiKey) MarshalJSON() ([]byte, error)
- func (o *ApiKey) SetKeyHash(v string)
- func (o *ApiKey) SetName(v string)
- func (o *ApiKey) SetType(v ApikeyApiKeyType)
- func (o ApiKey) ToMap() (map[string]interface{}, error)
- type ApiKeyAPIService
- func (a *ApiKeyAPIService) GenerateApiKey(ctx context.Context, apiKeyName string) ApiGenerateApiKeyRequest
- func (a *ApiKeyAPIService) GenerateApiKeyExecute(r ApiGenerateApiKeyRequest) (string, *http.Response, error)
- func (a *ApiKeyAPIService) ListClientApiKeys(ctx context.Context) ApiListClientApiKeysRequest
- func (a *ApiKeyAPIService) ListClientApiKeysExecute(r ApiListClientApiKeysRequest) ([]ApiKey, *http.Response, error)
- func (a *ApiKeyAPIService) RevokeApiKey(ctx context.Context, apiKeyName string) ApiRevokeApiKeyRequest
- func (a *ApiKeyAPIService) RevokeApiKeyExecute(r ApiRevokeApiKeyRequest) (*http.Response, error)
- type ApiListClientApiKeysRequest
- type ApiListContainerRegistriesRequest
- type ApiListGitProvidersRequest
- type ApiListProvidersRequest
- type ApiListTargetsRequest
- type ApiListWorkspacesRequest
- type ApiRemoveContainerRegistryRequest
- type ApiRemoveGitProviderRequest
- type ApiRemoveTargetRequest
- type ApiRemoveWorkspaceRequest
- type ApiRevokeApiKeyRequest
- type ApiSetConfigRequest
- type ApiSetContainerRegistryRequest
- type ApiSetGitProviderRequest
- type ApiSetProfileDataRequest
- type ApiSetProjectStateRequest
- type ApiSetTargetRequest
- type ApiStartProjectRequest
- type ApiStartWorkspaceRequest
- type ApiStopProjectRequest
- type ApiStopWorkspaceRequest
- type ApiUninstallProviderRequest
- type ApikeyApiKeyType
- type BasicAuth
- type Configuration
- type ContainerRegistry
- func (o *ContainerRegistry) GetPassword() string
- func (o *ContainerRegistry) GetPasswordOk() (*string, bool)
- func (o *ContainerRegistry) GetServer() string
- func (o *ContainerRegistry) GetServerOk() (*string, bool)
- func (o *ContainerRegistry) GetUsername() string
- func (o *ContainerRegistry) GetUsernameOk() (*string, bool)
- func (o *ContainerRegistry) HasPassword() bool
- func (o *ContainerRegistry) HasServer() bool
- func (o *ContainerRegistry) HasUsername() bool
- func (o ContainerRegistry) MarshalJSON() ([]byte, error)
- func (o *ContainerRegistry) SetPassword(v string)
- func (o *ContainerRegistry) SetServer(v string)
- func (o *ContainerRegistry) SetUsername(v string)
- func (o ContainerRegistry) ToMap() (map[string]interface{}, error)
- type ContainerRegistryAPIService
- func (a *ContainerRegistryAPIService) GetContainerRegistry(ctx context.Context, server string) ApiGetContainerRegistryRequest
- func (a *ContainerRegistryAPIService) GetContainerRegistryExecute(r ApiGetContainerRegistryRequest) (*ContainerRegistry, *http.Response, error)
- func (a *ContainerRegistryAPIService) ListContainerRegistries(ctx context.Context) ApiListContainerRegistriesRequest
- func (a *ContainerRegistryAPIService) ListContainerRegistriesExecute(r ApiListContainerRegistriesRequest) ([]ContainerRegistry, *http.Response, error)
- func (a *ContainerRegistryAPIService) RemoveContainerRegistry(ctx context.Context, server string) ApiRemoveContainerRegistryRequest
- func (a *ContainerRegistryAPIService) RemoveContainerRegistryExecute(r ApiRemoveContainerRegistryRequest) (*http.Response, error)
- func (a *ContainerRegistryAPIService) SetContainerRegistry(ctx context.Context, server string) ApiSetContainerRegistryRequest
- func (a *ContainerRegistryAPIService) SetContainerRegistryExecute(r ApiSetContainerRegistryRequest) (*http.Response, error)
- type CreateWorkspaceRequest
- func (o *CreateWorkspaceRequest) GetId() string
- func (o *CreateWorkspaceRequest) GetIdOk() (*string, bool)
- func (o *CreateWorkspaceRequest) GetName() string
- func (o *CreateWorkspaceRequest) GetNameOk() (*string, bool)
- func (o *CreateWorkspaceRequest) GetProjects() []CreateWorkspaceRequestProject
- func (o *CreateWorkspaceRequest) GetProjectsOk() ([]CreateWorkspaceRequestProject, bool)
- func (o *CreateWorkspaceRequest) GetTarget() string
- func (o *CreateWorkspaceRequest) GetTargetOk() (*string, bool)
- func (o *CreateWorkspaceRequest) HasId() bool
- func (o *CreateWorkspaceRequest) HasName() bool
- func (o *CreateWorkspaceRequest) HasTarget() bool
- func (o CreateWorkspaceRequest) MarshalJSON() ([]byte, error)
- func (o *CreateWorkspaceRequest) SetId(v string)
- func (o *CreateWorkspaceRequest) SetName(v string)
- func (o *CreateWorkspaceRequest) SetProjects(v []CreateWorkspaceRequestProject)
- func (o *CreateWorkspaceRequest) SetTarget(v string)
- func (o CreateWorkspaceRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateWorkspaceRequest) UnmarshalJSON(data []byte) (err error)
- type CreateWorkspaceRequestProject
- func (o *CreateWorkspaceRequestProject) GetBuild() ProjectBuild
- func (o *CreateWorkspaceRequestProject) GetBuildOk() (*ProjectBuild, bool)
- func (o *CreateWorkspaceRequestProject) GetEnvVars() map[string]string
- func (o *CreateWorkspaceRequestProject) GetEnvVarsOk() (*map[string]string, bool)
- func (o *CreateWorkspaceRequestProject) GetImage() string
- func (o *CreateWorkspaceRequestProject) GetImageOk() (*string, bool)
- func (o *CreateWorkspaceRequestProject) GetName() string
- func (o *CreateWorkspaceRequestProject) GetNameOk() (*string, bool)
- func (o *CreateWorkspaceRequestProject) GetPostStartCommands() []string
- func (o *CreateWorkspaceRequestProject) GetPostStartCommandsOk() ([]string, bool)
- func (o *CreateWorkspaceRequestProject) GetSource() CreateWorkspaceRequestProjectSource
- func (o *CreateWorkspaceRequestProject) GetSourceOk() (*CreateWorkspaceRequestProjectSource, bool)
- func (o *CreateWorkspaceRequestProject) GetUser() string
- func (o *CreateWorkspaceRequestProject) GetUserOk() (*string, bool)
- func (o *CreateWorkspaceRequestProject) HasBuild() bool
- func (o *CreateWorkspaceRequestProject) HasEnvVars() bool
- func (o *CreateWorkspaceRequestProject) HasImage() bool
- func (o *CreateWorkspaceRequestProject) HasPostStartCommands() bool
- func (o *CreateWorkspaceRequestProject) HasSource() bool
- func (o *CreateWorkspaceRequestProject) HasUser() bool
- func (o CreateWorkspaceRequestProject) MarshalJSON() ([]byte, error)
- func (o *CreateWorkspaceRequestProject) SetBuild(v ProjectBuild)
- func (o *CreateWorkspaceRequestProject) SetEnvVars(v map[string]string)
- func (o *CreateWorkspaceRequestProject) SetImage(v string)
- func (o *CreateWorkspaceRequestProject) SetName(v string)
- func (o *CreateWorkspaceRequestProject) SetPostStartCommands(v []string)
- func (o *CreateWorkspaceRequestProject) SetSource(v CreateWorkspaceRequestProjectSource)
- func (o *CreateWorkspaceRequestProject) SetUser(v string)
- func (o CreateWorkspaceRequestProject) ToMap() (map[string]interface{}, error)
- func (o *CreateWorkspaceRequestProject) UnmarshalJSON(data []byte) (err error)
- type CreateWorkspaceRequestProjectSource
- func (o *CreateWorkspaceRequestProjectSource) GetRepository() GitRepository
- func (o *CreateWorkspaceRequestProjectSource) GetRepositoryOk() (*GitRepository, bool)
- func (o *CreateWorkspaceRequestProjectSource) HasRepository() bool
- func (o CreateWorkspaceRequestProjectSource) MarshalJSON() ([]byte, error)
- func (o *CreateWorkspaceRequestProjectSource) SetRepository(v GitRepository)
- func (o CreateWorkspaceRequestProjectSource) ToMap() (map[string]interface{}, error)
- type FRPSConfig
- func (o *FRPSConfig) GetDomain() string
- func (o *FRPSConfig) GetDomainOk() (*string, bool)
- func (o *FRPSConfig) GetPort() int32
- func (o *FRPSConfig) GetPortOk() (*int32, bool)
- func (o *FRPSConfig) GetProtocol() string
- func (o *FRPSConfig) GetProtocolOk() (*string, bool)
- func (o *FRPSConfig) HasDomain() bool
- func (o *FRPSConfig) HasPort() bool
- func (o *FRPSConfig) HasProtocol() bool
- func (o FRPSConfig) MarshalJSON() ([]byte, error)
- func (o *FRPSConfig) SetDomain(v string)
- func (o *FRPSConfig) SetPort(v int32)
- func (o *FRPSConfig) SetProtocol(v string)
- func (o FRPSConfig) ToMap() (map[string]interface{}, error)
- type FileStatus
- func (o *FileStatus) GetExtra() string
- func (o *FileStatus) GetExtraOk() (*string, bool)
- func (o *FileStatus) GetName() string
- func (o *FileStatus) GetNameOk() (*string, bool)
- func (o *FileStatus) GetStaging() Status
- func (o *FileStatus) GetStagingOk() (*Status, bool)
- func (o *FileStatus) GetWorktree() Status
- func (o *FileStatus) GetWorktreeOk() (*Status, bool)
- func (o *FileStatus) HasExtra() bool
- func (o *FileStatus) HasName() bool
- func (o *FileStatus) HasStaging() bool
- func (o *FileStatus) HasWorktree() bool
- func (o FileStatus) MarshalJSON() ([]byte, error)
- func (o *FileStatus) SetExtra(v string)
- func (o *FileStatus) SetName(v string)
- func (o *FileStatus) SetStaging(v Status)
- func (o *FileStatus) SetWorktree(v Status)
- func (o FileStatus) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type GitBranch
- func (o *GitBranch) GetName() string
- func (o *GitBranch) GetNameOk() (*string, bool)
- func (o *GitBranch) GetSha() string
- func (o *GitBranch) GetShaOk() (*string, bool)
- func (o *GitBranch) HasName() bool
- func (o *GitBranch) HasSha() bool
- func (o GitBranch) MarshalJSON() ([]byte, error)
- func (o *GitBranch) SetName(v string)
- func (o *GitBranch) SetSha(v string)
- func (o GitBranch) ToMap() (map[string]interface{}, error)
- type GitNamespace
- func (o *GitNamespace) GetId() string
- func (o *GitNamespace) GetIdOk() (*string, bool)
- func (o *GitNamespace) GetName() string
- func (o *GitNamespace) GetNameOk() (*string, bool)
- func (o *GitNamespace) HasId() bool
- func (o *GitNamespace) HasName() bool
- func (o GitNamespace) MarshalJSON() ([]byte, error)
- func (o *GitNamespace) SetId(v string)
- func (o *GitNamespace) SetName(v string)
- func (o GitNamespace) ToMap() (map[string]interface{}, error)
- type GitProvider
- func (o *GitProvider) GetBaseApiUrl() string
- func (o *GitProvider) GetBaseApiUrlOk() (*string, bool)
- func (o *GitProvider) GetId() string
- func (o *GitProvider) GetIdOk() (*string, bool)
- func (o *GitProvider) GetToken() string
- func (o *GitProvider) GetTokenOk() (*string, bool)
- func (o *GitProvider) GetUsername() string
- func (o *GitProvider) GetUsernameOk() (*string, bool)
- func (o *GitProvider) HasBaseApiUrl() bool
- func (o *GitProvider) HasId() bool
- func (o *GitProvider) HasToken() bool
- func (o *GitProvider) HasUsername() bool
- func (o GitProvider) MarshalJSON() ([]byte, error)
- func (o *GitProvider) SetBaseApiUrl(v string)
- func (o *GitProvider) SetId(v string)
- func (o *GitProvider) SetToken(v string)
- func (o *GitProvider) SetUsername(v string)
- func (o GitProvider) ToMap() (map[string]interface{}, error)
- type GitProviderAPIService
- func (a *GitProviderAPIService) GetGitContext(ctx context.Context, gitUrl string) ApiGetGitContextRequest
- func (a *GitProviderAPIService) GetGitContextExecute(r ApiGetGitContextRequest) (*GitRepository, *http.Response, error)
- func (a *GitProviderAPIService) GetGitProviderForUrl(ctx context.Context, url string) ApiGetGitProviderForUrlRequest
- func (a *GitProviderAPIService) GetGitProviderForUrlExecute(r ApiGetGitProviderForUrlRequest) (*GitProvider, *http.Response, error)
- func (a *GitProviderAPIService) GetGitUser(ctx context.Context, gitProviderId string) ApiGetGitUserRequest
- func (a *GitProviderAPIService) GetGitUserExecute(r ApiGetGitUserRequest) (*GitUser, *http.Response, error)
- func (a *GitProviderAPIService) GetNamespaces(ctx context.Context, gitProviderId string) ApiGetNamespacesRequest
- func (a *GitProviderAPIService) GetNamespacesExecute(r ApiGetNamespacesRequest) ([]GitNamespace, *http.Response, error)
- func (a *GitProviderAPIService) GetRepoBranches(ctx context.Context, gitProviderId string, namespaceId string, ...) ApiGetRepoBranchesRequest
- func (a *GitProviderAPIService) GetRepoBranchesExecute(r ApiGetRepoBranchesRequest) ([]GitBranch, *http.Response, error)
- func (a *GitProviderAPIService) GetRepoPRs(ctx context.Context, gitProviderId string, namespaceId string, ...) ApiGetRepoPRsRequest
- func (a *GitProviderAPIService) GetRepoPRsExecute(r ApiGetRepoPRsRequest) ([]GitPullRequest, *http.Response, error)
- func (a *GitProviderAPIService) GetRepositories(ctx context.Context, gitProviderId string, namespaceId string) ApiGetRepositoriesRequest
- func (a *GitProviderAPIService) GetRepositoriesExecute(r ApiGetRepositoriesRequest) ([]GitRepository, *http.Response, error)
- func (a *GitProviderAPIService) ListGitProviders(ctx context.Context) ApiListGitProvidersRequest
- func (a *GitProviderAPIService) ListGitProvidersExecute(r ApiListGitProvidersRequest) ([]GitProvider, *http.Response, error)
- func (a *GitProviderAPIService) RemoveGitProvider(ctx context.Context, gitProviderId string) ApiRemoveGitProviderRequest
- func (a *GitProviderAPIService) RemoveGitProviderExecute(r ApiRemoveGitProviderRequest) (*http.Response, error)
- func (a *GitProviderAPIService) SetGitProvider(ctx context.Context) ApiSetGitProviderRequest
- func (a *GitProviderAPIService) SetGitProviderExecute(r ApiSetGitProviderRequest) (*http.Response, error)
- type GitPullRequest
- func (o *GitPullRequest) GetBranch() string
- func (o *GitPullRequest) GetBranchOk() (*string, bool)
- func (o *GitPullRequest) GetName() string
- func (o *GitPullRequest) GetNameOk() (*string, bool)
- func (o *GitPullRequest) GetSha() string
- func (o *GitPullRequest) GetShaOk() (*string, bool)
- func (o *GitPullRequest) GetSourceRepoId() string
- func (o *GitPullRequest) GetSourceRepoIdOk() (*string, bool)
- func (o *GitPullRequest) GetSourceRepoName() string
- func (o *GitPullRequest) GetSourceRepoNameOk() (*string, bool)
- func (o *GitPullRequest) GetSourceRepoOwner() string
- func (o *GitPullRequest) GetSourceRepoOwnerOk() (*string, bool)
- func (o *GitPullRequest) GetSourceRepoUrl() string
- func (o *GitPullRequest) GetSourceRepoUrlOk() (*string, bool)
- func (o *GitPullRequest) HasBranch() bool
- func (o *GitPullRequest) HasName() bool
- func (o *GitPullRequest) HasSha() bool
- func (o *GitPullRequest) HasSourceRepoId() bool
- func (o *GitPullRequest) HasSourceRepoName() bool
- func (o *GitPullRequest) HasSourceRepoOwner() bool
- func (o *GitPullRequest) HasSourceRepoUrl() bool
- func (o GitPullRequest) MarshalJSON() ([]byte, error)
- func (o *GitPullRequest) SetBranch(v string)
- func (o *GitPullRequest) SetName(v string)
- func (o *GitPullRequest) SetSha(v string)
- func (o *GitPullRequest) SetSourceRepoId(v string)
- func (o *GitPullRequest) SetSourceRepoName(v string)
- func (o *GitPullRequest) SetSourceRepoOwner(v string)
- func (o *GitPullRequest) SetSourceRepoUrl(v string)
- func (o GitPullRequest) ToMap() (map[string]interface{}, error)
- type GitRepository
- func (o *GitRepository) GetBranch() string
- func (o *GitRepository) GetBranchOk() (*string, bool)
- func (o *GitRepository) GetId() string
- func (o *GitRepository) GetIdOk() (*string, bool)
- func (o *GitRepository) GetName() string
- func (o *GitRepository) GetNameOk() (*string, bool)
- func (o *GitRepository) GetOwner() string
- func (o *GitRepository) GetOwnerOk() (*string, bool)
- func (o *GitRepository) GetPath() string
- func (o *GitRepository) GetPathOk() (*string, bool)
- func (o *GitRepository) GetPrNumber() int32
- func (o *GitRepository) GetPrNumberOk() (*int32, bool)
- func (o *GitRepository) GetSha() string
- func (o *GitRepository) GetShaOk() (*string, bool)
- func (o *GitRepository) GetSource() string
- func (o *GitRepository) GetSourceOk() (*string, bool)
- func (o *GitRepository) GetUrl() string
- func (o *GitRepository) GetUrlOk() (*string, bool)
- func (o *GitRepository) HasBranch() bool
- func (o *GitRepository) HasId() bool
- func (o *GitRepository) HasName() bool
- func (o *GitRepository) HasOwner() bool
- func (o *GitRepository) HasPath() bool
- func (o *GitRepository) HasPrNumber() bool
- func (o *GitRepository) HasSha() bool
- func (o *GitRepository) HasSource() bool
- func (o *GitRepository) HasUrl() bool
- func (o GitRepository) MarshalJSON() ([]byte, error)
- func (o *GitRepository) SetBranch(v string)
- func (o *GitRepository) SetId(v string)
- func (o *GitRepository) SetName(v string)
- func (o *GitRepository) SetOwner(v string)
- func (o *GitRepository) SetPath(v string)
- func (o *GitRepository) SetPrNumber(v int32)
- func (o *GitRepository) SetSha(v string)
- func (o *GitRepository) SetSource(v string)
- func (o *GitRepository) SetUrl(v string)
- func (o GitRepository) ToMap() (map[string]interface{}, error)
- type GitStatus
- func (o *GitStatus) GetCurrentBranch() string
- func (o *GitStatus) GetCurrentBranchOk() (*string, bool)
- func (o *GitStatus) GetFileStatus() []FileStatus
- func (o *GitStatus) GetFileStatusOk() ([]FileStatus, bool)
- func (o *GitStatus) HasCurrentBranch() bool
- func (o *GitStatus) HasFileStatus() bool
- func (o GitStatus) MarshalJSON() ([]byte, error)
- func (o *GitStatus) SetCurrentBranch(v string)
- func (o *GitStatus) SetFileStatus(v []FileStatus)
- func (o GitStatus) ToMap() (map[string]interface{}, error)
- type GitUser
- func (o *GitUser) GetEmail() string
- func (o *GitUser) GetEmailOk() (*string, bool)
- func (o *GitUser) GetId() string
- func (o *GitUser) GetIdOk() (*string, bool)
- func (o *GitUser) GetName() string
- func (o *GitUser) GetNameOk() (*string, bool)
- func (o *GitUser) GetUsername() string
- func (o *GitUser) GetUsernameOk() (*string, bool)
- func (o *GitUser) HasEmail() bool
- func (o *GitUser) HasId() bool
- func (o *GitUser) HasName() bool
- func (o *GitUser) HasUsername() bool
- func (o GitUser) MarshalJSON() ([]byte, error)
- func (o *GitUser) SetEmail(v string)
- func (o *GitUser) SetId(v string)
- func (o *GitUser) SetName(v string)
- func (o *GitUser) SetUsername(v string)
- func (o GitUser) ToMap() (map[string]interface{}, error)
- type InstallProviderRequest
- func (o *InstallProviderRequest) GetDownloadUrls() map[string]string
- func (o *InstallProviderRequest) GetDownloadUrlsOk() (*map[string]string, bool)
- func (o *InstallProviderRequest) GetName() string
- func (o *InstallProviderRequest) GetNameOk() (*string, bool)
- func (o *InstallProviderRequest) HasDownloadUrls() bool
- func (o *InstallProviderRequest) HasName() bool
- func (o InstallProviderRequest) MarshalJSON() ([]byte, error)
- func (o *InstallProviderRequest) SetDownloadUrls(v map[string]string)
- func (o *InstallProviderRequest) SetName(v string)
- func (o InstallProviderRequest) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NetworkKey
- type NullableApiKey
- type NullableApikeyApiKeyType
- func (v NullableApikeyApiKeyType) Get() *ApikeyApiKeyType
- func (v NullableApikeyApiKeyType) IsSet() bool
- func (v NullableApikeyApiKeyType) MarshalJSON() ([]byte, error)
- func (v *NullableApikeyApiKeyType) Set(val *ApikeyApiKeyType)
- func (v *NullableApikeyApiKeyType) UnmarshalJSON(src []byte) error
- func (v *NullableApikeyApiKeyType) Unset()
- type NullableBool
- type NullableContainerRegistry
- func (v NullableContainerRegistry) Get() *ContainerRegistry
- func (v NullableContainerRegistry) IsSet() bool
- func (v NullableContainerRegistry) MarshalJSON() ([]byte, error)
- func (v *NullableContainerRegistry) Set(val *ContainerRegistry)
- func (v *NullableContainerRegistry) UnmarshalJSON(src []byte) error
- func (v *NullableContainerRegistry) Unset()
- type NullableCreateWorkspaceRequest
- func (v NullableCreateWorkspaceRequest) Get() *CreateWorkspaceRequest
- func (v NullableCreateWorkspaceRequest) IsSet() bool
- func (v NullableCreateWorkspaceRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateWorkspaceRequest) Set(val *CreateWorkspaceRequest)
- func (v *NullableCreateWorkspaceRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateWorkspaceRequest) Unset()
- type NullableCreateWorkspaceRequestProject
- func (v NullableCreateWorkspaceRequestProject) Get() *CreateWorkspaceRequestProject
- func (v NullableCreateWorkspaceRequestProject) IsSet() bool
- func (v NullableCreateWorkspaceRequestProject) MarshalJSON() ([]byte, error)
- func (v *NullableCreateWorkspaceRequestProject) Set(val *CreateWorkspaceRequestProject)
- func (v *NullableCreateWorkspaceRequestProject) UnmarshalJSON(src []byte) error
- func (v *NullableCreateWorkspaceRequestProject) Unset()
- type NullableCreateWorkspaceRequestProjectSource
- func (v NullableCreateWorkspaceRequestProjectSource) Get() *CreateWorkspaceRequestProjectSource
- func (v NullableCreateWorkspaceRequestProjectSource) IsSet() bool
- func (v NullableCreateWorkspaceRequestProjectSource) MarshalJSON() ([]byte, error)
- func (v *NullableCreateWorkspaceRequestProjectSource) Set(val *CreateWorkspaceRequestProjectSource)
- func (v *NullableCreateWorkspaceRequestProjectSource) UnmarshalJSON(src []byte) error
- func (v *NullableCreateWorkspaceRequestProjectSource) Unset()
- type NullableFRPSConfig
- type NullableFileStatus
- type NullableFloat32
- type NullableFloat64
- type NullableGitBranch
- type NullableGitNamespace
- func (v NullableGitNamespace) Get() *GitNamespace
- func (v NullableGitNamespace) IsSet() bool
- func (v NullableGitNamespace) MarshalJSON() ([]byte, error)
- func (v *NullableGitNamespace) Set(val *GitNamespace)
- func (v *NullableGitNamespace) UnmarshalJSON(src []byte) error
- func (v *NullableGitNamespace) Unset()
- type NullableGitProvider
- func (v NullableGitProvider) Get() *GitProvider
- func (v NullableGitProvider) IsSet() bool
- func (v NullableGitProvider) MarshalJSON() ([]byte, error)
- func (v *NullableGitProvider) Set(val *GitProvider)
- func (v *NullableGitProvider) UnmarshalJSON(src []byte) error
- func (v *NullableGitProvider) Unset()
- type NullableGitPullRequest
- func (v NullableGitPullRequest) Get() *GitPullRequest
- func (v NullableGitPullRequest) IsSet() bool
- func (v NullableGitPullRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGitPullRequest) Set(val *GitPullRequest)
- func (v *NullableGitPullRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGitPullRequest) Unset()
- type NullableGitRepository
- func (v NullableGitRepository) Get() *GitRepository
- func (v NullableGitRepository) IsSet() bool
- func (v NullableGitRepository) MarshalJSON() ([]byte, error)
- func (v *NullableGitRepository) Set(val *GitRepository)
- func (v *NullableGitRepository) UnmarshalJSON(src []byte) error
- func (v *NullableGitRepository) Unset()
- type NullableGitStatus
- type NullableGitUser
- type NullableInstallProviderRequest
- func (v NullableInstallProviderRequest) Get() *InstallProviderRequest
- func (v NullableInstallProviderRequest) IsSet() bool
- func (v NullableInstallProviderRequest) MarshalJSON() ([]byte, error)
- func (v *NullableInstallProviderRequest) Set(val *InstallProviderRequest)
- func (v *NullableInstallProviderRequest) UnmarshalJSON(src []byte) error
- func (v *NullableInstallProviderRequest) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableNetworkKey
- type NullableProfileData
- func (v NullableProfileData) Get() *ProfileData
- func (v NullableProfileData) IsSet() bool
- func (v NullableProfileData) MarshalJSON() ([]byte, error)
- func (v *NullableProfileData) Set(val *ProfileData)
- func (v *NullableProfileData) UnmarshalJSON(src []byte) error
- func (v *NullableProfileData) Unset()
- type NullableProject
- type NullableProjectBuild
- func (v NullableProjectBuild) Get() *ProjectBuild
- func (v NullableProjectBuild) IsSet() bool
- func (v NullableProjectBuild) MarshalJSON() ([]byte, error)
- func (v *NullableProjectBuild) Set(val *ProjectBuild)
- func (v *NullableProjectBuild) UnmarshalJSON(src []byte) error
- func (v *NullableProjectBuild) Unset()
- type NullableProjectBuildDevcontainer
- func (v NullableProjectBuildDevcontainer) Get() *ProjectBuildDevcontainer
- func (v NullableProjectBuildDevcontainer) IsSet() bool
- func (v NullableProjectBuildDevcontainer) MarshalJSON() ([]byte, error)
- func (v *NullableProjectBuildDevcontainer) Set(val *ProjectBuildDevcontainer)
- func (v *NullableProjectBuildDevcontainer) UnmarshalJSON(src []byte) error
- func (v *NullableProjectBuildDevcontainer) Unset()
- type NullableProjectBuildDockerfile
- func (v NullableProjectBuildDockerfile) Get() *ProjectBuildDockerfile
- func (v NullableProjectBuildDockerfile) IsSet() bool
- func (v NullableProjectBuildDockerfile) MarshalJSON() ([]byte, error)
- func (v *NullableProjectBuildDockerfile) Set(val *ProjectBuildDockerfile)
- func (v *NullableProjectBuildDockerfile) UnmarshalJSON(src []byte) error
- func (v *NullableProjectBuildDockerfile) Unset()
- type NullableProjectInfo
- func (v NullableProjectInfo) Get() *ProjectInfo
- func (v NullableProjectInfo) IsSet() bool
- func (v NullableProjectInfo) MarshalJSON() ([]byte, error)
- func (v *NullableProjectInfo) Set(val *ProjectInfo)
- func (v *NullableProjectInfo) UnmarshalJSON(src []byte) error
- func (v *NullableProjectInfo) Unset()
- type NullableProjectState
- func (v NullableProjectState) Get() *ProjectState
- func (v NullableProjectState) IsSet() bool
- func (v NullableProjectState) MarshalJSON() ([]byte, error)
- func (v *NullableProjectState) Set(val *ProjectState)
- func (v *NullableProjectState) UnmarshalJSON(src []byte) error
- func (v *NullableProjectState) Unset()
- type NullableProvider
- type NullableProviderProviderInfo
- func (v NullableProviderProviderInfo) Get() *ProviderProviderInfo
- func (v NullableProviderProviderInfo) IsSet() bool
- func (v NullableProviderProviderInfo) MarshalJSON() ([]byte, error)
- func (v *NullableProviderProviderInfo) Set(val *ProviderProviderInfo)
- func (v *NullableProviderProviderInfo) UnmarshalJSON(src []byte) error
- func (v *NullableProviderProviderInfo) Unset()
- type NullableProviderProviderTargetProperty
- func (v NullableProviderProviderTargetProperty) Get() *ProviderProviderTargetProperty
- func (v NullableProviderProviderTargetProperty) IsSet() bool
- func (v NullableProviderProviderTargetProperty) MarshalJSON() ([]byte, error)
- func (v *NullableProviderProviderTargetProperty) Set(val *ProviderProviderTargetProperty)
- func (v *NullableProviderProviderTargetProperty) UnmarshalJSON(src []byte) error
- func (v *NullableProviderProviderTargetProperty) Unset()
- type NullableProviderProviderTargetPropertyType
- func (v NullableProviderProviderTargetPropertyType) Get() *ProviderProviderTargetPropertyType
- func (v NullableProviderProviderTargetPropertyType) IsSet() bool
- func (v NullableProviderProviderTargetPropertyType) MarshalJSON() ([]byte, error)
- func (v *NullableProviderProviderTargetPropertyType) Set(val *ProviderProviderTargetPropertyType)
- func (v *NullableProviderProviderTargetPropertyType) UnmarshalJSON(src []byte) error
- func (v *NullableProviderProviderTargetPropertyType) Unset()
- type NullableProviderTarget
- func (v NullableProviderTarget) Get() *ProviderTarget
- func (v NullableProviderTarget) IsSet() bool
- func (v NullableProviderTarget) MarshalJSON() ([]byte, error)
- func (v *NullableProviderTarget) Set(val *ProviderTarget)
- func (v *NullableProviderTarget) UnmarshalJSON(src []byte) error
- func (v *NullableProviderTarget) Unset()
- type NullableServerConfig
- func (v NullableServerConfig) Get() *ServerConfig
- func (v NullableServerConfig) IsSet() bool
- func (v NullableServerConfig) MarshalJSON() ([]byte, error)
- func (v *NullableServerConfig) Set(val *ServerConfig)
- func (v *NullableServerConfig) UnmarshalJSON(src []byte) error
- func (v *NullableServerConfig) Unset()
- type NullableSetProjectState
- func (v NullableSetProjectState) Get() *SetProjectState
- func (v NullableSetProjectState) IsSet() bool
- func (v NullableSetProjectState) MarshalJSON() ([]byte, error)
- func (v *NullableSetProjectState) Set(val *SetProjectState)
- func (v *NullableSetProjectState) UnmarshalJSON(src []byte) error
- func (v *NullableSetProjectState) Unset()
- type NullableStatus
- type NullableString
- type NullableTime
- type NullableWorkspace
- type NullableWorkspaceDTO
- func (v NullableWorkspaceDTO) Get() *WorkspaceDTO
- func (v NullableWorkspaceDTO) IsSet() bool
- func (v NullableWorkspaceDTO) MarshalJSON() ([]byte, error)
- func (v *NullableWorkspaceDTO) Set(val *WorkspaceDTO)
- func (v *NullableWorkspaceDTO) UnmarshalJSON(src []byte) error
- func (v *NullableWorkspaceDTO) Unset()
- type NullableWorkspaceInfo
- func (v NullableWorkspaceInfo) Get() *WorkspaceInfo
- func (v NullableWorkspaceInfo) IsSet() bool
- func (v NullableWorkspaceInfo) MarshalJSON() ([]byte, error)
- func (v *NullableWorkspaceInfo) Set(val *WorkspaceInfo)
- func (v *NullableWorkspaceInfo) UnmarshalJSON(src []byte) error
- func (v *NullableWorkspaceInfo) Unset()
- type ProfileAPIService
- func (a *ProfileAPIService) DeleteProfileData(ctx context.Context) ApiDeleteProfileDataRequest
- func (a *ProfileAPIService) DeleteProfileDataExecute(r ApiDeleteProfileDataRequest) (*http.Response, error)
- func (a *ProfileAPIService) GetProfileData(ctx context.Context) ApiGetProfileDataRequest
- func (a *ProfileAPIService) GetProfileDataExecute(r ApiGetProfileDataRequest) (*ProfileData, *http.Response, error)
- func (a *ProfileAPIService) SetProfileData(ctx context.Context) ApiSetProfileDataRequest
- func (a *ProfileAPIService) SetProfileDataExecute(r ApiSetProfileDataRequest) (*http.Response, error)
- type ProfileData
- func (o *ProfileData) GetEnvVars() map[string]string
- func (o *ProfileData) GetEnvVarsOk() (*map[string]string, bool)
- func (o *ProfileData) HasEnvVars() bool
- func (o ProfileData) MarshalJSON() ([]byte, error)
- func (o *ProfileData) SetEnvVars(v map[string]string)
- func (o ProfileData) ToMap() (map[string]interface{}, error)
- type Project
- func (o *Project) GetBuild() ProjectBuild
- func (o *Project) GetBuildOk() (*ProjectBuild, bool)
- func (o *Project) GetImage() string
- func (o *Project) GetImageOk() (*string, bool)
- func (o *Project) GetName() string
- func (o *Project) GetNameOk() (*string, bool)
- func (o *Project) GetPostCreateCommands() []string
- func (o *Project) GetPostCreateCommandsOk() ([]string, bool)
- func (o *Project) GetPostStartCommands() []string
- func (o *Project) GetPostStartCommandsOk() ([]string, bool)
- func (o *Project) GetRepository() GitRepository
- func (o *Project) GetRepositoryOk() (*GitRepository, bool)
- func (o *Project) GetState() ProjectState
- func (o *Project) GetStateOk() (*ProjectState, bool)
- func (o *Project) GetTarget() string
- func (o *Project) GetTargetOk() (*string, bool)
- func (o *Project) GetUser() string
- func (o *Project) GetUserOk() (*string, bool)
- func (o *Project) GetWorkspaceId() string
- func (o *Project) GetWorkspaceIdOk() (*string, bool)
- func (o *Project) HasBuild() bool
- func (o *Project) HasImage() bool
- func (o *Project) HasName() bool
- func (o *Project) HasPostCreateCommands() bool
- func (o *Project) HasPostStartCommands() bool
- func (o *Project) HasRepository() bool
- func (o *Project) HasState() bool
- func (o *Project) HasTarget() bool
- func (o *Project) HasUser() bool
- func (o *Project) HasWorkspaceId() bool
- func (o Project) MarshalJSON() ([]byte, error)
- func (o *Project) SetBuild(v ProjectBuild)
- func (o *Project) SetImage(v string)
- func (o *Project) SetName(v string)
- func (o *Project) SetPostCreateCommands(v []string)
- func (o *Project) SetPostStartCommands(v []string)
- func (o *Project) SetRepository(v GitRepository)
- func (o *Project) SetState(v ProjectState)
- func (o *Project) SetTarget(v string)
- func (o *Project) SetUser(v string)
- func (o *Project) SetWorkspaceId(v string)
- func (o Project) ToMap() (map[string]interface{}, error)
- type ProjectBuild
- func (o *ProjectBuild) GetDevcontainer() ProjectBuildDevcontainer
- func (o *ProjectBuild) GetDevcontainerOk() (*ProjectBuildDevcontainer, bool)
- func (o *ProjectBuild) HasDevcontainer() bool
- func (o ProjectBuild) MarshalJSON() ([]byte, error)
- func (o *ProjectBuild) SetDevcontainer(v ProjectBuildDevcontainer)
- func (o ProjectBuild) ToMap() (map[string]interface{}, error)
- type ProjectBuildDevcontainer
- func (o *ProjectBuildDevcontainer) GetDevContainerFilePath() string
- func (o *ProjectBuildDevcontainer) GetDevContainerFilePathOk() (*string, bool)
- func (o *ProjectBuildDevcontainer) HasDevContainerFilePath() bool
- func (o ProjectBuildDevcontainer) MarshalJSON() ([]byte, error)
- func (o *ProjectBuildDevcontainer) SetDevContainerFilePath(v string)
- func (o ProjectBuildDevcontainer) ToMap() (map[string]interface{}, error)
- type ProjectBuildDockerfile
- func (o *ProjectBuildDockerfile) GetArgs() map[string]string
- func (o *ProjectBuildDockerfile) GetArgsOk() (*map[string]string, bool)
- func (o *ProjectBuildDockerfile) GetContext() string
- func (o *ProjectBuildDockerfile) GetContextOk() (*string, bool)
- func (o *ProjectBuildDockerfile) GetDockerfile() string
- func (o *ProjectBuildDockerfile) GetDockerfileOk() (*string, bool)
- func (o *ProjectBuildDockerfile) HasArgs() bool
- func (o *ProjectBuildDockerfile) HasContext() bool
- func (o *ProjectBuildDockerfile) HasDockerfile() bool
- func (o ProjectBuildDockerfile) MarshalJSON() ([]byte, error)
- func (o *ProjectBuildDockerfile) SetArgs(v map[string]string)
- func (o *ProjectBuildDockerfile) SetContext(v string)
- func (o *ProjectBuildDockerfile) SetDockerfile(v string)
- func (o ProjectBuildDockerfile) ToMap() (map[string]interface{}, error)
- type ProjectInfo
- func (o *ProjectInfo) GetCreated() string
- func (o *ProjectInfo) GetCreatedOk() (*string, bool)
- func (o *ProjectInfo) GetIsRunning() bool
- func (o *ProjectInfo) GetIsRunningOk() (*bool, bool)
- func (o *ProjectInfo) GetName() string
- func (o *ProjectInfo) GetNameOk() (*string, bool)
- func (o *ProjectInfo) GetProviderMetadata() string
- func (o *ProjectInfo) GetProviderMetadataOk() (*string, bool)
- func (o *ProjectInfo) GetWorkspaceId() string
- func (o *ProjectInfo) GetWorkspaceIdOk() (*string, bool)
- func (o *ProjectInfo) HasCreated() bool
- func (o *ProjectInfo) HasIsRunning() bool
- func (o *ProjectInfo) HasName() bool
- func (o *ProjectInfo) HasProviderMetadata() bool
- func (o *ProjectInfo) HasWorkspaceId() bool
- func (o ProjectInfo) MarshalJSON() ([]byte, error)
- func (o *ProjectInfo) SetCreated(v string)
- func (o *ProjectInfo) SetIsRunning(v bool)
- func (o *ProjectInfo) SetName(v string)
- func (o *ProjectInfo) SetProviderMetadata(v string)
- func (o *ProjectInfo) SetWorkspaceId(v string)
- func (o ProjectInfo) ToMap() (map[string]interface{}, error)
- type ProjectState
- func (o *ProjectState) GetGitStatus() GitStatus
- func (o *ProjectState) GetGitStatusOk() (*GitStatus, bool)
- func (o *ProjectState) GetUpdatedAt() string
- func (o *ProjectState) GetUpdatedAtOk() (*string, bool)
- func (o *ProjectState) GetUptime() int32
- func (o *ProjectState) GetUptimeOk() (*int32, bool)
- func (o *ProjectState) HasGitStatus() bool
- func (o *ProjectState) HasUpdatedAt() bool
- func (o *ProjectState) HasUptime() bool
- func (o ProjectState) MarshalJSON() ([]byte, error)
- func (o *ProjectState) SetGitStatus(v GitStatus)
- func (o *ProjectState) SetUpdatedAt(v string)
- func (o *ProjectState) SetUptime(v int32)
- func (o ProjectState) ToMap() (map[string]interface{}, error)
- type Provider
- func (o *Provider) GetName() string
- func (o *Provider) GetNameOk() (*string, bool)
- func (o *Provider) GetVersion() string
- func (o *Provider) GetVersionOk() (*string, bool)
- func (o *Provider) HasName() bool
- func (o *Provider) HasVersion() bool
- func (o Provider) MarshalJSON() ([]byte, error)
- func (o *Provider) SetName(v string)
- func (o *Provider) SetVersion(v string)
- func (o Provider) ToMap() (map[string]interface{}, error)
- type ProviderAPIService
- func (a *ProviderAPIService) GetTargetManifest(ctx context.Context, provider string) ApiGetTargetManifestRequest
- func (a *ProviderAPIService) GetTargetManifestExecute(r ApiGetTargetManifestRequest) (*map[string]ProviderProviderTargetProperty, *http.Response, error)
- func (a *ProviderAPIService) InstallProvider(ctx context.Context) ApiInstallProviderRequest
- func (a *ProviderAPIService) InstallProviderExecute(r ApiInstallProviderRequest) (*http.Response, error)
- func (a *ProviderAPIService) ListProviders(ctx context.Context) ApiListProvidersRequest
- func (a *ProviderAPIService) ListProvidersExecute(r ApiListProvidersRequest) ([]Provider, *http.Response, error)
- func (a *ProviderAPIService) UninstallProvider(ctx context.Context, provider string) ApiUninstallProviderRequest
- func (a *ProviderAPIService) UninstallProviderExecute(r ApiUninstallProviderRequest) (*http.Response, error)
- type ProviderProviderInfo
- func (o *ProviderProviderInfo) GetName() string
- func (o *ProviderProviderInfo) GetNameOk() (*string, bool)
- func (o *ProviderProviderInfo) GetVersion() string
- func (o *ProviderProviderInfo) GetVersionOk() (*string, bool)
- func (o *ProviderProviderInfo) HasName() bool
- func (o *ProviderProviderInfo) HasVersion() bool
- func (o ProviderProviderInfo) MarshalJSON() ([]byte, error)
- func (o *ProviderProviderInfo) SetName(v string)
- func (o *ProviderProviderInfo) SetVersion(v string)
- func (o ProviderProviderInfo) ToMap() (map[string]interface{}, error)
- type ProviderProviderTargetProperty
- func (o *ProviderProviderTargetProperty) GetDefaultValue() string
- func (o *ProviderProviderTargetProperty) GetDefaultValueOk() (*string, bool)
- func (o *ProviderProviderTargetProperty) GetDescription() string
- func (o *ProviderProviderTargetProperty) GetDescriptionOk() (*string, bool)
- func (o *ProviderProviderTargetProperty) GetDisabledPredicate() string
- func (o *ProviderProviderTargetProperty) GetDisabledPredicateOk() (*string, bool)
- func (o *ProviderProviderTargetProperty) GetInputMasked() bool
- func (o *ProviderProviderTargetProperty) GetInputMaskedOk() (*bool, bool)
- func (o *ProviderProviderTargetProperty) GetOptions() []string
- func (o *ProviderProviderTargetProperty) GetOptionsOk() ([]string, bool)
- func (o *ProviderProviderTargetProperty) GetType() ProviderProviderTargetPropertyType
- func (o *ProviderProviderTargetProperty) GetTypeOk() (*ProviderProviderTargetPropertyType, bool)
- func (o *ProviderProviderTargetProperty) HasDefaultValue() bool
- func (o *ProviderProviderTargetProperty) HasDescription() bool
- func (o *ProviderProviderTargetProperty) HasDisabledPredicate() bool
- func (o *ProviderProviderTargetProperty) HasInputMasked() bool
- func (o *ProviderProviderTargetProperty) HasOptions() bool
- func (o *ProviderProviderTargetProperty) HasType() bool
- func (o ProviderProviderTargetProperty) MarshalJSON() ([]byte, error)
- func (o *ProviderProviderTargetProperty) SetDefaultValue(v string)
- func (o *ProviderProviderTargetProperty) SetDescription(v string)
- func (o *ProviderProviderTargetProperty) SetDisabledPredicate(v string)
- func (o *ProviderProviderTargetProperty) SetInputMasked(v bool)
- func (o *ProviderProviderTargetProperty) SetOptions(v []string)
- func (o *ProviderProviderTargetProperty) SetType(v ProviderProviderTargetPropertyType)
- func (o ProviderProviderTargetProperty) ToMap() (map[string]interface{}, error)
- type ProviderProviderTargetPropertyType
- type ProviderTarget
- func (o *ProviderTarget) GetName() string
- func (o *ProviderTarget) GetNameOk() (*string, bool)
- func (o *ProviderTarget) GetOptions() string
- func (o *ProviderTarget) GetOptionsOk() (*string, bool)
- func (o *ProviderTarget) GetProviderInfo() ProviderProviderInfo
- func (o *ProviderTarget) GetProviderInfoOk() (*ProviderProviderInfo, bool)
- func (o *ProviderTarget) HasName() bool
- func (o *ProviderTarget) HasOptions() bool
- func (o *ProviderTarget) HasProviderInfo() bool
- func (o ProviderTarget) MarshalJSON() ([]byte, error)
- func (o *ProviderTarget) SetName(v string)
- func (o *ProviderTarget) SetOptions(v string)
- func (o *ProviderTarget) SetProviderInfo(v ProviderProviderInfo)
- func (o ProviderTarget) ToMap() (map[string]interface{}, error)
- type ServerAPIService
- func (a *ServerAPIService) GenerateNetworkKey(ctx context.Context) ApiGenerateNetworkKeyRequest
- func (a *ServerAPIService) GenerateNetworkKeyExecute(r ApiGenerateNetworkKeyRequest) (*NetworkKey, *http.Response, error)
- func (a *ServerAPIService) GetConfig(ctx context.Context) ApiGetConfigRequest
- func (a *ServerAPIService) GetConfigExecute(r ApiGetConfigRequest) (*ServerConfig, *http.Response, error)
- func (a *ServerAPIService) SetConfig(ctx context.Context) ApiSetConfigRequest
- func (a *ServerAPIService) SetConfigExecute(r ApiSetConfigRequest) (*ServerConfig, *http.Response, error)
- type ServerConfig
- func (o *ServerConfig) GetApiPort() int32
- func (o *ServerConfig) GetApiPortOk() (*int32, bool)
- func (o *ServerConfig) GetBinariesPath() string
- func (o *ServerConfig) GetBinariesPathOk() (*string, bool)
- func (o *ServerConfig) GetBuildImageNamespace() string
- func (o *ServerConfig) GetBuildImageNamespaceOk() (*string, bool)
- func (o *ServerConfig) GetBuilderImage() string
- func (o *ServerConfig) GetBuilderImageOk() (*string, bool)
- func (o *ServerConfig) GetBuilderRegistryServer() string
- func (o *ServerConfig) GetBuilderRegistryServerOk() (*string, bool)
- func (o *ServerConfig) GetDefaultProjectImage() string
- func (o *ServerConfig) GetDefaultProjectImageOk() (*string, bool)
- func (o *ServerConfig) GetDefaultProjectPostStartCommands() []string
- func (o *ServerConfig) GetDefaultProjectPostStartCommandsOk() ([]string, bool)
- func (o *ServerConfig) GetDefaultProjectUser() string
- func (o *ServerConfig) GetDefaultProjectUserOk() (*string, bool)
- func (o *ServerConfig) GetFrps() FRPSConfig
- func (o *ServerConfig) GetFrpsOk() (*FRPSConfig, bool)
- func (o *ServerConfig) GetHeadscalePort() int32
- func (o *ServerConfig) GetHeadscalePortOk() (*int32, bool)
- func (o *ServerConfig) GetId() string
- func (o *ServerConfig) GetIdOk() (*string, bool)
- func (o *ServerConfig) GetLocalBuilderRegistryPort() int32
- func (o *ServerConfig) GetLocalBuilderRegistryPortOk() (*int32, bool)
- func (o *ServerConfig) GetLogFilePath() string
- func (o *ServerConfig) GetLogFilePathOk() (*string, bool)
- func (o *ServerConfig) GetProvidersDir() string
- func (o *ServerConfig) GetProvidersDirOk() (*string, bool)
- func (o *ServerConfig) GetRegistryUrl() string
- func (o *ServerConfig) GetRegistryUrlOk() (*string, bool)
- func (o *ServerConfig) GetServerDownloadUrl() string
- func (o *ServerConfig) GetServerDownloadUrlOk() (*string, bool)
- func (o *ServerConfig) HasApiPort() bool
- func (o *ServerConfig) HasBinariesPath() bool
- func (o *ServerConfig) HasBuildImageNamespace() bool
- func (o *ServerConfig) HasBuilderImage() bool
- func (o *ServerConfig) HasBuilderRegistryServer() bool
- func (o *ServerConfig) HasDefaultProjectImage() bool
- func (o *ServerConfig) HasDefaultProjectPostStartCommands() bool
- func (o *ServerConfig) HasDefaultProjectUser() bool
- func (o *ServerConfig) HasFrps() bool
- func (o *ServerConfig) HasHeadscalePort() bool
- func (o *ServerConfig) HasId() bool
- func (o *ServerConfig) HasLocalBuilderRegistryPort() bool
- func (o *ServerConfig) HasLogFilePath() bool
- func (o *ServerConfig) HasProvidersDir() bool
- func (o *ServerConfig) HasRegistryUrl() bool
- func (o *ServerConfig) HasServerDownloadUrl() bool
- func (o ServerConfig) MarshalJSON() ([]byte, error)
- func (o *ServerConfig) SetApiPort(v int32)
- func (o *ServerConfig) SetBinariesPath(v string)
- func (o *ServerConfig) SetBuildImageNamespace(v string)
- func (o *ServerConfig) SetBuilderImage(v string)
- func (o *ServerConfig) SetBuilderRegistryServer(v string)
- func (o *ServerConfig) SetDefaultProjectImage(v string)
- func (o *ServerConfig) SetDefaultProjectPostStartCommands(v []string)
- func (o *ServerConfig) SetDefaultProjectUser(v string)
- func (o *ServerConfig) SetFrps(v FRPSConfig)
- func (o *ServerConfig) SetHeadscalePort(v int32)
- func (o *ServerConfig) SetId(v string)
- func (o *ServerConfig) SetLocalBuilderRegistryPort(v int32)
- func (o *ServerConfig) SetLogFilePath(v string)
- func (o *ServerConfig) SetProvidersDir(v string)
- func (o *ServerConfig) SetRegistryUrl(v string)
- func (o *ServerConfig) SetServerDownloadUrl(v string)
- func (o ServerConfig) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SetProjectState
- func (o *SetProjectState) GetGitStatus() GitStatus
- func (o *SetProjectState) GetGitStatusOk() (*GitStatus, bool)
- func (o *SetProjectState) GetUptime() int32
- func (o *SetProjectState) GetUptimeOk() (*int32, bool)
- func (o *SetProjectState) HasGitStatus() bool
- func (o *SetProjectState) HasUptime() bool
- func (o SetProjectState) MarshalJSON() ([]byte, error)
- func (o *SetProjectState) SetGitStatus(v GitStatus)
- func (o *SetProjectState) SetUptime(v int32)
- func (o SetProjectState) ToMap() (map[string]interface{}, error)
- type Status
- type TargetAPIService
- func (a *TargetAPIService) ListTargets(ctx context.Context) ApiListTargetsRequest
- func (a *TargetAPIService) ListTargetsExecute(r ApiListTargetsRequest) ([]ProviderTarget, *http.Response, error)
- func (a *TargetAPIService) RemoveTarget(ctx context.Context, target string) ApiRemoveTargetRequest
- func (a *TargetAPIService) RemoveTargetExecute(r ApiRemoveTargetRequest) (*http.Response, error)
- func (a *TargetAPIService) SetTarget(ctx context.Context) ApiSetTargetRequest
- func (a *TargetAPIService) SetTargetExecute(r ApiSetTargetRequest) (*http.Response, error)
- type Workspace
- func (o *Workspace) GetId() string
- func (o *Workspace) GetIdOk() (*string, bool)
- func (o *Workspace) GetName() string
- func (o *Workspace) GetNameOk() (*string, bool)
- func (o *Workspace) GetProjects() []Project
- func (o *Workspace) GetProjectsOk() ([]Project, bool)
- func (o *Workspace) GetTarget() string
- func (o *Workspace) GetTargetOk() (*string, bool)
- func (o *Workspace) HasId() bool
- func (o *Workspace) HasName() bool
- func (o *Workspace) HasProjects() bool
- func (o *Workspace) HasTarget() bool
- func (o Workspace) MarshalJSON() ([]byte, error)
- func (o *Workspace) SetId(v string)
- func (o *Workspace) SetName(v string)
- func (o *Workspace) SetProjects(v []Project)
- func (o *Workspace) SetTarget(v string)
- func (o Workspace) ToMap() (map[string]interface{}, error)
- type WorkspaceAPIService
- func (a *WorkspaceAPIService) CreateWorkspace(ctx context.Context) ApiCreateWorkspaceRequest
- func (a *WorkspaceAPIService) CreateWorkspaceExecute(r ApiCreateWorkspaceRequest) (*Workspace, *http.Response, error)
- func (a *WorkspaceAPIService) GetWorkspace(ctx context.Context, workspaceId string) ApiGetWorkspaceRequest
- func (a *WorkspaceAPIService) GetWorkspaceExecute(r ApiGetWorkspaceRequest) (*WorkspaceDTO, *http.Response, error)
- func (a *WorkspaceAPIService) ListWorkspaces(ctx context.Context) ApiListWorkspacesRequest
- func (a *WorkspaceAPIService) ListWorkspacesExecute(r ApiListWorkspacesRequest) ([]WorkspaceDTO, *http.Response, error)
- func (a *WorkspaceAPIService) RemoveWorkspace(ctx context.Context, workspaceId string) ApiRemoveWorkspaceRequest
- func (a *WorkspaceAPIService) RemoveWorkspaceExecute(r ApiRemoveWorkspaceRequest) (*http.Response, error)
- func (a *WorkspaceAPIService) SetProjectState(ctx context.Context, workspaceId string, projectId string) ApiSetProjectStateRequest
- func (a *WorkspaceAPIService) SetProjectStateExecute(r ApiSetProjectStateRequest) (*http.Response, error)
- func (a *WorkspaceAPIService) StartProject(ctx context.Context, workspaceId string, projectId string) ApiStartProjectRequest
- func (a *WorkspaceAPIService) StartProjectExecute(r ApiStartProjectRequest) (*http.Response, error)
- func (a *WorkspaceAPIService) StartWorkspace(ctx context.Context, workspaceId string) ApiStartWorkspaceRequest
- func (a *WorkspaceAPIService) StartWorkspaceExecute(r ApiStartWorkspaceRequest) (*http.Response, error)
- func (a *WorkspaceAPIService) StopProject(ctx context.Context, workspaceId string, projectId string) ApiStopProjectRequest
- func (a *WorkspaceAPIService) StopProjectExecute(r ApiStopProjectRequest) (*http.Response, error)
- func (a *WorkspaceAPIService) StopWorkspace(ctx context.Context, workspaceId string) ApiStopWorkspaceRequest
- func (a *WorkspaceAPIService) StopWorkspaceExecute(r ApiStopWorkspaceRequest) (*http.Response, error)
- type WorkspaceDTO
- func (o *WorkspaceDTO) GetId() string
- func (o *WorkspaceDTO) GetIdOk() (*string, bool)
- func (o *WorkspaceDTO) GetInfo() WorkspaceInfo
- func (o *WorkspaceDTO) GetInfoOk() (*WorkspaceInfo, bool)
- func (o *WorkspaceDTO) GetName() string
- func (o *WorkspaceDTO) GetNameOk() (*string, bool)
- func (o *WorkspaceDTO) GetProjects() []Project
- func (o *WorkspaceDTO) GetProjectsOk() ([]Project, bool)
- func (o *WorkspaceDTO) GetTarget() string
- func (o *WorkspaceDTO) GetTargetOk() (*string, bool)
- func (o *WorkspaceDTO) HasId() bool
- func (o *WorkspaceDTO) HasInfo() bool
- func (o *WorkspaceDTO) HasName() bool
- func (o *WorkspaceDTO) HasProjects() bool
- func (o *WorkspaceDTO) HasTarget() bool
- func (o WorkspaceDTO) MarshalJSON() ([]byte, error)
- func (o *WorkspaceDTO) SetId(v string)
- func (o *WorkspaceDTO) SetInfo(v WorkspaceInfo)
- func (o *WorkspaceDTO) SetName(v string)
- func (o *WorkspaceDTO) SetProjects(v []Project)
- func (o *WorkspaceDTO) SetTarget(v string)
- func (o WorkspaceDTO) ToMap() (map[string]interface{}, error)
- type WorkspaceInfo
- func (o *WorkspaceInfo) GetName() string
- func (o *WorkspaceInfo) GetNameOk() (*string, bool)
- func (o *WorkspaceInfo) GetProjects() []ProjectInfo
- func (o *WorkspaceInfo) GetProjectsOk() ([]ProjectInfo, bool)
- func (o *WorkspaceInfo) GetProviderMetadata() string
- func (o *WorkspaceInfo) GetProviderMetadataOk() (*string, bool)
- func (o *WorkspaceInfo) HasName() bool
- func (o *WorkspaceInfo) HasProjects() bool
- func (o *WorkspaceInfo) HasProviderMetadata() bool
- func (o WorkspaceInfo) MarshalJSON() ([]byte, error)
- func (o *WorkspaceInfo) SetName(v string)
- func (o *WorkspaceInfo) SetProjects(v []ProjectInfo)
- func (o *WorkspaceInfo) SetProviderMetadata(v string)
- func (o WorkspaceInfo) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var (
JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
var (
// ContextAPIKeys takes a string apikey as authentication for the request
ContextAPIKeys = contextKey("apiKeys")
// ContextServerIndex uses a server configuration from the index.
ContextServerIndex = contextKey("serverIndex")
// ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerIndices = contextKey("serverOperationIndices")
// ContextServerVariables overrides a server configuration variables.
ContextServerVariables = contextKey("serverVariables")
// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextOperationServerVariables = contextKey("serverOperationVariables")
)
var AllowedApikeyApiKeyTypeEnumValues = []ApikeyApiKeyType{
"client",
"project",
"workspace",
}
All allowed values of ApikeyApiKeyType enum
var AllowedProviderProviderTargetPropertyTypeEnumValues = []ProviderProviderTargetPropertyType{
"string",
"option",
"boolean",
"int",
"float",
"file-path",
}
All allowed values of ProviderProviderTargetPropertyType enum
var AllowedStatusEnumValues = []Status{
"Unmodified",
"Untracked",
"Modified",
"Added",
"Deleted",
"Renamed",
"Copied",
"Updated but unmerged",
}
All allowed values of Status enum
Functions ¶
func CacheExpires ¶
func CacheExpires(r *http.Response) time.Time
CacheExpires helper function to determine remaining time before repeating a request.
func PtrBool ¶
func PtrBool(v bool) *bool
PtrBool is a helper routine that returns a pointer to given boolean value.
func PtrFloat32 ¶
func PtrFloat32(v float32) *float32
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
func PtrFloat64(v float64) *float64
PtrFloat64 is a helper routine that returns a pointer to given float value.
func PtrInt ¶
func PtrInt(v int) *int
PtrInt is a helper routine that returns a pointer to given integer value.
func PtrInt32 ¶
func PtrInt32(v int32) *int32
PtrInt32 is a helper routine that returns a pointer to given integer value.
func PtrInt64 ¶
func PtrInt64(v int64) *int64
PtrInt64 is a helper routine that returns a pointer to given integer value.
Types ¶
type APIClient ¶
type APIClient struct {
ApiKeyAPI *ApiKeyAPIService
ContainerRegistryAPI *ContainerRegistryAPIService
GitProviderAPI *GitProviderAPIService
ProfileAPI *ProfileAPIService
ProviderAPI *ProviderAPIService
ServerAPI *ServerAPIService
TargetAPI *TargetAPIService
WorkspaceAPI *WorkspaceAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the Daytona Server API API v0.1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
type APIKey ¶
type APIKey struct {
Key string
Prefix string
}
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateWorkspaceRequest ¶
type ApiCreateWorkspaceRequest struct {
ApiService *WorkspaceAPIService
// contains filtered or unexported fields
}
type ApiDeleteProfileDataRequest ¶
type ApiDeleteProfileDataRequest struct {
ApiService *ProfileAPIService
// contains filtered or unexported fields
}
type ApiGenerateApiKeyRequest ¶
type ApiGenerateApiKeyRequest struct {
ApiService *ApiKeyAPIService
// contains filtered or unexported fields
}
type ApiGenerateNetworkKeyRequest ¶
type ApiGenerateNetworkKeyRequest struct {
ApiService *ServerAPIService
// contains filtered or unexported fields
}
type ApiGetConfigRequest ¶
type ApiGetConfigRequest struct {
ApiService *ServerAPIService
// contains filtered or unexported fields
}
type ApiGetContainerRegistryRequest ¶
type ApiGetContainerRegistryRequest struct {
ApiService *ContainerRegistryAPIService
// contains filtered or unexported fields
}
type ApiGetGitContextRequest ¶
type ApiGetGitContextRequest struct {
ApiService *GitProviderAPIService
// contains filtered or unexported fields
}
type ApiGetGitProviderForUrlRequest ¶
type ApiGetGitProviderForUrlRequest struct {
ApiService *GitProviderAPIService
// contains filtered or unexported fields
}
type ApiGetGitUserRequest ¶
type ApiGetGitUserRequest struct {
ApiService *GitProviderAPIService
// contains filtered or unexported fields
}
type ApiGetNamespacesRequest ¶
type ApiGetNamespacesRequest struct {
ApiService *GitProviderAPIService
// contains filtered or unexported fields
}
type ApiGetProfileDataRequest ¶
type ApiGetProfileDataRequest struct {
ApiService *ProfileAPIService
// contains filtered or unexported fields
}
type ApiGetRepoBranchesRequest ¶
type ApiGetRepoBranchesRequest struct {
ApiService *GitProviderAPIService
// contains filtered or unexported fields
}
type ApiGetRepoPRsRequest ¶
type ApiGetRepoPRsRequest struct {
ApiService *GitProviderAPIService
// contains filtered or unexported fields
}
type ApiGetRepositoriesRequest ¶
type ApiGetRepositoriesRequest struct {
ApiService *GitProviderAPIService
// contains filtered or unexported fields
}
type ApiGetTargetManifestRequest ¶
type ApiGetTargetManifestRequest struct {
ApiService *ProviderAPIService
// contains filtered or unexported fields
}
type ApiGetWorkspaceRequest ¶
type ApiGetWorkspaceRequest struct {
ApiService *WorkspaceAPIService
// contains filtered or unexported fields
}
type ApiInstallProviderRequest ¶
type ApiInstallProviderRequest struct {
ApiService *ProviderAPIService
// contains filtered or unexported fields
}
type ApiKey ¶
type ApiKey struct {
KeyHash *string `json:"keyHash,omitempty"`
// Project or client name
Name *string `json:"name,omitempty"`
Type *ApikeyApiKeyType `json:"type,omitempty"`
}
ApiKey struct for ApiKey
func NewApiKey ¶
func NewApiKey() *ApiKey
NewApiKey instantiates a new ApiKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiKeyWithDefaults ¶
func NewApiKeyWithDefaults() *ApiKey
NewApiKeyWithDefaults instantiates a new ApiKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiKey) GetKeyHash ¶
func (o *ApiKey) GetKeyHash() string
GetKeyHash returns the KeyHash field value if set, zero value otherwise.
func (*ApiKey) GetKeyHashOk ¶
func (o *ApiKey) GetKeyHashOk() (*string, bool)
GetKeyHashOk returns a tuple with the KeyHash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKey) GetName ¶
func (o *ApiKey) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ApiKey) GetNameOk ¶
func (o *ApiKey) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKey) GetType ¶
func (o *ApiKey) GetType() ApikeyApiKeyType
GetType returns the Type field value if set, zero value otherwise.
func (*ApiKey) GetTypeOk ¶
func (o *ApiKey) GetTypeOk() (*ApikeyApiKeyType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKey) HasKeyHash ¶
func (o *ApiKey) HasKeyHash() bool
HasKeyHash returns a boolean if a field has been set.
func (*ApiKey) HasName ¶
func (o *ApiKey) HasName() bool
HasName returns a boolean if a field has been set.
func (*ApiKey) HasType ¶
func (o *ApiKey) HasType() bool
HasType returns a boolean if a field has been set.
func (ApiKey) MarshalJSON ¶
func (o ApiKey) MarshalJSON() ([]byte, error)
func (*ApiKey) SetKeyHash ¶
func (o *ApiKey) SetKeyHash(v string)
SetKeyHash gets a reference to the given string and assigns it to the KeyHash field.
func (*ApiKey) SetName ¶
func (o *ApiKey) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type ApiKeyAPIService ¶
type ApiKeyAPIService service
ApiKeyAPIService ApiKeyAPI service
func (*ApiKeyAPIService) GenerateApiKey ¶
func (a *ApiKeyAPIService) GenerateApiKey(ctx context.Context, apiKeyName string) ApiGenerateApiKeyRequest
GenerateApiKey Generate an API key
Generate an API key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param apiKeyName API key name
@return ApiGenerateApiKeyRequest
func (*ApiKeyAPIService) GenerateApiKeyExecute ¶
func (a *ApiKeyAPIService) GenerateApiKeyExecute(r ApiGenerateApiKeyRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ApiKeyAPIService) ListClientApiKeys ¶
func (a *ApiKeyAPIService) ListClientApiKeys(ctx context.Context) ApiListClientApiKeysRequest
ListClientApiKeys List API keys
List API keys
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListClientApiKeysRequest
func (*ApiKeyAPIService) ListClientApiKeysExecute ¶
func (a *ApiKeyAPIService) ListClientApiKeysExecute(r ApiListClientApiKeysRequest) ([]ApiKey, *http.Response, error)
Execute executes the request
@return []ApiKey
func (*ApiKeyAPIService) RevokeApiKey ¶
func (a *ApiKeyAPIService) RevokeApiKey(ctx context.Context, apiKeyName string) ApiRevokeApiKeyRequest
RevokeApiKey Revoke API key
Revoke API key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param apiKeyName API key name
@return ApiRevokeApiKeyRequest
func (*ApiKeyAPIService) RevokeApiKeyExecute ¶
func (a *ApiKeyAPIService) RevokeApiKeyExecute(r ApiRevokeApiKeyRequest) (*http.Response, error)
Execute executes the request
type ApiListClientApiKeysRequest ¶
type ApiListClientApiKeysRequest struct {
ApiService *ApiKeyAPIService
// contains filtered or unexported fields
}
type ApiListContainerRegistriesRequest ¶
type ApiListContainerRegistriesRequest struct {
ApiService *ContainerRegistryAPIService
// contains filtered or unexported fields
}
type ApiListGitProvidersRequest ¶
type ApiListGitProvidersRequest struct {
ApiService *GitProviderAPIService
// contains filtered or unexported fields
}
type ApiListProvidersRequest ¶
type ApiListProvidersRequest struct {
ApiService *ProviderAPIService
// contains filtered or unexported fields
}
type ApiListTargetsRequest ¶
type ApiListTargetsRequest struct {
ApiService *TargetAPIService
// contains filtered or unexported fields
}
type ApiListWorkspacesRequest ¶
type ApiListWorkspacesRequest struct {
ApiService *WorkspaceAPIService
// contains filtered or unexported fields
}
type ApiRemoveContainerRegistryRequest ¶
type ApiRemoveContainerRegistryRequest struct {
ApiService *ContainerRegistryAPIService
// contains filtered or unexported fields
}
type ApiRemoveGitProviderRequest ¶
type ApiRemoveGitProviderRequest struct {
ApiService *GitProviderAPIService
// contains filtered or unexported fields
}
type ApiRemoveTargetRequest ¶
type ApiRemoveTargetRequest struct {
ApiService *TargetAPIService
// contains filtered or unexported fields
}
type ApiRemoveWorkspaceRequest ¶
type ApiRemoveWorkspaceRequest struct {
ApiService *WorkspaceAPIService
// contains filtered or unexported fields
}
type ApiRevokeApiKeyRequest ¶
type ApiRevokeApiKeyRequest struct {
ApiService *ApiKeyAPIService
// contains filtered or unexported fields
}
type ApiSetConfigRequest ¶
type ApiSetConfigRequest struct {
ApiService *ServerAPIService
// contains filtered or unexported fields
}
type ApiSetContainerRegistryRequest ¶
type ApiSetContainerRegistryRequest struct {
ApiService *ContainerRegistryAPIService
// contains filtered or unexported fields
}
func (ApiSetContainerRegistryRequest) ContainerRegistry ¶
func (r ApiSetContainerRegistryRequest) ContainerRegistry(containerRegistry ContainerRegistry) ApiSetContainerRegistryRequest
Container Registry credentials to set
type ApiSetGitProviderRequest ¶
type ApiSetGitProviderRequest struct {
ApiService *GitProviderAPIService
// contains filtered or unexported fields
}
func (ApiSetGitProviderRequest) Execute ¶
func (r ApiSetGitProviderRequest) Execute() (*http.Response, error)
func (ApiSetGitProviderRequest) GitProviderConfig ¶
func (r ApiSetGitProviderRequest) GitProviderConfig(gitProviderConfig GitProvider) ApiSetGitProviderRequest
Git provider
type ApiSetProfileDataRequest ¶
type ApiSetProfileDataRequest struct {
ApiService *ProfileAPIService
// contains filtered or unexported fields
}
func (ApiSetProfileDataRequest) Execute ¶
func (r ApiSetProfileDataRequest) Execute() (*http.Response, error)
func (ApiSetProfileDataRequest) ProfileData ¶
func (r ApiSetProfileDataRequest) ProfileData(profileData ProfileData) ApiSetProfileDataRequest
Profile data
type ApiSetProjectStateRequest ¶
type ApiSetProjectStateRequest struct {
ApiService *WorkspaceAPIService
// contains filtered or unexported fields
}
type ApiSetTargetRequest ¶
type ApiSetTargetRequest struct {
ApiService *TargetAPIService
// contains filtered or unexported fields
}
type ApiStartProjectRequest ¶
type ApiStartProjectRequest struct {
ApiService *WorkspaceAPIService
// contains filtered or unexported fields
}
type ApiStartWorkspaceRequest ¶
type ApiStartWorkspaceRequest struct {
ApiService *WorkspaceAPIService
// contains filtered or unexported fields
}
type ApiStopProjectRequest ¶
type ApiStopProjectRequest struct {
ApiService *WorkspaceAPIService
// contains filtered or unexported fields
}
type ApiStopWorkspaceRequest ¶
type ApiStopWorkspaceRequest struct {
ApiService *WorkspaceAPIService
// contains filtered or unexported fields
}
type ApiUninstallProviderRequest ¶
type ApiUninstallProviderRequest struct {
ApiService *ProviderAPIService
// contains filtered or unexported fields
}
type ApikeyApiKeyType ¶
type ApikeyApiKeyType string
ApikeyApiKeyType the model 'ApikeyApiKeyType'
const (
ApiKeyTypeClient ApikeyApiKeyType = "client"
ApiKeyTypeProject ApikeyApiKeyType = "project"
ApiKeyTypeWorkspace ApikeyApiKeyType = "workspace"
)
List of apikey.ApiKeyType
func NewApikeyApiKeyTypeFromValue ¶
func NewApikeyApiKeyTypeFromValue(v string) (*ApikeyApiKeyType, error)
NewApikeyApiKeyTypeFromValue returns a pointer to a valid ApikeyApiKeyType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ApikeyApiKeyType) IsValid ¶
func (v ApikeyApiKeyType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ApikeyApiKeyType) Ptr ¶
func (v ApikeyApiKeyType) Ptr() *ApikeyApiKeyType
Ptr returns reference to apikey.ApiKeyType value
func (*ApikeyApiKeyType) UnmarshalJSON ¶
func (v *ApikeyApiKeyType) UnmarshalJSON(src []byte) error
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURL ¶
func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)
ServerURL returns URL based on server settings
func (*Configuration) ServerURLWithContext ¶
func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)
ServerURLWithContext returns a new server URL given an endpoint
type ContainerRegistry ¶
type ContainerRegistry struct {
Password *string `json:"password,omitempty"`
Server *string `json:"server,omitempty"`
Username *string `json:"username,omitempty"`
}
ContainerRegistry struct for ContainerRegistry
func NewContainerRegistry ¶
func NewContainerRegistry() *ContainerRegistry
NewContainerRegistry instantiates a new ContainerRegistry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerRegistryWithDefaults ¶
func NewContainerRegistryWithDefaults() *ContainerRegistry
NewContainerRegistryWithDefaults instantiates a new ContainerRegistry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ContainerRegistry) GetPassword ¶
func (o *ContainerRegistry) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*ContainerRegistry) GetPasswordOk ¶
func (o *ContainerRegistry) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContainerRegistry) GetServer ¶
func (o *ContainerRegistry) GetServer() string
GetServer returns the Server field value if set, zero value otherwise.
func (*ContainerRegistry) GetServerOk ¶
func (o *ContainerRegistry) GetServerOk() (*string, bool)
GetServerOk returns a tuple with the Server field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContainerRegistry) GetUsername ¶
func (o *ContainerRegistry) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*ContainerRegistry) GetUsernameOk ¶
func (o *ContainerRegistry) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContainerRegistry) HasPassword ¶
func (o *ContainerRegistry) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*ContainerRegistry) HasServer ¶
func (o *ContainerRegistry) HasServer() bool
HasServer returns a boolean if a field has been set.
func (*ContainerRegistry) HasUsername ¶
func (o *ContainerRegistry) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (ContainerRegistry) MarshalJSON ¶
func (o ContainerRegistry) MarshalJSON() ([]byte, error)
func (*ContainerRegistry) SetPassword ¶
func (o *ContainerRegistry) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*ContainerRegistry) SetServer ¶
func (o *ContainerRegistry) SetServer(v string)
SetServer gets a reference to the given string and assigns it to the Server field.
func (*ContainerRegistry) SetUsername ¶
func (o *ContainerRegistry) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
type ContainerRegistryAPIService ¶
type ContainerRegistryAPIService service
ContainerRegistryAPIService ContainerRegistryAPI service
func (*ContainerRegistryAPIService) GetContainerRegistry ¶
func (a *ContainerRegistryAPIService) GetContainerRegistry(ctx context.Context, server string) ApiGetContainerRegistryRequest
GetContainerRegistry Get container registry credentials
Get container registry credentials
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param server Container Registry server name
@return ApiGetContainerRegistryRequest
func (*ContainerRegistryAPIService) GetContainerRegistryExecute ¶
func (a *ContainerRegistryAPIService) GetContainerRegistryExecute(r ApiGetContainerRegistryRequest) (*ContainerRegistry, *http.Response, error)
Execute executes the request
@return ContainerRegistry
func (*ContainerRegistryAPIService) ListContainerRegistries ¶
func (a *ContainerRegistryAPIService) ListContainerRegistries(ctx context.Context) ApiListContainerRegistriesRequest
ListContainerRegistries List container registries
List container registries
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListContainerRegistriesRequest
func (*ContainerRegistryAPIService) ListContainerRegistriesExecute ¶
func (a *ContainerRegistryAPIService) ListContainerRegistriesExecute(r ApiListContainerRegistriesRequest) ([]ContainerRegistry, *http.Response, error)
Execute executes the request
@return []ContainerRegistry
func (*ContainerRegistryAPIService) RemoveContainerRegistry ¶
func (a *ContainerRegistryAPIService) RemoveContainerRegistry(ctx context.Context, server string) ApiRemoveContainerRegistryRequest
RemoveContainerRegistry Remove a container registry credentials
Remove a container registry credentials
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param server Container Registry server name
@return ApiRemoveContainerRegistryRequest
func (*ContainerRegistryAPIService) RemoveContainerRegistryExecute ¶
func (a *ContainerRegistryAPIService) RemoveContainerRegistryExecute(r ApiRemoveContainerRegistryRequest) (*http.Response, error)
Execute executes the request
func (*ContainerRegistryAPIService) SetContainerRegistry ¶
func (a *ContainerRegistryAPIService) SetContainerRegistry(ctx context.Context, server string) ApiSetContainerRegistryRequest
SetContainerRegistry Set container registry credentials
Set container registry credentials
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param server Container Registry server name
@return ApiSetContainerRegistryRequest
func (*ContainerRegistryAPIService) SetContainerRegistryExecute ¶
func (a *ContainerRegistryAPIService) SetContainerRegistryExecute(r ApiSetContainerRegistryRequest) (*http.Response, error)
Execute executes the request
type CreateWorkspaceRequest ¶
type CreateWorkspaceRequest struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Projects []CreateWorkspaceRequestProject `json:"projects"`
Target *string `json:"target,omitempty"`
}
CreateWorkspaceRequest struct for CreateWorkspaceRequest
func NewCreateWorkspaceRequest ¶
func NewCreateWorkspaceRequest(projects []CreateWorkspaceRequestProject) *CreateWorkspaceRequest
NewCreateWorkspaceRequest instantiates a new CreateWorkspaceRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateWorkspaceRequestWithDefaults ¶
func NewCreateWorkspaceRequestWithDefaults() *CreateWorkspaceRequest
NewCreateWorkspaceRequestWithDefaults instantiates a new CreateWorkspaceRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateWorkspaceRequest) GetId ¶
func (o *CreateWorkspaceRequest) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateWorkspaceRequest) GetIdOk ¶
func (o *CreateWorkspaceRequest) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspaceRequest) GetName ¶
func (o *CreateWorkspaceRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateWorkspaceRequest) GetNameOk ¶
func (o *CreateWorkspaceRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspaceRequest) GetProjects ¶
func (o *CreateWorkspaceRequest) GetProjects() []CreateWorkspaceRequestProject
GetProjects returns the Projects field value
func (*CreateWorkspaceRequest) GetProjectsOk ¶
func (o *CreateWorkspaceRequest) GetProjectsOk() ([]CreateWorkspaceRequestProject, bool)
GetProjectsOk returns a tuple with the Projects field value and a boolean to check if the value has been set.
func (*CreateWorkspaceRequest) GetTarget ¶
func (o *CreateWorkspaceRequest) GetTarget() string
GetTarget returns the Target field value if set, zero value otherwise.
func (*CreateWorkspaceRequest) GetTargetOk ¶
func (o *CreateWorkspaceRequest) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspaceRequest) HasId ¶
func (o *CreateWorkspaceRequest) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateWorkspaceRequest) HasName ¶
func (o *CreateWorkspaceRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateWorkspaceRequest) HasTarget ¶
func (o *CreateWorkspaceRequest) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (CreateWorkspaceRequest) MarshalJSON ¶
func (o CreateWorkspaceRequest) MarshalJSON() ([]byte, error)
func (*CreateWorkspaceRequest) SetId ¶
func (o *CreateWorkspaceRequest) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateWorkspaceRequest) SetName ¶
func (o *CreateWorkspaceRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateWorkspaceRequest) SetProjects ¶
func (o *CreateWorkspaceRequest) SetProjects(v []CreateWorkspaceRequestProject)
SetProjects sets field value
func (*CreateWorkspaceRequest) SetTarget ¶
func (o *CreateWorkspaceRequest) SetTarget(v string)
SetTarget gets a reference to the given string and assigns it to the Target field.
func (CreateWorkspaceRequest) ToMap ¶
func (o CreateWorkspaceRequest) ToMap() (map[string]interface{}, error)
func (*CreateWorkspaceRequest) UnmarshalJSON ¶
func (o *CreateWorkspaceRequest) UnmarshalJSON(data []byte) (err error)
type CreateWorkspaceRequestProject ¶
type CreateWorkspaceRequestProject struct {
Build *ProjectBuild `json:"build,omitempty"`
EnvVars *map[string]string `json:"envVars,omitempty"`
Image *string `json:"image,omitempty"`
Name string `json:"name"`
PostStartCommands []string `json:"postStartCommands,omitempty"`
Source *CreateWorkspaceRequestProjectSource `json:"source,omitempty"`
User *string `json:"user,omitempty"`
}
CreateWorkspaceRequestProject struct for CreateWorkspaceRequestProject
func NewCreateWorkspaceRequestProject ¶
func NewCreateWorkspaceRequestProject(name string) *CreateWorkspaceRequestProject
NewCreateWorkspaceRequestProject instantiates a new CreateWorkspaceRequestProject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateWorkspaceRequestProjectWithDefaults ¶
func NewCreateWorkspaceRequestProjectWithDefaults() *CreateWorkspaceRequestProject
NewCreateWorkspaceRequestProjectWithDefaults instantiates a new CreateWorkspaceRequestProject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateWorkspaceRequestProject) GetBuild ¶
func (o *CreateWorkspaceRequestProject) GetBuild() ProjectBuild
GetBuild returns the Build field value if set, zero value otherwise.
func (*CreateWorkspaceRequestProject) GetBuildOk ¶
func (o *CreateWorkspaceRequestProject) GetBuildOk() (*ProjectBuild, bool)
GetBuildOk returns a tuple with the Build field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspaceRequestProject) GetEnvVars ¶
func (o *CreateWorkspaceRequestProject) GetEnvVars() map[string]string
GetEnvVars returns the EnvVars field value if set, zero value otherwise.
func (*CreateWorkspaceRequestProject) GetEnvVarsOk ¶
func (o *CreateWorkspaceRequestProject) GetEnvVarsOk() (*map[string]string, bool)
GetEnvVarsOk returns a tuple with the EnvVars field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspaceRequestProject) GetImage ¶
func (o *CreateWorkspaceRequestProject) GetImage() string
GetImage returns the Image field value if set, zero value otherwise.
func (*CreateWorkspaceRequestProject) GetImageOk ¶
func (o *CreateWorkspaceRequestProject) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspaceRequestProject) GetName ¶
func (o *CreateWorkspaceRequestProject) GetName() string
GetName returns the Name field value
func (*CreateWorkspaceRequestProject) GetNameOk ¶
func (o *CreateWorkspaceRequestProject) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateWorkspaceRequestProject) GetPostStartCommands ¶
func (o *CreateWorkspaceRequestProject) GetPostStartCommands() []string
GetPostStartCommands returns the PostStartCommands field value if set, zero value otherwise.
func (*CreateWorkspaceRequestProject) GetPostStartCommandsOk ¶
func (o *CreateWorkspaceRequestProject) GetPostStartCommandsOk() ([]string, bool)
GetPostStartCommandsOk returns a tuple with the PostStartCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspaceRequestProject) GetSource ¶
func (o *CreateWorkspaceRequestProject) GetSource() CreateWorkspaceRequestProjectSource
GetSource returns the Source field value if set, zero value otherwise.
func (*CreateWorkspaceRequestProject) GetSourceOk ¶
func (o *CreateWorkspaceRequestProject) GetSourceOk() (*CreateWorkspaceRequestProjectSource, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspaceRequestProject) GetUser ¶
func (o *CreateWorkspaceRequestProject) GetUser() string
GetUser returns the User field value if set, zero value otherwise.
func (*CreateWorkspaceRequestProject) GetUserOk ¶
func (o *CreateWorkspaceRequestProject) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspaceRequestProject) HasBuild ¶
func (o *CreateWorkspaceRequestProject) HasBuild() bool
HasBuild returns a boolean if a field has been set.
func (*CreateWorkspaceRequestProject) HasEnvVars ¶
func (o *CreateWorkspaceRequestProject) HasEnvVars() bool
HasEnvVars returns a boolean if a field has been set.
func (*CreateWorkspaceRequestProject) HasImage ¶
func (o *CreateWorkspaceRequestProject) HasImage() bool
HasImage returns a boolean if a field has been set.
func (*CreateWorkspaceRequestProject) HasPostStartCommands ¶
func (o *CreateWorkspaceRequestProject) HasPostStartCommands() bool
HasPostStartCommands returns a boolean if a field has been set.
func (*CreateWorkspaceRequestProject) HasSource ¶
func (o *CreateWorkspaceRequestProject) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*CreateWorkspaceRequestProject) HasUser ¶
func (o *CreateWorkspaceRequestProject) HasUser() bool
HasUser returns a boolean if a field has been set.
func (CreateWorkspaceRequestProject) MarshalJSON ¶
func (o CreateWorkspaceRequestProject) MarshalJSON() ([]byte, error)
func (*CreateWorkspaceRequestProject) SetBuild ¶
func (o *CreateWorkspaceRequestProject) SetBuild(v ProjectBuild)
SetBuild gets a reference to the given ProjectBuild and assigns it to the Build field.
func (*CreateWorkspaceRequestProject) SetEnvVars ¶
func (o *CreateWorkspaceRequestProject) SetEnvVars(v map[string]string)
SetEnvVars gets a reference to the given map[string]string and assigns it to the EnvVars field.
func (*CreateWorkspaceRequestProject) SetImage ¶
func (o *CreateWorkspaceRequestProject) SetImage(v string)
SetImage gets a reference to the given string and assigns it to the Image field.
func (*CreateWorkspaceRequestProject) SetName ¶
func (o *CreateWorkspaceRequestProject) SetName(v string)
SetName sets field value
func (*CreateWorkspaceRequestProject) SetPostStartCommands ¶
func (o *CreateWorkspaceRequestProject) SetPostStartCommands(v []string)
SetPostStartCommands gets a reference to the given []string and assigns it to the PostStartCommands field.
func (*CreateWorkspaceRequestProject) SetSource ¶
func (o *CreateWorkspaceRequestProject) SetSource(v CreateWorkspaceRequestProjectSource)
SetSource gets a reference to the given CreateWorkspaceRequestProjectSource and assigns it to the Source field.
func (*CreateWorkspaceRequestProject) SetUser ¶
func (o *CreateWorkspaceRequestProject) SetUser(v string)
SetUser gets a reference to the given string and assigns it to the User field.
func (CreateWorkspaceRequestProject) ToMap ¶
func (o CreateWorkspaceRequestProject) ToMap() (map[string]interface{}, error)
func (*CreateWorkspaceRequestProject) UnmarshalJSON ¶
func (o *CreateWorkspaceRequestProject) UnmarshalJSON(data []byte) (err error)
type CreateWorkspaceRequestProjectSource ¶
type CreateWorkspaceRequestProjectSource struct {
Repository *GitRepository `json:"repository,omitempty"`
}
CreateWorkspaceRequestProjectSource struct for CreateWorkspaceRequestProjectSource
func NewCreateWorkspaceRequestProjectSource ¶
func NewCreateWorkspaceRequestProjectSource() *CreateWorkspaceRequestProjectSource
NewCreateWorkspaceRequestProjectSource instantiates a new CreateWorkspaceRequestProjectSource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateWorkspaceRequestProjectSourceWithDefaults ¶
func NewCreateWorkspaceRequestProjectSourceWithDefaults() *CreateWorkspaceRequestProjectSource
NewCreateWorkspaceRequestProjectSourceWithDefaults instantiates a new CreateWorkspaceRequestProjectSource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateWorkspaceRequestProjectSource) GetRepository ¶
func (o *CreateWorkspaceRequestProjectSource) GetRepository() GitRepository
GetRepository returns the Repository field value if set, zero value otherwise.
func (*CreateWorkspaceRequestProjectSource) GetRepositoryOk ¶
func (o *CreateWorkspaceRequestProjectSource) GetRepositoryOk() (*GitRepository, bool)
GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspaceRequestProjectSource) HasRepository ¶
func (o *CreateWorkspaceRequestProjectSource) HasRepository() bool
HasRepository returns a boolean if a field has been set.
func (CreateWorkspaceRequestProjectSource) MarshalJSON ¶
func (o CreateWorkspaceRequestProjectSource) MarshalJSON() ([]byte, error)
func (*CreateWorkspaceRequestProjectSource) SetRepository ¶
func (o *CreateWorkspaceRequestProjectSource) SetRepository(v GitRepository)
SetRepository gets a reference to the given GitRepository and assigns it to the Repository field.
type FRPSConfig ¶
type FRPSConfig struct {
Domain *string `json:"domain,omitempty"`
Port *int32 `json:"port,omitempty"`
Protocol *string `json:"protocol,omitempty"`
}
FRPSConfig struct for FRPSConfig
func NewFRPSConfig ¶
func NewFRPSConfig() *FRPSConfig
NewFRPSConfig instantiates a new FRPSConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFRPSConfigWithDefaults ¶
func NewFRPSConfigWithDefaults() *FRPSConfig
NewFRPSConfigWithDefaults instantiates a new FRPSConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FRPSConfig) GetDomain ¶
func (o *FRPSConfig) GetDomain() string
GetDomain returns the Domain field value if set, zero value otherwise.
func (*FRPSConfig) GetDomainOk ¶
func (o *FRPSConfig) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FRPSConfig) GetPort ¶
func (o *FRPSConfig) GetPort() int32
GetPort returns the Port field value if set, zero value otherwise.
func (*FRPSConfig) GetPortOk ¶
func (o *FRPSConfig) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FRPSConfig) GetProtocol ¶
func (o *FRPSConfig) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*FRPSConfig) GetProtocolOk ¶
func (o *FRPSConfig) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FRPSConfig) HasDomain ¶
func (o *FRPSConfig) HasDomain() bool
HasDomain returns a boolean if a field has been set.
func (*FRPSConfig) HasPort ¶
func (o *FRPSConfig) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*FRPSConfig) HasProtocol ¶
func (o *FRPSConfig) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (FRPSConfig) MarshalJSON ¶
func (o FRPSConfig) MarshalJSON() ([]byte, error)
func (*FRPSConfig) SetDomain ¶
func (o *FRPSConfig) SetDomain(v string)
SetDomain gets a reference to the given string and assigns it to the Domain field.
func (*FRPSConfig) SetPort ¶
func (o *FRPSConfig) SetPort(v int32)
SetPort gets a reference to the given int32 and assigns it to the Port field.
func (*FRPSConfig) SetProtocol ¶
func (o *FRPSConfig) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
type FileStatus ¶
type FileStatus struct {
Extra *string `json:"extra,omitempty"`
Name *string `json:"name,omitempty"`
Staging *Status `json:"staging,omitempty"`
Worktree *Status `json:"worktree,omitempty"`
}
FileStatus struct for FileStatus
func NewFileStatus ¶
func NewFileStatus() *FileStatus
NewFileStatus instantiates a new FileStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFileStatusWithDefaults ¶
func NewFileStatusWithDefaults() *FileStatus
NewFileStatusWithDefaults instantiates a new FileStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FileStatus) GetExtra ¶
func (o *FileStatus) GetExtra() string
GetExtra returns the Extra field value if set, zero value otherwise.
func (*FileStatus) GetExtraOk ¶
func (o *FileStatus) GetExtraOk() (*string, bool)
GetExtraOk returns a tuple with the Extra field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FileStatus) GetName ¶
func (o *FileStatus) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FileStatus) GetNameOk ¶
func (o *FileStatus) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FileStatus) GetStaging ¶
func (o *FileStatus) GetStaging() Status
GetStaging returns the Staging field value if set, zero value otherwise.
func (*FileStatus) GetStagingOk ¶
func (o *FileStatus) GetStagingOk() (*Status, bool)
GetStagingOk returns a tuple with the Staging field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FileStatus) GetWorktree ¶
func (o *FileStatus) GetWorktree() Status
GetWorktree returns the Worktree field value if set, zero value otherwise.
func (*FileStatus) GetWorktreeOk ¶
func (o *FileStatus) GetWorktreeOk() (*Status, bool)
GetWorktreeOk returns a tuple with the Worktree field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FileStatus) HasExtra ¶
func (o *FileStatus) HasExtra() bool
HasExtra returns a boolean if a field has been set.
func (*FileStatus) HasName ¶
func (o *FileStatus) HasName() bool
HasName returns a boolean if a field has been set.
func (*FileStatus) HasStaging ¶
func (o *FileStatus) HasStaging() bool
HasStaging returns a boolean if a field has been set.
func (*FileStatus) HasWorktree ¶
func (o *FileStatus) HasWorktree() bool
HasWorktree returns a boolean if a field has been set.
func (FileStatus) MarshalJSON ¶
func (o FileStatus) MarshalJSON() ([]byte, error)
func (*FileStatus) SetExtra ¶
func (o *FileStatus) SetExtra(v string)
SetExtra gets a reference to the given string and assigns it to the Extra field.
func (*FileStatus) SetName ¶
func (o *FileStatus) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*FileStatus) SetStaging ¶
func (o *FileStatus) SetStaging(v Status)
SetStaging gets a reference to the given Status and assigns it to the Staging field.
func (*FileStatus) SetWorktree ¶
func (o *FileStatus) SetWorktree(v Status)
SetWorktree gets a reference to the given Status and assigns it to the Worktree field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
type GitBranch ¶
type GitBranch struct {
Name *string `json:"name,omitempty"`
Sha *string `json:"sha,omitempty"`
}
GitBranch struct for GitBranch
func NewGitBranch ¶
func NewGitBranch() *GitBranch
NewGitBranch instantiates a new GitBranch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGitBranchWithDefaults ¶
func NewGitBranchWithDefaults() *GitBranch
NewGitBranchWithDefaults instantiates a new GitBranch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GitBranch) GetName ¶
func (o *GitBranch) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GitBranch) GetNameOk ¶
func (o *GitBranch) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitBranch) GetSha ¶
func (o *GitBranch) GetSha() string
GetSha returns the Sha field value if set, zero value otherwise.
func (*GitBranch) GetShaOk ¶
func (o *GitBranch) GetShaOk() (*string, bool)
GetShaOk returns a tuple with the Sha field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitBranch) HasName ¶
func (o *GitBranch) HasName() bool
HasName returns a boolean if a field has been set.
func (*GitBranch) HasSha ¶
func (o *GitBranch) HasSha() bool
HasSha returns a boolean if a field has been set.
func (GitBranch) MarshalJSON ¶
func (o GitBranch) MarshalJSON() ([]byte, error)
func (*GitBranch) SetName ¶
func (o *GitBranch) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type GitNamespace ¶
type GitNamespace struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
GitNamespace struct for GitNamespace
func NewGitNamespace ¶
func NewGitNamespace() *GitNamespace
NewGitNamespace instantiates a new GitNamespace object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGitNamespaceWithDefaults ¶
func NewGitNamespaceWithDefaults() *GitNamespace
NewGitNamespaceWithDefaults instantiates a new GitNamespace object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GitNamespace) GetId ¶
func (o *GitNamespace) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GitNamespace) GetIdOk ¶
func (o *GitNamespace) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitNamespace) GetName ¶
func (o *GitNamespace) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GitNamespace) GetNameOk ¶
func (o *GitNamespace) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitNamespace) HasId ¶
func (o *GitNamespace) HasId() bool
HasId returns a boolean if a field has been set.
func (*GitNamespace) HasName ¶
func (o *GitNamespace) HasName() bool
HasName returns a boolean if a field has been set.
func (GitNamespace) MarshalJSON ¶
func (o GitNamespace) MarshalJSON() ([]byte, error)
func (*GitNamespace) SetId ¶
func (o *GitNamespace) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
type GitProvider ¶
type GitProvider struct {
BaseApiUrl *string `json:"baseApiUrl,omitempty"`
Id *string `json:"id,omitempty"`
Token *string `json:"token,omitempty"`
Username *string `json:"username,omitempty"`
}
GitProvider struct for GitProvider
func NewGitProvider ¶
func NewGitProvider() *GitProvider
NewGitProvider instantiates a new GitProvider object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGitProviderWithDefaults ¶
func NewGitProviderWithDefaults() *GitProvider
NewGitProviderWithDefaults instantiates a new GitProvider object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GitProvider) GetBaseApiUrl ¶
func (o *GitProvider) GetBaseApiUrl() string
GetBaseApiUrl returns the BaseApiUrl field value if set, zero value otherwise.
func (*GitProvider) GetBaseApiUrlOk ¶
func (o *GitProvider) GetBaseApiUrlOk() (*string, bool)
GetBaseApiUrlOk returns a tuple with the BaseApiUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitProvider) GetId ¶
func (o *GitProvider) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GitProvider) GetIdOk ¶
func (o *GitProvider) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitProvider) GetToken ¶
func (o *GitProvider) GetToken() string
GetToken returns the Token field value if set, zero value otherwise.
func (*GitProvider) GetTokenOk ¶
func (o *GitProvider) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitProvider) GetUsername ¶
func (o *GitProvider) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*GitProvider) GetUsernameOk ¶
func (o *GitProvider) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitProvider) HasBaseApiUrl ¶
func (o *GitProvider) HasBaseApiUrl() bool
HasBaseApiUrl returns a boolean if a field has been set.
func (*GitProvider) HasId ¶
func (o *GitProvider) HasId() bool
HasId returns a boolean if a field has been set.
func (*GitProvider) HasToken ¶
func (o *GitProvider) HasToken() bool
HasToken returns a boolean if a field has been set.
func (*GitProvider) HasUsername ¶
func (o *GitProvider) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (GitProvider) MarshalJSON ¶
func (o GitProvider) MarshalJSON() ([]byte, error)
func (*GitProvider) SetBaseApiUrl ¶
func (o *GitProvider) SetBaseApiUrl(v string)
SetBaseApiUrl gets a reference to the given string and assigns it to the BaseApiUrl field.
func (*GitProvider) SetId ¶
func (o *GitProvider) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GitProvider) SetToken ¶
func (o *GitProvider) SetToken(v string)
SetToken gets a reference to the given string and assigns it to the Token field.
func (*GitProvider) SetUsername ¶
func (o *GitProvider) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
type GitProviderAPIService ¶
type GitProviderAPIService service
GitProviderAPIService GitProviderAPI service
func (*GitProviderAPIService) GetGitContext ¶
func (a *GitProviderAPIService) GetGitContext(ctx context.Context, gitUrl string) ApiGetGitContextRequest
GetGitContext Get Git context
Get Git context
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gitUrl Git URL
@return ApiGetGitContextRequest
func (*GitProviderAPIService) GetGitContextExecute ¶
func (a *GitProviderAPIService) GetGitContextExecute(r ApiGetGitContextRequest) (*GitRepository, *http.Response, error)
Execute executes the request
@return GitRepository
func (*GitProviderAPIService) GetGitProviderForUrl ¶
func (a *GitProviderAPIService) GetGitProviderForUrl(ctx context.Context, url string) ApiGetGitProviderForUrlRequest
GetGitProviderForUrl Get Git provider
Get Git provider
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param url Url
@return ApiGetGitProviderForUrlRequest
func (*GitProviderAPIService) GetGitProviderForUrlExecute ¶
func (a *GitProviderAPIService) GetGitProviderForUrlExecute(r ApiGetGitProviderForUrlRequest) (*GitProvider, *http.Response, error)
Execute executes the request
@return GitProvider
func (*GitProviderAPIService) GetGitUser ¶
func (a *GitProviderAPIService) GetGitUser(ctx context.Context, gitProviderId string) ApiGetGitUserRequest
GetGitUser Get Git context
Get Git context
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gitProviderId Git Provider Id
@return ApiGetGitUserRequest
func (*GitProviderAPIService) GetGitUserExecute ¶
func (a *GitProviderAPIService) GetGitUserExecute(r ApiGetGitUserRequest) (*GitUser, *http.Response, error)
Execute executes the request
@return GitUser
func (*GitProviderAPIService) GetNamespaces ¶
func (a *GitProviderAPIService) GetNamespaces(ctx context.Context, gitProviderId string) ApiGetNamespacesRequest
GetNamespaces Get Git namespaces
Get Git namespaces
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gitProviderId Git provider
@return ApiGetNamespacesRequest
func (*GitProviderAPIService) GetNamespacesExecute ¶
func (a *GitProviderAPIService) GetNamespacesExecute(r ApiGetNamespacesRequest) ([]GitNamespace, *http.Response, error)
Execute executes the request
@return []GitNamespace
func (*GitProviderAPIService) GetRepoBranches ¶
func (a *GitProviderAPIService) GetRepoBranches(ctx context.Context, gitProviderId string, namespaceId string, repositoryId string) ApiGetRepoBranchesRequest
GetRepoBranches Get Git repository branches
Get Git repository branches
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gitProviderId Git provider
@param namespaceId Namespace
@param repositoryId Repository
@return ApiGetRepoBranchesRequest
func (*GitProviderAPIService) GetRepoBranchesExecute ¶
func (a *GitProviderAPIService) GetRepoBranchesExecute(r ApiGetRepoBranchesRequest) ([]GitBranch, *http.Response, error)
Execute executes the request
@return []GitBranch
func (*GitProviderAPIService) GetRepoPRs ¶
func (a *GitProviderAPIService) GetRepoPRs(ctx context.Context, gitProviderId string, namespaceId string, repositoryId string) ApiGetRepoPRsRequest
GetRepoPRs Get Git repository PRs
Get Git repository PRs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gitProviderId Git provider
@param namespaceId Namespace
@param repositoryId Repository
@return ApiGetRepoPRsRequest
func (*GitProviderAPIService) GetRepoPRsExecute ¶
func (a *GitProviderAPIService) GetRepoPRsExecute(r ApiGetRepoPRsRequest) ([]GitPullRequest, *http.Response, error)
Execute executes the request
@return []GitPullRequest
func (*GitProviderAPIService) GetRepositories ¶
func (a *GitProviderAPIService) GetRepositories(ctx context.Context, gitProviderId string, namespaceId string) ApiGetRepositoriesRequest
GetRepositories Get Git repositories
Get Git repositories
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gitProviderId Git provider
@param namespaceId Namespace
@return ApiGetRepositoriesRequest
func (*GitProviderAPIService) GetRepositoriesExecute ¶
func (a *GitProviderAPIService) GetRepositoriesExecute(r ApiGetRepositoriesRequest) ([]GitRepository, *http.Response, error)
Execute executes the request
@return []GitRepository
func (*GitProviderAPIService) ListGitProviders ¶
func (a *GitProviderAPIService) ListGitProviders(ctx context.Context) ApiListGitProvidersRequest
ListGitProviders List Git providers
List Git providers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListGitProvidersRequest
func (*GitProviderAPIService) ListGitProvidersExecute ¶
func (a *GitProviderAPIService) ListGitProvidersExecute(r ApiListGitProvidersRequest) ([]GitProvider, *http.Response, error)
Execute executes the request
@return []GitProvider
func (*GitProviderAPIService) RemoveGitProvider ¶
func (a *GitProviderAPIService) RemoveGitProvider(ctx context.Context, gitProviderId string) ApiRemoveGitProviderRequest
RemoveGitProvider Remove Git provider
Remove Git provider
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gitProviderId Git provider
@return ApiRemoveGitProviderRequest
func (*GitProviderAPIService) RemoveGitProviderExecute ¶
func (a *GitProviderAPIService) RemoveGitProviderExecute(r ApiRemoveGitProviderRequest) (*http.Response, error)
Execute executes the request
func (*GitProviderAPIService) SetGitProvider ¶
func (a *GitProviderAPIService) SetGitProvider(ctx context.Context) ApiSetGitProviderRequest
SetGitProvider Set Git provider
Set Git provider
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSetGitProviderRequest
func (*GitProviderAPIService) SetGitProviderExecute ¶
func (a *GitProviderAPIService) SetGitProviderExecute(r ApiSetGitProviderRequest) (*http.Response, error)
Execute executes the request
type GitPullRequest ¶
type GitPullRequest struct {
Branch *string `json:"branch,omitempty"`
Name *string `json:"name,omitempty"`
Sha *string `json:"sha,omitempty"`
SourceRepoId *string `json:"sourceRepoId,omitempty"`
SourceRepoName *string `json:"sourceRepoName,omitempty"`
SourceRepoOwner *string `json:"sourceRepoOwner,omitempty"`
SourceRepoUrl *string `json:"sourceRepoUrl,omitempty"`
}
GitPullRequest struct for GitPullRequest
func NewGitPullRequest ¶
func NewGitPullRequest() *GitPullRequest
NewGitPullRequest instantiates a new GitPullRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGitPullRequestWithDefaults ¶
func NewGitPullRequestWithDefaults() *GitPullRequest
NewGitPullRequestWithDefaults instantiates a new GitPullRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GitPullRequest) GetBranch ¶
func (o *GitPullRequest) GetBranch() string
GetBranch returns the Branch field value if set, zero value otherwise.
func (*GitPullRequest) GetBranchOk ¶
func (o *GitPullRequest) GetBranchOk() (*string, bool)
GetBranchOk returns a tuple with the Branch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitPullRequest) GetName ¶
func (o *GitPullRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GitPullRequest) GetNameOk ¶
func (o *GitPullRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitPullRequest) GetSha ¶
func (o *GitPullRequest) GetSha() string
GetSha returns the Sha field value if set, zero value otherwise.
func (*GitPullRequest) GetShaOk ¶
func (o *GitPullRequest) GetShaOk() (*string, bool)
GetShaOk returns a tuple with the Sha field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitPullRequest) GetSourceRepoId ¶
func (o *GitPullRequest) GetSourceRepoId() string
GetSourceRepoId returns the SourceRepoId field value if set, zero value otherwise.
func (*GitPullRequest) GetSourceRepoIdOk ¶
func (o *GitPullRequest) GetSourceRepoIdOk() (*string, bool)
GetSourceRepoIdOk returns a tuple with the SourceRepoId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitPullRequest) GetSourceRepoName ¶
func (o *GitPullRequest) GetSourceRepoName() string
GetSourceRepoName returns the SourceRepoName field value if set, zero value otherwise.
func (*GitPullRequest) GetSourceRepoNameOk ¶
func (o *GitPullRequest) GetSourceRepoNameOk() (*string, bool)
GetSourceRepoNameOk returns a tuple with the SourceRepoName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitPullRequest) GetSourceRepoOwner ¶
func (o *GitPullRequest) GetSourceRepoOwner() string
GetSourceRepoOwner returns the SourceRepoOwner field value if set, zero value otherwise.
func (*GitPullRequest) GetSourceRepoOwnerOk ¶
func (o *GitPullRequest) GetSourceRepoOwnerOk() (*string, bool)
GetSourceRepoOwnerOk returns a tuple with the SourceRepoOwner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitPullRequest) GetSourceRepoUrl ¶
func (o *GitPullRequest) GetSourceRepoUrl() string
GetSourceRepoUrl returns the SourceRepoUrl field value if set, zero value otherwise.
func (*GitPullRequest) GetSourceRepoUrlOk ¶
func (o *GitPullRequest) GetSourceRepoUrlOk() (*string, bool)
GetSourceRepoUrlOk returns a tuple with the SourceRepoUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitPullRequest) HasBranch ¶
func (o *GitPullRequest) HasBranch() bool
HasBranch returns a boolean if a field has been set.
func (*GitPullRequest) HasName ¶
func (o *GitPullRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*GitPullRequest) HasSha ¶
func (o *GitPullRequest) HasSha() bool
HasSha returns a boolean if a field has been set.
func (*GitPullRequest) HasSourceRepoId ¶
func (o *GitPullRequest) HasSourceRepoId() bool
HasSourceRepoId returns a boolean if a field has been set.
func (*GitPullRequest) HasSourceRepoName ¶
func (o *GitPullRequest) HasSourceRepoName() bool
HasSourceRepoName returns a boolean if a field has been set.
func (*GitPullRequest) HasSourceRepoOwner ¶
func (o *GitPullRequest) HasSourceRepoOwner() bool
HasSourceRepoOwner returns a boolean if a field has been set.
func (*GitPullRequest) HasSourceRepoUrl ¶
func (o *GitPullRequest) HasSourceRepoUrl() bool
HasSourceRepoUrl returns a boolean if a field has been set.
func (GitPullRequest) MarshalJSON ¶
func (o GitPullRequest) MarshalJSON() ([]byte, error)
func (*GitPullRequest) SetBranch ¶
func (o *GitPullRequest) SetBranch(v string)
SetBranch gets a reference to the given string and assigns it to the Branch field.
func (*GitPullRequest) SetName ¶
func (o *GitPullRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GitPullRequest) SetSha ¶
func (o *GitPullRequest) SetSha(v string)
SetSha gets a reference to the given string and assigns it to the Sha field.
func (*GitPullRequest) SetSourceRepoId ¶
func (o *GitPullRequest) SetSourceRepoId(v string)
SetSourceRepoId gets a reference to the given string and assigns it to the SourceRepoId field.
func (*GitPullRequest) SetSourceRepoName ¶
func (o *GitPullRequest) SetSourceRepoName(v string)
SetSourceRepoName gets a reference to the given string and assigns it to the SourceRepoName field.
func (*GitPullRequest) SetSourceRepoOwner ¶
func (o *GitPullRequest) SetSourceRepoOwner(v string)
SetSourceRepoOwner gets a reference to the given string and assigns it to the SourceRepoOwner field.
func (*GitPullRequest) SetSourceRepoUrl ¶
func (o *GitPullRequest) SetSourceRepoUrl(v string)
SetSourceRepoUrl gets a reference to the given string and assigns it to the SourceRepoUrl field.
type GitRepository ¶
type GitRepository struct {
Branch *string `json:"branch,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Owner *string `json:"owner,omitempty"`
Path *string `json:"path,omitempty"`
PrNumber *int32 `json:"prNumber,omitempty"`
Sha *string `json:"sha,omitempty"`
Source *string `json:"source,omitempty"`
Url *string `json:"url,omitempty"`
}
GitRepository struct for GitRepository
func NewGitRepository ¶
func NewGitRepository() *GitRepository
NewGitRepository instantiates a new GitRepository object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGitRepositoryWithDefaults ¶
func NewGitRepositoryWithDefaults() *GitRepository
NewGitRepositoryWithDefaults instantiates a new GitRepository object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GitRepository) GetBranch ¶
func (o *GitRepository) GetBranch() string
GetBranch returns the Branch field value if set, zero value otherwise.
func (*GitRepository) GetBranchOk ¶
func (o *GitRepository) GetBranchOk() (*string, bool)
GetBranchOk returns a tuple with the Branch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitRepository) GetId ¶
func (o *GitRepository) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GitRepository) GetIdOk ¶
func (o *GitRepository) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitRepository) GetName ¶
func (o *GitRepository) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GitRepository) GetNameOk ¶
func (o *GitRepository) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitRepository) GetOwner ¶
func (o *GitRepository) GetOwner() string
GetOwner returns the Owner field value if set, zero value otherwise.
func (*GitRepository) GetOwnerOk ¶
func (o *GitRepository) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitRepository) GetPath ¶
func (o *GitRepository) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*GitRepository) GetPathOk ¶
func (o *GitRepository) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitRepository) GetPrNumber ¶
func (o *GitRepository) GetPrNumber() int32
GetPrNumber returns the PrNumber field value if set, zero value otherwise.
func (*GitRepository) GetPrNumberOk ¶
func (o *GitRepository) GetPrNumberOk() (*int32, bool)
GetPrNumberOk returns a tuple with the PrNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitRepository) GetSha ¶
func (o *GitRepository) GetSha() string
GetSha returns the Sha field value if set, zero value otherwise.
func (*GitRepository) GetShaOk ¶
func (o *GitRepository) GetShaOk() (*string, bool)
GetShaOk returns a tuple with the Sha field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitRepository) GetSource ¶
func (o *GitRepository) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*GitRepository) GetSourceOk ¶
func (o *GitRepository) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitRepository) GetUrl ¶
func (o *GitRepository) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*GitRepository) GetUrlOk ¶
func (o *GitRepository) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitRepository) HasBranch ¶
func (o *GitRepository) HasBranch() bool
HasBranch returns a boolean if a field has been set.
func (*GitRepository) HasId ¶
func (o *GitRepository) HasId() bool
HasId returns a boolean if a field has been set.
func (*GitRepository) HasName ¶
func (o *GitRepository) HasName() bool
HasName returns a boolean if a field has been set.
func (*GitRepository) HasOwner ¶
func (o *GitRepository) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (*GitRepository) HasPath ¶
func (o *GitRepository) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*GitRepository) HasPrNumber ¶
func (o *GitRepository) HasPrNumber() bool
HasPrNumber returns a boolean if a field has been set.
func (*GitRepository) HasSha ¶
func (o *GitRepository) HasSha() bool
HasSha returns a boolean if a field has been set.
func (*GitRepository) HasSource ¶
func (o *GitRepository) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*GitRepository) HasUrl ¶
func (o *GitRepository) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (GitRepository) MarshalJSON ¶
func (o GitRepository) MarshalJSON() ([]byte, error)
func (*GitRepository) SetBranch ¶
func (o *GitRepository) SetBranch(v string)
SetBranch gets a reference to the given string and assigns it to the Branch field.
func (*GitRepository) SetId ¶
func (o *GitRepository) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GitRepository) SetName ¶
func (o *GitRepository) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GitRepository) SetOwner ¶
func (o *GitRepository) SetOwner(v string)
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (*GitRepository) SetPath ¶
func (o *GitRepository) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*GitRepository) SetPrNumber ¶
func (o *GitRepository) SetPrNumber(v int32)
SetPrNumber gets a reference to the given int32 and assigns it to the PrNumber field.
func (*GitRepository) SetSha ¶
func (o *GitRepository) SetSha(v string)
SetSha gets a reference to the given string and assigns it to the Sha field.
func (*GitRepository) SetSource ¶
func (o *GitRepository) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
type GitStatus ¶
type GitStatus struct {
CurrentBranch *string `json:"currentBranch,omitempty"`
FileStatus []FileStatus `json:"fileStatus,omitempty"`
}
GitStatus struct for GitStatus
func NewGitStatus ¶
func NewGitStatus() *GitStatus
NewGitStatus instantiates a new GitStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGitStatusWithDefaults ¶
func NewGitStatusWithDefaults() *GitStatus
NewGitStatusWithDefaults instantiates a new GitStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GitStatus) GetCurrentBranch ¶
func (o *GitStatus) GetCurrentBranch() string
GetCurrentBranch returns the CurrentBranch field value if set, zero value otherwise.
func (*GitStatus) GetCurrentBranchOk ¶
func (o *GitStatus) GetCurrentBranchOk() (*string, bool)
GetCurrentBranchOk returns a tuple with the CurrentBranch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitStatus) GetFileStatus ¶
func (o *GitStatus) GetFileStatus() []FileStatus
GetFileStatus returns the FileStatus field value if set, zero value otherwise.
func (*GitStatus) GetFileStatusOk ¶
func (o *GitStatus) GetFileStatusOk() ([]FileStatus, bool)
GetFileStatusOk returns a tuple with the FileStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitStatus) HasCurrentBranch ¶
func (o *GitStatus) HasCurrentBranch() bool
HasCurrentBranch returns a boolean if a field has been set.
func (*GitStatus) HasFileStatus ¶
func (o *GitStatus) HasFileStatus() bool
HasFileStatus returns a boolean if a field has been set.
func (GitStatus) MarshalJSON ¶
func (o GitStatus) MarshalJSON() ([]byte, error)
func (*GitStatus) SetCurrentBranch ¶
func (o *GitStatus) SetCurrentBranch(v string)
SetCurrentBranch gets a reference to the given string and assigns it to the CurrentBranch field.
func (*GitStatus) SetFileStatus ¶
func (o *GitStatus) SetFileStatus(v []FileStatus)
SetFileStatus gets a reference to the given []FileStatus and assigns it to the FileStatus field.
type GitUser ¶
type GitUser struct {
Email *string `json:"email,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Username *string `json:"username,omitempty"`
}
GitUser struct for GitUser
func NewGitUser ¶
func NewGitUser() *GitUser
NewGitUser instantiates a new GitUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGitUserWithDefaults ¶
func NewGitUserWithDefaults() *GitUser
NewGitUserWithDefaults instantiates a new GitUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GitUser) GetEmail ¶
func (o *GitUser) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*GitUser) GetEmailOk ¶
func (o *GitUser) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitUser) GetId ¶
func (o *GitUser) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GitUser) GetIdOk ¶
func (o *GitUser) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitUser) GetName ¶
func (o *GitUser) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GitUser) GetNameOk ¶
func (o *GitUser) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitUser) GetUsername ¶
func (o *GitUser) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*GitUser) GetUsernameOk ¶
func (o *GitUser) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GitUser) HasEmail ¶
func (o *GitUser) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*GitUser) HasId ¶
func (o *GitUser) HasId() bool
HasId returns a boolean if a field has been set.
func (*GitUser) HasName ¶
func (o *GitUser) HasName() bool
HasName returns a boolean if a field has been set.
func (*GitUser) HasUsername ¶
func (o *GitUser) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (GitUser) MarshalJSON ¶
func (o GitUser) MarshalJSON() ([]byte, error)
func (*GitUser) SetEmail ¶
func (o *GitUser) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*GitUser) SetId ¶
func (o *GitUser) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GitUser) SetName ¶
func (o *GitUser) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GitUser) SetUsername ¶
func (o *GitUser) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
type InstallProviderRequest ¶
type InstallProviderRequest struct {
DownloadUrls *map[string]string `json:"downloadUrls,omitempty"`
Name *string `json:"name,omitempty"`
}
InstallProviderRequest struct for InstallProviderRequest
func NewInstallProviderRequest ¶
func NewInstallProviderRequest() *InstallProviderRequest
NewInstallProviderRequest instantiates a new InstallProviderRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstallProviderRequestWithDefaults ¶
func NewInstallProviderRequestWithDefaults() *InstallProviderRequest
NewInstallProviderRequestWithDefaults instantiates a new InstallProviderRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstallProviderRequest) GetDownloadUrls ¶
func (o *InstallProviderRequest) GetDownloadUrls() map[string]string
GetDownloadUrls returns the DownloadUrls field value if set, zero value otherwise.
func (*InstallProviderRequest) GetDownloadUrlsOk ¶
func (o *InstallProviderRequest) GetDownloadUrlsOk() (*map[string]string, bool)
GetDownloadUrlsOk returns a tuple with the DownloadUrls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstallProviderRequest) GetName ¶
func (o *InstallProviderRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*InstallProviderRequest) GetNameOk ¶
func (o *InstallProviderRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstallProviderRequest) HasDownloadUrls ¶
func (o *InstallProviderRequest) HasDownloadUrls() bool
HasDownloadUrls returns a boolean if a field has been set.
func (*InstallProviderRequest) HasName ¶
func (o *InstallProviderRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (InstallProviderRequest) MarshalJSON ¶
func (o InstallProviderRequest) MarshalJSON() ([]byte, error)
func (*InstallProviderRequest) SetDownloadUrls ¶
func (o *InstallProviderRequest) SetDownloadUrls(v map[string]string)
SetDownloadUrls gets a reference to the given map[string]string and assigns it to the DownloadUrls field.
type MappedNullable ¶
type MappedNullable interface {
ToMap() (map[string]interface{}, error)
}
type NetworkKey ¶
type NetworkKey struct {
Key *string `json:"key,omitempty"`
}
NetworkKey struct for NetworkKey
func NewNetworkKey ¶
func NewNetworkKey() *NetworkKey
NewNetworkKey instantiates a new NetworkKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetworkKeyWithDefaults ¶
func NewNetworkKeyWithDefaults() *NetworkKey
NewNetworkKeyWithDefaults instantiates a new NetworkKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NetworkKey) GetKey ¶
func (o *NetworkKey) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*NetworkKey) GetKeyOk ¶
func (o *NetworkKey) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkKey) HasKey ¶
func (o *NetworkKey) HasKey() bool
HasKey returns a boolean if a field has been set.
func (NetworkKey) MarshalJSON ¶
func (o NetworkKey) MarshalJSON() ([]byte, error)
type NullableApiKey ¶
type NullableApiKey struct {
// contains filtered or unexported fields
}
func NewNullableApiKey ¶
func NewNullableApiKey(val *ApiKey) *NullableApiKey
func (NullableApiKey) MarshalJSON ¶
func (v NullableApiKey) MarshalJSON() ([]byte, error)
func (*NullableApiKey) UnmarshalJSON ¶
func (v *NullableApiKey) UnmarshalJSON(src []byte) error
type NullableApikeyApiKeyType ¶
type NullableApikeyApiKeyType struct {
// contains filtered or unexported fields
}
func NewNullableApikeyApiKeyType ¶
func NewNullableApikeyApiKeyType(val *ApikeyApiKeyType) *NullableApikeyApiKeyType
func (NullableApikeyApiKeyType) MarshalJSON ¶
func (v NullableApikeyApiKeyType) MarshalJSON() ([]byte, error)
func (*NullableApikeyApiKeyType) Set ¶
func (v *NullableApikeyApiKeyType) Set(val *ApikeyApiKeyType)
func (*NullableApikeyApiKeyType) UnmarshalJSON ¶
func (v *NullableApikeyApiKeyType) UnmarshalJSON(src []byte) error
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
type NullableContainerRegistry ¶
type NullableContainerRegistry struct {
// contains filtered or unexported fields
}
func NewNullableContainerRegistry ¶
func NewNullableContainerRegistry(val *ContainerRegistry) *NullableContainerRegistry
func (NullableContainerRegistry) MarshalJSON ¶
func (v NullableContainerRegistry) MarshalJSON() ([]byte, error)
func (*NullableContainerRegistry) Set ¶
func (v *NullableContainerRegistry) Set(val *ContainerRegistry)
func (*NullableContainerRegistry) UnmarshalJSON ¶
func (v *NullableContainerRegistry) UnmarshalJSON(src []byte) error
type NullableCreateWorkspaceRequest ¶
type NullableCreateWorkspaceRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateWorkspaceRequest ¶
func NewNullableCreateWorkspaceRequest(val *CreateWorkspaceRequest) *NullableCreateWorkspaceRequest
func (NullableCreateWorkspaceRequest) Get ¶
func (v NullableCreateWorkspaceRequest) Get() *CreateWorkspaceRequest
func (NullableCreateWorkspaceRequest) MarshalJSON ¶
func (v NullableCreateWorkspaceRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateWorkspaceRequest) Set ¶
func (v *NullableCreateWorkspaceRequest) Set(val *CreateWorkspaceRequest)
func (*NullableCreateWorkspaceRequest) UnmarshalJSON ¶
func (v *NullableCreateWorkspaceRequest) UnmarshalJSON(src []byte) error
type NullableCreateWorkspaceRequestProject ¶
type NullableCreateWorkspaceRequestProject struct {
// contains filtered or unexported fields
}
func NewNullableCreateWorkspaceRequestProject ¶
func NewNullableCreateWorkspaceRequestProject(val *CreateWorkspaceRequestProject) *NullableCreateWorkspaceRequestProject
func (NullableCreateWorkspaceRequestProject) Get ¶
func (v NullableCreateWorkspaceRequestProject) Get() *CreateWorkspaceRequestProject
func (NullableCreateWorkspaceRequestProject) IsSet ¶
func (v NullableCreateWorkspaceRequestProject) IsSet() bool
func (NullableCreateWorkspaceRequestProject) MarshalJSON ¶
func (v NullableCreateWorkspaceRequestProject) MarshalJSON() ([]byte, error)
func (*NullableCreateWorkspaceRequestProject) Set ¶
func (v *NullableCreateWorkspaceRequestProject) Set(val *CreateWorkspaceRequestProject)
func (*NullableCreateWorkspaceRequestProject) UnmarshalJSON ¶
func (v *NullableCreateWorkspaceRequestProject) UnmarshalJSON(src []byte) error
type NullableCreateWorkspaceRequestProjectSource ¶
type NullableCreateWorkspaceRequestProjectSource struct {
// contains filtered or unexported fields
}
func NewNullableCreateWorkspaceRequestProjectSource ¶
func NewNullableCreateWorkspaceRequestProjectSource(val *CreateWorkspaceRequestProjectSource) *NullableCreateWorkspaceRequestProjectSource
func (NullableCreateWorkspaceRequestProjectSource) Get ¶
func (v NullableCreateWorkspaceRequestProjectSource) Get() *CreateWorkspaceRequestProjectSource
func (NullableCreateWorkspaceRequestProjectSource) IsSet ¶
func (v NullableCreateWorkspaceRequestProjectSource) IsSet() bool
func (NullableCreateWorkspaceRequestProjectSource) MarshalJSON ¶
func (v NullableCreateWorkspaceRequestProjectSource) MarshalJSON() ([]byte, error)
func (*NullableCreateWorkspaceRequestProjectSource) Set ¶
func (v *NullableCreateWorkspaceRequestProjectSource) Set(val *CreateWorkspaceRequestProjectSource)
func (*NullableCreateWorkspaceRequestProjectSource) UnmarshalJSON ¶
func (v *NullableCreateWorkspaceRequestProjectSource) UnmarshalJSON(src []byte) error
type NullableFRPSConfig ¶
type NullableFRPSConfig struct {
// contains filtered or unexported fields
}
func NewNullableFRPSConfig ¶
func NewNullableFRPSConfig(val *FRPSConfig) *NullableFRPSConfig
func (NullableFRPSConfig) MarshalJSON ¶
func (v NullableFRPSConfig) MarshalJSON() ([]byte, error)
func (*NullableFRPSConfig) UnmarshalJSON ¶
func (v *NullableFRPSConfig) UnmarshalJSON(src []byte) error
type NullableFileStatus ¶
type NullableFileStatus struct {
// contains filtered or unexported fields
}
func NewNullableFileStatus ¶
func NewNullableFileStatus(val *FileStatus) *NullableFileStatus
func (NullableFileStatus) MarshalJSON ¶
func (v NullableFileStatus) MarshalJSON() ([]byte, error)
func (*NullableFileStatus) UnmarshalJSON ¶
func (v *NullableFileStatus) UnmarshalJSON(src []byte) error
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
type NullableGitBranch ¶
type NullableGitBranch struct {
// contains filtered or unexported fields
}
func NewNullableGitBranch ¶
func NewNullableGitBranch(val *GitBranch) *NullableGitBranch
func (NullableGitBranch) MarshalJSON ¶
func (v NullableGitBranch) MarshalJSON() ([]byte, error)
func (*NullableGitBranch) UnmarshalJSON ¶
func (v *NullableGitBranch) UnmarshalJSON(src []byte) error
type NullableGitNamespace ¶
type NullableGitNamespace struct {
// contains filtered or unexported fields
}
func NewNullableGitNamespace ¶
func NewNullableGitNamespace(val *GitNamespace) *NullableGitNamespace
func (NullableGitNamespace) MarshalJSON ¶
func (v NullableGitNamespace) MarshalJSON() ([]byte, error)
func (*NullableGitNamespace) UnmarshalJSON ¶
func (v *NullableGitNamespace) UnmarshalJSON(src []byte) error
type NullableGitProvider ¶
type NullableGitProvider struct {
// contains filtered or unexported fields
}
func NewNullableGitProvider ¶
func NewNullableGitProvider(val *GitProvider) *NullableGitProvider
func (NullableGitProvider) MarshalJSON ¶
func (v NullableGitProvider) MarshalJSON() ([]byte, error)
func (*NullableGitProvider) UnmarshalJSON ¶
func (v *NullableGitProvider) UnmarshalJSON(src []byte) error
type NullableGitPullRequest ¶
type NullableGitPullRequest struct {
// contains filtered or unexported fields
}
func NewNullableGitPullRequest ¶
func NewNullableGitPullRequest(val *GitPullRequest) *NullableGitPullRequest
func (NullableGitPullRequest) MarshalJSON ¶
func (v NullableGitPullRequest) MarshalJSON() ([]byte, error)
func (*NullableGitPullRequest) UnmarshalJSON ¶
func (v *NullableGitPullRequest) UnmarshalJSON(src []byte) error
type NullableGitRepository ¶
type NullableGitRepository struct {
// contains filtered or unexported fields
}
func NewNullableGitRepository ¶
func NewNullableGitRepository(val *GitRepository) *NullableGitRepository
func (NullableGitRepository) MarshalJSON ¶
func (v NullableGitRepository) MarshalJSON() ([]byte, error)
func (*NullableGitRepository) UnmarshalJSON ¶
func (v *NullableGitRepository) UnmarshalJSON(src []byte) error
type NullableGitStatus ¶
type NullableGitStatus struct {
// contains filtered or unexported fields
}
func NewNullableGitStatus ¶
func NewNullableGitStatus(val *GitStatus) *NullableGitStatus
func (NullableGitStatus) MarshalJSON ¶
func (v NullableGitStatus) MarshalJSON() ([]byte, error)
func (*NullableGitStatus) UnmarshalJSON ¶
func (v *NullableGitStatus) UnmarshalJSON(src []byte) error
type NullableGitUser ¶
type NullableGitUser struct {
// contains filtered or unexported fields
}
func NewNullableGitUser ¶
func NewNullableGitUser(val *GitUser) *NullableGitUser
func (NullableGitUser) MarshalJSON ¶
func (v NullableGitUser) MarshalJSON() ([]byte, error)
func (*NullableGitUser) UnmarshalJSON ¶
func (v *NullableGitUser) UnmarshalJSON(src []byte) error
type NullableInstallProviderRequest ¶
type NullableInstallProviderRequest struct {
// contains filtered or unexported fields
}
func NewNullableInstallProviderRequest ¶
func NewNullableInstallProviderRequest(val *InstallProviderRequest) *NullableInstallProviderRequest
func (NullableInstallProviderRequest) Get ¶
func (v NullableInstallProviderRequest) Get() *InstallProviderRequest
func (NullableInstallProviderRequest) MarshalJSON ¶
func (v NullableInstallProviderRequest) MarshalJSON() ([]byte, error)
func (*NullableInstallProviderRequest) Set ¶
func (v *NullableInstallProviderRequest) Set(val *InstallProviderRequest)
func (*NullableInstallProviderRequest) UnmarshalJSON ¶
func (v *NullableInstallProviderRequest) UnmarshalJSON(src []byte) error
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
type NullableNetworkKey ¶
type NullableNetworkKey struct {
// contains filtered or unexported fields
}
func NewNullableNetworkKey ¶
func NewNullableNetworkKey(val *NetworkKey) *NullableNetworkKey
func (NullableNetworkKey) MarshalJSON ¶
func (v NullableNetworkKey) MarshalJSON() ([]byte, error)
func (*NullableNetworkKey) UnmarshalJSON ¶
func (v *NullableNetworkKey) UnmarshalJSON(src []byte) error
type NullableProfileData ¶
type NullableProfileData struct {
// contains filtered or unexported fields
}
func NewNullableProfileData ¶
func NewNullableProfileData(val *ProfileData) *NullableProfileData
func (NullableProfileData) MarshalJSON ¶
func (v NullableProfileData) MarshalJSON() ([]byte, error)
func (*NullableProfileData) UnmarshalJSON ¶
func (v *NullableProfileData) UnmarshalJSON(src []byte) error
type NullableProject ¶
type NullableProject struct {
// contains filtered or unexported fields
}
func NewNullableProject ¶
func NewNullableProject(val *Project) *NullableProject
func (NullableProject) MarshalJSON ¶
func (v NullableProject) MarshalJSON() ([]byte, error)
func (*NullableProject) UnmarshalJSON ¶
func (v *NullableProject) UnmarshalJSON(src []byte) error
type NullableProjectBuild ¶
type NullableProjectBuild struct {
// contains filtered or unexported fields
}
func NewNullableProjectBuild ¶
func NewNullableProjectBuild(val *ProjectBuild) *NullableProjectBuild
func (NullableProjectBuild) MarshalJSON ¶
func (v NullableProjectBuild) MarshalJSON() ([]byte, error)
func (*NullableProjectBuild) UnmarshalJSON ¶
func (v *NullableProjectBuild) UnmarshalJSON(src []byte) error
type NullableProjectBuildDevcontainer ¶
type NullableProjectBuildDevcontainer struct {
// contains filtered or unexported fields
}
func NewNullableProjectBuildDevcontainer ¶
func NewNullableProjectBuildDevcontainer(val *ProjectBuildDevcontainer) *NullableProjectBuildDevcontainer
func (NullableProjectBuildDevcontainer) Get ¶
func (v NullableProjectBuildDevcontainer) Get() *ProjectBuildDevcontainer
func (NullableProjectBuildDevcontainer) IsSet ¶
func (v NullableProjectBuildDevcontainer) IsSet() bool
func (NullableProjectBuildDevcontainer) MarshalJSON ¶
func (v NullableProjectBuildDevcontainer) MarshalJSON() ([]byte, error)
func (*NullableProjectBuildDevcontainer) Set ¶
func (v *NullableProjectBuildDevcontainer) Set(val *ProjectBuildDevcontainer)
func (*NullableProjectBuildDevcontainer) UnmarshalJSON ¶
func (v *NullableProjectBuildDevcontainer) UnmarshalJSON(src []byte) error
type NullableProjectBuildDockerfile ¶
type NullableProjectBuildDockerfile struct {
// contains filtered or unexported fields
}
func NewNullableProjectBuildDockerfile ¶
func NewNullableProjectBuildDockerfile(val *ProjectBuildDockerfile) *NullableProjectBuildDockerfile
func (NullableProjectBuildDockerfile) Get ¶
func (v NullableProjectBuildDockerfile) Get() *ProjectBuildDockerfile
func (NullableProjectBuildDockerfile) MarshalJSON ¶
func (v NullableProjectBuildDockerfile) MarshalJSON() ([]byte, error)
func (*NullableProjectBuildDockerfile) Set ¶
func (v *NullableProjectBuildDockerfile) Set(val *ProjectBuildDockerfile)
func (*NullableProjectBuildDockerfile) UnmarshalJSON ¶
func (v *NullableProjectBuildDockerfile) UnmarshalJSON(src []byte) error
type NullableProjectInfo ¶
type NullableProjectInfo struct {
// contains filtered or unexported fields
}
func NewNullableProjectInfo ¶
func NewNullableProjectInfo(val *ProjectInfo) *NullableProjectInfo
func (NullableProjectInfo) MarshalJSON ¶
func (v NullableProjectInfo) MarshalJSON() ([]byte, error)
func (*NullableProjectInfo) UnmarshalJSON ¶
func (v *NullableProjectInfo) UnmarshalJSON(src []byte) error
type NullableProjectState ¶
type NullableProjectState struct {
// contains filtered or unexported fields
}
func NewNullableProjectState ¶
func NewNullableProjectState(val *ProjectState) *NullableProjectState
func (NullableProjectState) MarshalJSON ¶
func (v NullableProjectState) MarshalJSON() ([]byte, error)
func (*NullableProjectState) UnmarshalJSON ¶
func (v *NullableProjectState) UnmarshalJSON(src []byte) error
type NullableProvider ¶
type NullableProvider struct {
// contains filtered or unexported fields
}
func NewNullableProvider ¶
func NewNullableProvider(val *Provider) *NullableProvider
func (NullableProvider) MarshalJSON ¶
func (v NullableProvider) MarshalJSON() ([]byte, error)
func (*NullableProvider) UnmarshalJSON ¶
func (v *NullableProvider) UnmarshalJSON(src []byte) error
type NullableProviderProviderInfo ¶
type NullableProviderProviderInfo struct {
// contains filtered or unexported fields
}
func NewNullableProviderProviderInfo ¶
func NewNullableProviderProviderInfo(val *ProviderProviderInfo) *NullableProviderProviderInfo
func (NullableProviderProviderInfo) Get ¶
func (v NullableProviderProviderInfo) Get() *ProviderProviderInfo
func (NullableProviderProviderInfo) MarshalJSON ¶
func (v NullableProviderProviderInfo) MarshalJSON() ([]byte, error)
func (*NullableProviderProviderInfo) Set ¶
func (v *NullableProviderProviderInfo) Set(val *ProviderProviderInfo)
func (*NullableProviderProviderInfo) UnmarshalJSON ¶
func (v *NullableProviderProviderInfo) UnmarshalJSON(src []byte) error
type NullableProviderProviderTargetProperty ¶
type NullableProviderProviderTargetProperty struct {
// contains filtered or unexported fields
}
func NewNullableProviderProviderTargetProperty ¶
func NewNullableProviderProviderTargetProperty(val *ProviderProviderTargetProperty) *NullableProviderProviderTargetProperty
func (NullableProviderProviderTargetProperty) Get ¶
func (v NullableProviderProviderTargetProperty) Get() *ProviderProviderTargetProperty
func (NullableProviderProviderTargetProperty) IsSet ¶
func (v NullableProviderProviderTargetProperty) IsSet() bool
func (NullableProviderProviderTargetProperty) MarshalJSON ¶
func (v NullableProviderProviderTargetProperty) MarshalJSON() ([]byte, error)
func (*NullableProviderProviderTargetProperty) Set ¶
func (v *NullableProviderProviderTargetProperty) Set(val *ProviderProviderTargetProperty)
func (*NullableProviderProviderTargetProperty) UnmarshalJSON ¶
func (v *NullableProviderProviderTargetProperty) UnmarshalJSON(src []byte) error
type NullableProviderProviderTargetPropertyType ¶
type NullableProviderProviderTargetPropertyType struct {
// contains filtered or unexported fields
}
func NewNullableProviderProviderTargetPropertyType ¶
func NewNullableProviderProviderTargetPropertyType(val *ProviderProviderTargetPropertyType) *NullableProviderProviderTargetPropertyType
func (NullableProviderProviderTargetPropertyType) Get ¶
func (v NullableProviderProviderTargetPropertyType) Get() *ProviderProviderTargetPropertyType
func (NullableProviderProviderTargetPropertyType) IsSet ¶
func (v NullableProviderProviderTargetPropertyType) IsSet() bool
func (NullableProviderProviderTargetPropertyType) MarshalJSON ¶
func (v NullableProviderProviderTargetPropertyType) MarshalJSON() ([]byte, error)
func (*NullableProviderProviderTargetPropertyType) Set ¶
func (v *NullableProviderProviderTargetPropertyType) Set(val *ProviderProviderTargetPropertyType)
func (*NullableProviderProviderTargetPropertyType) UnmarshalJSON ¶
func (v *NullableProviderProviderTargetPropertyType) UnmarshalJSON(src []byte) error
type NullableProviderTarget ¶
type NullableProviderTarget struct {
// contains filtered or unexported fields
}
func NewNullableProviderTarget ¶
func NewNullableProviderTarget(val *ProviderTarget) *NullableProviderTarget
func (NullableProviderTarget) MarshalJSON ¶
func (v NullableProviderTarget) MarshalJSON() ([]byte, error)
func (*NullableProviderTarget) UnmarshalJSON ¶
func (v *NullableProviderTarget) UnmarshalJSON(src []byte) error
type NullableServerConfig ¶
type NullableServerConfig struct {
// contains filtered or unexported fields
}
func NewNullableServerConfig ¶
func NewNullableServerConfig(val *ServerConfig) *NullableServerConfig
func (NullableServerConfig) MarshalJSON ¶
func (v NullableServerConfig) MarshalJSON() ([]byte, error)
func (*NullableServerConfig) UnmarshalJSON ¶
func (v *NullableServerConfig) UnmarshalJSON(src []byte) error
type NullableSetProjectState ¶
type NullableSetProjectState struct {
// contains filtered or unexported fields
}
func NewNullableSetProjectState ¶
func NewNullableSetProjectState(val *SetProjectState) *NullableSetProjectState
func (NullableSetProjectState) MarshalJSON ¶
func (v NullableSetProjectState) MarshalJSON() ([]byte, error)
func (*NullableSetProjectState) UnmarshalJSON ¶
func (v *NullableSetProjectState) UnmarshalJSON(src []byte) error
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
type NullableWorkspace ¶
type NullableWorkspace struct {
// contains filtered or unexported fields
}
func NewNullableWorkspace ¶
func NewNullableWorkspace(val *Workspace) *NullableWorkspace
func (NullableWorkspace) MarshalJSON ¶
func (v NullableWorkspace) MarshalJSON() ([]byte, error)
func (*NullableWorkspace) UnmarshalJSON ¶
func (v *NullableWorkspace) UnmarshalJSON(src []byte) error
type NullableWorkspaceDTO ¶
type NullableWorkspaceDTO struct {
// contains filtered or unexported fields
}
func NewNullableWorkspaceDTO ¶
func NewNullableWorkspaceDTO(val *WorkspaceDTO) *NullableWorkspaceDTO
func (NullableWorkspaceDTO) MarshalJSON ¶
func (v NullableWorkspaceDTO) MarshalJSON() ([]byte, error)
func (*NullableWorkspaceDTO) UnmarshalJSON ¶
func (v *NullableWorkspaceDTO) UnmarshalJSON(src []byte) error
type NullableWorkspaceInfo ¶
type NullableWorkspaceInfo struct {
// contains filtered or unexported fields
}
func NewNullableWorkspaceInfo ¶
func NewNullableWorkspaceInfo(val *WorkspaceInfo) *NullableWorkspaceInfo
func (NullableWorkspaceInfo) MarshalJSON ¶
func (v NullableWorkspaceInfo) MarshalJSON() ([]byte, error)
func (*NullableWorkspaceInfo) UnmarshalJSON ¶
func (v *NullableWorkspaceInfo) UnmarshalJSON(src []byte) error
type ProfileAPIService ¶
type ProfileAPIService service
ProfileAPIService ProfileAPI service
func (*ProfileAPIService) DeleteProfileData ¶
func (a *ProfileAPIService) DeleteProfileData(ctx context.Context) ApiDeleteProfileDataRequest
DeleteProfileData Delete profile data
Delete profile data
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeleteProfileDataRequest
func (*ProfileAPIService) DeleteProfileDataExecute ¶
func (a *ProfileAPIService) DeleteProfileDataExecute(r ApiDeleteProfileDataRequest) (*http.Response, error)
Execute executes the request
func (*ProfileAPIService) GetProfileData ¶
func (a *ProfileAPIService) GetProfileData(ctx context.Context) ApiGetProfileDataRequest
GetProfileData Get profile data
Get profile data
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetProfileDataRequest
func (*ProfileAPIService) GetProfileDataExecute ¶
func (a *ProfileAPIService) GetProfileDataExecute(r ApiGetProfileDataRequest) (*ProfileData, *http.Response, error)
Execute executes the request
@return ProfileData
func (*ProfileAPIService) SetProfileData ¶
func (a *ProfileAPIService) SetProfileData(ctx context.Context) ApiSetProfileDataRequest
SetProfileData Set profile data
Set profile data
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSetProfileDataRequest
func (*ProfileAPIService) SetProfileDataExecute ¶
func (a *ProfileAPIService) SetProfileDataExecute(r ApiSetProfileDataRequest) (*http.Response, error)
Execute executes the request
type ProfileData ¶
type ProfileData struct {
EnvVars *map[string]string `json:"envVars,omitempty"`
}
ProfileData struct for ProfileData
func NewProfileData ¶
func NewProfileData() *ProfileData
NewProfileData instantiates a new ProfileData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProfileDataWithDefaults ¶
func NewProfileDataWithDefaults() *ProfileData
NewProfileDataWithDefaults instantiates a new ProfileData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProfileData) GetEnvVars ¶
func (o *ProfileData) GetEnvVars() map[string]string
GetEnvVars returns the EnvVars field value if set, zero value otherwise.
func (*ProfileData) GetEnvVarsOk ¶
func (o *ProfileData) GetEnvVarsOk() (*map[string]string, bool)
GetEnvVarsOk returns a tuple with the EnvVars field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProfileData) HasEnvVars ¶
func (o *ProfileData) HasEnvVars() bool
HasEnvVars returns a boolean if a field has been set.
func (ProfileData) MarshalJSON ¶
func (o ProfileData) MarshalJSON() ([]byte, error)
func (*ProfileData) SetEnvVars ¶
func (o *ProfileData) SetEnvVars(v map[string]string)
SetEnvVars gets a reference to the given map[string]string and assigns it to the EnvVars field.
type Project ¶
type Project struct {
Build *ProjectBuild `json:"build,omitempty"`
Image *string `json:"image,omitempty"`
Name *string `json:"name,omitempty"`
PostCreateCommands []string `json:"postCreateCommands,omitempty"`
PostStartCommands []string `json:"postStartCommands,omitempty"`
Repository *GitRepository `json:"repository,omitempty"`
State *ProjectState `json:"state,omitempty"`
Target *string `json:"target,omitempty"`
User *string `json:"user,omitempty"`
WorkspaceId *string `json:"workspaceId,omitempty"`
}
Project struct for Project
func NewProject ¶
func NewProject() *Project
NewProject instantiates a new Project object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectWithDefaults ¶
func NewProjectWithDefaults() *Project
NewProjectWithDefaults instantiates a new Project object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Project) GetBuild ¶
func (o *Project) GetBuild() ProjectBuild
GetBuild returns the Build field value if set, zero value otherwise.
func (*Project) GetBuildOk ¶
func (o *Project) GetBuildOk() (*ProjectBuild, bool)
GetBuildOk returns a tuple with the Build field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetImage ¶
func (o *Project) GetImage() string
GetImage returns the Image field value if set, zero value otherwise.
func (*Project) GetImageOk ¶
func (o *Project) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetName ¶
func (o *Project) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*Project) GetNameOk ¶
func (o *Project) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetPostCreateCommands ¶
func (o *Project) GetPostCreateCommands() []string
GetPostCreateCommands returns the PostCreateCommands field value if set, zero value otherwise.
func (*Project) GetPostCreateCommandsOk ¶
func (o *Project) GetPostCreateCommandsOk() ([]string, bool)
GetPostCreateCommandsOk returns a tuple with the PostCreateCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetPostStartCommands ¶
func (o *Project) GetPostStartCommands() []string
GetPostStartCommands returns the PostStartCommands field value if set, zero value otherwise.
func (*Project) GetPostStartCommandsOk ¶
func (o *Project) GetPostStartCommandsOk() ([]string, bool)
GetPostStartCommandsOk returns a tuple with the PostStartCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetRepository ¶
func (o *Project) GetRepository() GitRepository
GetRepository returns the Repository field value if set, zero value otherwise.
func (*Project) GetRepositoryOk ¶
func (o *Project) GetRepositoryOk() (*GitRepository, bool)
GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetState ¶
func (o *Project) GetState() ProjectState
GetState returns the State field value if set, zero value otherwise.
func (*Project) GetStateOk ¶
func (o *Project) GetStateOk() (*ProjectState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetTarget ¶
func (o *Project) GetTarget() string
GetTarget returns the Target field value if set, zero value otherwise.
func (*Project) GetTargetOk ¶
func (o *Project) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetUser ¶
func (o *Project) GetUser() string
GetUser returns the User field value if set, zero value otherwise.
func (*Project) GetUserOk ¶
func (o *Project) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetWorkspaceId ¶
func (o *Project) GetWorkspaceId() string
GetWorkspaceId returns the WorkspaceId field value if set, zero value otherwise.
func (*Project) GetWorkspaceIdOk ¶
func (o *Project) GetWorkspaceIdOk() (*string, bool)
GetWorkspaceIdOk returns a tuple with the WorkspaceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) HasBuild ¶
func (o *Project) HasBuild() bool
HasBuild returns a boolean if a field has been set.
func (*Project) HasImage ¶
func (o *Project) HasImage() bool
HasImage returns a boolean if a field has been set.
func (*Project) HasName ¶
func (o *Project) HasName() bool
HasName returns a boolean if a field has been set.
func (*Project) HasPostCreateCommands ¶
func (o *Project) HasPostCreateCommands() bool
HasPostCreateCommands returns a boolean if a field has been set.
func (*Project) HasPostStartCommands ¶
func (o *Project) HasPostStartCommands() bool
HasPostStartCommands returns a boolean if a field has been set.
func (*Project) HasRepository ¶
func (o *Project) HasRepository() bool
HasRepository returns a boolean if a field has been set.
func (*Project) HasState ¶
func (o *Project) HasState() bool
HasState returns a boolean if a field has been set.
func (*Project) HasTarget ¶
func (o *Project) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (*Project) HasUser ¶
func (o *Project) HasUser() bool
HasUser returns a boolean if a field has been set.
func (*Project) HasWorkspaceId ¶
func (o *Project) HasWorkspaceId() bool
HasWorkspaceId returns a boolean if a field has been set.
func (Project) MarshalJSON ¶
func (o Project) MarshalJSON() ([]byte, error)
func (*Project) SetBuild ¶
func (o *Project) SetBuild(v ProjectBuild)
SetBuild gets a reference to the given ProjectBuild and assigns it to the Build field.
func (*Project) SetImage ¶
func (o *Project) SetImage(v string)
SetImage gets a reference to the given string and assigns it to the Image field.
func (*Project) SetName ¶
func (o *Project) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*Project) SetPostCreateCommands ¶
func (o *Project) SetPostCreateCommands(v []string)
SetPostCreateCommands gets a reference to the given []string and assigns it to the PostCreateCommands field.
func (*Project) SetPostStartCommands ¶
func (o *Project) SetPostStartCommands(v []string)
SetPostStartCommands gets a reference to the given []string and assigns it to the PostStartCommands field.
func (*Project) SetRepository ¶
func (o *Project) SetRepository(v GitRepository)
SetRepository gets a reference to the given GitRepository and assigns it to the Repository field.
func (*Project) SetState ¶
func (o *Project) SetState(v ProjectState)
SetState gets a reference to the given ProjectState and assigns it to the State field.
func (*Project) SetTarget ¶
func (o *Project) SetTarget(v string)
SetTarget gets a reference to the given string and assigns it to the Target field.
func (*Project) SetUser ¶
func (o *Project) SetUser(v string)
SetUser gets a reference to the given string and assigns it to the User field.
func (*Project) SetWorkspaceId ¶
func (o *Project) SetWorkspaceId(v string)
SetWorkspaceId gets a reference to the given string and assigns it to the WorkspaceId field.
type ProjectBuild ¶
type ProjectBuild struct {
Devcontainer *ProjectBuildDevcontainer `json:"devcontainer,omitempty"`
}
ProjectBuild struct for ProjectBuild
func NewProjectBuild ¶
func NewProjectBuild() *ProjectBuild
NewProjectBuild instantiates a new ProjectBuild object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectBuildWithDefaults ¶
func NewProjectBuildWithDefaults() *ProjectBuild
NewProjectBuildWithDefaults instantiates a new ProjectBuild object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProjectBuild) GetDevcontainer ¶
func (o *ProjectBuild) GetDevcontainer() ProjectBuildDevcontainer
GetDevcontainer returns the Devcontainer field value if set, zero value otherwise.
func (*ProjectBuild) GetDevcontainerOk ¶
func (o *ProjectBuild) GetDevcontainerOk() (*ProjectBuildDevcontainer, bool)
GetDevcontainerOk returns a tuple with the Devcontainer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectBuild) HasDevcontainer ¶
func (o *ProjectBuild) HasDevcontainer() bool
HasDevcontainer returns a boolean if a field has been set.
func (ProjectBuild) MarshalJSON ¶
func (o ProjectBuild) MarshalJSON() ([]byte, error)
func (*ProjectBuild) SetDevcontainer ¶
func (o *ProjectBuild) SetDevcontainer(v ProjectBuildDevcontainer)
SetDevcontainer gets a reference to the given ProjectBuildDevcontainer and assigns it to the Devcontainer field.
type ProjectBuildDevcontainer ¶
type ProjectBuildDevcontainer struct {
DevContainerFilePath *string `json:"devContainerFilePath,omitempty"`
}
ProjectBuildDevcontainer struct for ProjectBuildDevcontainer
func NewProjectBuildDevcontainer ¶
func NewProjectBuildDevcontainer() *ProjectBuildDevcontainer
NewProjectBuildDevcontainer instantiates a new ProjectBuildDevcontainer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectBuildDevcontainerWithDefaults ¶
func NewProjectBuildDevcontainerWithDefaults() *ProjectBuildDevcontainer
NewProjectBuildDevcontainerWithDefaults instantiates a new ProjectBuildDevcontainer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProjectBuildDevcontainer) GetDevContainerFilePath ¶
func (o *ProjectBuildDevcontainer) GetDevContainerFilePath() string
GetDevContainerFilePath returns the DevContainerFilePath field value if set, zero value otherwise.
func (*ProjectBuildDevcontainer) GetDevContainerFilePathOk ¶
func (o *ProjectBuildDevcontainer) GetDevContainerFilePathOk() (*string, bool)
GetDevContainerFilePathOk returns a tuple with the DevContainerFilePath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectBuildDevcontainer) HasDevContainerFilePath ¶
func (o *ProjectBuildDevcontainer) HasDevContainerFilePath() bool
HasDevContainerFilePath returns a boolean if a field has been set.
func (ProjectBuildDevcontainer) MarshalJSON ¶
func (o ProjectBuildDevcontainer) MarshalJSON() ([]byte, error)
func (*ProjectBuildDevcontainer) SetDevContainerFilePath ¶
func (o *ProjectBuildDevcontainer) SetDevContainerFilePath(v string)
SetDevContainerFilePath gets a reference to the given string and assigns it to the DevContainerFilePath field.
type ProjectBuildDockerfile ¶
type ProjectBuildDockerfile struct {
Args *map[string]string `json:"args,omitempty"`
Context *string `json:"context,omitempty"`
Dockerfile *string `json:"dockerfile,omitempty"`
}
ProjectBuildDockerfile struct for ProjectBuildDockerfile
func NewProjectBuildDockerfile ¶
func NewProjectBuildDockerfile() *ProjectBuildDockerfile
NewProjectBuildDockerfile instantiates a new ProjectBuildDockerfile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectBuildDockerfileWithDefaults ¶
func NewProjectBuildDockerfileWithDefaults() *ProjectBuildDockerfile
NewProjectBuildDockerfileWithDefaults instantiates a new ProjectBuildDockerfile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProjectBuildDockerfile) GetArgs ¶
func (o *ProjectBuildDockerfile) GetArgs() map[string]string
GetArgs returns the Args field value if set, zero value otherwise.
func (*ProjectBuildDockerfile) GetArgsOk ¶
func (o *ProjectBuildDockerfile) GetArgsOk() (*map[string]string, bool)
GetArgsOk returns a tuple with the Args field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectBuildDockerfile) GetContext ¶
func (o *ProjectBuildDockerfile) GetContext() string
GetContext returns the Context field value if set, zero value otherwise.
func (*ProjectBuildDockerfile) GetContextOk ¶
func (o *ProjectBuildDockerfile) GetContextOk() (*string, bool)
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectBuildDockerfile) GetDockerfile ¶
func (o *ProjectBuildDockerfile) GetDockerfile() string
GetDockerfile returns the Dockerfile field value if set, zero value otherwise.
func (*ProjectBuildDockerfile) GetDockerfileOk ¶
func (o *ProjectBuildDockerfile) GetDockerfileOk() (*string, bool)
GetDockerfileOk returns a tuple with the Dockerfile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectBuildDockerfile) HasArgs ¶
func (o *ProjectBuildDockerfile) HasArgs() bool
HasArgs returns a boolean if a field has been set.
func (*ProjectBuildDockerfile) HasContext ¶
func (o *ProjectBuildDockerfile) HasContext() bool
HasContext returns a boolean if a field has been set.
func (*ProjectBuildDockerfile) HasDockerfile ¶
func (o *ProjectBuildDockerfile) HasDockerfile() bool
HasDockerfile returns a boolean if a field has been set.
func (ProjectBuildDockerfile) MarshalJSON ¶
func (o ProjectBuildDockerfile) MarshalJSON() ([]byte, error)
func (*ProjectBuildDockerfile) SetArgs ¶
func (o *ProjectBuildDockerfile) SetArgs(v map[string]string)
SetArgs gets a reference to the given map[string]string and assigns it to the Args field.
func (*ProjectBuildDockerfile) SetContext ¶
func (o *ProjectBuildDockerfile) SetContext(v string)
SetContext gets a reference to the given string and assigns it to the Context field.
func (*ProjectBuildDockerfile) SetDockerfile ¶
func (o *ProjectBuildDockerfile) SetDockerfile(v string)
SetDockerfile gets a reference to the given string and assigns it to the Dockerfile field.
type ProjectInfo ¶
type ProjectInfo struct {
Created *string `json:"created,omitempty"`
IsRunning *bool `json:"isRunning,omitempty"`
Name *string `json:"name,omitempty"`
ProviderMetadata *string `json:"providerMetadata,omitempty"`
WorkspaceId *string `json:"workspaceId,omitempty"`
}
ProjectInfo struct for ProjectInfo
func NewProjectInfo ¶
func NewProjectInfo() *ProjectInfo
NewProjectInfo instantiates a new ProjectInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectInfoWithDefaults ¶
func NewProjectInfoWithDefaults() *ProjectInfo
NewProjectInfoWithDefaults instantiates a new ProjectInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProjectInfo) GetCreated ¶
func (o *ProjectInfo) GetCreated() string
GetCreated returns the Created field value if set, zero value otherwise.
func (*ProjectInfo) GetCreatedOk ¶
func (o *ProjectInfo) GetCreatedOk() (*string, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectInfo) GetIsRunning ¶
func (o *ProjectInfo) GetIsRunning() bool
GetIsRunning returns the IsRunning field value if set, zero value otherwise.
func (*ProjectInfo) GetIsRunningOk ¶
func (o *ProjectInfo) GetIsRunningOk() (*bool, bool)
GetIsRunningOk returns a tuple with the IsRunning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectInfo) GetName ¶
func (o *ProjectInfo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ProjectInfo) GetNameOk ¶
func (o *ProjectInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectInfo) GetProviderMetadata ¶
func (o *ProjectInfo) GetProviderMetadata() string
GetProviderMetadata returns the ProviderMetadata field value if set, zero value otherwise.
func (*ProjectInfo) GetProviderMetadataOk ¶
func (o *ProjectInfo) GetProviderMetadataOk() (*string, bool)
GetProviderMetadataOk returns a tuple with the ProviderMetadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectInfo) GetWorkspaceId ¶
func (o *ProjectInfo) GetWorkspaceId() string
GetWorkspaceId returns the WorkspaceId field value if set, zero value otherwise.
func (*ProjectInfo) GetWorkspaceIdOk ¶
func (o *ProjectInfo) GetWorkspaceIdOk() (*string, bool)
GetWorkspaceIdOk returns a tuple with the WorkspaceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectInfo) HasCreated ¶
func (o *ProjectInfo) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*ProjectInfo) HasIsRunning ¶
func (o *ProjectInfo) HasIsRunning() bool
HasIsRunning returns a boolean if a field has been set.
func (*ProjectInfo) HasName ¶
func (o *ProjectInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (*ProjectInfo) HasProviderMetadata ¶
func (o *ProjectInfo) HasProviderMetadata() bool
HasProviderMetadata returns a boolean if a field has been set.
func (*ProjectInfo) HasWorkspaceId ¶
func (o *ProjectInfo) HasWorkspaceId() bool
HasWorkspaceId returns a boolean if a field has been set.
func (ProjectInfo) MarshalJSON ¶
func (o ProjectInfo) MarshalJSON() ([]byte, error)
func (*ProjectInfo) SetCreated ¶
func (o *ProjectInfo) SetCreated(v string)
SetCreated gets a reference to the given string and assigns it to the Created field.
func (*ProjectInfo) SetIsRunning ¶
func (o *ProjectInfo) SetIsRunning(v bool)
SetIsRunning gets a reference to the given bool and assigns it to the IsRunning field.
func (*ProjectInfo) SetName ¶
func (o *ProjectInfo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ProjectInfo) SetProviderMetadata ¶
func (o *ProjectInfo) SetProviderMetadata(v string)
SetProviderMetadata gets a reference to the given string and assigns it to the ProviderMetadata field.
func (*ProjectInfo) SetWorkspaceId ¶
func (o *ProjectInfo) SetWorkspaceId(v string)
SetWorkspaceId gets a reference to the given string and assigns it to the WorkspaceId field.
type ProjectState ¶
type ProjectState struct {
GitStatus *GitStatus `json:"gitStatus,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
Uptime *int32 `json:"uptime,omitempty"`
}
ProjectState struct for ProjectState
func NewProjectState ¶
func NewProjectState() *ProjectState
NewProjectState instantiates a new ProjectState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectStateWithDefaults ¶
func NewProjectStateWithDefaults() *ProjectState
NewProjectStateWithDefaults instantiates a new ProjectState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProjectState) GetGitStatus ¶
func (o *ProjectState) GetGitStatus() GitStatus
GetGitStatus returns the GitStatus field value if set, zero value otherwise.
func (*ProjectState) GetGitStatusOk ¶
func (o *ProjectState) GetGitStatusOk() (*GitStatus, bool)
GetGitStatusOk returns a tuple with the GitStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectState) GetUpdatedAt ¶
func (o *ProjectState) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ProjectState) GetUpdatedAtOk ¶
func (o *ProjectState) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectState) GetUptime ¶
func (o *ProjectState) GetUptime() int32
GetUptime returns the Uptime field value if set, zero value otherwise.
func (*ProjectState) GetUptimeOk ¶
func (o *ProjectState) GetUptimeOk() (*int32, bool)
GetUptimeOk returns a tuple with the Uptime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectState) HasGitStatus ¶
func (o *ProjectState) HasGitStatus() bool
HasGitStatus returns a boolean if a field has been set.
func (*ProjectState) HasUpdatedAt ¶
func (o *ProjectState) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*ProjectState) HasUptime ¶
func (o *ProjectState) HasUptime() bool
HasUptime returns a boolean if a field has been set.
func (ProjectState) MarshalJSON ¶
func (o ProjectState) MarshalJSON() ([]byte, error)
func (*ProjectState) SetGitStatus ¶
func (o *ProjectState) SetGitStatus(v GitStatus)
SetGitStatus gets a reference to the given GitStatus and assigns it to the GitStatus field.
func (*ProjectState) SetUpdatedAt ¶
func (o *ProjectState) SetUpdatedAt(v string)
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
type Provider ¶
type Provider struct {
Name *string `json:"name,omitempty"`
Version *string `json:"version,omitempty"`
}
Provider struct for Provider
func NewProvider ¶
func NewProvider() *Provider
NewProvider instantiates a new Provider object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProviderWithDefaults ¶
func NewProviderWithDefaults() *Provider
NewProviderWithDefaults instantiates a new Provider object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Provider) GetName ¶
func (o *Provider) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*Provider) GetNameOk ¶
func (o *Provider) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Provider) GetVersion ¶
func (o *Provider) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*Provider) GetVersionOk ¶
func (o *Provider) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Provider) HasName ¶
func (o *Provider) HasName() bool
HasName returns a boolean if a field has been set.
func (*Provider) HasVersion ¶
func (o *Provider) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (Provider) MarshalJSON ¶
func (o Provider) MarshalJSON() ([]byte, error)
func (*Provider) SetName ¶
func (o *Provider) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*Provider) SetVersion ¶
func (o *Provider) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type ProviderAPIService ¶
type ProviderAPIService service
ProviderAPIService ProviderAPI service
func (*ProviderAPIService) GetTargetManifest ¶
func (a *ProviderAPIService) GetTargetManifest(ctx context.Context, provider string) ApiGetTargetManifestRequest
GetTargetManifest Get provider target manifest
Get provider target manifest
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param provider Provider name
@return ApiGetTargetManifestRequest
func (*ProviderAPIService) GetTargetManifestExecute ¶
func (a *ProviderAPIService) GetTargetManifestExecute(r ApiGetTargetManifestRequest) (*map[string]ProviderProviderTargetProperty, *http.Response, error)
Execute executes the request
@return map[string]ProviderProviderTargetProperty
func (*ProviderAPIService) InstallProvider ¶
func (a *ProviderAPIService) InstallProvider(ctx context.Context) ApiInstallProviderRequest
InstallProvider Install a provider
Install a provider
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiInstallProviderRequest
func (*ProviderAPIService) InstallProviderExecute ¶
func (a *ProviderAPIService) InstallProviderExecute(r ApiInstallProviderRequest) (*http.Response, error)
Execute executes the request
func (*ProviderAPIService) ListProviders ¶
func (a *ProviderAPIService) ListProviders(ctx context.Context) ApiListProvidersRequest
ListProviders List providers
List providers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListProvidersRequest
func (*ProviderAPIService) ListProvidersExecute ¶
func (a *ProviderAPIService) ListProvidersExecute(r ApiListProvidersRequest) ([]Provider, *http.Response, error)
Execute executes the request
@return []Provider
func (*ProviderAPIService) UninstallProvider ¶
func (a *ProviderAPIService) UninstallProvider(ctx context.Context, provider string) ApiUninstallProviderRequest
UninstallProvider Uninstall a provider
Uninstall a provider
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param provider Provider to uninstall
@return ApiUninstallProviderRequest
func (*ProviderAPIService) UninstallProviderExecute ¶
func (a *ProviderAPIService) UninstallProviderExecute(r ApiUninstallProviderRequest) (*http.Response, error)
Execute executes the request
type ProviderProviderInfo ¶
type ProviderProviderInfo struct {
Name *string `json:"name,omitempty"`
Version *string `json:"version,omitempty"`
}
ProviderProviderInfo struct for ProviderProviderInfo
func NewProviderProviderInfo ¶
func NewProviderProviderInfo() *ProviderProviderInfo
NewProviderProviderInfo instantiates a new ProviderProviderInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProviderProviderInfoWithDefaults ¶
func NewProviderProviderInfoWithDefaults() *ProviderProviderInfo
NewProviderProviderInfoWithDefaults instantiates a new ProviderProviderInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProviderProviderInfo) GetName ¶
func (o *ProviderProviderInfo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ProviderProviderInfo) GetNameOk ¶
func (o *ProviderProviderInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderProviderInfo) GetVersion ¶
func (o *ProviderProviderInfo) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*ProviderProviderInfo) GetVersionOk ¶
func (o *ProviderProviderInfo) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderProviderInfo) HasName ¶
func (o *ProviderProviderInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (*ProviderProviderInfo) HasVersion ¶
func (o *ProviderProviderInfo) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ProviderProviderInfo) MarshalJSON ¶
func (o ProviderProviderInfo) MarshalJSON() ([]byte, error)
func (*ProviderProviderInfo) SetName ¶
func (o *ProviderProviderInfo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ProviderProviderInfo) SetVersion ¶
func (o *ProviderProviderInfo) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type ProviderProviderTargetProperty ¶
type ProviderProviderTargetProperty struct {
// DefaultValue is converted into the appropriate type based on the Type If the property is a FilePath, the DefaultValue is a path to a directory
DefaultValue *string `json:"defaultValue,omitempty"`
// Brief description of the property
Description *string `json:"description,omitempty"`
// A regex string matched with the name of the target to determine if the property should be disabled If the regex matches the target name, the property will be disabled E.g. \"^local$\" will disable the property for the local target
DisabledPredicate *string `json:"disabledPredicate,omitempty"`
InputMasked *bool `json:"inputMasked,omitempty"`
// Options is only used if the Type is ProviderTargetPropertyTypeOption
Options []string `json:"options,omitempty"`
Type *ProviderProviderTargetPropertyType `json:"type,omitempty"`
}
ProviderProviderTargetProperty struct for ProviderProviderTargetProperty
func NewProviderProviderTargetProperty ¶
func NewProviderProviderTargetProperty() *ProviderProviderTargetProperty
NewProviderProviderTargetProperty instantiates a new ProviderProviderTargetProperty object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProviderProviderTargetPropertyWithDefaults ¶
func NewProviderProviderTargetPropertyWithDefaults() *ProviderProviderTargetProperty
NewProviderProviderTargetPropertyWithDefaults instantiates a new ProviderProviderTargetProperty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProviderProviderTargetProperty) GetDefaultValue ¶
func (o *ProviderProviderTargetProperty) GetDefaultValue() string
GetDefaultValue returns the DefaultValue field value if set, zero value otherwise.
func (*ProviderProviderTargetProperty) GetDefaultValueOk ¶
func (o *ProviderProviderTargetProperty) GetDefaultValueOk() (*string, bool)
GetDefaultValueOk returns a tuple with the DefaultValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderProviderTargetProperty) GetDescription ¶
func (o *ProviderProviderTargetProperty) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ProviderProviderTargetProperty) GetDescriptionOk ¶
func (o *ProviderProviderTargetProperty) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderProviderTargetProperty) GetDisabledPredicate ¶
func (o *ProviderProviderTargetProperty) GetDisabledPredicate() string
GetDisabledPredicate returns the DisabledPredicate field value if set, zero value otherwise.
func (*ProviderProviderTargetProperty) GetDisabledPredicateOk ¶
func (o *ProviderProviderTargetProperty) GetDisabledPredicateOk() (*string, bool)
GetDisabledPredicateOk returns a tuple with the DisabledPredicate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderProviderTargetProperty) GetInputMasked ¶
func (o *ProviderProviderTargetProperty) GetInputMasked() bool
GetInputMasked returns the InputMasked field value if set, zero value otherwise.
func (*ProviderProviderTargetProperty) GetInputMaskedOk ¶
func (o *ProviderProviderTargetProperty) GetInputMaskedOk() (*bool, bool)
GetInputMaskedOk returns a tuple with the InputMasked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderProviderTargetProperty) GetOptions ¶
func (o *ProviderProviderTargetProperty) GetOptions() []string
GetOptions returns the Options field value if set, zero value otherwise.
func (*ProviderProviderTargetProperty) GetOptionsOk ¶
func (o *ProviderProviderTargetProperty) GetOptionsOk() ([]string, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderProviderTargetProperty) GetType ¶
func (o *ProviderProviderTargetProperty) GetType() ProviderProviderTargetPropertyType
GetType returns the Type field value if set, zero value otherwise.
func (*ProviderProviderTargetProperty) GetTypeOk ¶
func (o *ProviderProviderTargetProperty) GetTypeOk() (*ProviderProviderTargetPropertyType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderProviderTargetProperty) HasDefaultValue ¶
func (o *ProviderProviderTargetProperty) HasDefaultValue() bool
HasDefaultValue returns a boolean if a field has been set.
func (*ProviderProviderTargetProperty) HasDescription ¶
func (o *ProviderProviderTargetProperty) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ProviderProviderTargetProperty) HasDisabledPredicate ¶
func (o *ProviderProviderTargetProperty) HasDisabledPredicate() bool
HasDisabledPredicate returns a boolean if a field has been set.
func (*ProviderProviderTargetProperty) HasInputMasked ¶
func (o *ProviderProviderTargetProperty) HasInputMasked() bool
HasInputMasked returns a boolean if a field has been set.
func (*ProviderProviderTargetProperty) HasOptions ¶
func (o *ProviderProviderTargetProperty) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*ProviderProviderTargetProperty) HasType ¶
func (o *ProviderProviderTargetProperty) HasType() bool
HasType returns a boolean if a field has been set.
func (ProviderProviderTargetProperty) MarshalJSON ¶
func (o ProviderProviderTargetProperty) MarshalJSON() ([]byte, error)
func (*ProviderProviderTargetProperty) SetDefaultValue ¶
func (o *ProviderProviderTargetProperty) SetDefaultValue(v string)
SetDefaultValue gets a reference to the given string and assigns it to the DefaultValue field.
func (*ProviderProviderTargetProperty) SetDescription ¶
func (o *ProviderProviderTargetProperty) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ProviderProviderTargetProperty) SetDisabledPredicate ¶
func (o *ProviderProviderTargetProperty) SetDisabledPredicate(v string)
SetDisabledPredicate gets a reference to the given string and assigns it to the DisabledPredicate field.
func (*ProviderProviderTargetProperty) SetInputMasked ¶
func (o *ProviderProviderTargetProperty) SetInputMasked(v bool)
SetInputMasked gets a reference to the given bool and assigns it to the InputMasked field.
func (*ProviderProviderTargetProperty) SetOptions ¶
func (o *ProviderProviderTargetProperty) SetOptions(v []string)
SetOptions gets a reference to the given []string and assigns it to the Options field.
type ProviderProviderTargetPropertyType ¶
type ProviderProviderTargetPropertyType string
ProviderProviderTargetPropertyType the model 'ProviderProviderTargetPropertyType'
const (
ProviderTargetPropertyTypeString ProviderProviderTargetPropertyType = "string"
ProviderTargetPropertyTypeOption ProviderProviderTargetPropertyType = "option"
ProviderTargetPropertyTypeBoolean ProviderProviderTargetPropertyType = "boolean"
ProviderTargetPropertyTypeInt ProviderProviderTargetPropertyType = "int"
ProviderTargetPropertyTypeFloat ProviderProviderTargetPropertyType = "float"
ProviderTargetPropertyTypeFilePath ProviderProviderTargetPropertyType = "file-path"
)
List of provider.ProviderTargetPropertyType
func NewProviderProviderTargetPropertyTypeFromValue ¶
func NewProviderProviderTargetPropertyTypeFromValue(v string) (*ProviderProviderTargetPropertyType, error)
NewProviderProviderTargetPropertyTypeFromValue returns a pointer to a valid ProviderProviderTargetPropertyType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ProviderProviderTargetPropertyType) IsValid ¶
func (v ProviderProviderTargetPropertyType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ProviderProviderTargetPropertyType) Ptr ¶
func (v ProviderProviderTargetPropertyType) Ptr() *ProviderProviderTargetPropertyType
Ptr returns reference to provider.ProviderTargetPropertyType value
func (*ProviderProviderTargetPropertyType) UnmarshalJSON ¶
func (v *ProviderProviderTargetPropertyType) UnmarshalJSON(src []byte) error
type ProviderTarget ¶
type ProviderTarget struct {
Name *string `json:"name,omitempty"`
// JSON encoded map of options
Options *string `json:"options,omitempty"`
ProviderInfo *ProviderProviderInfo `json:"providerInfo,omitempty"`
}
ProviderTarget struct for ProviderTarget
func NewProviderTarget ¶
func NewProviderTarget() *ProviderTarget
NewProviderTarget instantiates a new ProviderTarget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProviderTargetWithDefaults ¶
func NewProviderTargetWithDefaults() *ProviderTarget
NewProviderTargetWithDefaults instantiates a new ProviderTarget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProviderTarget) GetName ¶
func (o *ProviderTarget) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ProviderTarget) GetNameOk ¶
func (o *ProviderTarget) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderTarget) GetOptions ¶
func (o *ProviderTarget) GetOptions() string
GetOptions returns the Options field value if set, zero value otherwise.
func (*ProviderTarget) GetOptionsOk ¶
func (o *ProviderTarget) GetOptionsOk() (*string, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderTarget) GetProviderInfo ¶
func (o *ProviderTarget) GetProviderInfo() ProviderProviderInfo
GetProviderInfo returns the ProviderInfo field value if set, zero value otherwise.
func (*ProviderTarget) GetProviderInfoOk ¶
func (o *ProviderTarget) GetProviderInfoOk() (*ProviderProviderInfo, bool)
GetProviderInfoOk returns a tuple with the ProviderInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderTarget) HasName ¶
func (o *ProviderTarget) HasName() bool
HasName returns a boolean if a field has been set.
func (*ProviderTarget) HasOptions ¶
func (o *ProviderTarget) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*ProviderTarget) HasProviderInfo ¶
func (o *ProviderTarget) HasProviderInfo() bool
HasProviderInfo returns a boolean if a field has been set.
func (ProviderTarget) MarshalJSON ¶
func (o ProviderTarget) MarshalJSON() ([]byte, error)
func (*ProviderTarget) SetName ¶
func (o *ProviderTarget) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ProviderTarget) SetOptions ¶
func (o *ProviderTarget) SetOptions(v string)
SetOptions gets a reference to the given string and assigns it to the Options field.
func (*ProviderTarget) SetProviderInfo ¶
func (o *ProviderTarget) SetProviderInfo(v ProviderProviderInfo)
SetProviderInfo gets a reference to the given ProviderProviderInfo and assigns it to the ProviderInfo field.
type ServerAPIService ¶
type ServerAPIService service
ServerAPIService ServerAPI service
func (*ServerAPIService) GenerateNetworkKey ¶
func (a *ServerAPIService) GenerateNetworkKey(ctx context.Context) ApiGenerateNetworkKeyRequest
GenerateNetworkKey Generate a new authentication key
Generate a new authentication key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGenerateNetworkKeyRequest
func (*ServerAPIService) GenerateNetworkKeyExecute ¶
func (a *ServerAPIService) GenerateNetworkKeyExecute(r ApiGenerateNetworkKeyRequest) (*NetworkKey, *http.Response, error)
Execute executes the request
@return NetworkKey
func (*ServerAPIService) GetConfig ¶
func (a *ServerAPIService) GetConfig(ctx context.Context) ApiGetConfigRequest
GetConfig Get the server configuration
Get the server configuration
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetConfigRequest
func (*ServerAPIService) GetConfigExecute ¶
func (a *ServerAPIService) GetConfigExecute(r ApiGetConfigRequest) (*ServerConfig, *http.Response, error)
Execute executes the request
@return ServerConfig
func (*ServerAPIService) SetConfig ¶
func (a *ServerAPIService) SetConfig(ctx context.Context) ApiSetConfigRequest
SetConfig Set the server configuration
Set the server configuration
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSetConfigRequest
func (*ServerAPIService) SetConfigExecute ¶
func (a *ServerAPIService) SetConfigExecute(r ApiSetConfigRequest) (*ServerConfig, *http.Response, error)
Execute executes the request
@return ServerConfig
type ServerConfig ¶
type ServerConfig struct {
ApiPort *int32 `json:"apiPort,omitempty"`
BinariesPath *string `json:"binariesPath,omitempty"`
BuildImageNamespace *string `json:"buildImageNamespace,omitempty"`
BuilderImage *string `json:"builderImage,omitempty"`
BuilderRegistryServer *string `json:"builderRegistryServer,omitempty"`
DefaultProjectImage *string `json:"defaultProjectImage,omitempty"`
DefaultProjectPostStartCommands []string `json:"defaultProjectPostStartCommands,omitempty"`
DefaultProjectUser *string `json:"defaultProjectUser,omitempty"`
Frps *FRPSConfig `json:"frps,omitempty"`
HeadscalePort *int32 `json:"headscalePort,omitempty"`
Id *string `json:"id,omitempty"`
LocalBuilderRegistryPort *int32 `json:"localBuilderRegistryPort,omitempty"`
LogFilePath *string `json:"logFilePath,omitempty"`
ProvidersDir *string `json:"providersDir,omitempty"`
RegistryUrl *string `json:"registryUrl,omitempty"`
ServerDownloadUrl *string `json:"serverDownloadUrl,omitempty"`
}
ServerConfig struct for ServerConfig
func NewServerConfig ¶
func NewServerConfig() *ServerConfig
NewServerConfig instantiates a new ServerConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerConfigWithDefaults ¶
func NewServerConfigWithDefaults() *ServerConfig
NewServerConfigWithDefaults instantiates a new ServerConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerConfig) GetApiPort ¶
func (o *ServerConfig) GetApiPort() int32
GetApiPort returns the ApiPort field value if set, zero value otherwise.
func (*ServerConfig) GetApiPortOk ¶
func (o *ServerConfig) GetApiPortOk() (*int32, bool)
GetApiPortOk returns a tuple with the ApiPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetBinariesPath ¶
func (o *ServerConfig) GetBinariesPath() string
GetBinariesPath returns the BinariesPath field value if set, zero value otherwise.
func (*ServerConfig) GetBinariesPathOk ¶
func (o *ServerConfig) GetBinariesPathOk() (*string, bool)
GetBinariesPathOk returns a tuple with the BinariesPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetBuildImageNamespace ¶ added in v0.19.0
func (o *ServerConfig) GetBuildImageNamespace() string
GetBuildImageNamespace returns the BuildImageNamespace field value if set, zero value otherwise.
func (*ServerConfig) GetBuildImageNamespaceOk ¶ added in v0.19.0
func (o *ServerConfig) GetBuildImageNamespaceOk() (*string, bool)
GetBuildImageNamespaceOk returns a tuple with the BuildImageNamespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetBuilderImage ¶ added in v0.18.0
func (o *ServerConfig) GetBuilderImage() string
GetBuilderImage returns the BuilderImage field value if set, zero value otherwise.
func (*ServerConfig) GetBuilderImageOk ¶ added in v0.18.0
func (o *ServerConfig) GetBuilderImageOk() (*string, bool)
GetBuilderImageOk returns a tuple with the BuilderImage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetBuilderRegistryServer ¶ added in v0.19.0
func (o *ServerConfig) GetBuilderRegistryServer() string
GetBuilderRegistryServer returns the BuilderRegistryServer field value if set, zero value otherwise.
func (*ServerConfig) GetBuilderRegistryServerOk ¶ added in v0.19.0
func (o *ServerConfig) GetBuilderRegistryServerOk() (*string, bool)
GetBuilderRegistryServerOk returns a tuple with the BuilderRegistryServer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetDefaultProjectImage ¶
func (o *ServerConfig) GetDefaultProjectImage() string
GetDefaultProjectImage returns the DefaultProjectImage field value if set, zero value otherwise.
func (*ServerConfig) GetDefaultProjectImageOk ¶
func (o *ServerConfig) GetDefaultProjectImageOk() (*string, bool)
GetDefaultProjectImageOk returns a tuple with the DefaultProjectImage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetDefaultProjectPostStartCommands ¶
func (o *ServerConfig) GetDefaultProjectPostStartCommands() []string
GetDefaultProjectPostStartCommands returns the DefaultProjectPostStartCommands field value if set, zero value otherwise.
func (*ServerConfig) GetDefaultProjectPostStartCommandsOk ¶
func (o *ServerConfig) GetDefaultProjectPostStartCommandsOk() ([]string, bool)
GetDefaultProjectPostStartCommandsOk returns a tuple with the DefaultProjectPostStartCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetDefaultProjectUser ¶
func (o *ServerConfig) GetDefaultProjectUser() string
GetDefaultProjectUser returns the DefaultProjectUser field value if set, zero value otherwise.
func (*ServerConfig) GetDefaultProjectUserOk ¶
func (o *ServerConfig) GetDefaultProjectUserOk() (*string, bool)
GetDefaultProjectUserOk returns a tuple with the DefaultProjectUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetFrps ¶
func (o *ServerConfig) GetFrps() FRPSConfig
GetFrps returns the Frps field value if set, zero value otherwise.
func (*ServerConfig) GetFrpsOk ¶
func (o *ServerConfig) GetFrpsOk() (*FRPSConfig, bool)
GetFrpsOk returns a tuple with the Frps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetHeadscalePort ¶
func (o *ServerConfig) GetHeadscalePort() int32
GetHeadscalePort returns the HeadscalePort field value if set, zero value otherwise.
func (*ServerConfig) GetHeadscalePortOk ¶
func (o *ServerConfig) GetHeadscalePortOk() (*int32, bool)
GetHeadscalePortOk returns a tuple with the HeadscalePort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetId ¶
func (o *ServerConfig) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ServerConfig) GetIdOk ¶
func (o *ServerConfig) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetLocalBuilderRegistryPort ¶ added in v0.19.0
func (o *ServerConfig) GetLocalBuilderRegistryPort() int32
GetLocalBuilderRegistryPort returns the LocalBuilderRegistryPort field value if set, zero value otherwise.
func (*ServerConfig) GetLocalBuilderRegistryPortOk ¶ added in v0.19.0
func (o *ServerConfig) GetLocalBuilderRegistryPortOk() (*int32, bool)
GetLocalBuilderRegistryPortOk returns a tuple with the LocalBuilderRegistryPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetLogFilePath ¶
func (o *ServerConfig) GetLogFilePath() string
GetLogFilePath returns the LogFilePath field value if set, zero value otherwise.
func (*ServerConfig) GetLogFilePathOk ¶
func (o *ServerConfig) GetLogFilePathOk() (*string, bool)
GetLogFilePathOk returns a tuple with the LogFilePath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetProvidersDir ¶
func (o *ServerConfig) GetProvidersDir() string
GetProvidersDir returns the ProvidersDir field value if set, zero value otherwise.
func (*ServerConfig) GetProvidersDirOk ¶
func (o *ServerConfig) GetProvidersDirOk() (*string, bool)
GetProvidersDirOk returns a tuple with the ProvidersDir field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetRegistryUrl ¶
func (o *ServerConfig) GetRegistryUrl() string
GetRegistryUrl returns the RegistryUrl field value if set, zero value otherwise.
func (*ServerConfig) GetRegistryUrlOk ¶
func (o *ServerConfig) GetRegistryUrlOk() (*string, bool)
GetRegistryUrlOk returns a tuple with the RegistryUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) GetServerDownloadUrl ¶
func (o *ServerConfig) GetServerDownloadUrl() string
GetServerDownloadUrl returns the ServerDownloadUrl field value if set, zero value otherwise.
func (*ServerConfig) GetServerDownloadUrlOk ¶
func (o *ServerConfig) GetServerDownloadUrlOk() (*string, bool)
GetServerDownloadUrlOk returns a tuple with the ServerDownloadUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerConfig) HasApiPort ¶
func (o *ServerConfig) HasApiPort() bool
HasApiPort returns a boolean if a field has been set.
func (*ServerConfig) HasBinariesPath ¶
func (o *ServerConfig) HasBinariesPath() bool
HasBinariesPath returns a boolean if a field has been set.
func (*ServerConfig) HasBuildImageNamespace ¶ added in v0.19.0
func (o *ServerConfig) HasBuildImageNamespace() bool
HasBuildImageNamespace returns a boolean if a field has been set.
func (*ServerConfig) HasBuilderImage ¶ added in v0.18.0
func (o *ServerConfig) HasBuilderImage() bool
HasBuilderImage returns a boolean if a field has been set.
func (*ServerConfig) HasBuilderRegistryServer ¶ added in v0.19.0
func (o *ServerConfig) HasBuilderRegistryServer() bool
HasBuilderRegistryServer returns a boolean if a field has been set.
func (*ServerConfig) HasDefaultProjectImage ¶
func (o *ServerConfig) HasDefaultProjectImage() bool
HasDefaultProjectImage returns a boolean if a field has been set.
func (*ServerConfig) HasDefaultProjectPostStartCommands ¶
func (o *ServerConfig) HasDefaultProjectPostStartCommands() bool
HasDefaultProjectPostStartCommands returns a boolean if a field has been set.
func (*ServerConfig) HasDefaultProjectUser ¶
func (o *ServerConfig) HasDefaultProjectUser() bool
HasDefaultProjectUser returns a boolean if a field has been set.
func (*ServerConfig) HasFrps ¶
func (o *ServerConfig) HasFrps() bool
HasFrps returns a boolean if a field has been set.
func (*ServerConfig) HasHeadscalePort ¶
func (o *ServerConfig) HasHeadscalePort() bool
HasHeadscalePort returns a boolean if a field has been set.
func (*ServerConfig) HasId ¶
func (o *ServerConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (*ServerConfig) HasLocalBuilderRegistryPort ¶ added in v0.19.0
func (o *ServerConfig) HasLocalBuilderRegistryPort() bool
HasLocalBuilderRegistryPort returns a boolean if a field has been set.
func (*ServerConfig) HasLogFilePath ¶
func (o *ServerConfig) HasLogFilePath() bool
HasLogFilePath returns a boolean if a field has been set.
func (*ServerConfig) HasProvidersDir ¶
func (o *ServerConfig) HasProvidersDir() bool
HasProvidersDir returns a boolean if a field has been set.
func (*ServerConfig) HasRegistryUrl ¶
func (o *ServerConfig) HasRegistryUrl() bool
HasRegistryUrl returns a boolean if a field has been set.
func (*ServerConfig) HasServerDownloadUrl ¶
func (o *ServerConfig) HasServerDownloadUrl() bool
HasServerDownloadUrl returns a boolean if a field has been set.
func (ServerConfig) MarshalJSON ¶
func (o ServerConfig) MarshalJSON() ([]byte, error)
func (*ServerConfig) SetApiPort ¶
func (o *ServerConfig) SetApiPort(v int32)
SetApiPort gets a reference to the given int32 and assigns it to the ApiPort field.
func (*ServerConfig) SetBinariesPath ¶
func (o *ServerConfig) SetBinariesPath(v string)
SetBinariesPath gets a reference to the given string and assigns it to the BinariesPath field.
func (*ServerConfig) SetBuildImageNamespace ¶ added in v0.19.0
func (o *ServerConfig) SetBuildImageNamespace(v string)
SetBuildImageNamespace gets a reference to the given string and assigns it to the BuildImageNamespace field.
func (*ServerConfig) SetBuilderImage ¶ added in v0.18.0
func (o *ServerConfig) SetBuilderImage(v string)
SetBuilderImage gets a reference to the given string and assigns it to the BuilderImage field.
func (*ServerConfig) SetBuilderRegistryServer ¶ added in v0.19.0
func (o *ServerConfig) SetBuilderRegistryServer(v string)
SetBuilderRegistryServer gets a reference to the given string and assigns it to the BuilderRegistryServer field.
func (*ServerConfig) SetDefaultProjectImage ¶
func (o *ServerConfig) SetDefaultProjectImage(v string)
SetDefaultProjectImage gets a reference to the given string and assigns it to the DefaultProjectImage field.
func (*ServerConfig) SetDefaultProjectPostStartCommands ¶
func (o *ServerConfig) SetDefaultProjectPostStartCommands(v []string)
SetDefaultProjectPostStartCommands gets a reference to the given []string and assigns it to the DefaultProjectPostStartCommands field.
func (*ServerConfig) SetDefaultProjectUser ¶
func (o *ServerConfig) SetDefaultProjectUser(v string)
SetDefaultProjectUser gets a reference to the given string and assigns it to the DefaultProjectUser field.
func (*ServerConfig) SetFrps ¶
func (o *ServerConfig) SetFrps(v FRPSConfig)
SetFrps gets a reference to the given FRPSConfig and assigns it to the Frps field.
func (*ServerConfig) SetHeadscalePort ¶
func (o *ServerConfig) SetHeadscalePort(v int32)
SetHeadscalePort gets a reference to the given int32 and assigns it to the HeadscalePort field.
func (*ServerConfig) SetId ¶
func (o *ServerConfig) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ServerConfig) SetLocalBuilderRegistryPort ¶ added in v0.19.0
func (o *ServerConfig) SetLocalBuilderRegistryPort(v int32)
SetLocalBuilderRegistryPort gets a reference to the given int32 and assigns it to the LocalBuilderRegistryPort field.
func (*ServerConfig) SetLogFilePath ¶
func (o *ServerConfig) SetLogFilePath(v string)
SetLogFilePath gets a reference to the given string and assigns it to the LogFilePath field.
func (*ServerConfig) SetProvidersDir ¶
func (o *ServerConfig) SetProvidersDir(v string)
SetProvidersDir gets a reference to the given string and assigns it to the ProvidersDir field.
func (*ServerConfig) SetRegistryUrl ¶
func (o *ServerConfig) SetRegistryUrl(v string)
SetRegistryUrl gets a reference to the given string and assigns it to the RegistryUrl field.
func (*ServerConfig) SetServerDownloadUrl ¶
func (o *ServerConfig) SetServerDownloadUrl(v string)
SetServerDownloadUrl gets a reference to the given string and assigns it to the ServerDownloadUrl field.
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
type ServerVariable struct {
Description string
DefaultValue string
EnumValues []string
}
ServerVariable stores the information about a server variable
type SetProjectState ¶
type SetProjectState struct {
GitStatus *GitStatus `json:"gitStatus,omitempty"`
Uptime *int32 `json:"uptime,omitempty"`
}
SetProjectState struct for SetProjectState
func NewSetProjectState ¶
func NewSetProjectState() *SetProjectState
NewSetProjectState instantiates a new SetProjectState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSetProjectStateWithDefaults ¶
func NewSetProjectStateWithDefaults() *SetProjectState
NewSetProjectStateWithDefaults instantiates a new SetProjectState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SetProjectState) GetGitStatus ¶
func (o *SetProjectState) GetGitStatus() GitStatus
GetGitStatus returns the GitStatus field value if set, zero value otherwise.
func (*SetProjectState) GetGitStatusOk ¶
func (o *SetProjectState) GetGitStatusOk() (*GitStatus, bool)
GetGitStatusOk returns a tuple with the GitStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetProjectState) GetUptime ¶
func (o *SetProjectState) GetUptime() int32
GetUptime returns the Uptime field value if set, zero value otherwise.
func (*SetProjectState) GetUptimeOk ¶
func (o *SetProjectState) GetUptimeOk() (*int32, bool)
GetUptimeOk returns a tuple with the Uptime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetProjectState) HasGitStatus ¶
func (o *SetProjectState) HasGitStatus() bool
HasGitStatus returns a boolean if a field has been set.
func (*SetProjectState) HasUptime ¶
func (o *SetProjectState) HasUptime() bool
HasUptime returns a boolean if a field has been set.
func (SetProjectState) MarshalJSON ¶
func (o SetProjectState) MarshalJSON() ([]byte, error)
func (*SetProjectState) SetGitStatus ¶
func (o *SetProjectState) SetGitStatus(v GitStatus)
SetGitStatus gets a reference to the given GitStatus and assigns it to the GitStatus field.
type Status ¶
type Status string
Status the model 'Status'
const (
Unmodified Status = "Unmodified"
Untracked Status = "Untracked"
Modified Status = "Modified"
Added Status = "Added"
Deleted Status = "Deleted"
Renamed Status = "Renamed"
Copied Status = "Copied"
UpdatedButUnmerged Status = "Updated but unmerged"
)
List of Status
func NewStatusFromValue ¶
func NewStatusFromValue(v string) (*Status, error)
NewStatusFromValue returns a pointer to a valid Status for the value passed as argument, or an error if the value passed is not allowed by the enum
func (Status) IsValid ¶
func (v Status) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (*Status) UnmarshalJSON ¶
func (v *Status) UnmarshalJSON(src []byte) error
type TargetAPIService ¶
type TargetAPIService service
TargetAPIService TargetAPI service
func (*TargetAPIService) ListTargets ¶
func (a *TargetAPIService) ListTargets(ctx context.Context) ApiListTargetsRequest
ListTargets List targets
List targets
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListTargetsRequest
func (*TargetAPIService) ListTargetsExecute ¶
func (a *TargetAPIService) ListTargetsExecute(r ApiListTargetsRequest) ([]ProviderTarget, *http.Response, error)
Execute executes the request
@return []ProviderTarget
func (*TargetAPIService) RemoveTarget ¶
func (a *TargetAPIService) RemoveTarget(ctx context.Context, target string) ApiRemoveTargetRequest
RemoveTarget Remove a target
Remove a target
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param target Target name
@return ApiRemoveTargetRequest
func (*TargetAPIService) RemoveTargetExecute ¶
func (a *TargetAPIService) RemoveTargetExecute(r ApiRemoveTargetRequest) (*http.Response, error)
Execute executes the request
func (*TargetAPIService) SetTarget ¶
func (a *TargetAPIService) SetTarget(ctx context.Context) ApiSetTargetRequest
SetTarget Set a target
Set a target
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSetTargetRequest
func (*TargetAPIService) SetTargetExecute ¶
func (a *TargetAPIService) SetTargetExecute(r ApiSetTargetRequest) (*http.Response, error)
Execute executes the request
type Workspace ¶
type Workspace struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Projects []Project `json:"projects,omitempty"`
Target *string `json:"target,omitempty"`
}
Workspace struct for Workspace
func NewWorkspace ¶
func NewWorkspace() *Workspace
NewWorkspace instantiates a new Workspace object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWorkspaceWithDefaults ¶
func NewWorkspaceWithDefaults() *Workspace
NewWorkspaceWithDefaults instantiates a new Workspace object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Workspace) GetId ¶
func (o *Workspace) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*Workspace) GetIdOk ¶
func (o *Workspace) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Workspace) GetName ¶
func (o *Workspace) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*Workspace) GetNameOk ¶
func (o *Workspace) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Workspace) GetProjects ¶
func (o *Workspace) GetProjects() []Project
GetProjects returns the Projects field value if set, zero value otherwise.
func (*Workspace) GetProjectsOk ¶
func (o *Workspace) GetProjectsOk() ([]Project, bool)
GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Workspace) GetTarget ¶
func (o *Workspace) GetTarget() string
GetTarget returns the Target field value if set, zero value otherwise.
func (*Workspace) GetTargetOk ¶
func (o *Workspace) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Workspace) HasId ¶
func (o *Workspace) HasId() bool
HasId returns a boolean if a field has been set.
func (*Workspace) HasName ¶
func (o *Workspace) HasName() bool
HasName returns a boolean if a field has been set.
func (*Workspace) HasProjects ¶
func (o *Workspace) HasProjects() bool
HasProjects returns a boolean if a field has been set.
func (*Workspace) HasTarget ¶
func (o *Workspace) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (Workspace) MarshalJSON ¶
func (o Workspace) MarshalJSON() ([]byte, error)
func (*Workspace) SetId ¶
func (o *Workspace) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*Workspace) SetName ¶
func (o *Workspace) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*Workspace) SetProjects ¶
func (o *Workspace) SetProjects(v []Project)
SetProjects gets a reference to the given []Project and assigns it to the Projects field.
type WorkspaceAPIService ¶
type WorkspaceAPIService service
WorkspaceAPIService WorkspaceAPI service
func (*WorkspaceAPIService) CreateWorkspace ¶
func (a *WorkspaceAPIService) CreateWorkspace(ctx context.Context) ApiCreateWorkspaceRequest
CreateWorkspace Create a workspace
Create a workspace
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateWorkspaceRequest
func (*WorkspaceAPIService) CreateWorkspaceExecute ¶
func (a *WorkspaceAPIService) CreateWorkspaceExecute(r ApiCreateWorkspaceRequest) (*Workspace, *http.Response, error)
Execute executes the request
@return Workspace
func (*WorkspaceAPIService) GetWorkspace ¶
func (a *WorkspaceAPIService) GetWorkspace(ctx context.Context, workspaceId string) ApiGetWorkspaceRequest
GetWorkspace Get workspace info
Get workspace info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspaceId Workspace ID or Name
@return ApiGetWorkspaceRequest
func (*WorkspaceAPIService) GetWorkspaceExecute ¶
func (a *WorkspaceAPIService) GetWorkspaceExecute(r ApiGetWorkspaceRequest) (*WorkspaceDTO, *http.Response, error)
Execute executes the request
@return WorkspaceDTO
func (*WorkspaceAPIService) ListWorkspaces ¶
func (a *WorkspaceAPIService) ListWorkspaces(ctx context.Context) ApiListWorkspacesRequest
ListWorkspaces List workspaces
List workspaces
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListWorkspacesRequest
func (*WorkspaceAPIService) ListWorkspacesExecute ¶
func (a *WorkspaceAPIService) ListWorkspacesExecute(r ApiListWorkspacesRequest) ([]WorkspaceDTO, *http.Response, error)
Execute executes the request
@return []WorkspaceDTO
func (*WorkspaceAPIService) RemoveWorkspace ¶
func (a *WorkspaceAPIService) RemoveWorkspace(ctx context.Context, workspaceId string) ApiRemoveWorkspaceRequest
RemoveWorkspace Remove workspace
Remove workspace
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspaceId Workspace ID
@return ApiRemoveWorkspaceRequest
func (*WorkspaceAPIService) RemoveWorkspaceExecute ¶
func (a *WorkspaceAPIService) RemoveWorkspaceExecute(r ApiRemoveWorkspaceRequest) (*http.Response, error)
Execute executes the request
func (*WorkspaceAPIService) SetProjectState ¶
func (a *WorkspaceAPIService) SetProjectState(ctx context.Context, workspaceId string, projectId string) ApiSetProjectStateRequest
SetProjectState Set project state
Set project state
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspaceId Workspace ID or Name
@param projectId Project ID
@return ApiSetProjectStateRequest
func (*WorkspaceAPIService) SetProjectStateExecute ¶
func (a *WorkspaceAPIService) SetProjectStateExecute(r ApiSetProjectStateRequest) (*http.Response, error)
Execute executes the request
func (*WorkspaceAPIService) StartProject ¶
func (a *WorkspaceAPIService) StartProject(ctx context.Context, workspaceId string, projectId string) ApiStartProjectRequest
StartProject Start project
Start project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspaceId Workspace ID or Name
@param projectId Project ID
@return ApiStartProjectRequest
func (*WorkspaceAPIService) StartProjectExecute ¶
func (a *WorkspaceAPIService) StartProjectExecute(r ApiStartProjectRequest) (*http.Response, error)
Execute executes the request
func (*WorkspaceAPIService) StartWorkspace ¶
func (a *WorkspaceAPIService) StartWorkspace(ctx context.Context, workspaceId string) ApiStartWorkspaceRequest
StartWorkspace Start workspace
Start workspace
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspaceId Workspace ID or Name
@return ApiStartWorkspaceRequest
func (*WorkspaceAPIService) StartWorkspaceExecute ¶
func (a *WorkspaceAPIService) StartWorkspaceExecute(r ApiStartWorkspaceRequest) (*http.Response, error)
Execute executes the request
func (*WorkspaceAPIService) StopProject ¶
func (a *WorkspaceAPIService) StopProject(ctx context.Context, workspaceId string, projectId string) ApiStopProjectRequest
StopProject Stop project
Stop project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspaceId Workspace ID or Name
@param projectId Project ID
@return ApiStopProjectRequest
func (*WorkspaceAPIService) StopProjectExecute ¶
func (a *WorkspaceAPIService) StopProjectExecute(r ApiStopProjectRequest) (*http.Response, error)
Execute executes the request
func (*WorkspaceAPIService) StopWorkspace ¶
func (a *WorkspaceAPIService) StopWorkspace(ctx context.Context, workspaceId string) ApiStopWorkspaceRequest
StopWorkspace Stop workspace
Stop workspace
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspaceId Workspace ID or Name
@return ApiStopWorkspaceRequest
func (*WorkspaceAPIService) StopWorkspaceExecute ¶
func (a *WorkspaceAPIService) StopWorkspaceExecute(r ApiStopWorkspaceRequest) (*http.Response, error)
Execute executes the request
type WorkspaceDTO ¶
type WorkspaceDTO struct {
Id *string `json:"id,omitempty"`
Info *WorkspaceInfo `json:"info,omitempty"`
Name *string `json:"name,omitempty"`
Projects []Project `json:"projects,omitempty"`
Target *string `json:"target,omitempty"`
}
WorkspaceDTO struct for WorkspaceDTO
func NewWorkspaceDTO ¶
func NewWorkspaceDTO() *WorkspaceDTO
NewWorkspaceDTO instantiates a new WorkspaceDTO object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWorkspaceDTOWithDefaults ¶
func NewWorkspaceDTOWithDefaults() *WorkspaceDTO
NewWorkspaceDTOWithDefaults instantiates a new WorkspaceDTO object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WorkspaceDTO) GetId ¶
func (o *WorkspaceDTO) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*WorkspaceDTO) GetIdOk ¶
func (o *WorkspaceDTO) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkspaceDTO) GetInfo ¶
func (o *WorkspaceDTO) GetInfo() WorkspaceInfo
GetInfo returns the Info field value if set, zero value otherwise.
func (*WorkspaceDTO) GetInfoOk ¶
func (o *WorkspaceDTO) GetInfoOk() (*WorkspaceInfo, bool)
GetInfoOk returns a tuple with the Info field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkspaceDTO) GetName ¶
func (o *WorkspaceDTO) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*WorkspaceDTO) GetNameOk ¶
func (o *WorkspaceDTO) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkspaceDTO) GetProjects ¶
func (o *WorkspaceDTO) GetProjects() []Project
GetProjects returns the Projects field value if set, zero value otherwise.
func (*WorkspaceDTO) GetProjectsOk ¶
func (o *WorkspaceDTO) GetProjectsOk() ([]Project, bool)
GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkspaceDTO) GetTarget ¶
func (o *WorkspaceDTO) GetTarget() string
GetTarget returns the Target field value if set, zero value otherwise.
func (*WorkspaceDTO) GetTargetOk ¶
func (o *WorkspaceDTO) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkspaceDTO) HasId ¶
func (o *WorkspaceDTO) HasId() bool
HasId returns a boolean if a field has been set.
func (*WorkspaceDTO) HasInfo ¶
func (o *WorkspaceDTO) HasInfo() bool
HasInfo returns a boolean if a field has been set.
func (*WorkspaceDTO) HasName ¶
func (o *WorkspaceDTO) HasName() bool
HasName returns a boolean if a field has been set.
func (*WorkspaceDTO) HasProjects ¶
func (o *WorkspaceDTO) HasProjects() bool
HasProjects returns a boolean if a field has been set.
func (*WorkspaceDTO) HasTarget ¶
func (o *WorkspaceDTO) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (WorkspaceDTO) MarshalJSON ¶
func (o WorkspaceDTO) MarshalJSON() ([]byte, error)
func (*WorkspaceDTO) SetId ¶
func (o *WorkspaceDTO) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*WorkspaceDTO) SetInfo ¶
func (o *WorkspaceDTO) SetInfo(v WorkspaceInfo)
SetInfo gets a reference to the given WorkspaceInfo and assigns it to the Info field.
func (*WorkspaceDTO) SetName ¶
func (o *WorkspaceDTO) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*WorkspaceDTO) SetProjects ¶
func (o *WorkspaceDTO) SetProjects(v []Project)
SetProjects gets a reference to the given []Project and assigns it to the Projects field.
type WorkspaceInfo ¶
type WorkspaceInfo struct {
Name *string `json:"name,omitempty"`
Projects []ProjectInfo `json:"projects,omitempty"`
ProviderMetadata *string `json:"providerMetadata,omitempty"`
}
WorkspaceInfo struct for WorkspaceInfo
func NewWorkspaceInfo ¶
func NewWorkspaceInfo() *WorkspaceInfo
NewWorkspaceInfo instantiates a new WorkspaceInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWorkspaceInfoWithDefaults ¶
func NewWorkspaceInfoWithDefaults() *WorkspaceInfo
NewWorkspaceInfoWithDefaults instantiates a new WorkspaceInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WorkspaceInfo) GetName ¶
func (o *WorkspaceInfo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*WorkspaceInfo) GetNameOk ¶
func (o *WorkspaceInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkspaceInfo) GetProjects ¶
func (o *WorkspaceInfo) GetProjects() []ProjectInfo
GetProjects returns the Projects field value if set, zero value otherwise.
func (*WorkspaceInfo) GetProjectsOk ¶
func (o *WorkspaceInfo) GetProjectsOk() ([]ProjectInfo, bool)
GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkspaceInfo) GetProviderMetadata ¶
func (o *WorkspaceInfo) GetProviderMetadata() string
GetProviderMetadata returns the ProviderMetadata field value if set, zero value otherwise.
func (*WorkspaceInfo) GetProviderMetadataOk ¶
func (o *WorkspaceInfo) GetProviderMetadataOk() (*string, bool)
GetProviderMetadataOk returns a tuple with the ProviderMetadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkspaceInfo) HasName ¶
func (o *WorkspaceInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (*WorkspaceInfo) HasProjects ¶
func (o *WorkspaceInfo) HasProjects() bool
HasProjects returns a boolean if a field has been set.
func (*WorkspaceInfo) HasProviderMetadata ¶
func (o *WorkspaceInfo) HasProviderMetadata() bool
HasProviderMetadata returns a boolean if a field has been set.
func (WorkspaceInfo) MarshalJSON ¶
func (o WorkspaceInfo) MarshalJSON() ([]byte, error)
func (*WorkspaceInfo) SetName ¶
func (o *WorkspaceInfo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*WorkspaceInfo) SetProjects ¶
func (o *WorkspaceInfo) SetProjects(v []ProjectInfo)
SetProjects gets a reference to the given []ProjectInfo and assigns it to the Projects field.
func (*WorkspaceInfo) SetProviderMetadata ¶
func (o *WorkspaceInfo) SetProviderMetadata(v string)
SetProviderMetadata gets a reference to the given string and assigns it to the ProviderMetadata field.
Source Files
¶
- api_api_key.go
- api_container_registry.go
- api_git_provider.go
- api_profile.go
- api_provider.go
- api_server.go
- api_target.go
- api_workspace.go
- client.go
- configuration.go
- model_api_key.go
- model_apikey_api_key_type.go
- model_container_registry.go
- model_create_workspace_request.go
- model_create_workspace_request_project.go
- model_create_workspace_request_project_source.go
- model_file_status.go
- model_frps_config.go
- model_git_branch.go
- model_git_namespace.go
- model_git_provider.go
- model_git_pull_request.go
- model_git_repository.go
- model_git_status.go
- model_git_user.go
- model_install_provider_request.go
- model_network_key.go
- model_profile_data.go
- model_project.go
- model_project_build.go
- model_project_build_devcontainer.go
- model_project_build_dockerfile.go
- model_project_info.go
- model_project_state.go
- model_provider.go
- model_provider_provider_info.go
- model_provider_provider_target_property.go
- model_provider_provider_target_property_type.go
- model_provider_target.go
- model_server_config.go
- model_set_project_state.go
- model_status.go
- model_workspace.go
- model_workspace_dto.go
- model_workspace_info.go
- response.go
- utils.go