Documentation
¶
Index ¶
- Constants
- type Account
- type AccountCredentials
- type AdoServerRepoSpaceAssociation
- type AgentDetails
- type AgentSpaceAssociation
- type Agents
- type AllowedSpaces
- type ApprovalChannel
- type ApprovalChannelDetails
- type Approver
- type Audit
- type AuditProperties
- type AwsCostTarget
- type Blueprint
- type BlueprintDisplayNameRequest
- type BlueprintSource
- type BlueprintTag
- type CatalogItemLabelsRequest
- type CatalogItemRequest
- type Client
- func (c *Client) AddAWSCostTarget(name string, target_type string, role_arn string, external_id string) error
- func (c *Client) AddAccountParameter(name string, value string, sensitive bool, description string) error
- func (c *Client) AddAgentToSpace(agent string, ns string, sa string, space string, agent_type string) error
- func (c *Client) AddBlueprintToAssetLibrary(space_name string, repo_name *string, blueprint_name string) error
- func (c *Client) AddGroupToSpace(groupName string, description string, idpId string, users []string, ...) error
- func (c *Client) AddSpaceParameter(space_name string, name string, value string, sensitive bool, ...) error
- func (c *Client) AddTag(name string, value string, description string, possible_values []string, ...) error
- func (c *Client) AddUserToSpace(userEmail string, role string, space string) error
- func (c *Client) AllowLaunch(blueprint_name string, repository_name string, space_name string, ...) error
- func (c *Client) ConfigureResourveInventory(credentials string, details ResourceInventoryDetails) error
- func (c *Client) CreateAccount(ParentAccount string, AccountName string, AccountPassword string, ...) error
- func (c *Client) CreateAccountCredentials(name string, description string, cloud_type string, cloud_identifier string, ...) error
- func (c *Client) CreateApprovalChannel(name string, description string, details ApprovalChannelDetails) error
- func (c *Client) CreateAuditTarget(audit_type string, properties *AuditProperties) error
- func (c *Client) CreateBlueprintTagValue(space_name string, tag_name string, tag_value string, repo_name string, ...) error
- func (c *Client) CreateDeploymentEngine(engine_type string, name string, description string, agent_name string, ...) error
- func (c *Client) CreateEnvironment(Space string, BlueprintName string, EnvironmentName string, Duration string, ...) ([]byte, error)
- func (c *Client) CreateEnvironmentLabel(key string, value string) error
- func (c *Client) CreateInputSource(Name string, Description string, AllowedSpaces AllowedSpaces, ...) error
- func (c *Client) CreateLabel(space_name string, name string, color string, quick_filter bool) error
- func (c *Client) CreateSpace(name string, color string, icon string) error
- func (c *Client) CreateSpaceCredentials(space_name string, name string, description string, cloudtype string, ...) error
- func (c *Client) CreateSpaceNotification(notification_type string, space_name string, notification_name string, ...) (string, error)
- func (c *Client) CreateSpaceTagValue(space_name string, tag_name string, tag_value string) error
- func (c *Client) DeleteAccountCredentials(credential_name string) error
- func (c *Client) DeleteAccountParameter(parameter_name string) error
- func (c *Client) DeleteApprovalChannel(name string) error
- func (c *Client) DeleteAudit(name string) error
- func (c *Client) DeleteBlueprintTagValue(space_name string, tag_name string, repository_name string, ...) error
- func (c *Client) DeleteCostTarget(target_name string) error
- func (c *Client) DeleteCustomIcon(space_name string, key string) error
- func (c *Client) DeleteDeploymentEngine(name string) error
- func (c *Client) DeleteEnvironmentLabel(key string, value string) error
- func (c *Client) DeleteGroup(group_name string) error
- func (c *Client) DeleteInputSource(name string) error
- func (c *Client) DeleteLabel(space_name string, name string) error
- func (c *Client) DeleteResourceInventory(credentials string) error
- func (c *Client) DeleteSpace(name string) error
- func (c *Client) DeleteSpaceCredentials(space_name string, credential_name string) error
- func (c *Client) DeleteSpaceNotification(space_name string, notification_id string) error
- func (c *Client) DeleteSpaceParameter(space_name string, parameter_name string) error
- func (c *Client) DeleteSpaceTagValue(space_name string, tag_name string) error
- func (c *Client) EditCatalogItemLabels(space_name string, blueprint_name string, repository_name string, ...) error
- func (c *Client) ForceTerminateEnvironment(Space string, Id string) error
- func (c *Client) GetAccountParameter(parameter_name string) (*ParameterRequest, error)
- func (c *Client) GetApprovalChannel(name string) (*ApprovalChannel, error)
- func (c *Client) GetAudit() (*Audit, error)
- func (c *Client) GetBlueprint(space_name string, name string) (*Blueprint, error)
- func (c *Client) GetBlueprintFromAssetLibrary(space_name string, blueprint_name string) (*Blueprint, error)
- func (c *Client) GetBlueprintTag(space_name string, tag_name string, repo_name string, blueprint_name string) (NameValuePair, error)
- func (c *Client) GetCredentials(credential_name string) (AccountCredentials, error)
- func (c *Client) GetCustomIcon(space_name string, file_path string) (*TorqueSpaceCustomIcon, error)
- func (c *Client) GetCustomIcons(space_name string, file_path string) ([]TorqueSpaceCustomIcon, error)
- func (c *Client) GetDeploymentEngine(name string) (*DeploymentEngineRead, error)
- func (c *Client) GetEnvironmentDetails(spaceName string, environmentId string) (*Environment, string, error)
- func (c *Client) GetEnvironmentLabel(key string, value string) (*KeyValuePair, error)
- func (c *Client) GetEnvironmentLabels(space_name string, environment_id string) ([]KeyValuePair, error)
- func (c *Client) GetGroup(group_name string) (GroupRequest, error)
- func (c *Client) GetInputSource(Name string) (*TorqueInputSource, error)
- func (c *Client) GetIntrospectionDetails(spaceName string, environmentId string) ([]IntrospectionItem, error)
- func (c *Client) GetLabel(space_name string, name string) (*Label, error)
- func (c *Client) GetRepoDetails(space_name string, repo_name string) (*RepoDetails, error)
- func (c *Client) GetResourceInventory(credentials string, details ResourceInventoryDetails) error
- func (c *Client) GetSpace(space_name string) (Space, error)
- func (c *Client) GetSpaceBlueprints(space_name string) ([]Blueprint, error)
- func (c *Client) GetSpaceCredentials(space_name string, credential_name string) (SpaceCredentials, error)
- func (c *Client) GetSpaceParameter(space_name string, parameter_name string) (ParameterRequest, error)
- func (c *Client) GetSpaceTag(space_name string, tag_name string) (NameValuePair, error)
- func (c *Client) GetSpaceTags(space_name string) ([]Tag, error)
- func (c *Client) GetSpaceWorkflows(space_name string) ([]SpaceWorkflow, error)
- func (c *Client) GetSpaces() ([]Space, error)
- func (c *Client) GetTag(tag_name string) (*Tag, error)
- func (c *Client) GetUserDetails(userEmail string) (*User, error)
- func (c *Client) GetWorkflow(workflow_name string) (Workflow, error)
- func (c *Client) OnboardAdoServerRepoToSpace(space_name string, repository_name string, repository_url string, ...) error
- func (c *Client) OnboardCodeCommitRepoToSpace(space_name string, repository_name string, role_arn string, ...) error
- func (c *Client) OnboardGitlabEnterpriseRepoToSpace(space_name string, repository_name string, repository_url string, ...) error
- func (c *Client) OnboardRepoToSpace(space_name string, repo_name string, repo_type string, repo_url string, ...) error
- func (c *Client) PublishBlueprintInSpace(space_name string, repo_name string, blueprint_name string) error
- func (c *Client) RemoveAccount(name string) error
- func (c *Client) RemoveAgentFromSpace(agent string, space string) error
- func (c *Client) RemoveBlueprintFromAssetLibrary(space_name string, repo_name *string, blueprint_name string) error
- func (c *Client) RemoveRepoFromSpace(space_name string, repo_name string) error
- func (c *Client) RemoveTag(name string) error
- func (c *Client) RemoveUserFromSpace(userEmail string, space string) error
- func (c *Client) SetBlueprintPolicies(space_name string, repository_name string, name string, max_duration string, ...) error
- func (c *Client) SetBlueprintTagValue(space_name string, tag_name string, tag_value string, repo_name string, ...) error
- func (c *Client) SetCatalogItemCustomIcon(space_name string, blueprint_name string, repository_name string, key string) error
- func (c *Client) SetCatalogItemIcon(space_name string, blueprint_name string, repository_name string, icon string) error
- func (c *Client) SetSpaceTagValue(space_name string, tag_name string, tag_value string) error
- func (c *Client) TerminateEnvironment(Space string, Id string) error
- func (c *Client) UnpublishBlueprintInSpace(space_name string, repo_name string, blueprint_name string) error
- func (c *Client) UpdateAWSCostTarget(target_name string, new_target_name string, target_type string, ...) error
- func (c *Client) UpdateAccountCredentials(name string, description string, cloud_identifier string, cloudtype string, ...) error
- func (c *Client) UpdateAccountParameter(name string, value string, sensitive bool, description string) error
- func (c *Client) UpdateAccountTag(name string, value string, description string, possible_values []string, ...) error
- func (c *Client) UpdateAgentSpaceAssociation(agent string, ns string, sa string, space string, agent_type string) error
- func (c *Client) UpdateApprovalChannel(name string, description string, details ApprovalChannelDetails) error
- func (c *Client) UpdateBlueprintDisplayName(space_name string, repository_name string, name string, display_name string) error
- func (c *Client) UpdateDeploymentEngine(engine_type string, current_name string, name string, description string, ...) error
- func (c *Client) UpdateEnvironmentCollaborators(Space string, Id string, CollaboratorsEmails []string, AllSpaceMembers bool) error
- func (c *Client) UpdateEnvironmentLabel(current_key string, current_value, key string, value string) error
- func (c *Client) UpdateEnvironmentLabels(environment_id string, space_name string, added_labels []KeyValuePair, ...) error
- func (c *Client) UpdateEnvironmentName(Space string, Id string, Name string) error
- func (c *Client) UpdateGroup(groupName string, description string, idpId string, users []string, ...) error
- func (c *Client) UpdateInputSource(CurrentName string, Name string, Description string, ...) error
- func (c *Client) UpdateLabel(original_name string, space_name string, name string, color string, ...) error
- func (c *Client) UpdateRepoConfiguration(space_name string, repo_name string, credential_name string, agents []string, ...) error
- func (c *Client) UpdateRepoCredentials(space_name string, repo_name string, credential_name string) error
- func (c *Client) UpdateSpace(current_space string, name string, color string, icon string) error
- func (c *Client) UpdateSpaceCredentials(space_name string, name string, description string, cloudtype string, ...) error
- func (c *Client) UpdateSpaceNotification(notification_id string, notification_type string, space_name string, ...) (string, error)
- func (c *Client) UpdateSpaceParameter(space_name string, name string, value string, sensitive bool, ...) error
- func (c *Client) UpdateTag(current_name string, name string, value string, description string, ...) error
- func (c *Client) UploadCustomIcon(space_name string, file_path string) error
- type CodeCommitRepoSpaceAssociation
- type Collaborators
- type ContentFormat
- type CredentialData
- type DeploymentEngine
- type DeploymentEngineRead
- type Environment
- type EnvironmentCollaborator
- type EnvironmentCollaboratorsInfo
- type EnvironmentDefinition
- type EnvironmentDetails
- type EnvironmentInitiator
- type EnvironmentLabelsUpdateRequest
- type EnvironmentMetadata
- type EnvironmentOwner
- type EnvironmentRequest
- type EnvironmentState
- type EnvironmentWorkflow
- type Error
- type Execution
- type GitlabEnterpriseRepoSpaceAssociation
- type Grain
- type GrainSource
- type GrainState
- type GroupRequest
- type Input
- type InputSourceDetails
- type IntrospectionItem
- type KeyValuePair
- type Label
- type LabelRequest
- type NameValuePair
- type OverridableValue
- type ParameterRequest
- type Policies
- type PollingInterval
- type ReminderRequest
- type RepoDetails
- type RepoSpaceAssociation
- type RepoSpaceAssociationWithCredentials
- type RepoUpdate
- type ResourceInventory
- type ResourceInventoryDetails
- type Schedule
- type Space
- type SpaceCredentials
- type SpaceParameterRequest
- type SpaceRole
- type SpaceWorkflow
- type SubscriptionsRequest
- type SubscriptionsTargetRequest
- type SubscriptionsWorkflowEventNotifierRequest
- type Tag
- type TagDetails
- type TorqueInputSource
- type TorqueSpaceCustomIcon
- type User
- type UserSpaceAssociation
- type Workflow
- type WorkflowRequest
Constants ¶
View Source
const HostURL string = "https://portal.qtorque.io/"
HostURL - Default Hashicups URL.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCredentials ¶
type AccountCredentials struct {
Name string `json:"name"`
Description string `json:"description"`
CredentialData CredentialData `json:"credential_data"`
CloudType string `json:"cloud_type"`
CloudIdentifier string `json:"cloud_identifier"`
AllowedSpaceNames []string `json:"allowed_space_names,omitempty"`
AllSpacesAllowed bool `json:"all_spaces_allowed"`
}
type AdoServerRepoSpaceAssociation ¶ added in v0.8.3
type AdoServerRepoSpaceAssociation struct {
Name string `json:"repository_name"`
URL string `json:"repository_url"`
Token *string `json:"token"`
Branch string `json:"branch"`
CredentialName string `json:"credential_name"`
UseAllAgents bool `json:"use_all_agents"`
Agents []string `json:"agents"`
AutoRegisterEac bool `json:"eac_auto_registration"`
}
type AgentDetails ¶ added in v0.7.4
type AgentSpaceAssociation ¶
type AllowedSpaces ¶
type ApprovalChannel ¶ added in v0.7.5
type ApprovalChannel struct {
Name string `json:"name"`
Description string `json:"description"`
Details ApprovalChannelDetails `json:"details"`
}
type ApprovalChannelDetails ¶ added in v0.7.5
type ApprovalChannelDetails struct {
Type string `json:"type"`
Approvers []Approver `json:"approvers"`
Approver *Approver `json:"approver,omitempty"`
Headers *string `json:"headers,omitempty"`
BaseUrl *string `json:"base_url,omitempty"`
UserName *string `json:"user_name,omitempty"`
Password *string `json:"password,omitempty"`
WebhookAddress *string `json:"webhook_address,omitempty"`
}
type Audit ¶ added in v0.7.7
type Audit struct {
Type string `json:"type"`
Properties *AuditProperties `json:"properties,omitempty"`
}
type AuditProperties ¶ added in v0.7.7
type AwsCostTarget ¶
type Blueprint ¶
type Blueprint struct {
BlueprintName string `json:"blueprint_name"`
Name string `json:"name"`
DisplayName string `json:"display_name"`
RepoName string `json:"repository_name"`
RepoBranch string `json:"repository_branch"`
Commit string `json:"commit"`
Description string `json:"description"`
Url string `json:"url"`
ModifiedBy string `json:"modified_by"`
LastModified string `json:"last_modified"`
Published bool `json:"enabled"`
Inputs []Input `json:"inputs"`
Tags []BlueprintTag `json:"tags"`
Policies Policies `json:"policies"`
NumOfActiveEnvironments int32 `json:"num_of_active_environments"`
}
type BlueprintSource ¶
type BlueprintTag ¶
type CatalogItemRequest ¶
type Client ¶
func (*Client) AddAWSCostTarget ¶
func (*Client) AddAccountParameter ¶
func (*Client) AddAgentToSpace ¶
func (*Client) AddBlueprintToAssetLibrary ¶
func (*Client) AddGroupToSpace ¶
func (*Client) AddSpaceParameter ¶
func (*Client) AddUserToSpace ¶
func (*Client) AllowLaunch ¶
func (*Client) ConfigureResourveInventory ¶
func (c *Client) ConfigureResourveInventory(credentials string, details ResourceInventoryDetails) error
func (*Client) CreateAccount ¶
func (*Client) CreateAccountCredentials ¶
func (*Client) CreateApprovalChannel ¶ added in v0.7.5
func (c *Client) CreateApprovalChannel(name string, description string, details ApprovalChannelDetails) error
func (*Client) CreateAuditTarget ¶ added in v0.7.7
func (c *Client) CreateAuditTarget(audit_type string, properties *AuditProperties) error
func (*Client) CreateBlueprintTagValue ¶
func (*Client) CreateDeploymentEngine ¶ added in v0.7.4
func (*Client) CreateEnvironment ¶
func (c *Client) CreateEnvironment(Space string, BlueprintName string, EnvironmentName string, Duration string, Description string, Inputs map[string]string, OwnerEmail string, Automation bool, Tags map[string]string, Collaborators Collaborators, ScheduledEndTime string, BlueprintSource BlueprintSource, Workflows []EnvironmentWorkflow) ([]byte, error)
func (*Client) CreateEnvironmentLabel ¶
func (*Client) CreateInputSource ¶
func (c *Client) CreateInputSource(Name string, Description string, AllowedSpaces AllowedSpaces, Details InputSourceDetails) error
func (*Client) CreateLabel ¶
func (*Client) CreateSpace ¶
func (*Client) CreateSpaceCredentials ¶
func (*Client) CreateSpaceNotification ¶ added in v0.7.6
func (c *Client) CreateSpaceNotification(notification_type string, space_name string, notification_name string, environment_launched bool, environment_deployed bool, environment_force_ended bool, environment_idle bool, environment_extended bool, drift_detected bool, workflow_failed bool, workflow_started bool, updates_detected bool, collaborator_added bool, action_failed bool, environment_ending_failed bool, environment_ended bool, environment_active_with_error bool, workflow_start_reminder int64, end_threshold int64, blueprint_published bool, blueprint_unpublished bool, idle_reminder []int64, webhook *string, token *string) (string, error)
func (*Client) CreateSpaceTagValue ¶
func (*Client) DeleteAccountCredentials ¶
func (*Client) DeleteAccountParameter ¶
func (*Client) DeleteApprovalChannel ¶ added in v0.7.5
func (*Client) DeleteAudit ¶ added in v0.7.7
func (*Client) DeleteBlueprintTagValue ¶
func (*Client) DeleteCostTarget ¶
func (*Client) DeleteCustomIcon ¶
func (*Client) DeleteDeploymentEngine ¶ added in v0.7.4
func (*Client) DeleteEnvironmentLabel ¶
func (*Client) DeleteGroup ¶
func (*Client) DeleteInputSource ¶
func (*Client) DeleteResourceInventory ¶
func (*Client) DeleteSpace ¶
func (*Client) DeleteSpaceCredentials ¶
func (*Client) DeleteSpaceNotification ¶
func (*Client) DeleteSpaceParameter ¶
func (*Client) DeleteSpaceTagValue ¶
func (*Client) EditCatalogItemLabels ¶
func (*Client) ForceTerminateEnvironment ¶
func (*Client) GetAccountParameter ¶
func (c *Client) GetAccountParameter(parameter_name string) (*ParameterRequest, error)
func (*Client) GetApprovalChannel ¶ added in v0.7.5
func (c *Client) GetApprovalChannel(name string) (*ApprovalChannel, error)
func (*Client) GetBlueprint ¶
func (*Client) GetBlueprintFromAssetLibrary ¶
func (*Client) GetBlueprintTag ¶
func (*Client) GetCredentials ¶
func (c *Client) GetCredentials(credential_name string) (AccountCredentials, error)
func (*Client) GetCustomIcon ¶
func (c *Client) GetCustomIcon(space_name string, file_path string) (*TorqueSpaceCustomIcon, error)
func (*Client) GetCustomIcons ¶
func (c *Client) GetCustomIcons(space_name string, file_path string) ([]TorqueSpaceCustomIcon, error)
func (*Client) GetDeploymentEngine ¶ added in v0.7.4
func (c *Client) GetDeploymentEngine(name string) (*DeploymentEngineRead, error)
func (*Client) GetEnvironmentDetails ¶
func (*Client) GetEnvironmentLabel ¶
func (c *Client) GetEnvironmentLabel(key string, value string) (*KeyValuePair, error)
func (*Client) GetEnvironmentLabels ¶
func (c *Client) GetEnvironmentLabels(space_name string, environment_id string) ([]KeyValuePair, error)
func (*Client) GetInputSource ¶
func (c *Client) GetInputSource(Name string) (*TorqueInputSource, error)
func (*Client) GetIntrospectionDetails ¶
func (c *Client) GetIntrospectionDetails(spaceName string, environmentId string) ([]IntrospectionItem, error)
func (*Client) GetRepoDetails ¶ added in v0.8.0
func (c *Client) GetRepoDetails(space_name string, repo_name string) (*RepoDetails, error)
func (*Client) GetResourceInventory ¶
func (c *Client) GetResourceInventory(credentials string, details ResourceInventoryDetails) error
func (*Client) GetSpaceBlueprints ¶
func (*Client) GetSpaceCredentials ¶
func (c *Client) GetSpaceCredentials(space_name string, credential_name string) (SpaceCredentials, error)
func (*Client) GetSpaceParameter ¶
func (c *Client) GetSpaceParameter(space_name string, parameter_name string) (ParameterRequest, error)
func (*Client) GetSpaceTag ¶
func (c *Client) GetSpaceTag(space_name string, tag_name string) (NameValuePair, error)
func (*Client) GetSpaceWorkflows ¶
func (c *Client) GetSpaceWorkflows(space_name string) ([]SpaceWorkflow, error)
func (*Client) OnboardAdoServerRepoToSpace ¶ added in v0.8.3
func (*Client) OnboardCodeCommitRepoToSpace ¶
func (*Client) OnboardGitlabEnterpriseRepoToSpace ¶
func (*Client) OnboardRepoToSpace ¶
func (*Client) PublishBlueprintInSpace ¶
func (*Client) RemoveAccount ¶
func (*Client) RemoveAgentFromSpace ¶
func (*Client) RemoveBlueprintFromAssetLibrary ¶
func (*Client) RemoveRepoFromSpace ¶
func (*Client) RemoveUserFromSpace ¶
func (*Client) SetBlueprintPolicies ¶
func (*Client) SetBlueprintTagValue ¶
func (*Client) SetCatalogItemCustomIcon ¶
func (*Client) SetCatalogItemIcon ¶
func (*Client) SetSpaceTagValue ¶
func (*Client) TerminateEnvironment ¶
func (*Client) UnpublishBlueprintInSpace ¶
func (*Client) UpdateAWSCostTarget ¶
func (*Client) UpdateAccountCredentials ¶
func (*Client) UpdateAccountParameter ¶
func (*Client) UpdateAccountTag ¶
func (*Client) UpdateAgentSpaceAssociation ¶
func (*Client) UpdateApprovalChannel ¶ added in v0.7.5
func (c *Client) UpdateApprovalChannel(name string, description string, details ApprovalChannelDetails) error
func (*Client) UpdateBlueprintDisplayName ¶
func (*Client) UpdateDeploymentEngine ¶ added in v0.7.4
func (*Client) UpdateEnvironmentCollaborators ¶
func (*Client) UpdateEnvironmentLabel ¶
func (*Client) UpdateEnvironmentLabels ¶
func (c *Client) UpdateEnvironmentLabels(environment_id string, space_name string, added_labels []KeyValuePair, removed_labels []KeyValuePair) error
func (*Client) UpdateEnvironmentName ¶
func (*Client) UpdateGroup ¶
func (*Client) UpdateInputSource ¶
func (c *Client) UpdateInputSource(CurrentName string, Name string, Description string, AllowedSpaces AllowedSpaces, Details InputSourceDetails) error
func (*Client) UpdateLabel ¶
func (*Client) UpdateRepoConfiguration ¶ added in v0.7.9
func (*Client) UpdateRepoCredentials ¶
func (*Client) UpdateSpace ¶
func (*Client) UpdateSpaceCredentials ¶
func (*Client) UpdateSpaceNotification ¶ added in v0.7.6
func (c *Client) UpdateSpaceNotification(notification_id string, notification_type string, space_name string, notification_name string, environment_launched bool, environment_deployed bool, environment_force_ended bool, environment_idle bool, environment_extended bool, drift_detected bool, workflow_failed bool, workflow_started bool, updates_detected bool, collaborator_added bool, action_failed bool, environment_ending_failed bool, environment_ended bool, environment_active_with_error bool, workflow_start_reminder int64, end_threshold int64, blueprint_published bool, blueprint_unpublished bool, idle_reminder []int64, webhook *string, token *string) (string, error)
func (*Client) UpdateSpaceParameter ¶
type CodeCommitRepoSpaceAssociation ¶
type CodeCommitRepoSpaceAssociation struct {
URL string `json:"repository_url"`
RoleArn string `json:"role_arn"`
Region string `json:"region"`
Branch string `json:"branch"`
Name string `json:"repository_name"`
ExternalId string `json:"external_id"`
Username string `json:"username"`
Password string `json:"password"`
CredentialName string `json:"credential_name"`
AutoRegisterEac bool `json:"eac_auto_registration"`
}
type Collaborators ¶
type Collaborators struct {
Collaborators []string `json:"collaborators_emails"`
AllSpaceMembers bool `json:"all_space_members"`
}
Resource Collaborators.
type ContentFormat ¶
type ContentFormat struct {
DisplayJsonPath OverridableValue `json:"display_json_path"`
JsonPath OverridableValue `json:"json_path"`
Type string `json:"type"`
}
type CredentialData ¶
type DeploymentEngine ¶ added in v0.7.4
type DeploymentEngine struct {
Name string `json:"name"`
Description string `json:"description"`
Type string `json:"type"`
AuthToken string `json:"auth_token"`
AgentName string `json:"agent_name"`
ServerUrl string `json:"server_url"`
PollingIntervalSeconds int32 `json:"polling_interval_seconds"`
AllowedSpaces AllowedSpaces `json:"allowed_spaces"`
}
type DeploymentEngineRead ¶ added in v0.7.4
type DeploymentEngineRead struct {
Name string `json:"name"`
Description string `json:"description"`
Type string `json:"type"`
AuthToken string `json:"auth_token"`
Agent AgentDetails `json:"agent"`
ServerUrl string `json:"server_url"`
PollingIntervalSeconds PollingInterval `json:"polling_interval_seconds"`
AllowedSpaces AllowedSpaces `json:"allowed_spaces"`
}
type Environment ¶
type Environment struct {
ReadOnly bool `json:"read_only"`
IsWorkflow bool `json:"is_workflow"`
EnvironmentId string `json:"environment_id"`
LastUsed string `json:"last_used"`
IsEAC bool `json:"eac_synced"`
Details EnvironmentDetails `json:"details"`
Owner EnvironmentOwner `json:"owner"`
Initiator EnvironmentInitiator `json:"initiator"`
CollaboratorsInfo EnvironmentCollaboratorsInfo `json:"collaborators_info"`
}
type EnvironmentCollaborator ¶
type EnvironmentCollaborator struct {
Email string `json:"email"`
}
type EnvironmentCollaboratorsInfo ¶
type EnvironmentCollaboratorsInfo struct {
Collaborators []EnvironmentCollaborator `json:"collaborators"`
AllSpaceMembers bool `json:"all_space_members"`
}
Data Source Collaborators.
type EnvironmentDefinition ¶
type EnvironmentDefinition struct {
Metadata EnvironmentMetadata `json:"metadata"`
Inputs []NameValuePair `json:"inputs"`
Tags []NameValuePair `json:"tags"`
Labels []KeyValuePair `json:"labels"`
}
type EnvironmentDetails ¶
type EnvironmentDetails struct {
Id string `json:"id"`
ComputedStatus string `json:"computed_status"`
Definition EnvironmentDefinition `json:"definition"`
State EnvironmentState `json:"state"`
}
type EnvironmentInitiator ¶
type EnvironmentInitiator struct {
InitiatorEmail string `json:"email"`
}
type EnvironmentLabelsUpdateRequest ¶
type EnvironmentLabelsUpdateRequest struct {
EnvironmentId string `json:"environment_id"`
SpaceName string `json:"space_name"`
AddedLabels []KeyValuePair `json:"added_labels"`
RemovedLabels []KeyValuePair `json:"removed_labels"`
}
type EnvironmentMetadata ¶
type EnvironmentOwner ¶
type EnvironmentOwner struct {
OwnerEmail string `json:"email"`
}
type EnvironmentRequest ¶
type EnvironmentRequest struct {
EnvironmentName string `json:"environment_name"`
BlueprintName string `json:"blueprint_name"`
OwnerEmail string `json:"owner_email"`
Description string `json:"description"`
Inputs map[string]string `json:"inputs"`
Tags map[string]string `json:"tags"`
Collaborators Collaborators `json:"collaborators"`
Automation bool `json:"automation"`
ScheduledEndTime string `json:"scheduled_end_time"`
Duration string `json:"duration"`
Id string `json:"id"`
BlueprintSource BlueprintSource `json:"blueprint_source"`
Workflows []EnvironmentWorkflow `json:"workflows"`
}
type EnvironmentState ¶
type EnvironmentWorkflow ¶
type GitlabEnterpriseRepoSpaceAssociation ¶
type GitlabEnterpriseRepoSpaceAssociation struct {
Name string `json:"repository_name"`
URL string `json:"repository_url"`
Token *string `json:"token"`
Branch string `json:"branch"`
CredentialName string `json:"credential_name"`
UseAllAgents bool `json:"use_all_agents"`
Agents []string `json:"agents"`
AutoRegisterEac bool `json:"eac_auto_registration"`
}
type Grain ¶
type Grain struct {
Name string `json:"name"`
Kind string `json:"kind"`
Id string `json:"id"`
Path string `json:"path"`
State GrainState `json:"state"`
Sources []GrainSource `json:"sources"`
}
type GrainSource ¶
type GrainState ¶
type GrainState struct {
CurrentState string `json:"current_state"`
}
type GroupRequest ¶
type InputSourceDetails ¶
type InputSourceDetails struct {
CredentialName string `json:"credential_name"`
BucketName *OverridableValue `json:"bucket_name,omitempty"`
StorageAccountName *OverridableValue `json:"storage_account_name,omitempty"`
ContainerName *OverridableValue `json:"container_name,omitempty"`
BlobName *OverridableValue `json:"blob_name,omitempty"`
PathPrefix *OverridableValue `json:"path_prefix"`
FilterPattern OverridableValue `json:"filter_pattern"`
ObjectKey *OverridableValue `json:"object_key"`
ContentFormat *ContentFormat `json:"content_format"`
Type string `json:"type"`
}
type IntrospectionItem ¶
type IntrospectionItem struct {
GrainPath string `json:"grain_path"`
GrainType string `json:"grain_type"`
ResourceName string `json:"resource_name"`
ResourceType string `json:"resource_type"`
ResourceCategory string `json:"resource_category"`
Status string `json:"status"`
Alias string `json:"alias"`
HasRunningAction bool `json:"has_running_action"`
Attributes []NameValuePair `json:"attributes"`
CustomIcon string `json:"custom_icon"`
}
type KeyValuePair ¶
type LabelRequest ¶
type NameValuePair ¶
type OverridableValue ¶
type ParameterRequest ¶
type Policies ¶
type Policies struct {
MaxDuration string `json:"max_duration"`
DefaultDuration string `json:"default_duration"`
DefaultExtend string `json:"default_extend"`
MaxActiveEnvironments *int32 `json:"max_active_environments"`
AlwaysOn bool `json:"always_on"`
AllowScheduling bool `json:"allow_scheduling"`
}
type PollingInterval ¶ added in v0.7.4
type ReminderRequest ¶
type ReminderRequest struct {
TimeInHours int64 `json:"time_in_hours"`
}
type RepoDetails ¶ added in v0.8.0
type RepoDetails struct {
Name string `json:"name"`
URL string `json:"repository_url"`
Token *string `json:"token"`
Branch string `json:"branch"`
CredentialName string `json:"credential_name"`
UseAllAgents bool `json:"use_all_agents"`
Agents []Agents `json:"agents"`
Status string `json:"status"`
SpaceName string `json:"space_name"`
Errors []Error `json:"errors"`
}
type RepoSpaceAssociation ¶
type RepoSpaceAssociationWithCredentials ¶
type RepoSpaceAssociationWithCredentials struct {
URL string `json:"repository_url"`
Token *string `json:"token"`
Type string `json:"repository_type"`
Branch string `json:"branch"`
Name string `json:"repository_name"`
CredentialName *string `json:"credential_name"`
AutoRegisterEac bool `json:"eac_auto_registration"`
}
type RepoUpdate ¶ added in v0.7.9
type ResourceInventory ¶
type ResourceInventory struct {
Credentials string `json:"credentials"`
Details ResourceInventoryDetails `json:"details"`
}
type SpaceCredentials ¶
type SpaceParameterRequest ¶
type SpaceWorkflow ¶
type SubscriptionsRequest ¶
type SubscriptionsRequest struct {
Name string `json:"name"`
Description string `json:"description"`
EndThreshold int64 `json:"end_threshold"`
WorkflowStartReminder int64 `json:"workflow_start_reminder"`
Target SubscriptionsTargetRequest `json:"target"`
Events []string `json:"event_types"`
WorkflowEventNotifier SubscriptionsWorkflowEventNotifierRequest `json:"workflow_events_notifier"`
IdleReminder []ReminderRequest `json:"idle_reminders"`
}
type SubscriptionsWorkflowEventNotifierRequest ¶
type SubscriptionsWorkflowEventNotifierRequest struct {
NotifyOnAllWorkflows bool `json:"notify_on_all_workflows"`
}
type TagDetails ¶
type TorqueInputSource ¶
type TorqueInputSource struct {
Name string `json:"name"`
Description string `json:"description"`
Details InputSourceDetails `json:"details"`
AllowedSpaces AllowedSpaces `json:"allowed_spaces"`
}
type TorqueSpaceCustomIcon ¶
type User ¶
type User struct {
Email string `json:"email"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Timezone string `json:"timezone"`
DisplayFirstName string `json:"display_first_name"`
DisplayLastName string `json:"display_last_name"`
UserType string `json:"user_type"`
JoinDate string `json:"join_date"`
AccountRole string `json:"account_role"`
HasAccessToAllSpaces bool `json:"has_access_to_all_spaces"`
Permissions []string `json:"permissions"`
}
type UserSpaceAssociation ¶
Source Files
¶
- account.go
- agent.go
- approval_channel.go
- asset-library.go
- audit.go
- blueprint.go
- catalog.go
- client.go
- cost_target.go
- credentials.go
- custom_icon.go
- deployment_engine.go
- environment.go
- environment_label.go
- input_source.go
- introspection.go
- label.go
- models.go
- notification.go
- parameter.go
- repository.go
- resoruce_inventory.go
- space.go
- tag.go
- user.go
- workflow.go
Click to show internal directories.
Click to hide internal directories.