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 ApiGenerateNetworkKeyRequest
- type ApiGetConfigRequest
- type ApiGetGitContextRequest
- type ApiGetTargetManifestRequest
- type ApiGetWorkspaceRequest
- type ApiInstallProviderRequest
- type ApiListProvidersRequest
- type ApiListTargetsRequest
- type ApiListWorkspacesRequest
- type ApiRemoveTargetRequest
- type ApiRemoveWorkspaceRequest
- type ApiSetConfigRequest
- type ApiSetTargetRequest
- type ApiStartProjectRequest
- type ApiStartWorkspaceRequest
- type ApiStopProjectRequest
- type ApiStopWorkspaceRequest
- type ApiUninstallProviderRequest
- type BasicAuth
- type Configuration
- type CreateWorkspace
- func (o *CreateWorkspace) GetName() string
- func (o *CreateWorkspace) GetNameOk() (*string, bool)
- func (o *CreateWorkspace) GetRepositories() []Repository
- func (o *CreateWorkspace) GetRepositoriesOk() ([]Repository, bool)
- func (o *CreateWorkspace) GetTarget() string
- func (o *CreateWorkspace) GetTargetOk() (*string, bool)
- func (o *CreateWorkspace) HasName() bool
- func (o *CreateWorkspace) HasRepositories() bool
- func (o *CreateWorkspace) HasTarget() bool
- func (o CreateWorkspace) MarshalJSON() ([]byte, error)
- func (o *CreateWorkspace) SetName(v string)
- func (o *CreateWorkspace) SetRepositories(v []Repository)
- func (o *CreateWorkspace) SetTarget(v string)
- func (o CreateWorkspace) 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 GenericOpenAPIError
- 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 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 NullableBool
- type NullableCreateWorkspace
- func (v NullableCreateWorkspace) Get() *CreateWorkspace
- func (v NullableCreateWorkspace) IsSet() bool
- func (v NullableCreateWorkspace) MarshalJSON() ([]byte, error)
- func (v *NullableCreateWorkspace) Set(val *CreateWorkspace)
- func (v *NullableCreateWorkspace) UnmarshalJSON(src []byte) error
- func (v *NullableCreateWorkspace) Unset()
- type NullableFRPSConfig
- type NullableFloat32
- type NullableFloat64
- 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 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 NullableProject
- 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 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 NullableRepository
- 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 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 Project
- func (o *Project) GetName() string
- func (o *Project) GetNameOk() (*string, bool)
- func (o *Project) GetRepository() Repository
- func (o *Project) GetRepositoryOk() (*Repository, bool)
- func (o *Project) GetTarget() string
- func (o *Project) GetTargetOk() (*string, bool)
- func (o *Project) GetWorkspaceId() string
- func (o *Project) GetWorkspaceIdOk() (*string, bool)
- func (o *Project) HasName() bool
- func (o *Project) HasRepository() bool
- func (o *Project) HasTarget() bool
- func (o *Project) HasWorkspaceId() bool
- func (o Project) MarshalJSON() ([]byte, error)
- func (o *Project) SetName(v string)
- func (o *Project) SetRepository(v Repository)
- func (o *Project) SetTarget(v string)
- func (o *Project) SetWorkspaceId(v string)
- func (o Project) ToMap() (map[string]interface{}, error)
- type ProjectInfo
- func (o *ProjectInfo) GetCreated() string
- func (o *ProjectInfo) GetCreatedOk() (*string, bool)
- func (o *ProjectInfo) GetFinished() string
- func (o *ProjectInfo) GetFinishedOk() (*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) GetStarted() string
- func (o *ProjectInfo) GetStartedOk() (*string, bool)
- func (o *ProjectInfo) GetWorkspaceId() string
- func (o *ProjectInfo) GetWorkspaceIdOk() (*string, bool)
- func (o *ProjectInfo) HasCreated() bool
- func (o *ProjectInfo) HasFinished() bool
- func (o *ProjectInfo) HasIsRunning() bool
- func (o *ProjectInfo) HasName() bool
- func (o *ProjectInfo) HasProviderMetadata() bool
- func (o *ProjectInfo) HasStarted() bool
- func (o *ProjectInfo) HasWorkspaceId() bool
- func (o ProjectInfo) MarshalJSON() ([]byte, error)
- func (o *ProjectInfo) SetCreated(v string)
- func (o *ProjectInfo) SetFinished(v string)
- func (o *ProjectInfo) SetIsRunning(v bool)
- func (o *ProjectInfo) SetName(v string)
- func (o *ProjectInfo) SetProviderMetadata(v string)
- func (o *ProjectInfo) SetStarted(v string)
- func (o *ProjectInfo) SetWorkspaceId(v string)
- func (o ProjectInfo) 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) 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) 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) 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 Repository
- func (o *Repository) GetBranch() string
- func (o *Repository) GetBranchOk() (*string, bool)
- func (o *Repository) GetId() string
- func (o *Repository) GetIdOk() (*string, bool)
- func (o *Repository) GetName() string
- func (o *Repository) GetNameOk() (*string, bool)
- func (o *Repository) GetOwner() string
- func (o *Repository) GetOwnerOk() (*string, bool)
- func (o *Repository) GetPath() string
- func (o *Repository) GetPathOk() (*string, bool)
- func (o *Repository) GetPrNumber() int32
- func (o *Repository) GetPrNumberOk() (*int32, bool)
- func (o *Repository) GetSha() string
- func (o *Repository) GetShaOk() (*string, bool)
- func (o *Repository) GetSource() string
- func (o *Repository) GetSourceOk() (*string, bool)
- func (o *Repository) GetUrl() string
- func (o *Repository) GetUrlOk() (*string, bool)
- func (o *Repository) HasBranch() bool
- func (o *Repository) HasId() bool
- func (o *Repository) HasName() bool
- func (o *Repository) HasOwner() bool
- func (o *Repository) HasPath() bool
- func (o *Repository) HasPrNumber() bool
- func (o *Repository) HasSha() bool
- func (o *Repository) HasSource() bool
- func (o *Repository) HasUrl() bool
- func (o Repository) MarshalJSON() ([]byte, error)
- func (o *Repository) SetBranch(v string)
- func (o *Repository) SetId(v string)
- func (o *Repository) SetName(v string)
- func (o *Repository) SetOwner(v string)
- func (o *Repository) SetPath(v string)
- func (o *Repository) SetPrNumber(v int32)
- func (o *Repository) SetSha(v string)
- func (o *Repository) SetSource(v string)
- func (o *Repository) SetUrl(v string)
- func (o Repository) 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) GetGitContext(ctx context.Context, gitUrl string) ApiGetGitContextRequest
- func (a *ServerAPIService) GetGitContextExecute(r ApiGetGitContextRequest) (*Repository, *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) GetFrps() FRPSConfig
- func (o *ServerConfig) GetFrpsOk() (*FRPSConfig, bool)
- func (o *ServerConfig) GetGitProviders() []GitProvider
- func (o *ServerConfig) GetGitProvidersOk() ([]GitProvider, 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) 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) GetTargetsFilePath() string
- func (o *ServerConfig) GetTargetsFilePathOk() (*string, bool)
- func (o *ServerConfig) HasApiPort() bool
- func (o *ServerConfig) HasBinariesPath() bool
- func (o *ServerConfig) HasFrps() bool
- func (o *ServerConfig) HasGitProviders() bool
- func (o *ServerConfig) HasHeadscalePort() bool
- func (o *ServerConfig) HasId() bool
- func (o *ServerConfig) HasProvidersDir() bool
- func (o *ServerConfig) HasRegistryUrl() bool
- func (o *ServerConfig) HasServerDownloadUrl() bool
- func (o *ServerConfig) HasTargetsFilePath() bool
- func (o ServerConfig) MarshalJSON() ([]byte, error)
- func (o *ServerConfig) SetApiPort(v int32)
- func (o *ServerConfig) SetBinariesPath(v string)
- func (o *ServerConfig) SetFrps(v FRPSConfig)
- func (o *ServerConfig) SetGitProviders(v []GitProvider)
- func (o *ServerConfig) SetHeadscalePort(v int32)
- func (o *ServerConfig) SetId(v string)
- func (o *ServerConfig) SetProvidersDir(v string)
- func (o *ServerConfig) SetRegistryUrl(v string)
- func (o *ServerConfig) SetServerDownloadUrl(v string)
- func (o *ServerConfig) SetTargetsFilePath(v string)
- func (o ServerConfig) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- 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) 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 ( // 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 AllowedProviderProviderTargetPropertyTypeEnumValues = []ProviderProviderTargetPropertyType{
"string",
"option",
"boolean",
"int",
"float",
"file-path",
}
All allowed values of ProviderProviderTargetPropertyType enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { 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.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
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 }
func (ApiCreateWorkspaceRequest) Execute ¶
func (r ApiCreateWorkspaceRequest) Execute() (*Workspace, *http.Response, error)
func (ApiCreateWorkspaceRequest) Workspace ¶
func (r ApiCreateWorkspaceRequest) Workspace(workspace CreateWorkspace) ApiCreateWorkspaceRequest
Create workspace
type ApiGenerateNetworkKeyRequest ¶
type ApiGenerateNetworkKeyRequest struct { ApiService *ServerAPIService // contains filtered or unexported fields }
func (ApiGenerateNetworkKeyRequest) Execute ¶
func (r ApiGenerateNetworkKeyRequest) Execute() (*NetworkKey, *http.Response, error)
type ApiGetConfigRequest ¶
type ApiGetConfigRequest struct { ApiService *ServerAPIService // contains filtered or unexported fields }
func (ApiGetConfigRequest) Execute ¶
func (r ApiGetConfigRequest) Execute() (*ServerConfig, *http.Response, error)
type ApiGetGitContextRequest ¶
type ApiGetGitContextRequest struct { ApiService *ServerAPIService // contains filtered or unexported fields }
func (ApiGetGitContextRequest) Execute ¶
func (r ApiGetGitContextRequest) Execute() (*Repository, *http.Response, error)
type ApiGetTargetManifestRequest ¶
type ApiGetTargetManifestRequest struct { ApiService *ProviderAPIService // contains filtered or unexported fields }
func (ApiGetTargetManifestRequest) Execute ¶
func (r ApiGetTargetManifestRequest) Execute() (*map[string]ProviderProviderTargetProperty, *http.Response, error)
type ApiGetWorkspaceRequest ¶
type ApiGetWorkspaceRequest struct { ApiService *WorkspaceAPIService // contains filtered or unexported fields }
func (ApiGetWorkspaceRequest) Execute ¶
func (r ApiGetWorkspaceRequest) Execute() (*WorkspaceDTO, *http.Response, error)
type ApiInstallProviderRequest ¶
type ApiInstallProviderRequest struct { ApiService *ProviderAPIService // contains filtered or unexported fields }
func (ApiInstallProviderRequest) Execute ¶
func (r ApiInstallProviderRequest) Execute() (*http.Response, error)
func (ApiInstallProviderRequest) Provider ¶
func (r ApiInstallProviderRequest) Provider(provider InstallProviderRequest) ApiInstallProviderRequest
Provider to install
type ApiListProvidersRequest ¶
type ApiListProvidersRequest struct { ApiService *ProviderAPIService // contains filtered or unexported fields }
type ApiListTargetsRequest ¶
type ApiListTargetsRequest struct { ApiService *TargetAPIService // contains filtered or unexported fields }
func (ApiListTargetsRequest) Execute ¶
func (r ApiListTargetsRequest) Execute() ([]ProviderTarget, *http.Response, error)
type ApiListWorkspacesRequest ¶
type ApiListWorkspacesRequest struct { ApiService *WorkspaceAPIService // contains filtered or unexported fields }
func (ApiListWorkspacesRequest) Execute ¶
func (r ApiListWorkspacesRequest) Execute() ([]WorkspaceDTO, *http.Response, error)
func (ApiListWorkspacesRequest) Verbose ¶ added in v0.7.0
func (r ApiListWorkspacesRequest) Verbose(verbose bool) ApiListWorkspacesRequest
Verbose
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 ApiSetConfigRequest ¶
type ApiSetConfigRequest struct { ApiService *ServerAPIService // contains filtered or unexported fields }
func (ApiSetConfigRequest) Config ¶
func (r ApiSetConfigRequest) Config(config ServerConfig) ApiSetConfigRequest
Server configuration
func (ApiSetConfigRequest) Execute ¶
func (r ApiSetConfigRequest) Execute() (*ServerConfig, *http.Response, error)
type ApiSetTargetRequest ¶
type ApiSetTargetRequest struct { ApiService *TargetAPIService // contains filtered or unexported fields }
func (ApiSetTargetRequest) Target ¶
func (r ApiSetTargetRequest) Target(target ProviderTarget) ApiSetTargetRequest
Target to set
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 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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateWorkspace ¶
type CreateWorkspace struct { Name *string `json:"name,omitempty"` Repositories []Repository `json:"repositories,omitempty"` Target *string `json:"target,omitempty"` }
CreateWorkspace struct for CreateWorkspace
func NewCreateWorkspace ¶
func NewCreateWorkspace() *CreateWorkspace
NewCreateWorkspace instantiates a new CreateWorkspace 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 NewCreateWorkspaceWithDefaults ¶
func NewCreateWorkspaceWithDefaults() *CreateWorkspace
NewCreateWorkspaceWithDefaults instantiates a new CreateWorkspace 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 (*CreateWorkspace) GetName ¶
func (o *CreateWorkspace) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateWorkspace) GetNameOk ¶
func (o *CreateWorkspace) 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 (*CreateWorkspace) GetRepositories ¶
func (o *CreateWorkspace) GetRepositories() []Repository
GetRepositories returns the Repositories field value if set, zero value otherwise.
func (*CreateWorkspace) GetRepositoriesOk ¶
func (o *CreateWorkspace) GetRepositoriesOk() ([]Repository, bool)
GetRepositoriesOk returns a tuple with the Repositories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWorkspace) GetTarget ¶
func (o *CreateWorkspace) GetTarget() string
GetTarget returns the Target field value if set, zero value otherwise.
func (*CreateWorkspace) GetTargetOk ¶
func (o *CreateWorkspace) 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 (*CreateWorkspace) HasName ¶
func (o *CreateWorkspace) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateWorkspace) HasRepositories ¶
func (o *CreateWorkspace) HasRepositories() bool
HasRepositories returns a boolean if a field has been set.
func (*CreateWorkspace) HasTarget ¶
func (o *CreateWorkspace) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (CreateWorkspace) MarshalJSON ¶
func (o CreateWorkspace) MarshalJSON() ([]byte, error)
func (*CreateWorkspace) SetName ¶
func (o *CreateWorkspace) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateWorkspace) SetRepositories ¶
func (o *CreateWorkspace) SetRepositories(v []Repository)
SetRepositories gets a reference to the given []Repository and assigns it to the Repositories field.
func (*CreateWorkspace) SetTarget ¶
func (o *CreateWorkspace) SetTarget(v string)
SetTarget gets a reference to the given string and assigns it to the Target field.
func (CreateWorkspace) ToMap ¶
func (o CreateWorkspace) ToMap() (map[string]interface{}, error)
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.
func (FRPSConfig) ToMap ¶
func (o FRPSConfig) ToMap() (map[string]interface{}, error)
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
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
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 ¶ added in v0.3.0
func (o *GitProvider) GetBaseApiUrl() string
GetBaseApiUrl returns the BaseApiUrl field value if set, zero value otherwise.
func (*GitProvider) GetBaseApiUrlOk ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
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.
func (GitProvider) ToMap ¶
func (o GitProvider) ToMap() (map[string]interface{}, error)
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.
func (*InstallProviderRequest) SetName ¶
func (o *InstallProviderRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (InstallProviderRequest) ToMap ¶
func (o InstallProviderRequest) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
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)
func (*NetworkKey) SetKey ¶
func (o *NetworkKey) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (NetworkKey) ToMap ¶
func (o NetworkKey) ToMap() (map[string]interface{}, error)
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateWorkspace ¶
type NullableCreateWorkspace struct {
// contains filtered or unexported fields
}
func NewNullableCreateWorkspace ¶
func NewNullableCreateWorkspace(val *CreateWorkspace) *NullableCreateWorkspace
func (NullableCreateWorkspace) Get ¶
func (v NullableCreateWorkspace) Get() *CreateWorkspace
func (NullableCreateWorkspace) IsSet ¶
func (v NullableCreateWorkspace) IsSet() bool
func (NullableCreateWorkspace) MarshalJSON ¶
func (v NullableCreateWorkspace) MarshalJSON() ([]byte, error)
func (*NullableCreateWorkspace) Set ¶
func (v *NullableCreateWorkspace) Set(val *CreateWorkspace)
func (*NullableCreateWorkspace) UnmarshalJSON ¶
func (v *NullableCreateWorkspace) UnmarshalJSON(src []byte) error
func (*NullableCreateWorkspace) Unset ¶
func (v *NullableCreateWorkspace) Unset()
type NullableFRPSConfig ¶
type NullableFRPSConfig struct {
// contains filtered or unexported fields
}
func NewNullableFRPSConfig ¶
func NewNullableFRPSConfig(val *FRPSConfig) *NullableFRPSConfig
func (NullableFRPSConfig) Get ¶
func (v NullableFRPSConfig) Get() *FRPSConfig
func (NullableFRPSConfig) IsSet ¶
func (v NullableFRPSConfig) IsSet() bool
func (NullableFRPSConfig) MarshalJSON ¶
func (v NullableFRPSConfig) MarshalJSON() ([]byte, error)
func (*NullableFRPSConfig) Set ¶
func (v *NullableFRPSConfig) Set(val *FRPSConfig)
func (*NullableFRPSConfig) UnmarshalJSON ¶
func (v *NullableFRPSConfig) UnmarshalJSON(src []byte) error
func (*NullableFRPSConfig) Unset ¶
func (v *NullableFRPSConfig) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGitProvider ¶
type NullableGitProvider struct {
// contains filtered or unexported fields
}
func NewNullableGitProvider ¶
func NewNullableGitProvider(val *GitProvider) *NullableGitProvider
func (NullableGitProvider) Get ¶
func (v NullableGitProvider) Get() *GitProvider
func (NullableGitProvider) IsSet ¶
func (v NullableGitProvider) IsSet() bool
func (NullableGitProvider) MarshalJSON ¶
func (v NullableGitProvider) MarshalJSON() ([]byte, error)
func (*NullableGitProvider) Set ¶
func (v *NullableGitProvider) Set(val *GitProvider)
func (*NullableGitProvider) UnmarshalJSON ¶
func (v *NullableGitProvider) UnmarshalJSON(src []byte) error
func (*NullableGitProvider) Unset ¶
func (v *NullableGitProvider) Unset()
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) IsSet ¶
func (v NullableInstallProviderRequest) IsSet() bool
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
func (*NullableInstallProviderRequest) Unset ¶
func (v *NullableInstallProviderRequest) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableNetworkKey ¶
type NullableNetworkKey struct {
// contains filtered or unexported fields
}
func NewNullableNetworkKey ¶
func NewNullableNetworkKey(val *NetworkKey) *NullableNetworkKey
func (NullableNetworkKey) Get ¶
func (v NullableNetworkKey) Get() *NetworkKey
func (NullableNetworkKey) IsSet ¶
func (v NullableNetworkKey) IsSet() bool
func (NullableNetworkKey) MarshalJSON ¶
func (v NullableNetworkKey) MarshalJSON() ([]byte, error)
func (*NullableNetworkKey) Set ¶
func (v *NullableNetworkKey) Set(val *NetworkKey)
func (*NullableNetworkKey) UnmarshalJSON ¶
func (v *NullableNetworkKey) UnmarshalJSON(src []byte) error
func (*NullableNetworkKey) Unset ¶
func (v *NullableNetworkKey) Unset()
type NullableProject ¶
type NullableProject struct {
// contains filtered or unexported fields
}
func NewNullableProject ¶
func NewNullableProject(val *Project) *NullableProject
func (NullableProject) Get ¶
func (v NullableProject) Get() *Project
func (NullableProject) IsSet ¶
func (v NullableProject) IsSet() bool
func (NullableProject) MarshalJSON ¶
func (v NullableProject) MarshalJSON() ([]byte, error)
func (*NullableProject) Set ¶
func (v *NullableProject) Set(val *Project)
func (*NullableProject) UnmarshalJSON ¶
func (v *NullableProject) UnmarshalJSON(src []byte) error
func (*NullableProject) Unset ¶
func (v *NullableProject) Unset()
type NullableProjectInfo ¶
type NullableProjectInfo struct {
// contains filtered or unexported fields
}
func NewNullableProjectInfo ¶
func NewNullableProjectInfo(val *ProjectInfo) *NullableProjectInfo
func (NullableProjectInfo) Get ¶
func (v NullableProjectInfo) Get() *ProjectInfo
func (NullableProjectInfo) IsSet ¶
func (v NullableProjectInfo) IsSet() bool
func (NullableProjectInfo) MarshalJSON ¶
func (v NullableProjectInfo) MarshalJSON() ([]byte, error)
func (*NullableProjectInfo) Set ¶
func (v *NullableProjectInfo) Set(val *ProjectInfo)
func (*NullableProjectInfo) UnmarshalJSON ¶
func (v *NullableProjectInfo) UnmarshalJSON(src []byte) error
func (*NullableProjectInfo) Unset ¶
func (v *NullableProjectInfo) Unset()
type NullableProvider ¶
type NullableProvider struct {
// contains filtered or unexported fields
}
func NewNullableProvider ¶
func NewNullableProvider(val *Provider) *NullableProvider
func (NullableProvider) Get ¶
func (v NullableProvider) Get() *Provider
func (NullableProvider) IsSet ¶
func (v NullableProvider) IsSet() bool
func (NullableProvider) MarshalJSON ¶
func (v NullableProvider) MarshalJSON() ([]byte, error)
func (*NullableProvider) Set ¶
func (v *NullableProvider) Set(val *Provider)
func (*NullableProvider) UnmarshalJSON ¶
func (v *NullableProvider) UnmarshalJSON(src []byte) error
func (*NullableProvider) Unset ¶
func (v *NullableProvider) Unset()
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) IsSet ¶
func (v NullableProviderProviderInfo) IsSet() bool
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
func (*NullableProviderProviderInfo) Unset ¶
func (v *NullableProviderProviderInfo) Unset()
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
func (*NullableProviderProviderTargetProperty) Unset ¶
func (v *NullableProviderProviderTargetProperty) Unset()
type NullableProviderProviderTargetPropertyType ¶
type NullableProviderProviderTargetPropertyType struct {
// contains filtered or unexported fields
}
func NewNullableProviderProviderTargetPropertyType ¶
func NewNullableProviderProviderTargetPropertyType(val *ProviderProviderTargetPropertyType) *NullableProviderProviderTargetPropertyType
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
func (*NullableProviderProviderTargetPropertyType) Unset ¶
func (v *NullableProviderProviderTargetPropertyType) Unset()
type NullableProviderTarget ¶
type NullableProviderTarget struct {
// contains filtered or unexported fields
}
func NewNullableProviderTarget ¶
func NewNullableProviderTarget(val *ProviderTarget) *NullableProviderTarget
func (NullableProviderTarget) Get ¶
func (v NullableProviderTarget) Get() *ProviderTarget
func (NullableProviderTarget) IsSet ¶
func (v NullableProviderTarget) IsSet() bool
func (NullableProviderTarget) MarshalJSON ¶
func (v NullableProviderTarget) MarshalJSON() ([]byte, error)
func (*NullableProviderTarget) Set ¶
func (v *NullableProviderTarget) Set(val *ProviderTarget)
func (*NullableProviderTarget) UnmarshalJSON ¶
func (v *NullableProviderTarget) UnmarshalJSON(src []byte) error
func (*NullableProviderTarget) Unset ¶
func (v *NullableProviderTarget) Unset()
type NullableRepository ¶
type NullableRepository struct {
// contains filtered or unexported fields
}
func NewNullableRepository ¶
func NewNullableRepository(val *Repository) *NullableRepository
func (NullableRepository) Get ¶
func (v NullableRepository) Get() *Repository
func (NullableRepository) IsSet ¶
func (v NullableRepository) IsSet() bool
func (NullableRepository) MarshalJSON ¶
func (v NullableRepository) MarshalJSON() ([]byte, error)
func (*NullableRepository) Set ¶
func (v *NullableRepository) Set(val *Repository)
func (*NullableRepository) UnmarshalJSON ¶
func (v *NullableRepository) UnmarshalJSON(src []byte) error
func (*NullableRepository) Unset ¶
func (v *NullableRepository) Unset()
type NullableServerConfig ¶
type NullableServerConfig struct {
// contains filtered or unexported fields
}
func NewNullableServerConfig ¶
func NewNullableServerConfig(val *ServerConfig) *NullableServerConfig
func (NullableServerConfig) Get ¶
func (v NullableServerConfig) Get() *ServerConfig
func (NullableServerConfig) IsSet ¶
func (v NullableServerConfig) IsSet() bool
func (NullableServerConfig) MarshalJSON ¶
func (v NullableServerConfig) MarshalJSON() ([]byte, error)
func (*NullableServerConfig) Set ¶
func (v *NullableServerConfig) Set(val *ServerConfig)
func (*NullableServerConfig) UnmarshalJSON ¶
func (v *NullableServerConfig) UnmarshalJSON(src []byte) error
func (*NullableServerConfig) Unset ¶
func (v *NullableServerConfig) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableWorkspace ¶
type NullableWorkspace struct {
// contains filtered or unexported fields
}
func NewNullableWorkspace ¶
func NewNullableWorkspace(val *Workspace) *NullableWorkspace
func (NullableWorkspace) Get ¶
func (v NullableWorkspace) Get() *Workspace
func (NullableWorkspace) IsSet ¶
func (v NullableWorkspace) IsSet() bool
func (NullableWorkspace) MarshalJSON ¶
func (v NullableWorkspace) MarshalJSON() ([]byte, error)
func (*NullableWorkspace) Set ¶
func (v *NullableWorkspace) Set(val *Workspace)
func (*NullableWorkspace) UnmarshalJSON ¶
func (v *NullableWorkspace) UnmarshalJSON(src []byte) error
func (*NullableWorkspace) Unset ¶
func (v *NullableWorkspace) Unset()
type NullableWorkspaceDTO ¶ added in v0.7.0
type NullableWorkspaceDTO struct {
// contains filtered or unexported fields
}
func NewNullableWorkspaceDTO ¶ added in v0.7.0
func NewNullableWorkspaceDTO(val *WorkspaceDTO) *NullableWorkspaceDTO
func (NullableWorkspaceDTO) Get ¶ added in v0.7.0
func (v NullableWorkspaceDTO) Get() *WorkspaceDTO
func (NullableWorkspaceDTO) IsSet ¶ added in v0.7.0
func (v NullableWorkspaceDTO) IsSet() bool
func (NullableWorkspaceDTO) MarshalJSON ¶ added in v0.7.0
func (v NullableWorkspaceDTO) MarshalJSON() ([]byte, error)
func (*NullableWorkspaceDTO) Set ¶ added in v0.7.0
func (v *NullableWorkspaceDTO) Set(val *WorkspaceDTO)
func (*NullableWorkspaceDTO) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableWorkspaceDTO) UnmarshalJSON(src []byte) error
func (*NullableWorkspaceDTO) Unset ¶ added in v0.7.0
func (v *NullableWorkspaceDTO) Unset()
type NullableWorkspaceInfo ¶
type NullableWorkspaceInfo struct {
// contains filtered or unexported fields
}
func NewNullableWorkspaceInfo ¶
func NewNullableWorkspaceInfo(val *WorkspaceInfo) *NullableWorkspaceInfo
func (NullableWorkspaceInfo) Get ¶
func (v NullableWorkspaceInfo) Get() *WorkspaceInfo
func (NullableWorkspaceInfo) IsSet ¶
func (v NullableWorkspaceInfo) IsSet() bool
func (NullableWorkspaceInfo) MarshalJSON ¶
func (v NullableWorkspaceInfo) MarshalJSON() ([]byte, error)
func (*NullableWorkspaceInfo) Set ¶
func (v *NullableWorkspaceInfo) Set(val *WorkspaceInfo)
func (*NullableWorkspaceInfo) UnmarshalJSON ¶
func (v *NullableWorkspaceInfo) UnmarshalJSON(src []byte) error
func (*NullableWorkspaceInfo) Unset ¶
func (v *NullableWorkspaceInfo) Unset()
type Project ¶
type Project struct { Name *string `json:"name,omitempty"` Repository *Repository `json:"repository,omitempty"` Target *string `json:"target,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) GetNameOk ¶
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) GetRepository ¶
func (o *Project) GetRepository() Repository
GetRepository returns the Repository field value if set, zero value otherwise.
func (*Project) GetRepositoryOk ¶
func (o *Project) GetRepositoryOk() (*Repository, 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) GetTargetOk ¶
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) GetWorkspaceId ¶
GetWorkspaceId returns the WorkspaceId field value if set, zero value otherwise.
func (*Project) GetWorkspaceIdOk ¶
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) HasRepository ¶
HasRepository returns a boolean if a field has been set.
func (*Project) HasWorkspaceId ¶
HasWorkspaceId returns a boolean if a field has been set.
func (Project) MarshalJSON ¶
func (*Project) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Project) SetRepository ¶
func (o *Project) SetRepository(v Repository)
SetRepository gets a reference to the given Repository and assigns it to the Repository field.
func (*Project) SetTarget ¶
SetTarget gets a reference to the given string and assigns it to the Target field.
func (*Project) SetWorkspaceId ¶
SetWorkspaceId gets a reference to the given string and assigns it to the WorkspaceId field.
type ProjectInfo ¶
type ProjectInfo struct { Created *string `json:"created,omitempty"` Finished *string `json:"finished,omitempty"` IsRunning *bool `json:"isRunning,omitempty"` Name *string `json:"name,omitempty"` ProviderMetadata *string `json:"providerMetadata,omitempty"` Started *string `json:"started,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) GetFinished ¶
func (o *ProjectInfo) GetFinished() string
GetFinished returns the Finished field value if set, zero value otherwise.
func (*ProjectInfo) GetFinishedOk ¶
func (o *ProjectInfo) GetFinishedOk() (*string, bool)
GetFinishedOk returns a tuple with the Finished 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) GetStarted ¶
func (o *ProjectInfo) GetStarted() string
GetStarted returns the Started field value if set, zero value otherwise.
func (*ProjectInfo) GetStartedOk ¶
func (o *ProjectInfo) GetStartedOk() (*string, bool)
GetStartedOk returns a tuple with the Started 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) HasFinished ¶
func (o *ProjectInfo) HasFinished() bool
HasFinished 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) HasStarted ¶
func (o *ProjectInfo) HasStarted() bool
HasStarted 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) SetFinished ¶
func (o *ProjectInfo) SetFinished(v string)
SetFinished gets a reference to the given string and assigns it to the Finished 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) SetStarted ¶
func (o *ProjectInfo) SetStarted(v string)
SetStarted gets a reference to the given string and assigns it to the Started 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.
func (ProjectInfo) ToMap ¶
func (o ProjectInfo) ToMap() (map[string]interface{}, error)
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) GetNameOk ¶
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 ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Provider) GetVersionOk ¶
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) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Provider) MarshalJSON ¶
func (*Provider) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Provider) SetVersion ¶
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.
func (ProviderProviderInfo) ToMap ¶
func (o ProviderProviderInfo) ToMap() (map[string]interface{}, error)
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"` // 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) 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) 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) 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.
func (*ProviderProviderTargetProperty) SetType ¶
func (o *ProviderProviderTargetProperty) SetType(v ProviderProviderTargetPropertyType)
SetType gets a reference to the given ProviderProviderTargetPropertyType and assigns it to the Type field.
func (ProviderProviderTargetProperty) ToMap ¶
func (o ProviderProviderTargetProperty) ToMap() (map[string]interface{}, error)
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.
func (ProviderTarget) ToMap ¶
func (o ProviderTarget) ToMap() (map[string]interface{}, error)
type Repository ¶
type Repository 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"` }
Repository struct for Repository
func NewRepository ¶
func NewRepository() *Repository
NewRepository instantiates a new Repository 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 NewRepositoryWithDefaults ¶
func NewRepositoryWithDefaults() *Repository
NewRepositoryWithDefaults instantiates a new Repository 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 (*Repository) GetBranch ¶
func (o *Repository) GetBranch() string
GetBranch returns the Branch field value if set, zero value otherwise.
func (*Repository) GetBranchOk ¶
func (o *Repository) 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 (*Repository) GetId ¶
func (o *Repository) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*Repository) GetIdOk ¶
func (o *Repository) 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 (*Repository) GetName ¶
func (o *Repository) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*Repository) GetNameOk ¶
func (o *Repository) 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 (*Repository) GetOwner ¶
func (o *Repository) GetOwner() string
GetOwner returns the Owner field value if set, zero value otherwise.
func (*Repository) GetOwnerOk ¶
func (o *Repository) 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 (*Repository) GetPath ¶
func (o *Repository) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*Repository) GetPathOk ¶
func (o *Repository) 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 (*Repository) GetPrNumber ¶
func (o *Repository) GetPrNumber() int32
GetPrNumber returns the PrNumber field value if set, zero value otherwise.
func (*Repository) GetPrNumberOk ¶
func (o *Repository) 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 (*Repository) GetSha ¶
func (o *Repository) GetSha() string
GetSha returns the Sha field value if set, zero value otherwise.
func (*Repository) GetShaOk ¶
func (o *Repository) 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 (*Repository) GetSource ¶
func (o *Repository) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*Repository) GetSourceOk ¶
func (o *Repository) 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 (*Repository) GetUrl ¶
func (o *Repository) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*Repository) GetUrlOk ¶
func (o *Repository) 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 (*Repository) HasBranch ¶
func (o *Repository) HasBranch() bool
HasBranch returns a boolean if a field has been set.
func (*Repository) HasId ¶
func (o *Repository) HasId() bool
HasId returns a boolean if a field has been set.
func (*Repository) HasName ¶
func (o *Repository) HasName() bool
HasName returns a boolean if a field has been set.
func (*Repository) HasOwner ¶
func (o *Repository) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (*Repository) HasPath ¶
func (o *Repository) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*Repository) HasPrNumber ¶
func (o *Repository) HasPrNumber() bool
HasPrNumber returns a boolean if a field has been set.
func (*Repository) HasSha ¶
func (o *Repository) HasSha() bool
HasSha returns a boolean if a field has been set.
func (*Repository) HasSource ¶
func (o *Repository) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*Repository) HasUrl ¶
func (o *Repository) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (Repository) MarshalJSON ¶
func (o Repository) MarshalJSON() ([]byte, error)
func (*Repository) SetBranch ¶
func (o *Repository) SetBranch(v string)
SetBranch gets a reference to the given string and assigns it to the Branch field.
func (*Repository) SetId ¶
func (o *Repository) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*Repository) SetName ¶
func (o *Repository) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*Repository) SetOwner ¶
func (o *Repository) SetOwner(v string)
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (*Repository) SetPath ¶
func (o *Repository) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*Repository) SetPrNumber ¶
func (o *Repository) SetPrNumber(v int32)
SetPrNumber gets a reference to the given int32 and assigns it to the PrNumber field.
func (*Repository) SetSha ¶
func (o *Repository) SetSha(v string)
SetSha gets a reference to the given string and assigns it to the Sha field.
func (*Repository) SetSource ¶
func (o *Repository) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
func (*Repository) SetUrl ¶
func (o *Repository) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (Repository) ToMap ¶
func (o Repository) ToMap() (map[string]interface{}, error)
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) GetGitContext ¶
func (a *ServerAPIService) 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 (*ServerAPIService) GetGitContextExecute ¶
func (a *ServerAPIService) GetGitContextExecute(r ApiGetGitContextRequest) (*Repository, *http.Response, error)
Execute executes the request
@return Repository
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"` Frps *FRPSConfig `json:"frps,omitempty"` GitProviders []GitProvider `json:"gitProviders,omitempty"` HeadscalePort *int32 `json:"headscalePort,omitempty"` Id *string `json:"id,omitempty"` ProvidersDir *string `json:"providersDir,omitempty"` RegistryUrl *string `json:"registryUrl,omitempty"` ServerDownloadUrl *string `json:"serverDownloadUrl,omitempty"` TargetsFilePath *string `json:"targetsFilePath,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 ¶ added in v0.7.0
func (o *ServerConfig) GetBinariesPath() string
GetBinariesPath returns the BinariesPath field value if set, zero value otherwise.
func (*ServerConfig) GetBinariesPathOk ¶ added in v0.7.0
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) 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) GetGitProviders ¶
func (o *ServerConfig) GetGitProviders() []GitProvider
GetGitProviders returns the GitProviders field value if set, zero value otherwise.
func (*ServerConfig) GetGitProvidersOk ¶
func (o *ServerConfig) GetGitProvidersOk() ([]GitProvider, bool)
GetGitProvidersOk returns a tuple with the GitProviders 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) 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) GetTargetsFilePath ¶
func (o *ServerConfig) GetTargetsFilePath() string
GetTargetsFilePath returns the TargetsFilePath field value if set, zero value otherwise.
func (*ServerConfig) GetTargetsFilePathOk ¶
func (o *ServerConfig) GetTargetsFilePathOk() (*string, bool)
GetTargetsFilePathOk returns a tuple with the TargetsFilePath 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 ¶ added in v0.7.0
func (o *ServerConfig) HasBinariesPath() bool
HasBinariesPath 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) HasGitProviders ¶
func (o *ServerConfig) HasGitProviders() bool
HasGitProviders 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) 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) HasTargetsFilePath ¶
func (o *ServerConfig) HasTargetsFilePath() bool
HasTargetsFilePath 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 ¶ added in v0.7.0
func (o *ServerConfig) SetBinariesPath(v string)
SetBinariesPath gets a reference to the given string and assigns it to the BinariesPath 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) SetGitProviders ¶
func (o *ServerConfig) SetGitProviders(v []GitProvider)
SetGitProviders gets a reference to the given []GitProvider and assigns it to the GitProviders 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) 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.
func (*ServerConfig) SetTargetsFilePath ¶
func (o *ServerConfig) SetTargetsFilePath(v string)
SetTargetsFilePath gets a reference to the given string and assigns it to the TargetsFilePath field.
func (ServerConfig) ToMap ¶
func (o ServerConfig) ToMap() (map[string]interface{}, error)
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 ¶
ServerVariable stores the information about a server variable
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) GetIdOk ¶
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) GetNameOk ¶
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 ¶
GetProjects returns the Projects field value if set, zero value otherwise.
func (*Workspace) GetProjectsOk ¶
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 ¶
GetTarget returns the Target field value if set, zero value otherwise.
func (*Workspace) GetTargetOk ¶
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) HasProjects ¶
HasProjects returns a boolean if a field has been set.
func (Workspace) MarshalJSON ¶
func (*Workspace) SetId ¶
SetId gets a reference to the given string and assigns it to the Id field.
func (*Workspace) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Workspace) SetProjects ¶
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) 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 ¶ added in v0.7.0
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 ¶ added in v0.7.0
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 ¶ added in v0.7.0
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 ¶ added in v0.7.0
func (o *WorkspaceDTO) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*WorkspaceDTO) GetIdOk ¶ added in v0.7.0
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 ¶ added in v0.7.0
func (o *WorkspaceDTO) GetInfo() WorkspaceInfo
GetInfo returns the Info field value if set, zero value otherwise.
func (*WorkspaceDTO) GetInfoOk ¶ added in v0.7.0
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 ¶ added in v0.7.0
func (o *WorkspaceDTO) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*WorkspaceDTO) GetNameOk ¶ added in v0.7.0
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 ¶ added in v0.7.0
func (o *WorkspaceDTO) GetProjects() []Project
GetProjects returns the Projects field value if set, zero value otherwise.
func (*WorkspaceDTO) GetProjectsOk ¶ added in v0.7.0
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 ¶ added in v0.7.0
func (o *WorkspaceDTO) GetTarget() string
GetTarget returns the Target field value if set, zero value otherwise.
func (*WorkspaceDTO) GetTargetOk ¶ added in v0.7.0
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 ¶ added in v0.7.0
func (o *WorkspaceDTO) HasId() bool
HasId returns a boolean if a field has been set.
func (*WorkspaceDTO) HasInfo ¶ added in v0.7.0
func (o *WorkspaceDTO) HasInfo() bool
HasInfo returns a boolean if a field has been set.
func (*WorkspaceDTO) HasName ¶ added in v0.7.0
func (o *WorkspaceDTO) HasName() bool
HasName returns a boolean if a field has been set.
func (*WorkspaceDTO) HasProjects ¶ added in v0.7.0
func (o *WorkspaceDTO) HasProjects() bool
HasProjects returns a boolean if a field has been set.
func (*WorkspaceDTO) HasTarget ¶ added in v0.7.0
func (o *WorkspaceDTO) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (WorkspaceDTO) MarshalJSON ¶ added in v0.7.0
func (o WorkspaceDTO) MarshalJSON() ([]byte, error)
func (*WorkspaceDTO) SetId ¶ added in v0.7.0
func (o *WorkspaceDTO) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*WorkspaceDTO) SetInfo ¶ added in v0.7.0
func (o *WorkspaceDTO) SetInfo(v WorkspaceInfo)
SetInfo gets a reference to the given WorkspaceInfo and assigns it to the Info field.
func (*WorkspaceDTO) SetName ¶ added in v0.7.0
func (o *WorkspaceDTO) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*WorkspaceDTO) SetProjects ¶ added in v0.7.0
func (o *WorkspaceDTO) SetProjects(v []Project)
SetProjects gets a reference to the given []Project and assigns it to the Projects field.
func (*WorkspaceDTO) SetTarget ¶ added in v0.7.0
func (o *WorkspaceDTO) SetTarget(v string)
SetTarget gets a reference to the given string and assigns it to the Target field.
func (WorkspaceDTO) ToMap ¶ added in v0.7.0
func (o WorkspaceDTO) ToMap() (map[string]interface{}, error)
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.
func (WorkspaceInfo) ToMap ¶
func (o WorkspaceInfo) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_provider.go
- api_server.go
- api_target.go
- api_workspace.go
- client.go
- configuration.go
- model_create_workspace.go
- model_frps_config.go
- model_git_provider.go
- model_install_provider_request.go
- model_network_key.go
- model_project.go
- model_project_info.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_repository.go
- model_server_config.go
- model_workspace.go
- model_workspace_dto.go
- model_workspace_info.go
- response.go
- utils.go