Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateGlobalVariableRequest ¶ added in v2.5.0
type EnvironmentSyncStatus ¶ added in v2.5.0
type GlobalVariable ¶ added in v2.5.0
type GlobalVariable struct {
ID string `json:"id"`
Key string `json:"key"`
Value string `json:"value"`
IsSecret bool `json:"isSecret"`
AllEnvironments bool `json:"allEnvironments"`
EnvironmentIDs []string `json:"environmentIds"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
GlobalVariable is the manager-level variable resource. Value is empty on reads when IsSecret is true.
type GlobalVariableMutationResponse ¶ added in v2.5.0
type GlobalVariableMutationResponse struct {
Variable *GlobalVariable `json:"variable,omitempty"`
SyncResults []EnvironmentSyncStatus `json:"syncResults,omitempty"`
}
type UpdateGlobalVariableRequest ¶ added in v2.5.0
type UpdateGlobalVariableRequest struct {
Key *string `json:"key,omitempty"`
Value *string `json:"value,omitempty"`
IsSecret *bool `json:"isSecret,omitempty"`
AllEnvironments *bool `json:"allEnvironments,omitempty"`
EnvironmentIDs *[]string `json:"environmentIds,omitempty"`
}
UpdateGlobalVariableRequest updates a variable; nil fields keep the current value. A nil Value on a secret variable keeps the stored ciphertext.
Click to show internal directories.
Click to hide internal directories.