Documentation
¶
Index ¶
- Constants
- type APIKey
- type AWSCloudWatchLogs
- func (m *AWSCloudWatchLogs) Engine() string
- func (m *AWSCloudWatchLogs) MarshalBinary() ([]byte, error)
- func (m AWSCloudWatchLogs) MarshalJSON() ([]byte, error)
- func (m *AWSCloudWatchLogs) SetEngine(val string)
- func (m *AWSCloudWatchLogs) UnmarshalBinary(b []byte) error
- func (m *AWSCloudWatchLogs) UnmarshalJSON(raw []byte) error
- func (m *AWSCloudWatchLogs) Validate(formats strfmt.Registry) error
- type AWSInfrastructureResourceBucket
- type AWSInfrastructureResourceDBInstance
- type AWSInfrastructureResourceElasticacheCluster
- type AWSInfrastructureResourceImage
- type AWSInfrastructureResourceInstance
- type AWSInfrastructureResourceLoadBalancerV1
- type AWSInfrastructureResourceLoadBalancerV2
- type AWSInfrastructureResourceSecurityGroup
- type AWSInfrastructureResourceSnapshot
- type AWSInfrastructureResourceSubnet
- type AWSInfrastructureResourceVPC
- type AWSInfrastructureResourceVolume
- type AWSInfrastructureResourcesAggregation
- type AWSRemoteTFState
- func (m *AWSRemoteTFState) Engine() string
- func (m *AWSRemoteTFState) MarshalBinary() ([]byte, error)
- func (m AWSRemoteTFState) MarshalJSON() ([]byte, error)
- func (m *AWSRemoteTFState) SetEngine(val string)
- func (m *AWSRemoteTFState) UnmarshalBinary(b []byte) error
- func (m *AWSRemoteTFState) UnmarshalJSON(raw []byte) error
- func (m *AWSRemoteTFState) Validate(formats strfmt.Registry) error
- type AppConfig
- type AppVersion
- type AuthConfig
- type AuthConfigLocalAuth
- type AuthConfigOAuth
- type AuthConfigSAML
- type AzureRemoteTFState
- func (m *AzureRemoteTFState) Engine() string
- func (m *AzureRemoteTFState) MarshalBinary() ([]byte, error)
- func (m AzureRemoteTFState) MarshalJSON() ([]byte, error)
- func (m *AzureRemoteTFState) SetEngine(val string)
- func (m *AzureRemoteTFState) UnmarshalBinary(b []byte) error
- func (m *AzureRemoteTFState) UnmarshalJSON(raw []byte) error
- func (m *AzureRemoteTFState) Validate(formats strfmt.Registry) error
- type Build
- type BuildInputsOutputs
- type CIVersion
- type CanDoInput
- type CanDoOutput
- type CheckReport
- type ClearTaskCache
- type CloudProvider
- type ConfigFile
- type ConfigRepository
- type CostEstimationComponent
- type CostEstimationComponentState
- type CostEstimationResourceEstimate
- type CostEstimationResult
- type CostGroup
- type CostGroupDefinitions
- type CostResultByTime
- type CostTimePeriode
- type Costs
- type Country
- type Credential
- type CredentialRaw
- type CredentialSimple
- type ElasticsearchLogs
- func (m *ElasticsearchLogs) Engine() string
- func (m *ElasticsearchLogs) MarshalBinary() ([]byte, error)
- func (m ElasticsearchLogs) MarshalJSON() ([]byte, error)
- func (m *ElasticsearchLogs) SetEngine(val string)
- func (m *ElasticsearchLogs) UnmarshalBinary(b []byte) error
- func (m *ElasticsearchLogs) UnmarshalJSON(raw []byte) error
- func (m *ElasticsearchLogs) Validate(formats strfmt.Registry) error
- type ElasticsearchLogsSourcesAnon
- type ElasticsearchLogsSourcesAnonMapping
- type EnsurePlan
- type Environment
- type ErrorDetailsItem
- type ErrorPayload
- type Event
- type ExternalBackend
- func (m *ExternalBackend) Configuration() ExternalBackendConfiguration
- func (m *ExternalBackend) MarshalBinary() ([]byte, error)
- func (m ExternalBackend) MarshalJSON() ([]byte, error)
- func (m *ExternalBackend) SetConfiguration(val ExternalBackendConfiguration)
- func (m *ExternalBackend) UnmarshalBinary(b []byte) error
- func (m *ExternalBackend) UnmarshalJSON(raw []byte) error
- func (m *ExternalBackend) Validate(formats strfmt.Registry) error
- type ExternalBackendConfiguration
- type FormEntity
- type FormInput
- type FormInputs
- type FormsFile
- type FormsValidation
- type FormsValidationResult
- type GCPRemoteTFState
- func (m *GCPRemoteTFState) Engine() string
- func (m *GCPRemoteTFState) MarshalBinary() ([]byte, error)
- func (m GCPRemoteTFState) MarshalJSON() ([]byte, error)
- func (m *GCPRemoteTFState) SetEngine(val string)
- func (m *GCPRemoteTFState) UnmarshalBinary(b []byte) error
- func (m *GCPRemoteTFState) UnmarshalJSON(raw []byte) error
- func (m *GCPRemoteTFState) Validate(formats strfmt.Registry) error
- type GeneralStatus
- type GetPlan
- type GroupConfig
- type InfraPoliciesValidationResult
- type InfraPoliciesValidationResultItem
- type InfraPolicy
- type Infrastructure
- type InfrastructureConfig
- type InfrastructureGraph
- type InfrastructureGraphEdge
- type InfrastructureGraphNode
- type InfrastructureResourcesAggregationItem
- type Invitation
- type Job
- type JobInput
- type JobOutput
- type KPI
- type LogSource
- type LogSourceEntry
- type MemberAssignation
- type MemberOrg
- type MemberTeam
- type MetadataField
- type NewAPIKey
- type NewConfigRepository
- type NewCredential
- type NewEnvironment
- type NewEvent
- type NewExternalBackend
- func (m *NewExternalBackend) Configuration() ExternalBackendConfiguration
- func (m *NewExternalBackend) MarshalBinary() ([]byte, error)
- func (m NewExternalBackend) MarshalJSON() ([]byte, error)
- func (m *NewExternalBackend) SetConfiguration(val ExternalBackendConfiguration)
- func (m *NewExternalBackend) UnmarshalBinary(b []byte) error
- func (m *NewExternalBackend) UnmarshalJSON(raw []byte) error
- func (m *NewExternalBackend) Validate(formats strfmt.Registry) error
- type NewInfraPolicy
- type NewKPI
- type NewMemberInvitation
- type NewOAuthUser
- type NewOrganization
- type NewPipeline
- type NewProject
- type NewRole
- type NewRule
- type NewServiceCatalog
- type NewServiceCatalogSource
- type NewSubscription
- type NewTeam
- type NewTeamMemberAssignation
- type NewUserAccount
- type OnFailurePlan
- type OnSuccessPlan
- type Organization
- type PageConcourse
- type Pagination
- type PaginationAWS
- type PaginationConcourse
- type PendingInvite
- type PinComment
- type Pipeline
- type PipelineDiff
- type PipelineDiffRecord
- type PipelineDiffs
- type PipelineVariables
- type Plan
- type PlanConfig
- type Policy
- type Preparation
- type Project
- type ProjectEnvironmentConfig
- type ProjectsItem
- type PublicBuildInput
- type PublicBuildOutput
- type PublicPlan
- type PutPlan
- type Resource
- type ResourceCheck
- type ResourceVersion
- type Role
- type Rule
- type SCConfig
- type ServiceCatalog
- type ServiceCatalogChanges
- type ServiceCatalogDependenciesValidationResult
- type ServiceCatalogDependency
- type ServiceCatalogSource
- type ServiceCatalogTechnology
- type Subscription
- type SubscriptionPlan
- type Summary
- type SwiftRemoteTFState
- func (m *SwiftRemoteTFState) Engine() string
- func (m *SwiftRemoteTFState) MarshalBinary() ([]byte, error)
- func (m SwiftRemoteTFState) MarshalJSON() ([]byte, error)
- func (m *SwiftRemoteTFState) SetEngine(val string)
- func (m *SwiftRemoteTFState) UnmarshalBinary(b []byte) error
- func (m *SwiftRemoteTFState) UnmarshalJSON(raw []byte) error
- func (m *SwiftRemoteTFState) Validate(formats strfmt.Registry) error
- type Tag
- type TaskConfig
- type TaskInputConfig
- type TaskPlan
- type TaskRunConfig
- type Team
- type TerraformHCLConfig
- type TerraformImage
- type TerraformJSONConfig
- type TerraformJSONDiagram
- type TerraformPlanInput
- type TerraformProvider
- type TerraformProviderResource
- type TerraformProviderResourceSimple
- type TerraformProviderSimple
- type TerraformValidationResult
- type TimeoutPlan
- type TryPlan
- type UpdateConfigRepository
- type UpdateCredential
- type UpdateInfraPolicy
- type UpdateOrganization
- type UpdatePipeline
- type UpdateProject
- type UpdateServiceCatalogSource
- type UpdateTeam
- type UpdateUserAccount
- type UpdateUserAccountEmail
- type UpdateUserAccountPasswordUpdate
- type User
- type UserAccount
- type UserAccountEmail
- type UserEmail
- type UserGuide
- type UserLogin
- type UserOAuth
- type UserPasswordResetReq
- type UserPasswordResetUpdate
- type UserSession
- type VersionConfig
- type VersionedResourceType
- type Worker
Constants ¶
const ( // CheckReportStatusUnknown captures enum value "Unknown" CheckReportStatusUnknown string = "Unknown" // CheckReportStatusSuccess captures enum value "Success" CheckReportStatusSuccess string = "Success" // CheckReportStatusError captures enum value "Error" CheckReportStatusError string = "Error" )
const ( // CloudProviderCanonicalAws captures enum value "aws" CloudProviderCanonicalAws string = "aws" // CloudProviderCanonicalGoogle captures enum value "google" CloudProviderCanonicalGoogle string = "google" // CloudProviderCanonicalAzurerm captures enum value "azurerm" CloudProviderCanonicalAzurerm string = "azurerm" // CloudProviderCanonicalFlexibleengine captures enum value "flexibleengine" CloudProviderCanonicalFlexibleengine string = "flexibleengine" // CloudProviderCanonicalOpenstack captures enum value "openstack" CloudProviderCanonicalOpenstack string = "openstack" )
const ( // CredentialTypeSSH captures enum value "ssh" CredentialTypeSSH string = "ssh" // CredentialTypeAws captures enum value "aws" CredentialTypeAws string = "aws" // CredentialTypeCustom captures enum value "custom" CredentialTypeCustom string = "custom" // CredentialTypeAzure captures enum value "azure" CredentialTypeAzure string = "azure" // CredentialTypeAzureStorage captures enum value "azure_storage" CredentialTypeAzureStorage string = "azure_storage" // CredentialTypeGcp captures enum value "gcp" CredentialTypeGcp string = "gcp" // CredentialTypeBasicAuth captures enum value "basic_auth" CredentialTypeBasicAuth string = "basic_auth" // CredentialTypeElasticsearch captures enum value "elasticsearch" CredentialTypeElasticsearch string = "elasticsearch" // CredentialTypeSwift captures enum value "swift" CredentialTypeSwift string = "swift" )
const ( // CredentialSimpleTypeSSH captures enum value "ssh" CredentialSimpleTypeSSH string = "ssh" // CredentialSimpleTypeAws captures enum value "aws" CredentialSimpleTypeAws string = "aws" // CredentialSimpleTypeCustom captures enum value "custom" CredentialSimpleTypeCustom string = "custom" // CredentialSimpleTypeAzure captures enum value "azure" CredentialSimpleTypeAzure string = "azure" // CredentialSimpleTypeAzureStorage captures enum value "azure_storage" CredentialSimpleTypeAzureStorage string = "azure_storage" // CredentialSimpleTypeGcp captures enum value "gcp" CredentialSimpleTypeGcp string = "gcp" // CredentialSimpleTypeBasicAuth captures enum value "basic_auth" CredentialSimpleTypeBasicAuth string = "basic_auth" // CredentialSimpleTypeElasticsearch captures enum value "elasticsearch" CredentialSimpleTypeElasticsearch string = "elasticsearch" // CredentialSimpleTypeSwift captures enum value "swift" CredentialSimpleTypeSwift string = "swift" )
const ( // EventSeverityInfo captures enum value "info" EventSeverityInfo string = "info" // EventSeverityWarn captures enum value "warn" EventSeverityWarn string = "warn" // EventSeverityErr captures enum value "err" EventSeverityErr string = "err" // EventSeverityCrit captures enum value "crit" EventSeverityCrit string = "crit" )
const ( // EventTypeCycloid captures enum value "Cycloid" EventTypeCycloid string = "Cycloid" // EventTypeAWS captures enum value "AWS" EventTypeAWS string = "AWS" // EventTypeMonitoring captures enum value "Monitoring" EventTypeMonitoring string = "Monitoring" // EventTypeCustom captures enum value "Custom" EventTypeCustom string = "Custom" )
const ( // FormEntityTypeInteger captures enum value "integer" FormEntityTypeInteger string = "integer" // FormEntityTypeString captures enum value "string" FormEntityTypeString string = "string" // FormEntityTypeArray captures enum value "array" FormEntityTypeArray string = "array" // FormEntityTypeBoolean captures enum value "boolean" FormEntityTypeBoolean string = "boolean" // FormEntityTypeMap captures enum value "map" FormEntityTypeMap string = "map" )
const ( // FormEntityWidgetAutoComplete captures enum value "auto_complete" FormEntityWidgetAutoComplete string = "auto_complete" // FormEntityWidgetDropdown captures enum value "dropdown" FormEntityWidgetDropdown string = "dropdown" // FormEntityWidgetRadios captures enum value "radios" FormEntityWidgetRadios string = "radios" // FormEntityWidgetSliderList captures enum value "slider_list" FormEntityWidgetSliderList string = "slider_list" // FormEntityWidgetSliderRange captures enum value "slider_range" FormEntityWidgetSliderRange string = "slider_range" // FormEntityWidgetNumber captures enum value "number" FormEntityWidgetNumber string = "number" // FormEntityWidgetSimpleText captures enum value "simple_text" FormEntityWidgetSimpleText string = "simple_text" // FormEntityWidgetSwitch captures enum value "switch" FormEntityWidgetSwitch string = "switch" // FormEntityWidgetTextArea captures enum value "text_area" FormEntityWidgetTextArea string = "text_area" // FormEntityWidgetCyCred captures enum value "cy_cred" FormEntityWidgetCyCred string = "cy_cred" // FormEntityWidgetCyScs captures enum value "cy_scs" FormEntityWidgetCyScs string = "cy_scs" // FormEntityWidgetCyCrs captures enum value "cy_crs" FormEntityWidgetCyCrs string = "cy_crs" // FormEntityWidgetCyBranch captures enum value "cy_branch" FormEntityWidgetCyBranch string = "cy_branch" )
const ( // GeneralStatusStatusUnknown captures enum value "Unknown" GeneralStatusStatusUnknown string = "Unknown" // GeneralStatusStatusSuccess captures enum value "Success" GeneralStatusStatusSuccess string = "Success" // GeneralStatusStatusError captures enum value "Error" GeneralStatusStatusError string = "Error" )
const ( // InfraPolicySeverityCritical captures enum value "critical" InfraPolicySeverityCritical string = "critical" // InfraPolicySeverityWarning captures enum value "warning" InfraPolicySeverityWarning string = "warning" // InfraPolicySeverityAdvisory captures enum value "advisory" InfraPolicySeverityAdvisory string = "advisory" )
const ( // InvitationStatePending captures enum value "pending" InvitationStatePending string = "pending" // InvitationStateAccepted captures enum value "accepted" InvitationStateAccepted string = "accepted" // InvitationStateDeclined captures enum value "declined" InvitationStateDeclined string = "declined" )
const ( // KPITypeBuildavgtime captures enum value "buildavgtime" KPITypeBuildavgtime string = "buildavgtime" // KPITypeBuildfrequency captures enum value "buildfrequency" KPITypeBuildfrequency string = "buildfrequency" // KPITypeBuildhistory captures enum value "buildhistory" KPITypeBuildhistory string = "buildhistory" // KPITypeCodecoverage captures enum value "codecoverage" KPITypeCodecoverage string = "codecoverage" // KPITypeTimetorelease captures enum value "timetorelease" KPITypeTimetorelease string = "timetorelease" )
const ( // KPIWidgetBars captures enum value "bars" KPIWidgetBars string = "bars" // KPIWidgetStackbars captures enum value "stackbars" KPIWidgetStackbars string = "stackbars" // KPIWidgetDoughnut captures enum value "doughnut" KPIWidgetDoughnut string = "doughnut" // KPIWidgetHistory captures enum value "history" KPIWidgetHistory string = "history" // KPIWidgetLine captures enum value "line" KPIWidgetLine string = "line" // KPIWidgetPie captures enum value "pie" KPIWidgetPie string = "pie" // KPIWidgetSummary captures enum value "summary" KPIWidgetSummary string = "summary" )
const ( // MemberOrgLocaleEn captures enum value "en" MemberOrgLocaleEn string = "en" // MemberOrgLocaleFr captures enum value "fr" MemberOrgLocaleFr string = "fr" // MemberOrgLocaleEs captures enum value "es" MemberOrgLocaleEs string = "es" )
const ( // NewCredentialTypeSSH captures enum value "ssh" NewCredentialTypeSSH string = "ssh" // NewCredentialTypeAws captures enum value "aws" NewCredentialTypeAws string = "aws" // NewCredentialTypeCustom captures enum value "custom" NewCredentialTypeCustom string = "custom" // NewCredentialTypeAzure captures enum value "azure" NewCredentialTypeAzure string = "azure" // NewCredentialTypeAzureStorage captures enum value "azure_storage" NewCredentialTypeAzureStorage string = "azure_storage" // NewCredentialTypeGcp captures enum value "gcp" NewCredentialTypeGcp string = "gcp" // NewCredentialTypeBasicAuth captures enum value "basic_auth" NewCredentialTypeBasicAuth string = "basic_auth" // NewCredentialTypeElasticsearch captures enum value "elasticsearch" NewCredentialTypeElasticsearch string = "elasticsearch" // NewCredentialTypeSwift captures enum value "swift" NewCredentialTypeSwift string = "swift" )
const ( // NewEventSeverityInfo captures enum value "info" NewEventSeverityInfo string = "info" // NewEventSeverityWarn captures enum value "warn" NewEventSeverityWarn string = "warn" // NewEventSeverityErr captures enum value "err" NewEventSeverityErr string = "err" // NewEventSeverityCrit captures enum value "crit" NewEventSeverityCrit string = "crit" )
const ( // NewEventTypeCycloid captures enum value "Cycloid" NewEventTypeCycloid string = "Cycloid" // NewEventTypeAWS captures enum value "AWS" NewEventTypeAWS string = "AWS" // NewEventTypeMonitoring captures enum value "Monitoring" NewEventTypeMonitoring string = "Monitoring" // NewEventTypeCustom captures enum value "Custom" NewEventTypeCustom string = "Custom" )
const ( // NewExternalBackendPurposeEvents captures enum value "events" NewExternalBackendPurposeEvents string = "events" // NewExternalBackendPurposeLogs captures enum value "logs" NewExternalBackendPurposeLogs string = "logs" // NewExternalBackendPurposeRemoteTfstate captures enum value "remote_tfstate" NewExternalBackendPurposeRemoteTfstate string = "remote_tfstate" )
const ( // NewInfraPolicySeverityCritical captures enum value "critical" NewInfraPolicySeverityCritical string = "critical" // NewInfraPolicySeverityWarning captures enum value "warning" NewInfraPolicySeverityWarning string = "warning" // NewInfraPolicySeverityAdvisory captures enum value "advisory" NewInfraPolicySeverityAdvisory string = "advisory" )
const ( // NewKPITypeBuildAvgTime captures enum value "build_avg_time" NewKPITypeBuildAvgTime string = "build_avg_time" // NewKPITypeBuildFrequency captures enum value "build_frequency" NewKPITypeBuildFrequency string = "build_frequency" // NewKPITypeBuildHistory captures enum value "build_history" NewKPITypeBuildHistory string = "build_history" // NewKPITypeCodeCoverage captures enum value "code_coverage" NewKPITypeCodeCoverage string = "code_coverage" // NewKPITypeTimeToRelease captures enum value "time_to_release" NewKPITypeTimeToRelease string = "time_to_release" )
const ( // NewKPIWidgetBars captures enum value "bars" NewKPIWidgetBars string = "bars" // NewKPIWidgetStackbars captures enum value "stackbars" NewKPIWidgetStackbars string = "stackbars" // NewKPIWidgetDoughnut captures enum value "doughnut" NewKPIWidgetDoughnut string = "doughnut" // NewKPIWidgetHistory captures enum value "history" NewKPIWidgetHistory string = "history" // NewKPIWidgetLine captures enum value "line" NewKPIWidgetLine string = "line" // NewKPIWidgetPie captures enum value "pie" NewKPIWidgetPie string = "pie" // NewKPIWidgetSummary captures enum value "summary" NewKPIWidgetSummary string = "summary" )
const ( // NewOAuthUserLocaleEn captures enum value "en" NewOAuthUserLocaleEn string = "en" // NewOAuthUserLocaleFr captures enum value "fr" NewOAuthUserLocaleFr string = "fr" // NewOAuthUserLocaleEs captures enum value "es" NewOAuthUserLocaleEs string = "es" )
const ( // NewUserAccountLocaleEn captures enum value "en" NewUserAccountLocaleEn string = "en" // NewUserAccountLocaleFr captures enum value "fr" NewUserAccountLocaleFr string = "fr" // NewUserAccountLocaleEs captures enum value "es" NewUserAccountLocaleEs string = "es" )
const ( // PipelineDiffStatusAdded captures enum value "added" PipelineDiffStatusAdded string = "added" // PipelineDiffStatusRemoved captures enum value "removed" PipelineDiffStatusRemoved string = "removed" // PipelineDiffStatusChanged captures enum value "changed" PipelineDiffStatusChanged string = "changed" )
const ( // UpdateCredentialTypeSSH captures enum value "ssh" UpdateCredentialTypeSSH string = "ssh" // UpdateCredentialTypeAws captures enum value "aws" UpdateCredentialTypeAws string = "aws" // UpdateCredentialTypeCustom captures enum value "custom" UpdateCredentialTypeCustom string = "custom" // UpdateCredentialTypeAzure captures enum value "azure" UpdateCredentialTypeAzure string = "azure" // UpdateCredentialTypeAzureStorage captures enum value "azure_storage" UpdateCredentialTypeAzureStorage string = "azure_storage" // UpdateCredentialTypeGcp captures enum value "gcp" UpdateCredentialTypeGcp string = "gcp" // UpdateCredentialTypeBasicAuth captures enum value "basic_auth" UpdateCredentialTypeBasicAuth string = "basic_auth" // UpdateCredentialTypeElasticsearch captures enum value "elasticsearch" UpdateCredentialTypeElasticsearch string = "elasticsearch" )
const ( // UpdateInfraPolicySeverityCritical captures enum value "critical" UpdateInfraPolicySeverityCritical string = "critical" // UpdateInfraPolicySeverityWarning captures enum value "warning" UpdateInfraPolicySeverityWarning string = "warning" // UpdateInfraPolicySeverityAdvisory captures enum value "advisory" UpdateInfraPolicySeverityAdvisory string = "advisory" )
const ( // UpdateProjectCloudProviderAws captures enum value "aws" UpdateProjectCloudProviderAws string = "aws" // UpdateProjectCloudProviderGoogle captures enum value "google" UpdateProjectCloudProviderGoogle string = "google" // UpdateProjectCloudProviderAzurerm captures enum value "azurerm" UpdateProjectCloudProviderAzurerm string = "azurerm" // UpdateProjectCloudProviderFlexibleengine captures enum value "flexibleengine" UpdateProjectCloudProviderFlexibleengine string = "flexibleengine" // UpdateProjectCloudProviderOpenstack captures enum value "openstack" UpdateProjectCloudProviderOpenstack string = "openstack" )
const ( // UpdateUserAccountLocaleEn captures enum value "en" UpdateUserAccountLocaleEn string = "en" // UpdateUserAccountLocaleFr captures enum value "fr" UpdateUserAccountLocaleFr string = "fr" // UpdateUserAccountLocaleEs captures enum value "es" UpdateUserAccountLocaleEs string = "es" )
const ( // UserAccountLocaleEn captures enum value "en" UserAccountLocaleEn string = "en" // UserAccountLocaleFr captures enum value "fr" UserAccountLocaleFr string = "fr" // UserAccountLocaleEs captures enum value "es" UserAccountLocaleEs string = "es" )
const ( // NewRuleEffectAllow captures enum value "allow" NewRuleEffectAllow string = "allow" )
const ( // RuleEffectAllow captures enum value "allow" RuleEffectAllow string = "allow" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKey ¶
type APIKey struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // description Description string `json:"description,omitempty"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // The last seven characters of API key. Allows user to differentiante between keys. // Required: true LastSeven *string `json:"last_seven"` // This field contains the date of the last usage of the API key LastUsed uint64 `json:"last_used,omitempty"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // Organization member that owns this API key. When a user is the owner of an // API key he has all the permissions on it. // In the event where the user has been deleted that field might be empty. // Owner *User `json:"owner,omitempty"` // rules // Required: true Rules []*Rule `json:"rules"` // The actual API key in the format of JWT token, returned only upon creation. Token string `json:"token,omitempty"` }
APIKey API key
The entity which represents the information of an API key. The "token" field is only filled once, upon creation swagger:model APIKey
func (*APIKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AWSCloudWatchLogs ¶
type AWSCloudWatchLogs struct { // The AWS region where the resource exists // // Required: true Region *string `json:"region"` }
AWSCloudWatchLogs Representation of AWS cloud watch logs for external backend.
swagger:model AWSCloudWatchLogs
func (*AWSCloudWatchLogs) Engine ¶
func (m *AWSCloudWatchLogs) Engine() string
Engine gets the engine of this subtype
func (*AWSCloudWatchLogs) MarshalBinary ¶
func (m *AWSCloudWatchLogs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (AWSCloudWatchLogs) MarshalJSON ¶
func (m AWSCloudWatchLogs) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*AWSCloudWatchLogs) SetEngine ¶
func (m *AWSCloudWatchLogs) SetEngine(val string)
SetEngine sets the engine of this subtype
func (*AWSCloudWatchLogs) UnmarshalBinary ¶
func (m *AWSCloudWatchLogs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AWSCloudWatchLogs) UnmarshalJSON ¶
func (m *AWSCloudWatchLogs) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type AWSInfrastructureResourceBucket ¶
type AWSInfrastructureResourceBucket interface{}
AWSInfrastructureResourceBucket AWS Infrastructure S3 bucket Resource
This object contains the items described in the S3 bucket data type described in but it also contains its associated tags which are documented in the properties of this object definition. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceBucket
type AWSInfrastructureResourceDBInstance ¶
type AWSInfrastructureResourceDBInstance interface{}
AWSInfrastructureResourceDBInstance AWS Infrastructure RDS DB instance Resource
This object contains the items described in the RDS DB instance data type described in https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DBInstance.html but it also contains its associated tags which are documented in the properties of this object definition. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceDBInstance
type AWSInfrastructureResourceElasticacheCluster ¶
type AWSInfrastructureResourceElasticacheCluster interface{}
AWSInfrastructureResourceElasticacheCluster AWS Infrastructure Elasticache cluster Resource
This object contains the items described in the elasticache cluseter data type described in https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CacheCluster.html but it also contains its associated tags which are documented in the properties of this object definition. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceElasticacheCluster
type AWSInfrastructureResourceImage ¶
type AWSInfrastructureResourceImage interface{}
AWSInfrastructureResourceImage AWS Infrastructure image Resource
This object contains the items described in the image data type described in https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Image.html Tags property is set, for guaranteeing that the respond will always have the property of the type array, not allowing null in case that the resource doesn't have any, hence an empty array is used in such case. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceImage
type AWSInfrastructureResourceInstance ¶
type AWSInfrastructureResourceInstance interface{}
AWSInfrastructureResourceInstance AWS Infrastructure Instance Resource
This object contains the items described in the instance data type described in https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Instance.html Tags property is set, for guaranteeing that the respond will always have the property of the type array, not allowing null in case that the resource doesn't have any, hence an empty array is used in such case. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceInstance
type AWSInfrastructureResourceLoadBalancerV1 ¶
type AWSInfrastructureResourceLoadBalancerV1 interface{}
AWSInfrastructureResourceLoadBalancerV1 AWS Infrastructure load balancer (ELB) Resource
This object contains the items described in the load balancer (ELB) data type described in https://docs.aws.amazon.com/elasticloadbalancing/2012-06-01/APIReference/API_LoadBalancerDescription.html but it also contains its associated tags which are documented in the properties of this object definition. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceLoadBalancerV1
type AWSInfrastructureResourceLoadBalancerV2 ¶
type AWSInfrastructureResourceLoadBalancerV2 interface{}
AWSInfrastructureResourceLoadBalancerV2 AWS Infrastructure load balancer (ELB v2 or a.k.a ALB) Resource
This object contains the items described in the load balancer (ELB v2 or a.k.a ALB) data type described in https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_LoadBalancer.html but it also contains its associated tags which are documented in the properties of this object definition. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceLoadBalancerV2
type AWSInfrastructureResourceSecurityGroup ¶
type AWSInfrastructureResourceSecurityGroup interface{}
AWSInfrastructureResourceSecurityGroup AWS Infrastructure security group Resource
This object contains the items described in the security group data type described in https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html Tags property is set, for guaranteeing that the respond will always have the property of the type array, not allowing null in case that the resource doesn't have any, hence an empty array is used in such case. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceSecurityGroup
type AWSInfrastructureResourceSnapshot ¶
type AWSInfrastructureResourceSnapshot interface{}
AWSInfrastructureResourceSnapshot AWS Infrastructure snapshot Resource
This object contains the items described in the snapshot data type described in https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Snapshot.html Tags property is set, for guaranteeing that the respond will always have the property of the type array, not allowing null in case that the resource doesn't have any, hence an empty array is used in such case. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceSnapshot
type AWSInfrastructureResourceSubnet ¶
type AWSInfrastructureResourceSubnet interface{}
AWSInfrastructureResourceSubnet AWS Infrastructure subnet Resource
This object contains the items described in the subnet data type described in https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html Tags property is set, for guaranteeing that the respond will always have the property of the type array, not allowing null in case that the resource doesn't have any, hence an empty array is used in such case. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceSubnet
type AWSInfrastructureResourceVPC ¶
type AWSInfrastructureResourceVPC interface{}
AWSInfrastructureResourceVPC AWS Infrastructure VPC Resource
This object contains the items described in the VPC data type described in https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Vpc.html Tags property is set, for guaranteeing that the respond will always have the property of the type array, not allowing null in case that the resource doesn't have any, hence an empty array is used in such case. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceVPC
type AWSInfrastructureResourceVolume ¶
type AWSInfrastructureResourceVolume interface{}
AWSInfrastructureResourceVolume AWS Infrastructure volume Resource
This object contains the items described in the volume data type described in https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Volume.html Tags property is set, for guaranteeing that the respond will always have the property of the type array, not allowing null in case that the resource doesn't have any, hence an empty array is used in such case. This object will contain a property named 'Tags' which is of the type defined by the schema definition '#/definitions/AWSTags' swagger:model AWSInfrastructureResourceVolume
type AWSInfrastructureResourcesAggregation ¶
type AWSInfrastructureResourcesAggregation struct { // buckets Buckets *InfrastructureResourcesAggregationItem `json:"buckets,omitempty"` // cache clusters CacheClusters *InfrastructureResourcesAggregationItem `json:"cache_clusters,omitempty"` // db instances DbInstances *InfrastructureResourcesAggregationItem `json:"db_instances,omitempty"` // images Images *InfrastructureResourcesAggregationItem `json:"images,omitempty"` // instances Instances *InfrastructureResourcesAggregationItem `json:"instances,omitempty"` // load balancers v1 LoadBalancersV1 *InfrastructureResourcesAggregationItem `json:"load_balancers_v1,omitempty"` // load balancers v2 LoadBalancersV2 *InfrastructureResourcesAggregationItem `json:"load_balancers_v2,omitempty"` // security groups SecurityGroups *InfrastructureResourcesAggregationItem `json:"security_groups,omitempty"` // snapshots Snapshots *InfrastructureResourcesAggregationItem `json:"snapshots,omitempty"` // subnets Subnets *InfrastructureResourcesAggregationItem `json:"subnets,omitempty"` // volumes Volumes *InfrastructureResourcesAggregationItem `json:"volumes,omitempty"` // vpcs Vpcs *InfrastructureResourcesAggregationItem `json:"vpcs,omitempty"` }
AWSInfrastructureResourcesAggregation AWS Infrastructure Resources Aggregation swagger:model AWSInfrastructureResourcesAggregation
func (*AWSInfrastructureResourcesAggregation) MarshalBinary ¶
func (m *AWSInfrastructureResourcesAggregation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSInfrastructureResourcesAggregation) UnmarshalBinary ¶
func (m *AWSInfrastructureResourcesAggregation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSRemoteTFState ¶
type AWSRemoteTFState struct { // The AWS bucket containing objects // // Required: true Bucket *string `json:"bucket"` // A custom endpoint for the S3 API (default: s3.amazonaws.com) // Endpoint string `json:"endpoint,omitempty"` // The S3 Key uniquely identifies an object in a bucket // // Required: true Key *string `json:"key"` // The AWS region were the resource exists // // Required: true Region *string `json:"region"` // Always use path-style S3 URLs (https://<HOST>/<BUCKET> instead of https://<BUCKET>.<HOST>) // S3ForcePathStyle bool `json:"s3_force_path_style,omitempty"` // Set this to `true` to not verify SSL certificates // SkipVerifySsl bool `json:"skip_verify_ssl,omitempty"` }
AWSRemoteTFState Representation of AWS remote tf state for external backend.
swagger:model AWSRemoteTFState
func (*AWSRemoteTFState) Engine ¶
func (m *AWSRemoteTFState) Engine() string
Engine gets the engine of this subtype
func (*AWSRemoteTFState) MarshalBinary ¶
func (m *AWSRemoteTFState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (AWSRemoteTFState) MarshalJSON ¶
func (m AWSRemoteTFState) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*AWSRemoteTFState) SetEngine ¶
func (m *AWSRemoteTFState) SetEngine(val string)
SetEngine sets the engine of this subtype
func (*AWSRemoteTFState) UnmarshalBinary ¶
func (m *AWSRemoteTFState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AWSRemoteTFState) UnmarshalJSON ¶
func (m *AWSRemoteTFState) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type AppConfig ¶ added in v1.0.61
type AppConfig struct { // Configuration of available authentication methods. // Required: true Authentication *AuthConfig `json:"authentication"` }
AppConfig AppConfig
Global app configuration that includes all the settings and capabilities of the Cycloid instance. It is intended to be used by clients to modify the UI accordingly. swagger:model AppConfig
func (*AppConfig) MarshalBinary ¶ added in v1.0.61
MarshalBinary interface implementation
func (*AppConfig) UnmarshalBinary ¶ added in v1.0.61
UnmarshalBinary interface implementation
type AppVersion ¶
type AppVersion struct { // The Git branch used to build the application. // Required: true // Min Length: 1 Branch *string `json:"branch"` // The Git revision used to build the application. // Required: true // Max Length: 40 // Min Length: 8 Revision *string `json:"revision"` // The version of the application. // Required: true // Min Length: 5 Version *string `json:"version"` }
AppVersion AppVersion swagger:model AppVersion
func (*AppVersion) MarshalBinary ¶
func (m *AppVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppVersion) UnmarshalBinary ¶
func (m *AppVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthConfig ¶ added in v1.0.61
type AuthConfig struct { // Local authentication method configuration. // Required: true Local *AuthConfigLocalAuth `json:"local"` // List of OAuth providers. // Required: true Oauth []*AuthConfigOAuth `json:"oauth"` // List of SAML2 providers. // Required: true Saml2 []*AuthConfigSAML `json:"saml2"` }
AuthConfig AuthConfig swagger:model AuthConfig
func (*AuthConfig) MarshalBinary ¶ added in v1.0.61
func (m *AuthConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthConfig) UnmarshalBinary ¶ added in v1.0.61
func (m *AuthConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthConfigLocalAuth ¶ added in v1.0.61
type AuthConfigLocalAuth struct { // Whether local authentication is enabled // Required: true Enabled *bool `json:"enabled"` }
AuthConfigLocalAuth AppConfigLocalAuth swagger:model AuthConfigLocalAuth
func (*AuthConfigLocalAuth) MarshalBinary ¶ added in v1.0.61
func (m *AuthConfigLocalAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthConfigLocalAuth) UnmarshalBinary ¶ added in v1.0.61
func (m *AuthConfigLocalAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthConfigOAuth ¶ added in v1.0.61
type AuthConfigOAuth struct { // ID of the OAuth client. // Required: true ClientID *string `json:"client_id"` // Name of the OAuth identity provider. // Required: true Provider *string `json:"provider"` // ID of the OAuth tenant. // Required: true TenantID *string `json:"tenant_id"` }
AuthConfigOAuth AppConfigAuthOAuth swagger:model AuthConfigOAuth
func (*AuthConfigOAuth) MarshalBinary ¶ added in v1.0.61
func (m *AuthConfigOAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthConfigOAuth) UnmarshalBinary ¶ added in v1.0.61
func (m *AuthConfigOAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthConfigSAML ¶ added in v1.0.61
type AuthConfigSAML struct { // Entity ID of the SAML2 identity provider. // Required: true Provider *string `json:"provider"` // SSO URL to which the user should be redirected in order to authenticate with the Identity Provider. // Required: true // Format: uri SsoURL *strfmt.URI `json:"sso_url"` }
AuthConfigSAML AppConfigSAML swagger:model AuthConfigSAML
func (*AuthConfigSAML) MarshalBinary ¶ added in v1.0.61
func (m *AuthConfigSAML) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthConfigSAML) UnmarshalBinary ¶ added in v1.0.61
func (m *AuthConfigSAML) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRemoteTFState ¶
type AzureRemoteTFState struct { // The Azure blob contained in the container // // Required: true Blob *string `json:"blob"` // The Azure container were the resource exists // // Required: true Container *string `json:"container"` }
AzureRemoteTFState Representation of azure remote tf state for external backend.
swagger:model AzureRemoteTFState
func (*AzureRemoteTFState) Engine ¶
func (m *AzureRemoteTFState) Engine() string
Engine gets the engine of this subtype
func (*AzureRemoteTFState) MarshalBinary ¶
func (m *AzureRemoteTFState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (AzureRemoteTFState) MarshalJSON ¶
func (m AzureRemoteTFState) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*AzureRemoteTFState) SetEngine ¶
func (m *AzureRemoteTFState) SetEngine(val string)
SetEngine sets the engine of this subtype
func (*AzureRemoteTFState) UnmarshalBinary ¶
func (m *AzureRemoteTFState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AzureRemoteTFState) UnmarshalJSON ¶
func (m *AzureRemoteTFState) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type Build ¶
type Build struct { // api url // Required: true APIURL *string `json:"api_url"` // end time EndTime uint64 `json:"end_time,omitempty"` // id // Required: true ID *uint64 `json:"id"` // job name JobName string `json:"job_name,omitempty"` // name // Required: true Name *string `json:"name"` // pipeline name PipelineName string `json:"pipeline_name,omitempty"` // reap time ReapTime uint64 `json:"reap_time,omitempty"` // start time StartTime uint64 `json:"start_time,omitempty"` // status // Required: true Status *string `json:"status"` // team name // Required: true TeamName *string `json:"team_name"` }
Build Build
The information relative to a build. swagger:model Build
func (*Build) MarshalBinary ¶
MarshalBinary interface implementation
func (*Build) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BuildInputsOutputs ¶
type BuildInputsOutputs struct { // inputs // Required: true Inputs []*PublicBuildInput `json:"inputs"` // outputs // Required: true Outputs []*PublicBuildOutput `json:"outputs"` }
BuildInputsOutputs BuildInputsOutputs
Represent the resources input/output related to a build swagger:model BuildInputsOutputs
func (*BuildInputsOutputs) MarshalBinary ¶
func (m *BuildInputsOutputs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildInputsOutputs) UnmarshalBinary ¶
func (m *BuildInputsOutputs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CanDoInput ¶ added in v1.0.58
type CanDoInput struct { // action // Required: true Action *string `json:"action"` // List of the canonicals to the Resource excluding the Organization // Required: true EntityCanonicals []string `json:"entity_canonicals"` }
CanDoInput CanDoInput
The input of the 'can_do' endpoint swagger:model CanDoInput
func (*CanDoInput) MarshalBinary ¶ added in v1.0.58
func (m *CanDoInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CanDoInput) UnmarshalBinary ¶ added in v1.0.58
func (m *CanDoInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CanDoOutput ¶ added in v1.0.58
type CanDoOutput struct { // entity canonicals EntityCanonicals []string `json:"entity_canonicals"` // ok // Required: true Ok *bool `json:"ok"` }
CanDoOutput CanDoOutput
The output of the 'can_do' endpoint swagger:model CanDoOutput
func (*CanDoOutput) MarshalBinary ¶ added in v1.0.58
func (m *CanDoOutput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CanDoOutput) UnmarshalBinary ¶ added in v1.0.58
func (m *CanDoOutput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CheckReport ¶
type CheckReport struct { // The name of the service checked. // Required: true // Min Length: 1 Canonical *string `json:"canonical"` // The category of the service checked. // Required: true // Min Length: 1 Category *string `json:"category"` // The message providing information regarding the state of the service. // Required: true // Min Length: 1 Message *string `json:"message"` // The status of the service checked. // Required: true // Enum: [Unknown Success Error] Status *string `json:"status"` }
CheckReport CheckReport swagger:model CheckReport
func (*CheckReport) MarshalBinary ¶
func (m *CheckReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CheckReport) UnmarshalBinary ¶
func (m *CheckReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClearTaskCache ¶
type ClearTaskCache struct { // caches removed // Required: true CachesRemoved *int64 `json:"caches_removed"` }
ClearTaskCache ClearTaskCache
The entity which represents number of cache cleared for a task. swagger:model ClearTaskCache
func (*ClearTaskCache) MarshalBinary ¶
func (m *ClearTaskCache) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClearTaskCache) UnmarshalBinary ¶
func (m *ClearTaskCache) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudProvider ¶
type CloudProvider struct { // abbreviation // Max Length: 60 // Min Length: 2 Abbreviation string `json:"abbreviation,omitempty"` // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ // Enum: [aws google azurerm flexibleengine openstack] Canonical *string `json:"canonical"` // created at // Minimum: 0 CreatedAt *uint64 `json:"created_at,omitempty"` // id // Minimum: 1 ID uint32 `json:"id,omitempty"` // name // Required: true // Max Length: 60 // Min Length: 2 Name *string `json:"name"` // updated at // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` }
CloudProvider Cloud Provider
CloudProvider represents a cloud provider. Those cloud providers are used to identify the scope of projects and/or stacks. swagger:model CloudProvider
func (*CloudProvider) MarshalBinary ¶
func (m *CloudProvider) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudProvider) UnmarshalBinary ¶
func (m *CloudProvider) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigFile ¶
type ConfigFile struct { // content // Required: true // Format: byte Content *strfmt.Base64 `json:"content"` // path // Required: true Path *string `json:"path"` }
ConfigFile SC config file
This object contains SC config file name and its content swagger:model ConfigFile
func (*ConfigFile) MarshalBinary ¶
func (m *ConfigFile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigFile) UnmarshalBinary ¶
func (m *ConfigFile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigRepository ¶
type ConfigRepository struct { // branch Branch string `json:"branch,omitempty"` // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // created at // Minimum: 0 CreatedAt *uint64 `json:"created_at,omitempty"` // credential canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ CredentialCanonical string `json:"credential_canonical,omitempty"` // default // Required: true Default *bool `json:"default"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // name // Required: true Name *string `json:"name"` // updated at // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` // url // Required: true // Pattern: (?:http|https|git|ssh|git@[-\w.]+):(\/\/)?(.*?)(\.git)?(\/?|\#[-\d\w._]+?)$ URL *string `json:"url"` }
ConfigRepository ConfigRepository swagger:model ConfigRepository
func (*ConfigRepository) MarshalBinary ¶
func (m *ConfigRepository) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigRepository) UnmarshalBinary ¶
func (m *ConfigRepository) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostEstimationComponent ¶ added in v1.0.58
type CostEstimationComponent struct { // Human-readable label of the component. // Required: true Label *string `json:"label"` // planned Planned *CostEstimationComponentState `json:"planned,omitempty"` // prior Prior *CostEstimationComponentState `json:"prior,omitempty"` // Monthly rate per unit. // Required: true Rate *string `json:"rate"` // Unit of estimation. Unit string `json:"unit,omitempty"` }
CostEstimationComponent CostEstimationComponent
Cost component of a cloud resource estimate. swagger:model CostEstimationComponent
func (*CostEstimationComponent) MarshalBinary ¶ added in v1.0.58
func (m *CostEstimationComponent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostEstimationComponent) UnmarshalBinary ¶ added in v1.0.58
func (m *CostEstimationComponent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostEstimationComponentState ¶ added in v1.0.58
type CostEstimationComponentState struct { // Cost of the component state in decimal form. // Required: true Cost *string `json:"cost"` // List of items on which the cost is dependent. // Required: true Details []string `json:"details"` // Quantity of units. // Required: true Quantity *uint32 `json:"quantity"` }
CostEstimationComponentState CostEstimationComponentState
Either a Prior or Planned cost component state. swagger:model CostEstimationComponentState
func (*CostEstimationComponentState) MarshalBinary ¶ added in v1.0.58
func (m *CostEstimationComponentState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostEstimationComponentState) UnmarshalBinary ¶ added in v1.0.58
func (m *CostEstimationComponentState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostEstimationResourceEstimate ¶ added in v1.0.58
type CostEstimationResourceEstimate struct { // Unique identifier of the resource. // Required: true Address *string `json:"address"` // List of resource cost components. // Required: true Components []*CostEstimationComponent `json:"components"` // Planned cost of the resource estimate in decimal form. PlannedCost string `json:"planned_cost,omitempty"` // Prior cost of the resource estimate in decimal form. PriorCost string `json:"prior_cost,omitempty"` }
CostEstimationResourceEstimate CostEstimationResourceEstimate
Estimate for a single cloud resource. swagger:model CostEstimationResourceEstimate
func (*CostEstimationResourceEstimate) MarshalBinary ¶ added in v1.0.58
func (m *CostEstimationResourceEstimate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostEstimationResourceEstimate) UnmarshalBinary ¶ added in v1.0.58
func (m *CostEstimationResourceEstimate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostEstimationResult ¶ added in v1.0.58
type CostEstimationResult struct { // Planned cost of the plan in decimal form. PlannedCost string `json:"planned_cost,omitempty"` // Prior cost of the plan in decimal form. PriorCost string `json:"prior_cost,omitempty"` // resource estimates // Required: true ResourceEstimates []*CostEstimationResourceEstimate `json:"resource_estimates"` }
CostEstimationResult CostEstimationResult
The result of cost estimation. swagger:model CostEstimationResult
func (*CostEstimationResult) MarshalBinary ¶ added in v1.0.58
func (m *CostEstimationResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostEstimationResult) UnmarshalBinary ¶ added in v1.0.58
func (m *CostEstimationResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostGroup ¶
type CostGroup struct { // amount // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[0-9]+.[0-9]+$ Amount *string `json:"amount"` // keys // Required: true Keys []string `json:"keys"` // unit // Required: true // Max Length: 3 // Min Length: 3 // Pattern: ^[A-Z]+$ Unit *string `json:"unit"` }
CostGroup CostGroup
This object contains the items described in https://docs.aws.amazon.com/sdk-for-go/api/service/costexplorer/#Group The groups hold the information about the price per key(s) for each iteration over the time range requested. swagger:model CostGroup
func (*CostGroup) MarshalBinary ¶
MarshalBinary interface implementation
func (*CostGroup) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CostGroupDefinitions ¶
type CostGroupDefinitions struct { // group // Required: true // Max Length: 100 // Min Length: 1 // Pattern: ^[a-zA-Z]+$ Group *string `json:"group"` // key // Required: true // Max Length: 100 // Min Length: 1 // Pattern: ^[a-zA-Z]+$ Key *string `json:"key"` }
CostGroupDefinitions CostGroupDefinitions
This object contains the items describe in https://docs.aws.amazon.com/sdk-for-go/api/service/costexplorer/#GroupDefinition It also grouping the costs based on different elements: az, services, tags, etc swagger:model CostGroupDefinitions
func (*CostGroupDefinitions) MarshalBinary ¶
func (m *CostGroupDefinitions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostGroupDefinitions) UnmarshalBinary ¶
func (m *CostGroupDefinitions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostResultByTime ¶
type CostResultByTime struct { // estimated // Required: true Estimated *bool `json:"estimated"` // groups // Required: true Groups []*CostGroup `json:"groups"` // period // Required: true Period *CostTimePeriode `json:"period"` // total // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[0-9]+.[0-9]+$ Total *string `json:"total"` // unit // Required: true // Max Length: 3 // Min Length: 2 // Pattern: ^[a-zA-Z]+$ Unit *string `json:"unit"` }
CostResultByTime CostResultByTime
This object contains the items described in https://docs.aws.amazon.com/sdk-for-go/api/service/costexplorer/#ResultByTime It is basically containing information about the cost per group(s) and per granularity (daily/monthy) over the periode of time selected. The total and unit fields have bee modified to fit our requirements, while the groups hold the information about each iteration over the time range. swagger:model CostResultByTime
func (*CostResultByTime) MarshalBinary ¶
func (m *CostResultByTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostResultByTime) UnmarshalBinary ¶
func (m *CostResultByTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostTimePeriode ¶
type CostTimePeriode struct { // begin // Required: true // Max Length: 10 // Min Length: 10 // Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ Begin *string `json:"begin"` // end // Required: true // Max Length: 10 // Min Length: 10 // Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ End *string `json:"end"` }
CostTimePeriode CostTimePeriode
This object contains the items described in https://docs.aws.amazon.com/sdk-for-go/api/service/costexplorer/#DateInterval It defines the beginning and the end of the time frame for which, the API should gather costs. swagger:model CostTimePeriode
func (*CostTimePeriode) MarshalBinary ¶
func (m *CostTimePeriode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostTimePeriode) UnmarshalBinary ¶
func (m *CostTimePeriode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Costs ¶
type Costs struct { // group definitions // Required: true GroupDefinitions []*CostGroupDefinitions `json:"group_definitions"` // results by time // Required: true ResultsByTime []*CostResultByTime `json:"results_by_time"` // total // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[0-9]+.[0-9]+$ Total *string `json:"total"` // unit // Required: true // Max Length: 3 // Min Length: 2 // Pattern: ^[A-Z]+$ Unit *string `json:"unit"` }
Costs Costs
This object contains the items described in the Output of the GetCostAndUsage method from the AWS go-sdk described in https://docs.aws.amazon.com/sdk-for-go/api/service/costexplorer/#GetCostAndUsageOutput It also contains 2 extra elements: total and unit - in order to return that pre- calculated. swagger:model Costs
func (*Costs) MarshalBinary ¶
MarshalBinary interface implementation
func (*Costs) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Country ¶ added in v1.0.64
type Country struct { // code // Required: true // Pattern: ^[A-Z]{2}$ Code *string `json:"code"` // name // Required: true Name *string `json:"name"` }
Country Country
Single country Representation swagger:model Country
func (*Country) MarshalBinary ¶ added in v1.0.64
MarshalBinary interface implementation
func (*Country) UnmarshalBinary ¶ added in v1.0.64
UnmarshalBinary interface implementation
type Credential ¶
type Credential struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // created at // Minimum: 0 CreatedAt *uint64 `json:"created_at,omitempty"` // description Description string `json:"description,omitempty"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // name // Required: true Name *string `json:"name"` // Organization member that owns this credential. When a user is the owner of a // credential he has all the permissions on it. // In the event where the user has been deleted that field might be empty. // Owner *User `json:"owner,omitempty"` // path // Required: true Path *string `json:"path"` // raw // Required: true Raw *CredentialRaw `json:"raw"` // type // Required: true // Enum: [ssh aws custom azure azure_storage gcp basic_auth elasticsearch swift] Type *string `json:"type"` // updated at // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` }
Credential Credential
Represents the Credential swagger:model Credential
func (*Credential) MarshalBinary ¶
func (m *Credential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Credential) UnmarshalBinary ¶
func (m *Credential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialRaw ¶
type CredentialRaw struct { // access key AccessKey string `json:"access_key,omitempty"` // account name AccountName string `json:"account_name,omitempty"` // auth url AuthURL string `json:"auth_url,omitempty"` // ca cert CaCert string `json:"ca_cert,omitempty"` // client id ClientID string `json:"client_id,omitempty"` // client secret ClientSecret string `json:"client_secret,omitempty"` // domain id DomainID string `json:"domain_id,omitempty"` // json key JSONKey string `json:"json_key,omitempty"` // password Password string `json:"password,omitempty"` // raw Raw interface{} `json:"raw,omitempty"` // secret key SecretKey string `json:"secret_key,omitempty"` // ssh key SSHKey string `json:"ssh_key,omitempty"` // subscription id SubscriptionID string `json:"subscription_id,omitempty"` // tenant id TenantID string `json:"tenant_id,omitempty"` // username Username string `json:"username,omitempty"` }
CredentialRaw Credential Raw
All the possible fields inside it swagger:model CredentialRaw
func (*CredentialRaw) MarshalBinary ¶
func (m *CredentialRaw) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialRaw) UnmarshalBinary ¶
func (m *CredentialRaw) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialSimple ¶
type CredentialSimple struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // description Description string `json:"description,omitempty"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // name // Required: true Name *string `json:"name"` // path // Required: true Path *string `json:"path"` // type // Required: true // Enum: [ssh aws custom azure azure_storage gcp basic_auth elasticsearch swift] Type *string `json:"type"` }
CredentialSimple Credential Simple
Represents the Credential without the raw and owner swagger:model CredentialSimple
func (*CredentialSimple) MarshalBinary ¶
func (m *CredentialSimple) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialSimple) UnmarshalBinary ¶
func (m *CredentialSimple) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ElasticsearchLogs ¶
type ElasticsearchLogs struct { // It's an object where the key is the 'environment' and the value // another object where the key is the 'source-name' and value a Source. // // Required: true Sources map[string]map[string]ElasticsearchLogsSourcesAnon `json:"sources"` // List of the URLs // // Required: true Urls []string `json:"urls"` // Only 7 is supported // // Required: true Version *string `json:"version"` }
ElasticsearchLogs Representation of Elasticsearch logs for external backend.
swagger:model ElasticsearchLogs
func (*ElasticsearchLogs) Engine ¶
func (m *ElasticsearchLogs) Engine() string
Engine gets the engine of this subtype
func (*ElasticsearchLogs) MarshalBinary ¶
func (m *ElasticsearchLogs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ElasticsearchLogs) MarshalJSON ¶
func (m ElasticsearchLogs) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ElasticsearchLogs) SetEngine ¶
func (m *ElasticsearchLogs) SetEngine(val string)
SetEngine sets the engine of this subtype
func (*ElasticsearchLogs) UnmarshalBinary ¶
func (m *ElasticsearchLogs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ElasticsearchLogs) UnmarshalJSON ¶
func (m *ElasticsearchLogs) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type ElasticsearchLogsSourcesAnon ¶
type ElasticsearchLogsSourcesAnon struct { // Index to use // Index string `json:"index,omitempty"` // mapping Mapping *ElasticsearchLogsSourcesAnonMapping `json:"mapping,omitempty"` // JSON representing the prefilters to apply to the index to get // the specific values. // Prefilters interface{} `json:"prefilters,omitempty"` // List of URLs to override the main URL defined // Urls []string `json:"urls"` }
ElasticsearchLogsSourcesAnon elasticsearch logs sources anon swagger:model ElasticsearchLogsSourcesAnon
func (*ElasticsearchLogsSourcesAnon) MarshalBinary ¶
func (m *ElasticsearchLogsSourcesAnon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ElasticsearchLogsSourcesAnon) UnmarshalBinary ¶
func (m *ElasticsearchLogsSourcesAnon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ElasticsearchLogsSourcesAnonMapping ¶
type ElasticsearchLogsSourcesAnonMapping struct { // The Host of the log // // Required: true Host *string `json:"host"` // The Message the user wants to show // // Required: true Message *string `json:"message"` // The Timestamp of the log // // Required: true Timestamp *string `json:"timestamp"` }
ElasticsearchLogsSourcesAnonMapping Object with the mapping to know which attributes are the ones we have to map to the ones we want
swagger:model ElasticsearchLogsSourcesAnonMapping
func (*ElasticsearchLogsSourcesAnonMapping) MarshalBinary ¶
func (m *ElasticsearchLogsSourcesAnonMapping) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ElasticsearchLogsSourcesAnonMapping) UnmarshalBinary ¶
func (m *ElasticsearchLogsSourcesAnonMapping) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnsurePlan ¶
type EnsurePlan struct { // next // Required: true Next *Plan `json:"next"` // step // Required: true Step *Plan `json:"step"` }
EnsurePlan EnsurePlan
The plan to ensure to be run. swagger:model EnsurePlan
func (*EnsurePlan) MarshalBinary ¶
func (m *EnsurePlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnsurePlan) UnmarshalBinary ¶
func (m *EnsurePlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Environment ¶
type Environment struct { // canonical // Required: true // Max Length: 100 // Min Length: 1 // Pattern: ^[\da-zA-Z]+(?:[\da-zA-Z\-._]+[\da-zA-Z]|[\da-zA-Z])$ Canonical *string `json:"canonical"` // The cloud provider object that this environment is using. // In the event where the cloud provider is not yet defined/supported // that field might be empty. // CloudProvider *CloudProvider `json:"cloud_provider,omitempty"` // created at // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // updated at // Required: true // Minimum: 0 UpdatedAt *uint64 `json:"updated_at"` }
Environment Environment
Represent an environment with may be related to a Project and Pipeline swagger:model Environment
func (*Environment) MarshalBinary ¶
func (m *Environment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Environment) UnmarshalBinary ¶
func (m *Environment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorDetailsItem ¶
type ErrorDetailsItem struct { // code // Required: true Code *string `json:"code"` // details Details []string `json:"details"` // message // Required: true Message *string `json:"message"` }
ErrorDetailsItem Error details item
Represents an item of the list of details of an error. swagger:model ErrorDetailsItem
func (*ErrorDetailsItem) MarshalBinary ¶
func (m *ErrorDetailsItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorDetailsItem) UnmarshalBinary ¶
func (m *ErrorDetailsItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorPayload ¶
type ErrorPayload struct { // errors // Required: true Errors []*ErrorDetailsItem `json:"errors"` }
ErrorPayload Error Payload
The payload used by the server to response to the client with an Error, those errors could be any of the ones listed [here](https://github.com/cycloidio/youdeploy-http-api/blob/develop/errors/code.go#L10), only the CODE of the error is the one that is guaranteed to not change between the same major version, the MESSAGE could change.
swagger:model ErrorPayload
func (*ErrorPayload) MarshalBinary ¶
func (m *ErrorPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorPayload) UnmarshalBinary ¶
func (m *ErrorPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Event ¶
type Event struct { // The HTML color associated to the event. The valid colors are the ones listed in the CSS 2 specification: https://www.w3.org/TR/CSS2/syndata.html#value-def-color. Only the keyword are accepted, the hexadecimal values are not valid. // Max Length: 20 // Min Length: 3 // Pattern: [a-z]+ Color string `json:"color,omitempty"` // [A Font Awesome class name](https://fontawesome.com/icons) // Min Length: 3 Icon string `json:"icon,omitempty"` // The unique ID of the event from the database. // Required: true ID *uint32 `json:"id"` // The message associated to the event. // Required: true // Min Length: 1 Message *string `json:"message"` // The serverity associated to the event. // Required: true // Enum: [info warn err crit] Severity *string `json:"severity"` // The list of tags associated to the event. // Required: true Tags []*Tag `json:"tags"` // The timestamp when the event was created in milliseconds. // Required: true Timestamp *uint64 `json:"timestamp"` // The title of the event. // Required: true // Min Length: 1 Title *string `json:"title"` // The type of the event // Required: true // Enum: [Cycloid AWS Monitoring Custom] Type *string `json:"type"` }
Event An event
A event which has registered an activity in the Cycloid platform. swagger:model Event
func (*Event) MarshalBinary ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ExternalBackend ¶
type ExternalBackend struct { // credential canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ CredentialCanonical string `json:"credential_canonical,omitempty"` // environment canonical // Max Length: 100 // Min Length: 1 // Pattern: ^[\da-zA-Z]+(?:(?:[\da-zA-Z\-._]+)?[\da-zA-Z])?$ EnvironmentCanonical string `json:"environment_canonical,omitempty"` // id // Minimum: 1 ID uint32 `json:"id,omitempty"` // project canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ ProjectCanonical string `json:"project_canonical,omitempty"` // purpose // Required: true Purpose *string `json:"purpose"` // contains filtered or unexported fields }
ExternalBackend External backend
An external backend contains the configuration needed in order to be plugged into the Cycloid system. A backend is a general purpose concept, but Cycloid specifies which ones are supported and the list of those which are supported for every concrete feature. swagger:model ExternalBackend
func (*ExternalBackend) Configuration ¶
func (m *ExternalBackend) Configuration() ExternalBackendConfiguration
Configuration gets the configuration of this base type
func (*ExternalBackend) MarshalBinary ¶
func (m *ExternalBackend) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ExternalBackend) MarshalJSON ¶
func (m ExternalBackend) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ExternalBackend) SetConfiguration ¶
func (m *ExternalBackend) SetConfiguration(val ExternalBackendConfiguration)
SetConfiguration sets the configuration of this base type
func (*ExternalBackend) UnmarshalBinary ¶
func (m *ExternalBackend) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ExternalBackend) UnmarshalJSON ¶
func (m *ExternalBackend) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type ExternalBackendConfiguration ¶
type ExternalBackendConfiguration interface { runtime.Validatable // engine // Required: true Engine() string SetEngine(string) }
ExternalBackendConfiguration external backend configuration swagger:discriminator ExternalBackendConfiguration engine
func UnmarshalExternalBackendConfiguration ¶
func UnmarshalExternalBackendConfiguration(reader io.Reader, consumer runtime.Consumer) (ExternalBackendConfiguration, error)
UnmarshalExternalBackendConfiguration unmarshals polymorphic ExternalBackendConfiguration
func UnmarshalExternalBackendConfigurationSlice ¶
func UnmarshalExternalBackendConfigurationSlice(reader io.Reader, consumer runtime.Consumer) ([]ExternalBackendConfiguration, error)
UnmarshalExternalBackendConfigurationSlice unmarshals polymorphic slices of ExternalBackendConfiguration
type FormEntity ¶
type FormEntity struct { // The current value that was previously configured for this variable upon creation or update. Current interface{} `json:"current,omitempty"` // The default to assign to the variable if nothing is returned and that the varialbe is required Default interface{} `json:"default,omitempty"` // The description helping users understand the interest/impact of such variable/change Description string `json:"description,omitempty"` // The key is the name of variables for the ansible/pipeline/terraform technologies. If this is a first level variable then: keyX. If you have multiple terraform modules then use: module.Y.keyX to help identify the unique variable. // Required: true Key *string `json:"key"` // The name of the variable displayed to the user // Required: true Name *string `json:"name"` // Whether or not the field is required - that helps distinguish "optional" variables and allows to set default if necessary and present Required bool `json:"required,omitempty"` // The source is only used for the branch widget to reference the key of the SCS or CR that the branches have to be read from. Because a branch in itself cannot exist, the user has to indicate from which SCS or CR he wants to retrieve branches. The source has to reference the key of an entity of a widget: 'CyCRS' or 'CySCS' Source string `json:"source,omitempty"` // The type of data handled - used to manipulate/validate the input, and also validate default/values // Required: true // Enum: [integer string array boolean map] Type *string `json:"type"` // The unit to be displayed for the variable, helping to know what's being manipulated: amount of servers, Go, users, etc. Unit string `json:"unit,omitempty"` // Values allowed, e.g. [1, 10, 20, 50], this can be of any type but boolean. Note: In case of SliderRange only 2 values should be provided: [min, max], in case of providing them the other way around some validation test will fail. Values []interface{} `json:"values"` // The widget used to display the data in the most suitable way // Required: true // Enum: [auto_complete dropdown radios slider_list slider_range number simple_text switch text_area cy_cred cy_scs cy_crs cy_branch] Widget *string `json:"widget"` }
FormEntity Forms file's Entity
This describes all the attributes possible to configure a form's variable swagger:model FormEntity
func (*FormEntity) MarshalBinary ¶
func (m *FormEntity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FormEntity) UnmarshalBinary ¶
func (m *FormEntity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FormInput ¶
type FormInput struct { // The environment canonical // Required: true EnvironmentCanonical *string `json:"environment_canonical"` // The use-case to load // Required: true UseCase *string `json:"use_case"` // Forms variables filled, the format to respect is as follows // { // "ansible": { // "key1": "value1", // "key2": "value2", // "key3": "value3" // }, // "terraform": { // "key1": "value1", // "key2": "value2", // "key3": "value3" // }, // "pipeline": { // "key1": "value2" // } // } // Keys being the variable name that you want to see substituted/defined. // // Required: true Vars interface{} `json:"vars"` }
FormInput Forms input
The variables set within a form with the corresponding environment canonical and use case
swagger:model FormInput
func (*FormInput) MarshalBinary ¶
MarshalBinary interface implementation
func (*FormInput) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FormInputs ¶
type FormInputs struct { // The variables set within a form with the corresponding environment // canonical and use case // // Required: true Inputs []*FormInput `json:"inputs"` // It's the ref of the Service Catalog, like 'cycloidio:stack-magento' // // Required: true ServiceCatalogRef *string `json:"service_catalog_ref"` }
FormInputs Forms inputs
The array of variables set by the user via the forms with the associated environment canonical and use case upon project creation.
swagger:model FormInputs
func (*FormInputs) MarshalBinary ¶
func (m *FormInputs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FormInputs) UnmarshalBinary ¶
func (m *FormInputs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FormsFile ¶
type FormsFile map[string]map[string]map[string][]FormEntity
FormsFile Forms File
The first key level are the use-cases matching the ones of the .cycloid.yml file swagger:model FormsFile
type FormsValidation ¶
type FormsValidation struct { // form file // Required: true FormFile FormsFile `json:"form_file"` }
FormsValidation Forms validation
This object contains a forms file's content, eg: ```
useCase1: terraform: group1: - entity1 - entity2 - entity3 group2: - entity4 useCase2: terraform: group1: - entity1 - entity2 - entity3 group2: - entity4 ansible: group3: - entity5 - entity6
``` swagger:model FormsValidation
func (*FormsValidation) MarshalBinary ¶
func (m *FormsValidation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FormsValidation) UnmarshalBinary ¶
func (m *FormsValidation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FormsValidationResult ¶
type FormsValidationResult struct { // errors // Required: true Errors []string `json:"errors"` }
FormsValidationResult FormsValidationResult
The result of the validation, if errors is empty means that is correct swagger:model FormsValidationResult
func (*FormsValidationResult) MarshalBinary ¶
func (m *FormsValidationResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FormsValidationResult) UnmarshalBinary ¶
func (m *FormsValidationResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GCPRemoteTFState ¶
type GCPRemoteTFState struct { // The GCP bucket containing objects // // Required: true Bucket *string `json:"bucket"` // The GCP object uniquely identifying an object in a bucket // // Required: true Object *string `json:"object"` }
GCPRemoteTFState Representation of GCP remote tf state for external backend.
swagger:model GCPRemoteTFState
func (*GCPRemoteTFState) Engine ¶
func (m *GCPRemoteTFState) Engine() string
Engine gets the engine of this subtype
func (*GCPRemoteTFState) MarshalBinary ¶
func (m *GCPRemoteTFState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GCPRemoteTFState) MarshalJSON ¶
func (m GCPRemoteTFState) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*GCPRemoteTFState) SetEngine ¶
func (m *GCPRemoteTFState) SetEngine(val string)
SetEngine sets the engine of this subtype
func (*GCPRemoteTFState) UnmarshalBinary ¶
func (m *GCPRemoteTFState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GCPRemoteTFState) UnmarshalJSON ¶
func (m *GCPRemoteTFState) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type GeneralStatus ¶
type GeneralStatus struct { // List of all checks report type/name/status. // Required: true Checks []*CheckReport `json:"checks"` // Message providing information regarding the status. // Required: true // Min Length: 1 Message *string `json:"message"` // The overall status for the application. // Required: true // Enum: [Unknown Success Error] Status *string `json:"status"` }
GeneralStatus GeneralStatus swagger:model GeneralStatus
func (*GeneralStatus) MarshalBinary ¶
func (m *GeneralStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeneralStatus) UnmarshalBinary ¶
func (m *GeneralStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPlan ¶
type GetPlan struct { // name Name string `json:"name,omitempty"` // params Params map[string]interface{} `json:"params,omitempty"` // resource // Required: true Resource *string `json:"resource"` // source // Required: true Source map[string]interface{} `json:"source"` // tags Tags []string `json:"tags"` // type // Required: true Type *string `json:"type"` // version Version map[string]string `json:"version,omitempty"` // version from VersionFrom string `json:"version_from,omitempty"` // versioned resource types VersionedResourceTypes []*VersionedResourceType `json:"versioned_resource_types"` }
GetPlan GetPlan
The plan to get before running another one. swagger:model GetPlan
func (*GetPlan) MarshalBinary ¶
MarshalBinary interface implementation
func (*GetPlan) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GroupConfig ¶
type GroupConfig struct { // jobs Jobs []string `json:"jobs"` // name // Required: true Name *string `json:"name"` // resources Resources []string `json:"resources"` }
GroupConfig GroupConfig
The entity which represents pipeline group config swagger:model GroupConfig
func (*GroupConfig) MarshalBinary ¶
func (m *GroupConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupConfig) UnmarshalBinary ¶
func (m *GroupConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InfraPoliciesValidationResult ¶ added in v1.0.58
type InfraPoliciesValidationResult struct { // advisories Advisories []*InfraPoliciesValidationResultItem `json:"advisories"` // criticals Criticals []*InfraPoliciesValidationResultItem `json:"criticals"` // warnings Warnings []*InfraPoliciesValidationResultItem `json:"warnings"` }
InfraPoliciesValidationResult Infra policies validation results.
The set of not respected rules for the checked policies. swagger:model InfraPoliciesValidationResult
func (*InfraPoliciesValidationResult) MarshalBinary ¶ added in v1.0.58
func (m *InfraPoliciesValidationResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InfraPoliciesValidationResult) UnmarshalBinary ¶ added in v1.0.58
func (m *InfraPoliciesValidationResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InfraPoliciesValidationResultItem ¶ added in v1.0.58
type InfraPoliciesValidationResultItem struct { // infra policy // Required: true InfraPolicy *InfraPolicy `json:"infra_policy"` // The messages about the reason of the validation failure // that's written in the InfraPolicy's Body of the failed rule. // Reasons []string `json:"reasons"` }
InfraPoliciesValidationResultItem InfraPoliciesValidationResultItem represents a checked rule with a failed result generated from the validation process.
swagger:model InfraPoliciesValidationResultItem
func (*InfraPoliciesValidationResultItem) MarshalBinary ¶ added in v1.0.58
func (m *InfraPoliciesValidationResultItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InfraPoliciesValidationResultItem) UnmarshalBinary ¶ added in v1.0.58
func (m *InfraPoliciesValidationResultItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InfraPolicy ¶ added in v1.0.58
type InfraPolicy struct { // The body field is the code in plain text that defines the rules for the policy. // Required: true Body *string `json:"body"` // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // created at // Required: true CreatedAt *uint64 `json:"created_at"` // description // Required: true Description *string `json:"description"` // enabled // Required: true Enabled *bool `json:"enabled"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // Organization member that owns this InfraPolicy. When a user is the owner of an // InfraPolicy it has all the permissions on it. // In the event where the user has been deleted then it will be null. // // Required: true Owner *MemberOrg `json:"owner"` // It defines the enforcement level. It must be used from the caller of the InfraPolicy // validation endpoint to apply the specific logic in case of not respected InfraPolicies. // Uses critical to block the changes. // Uses warning to block the changes but allow to override manually. // Uses advisory to allow them but a notification must be send. // // Required: true // Enum: [critical warning advisory] Severity *string `json:"severity"` // updated at // Required: true UpdatedAt *uint64 `json:"updated_at"` }
InfraPolicy InfraPolicy
The policy to control operations across infrastructure. swagger:model InfraPolicy
func (*InfraPolicy) MarshalBinary ¶ added in v1.0.58
func (m *InfraPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InfraPolicy) UnmarshalBinary ¶ added in v1.0.58
func (m *InfraPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Infrastructure ¶
type Infrastructure struct { // config // Required: true Config InfrastructureConfig `json:"config"` // graph // Required: true Graph *InfrastructureGraph `json:"graph"` }
Infrastructure Infrastructure
Holds all the Infrastructure of the project in an environment swagger:model Infrastructure
func (*Infrastructure) MarshalBinary ¶
func (m *Infrastructure) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Infrastructure) UnmarshalBinary ¶
func (m *Infrastructure) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InfrastructureConfig ¶
type InfrastructureConfig interface{}
InfrastructureConfig InfrastructureConfig
Holds all the Infrastructure config of the TFState swagger:model InfrastructureConfig
type InfrastructureGraph ¶
type InfrastructureGraph struct { // edges // Required: true Edges []*InfrastructureGraphEdge `json:"edges"` // nodes // Required: true Nodes []*InfrastructureGraphNode `json:"nodes"` }
InfrastructureGraph InfrastructureGraph
Holds all the Infrastructure of the project in an environment in Graph format swagger:model InfrastructureGraph
func (*InfrastructureGraph) MarshalBinary ¶
func (m *InfrastructureGraph) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InfrastructureGraph) UnmarshalBinary ¶
func (m *InfrastructureGraph) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InfrastructureGraphEdge ¶
type InfrastructureGraphEdge struct { // canonicals // Required: true Canonicals []string `json:"canonicals"` // id // Required: true ID *string `json:"id"` // source // Required: true Source *string `json:"source"` // target // Required: true Target *string `json:"target"` }
InfrastructureGraphEdge Infrastructure
Holds the information of an Edge of the Graph swagger:model InfrastructureGraphEdge
func (*InfrastructureGraphEdge) MarshalBinary ¶
func (m *InfrastructureGraphEdge) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InfrastructureGraphEdge) UnmarshalBinary ¶
func (m *InfrastructureGraphEdge) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InfrastructureGraphNode ¶
type InfrastructureGraphNode struct { // canonical // Required: true Canonical *string `json:"canonical"` // id // Required: true ID *string `json:"id"` // It holds [x,y] // Required: true Position []uint64 `json:"position"` // resource // Required: true Resource *TerraformProviderResourceSimple `json:"resource"` }
InfrastructureGraphNode Infrastructure
Holds the information of a Node of the Graph swagger:model InfrastructureGraphNode
func (*InfrastructureGraphNode) MarshalBinary ¶
func (m *InfrastructureGraphNode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InfrastructureGraphNode) UnmarshalBinary ¶
func (m *InfrastructureGraphNode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InfrastructureResourcesAggregationItem ¶
type InfrastructureResourcesAggregationItem struct { // The number of items of the specific type of resource. // Required: true TotalAmount *uint32 `json:"total_amount"` }
InfrastructureResourcesAggregationItem Infrastructure Resource Aggregation Item
Contains aggregated data of a single type of an infrastructure resource. swagger:model InfrastructureResourcesAggregationItem
func (*InfrastructureResourcesAggregationItem) MarshalBinary ¶
func (m *InfrastructureResourcesAggregationItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InfrastructureResourcesAggregationItem) UnmarshalBinary ¶
func (m *InfrastructureResourcesAggregationItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Invitation ¶ added in v1.0.58
type Invitation struct { // created at // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // email // Required: true // Format: email Email *strfmt.Email `json:"email"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // invited by InvitedBy *MemberOrg `json:"invited_by,omitempty"` // invitee Invitee *UserAccount `json:"invitee,omitempty"` // resent at // Minimum: 0 ResentAt *uint64 `json:"resent_at,omitempty"` // role // Required: true Role *Role `json:"role"` // state // Required: true // Enum: [pending accepted declined] State *string `json:"state"` }
Invitation Invitation
It represents an Invitation to join an Organization. swagger:model Invitation
func (*Invitation) MarshalBinary ¶ added in v1.0.58
func (m *Invitation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Invitation) UnmarshalBinary ¶ added in v1.0.58
func (m *Invitation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Job ¶
type Job struct { // disable manual trigger DisableManualTrigger bool `json:"disable_manual_trigger,omitempty"` // finished build // Required: true FinishedBuild *Build `json:"finished_build"` // first logged build id FirstLoggedBuildID uint64 `json:"first_logged_build_id,omitempty"` // groups // Required: true Groups []string `json:"groups"` // id // Required: true ID *uint64 `json:"id"` // inputs // Required: true Inputs []*JobInput `json:"inputs"` // name // Required: true Name *string `json:"name"` // next build // Required: true NextBuild *Build `json:"next_build"` // outputs // Required: true Outputs []*JobOutput `json:"outputs"` // paused Paused bool `json:"paused,omitempty"` // transition build TransitionBuild *Build `json:"transition_build,omitempty"` }
Job Job
The entity which represents a job output in the application. swagger:model Job
func (*Job) MarshalBinary ¶
MarshalBinary interface implementation
func (*Job) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JobInput ¶
type JobInput struct { // name // Required: true Name *string `json:"name"` // passed Passed []string `json:"passed"` // resource // Required: true Resource *string `json:"resource"` // trigger // Required: true Trigger *bool `json:"trigger"` // version Version *VersionConfig `json:"version,omitempty"` }
JobInput JobInput
The entity which represents a job input in the application. swagger:model JobInput
func (*JobInput) MarshalBinary ¶
MarshalBinary interface implementation
func (*JobInput) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JobOutput ¶
type JobOutput struct { // name // Required: true Name *string `json:"name"` // resource // Required: true Resource *string `json:"resource"` }
JobOutput JobOutput
The entity which represents a job output in the application. swagger:model JobOutput
func (*JobOutput) MarshalBinary ¶
MarshalBinary interface implementation
func (*JobOutput) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type KPI ¶ added in v1.0.58
type KPI struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // The config represent some extra parameters which are required for the configuration of certain KPIs. Please refer to the documentation for more details. // // Required: true Config interface{} `json:"config"` // created at // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // The data is represented in CSV format. Depending on the widget configured for the KPI, the format may vary. For more information please refer to our product documentation. DataSet []interface{} `json:"data_set"` // description // Required: true Description *string `json:"description"` // environment canonical // Max Length: 100 // Min Length: 1 // Pattern: ^[\da-zA-Z]+(?:[\da-zA-Z\-._]+[\da-zA-Z]|[\da-zA-Z])$ EnvironmentCanonical string `json:"environment_canonical,omitempty"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // job name JobName string `json:"job_name,omitempty"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // pipeline name PipelineName string `json:"pipeline_name,omitempty"` // project canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ ProjectCanonical string `json:"project_canonical,omitempty"` // type // Required: true // Enum: [buildavgtime buildfrequency buildhistory codecoverage timetorelease] Type *string `json:"type"` // updated at // Required: true // Minimum: 0 UpdatedAt *uint64 `json:"updated_at"` // widget // Required: true // Enum: [bars stackbars doughnut history line pie summary] Widget *string `json:"widget"` }
KPI KPI
A KPI swagger:model KPI
func (*KPI) MarshalBinary ¶ added in v1.0.58
MarshalBinary interface implementation
func (*KPI) UnmarshalBinary ¶ added in v1.0.58
UnmarshalBinary interface implementation
type LogSource ¶
type LogSource struct { // id // Required: true // Min Length: 1 ID *string `json:"id"` }
LogSource A log source
The data associated to a log's source. Each log source is the context of a list of entries which are registered through the time. swagger:model LogSource
func (*LogSource) MarshalBinary ¶
MarshalBinary interface implementation
func (*LogSource) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type LogSourceEntry ¶
type LogSourceEntry struct { // The host registered with the log's entry. // Required: true // Min Length: 1 Host *string `json:"host"` // The original (i.e. raw) log's entry. // Required: true // Min Length: 1 Message *string `json:"message"` // The timestamp extracted from the orginal log entry in order to be homogeneous to all the different supported underlying log systems. // Required: true Timestamp *string `json:"timestamp"` }
LogSourceEntry Log entry
A log's entry which pertains to a specific log's source. swagger:model LogSourceEntry
func (*LogSourceEntry) MarshalBinary ¶
func (m *LogSourceEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogSourceEntry) UnmarshalBinary ¶
func (m *LogSourceEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MemberAssignation ¶
type MemberAssignation struct { // The role of the member. // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ RoleCanonical *string `json:"role_canonical"` }
MemberAssignation Member assignation
Member is a user who is associated to an entity of the system. The user is newly assigned or reassigned for updating is data. swagger:model MemberAssignation
func (*MemberAssignation) MarshalBinary ¶
func (m *MemberAssignation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MemberAssignation) UnmarshalBinary ¶
func (m *MemberAssignation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MemberOrg ¶
type MemberOrg struct { // When the user became a member. // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // user email // Required: true // Format: email Email *strfmt.Email `json:"email"` // family name // Required: true // Min Length: 2 FamilyName *string `json:"family_name"` // given name // Required: true // Min Length: 2 GivenName *string `json:"given_name"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // When the user had been invited to join as a member. When not present, the user is already a member, so she/he has verified her/his invitation. // Minimum: 0 InvitedAt *uint64 `json:"invited_at,omitempty"` // Organization member who invited the current user. InvitedBy *MemberOrg `json:"invited_by,omitempty"` // When the user logged in last time. // Minimum: 0 LastLoginAt *uint64 `json:"last_login_at,omitempty"` // User's preferred language // Required: true // Enum: [en fr es] Locale *string `json:"locale"` // picture url // Format: uri PictureURL strfmt.URI `json:"picture_url,omitempty"` // role // Required: true Role *Role `json:"role"` // When the user had the role modified. // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` // username // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Username *string `json:"username"` }
MemberOrg Member of an organization
Member is a user who is associated to an organization. swagger:model MemberOrg
func (*MemberOrg) MarshalBinary ¶
MarshalBinary interface implementation
func (*MemberOrg) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MemberTeam ¶
type MemberTeam struct { // When the user became a member. // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // user email // Required: true // Format: email Email *strfmt.Email `json:"email"` // family name // Required: true // Min Length: 2 FamilyName *string `json:"family_name"` // given name // Required: true // Min Length: 2 GivenName *string `json:"given_name"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // Team member who invited the current user to the team. InvitedBy *MemberTeam `json:"invited_by,omitempty"` // When the user logged in last time. // Minimum: 0 LastLoginAt *uint64 `json:"last_login_at,omitempty"` // picture url // Format: uri PictureURL strfmt.URI `json:"picture_url,omitempty"` // When the user had the role modified. // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` // username // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Username *string `json:"username"` }
MemberTeam Member of a team
Member is a user who is associated to a team. swagger:model MemberTeam
func (*MemberTeam) MarshalBinary ¶
func (m *MemberTeam) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MemberTeam) UnmarshalBinary ¶
func (m *MemberTeam) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MetadataField ¶
type MetadataField struct { // name // Required: true Name *string `json:"name"` // value // Required: true Value *string `json:"value"` }
MetadataField MetadataField
Represent the metadata of a build input swagger:model MetadataField
func (*MetadataField) MarshalBinary ¶
func (m *MetadataField) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetadataField) UnmarshalBinary ¶
func (m *MetadataField) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewAPIKey ¶
type NewAPIKey struct { // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // description Description string `json:"description,omitempty"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // User canonical that owns this API key. If omitted then the person creating this // credential will be assigned as owner. When a user is the owner of an API key he has // all the permissions on it. // Owner string `json:"owner,omitempty"` // rules // Required: true Rules []*NewRule `json:"rules"` }
NewAPIKey Create API key
The entity which represents the information of a new API key. swagger:model NewAPIKey
func (*NewAPIKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*NewAPIKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NewConfigRepository ¶ added in v1.0.64
type NewConfigRepository struct { // branch // Required: true Branch *string `json:"branch"` // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // credential canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ CredentialCanonical *string `json:"credential_canonical"` // default // Required: true Default *bool `json:"default"` // name // Required: true Name *string `json:"name"` // url // Required: true // Pattern: (?:http|https|git|ssh|git@[-\w.]+):(\/\/)?(.*?)(\.git)?(\/?|\#[-\d\w._]+?)$ URL *string `json:"url"` }
NewConfigRepository NewConfigRepository swagger:model NewConfigRepository
func (*NewConfigRepository) MarshalBinary ¶ added in v1.0.64
func (m *NewConfigRepository) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewConfigRepository) UnmarshalBinary ¶ added in v1.0.64
func (m *NewConfigRepository) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewCredential ¶ added in v1.0.64
type NewCredential struct { // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // description Description string `json:"description,omitempty"` // name // Required: true Name *string `json:"name"` // User canonical that owns this credential. If omitted then the person creating this // credential will be assigned as owner. When a user is the owner of a credential he has // all the permissions on it. // Owner string `json:"owner,omitempty"` // path // Required: true // Pattern: [a-zA-z0-9_\-./] Path *string `json:"path"` // raw // Required: true Raw *CredentialRaw `json:"raw"` // type // Required: true // Enum: [ssh aws custom azure azure_storage gcp basic_auth elasticsearch swift] Type *string `json:"type"` }
NewCredential Credential
Represents the Credential swagger:model NewCredential
func (*NewCredential) MarshalBinary ¶ added in v1.0.64
func (m *NewCredential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewCredential) UnmarshalBinary ¶ added in v1.0.64
func (m *NewCredential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewEnvironment ¶ added in v1.0.58
type NewEnvironment struct { // canonical // Required: true // Max Length: 100 // Min Length: 1 // Pattern: ^[\da-zA-Z]+(?:[\da-zA-Z\-._]+[\da-zA-Z]|[\da-zA-Z])$ Canonical *string `json:"canonical"` // cloud provider canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ CloudProviderCanonical string `json:"cloud_provider_canonical,omitempty"` }
NewEnvironment NewEnvironment
Represent an entity necessary for environment creation swagger:model NewEnvironment
func (*NewEnvironment) MarshalBinary ¶ added in v1.0.58
func (m *NewEnvironment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewEnvironment) UnmarshalBinary ¶ added in v1.0.58
func (m *NewEnvironment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewEvent ¶
type NewEvent struct { // The HTML color associated to the event. The valid colors are the ones listed in the CSS 2 specification: https://www.w3.org/TR/CSS2/syndata.html#value-def-color. Only the keyword are accepted, the hexadecimal values are not valid. // Max Length: 20 // Min Length: 3 // Pattern: [a-z]+ Color string `json:"color,omitempty"` // [A Font Awesome class name](https://fontawesome.com/icons) // Min Length: 3 Icon string `json:"icon,omitempty"` // The message associated to the event. // Required: true // Min Length: 1 Message *string `json:"message"` // tThe serverity associated to the event. // Required: true // Enum: [info warn err crit] Severity *string `json:"severity"` // The list of tags associated to the event. // Required: true Tags []*Tag `json:"tags"` // The title of the event. // Required: true // Min Length: 1 Title *string `json:"title"` // The type of the event // Required: true // Enum: [Cycloid AWS Monitoring Custom] Type *string `json:"type"` }
NewEvent A new event
A new event to register in the Cycloid platform. swagger:model NewEvent
func (*NewEvent) MarshalBinary ¶
MarshalBinary interface implementation
func (*NewEvent) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NewExternalBackend ¶
type NewExternalBackend struct { // credential canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ CredentialCanonical string `json:"credential_canonical,omitempty"` // environment canonical // Max Length: 100 // Min Length: 1 // Pattern: ^[\da-zA-Z]+(?:(?:[\da-zA-Z\-._]+)?[\da-zA-Z])?$ EnvironmentCanonical string `json:"environment_canonical,omitempty"` // project canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ ProjectCanonical string `json:"project_canonical,omitempty"` // purpose // Required: true // Enum: [events logs remote_tfstate] Purpose *string `json:"purpose"` // contains filtered or unexported fields }
NewExternalBackend New External backend
An external backend contains the configuration needed in order to be plugged into the Cycloid system. A backend is a general purpose concept, but Cycloid specifies which ones are supported and the list of those which are supported for every concrete feature. swagger:model NewExternalBackend
func (*NewExternalBackend) Configuration ¶
func (m *NewExternalBackend) Configuration() ExternalBackendConfiguration
Configuration gets the configuration of this base type
func (*NewExternalBackend) MarshalBinary ¶
func (m *NewExternalBackend) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (NewExternalBackend) MarshalJSON ¶
func (m NewExternalBackend) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*NewExternalBackend) SetConfiguration ¶
func (m *NewExternalBackend) SetConfiguration(val ExternalBackendConfiguration)
SetConfiguration sets the configuration of this base type
func (*NewExternalBackend) UnmarshalBinary ¶
func (m *NewExternalBackend) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NewExternalBackend) UnmarshalJSON ¶
func (m *NewExternalBackend) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type NewInfraPolicy ¶ added in v1.0.58
type NewInfraPolicy struct { // The body field is the code in plain text that defines the rules for the policy. // Required: true Body *string `json:"body"` // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // description Description string `json:"description,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // User canonical that owns this InfraPolicy. When a user is the // owner of an InfraPolicy it has all the permissions on it. // // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Owner *string `json:"owner"` // severity // Required: true // Enum: [critical warning advisory] Severity *string `json:"severity"` }
NewInfraPolicy Create InfraPolicy
Create a new policy to control operations across infrastructure. swagger:model NewInfraPolicy
func (*NewInfraPolicy) MarshalBinary ¶ added in v1.0.58
func (m *NewInfraPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewInfraPolicy) UnmarshalBinary ¶ added in v1.0.58
func (m *NewInfraPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewKPI ¶ added in v1.0.58
type NewKPI struct { // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // The config represent some extra parameters which are required for the configuration of certain KPIs. Please refer to the documentation for more details. // Config interface{} `json:"config,omitempty"` // description Description string `json:"description,omitempty"` // environment canonical // Max Length: 100 // Min Length: 1 // Pattern: ^[\da-zA-Z]+(?:[\da-zA-Z\-._]+[\da-zA-Z]|[\da-zA-Z])$ EnvironmentCanonical string `json:"environment_canonical,omitempty"` // job name JobName string `json:"job_name,omitempty"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // pipeline name PipelineName string `json:"pipeline_name,omitempty"` // project canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ ProjectCanonical string `json:"project_canonical,omitempty"` // type // Required: true // Enum: [build_avg_time build_frequency build_history code_coverage time_to_release] Type *string `json:"type"` // widget // Required: true // Enum: [bars stackbars doughnut history line pie summary] Widget *string `json:"widget"` }
NewKPI New KPI
A KPI's configuration that needs to be saved swagger:model NewKPI
func (*NewKPI) MarshalBinary ¶ added in v1.0.58
MarshalBinary interface implementation
func (*NewKPI) UnmarshalBinary ¶ added in v1.0.58
UnmarshalBinary interface implementation
type NewMemberInvitation ¶
type NewMemberInvitation struct { // Invite user by email // Required: true // Format: email Email *strfmt.Email `json:"email"` // The role of the member. // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ RoleCanonical *string `json:"role_canonical"` }
NewMemberInvitation Invite user
Send an invitation to a user to something. Something can be to create an account, to join to an organization, to join to a team, etc. API operation determines the operation to perform. swagger:model NewMemberInvitation
func (*NewMemberInvitation) MarshalBinary ¶
func (m *NewMemberInvitation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewMemberInvitation) UnmarshalBinary ¶
func (m *NewMemberInvitation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewOAuthUser ¶
type NewOAuthUser struct { // Code of a country the user is from // Required: true // Pattern: ^[A-Z]{2}$ CountryCode *string `json:"country_code"` // email // Required: true // Format: email Email *strfmt.Email `json:"email"` // family name FamilyName string `json:"family_name,omitempty"` // given name // Required: true GivenName *string `json:"given_name"` // The field is used when a user signup from an invitation to an organization. Giving the token, the created user will be automatically added to the organization. // Min Length: 5 InvitationToken string `json:"invitation_token,omitempty"` // User's preferred language // Required: true // Enum: [en fr es] Locale *string `json:"locale"` // picture url // Format: uri PictureURL strfmt.URI `json:"picture_url,omitempty"` // social id // Required: true SocialID *string `json:"social_id"` // username // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Username *string `json:"username"` }
NewOAuthUser User's OAuth information
The User OAuth information swagger:model NewOAuthUser
func (*NewOAuthUser) MarshalBinary ¶
func (m *NewOAuthUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewOAuthUser) UnmarshalBinary ¶
func (m *NewOAuthUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewOrganization ¶
type NewOrganization struct { // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // name // Required: true // Min Length: 3 Name *string `json:"name"` }
NewOrganization Create Organization
The entity which represents a new organization to create in the application. swagger:model NewOrganization
func (*NewOrganization) MarshalBinary ¶
func (m *NewOrganization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewOrganization) UnmarshalBinary ¶
func (m *NewOrganization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewPipeline ¶
type NewPipeline struct { // Validate credentials manager variables in the pipeline config. CheckCredentials bool `json:"check_credentials,omitempty"` // environment // Required: true Environment *NewEnvironment `json:"environment"` // passed config // Required: true PassedConfig *string `json:"passed_config"` // pipeline name // Required: true // Max Length: 50 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-._]+[a-z0-9]+$ PipelineName *string `json:"pipeline_name"` // use case // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ UseCase string `json:"use_case,omitempty"` // yaml vars YamlVars string `json:"yaml_vars,omitempty"` }
NewPipeline Create Pipeline
The entity which represents a new pipeline to create in the application. swagger:model NewPipeline
func (*NewPipeline) MarshalBinary ¶
func (m *NewPipeline) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewPipeline) UnmarshalBinary ¶
func (m *NewPipeline) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewProject ¶
type NewProject struct { // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // config repository canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ ConfigRepositoryCanonical *string `json:"config_repository_canonical"` // A description regarding the project to help identify/remember details, // implementation, purpose, etc. // Description string `json:"description,omitempty"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // User canonical that owns this project. If omitted then the person // creating this project will be assigned as owner. When a user is the // owner of a project it has all the permissions on it. // Owner string `json:"owner,omitempty"` // pipelines // Required: true // Min Items: 1 Pipelines []*NewPipeline `json:"pipelines"` // It's the ref of the Service Catalog, like 'cycloidio:stack-magento' // Required: true ServiceCatalogRef *string `json:"service_catalog_ref"` }
NewProject Create Project
The entity which represents the information of a new project. swagger:model NewProject
func (*NewProject) MarshalBinary ¶
func (m *NewProject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewProject) UnmarshalBinary ¶
func (m *NewProject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewRole ¶
type NewRole struct { // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // description Description string `json:"description,omitempty"` // name // Required: true // Max Length: 100 // Min Length: 3 Name *string `json:"name"` // rules // Required: true Rules []*NewRule `json:"rules"` }
NewRole New role access control
New role represents the authorization level that a user has access to. A role contains a list of rules to define the access control. Note not all the entities supports roles access control; see the API endpoints to know which entities support them. swagger:model NewRole
func (*NewRole) MarshalBinary ¶
MarshalBinary interface implementation
func (*NewRole) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NewRule ¶ added in v1.0.58
type NewRule struct { // It can be the normal Policy.Code or contain globs like `*` or `**` // Required: true Action *string `json:"action"` // effect // Required: true // Enum: [allow] Effect *string `json:"effect"` // It is the list of resources in which this Rule applies to, the format of it is the one on the Policy.Code but with the `canonical` of the entities like `organization:org-can:team:team-can` for an action of `organization:team:read` Resources []string `json:"resources"` }
NewRule NewRule
NewRule represents an existing or new permission or constraint to access to an entity of the system. A Rule is aggregated into roles in order to be applied. swagger:model NewRule
func (*NewRule) MarshalBinary ¶ added in v1.0.58
MarshalBinary interface implementation
func (*NewRule) UnmarshalBinary ¶ added in v1.0.58
UnmarshalBinary interface implementation
type NewServiceCatalog ¶
type NewServiceCatalog struct { // author // Required: true Author *string `json:"author"` // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // created at // Minimum: 0 CreatedAt *uint64 `json:"created_at,omitempty"` // dependencies Dependencies []*ServiceCatalogDependency `json:"dependencies"` // description // Required: true Description *string `json:"description"` // image // Format: uri Image strfmt.URI `json:"image,omitempty"` // keywords // Required: true Keywords []string `json:"keywords"` // name // Required: true Name *string `json:"name"` // service catalog source canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ ServiceCatalogSourceCanonical *string `json:"service_catalog_source_canonical"` // status Status string `json:"status,omitempty"` // technologies Technologies []*ServiceCatalogTechnology `json:"technologies"` // updated at // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` }
NewServiceCatalog Service Catalog
Represents the Service Catalog item swagger:model NewServiceCatalog
func (*NewServiceCatalog) MarshalBinary ¶
func (m *NewServiceCatalog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewServiceCatalog) UnmarshalBinary ¶
func (m *NewServiceCatalog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewServiceCatalogSource ¶ added in v1.0.64
type NewServiceCatalogSource struct { // branch // Required: true Branch *string `json:"branch"` // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // credential canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ CredentialCanonical string `json:"credential_canonical,omitempty"` // name // Required: true Name *string `json:"name"` // User canonical that owns this service catalog source. If omitted then the person // creating this service catalog source will be assigned as owner. When a user is the // owner of a service catalog source they has all the permissions on it. // Owner string `json:"owner,omitempty"` // url // Required: true // Pattern: (?:http|https|git|ssh|git@[-\w.]+):(\/\/)?(.*?)(\.git)?(\/?|\#[-\d\w._]+?)$ URL *string `json:"url"` }
NewServiceCatalogSource NewServiceCatalogSource swagger:model NewServiceCatalogSource
func (*NewServiceCatalogSource) MarshalBinary ¶ added in v1.0.64
func (m *NewServiceCatalogSource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewServiceCatalogSource) UnmarshalBinary ¶ added in v1.0.64
func (m *NewServiceCatalogSource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewSubscription ¶ added in v1.0.58
type NewSubscription struct { // plan canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ PlanCanonical *string `json:"plan_canonical"` }
NewSubscription New Subscription
It reflects the creation of a Subscription swagger:model NewSubscription
func (*NewSubscription) MarshalBinary ¶ added in v1.0.58
func (m *NewSubscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewSubscription) UnmarshalBinary ¶ added in v1.0.58
func (m *NewSubscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewTeam ¶
type NewTeam struct { // canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical string `json:"canonical,omitempty"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // User canonical that owns this team. If omitted then the person // creating this team will be assigned as owner. When a user is the // owner of a team it has all the permissions on it. // Owner string `json:"owner,omitempty"` // The roles to be assigned to a team. // Required: true RolesCanonical []string `json:"roles_canonical"` }
NewTeam Create Team
The entity which represents the information of a new team. swagger:model NewTeam
func (*NewTeam) MarshalBinary ¶
MarshalBinary interface implementation
func (*NewTeam) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NewTeamMemberAssignation ¶
type NewTeamMemberAssignation struct { // Assign user by username // Required: true Username *string `json:"username"` }
NewTeamMemberAssignation Assign user
Member is a user assigned to a Team swagger:model NewTeamMemberAssignation
func (*NewTeamMemberAssignation) MarshalBinary ¶
func (m *NewTeamMemberAssignation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewTeamMemberAssignation) UnmarshalBinary ¶
func (m *NewTeamMemberAssignation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewUserAccount ¶ added in v1.0.64
type NewUserAccount struct { // Code of a country the user is from // Required: true // Pattern: ^[A-Z]{2}$ CountryCode *string `json:"country_code"` // email // Required: true // Format: email Email *strfmt.Email `json:"email"` // family name // Required: true // Min Length: 2 FamilyName *string `json:"family_name"` // given name // Required: true // Min Length: 2 GivenName *string `json:"given_name"` // The field is used when a user signup from an invitation to an organization. Giving the token, the created user will be automatically added to the organization. // Min Length: 5 InvitationToken string `json:"invitation_token,omitempty"` // User's preferred language // Required: true // Enum: [en fr es] Locale *string `json:"locale"` // password // Required: true // Min Length: 8 // Format: password Password *strfmt.Password `json:"password"` // username // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Username *string `json:"username"` }
NewUserAccount Sign up
Create a new user account. swagger:model NewUserAccount
func (*NewUserAccount) MarshalBinary ¶ added in v1.0.64
func (m *NewUserAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewUserAccount) UnmarshalBinary ¶ added in v1.0.64
func (m *NewUserAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OnFailurePlan ¶
type OnFailurePlan struct { // next // Required: true Next *Plan `json:"next"` // step // Required: true Step *Plan `json:"step"` }
OnFailurePlan OnFailurePlan
The plan definition when the action has failed. swagger:model OnFailurePlan
func (*OnFailurePlan) MarshalBinary ¶
func (m *OnFailurePlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OnFailurePlan) UnmarshalBinary ¶
func (m *OnFailurePlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OnSuccessPlan ¶
type OnSuccessPlan struct { // next // Required: true Next *Plan `json:"next"` // step // Required: true Step *Plan `json:"step"` }
OnSuccessPlan OnSuccessPlan
The plan definition when the action has been successful. swagger:model OnSuccessPlan
func (*OnSuccessPlan) MarshalBinary ¶
func (m *OnSuccessPlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OnSuccessPlan) UnmarshalBinary ¶
func (m *OnSuccessPlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Organization ¶
type Organization struct { // admins Admins []*MemberOrg `json:"admins"` // blocked // Required: true Blocked []string `json:"blocked"` // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // ci team name // Required: true CiTeamName *string `json:"ci_team_name"` // created at // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // subscription Subscription *Subscription `json:"subscription,omitempty"` // updated at // Required: true // Minimum: 0 UpdatedAt *uint64 `json:"updated_at"` }
Organization Organization
The entity which holds all the direct information attached to an organization. swagger:model Organization
func (*Organization) MarshalBinary ¶
func (m *Organization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Organization) UnmarshalBinary ¶
func (m *Organization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PageConcourse ¶
type PageConcourse struct { // The maximum number of entities to return // Required: true Limit *uint64 `json:"limit"` // Entities returned should have a higher timestamp than this one // Required: true Since *uint64 `json:"since"` // Entities returned should have a lower timestamp than this one // Required: true Until *uint64 `json:"until"` }
PageConcourse PageConcourse swagger:model PageConcourse
func (*PageConcourse) MarshalBinary ¶
func (m *PageConcourse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PageConcourse) UnmarshalBinary ¶
func (m *PageConcourse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Pagination ¶
type Pagination struct { // The index of the page sent (the first page is 1). // Required: true // Minimum: 1 Index *uint64 `json:"index"` // The size of the page (the number of entities per page) // Required: true // Minimum: 1 Size *uint64 `json:"size"` // The total number of items. // Required: true // Minimum: 0 Total *uint64 `json:"total"` }
Pagination Pagination swagger:model Pagination
func (*Pagination) MarshalBinary ¶
func (m *Pagination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Pagination) UnmarshalBinary ¶
func (m *Pagination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaginationAWS ¶
type PaginationAWS struct { // The token to retrieve the next page of results. Empty string when there isn't a next page. // Required: true Next *string `json:"next"` }
PaginationAWS AWS Pagination swagger:model PaginationAWS
func (*PaginationAWS) MarshalBinary ¶
func (m *PaginationAWS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaginationAWS) UnmarshalBinary ¶
func (m *PaginationAWS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaginationConcourse ¶
type PaginationConcourse struct { // next // Required: true Next *PageConcourse `json:"next"` // previous // Required: true Previous *PageConcourse `json:"previous"` }
PaginationConcourse PaginationConcourse swagger:model PaginationConcourse
func (*PaginationConcourse) MarshalBinary ¶
func (m *PaginationConcourse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaginationConcourse) UnmarshalBinary ¶
func (m *PaginationConcourse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PendingInvite ¶
type PendingInvite struct { // email // Required: true // Format: email Email *strfmt.Email `json:"email"` }
PendingInvite PendingInvite
Contains the email used for the invitation swagger:model PendingInvite
func (*PendingInvite) MarshalBinary ¶
func (m *PendingInvite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PendingInvite) UnmarshalBinary ¶
func (m *PendingInvite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PinComment ¶
type PinComment struct { // pin comment // Required: true PinComment *string `json:"pin_comment"` }
PinComment PinComment
Represents a pin comment of a resource swagger:model PinComment
func (*PinComment) MarshalBinary ¶
func (m *PinComment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PinComment) UnmarshalBinary ¶
func (m *PinComment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Pipeline ¶
type Pipeline struct { // environment // Required: true // Pattern: ^[\da-zA-Z]+(?:(?:[\da-zA-Z\-._]+)?[\da-zA-Z])?$ Environment *string `json:"environment"` // groups Groups []*GroupConfig `json:"groups"` // id // Required: true ID *uint64 `json:"id"` // name // Required: true Name *string `json:"name"` // paused // Required: true Paused *bool `json:"paused"` // project // Required: true Project *Project `json:"project"` // public // Required: true Public *bool `json:"public"` // team name // Required: true TeamName *string `json:"team_name"` // use case // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ UseCase *string `json:"use_case"` }
Pipeline Pipeline
The entity which represents a pipeline in the application.
swagger:model Pipeline
func (*Pipeline) MarshalBinary ¶
MarshalBinary interface implementation
func (*Pipeline) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PipelineDiff ¶
type PipelineDiff struct { // Represents the diff of all configuration line for an element // Required: true Diff []*PipelineDiffRecord `json:"diff"` // Represents the name of the element in a pipeline. For example the job name for jobs section // Required: true Name *string `json:"name"` // Represents the status of the element (added, removed, changed) // Required: true // Enum: [added removed changed] Status *string `json:"status"` }
PipelineDiff PipelineDiff
Represents a diff element of a PipelineDiffs. swagger:model PipelineDiff
func (*PipelineDiff) MarshalBinary ¶
func (m *PipelineDiff) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PipelineDiff) UnmarshalBinary ¶
func (m *PipelineDiff) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PipelineDiffRecord ¶
type PipelineDiffRecord struct { // Represents the type of delta (added, removed, changed, equals) for the text line // Required: true DeltaType *string `json:"delta_type"` // Represents a text line in a pipeline configuration // Required: true Line *string `json:"line"` }
PipelineDiffRecord PipelineDiffRecord
Represents a diff record of a pipeline diff swagger:model PipelineDiffRecord
func (*PipelineDiffRecord) MarshalBinary ¶
func (m *PipelineDiffRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PipelineDiffRecord) UnmarshalBinary ¶
func (m *PipelineDiffRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PipelineDiffs ¶
type PipelineDiffs struct { // groups Groups []*PipelineDiff `json:"groups"` // jobs Jobs []*PipelineDiff `json:"jobs"` // resource types ResourceTypes []*PipelineDiff `json:"resource_types"` // resources Resources []*PipelineDiff `json:"resources"` }
PipelineDiffs PipelineDiffs
Represents the diffs between two pipelines swagger:model PipelineDiffs
func (*PipelineDiffs) MarshalBinary ¶
func (m *PipelineDiffs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PipelineDiffs) UnmarshalBinary ¶
func (m *PipelineDiffs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PipelineVariables ¶
type PipelineVariables struct { // The has_saved_yaml_vars specifies whether the returned vars are from // the saved ones or the sample ones. If the has_saved_yaml_vars is true, // it means that the saved have been returned. // // Required: true HasSavedYamlVars *bool `json:"has_saved_yaml_vars"` // yaml vars // Required: true YamlVars *string `json:"yaml_vars"` }
PipelineVariables Pipeline variables
The entity which contains pipeline's variables. swagger:model PipelineVariables
func (*PipelineVariables) MarshalBinary ¶
func (m *PipelineVariables) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PipelineVariables) UnmarshalBinary ¶
func (m *PipelineVariables) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Plan ¶
type Plan struct { // aggregate Aggregate string `json:"aggregate,omitempty"` // attempts Attempts []uint32 `json:"attempts"` // do Do []*Plan `json:"do"` // ensure Ensure *EnsurePlan `json:"ensure,omitempty"` // get Get *GetPlan `json:"get,omitempty"` // id // Required: true ID *string `json:"id"` // on failure OnFailure *OnFailurePlan `json:"on_failure,omitempty"` // on success OnSuccess *OnSuccessPlan `json:"on_success,omitempty"` // put Put *PutPlan `json:"put,omitempty"` // retry Retry []*Plan `json:"retry"` // task Task *TaskPlan `json:"task,omitempty"` // timeout Timeout *TimeoutPlan `json:"timeout,omitempty"` // try Try *TryPlan `json:"try,omitempty"` }
Plan Plan
The plan is what represent a concourse build. swagger:model Plan
func (*Plan) MarshalBinary ¶
MarshalBinary interface implementation
func (*Plan) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PlanConfig ¶
type PlanConfig struct { // aggregate Aggregate []*PlanConfig `json:"aggregate"` // conditions Conditions []string `json:"conditions"` // do Do []*PlanConfig `json:"do"` // get Get string `json:"get,omitempty"` // params Params map[string]interface{} `json:"params,omitempty"` // passed Passed []string `json:"passed"` // privileged Privileged bool `json:"privileged,omitempty"` // put Put string `json:"put,omitempty"` // raw name RawName string `json:"raw_name,omitempty"` // raw trigger RawTrigger bool `json:"raw_trigger,omitempty"` // resource Resource string `json:"resource,omitempty"` // task Task string `json:"task,omitempty"` // task config TaskConfig *TaskConfig `json:"taskConfig,omitempty"` // task config path TaskConfigPath string `json:"taskConfigPath,omitempty"` }
PlanConfig PlanConfig
The plan configuration when creating new build. swagger:model PlanConfig
func (*PlanConfig) MarshalBinary ¶
func (m *PlanConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanConfig) UnmarshalBinary ¶
func (m *PlanConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Policy ¶
type Policy struct { // code // Required: true // Max Length: 60 // Min Length: 5 // Pattern: (?:[a-z]+_)*[a-z]+(?::(?:[a-z]+_)*[a-z]+)*$ Code *string `json:"code"` // created at // Minimum: 0 CreatedAt *uint64 `json:"created_at,omitempty"` // description // Required: true Description *string `json:"description"` // entities Entities []string `json:"entities"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // updated at // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` }
Policy Policy
Policy represents a permission or constraint to access to an entity of the system. A policy is aggregated into roles in order to be applied. swagger:model Policy
func (*Policy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Policy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Preparation ¶
type Preparation struct { // build id // Required: true BuildID *string `json:"build_id"` // inputs // Required: true Inputs interface{} `json:"inputs"` // inputs satisfied // Required: true InputsSatisfied interface{} `json:"inputs_satisfied"` // max running builds // Required: true MaxRunningBuilds *string `json:"max_running_builds"` // missing input reasons // Required: true MissingInputReasons interface{} `json:"missing_input_reasons"` // paused job // Required: true PausedJob *string `json:"paused_job"` // paused pipeline // Required: true PausedPipeline *string `json:"paused_pipeline"` }
Preparation Preparation swagger:model Preparation
func (*Preparation) MarshalBinary ¶
func (m *Preparation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Preparation) UnmarshalBinary ¶
func (m *Preparation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Project ¶
type Project struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // config repository canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ ConfigRepositoryCanonical string `json:"config_repository_canonical,omitempty"` // created at // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // description Description string `json:"description,omitempty"` // environments // Required: true Environments []*Environment `json:"environments"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // Organization member that owns this project. When a user is the owner of a // project it has all the permissions on it. // In the event where the user has been deleted that field might be empty. // Owner *User `json:"owner,omitempty"` // It's the ref of the Service Catalog, like 'cycloidio:stack-magento' // Required: true ServiceCatalogRef *string `json:"service_catalog_ref"` // updated at // Required: true // Minimum: 0 UpdatedAt *uint64 `json:"updated_at"` }
Project Project
The entity which represents the information of a project. swagger:model Project
func (*Project) MarshalBinary ¶
MarshalBinary interface implementation
func (*Project) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ProjectEnvironmentConfig ¶
type ProjectEnvironmentConfig struct { // forms // Required: true Forms FormsFile `json:"forms"` // The use case picked for that environment // Required: true UseCase *string `json:"use_case"` }
ProjectEnvironmentConfig Project Environment Config
Representation of project's environment configuration done via the forms. The full forms file is returned, but the use-case picked has the Set variables matching the current configuration - if any.
swagger:model ProjectEnvironmentConfig
func (*ProjectEnvironmentConfig) MarshalBinary ¶
func (m *ProjectEnvironmentConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectEnvironmentConfig) UnmarshalBinary ¶
func (m *ProjectEnvironmentConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectsItem ¶
type ProjectsItem struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // created at // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // description Description string `json:"description,omitempty"` // environments // Required: true Environments []*Environment `json:"environments"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // Organization member that owns this project. When a user is the owner of a // project it has all the permissions on it. // In the event where the user has been deleted that field might be empty. // Owner *User `json:"owner,omitempty"` // The Service Catalog that was used to create project. // Required: true ServiceCatalog *ServiceCatalog `json:"service_catalog"` // updated at // Required: true // Minimum: 0 UpdatedAt *uint64 `json:"updated_at"` }
ProjectsItem Projects Item
The information of a project when is shown in a list swagger:model ProjectsItem
func (*ProjectsItem) MarshalBinary ¶
func (m *ProjectsItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectsItem) UnmarshalBinary ¶
func (m *ProjectsItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicBuildInput ¶
type PublicBuildInput struct { // first occurrence // Required: true FirstOccurrence *bool `json:"first_occurrence"` // name // Required: true Name *string `json:"name"` // pipeline id // Required: true PipelineID *uint64 `json:"pipeline_id"` // version // Required: true Version map[string]string `json:"version"` }
PublicBuildInput PublicBuildInput
Represent the information of a build input swagger:model PublicBuildInput
func (*PublicBuildInput) MarshalBinary ¶
func (m *PublicBuildInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicBuildInput) UnmarshalBinary ¶
func (m *PublicBuildInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicBuildOutput ¶
type PublicBuildOutput struct { // name // Required: true Name *string `json:"name"` // version // Required: true Version map[string]string `json:"version"` }
PublicBuildOutput PublicBuildOutput
Represents the information of a build output swagger:model PublicBuildOutput
func (*PublicBuildOutput) MarshalBinary ¶
func (m *PublicBuildOutput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicBuildOutput) UnmarshalBinary ¶
func (m *PublicBuildOutput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicPlan ¶
type PublicPlan struct { // plan // Required: true Plan interface{} `json:"plan"` // schema // Required: true Schema *string `json:"schema"` }
PublicPlan PublicPlan
The public plan returned requesting a build plan. swagger:model PublicPlan
func (*PublicPlan) MarshalBinary ¶
func (m *PublicPlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicPlan) UnmarshalBinary ¶
func (m *PublicPlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutPlan ¶
type PutPlan struct { // name Name string `json:"name,omitempty"` // params Params map[string]interface{} `json:"params,omitempty"` // resource // Required: true Resource *string `json:"resource"` // source // Required: true Source map[string]interface{} `json:"source"` // tags Tags []string `json:"tags"` // type // Required: true Type *string `json:"type"` // versioned resource types VersionedResourceTypes []*VersionedResourceType `json:"versioned_resource_types"` }
PutPlan PutPlan
The put plan following a plan. swagger:model PutPlan
func (*PutPlan) MarshalBinary ¶
MarshalBinary interface implementation
func (*PutPlan) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Resource ¶
type Resource struct { // check error CheckError string `json:"check_error,omitempty"` // check setup error CheckSetupError string `json:"check_setup_error,omitempty"` // failing to check FailingToCheck bool `json:"failing_to_check,omitempty"` // icon Icon string `json:"icon,omitempty"` // last checked LastChecked uint64 `json:"last_checked,omitempty"` // name // Required: true Name *string `json:"name"` // pin comment PinComment string `json:"pin_comment,omitempty"` // pinned in config PinnedInConfig bool `json:"pinned_in_config,omitempty"` // pinned version PinnedVersion map[string]string `json:"pinned_version,omitempty"` // type // Required: true Type *string `json:"type"` }
Resource Resouce
The entity which represents a resource in the application. swagger:model Resource
func (*Resource) MarshalBinary ¶
MarshalBinary interface implementation
func (*Resource) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ResourceCheck ¶
type ResourceCheck struct { // check error CheckError string `json:"check_error,omitempty"` // create time CreateTime uint64 `json:"create_time,omitempty"` // end time EndTime uint64 `json:"end_time,omitempty"` // id ID uint64 `json:"id,omitempty"` // start time StartTime uint64 `json:"start_time,omitempty"` // status Status string `json:"status,omitempty"` }
ResourceCheck ResourceCheck
The entity which represents a resource check in the application. swagger:model ResourceCheck
func (*ResourceCheck) MarshalBinary ¶
func (m *ResourceCheck) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceCheck) UnmarshalBinary ¶
func (m *ResourceCheck) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceVersion ¶
type ResourceVersion struct { // enabled // Required: true Enabled *bool `json:"enabled"` // id // Required: true ID *uint64 `json:"id"` // metadata Metadata []*MetadataField `json:"metadata"` // version // Required: true Version map[string]string `json:"version"` }
ResourceVersion ResourceVersion
Represent the outputs of a job swagger:model ResourceVersion
func (*ResourceVersion) MarshalBinary ¶
func (m *ResourceVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceVersion) UnmarshalBinary ¶
func (m *ResourceVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Role ¶
type Role struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // created at // Minimum: 0 CreatedAt *uint64 `json:"created_at,omitempty"` // default // Required: true Default *bool `json:"default"` // description // Required: true Description *string `json:"description"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // name // Required: true // Max Length: 100 // Min Length: 3 Name *string `json:"name"` // rules // Required: true Rules []*Rule `json:"rules"` // updated at // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` }
Role Role access control
Role represents the authorization level that an user has to access to a specific entity of the system. A role contains a list of rules to define the access control. Note not all the entities supports roles access control; see the API endpoints to know which entities support them. swagger:model Role
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Rule ¶ added in v1.0.58
type Rule struct { // It can be the normal Policy.Code or contain globs like `*` or `**` // Required: true Action *string `json:"action"` // effect // Required: true // Enum: [allow] Effect *string `json:"effect"` // This is the id of the row from the database, but for blocking organizations we generate rules that are not in the database. When this happens the id is allowed to be 0. // Required: true // Minimum: 0 ID *uint32 `json:"id"` // It is the list of resources in which this Rule applies to, the format of it is the one on the Policy.Code but with the `canonical` of the entities like `organization:org-can:team:team-can` for an action of `organization:team:read` Resources []string `json:"resources"` }
Rule Rule
Rules define the specific access to the platform swagger:model Rule
func (*Rule) MarshalBinary ¶ added in v1.0.58
MarshalBinary interface implementation
func (*Rule) UnmarshalBinary ¶ added in v1.0.58
UnmarshalBinary interface implementation
type SCConfig ¶
type SCConfig struct { // Config files that will be created // Required: true Configs []*ConfigFile `json:"configs"` }
SCConfig SC Config
This entity is being used for automatic creation of SC config swagger:model SCConfig
func (*SCConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*SCConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServiceCatalog ¶
type ServiceCatalog struct { // author // Required: true Author *string `json:"author"` // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // created at // Minimum: 0 CreatedAt *uint64 `json:"created_at,omitempty"` // dependencies Dependencies []*ServiceCatalogDependency `json:"dependencies"` // description // Required: true Description *string `json:"description"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // image // Format: uri Image strfmt.URI `json:"image,omitempty"` // keywords // Required: true Keywords []string `json:"keywords"` // name // Required: true Name *string `json:"name"` // ref // Required: true Ref *string `json:"ref"` // service catalog source canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ ServiceCatalogSourceCanonical *string `json:"service_catalog_source_canonical"` // status Status string `json:"status,omitempty"` // technologies Technologies []*ServiceCatalogTechnology `json:"technologies"` // If 'true' the ServiceCatalog is from the main organization and can be trusted. // Required: true Trusted *bool `json:"trusted"` // updated at // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` }
ServiceCatalog Service Catalog
Represents the Service Catalog item swagger:model ServiceCatalog
func (*ServiceCatalog) MarshalBinary ¶
func (m *ServiceCatalog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceCatalog) UnmarshalBinary ¶
func (m *ServiceCatalog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceCatalogChanges ¶
type ServiceCatalogChanges struct { // created // Required: true Created []*ServiceCatalog `json:"created"` // deleted // Required: true Deleted []*ServiceCatalog `json:"deleted"` // updated // Required: true Updated []*ServiceCatalog `json:"updated"` }
ServiceCatalogChanges ServiceCatalogChanges
Represents list of service catalogs changes during the refresh of a service catalog source. swagger:model ServiceCatalogChanges
func (*ServiceCatalogChanges) MarshalBinary ¶
func (m *ServiceCatalogChanges) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceCatalogChanges) UnmarshalBinary ¶
func (m *ServiceCatalogChanges) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceCatalogDependenciesValidationResult ¶
type ServiceCatalogDependenciesValidationResult struct { // errors // Required: true Errors []string `json:"errors"` // warnings // Required: true Warnings []string `json:"warnings"` }
ServiceCatalogDependenciesValidationResult ServiceCatalogValidationResult
The result of the Service Catalog dependencies validation. If errors and warnings are empty then it means that the dependencies are respected. swagger:model ServiceCatalogDependenciesValidationResult
func (*ServiceCatalogDependenciesValidationResult) MarshalBinary ¶
func (m *ServiceCatalogDependenciesValidationResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceCatalogDependenciesValidationResult) UnmarshalBinary ¶
func (m *ServiceCatalogDependenciesValidationResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceCatalogDependency ¶
type ServiceCatalogDependency struct { // ref Ref string `json:"ref,omitempty"` // required Required bool `json:"required,omitempty"` }
ServiceCatalogDependency ServiceCatalogDependency
Service Catalog Dependency identifies ServiceCatalog being dependency of other swagger:model ServiceCatalogDependency
func (*ServiceCatalogDependency) MarshalBinary ¶
func (m *ServiceCatalogDependency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceCatalogDependency) UnmarshalBinary ¶
func (m *ServiceCatalogDependency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceCatalogSource ¶
type ServiceCatalogSource struct { // branch Branch string `json:"branch,omitempty"` // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // Represents map of service catalogs changes during the update of a service catalog source. Used only for update action on a service catalog source. Changes *ServiceCatalogChanges `json:"changes,omitempty"` // created at // Minimum: 0 CreatedAt *uint64 `json:"created_at,omitempty"` // credential canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ CredentialCanonical string `json:"credential_canonical,omitempty"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // name // Required: true Name *string `json:"name"` // Organization member that owns this service catalog source. When a user is the owner of a // service catalog source they has all the permissions on it. // In the event where the user has been deleted this field might be empty. // // Required: true Owner *MemberOrg `json:"owner"` // The last time the Service Catalog Source was (successfully) refreshed. // Minimum: 0 RefreshedAt *uint64 `json:"refreshed_at,omitempty"` // Represents list of service catalogs in the service catalog source. Not used during update action on a service catalog source. ServiceCatalogs []*ServiceCatalog `json:"service_catalogs"` // stack count // Required: true // Minimum: 0 StackCount *uint32 `json:"stack_count"` // updated at // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` // url // Required: true // Pattern: (?:http|https|git|ssh|git@[-\w.]+):(\/\/)?(.*?)(\.git)?(\/?|\#[-\d\w._]+?)$ URL *string `json:"url"` }
ServiceCatalogSource ServiceCatalogSource swagger:model ServiceCatalogSource
func (*ServiceCatalogSource) MarshalBinary ¶
func (m *ServiceCatalogSource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceCatalogSource) UnmarshalBinary ¶
func (m *ServiceCatalogSource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceCatalogTechnology ¶
type ServiceCatalogTechnology struct { // technology Technology string `json:"technology,omitempty"` // version Version string `json:"version,omitempty"` }
ServiceCatalogTechnology ServiceCatalogTechnology
ServiceCatalogTechnology is a Technology of the Service Catalog swagger:model ServiceCatalogTechnology
func (*ServiceCatalogTechnology) MarshalBinary ¶
func (m *ServiceCatalogTechnology) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceCatalogTechnology) UnmarshalBinary ¶
func (m *ServiceCatalogTechnology) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Subscription ¶ added in v1.0.58
type Subscription struct { // expires at // Required: true // Minimum: 0 ExpiresAt *uint64 `json:"expires_at"` // plan // Required: true Plan *SubscriptionPlan `json:"plan"` }
Subscription Subscription
It reflects the relation between an Organization and a Plan which could be the Free Trial or others, for more info check https://www.cycloid.io/pricing
swagger:model Subscription
func (*Subscription) MarshalBinary ¶ added in v1.0.58
func (m *Subscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Subscription) UnmarshalBinary ¶ added in v1.0.58
func (m *Subscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriptionPlan ¶ added in v1.0.58
type SubscriptionPlan struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // name // Required: true // Min Length: 3 Name *string `json:"name"` }
SubscriptionPlan SubscriptionPlan
It reflects the Plan used for the subscription swagger:model SubscriptionPlan
func (*SubscriptionPlan) MarshalBinary ¶ added in v1.0.58
func (m *SubscriptionPlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriptionPlan) UnmarshalBinary ¶ added in v1.0.58
func (m *SubscriptionPlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Summary ¶
type Summary struct { // config repositories // Required: true ConfigRepositories *uint64 `json:"config_repositories"` // credentials // Required: true Credentials *uint64 `json:"credentials"` // pipelines // Required: true Pipelines *uint64 `json:"pipelines"` // projects // Required: true Projects *uint64 `json:"projects"` // roles // Required: true Roles *uint64 `json:"roles"` // service catalog sources // Required: true ServiceCatalogSources *uint64 `json:"service_catalog_sources"` // teams // Required: true Teams *uint64 `json:"teams"` // users // Required: true Users *uint64 `json:"users"` }
Summary Summary of the organization swagger:model Summary
func (*Summary) MarshalBinary ¶
MarshalBinary interface implementation
func (*Summary) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SwiftRemoteTFState ¶
type SwiftRemoteTFState struct { // The Swift container containing objects // // Required: true Container *string `json:"container"` // The swift object uniquely identifying an object in a container // // Required: true Object *string `json:"object"` // The Swift region were the resource exists // // Required: true Region *string `json:"region"` // Set this to `true` to not verify SSL certificates // SkipVerifySsl bool `json:"skip_verify_ssl,omitempty"` }
SwiftRemoteTFState Representation of Swift remote tf state for external backend.
swagger:model SwiftRemoteTFState
func (*SwiftRemoteTFState) Engine ¶
func (m *SwiftRemoteTFState) Engine() string
Engine gets the engine of this subtype
func (*SwiftRemoteTFState) MarshalBinary ¶
func (m *SwiftRemoteTFState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (SwiftRemoteTFState) MarshalJSON ¶
func (m SwiftRemoteTFState) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*SwiftRemoteTFState) SetEngine ¶
func (m *SwiftRemoteTFState) SetEngine(val string)
SetEngine sets the engine of this subtype
func (*SwiftRemoteTFState) UnmarshalBinary ¶
func (m *SwiftRemoteTFState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SwiftRemoteTFState) UnmarshalJSON ¶
func (m *SwiftRemoteTFState) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type Tag ¶
type Tag struct { // key // Required: true // Max Length: 254 // Min Length: 1 Key *string `json:"key"` // value // Required: true // Max Length: 254 // Pattern: ^(?:[\w\-+=.:/@ ]*)$ Value *string `json:"value"` }
Tag Key and value pair
Key and value pair defined with the widely adopted name, tag. swagger:model Tag
func (*Tag) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TaskConfig ¶
type TaskConfig struct { // image Image string `json:"image,omitempty"` // inputs Inputs []*TaskInputConfig `json:"inputs"` // params Params map[string]string `json:"params,omitempty"` // platform Platform string `json:"platform,omitempty"` // run Run *TaskRunConfig `json:"run,omitempty"` // tags Tags []string `json:"tags"` }
TaskConfig TaskConfig
The configuration of a concourse task. swagger:model TaskConfig
func (*TaskConfig) MarshalBinary ¶
func (m *TaskConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskConfig) UnmarshalBinary ¶
func (m *TaskConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaskInputConfig ¶
type TaskInputConfig struct { // name // Required: true Name *string `json:"name"` // path Path string `json:"path,omitempty"` }
TaskInputConfig TaskInputConfig
The configuration of inputs for concourse tasks. swagger:model TaskInputConfig
func (*TaskInputConfig) MarshalBinary ¶
func (m *TaskInputConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskInputConfig) UnmarshalBinary ¶
func (m *TaskInputConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaskPlan ¶
type TaskPlan struct { // config Config *TaskConfig `json:"config,omitempty"` // config path ConfigPath string `json:"config_path,omitempty"` // image artifact name ImageArtifactName string `json:"image_artifact_name,omitempty"` // input mapping InputMapping map[string]string `json:"input_mapping,omitempty"` // name Name string `json:"name,omitempty"` // output mapping OutputMapping map[string]string `json:"output_mapping,omitempty"` // params Params map[string]interface{} `json:"params,omitempty"` // privileged // Required: true Privileged *bool `json:"privileged"` // tags Tags []string `json:"tags"` // versioned resource types VersionedResourceTypes []*VersionedResourceType `json:"versioned_resource_types"` }
TaskPlan TaskPlan
The task plan. swagger:model TaskPlan
func (*TaskPlan) MarshalBinary ¶
MarshalBinary interface implementation
func (*TaskPlan) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TaskRunConfig ¶
type TaskRunConfig struct { // args Args []string `json:"args"` // path // Min Length: 3 Path string `json:"path,omitempty"` }
TaskRunConfig TaskRunConfig
The configuration of a concourse task-run. swagger:model TaskRunConfig
func (*TaskRunConfig) MarshalBinary ¶
func (m *TaskRunConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskRunConfig) UnmarshalBinary ¶
func (m *TaskRunConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Team ¶
type Team struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // created at // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // The total count of members of the team. // Required: true MemberCount *uint32 `json:"member_count"` // Preview of the list of team members, limited to 6 members. // Required: true // Max Items: 6 MembersPreview []*MemberTeam `json:"members_preview"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // Organization member that owns this team. When a user is the owner of a // team it has all the permissions on it. // In the event where the user has been deleted this field might be empty. // // Required: true Owner *MemberOrg `json:"owner"` // roles // Required: true // Min Items: 1 Roles []*Role `json:"roles"` // updated at // Required: true // Minimum: 0 UpdatedAt *uint64 `json:"updated_at"` }
Team Team
The entity which represents the information of a team. swagger:model Team
func (*Team) MarshalBinary ¶
MarshalBinary interface implementation
func (*Team) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TerraformHCLConfig ¶
type TerraformHCLConfig struct { // config // Required: true Config *string `json:"config"` }
TerraformHCLConfig TerraformHCLConfig
The HCL config for Terraform swagger:model TerraformHCLConfig
func (*TerraformHCLConfig) MarshalBinary ¶
func (m *TerraformHCLConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TerraformHCLConfig) UnmarshalBinary ¶
func (m *TerraformHCLConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TerraformImage ¶
type TerraformImage struct { // image // Required: true // Format: byte Image *strfmt.Base64 `json:"image"` }
TerraformImage TerraformImage
The Image from the TF structure swagger:model TerraformImage
func (*TerraformImage) MarshalBinary ¶
func (m *TerraformImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TerraformImage) UnmarshalBinary ¶
func (m *TerraformImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TerraformJSONConfig ¶
type TerraformJSONConfig struct { // config // Required: true Config interface{} `json:"config"` }
TerraformJSONConfig TerraformJSONConfig
The JSON config for Terraform swagger:model TerraformJSONConfig
func (*TerraformJSONConfig) MarshalBinary ¶
func (m *TerraformJSONConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TerraformJSONConfig) UnmarshalBinary ¶
func (m *TerraformJSONConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TerraformJSONDiagram ¶
type TerraformJSONDiagram interface{}
TerraformJSONDiagram TerraformDiagram
The JSON Diagram structure swagger:model TerraformJSONDiagram
type TerraformPlanInput ¶ added in v1.0.58
type TerraformPlanInput struct { // Terraform plan file in escaped JSON format. See more: https://www.terraform.io/docs/internals/json-format.html // Required: true Tfplan *string `json:"tfplan"` }
TerraformPlanInput TerraformPlanInput
Input for endpoints that require a Terraform plan. swagger:model TerraformPlanInput
func (*TerraformPlanInput) MarshalBinary ¶ added in v1.0.58
func (m *TerraformPlanInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TerraformPlanInput) UnmarshalBinary ¶ added in v1.0.58
func (m *TerraformPlanInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TerraformProvider ¶
type TerraformProvider struct { // abbreviation // Required: true Abbreviation *string `json:"abbreviation"` // canonical // Required: true // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // cloud // Required: true Cloud *bool `json:"cloud"` // image // Required: true // Format: uri Image *strfmt.URI `json:"image"` // name // Required: true Name *string `json:"name"` // schema // Required: true Schema interface{} `json:"schema"` }
TerraformProvider Provider
Provider of infrastrucutre swagger:model TerraformProvider
func (*TerraformProvider) MarshalBinary ¶
func (m *TerraformProvider) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TerraformProvider) UnmarshalBinary ¶
func (m *TerraformProvider) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TerraformProviderResource ¶
type TerraformProviderResource struct { // canonical // Required: true // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // category // Required: true Category *string `json:"category"` // description // Required: true Description *string `json:"description"` // image // Required: true // Format: uri Image *strfmt.URI `json:"image"` // is edge // Required: true IsEdge *bool `json:"is_edge"` // is node // Required: true IsNode *bool `json:"is_node"` // keywords // Required: true Keywords []string `json:"keywords"` // schema // Required: true Schema interface{} `json:"schema"` // short description // Required: true ShortDescription *string `json:"short_description"` }
TerraformProviderResource Resource
A Resource of a Provider swagger:model TerraformProviderResource
func (*TerraformProviderResource) MarshalBinary ¶
func (m *TerraformProviderResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TerraformProviderResource) UnmarshalBinary ¶
func (m *TerraformProviderResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TerraformProviderResourceSimple ¶
type TerraformProviderResourceSimple struct { // canonical // Required: true // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // category // Required: true Category *string `json:"category"` // description // Required: true Description *string `json:"description"` // image // Required: true // Format: uri Image *strfmt.URI `json:"image"` // is edge // Required: true IsEdge *bool `json:"is_edge"` // is node // Required: true IsNode *bool `json:"is_node"` // keywords // Required: true Keywords []string `json:"keywords"` // short description // Required: true ShortDescription *string `json:"short_description"` }
TerraformProviderResourceSimple ResourceSimple
A Resource of a Provider without the conifg swagger:model TerraformProviderResourceSimple
func (*TerraformProviderResourceSimple) MarshalBinary ¶
func (m *TerraformProviderResourceSimple) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TerraformProviderResourceSimple) UnmarshalBinary ¶
func (m *TerraformProviderResourceSimple) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TerraformProviderSimple ¶
type TerraformProviderSimple struct { // abbreviation // Required: true Abbreviation *string `json:"abbreviation"` // canonical // Required: true // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // cloud // Required: true Cloud *bool `json:"cloud"` // image // Required: true // Format: uri Image *strfmt.URI `json:"image"` // name // Required: true Name *string `json:"name"` }
TerraformProviderSimple TerraformProviderSimple
Provider of infrastrucutre without the conifg swagger:model TerraformProviderSimple
func (*TerraformProviderSimple) MarshalBinary ¶
func (m *TerraformProviderSimple) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TerraformProviderSimple) UnmarshalBinary ¶
func (m *TerraformProviderSimple) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TerraformValidationResult ¶
type TerraformValidationResult struct { // errors // Required: true Errors []string `json:"errors"` }
TerraformValidationResult TerraformValidationResult
The result of the validation, if errors is empty means that is correct swagger:model TerraformValidationResult
func (*TerraformValidationResult) MarshalBinary ¶
func (m *TerraformValidationResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TerraformValidationResult) UnmarshalBinary ¶
func (m *TerraformValidationResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TimeoutPlan ¶
type TimeoutPlan struct { // next // Required: true Next *Plan `json:"next"` // step // Required: true Step *Plan `json:"step"` }
TimeoutPlan EnsurePlan
The plan to ensure to be run. swagger:model TimeoutPlan
func (*TimeoutPlan) MarshalBinary ¶
func (m *TimeoutPlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TimeoutPlan) UnmarshalBinary ¶
func (m *TimeoutPlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TryPlan ¶
type TryPlan struct { // next // Required: true Next *Plan `json:"next"` // step // Required: true Step *Plan `json:"step"` }
TryPlan EnsurePlan
The plan to ensure to be run. swagger:model TryPlan
func (*TryPlan) MarshalBinary ¶
MarshalBinary interface implementation
func (*TryPlan) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UpdateConfigRepository ¶
type UpdateConfigRepository struct { // branch // Required: true Branch *string `json:"branch"` // credential canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ CredentialCanonical *string `json:"credential_canonical"` // default // Required: true Default *bool `json:"default"` // name // Required: true Name *string `json:"name"` // url // Required: true // Pattern: (?:http|https|git|ssh|git@[-\w.]+):(\/\/)?(.*?)(\.git)?(\/?|\#[-\d\w._]+?)$ URL *string `json:"url"` }
UpdateConfigRepository UpdateConfigRepository swagger:model UpdateConfigRepository
func (*UpdateConfigRepository) MarshalBinary ¶
func (m *UpdateConfigRepository) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateConfigRepository) UnmarshalBinary ¶
func (m *UpdateConfigRepository) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCredential ¶
type UpdateCredential struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // description Description string `json:"description,omitempty"` // name // Required: true Name *string `json:"name"` // User canonical that owns this credential. When a user is the owner of a credential he has // all the permissions on it. // Owner string `json:"owner,omitempty"` // path // Required: true // Pattern: [a-zA-z0-9_\-./] Path *string `json:"path"` // raw // Required: true Raw *CredentialRaw `json:"raw"` // type // Required: true // Enum: [ssh aws custom azure azure_storage gcp basic_auth elasticsearch] Type *string `json:"type"` }
UpdateCredential Credential
Represents the Credential swagger:model UpdateCredential
func (*UpdateCredential) MarshalBinary ¶
func (m *UpdateCredential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCredential) UnmarshalBinary ¶
func (m *UpdateCredential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateInfraPolicy ¶ added in v1.0.58
type UpdateInfraPolicy struct { // The body field is the code in plain text that defines the rules for the policy. // Required: true Body *string `json:"body"` // description // Required: true Description *string `json:"description"` // enabled // Required: true Enabled *bool `json:"enabled"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // User canonical that owns this InfraPolicy. When a user is the // owner of an InfraPolicy it has all the permissions on it. // In the event where the Owner has been deleted then a new one can be assigned // or an empty canonical is allowed to not reset it. // // Required: true // Max Length: 100 Owner *string `json:"owner"` // severity // Required: true // Enum: [critical warning advisory] Severity *string `json:"severity"` }
UpdateInfraPolicy Update InfraPolicy
Update a policy to control operations across infrastructure. swagger:model UpdateInfraPolicy
func (*UpdateInfraPolicy) MarshalBinary ¶ added in v1.0.58
func (m *UpdateInfraPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateInfraPolicy) UnmarshalBinary ¶ added in v1.0.58
func (m *UpdateInfraPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrganization ¶
type UpdateOrganization struct { // name // Required: true // Min Length: 3 Name *string `json:"name"` }
UpdateOrganization Update Organization
The entity which represents the information of an organization to be updated. swagger:model UpdateOrganization
func (*UpdateOrganization) MarshalBinary ¶
func (m *UpdateOrganization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrganization) UnmarshalBinary ¶
func (m *UpdateOrganization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePipeline ¶
type UpdatePipeline struct { // check credentials CheckCredentials bool `json:"check_credentials,omitempty"` // passed config // Required: true PassedConfig *string `json:"passed_config"` // yaml vars YamlVars string `json:"yaml_vars,omitempty"` }
UpdatePipeline Update Pipeline
The entity which represents a new pipeline config to update in the application. swagger:model UpdatePipeline
func (*UpdatePipeline) MarshalBinary ¶
func (m *UpdatePipeline) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePipeline) UnmarshalBinary ¶
func (m *UpdatePipeline) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateProject ¶
type UpdateProject struct { // The cloud provider canonical that this project is using - between the // supported ones. // // Enum: [aws google azurerm flexibleengine openstack] CloudProvider string `json:"cloud_provider,omitempty"` // The config_repository_canonical points to new Config Repository the project // will be using. If this value is filled and it's different from the // current one, the whole project will be migrated to new CR, meaning // configuration files will also be moved. // If the project didn't has config_repository_canonical set, this action will // only attach the project to the CR, it won't create/move any files. // In order to be sure everything works, make sure the // config_repository_canonical is pointing at the CR with the same git // repository that was used during project creation. // // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ ConfigRepositoryCanonical string `json:"config_repository_canonical,omitempty"` // description Description string `json:"description,omitempty"` // environments // Min Items: 1 Environments []*NewEnvironment `json:"environments"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // User canonical that owns this project. Only the owner or an // organization admin can update such a field. When a user is the owner // of a project it has all the permission on it. // Owner string `json:"owner,omitempty"` // It's the ref of the Service Catalog, like 'cycloidio:stack-magento' // Required: true // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+:[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ ServiceCatalogRef *string `json:"service_catalog_ref"` }
UpdateProject Update Project
The entity which represents the information of the project to be updated. swagger:model UpdateProject
func (*UpdateProject) MarshalBinary ¶
func (m *UpdateProject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateProject) UnmarshalBinary ¶
func (m *UpdateProject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateServiceCatalogSource ¶
type UpdateServiceCatalogSource struct { // branch Branch string `json:"branch,omitempty"` // credential canonical // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ CredentialCanonical string `json:"credential_canonical,omitempty"` // name // Required: true Name *string `json:"name"` // User canonical that owns this service catalog source. If omitted then the person // creating this service catalog source will be assigned as owner. When a user is the // owner of a service catalog source they has all the permissions on it. // Owner string `json:"owner,omitempty"` // url // Required: true // Pattern: (?:http|https|git|ssh|git@[-\w.]+):(\/\/)?(.*?)(\.git)?(\/?|\#[-\d\w._]+?)$ URL *string `json:"url"` }
UpdateServiceCatalogSource UpdateServiceCatalogSource swagger:model UpdateServiceCatalogSource
func (*UpdateServiceCatalogSource) MarshalBinary ¶
func (m *UpdateServiceCatalogSource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateServiceCatalogSource) UnmarshalBinary ¶
func (m *UpdateServiceCatalogSource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateTeam ¶
type UpdateTeam struct { // canonical // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Canonical *string `json:"canonical"` // name // Required: true // Min Length: 3 Name *string `json:"name"` // User canonical that owns this team. Only the owner or an // organization admin can update this field. When a user is the owner // of a team it has all the permission on it. // Owner string `json:"owner,omitempty"` // The roles to be re-assigned to a team. // Required: true RolesCanonical []string `json:"roles_canonical"` }
UpdateTeam Update Team
The entity which represents the information of the team to be updated. swagger:model UpdateTeam
func (*UpdateTeam) MarshalBinary ¶
func (m *UpdateTeam) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateTeam) UnmarshalBinary ¶
func (m *UpdateTeam) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserAccount ¶
type UpdateUserAccount struct { // Code of a country the user is from // Pattern: ^[A-Z]{2}$ CountryCode string `json:"country_code,omitempty"` // emails // Min Items: 1 Emails []*UpdateUserAccountEmail `json:"emails"` // family name // Required: true // Min Length: 2 FamilyName *string `json:"family_name"` // given name // Required: true // Min Length: 2 GivenName *string `json:"given_name"` // User's preferred language // Required: true // Enum: [en fr es] Locale *string `json:"locale"` // password update PasswordUpdate *UpdateUserAccountPasswordUpdate `json:"password_update,omitempty"` // picture url // Format: uri PictureURL strfmt.URI `json:"picture_url,omitempty"` // username // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Username *string `json:"username"` }
UpdateUserAccount Update user's account
The user's account information of the authenticated user to be updated. Emails and password can be omitted if they don't have to be updated, because we can now if they have been sent or not although go-swagger doesn't currently support `PATCH` updates (see [comment](https://github.com/cycloidio/youdeploy-http-api/pull/71#issuecomment-321894076)), we do for this one with this 2 properties because they are good for the user, specially for the `password_update` one. In order to detect if they have been sent or not, we check if the length of array of emails is 0 (if it's sent, then the length MUST be greater than 0 as specified with minItems) and in case of the `password_update` field if it's `nil` or not. If the 'picture_url' is not send then it's removed from the user as it implies that it has deleted it, and also because we do not support partial updates swagger:model UpdateUserAccount
func (*UpdateUserAccount) MarshalBinary ¶
func (m *UpdateUserAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUserAccount) UnmarshalBinary ¶
func (m *UpdateUserAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserAccountEmail ¶
type UpdateUserAccountEmail struct { // email // Required: true // Format: email Email *strfmt.Email `json:"email"` // This values are set by the application to indicate the purpose of the email address. At least there is always one which is the primary. // Required: true Purpose *string `json:"purpose"` }
UpdateUserAccountEmail User's email
The email address of a user to be updated. swagger:model UpdateUserAccountEmail
func (*UpdateUserAccountEmail) MarshalBinary ¶
func (m *UpdateUserAccountEmail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUserAccountEmail) UnmarshalBinary ¶
func (m *UpdateUserAccountEmail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserAccountPasswordUpdate ¶
type UpdateUserAccountPasswordUpdate struct { // current // Required: true // Min Length: 8 // Format: password Current *strfmt.Password `json:"current"` // new // Required: true // Min Length: 8 // Format: password New *strfmt.Password `json:"new"` }
UpdateUserAccountPasswordUpdate The update password requires to confirm the old password. swagger:model UpdateUserAccountPasswordUpdate
func (*UpdateUserAccountPasswordUpdate) MarshalBinary ¶
func (m *UpdateUserAccountPasswordUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUserAccountPasswordUpdate) UnmarshalBinary ¶
func (m *UpdateUserAccountPasswordUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶ added in v1.0.64
type User struct { // Code of a country the user is from // Required: true // Pattern: ^[A-Z]{2}$ CountryCode *string `json:"country_code"` // When the user became a member. // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // User's primary email. // Required: true // Format: email Email *strfmt.Email `json:"email"` // family name // Required: true // Min Length: 2 FamilyName *string `json:"family_name"` // given name // Required: true // Min Length: 2 GivenName *string `json:"given_name"` // id // Required: true // Minimum: 1 ID *uint32 `json:"id"` // When the user logged in last time. // Minimum: 0 LastLoginAt *uint64 `json:"last_login_at,omitempty"` // The local that the user prefer. // Required: true // Pattern: ^[a-z]{2}(?:-[a-z][a-z])?$ Locale *string `json:"locale"` // picture url // Format: uri PictureURL strfmt.URI `json:"picture_url,omitempty"` // When the user had the role modified. // Minimum: 0 UpdatedAt *uint64 `json:"updated_at,omitempty"` // username // Required: true // Max Length: 30 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Username *string `json:"username"` }
User Basic info of a user
A summary of a user to be used in places where only the basic information are need or are enough. swagger:model User
func (*User) MarshalBinary ¶ added in v1.0.64
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶ added in v1.0.64
UnmarshalBinary interface implementation
type UserAccount ¶
type UserAccount struct { // country Country *Country `json:"country,omitempty"` // created at // Required: true // Minimum: 0 CreatedAt *uint64 `json:"created_at"` // emails // Required: true // Min Items: 1 Emails []*UserAccountEmail `json:"emails"` // family name // Required: true // Min Length: 2 FamilyName *string `json:"family_name"` // given name // Required: true // Min Length: 2 GivenName *string `json:"given_name"` // guide Guide UserGuide `json:"guide,omitempty"` // last login // Required: true // Minimum: 0 LastLogin *uint64 `json:"last_login"` // User's preferred language // Required: true // Enum: [en fr es] Locale *string `json:"locale"` // picture url // Format: uri PictureURL strfmt.URI `json:"picture_url,omitempty"` // updated at // Required: true // Minimum: 0 UpdatedAt *uint64 `json:"updated_at"` // username // Required: true // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Username *string `json:"username"` }
UserAccount User's account
The user's account contains information related with the authenticated user. swagger:model UserAccount
func (*UserAccount) MarshalBinary ¶
func (m *UserAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserAccount) UnmarshalBinary ¶
func (m *UserAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserAccountEmail ¶
type UserAccountEmail struct { // created at // Minimum: 0 CreatedAt *uint64 `json:"created_at,omitempty"` // email // Required: true // Format: email Email *strfmt.Email `json:"email"` // This values are set by the application to indicate the purpose of the email address. At least there is always one which is the primary. // Required: true Purpose *string `json:"purpose"` // verified // Required: true Verified *bool `json:"verified"` }
UserAccountEmail User's email
The email address of a user. swagger:model UserAccountEmail
func (*UserAccountEmail) MarshalBinary ¶
func (m *UserAccountEmail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserAccountEmail) UnmarshalBinary ¶
func (m *UserAccountEmail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserEmail ¶
type UserEmail struct { // email // Required: true // Format: email Email *strfmt.Email `json:"email"` }
UserEmail User email address
The user's email address swagger:model UserEmail
func (*UserEmail) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserEmail) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserGuide ¶
type UserGuide interface{}
UserGuide User guide JSON schema
The user's guide progress JSON schema swagger:model UserGuide
type UserLogin ¶
type UserLogin struct { // email // Format: email Email strfmt.Email `json:"email,omitempty"` // password // Required: true // Min Length: 8 // Format: password Password *strfmt.Password `json:"password"` // username // Max Length: 100 // Min Length: 3 // Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$ Username string `json:"username,omitempty"` }
UserLogin Log in
Validate the user to access to the application. The user can login with the primary email address or with username. swagger:model UserLogin
func (*UserLogin) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserLogin) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserOAuth ¶
type UserOAuth struct { // Is the JWT of the platform user Token string `json:"token,omitempty"` // user User *NewOAuthUser `json:"user,omitempty"` }
UserOAuth User's OAuth information
The User OAuth information, if it's on the platform it'll return the 'token' to login, if not the 'user' to show to the user swagger:model UserOAuth
func (*UserOAuth) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserOAuth) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserPasswordResetReq ¶
type UserPasswordResetReq struct { // the email address must be the primary email of the user. // Required: true // Format: email Email *strfmt.Email `json:"email"` }
UserPasswordResetReq User password reset request
Request to send a token for allowing the user to reset its current password. swagger:model UserPasswordResetReq
func (*UserPasswordResetReq) MarshalBinary ¶
func (m *UserPasswordResetReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserPasswordResetReq) UnmarshalBinary ¶
func (m *UserPasswordResetReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserPasswordResetUpdate ¶
type UserPasswordResetUpdate struct { // password // Required: true // Min Length: 8 // Format: password Password *strfmt.Password `json:"password"` // token // Required: true // Min Length: 1 Token *string `json:"token"` }
UserPasswordResetUpdate User password reset update
Reset the current user password to the one provided. The user must have a valid token for the reseting password action. swagger:model UserPasswordResetUpdate
func (*UserPasswordResetUpdate) MarshalBinary ¶
func (m *UserPasswordResetUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserPasswordResetUpdate) UnmarshalBinary ¶
func (m *UserPasswordResetUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserSession ¶
type UserSession struct { // owns // Required: true Owns []string `json:"owns"` // permissions // Required: true Permissions map[string]Rule `json:"permissions"` // token // Required: true Token *string `json:"token"` }
UserSession User's session
The JWT which allows the user to access to the application. swagger:model UserSession
func (*UserSession) MarshalBinary ¶
func (m *UserSession) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserSession) UnmarshalBinary ¶
func (m *UserSession) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VersionConfig ¶
type VersionConfig struct { // every Every bool `json:"every,omitempty"` // latest Latest bool `json:"latest,omitempty"` // pinned Pinned map[string]string `json:"pinned,omitempty"` }
VersionConfig VersionConfig
The entity which represents a vesion configuration in the application. swagger:model VersionConfig
func (*VersionConfig) MarshalBinary ¶
func (m *VersionConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersionConfig) UnmarshalBinary ¶
func (m *VersionConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VersionedResourceType ¶
type VersionedResourceType struct { // id // Required: true ID *uint32 `json:"id"` // name // Required: true Name *string `json:"name"` // privileged // Required: true Privileged *bool `json:"privileged"` // source // Required: true Source map[string]interface{} `json:"source"` // tags // Required: true Tags map[string]string `json:"tags"` // type // Required: true Type *string `json:"type"` // version // Required: true Version map[string]string `json:"version"` }
VersionedResourceType VersionedResourceType
The versioned resources type. swagger:model VersionedResourceType
func (*VersionedResourceType) MarshalBinary ¶
func (m *VersionedResourceType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersionedResourceType) UnmarshalBinary ¶
func (m *VersionedResourceType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Worker ¶
type Worker struct { // active containers // Required: true ActiveContainers *uint64 `json:"active_containers"` // active volumes // Required: true ActiveVolumes *uint64 `json:"active_volumes"` // ephemeral // Required: true Ephemeral *bool `json:"ephemeral"` // name // Required: true Name *string `json:"name"` // platform // Required: true Platform *string `json:"platform"` // start time // Required: true StartTime *uint64 `json:"start_time"` // state // Required: true State *string `json:"state"` // tags Tags []string `json:"tags"` // team Team string `json:"team,omitempty"` // version // Required: true Version *string `json:"version"` }
Worker Worker
The entity which represents a worker in the application. swagger:model Worker
func (*Worker) MarshalBinary ¶
MarshalBinary interface implementation
func (*Worker) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files
¶
- a_w_s_cloud_watch_logs.go
- a_w_s_infrastructure_resource_bucket.go
- a_w_s_infrastructure_resource_d_b_instance.go
- a_w_s_infrastructure_resource_elasticache_cluster.go
- a_w_s_infrastructure_resource_image.go
- a_w_s_infrastructure_resource_instance.go
- a_w_s_infrastructure_resource_load_balancer_v1.go
- a_w_s_infrastructure_resource_load_balancer_v2.go
- a_w_s_infrastructure_resource_security_group.go
- a_w_s_infrastructure_resource_snapshot.go
- a_w_s_infrastructure_resource_subnet.go
- a_w_s_infrastructure_resource_v_p_c.go
- a_w_s_infrastructure_resource_volume.go
- a_w_s_infrastructure_resources_aggregation.go
- a_w_s_remote_t_f_state.go
- api_key.go
- app_config.go
- app_version.go
- auth_config.go
- auth_config_local_auth.go
- auth_config_o_auth.go
- auth_config_s_a_m_l.go
- azure_remote_t_f_state.go
- build.go
- build_inputs_outputs.go
- c_i_version.go
- can_do_input.go
- can_do_output.go
- check_report.go
- clear_task_cache.go
- cloud_provider.go
- config_file.go
- config_repository.go
- cost_estimation_component.go
- cost_estimation_component_state.go
- cost_estimation_resource_estimate.go
- cost_estimation_result.go
- cost_group.go
- cost_group_definitions.go
- cost_result_by_time.go
- cost_time_periode.go
- costs.go
- country.go
- credential.go
- credential_raw.go
- credential_simple.go
- elasticsearch_logs.go
- ensure_plan.go
- environment.go
- error_details_item.go
- error_payload.go
- event.go
- external_backend.go
- external_backend_configuration.go
- form_entity.go
- form_input.go
- form_inputs.go
- forms_file.go
- forms_validation.go
- forms_validation_result.go
- g_c_p_remote_t_f_state.go
- general_status.go
- get_plan.go
- group_config.go
- infra_policies_validation_result.go
- infra_policies_validation_result_item.go
- infra_policy.go
- infrastructure.go
- infrastructure_config.go
- infrastructure_graph.go
- infrastructure_graph_edge.go
- infrastructure_graph_node.go
- infrastructure_resources_aggregation_item.go
- invitation.go
- job.go
- job_input.go
- job_output.go
- k_p_i.go
- log_source.go
- log_source_entry.go
- member_assignation.go
- member_org.go
- member_team.go
- metadata_field.go
- new_api_key.go
- new_config_repository.go
- new_credential.go
- new_environment.go
- new_event.go
- new_external_backend.go
- new_infra_policy.go
- new_k_p_i.go
- new_member_invitation.go
- new_o_auth_user.go
- new_organization.go
- new_pipeline.go
- new_project.go
- new_role.go
- new_rule.go
- new_service_catalog.go
- new_service_catalog_source.go
- new_subscription.go
- new_team.go
- new_team_member_assignation.go
- new_user_account.go
- on_failure_plan.go
- on_success_plan.go
- organization.go
- page_concourse.go
- pagination.go
- pagination_a_w_s.go
- pagination_concourse.go
- pending_invite.go
- pin_comment.go
- pipeline.go
- pipeline_diff.go
- pipeline_diff_record.go
- pipeline_diffs.go
- pipeline_variables.go
- plan.go
- plan_config.go
- policy.go
- preparation.go
- project.go
- project_environment_config.go
- projects_item.go
- public_build_input.go
- public_build_output.go
- public_plan.go
- put_plan.go
- resource.go
- resource_check.go
- resource_version.go
- role.go
- rule.go
- s_c_config.go
- service_catalog.go
- service_catalog_changes.go
- service_catalog_dependencies_validation_result.go
- service_catalog_dependency.go
- service_catalog_source.go
- service_catalog_technology.go
- subscription.go
- subscription_plan.go
- summary.go
- swift_remote_t_f_state.go
- tag.go
- task_config.go
- task_input_config.go
- task_plan.go
- task_run_config.go
- team.go
- terraform_h_c_l_config.go
- terraform_image.go
- terraform_json_config.go
- terraform_json_diagram.go
- terraform_plan_input.go
- terraform_provider.go
- terraform_provider_resource.go
- terraform_provider_resource_simple.go
- terraform_provider_simple.go
- terraform_validation_result.go
- timeout_plan.go
- try_plan.go
- update_config_repository.go
- update_credential.go
- update_infra_policy.go
- update_organization.go
- update_pipeline.go
- update_project.go
- update_service_catalog_source.go
- update_team.go
- update_user_account.go
- update_user_account_email.go
- user.go
- user_account.go
- user_account_email.go
- user_email.go
- user_guide.go
- user_login.go
- user_o_auth.go
- user_password_reset_req.go
- user_password_reset_update.go
- user_session.go
- version_config.go
- versioned_resource_type.go
- worker.go