models

package
v1.0.47-rc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
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"
)
View Source
const (

	// CreateCredentialTypeSSH captures enum value "ssh"
	CreateCredentialTypeSSH string = "ssh"

	// CreateCredentialTypeAws captures enum value "aws"
	CreateCredentialTypeAws string = "aws"

	// CreateCredentialTypeCustom captures enum value "custom"
	CreateCredentialTypeCustom string = "custom"

	// CreateCredentialTypeAzure captures enum value "azure"
	CreateCredentialTypeAzure string = "azure"

	// CreateCredentialTypeAzureStorage captures enum value "azure_storage"
	CreateCredentialTypeAzureStorage string = "azure_storage"

	// CreateCredentialTypeGcp captures enum value "gcp"
	CreateCredentialTypeGcp string = "gcp"

	// CreateCredentialTypeBasicAuth captures enum value "basic_auth"
	CreateCredentialTypeBasicAuth string = "basic_auth"

	// CreateCredentialTypeElasticsearch captures enum value "elasticsearch"
	CreateCredentialTypeElasticsearch string = "elasticsearch"

	// CreateCredentialTypeSwift captures enum value "swift"
	CreateCredentialTypeSwift string = "swift"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"

	// 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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// NewProjectCloudProviderAws captures enum value "aws"
	NewProjectCloudProviderAws string = "aws"

	// NewProjectCloudProviderGoogle captures enum value "google"
	NewProjectCloudProviderGoogle string = "google"

	// NewProjectCloudProviderAzurerm captures enum value "azurerm"
	NewProjectCloudProviderAzurerm string = "azurerm"

	// NewProjectCloudProviderFlexibleengine captures enum value "flexibleengine"
	NewProjectCloudProviderFlexibleengine string = "flexibleengine"

	// NewProjectCloudProviderOpenstack captures enum value "openstack"
	NewProjectCloudProviderOpenstack string = "openstack"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (*AWSCloudWatchLogs) Validate

func (m *AWSCloudWatchLogs) Validate(formats strfmt.Registry) error

Validate validates this a w s cloud watch logs

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

func (*AWSInfrastructureResourcesAggregation) Validate

Validate validates this a w s infrastructure resources aggregation

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

func (*AWSRemoteTFState) Validate

func (m *AWSRemoteTFState) Validate(formats strfmt.Registry) error

Validate validates this a w s remote t f state

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

func (*AppVersion) Validate

func (m *AppVersion) Validate(formats strfmt.Registry) error

Validate validates this app version

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

func (*AzureRemoteTFState) Validate

func (m *AzureRemoteTFState) Validate(formats strfmt.Registry) error

Validate validates this azure remote t f state

type BillingInformation added in v1.0.49

type BillingInformation struct {

	// address
	Address *BillingInformationAddress `json:"address,omitempty"`

	// created at
	// Required: true
	// Minimum: 0
	CreatedAt *int64 `json:"created_at"`

	// email
	// Required: true
	// Format: email
	Email *strfmt.Email `json:"email"`

	// language
	Language string `json:"language,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// phone
	Phone string `json:"phone,omitempty"`

	// source
	Source *BillingInformationSource `json:"source,omitempty"`

	// subscription
	Subscription *BillingInformationSubscription `json:"subscription,omitempty"`

	// tax information
	TaxInformation *BillingInformationTaxInformation `json:"tax_information,omitempty"`

	// updated at
	// Required: true
	// Minimum: 0
	UpdatedAt *int64 `json:"updated_at"`
}

BillingInformation Organization Billing Information

The billing information of the Organization swagger:model BillingInformation

func (*BillingInformation) MarshalBinary added in v1.0.49

func (m *BillingInformation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingInformation) UnmarshalBinary added in v1.0.49

func (m *BillingInformation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingInformation) Validate added in v1.0.49

func (m *BillingInformation) Validate(formats strfmt.Registry) error

Validate validates this billing information

type BillingInformationAddress added in v1.0.49

type BillingInformationAddress struct {

	// city
	City string `json:"city,omitempty"`

	// country
	Country string `json:"country,omitempty"`

	// line1
	Line1 string `json:"line1,omitempty"`

	// line2
	Line2 string `json:"line2,omitempty"`

	// postal code
	PostalCode string `json:"postal_code,omitempty"`

	// state
	State string `json:"state,omitempty"`
}

BillingInformationAddress Billing Information Address

The address of the billing swagger:model BillingInformationAddress

func (*BillingInformationAddress) MarshalBinary added in v1.0.49

func (m *BillingInformationAddress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingInformationAddress) UnmarshalBinary added in v1.0.49

func (m *BillingInformationAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingInformationAddress) Validate added in v1.0.49

func (m *BillingInformationAddress) Validate(formats strfmt.Registry) error

Validate validates this billing information address

type BillingInformationSource added in v1.0.49

type BillingInformationSource struct {

	// brand
	// Required: true
	Brand *string `json:"brand"`

	// expiration month
	// Required: true
	// Minimum: 1
	ExpirationMonth *int8 `json:"expiration_month"`

	// expiration year
	// Required: true
	ExpirationYear *int8 `json:"expiration_year"`

	// last4
	// Required: true
	// Max Length: 4
	// Min Length: 4
	// Pattern: ^\d{4}$
	Last4 *string `json:"last4"`
}

BillingInformationSource Billing Information Source

The information about the Source swagger:model BillingInformationSource

func (*BillingInformationSource) MarshalBinary added in v1.0.49

func (m *BillingInformationSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingInformationSource) UnmarshalBinary added in v1.0.49

func (m *BillingInformationSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingInformationSource) Validate added in v1.0.49

func (m *BillingInformationSource) Validate(formats strfmt.Registry) error

Validate validates this billing information source

type BillingInformationStart added in v1.0.49

type BillingInformationStart struct {

	// client secret
	// Required: true
	ClientSecret *string `json:"client_secret"`
}

BillingInformationStart Billing Information Start

The information needed to start the Billing swagger:model BillingInformationStart

func (*BillingInformationStart) MarshalBinary added in v1.0.49

func (m *BillingInformationStart) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingInformationStart) UnmarshalBinary added in v1.0.49

func (m *BillingInformationStart) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingInformationStart) Validate added in v1.0.49

func (m *BillingInformationStart) Validate(formats strfmt.Registry) error

Validate validates this billing information start

type BillingInformationSubscription added in v1.0.49

type BillingInformationSubscription struct {

	// amount
	// Required: true
	// Minimum: 0
	Amount *float64 `json:"amount"`

	// current period end
	// Required: true
	// Minimum: 0
	CurrentPeriodEnd *int64 `json:"current_period_end"`

	// quantity
	// Required: true
	// Minimum: 0
	Quantity *int64 `json:"quantity"`
}

BillingInformationSubscription Billing Information Subscription

The information about the Subscription swagger:model BillingInformationSubscription

func (*BillingInformationSubscription) MarshalBinary added in v1.0.49

func (m *BillingInformationSubscription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingInformationSubscription) UnmarshalBinary added in v1.0.49

func (m *BillingInformationSubscription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingInformationSubscription) Validate added in v1.0.49

func (m *BillingInformationSubscription) Validate(formats strfmt.Registry) error

Validate validates this billing information subscription

type BillingInformationTaxInformation added in v1.0.49

type BillingInformationTaxInformation struct {

	// tax id
	// Required: true
	TaxID *string `json:"tax_id"`

	// type
	// Required: true
	Type *string `json:"type"`
}

BillingInformationTaxInformation Billing Information Tax Information

Tax information of the billing swagger:model BillingInformationTaxInformation

func (*BillingInformationTaxInformation) MarshalBinary added in v1.0.49

func (m *BillingInformationTaxInformation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingInformationTaxInformation) UnmarshalBinary added in v1.0.49

func (m *BillingInformationTaxInformation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingInformationTaxInformation) Validate added in v1.0.49

Validate validates this billing information tax information

type Build

type Build struct {

	// api url
	// Required: true
	APIURL *string `json:"api_url"`

	// end time
	EndTime int64 `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 int64 `json:"reap_time,omitempty"`

	// start time
	StartTime int64 `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

func (m *Build) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Build) UnmarshalBinary

func (m *Build) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Build) Validate

func (m *Build) Validate(formats strfmt.Registry) error

Validate validates this build

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

func (*BuildInputsOutputs) Validate

func (m *BuildInputsOutputs) Validate(formats strfmt.Registry) error

Validate validates this build inputs outputs

type CIVersion

type CIVersion map[string]string

CIVersion CIVersion

Represent a version of a resource swagger:model CIVersion

func (CIVersion) Validate

func (m CIVersion) Validate(formats strfmt.Registry) error

Validate validates this c i version

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

func (*CheckReport) Validate

func (m *CheckReport) Validate(formats strfmt.Registry) error

Validate validates this check report

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

func (*ClearTaskCache) Validate

func (m *ClearTaskCache) Validate(formats strfmt.Registry) error

Validate validates this clear task cache

type CloudProvider

type CloudProvider struct {

	// abbreviation
	// Max Length: 60
	// Min Length: 2
	Abbreviation string `json:"abbreviation,omitempty"`

	// canonical
	// Required: true
	// Max Length: 30
	// Min Length: 3
	// Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$
	Canonical *string `json:"canonical"`

	// created at
	// Minimum: 0
	CreatedAt *int64 `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 *int64 `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

func (*CloudProvider) Validate

func (m *CloudProvider) Validate(formats strfmt.Registry) error

Validate validates this cloud provider

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

func (*ConfigFile) Validate

func (m *ConfigFile) Validate(formats strfmt.Registry) error

Validate validates this config file

type ConfigRepository

type ConfigRepository struct {

	// branch
	Branch string `json:"branch,omitempty"`

	// created at
	// Minimum: 0
	CreatedAt *int64 `json:"created_at,omitempty"`

	// credential id
	// Minimum: 1
	CredentialID uint32 `json:"credential_id,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 *int64 `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

func (*ConfigRepository) Validate

func (m *ConfigRepository) Validate(formats strfmt.Registry) error

Validate validates this config repository

type CostGroup added in v1.0.49

type CostGroup struct {

	// amount
	// Required: true
	// Max Length: 30
	// 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 added in v1.0.49

func (m *CostGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CostGroup) UnmarshalBinary added in v1.0.49

func (m *CostGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CostGroup) Validate added in v1.0.49

func (m *CostGroup) Validate(formats strfmt.Registry) error

Validate validates this cost group

type CostGroupDefinitions added in v1.0.49

type CostGroupDefinitions struct {

	// group
	// Required: true
	// Max Length: 30
	// Min Length: 1
	// Pattern: ^[a-zA-Z]+$
	Group *string `json:"group"`

	// key
	// Required: true
	// Max Length: 30
	// 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 added in v1.0.49

func (m *CostGroupDefinitions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CostGroupDefinitions) UnmarshalBinary added in v1.0.49

func (m *CostGroupDefinitions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CostGroupDefinitions) Validate added in v1.0.49

func (m *CostGroupDefinitions) Validate(formats strfmt.Registry) error

Validate validates this cost group definitions

type CostResultByTime added in v1.0.49

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: 30
	// 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 added in v1.0.49

func (m *CostResultByTime) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CostResultByTime) UnmarshalBinary added in v1.0.49

func (m *CostResultByTime) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CostResultByTime) Validate added in v1.0.49

func (m *CostResultByTime) Validate(formats strfmt.Registry) error

Validate validates this cost result by time

type CostTimePeriode added in v1.0.49

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 added in v1.0.49

func (m *CostTimePeriode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CostTimePeriode) UnmarshalBinary added in v1.0.49

func (m *CostTimePeriode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CostTimePeriode) Validate added in v1.0.49

func (m *CostTimePeriode) Validate(formats strfmt.Registry) error

Validate validates this cost time periode

type Costs added in v1.0.49

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: 30
	// 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 added in v1.0.49

func (m *Costs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Costs) UnmarshalBinary added in v1.0.49

func (m *Costs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Costs) Validate added in v1.0.49

func (m *Costs) Validate(formats strfmt.Registry) error

Validate validates this costs

type CreateConfigRepository added in v1.0.49

type CreateConfigRepository struct {

	// branch
	// Required: true
	Branch *string `json:"branch"`

	// credential id
	// Required: true
	// Minimum: 1
	CredentialID *uint32 `json:"credential_id"`

	// 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"`
}

CreateConfigRepository CreateConfigRepository swagger:model CreateConfigRepository

func (*CreateConfigRepository) MarshalBinary added in v1.0.49

func (m *CreateConfigRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateConfigRepository) UnmarshalBinary added in v1.0.49

func (m *CreateConfigRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateConfigRepository) Validate added in v1.0.49

func (m *CreateConfigRepository) Validate(formats strfmt.Registry) error

Validate validates this create config repository

type CreateCredential added in v1.0.49

type CreateCredential struct {

	// 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"`
}

CreateCredential Credential

Represents the Credential swagger:model CreateCredential

func (*CreateCredential) MarshalBinary added in v1.0.49

func (m *CreateCredential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateCredential) UnmarshalBinary added in v1.0.49

func (m *CreateCredential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateCredential) Validate added in v1.0.49

func (m *CreateCredential) Validate(formats strfmt.Registry) error

Validate validates this create credential

type CreateServiceCatalogSource added in v1.0.49

type CreateServiceCatalogSource struct {

	// branch
	// Required: true
	Branch *string `json:"branch"`

	// credential id
	// Minimum: 1
	CredentialID uint32 `json:"credential_id,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"`
}

CreateServiceCatalogSource ServiceCatalogSource swagger:model CreateServiceCatalogSource

func (*CreateServiceCatalogSource) MarshalBinary added in v1.0.49

func (m *CreateServiceCatalogSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateServiceCatalogSource) UnmarshalBinary added in v1.0.49

func (m *CreateServiceCatalogSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateServiceCatalogSource) Validate added in v1.0.49

func (m *CreateServiceCatalogSource) Validate(formats strfmt.Registry) error

Validate validates this create service catalog source

type Credential

type Credential struct {

	// created at
	// Minimum: 0
	CreatedAt *int64 `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 *MemberOrg `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 *int64 `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

func (*Credential) Validate

func (m *Credential) Validate(formats strfmt.Registry) error

Validate validates this credential

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

func (*CredentialRaw) Validate

func (m *CredentialRaw) Validate(formats strfmt.Registry) error

Validate validates this credential raw

type CredentialSimple

type CredentialSimple struct {

	// 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

func (*CredentialSimple) Validate

func (m *CredentialSimple) Validate(formats strfmt.Registry) error

Validate validates this credential simple

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

func (*ElasticsearchLogs) Validate

func (m *ElasticsearchLogs) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch logs

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

func (*ElasticsearchLogsSourcesAnon) Validate

func (m *ElasticsearchLogsSourcesAnon) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch logs sources anon

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

func (*ElasticsearchLogsSourcesAnonMapping) Validate

Validate validates this elasticsearch logs sources anon mapping

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

func (*EnsurePlan) Validate

func (m *EnsurePlan) Validate(formats strfmt.Registry) error

Validate validates this ensure plan

type Environment

type Environment struct {

	// canonical
	// Required: true
	// Max Length: 30
	// Min Length: 1
	// Pattern: ^[\da-zA-Z]+(?:[\da-zA-Z\-._]+[\da-zA-Z]|[\da-zA-Z])$
	Canonical *string `json:"canonical"`

	// created at
	// Required: true
	// Minimum: 0
	CreatedAt *int64 `json:"created_at"`

	// id
	// Required: true
	// Minimum: 1
	ID *uint32 `json:"id"`

	// updated at
	// Required: true
	// Minimum: 0
	UpdatedAt *int64 `json:"updated_at"`
}

Environment Environment

Represent an environment with may be realted 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

func (*Environment) Validate

func (m *Environment) Validate(formats strfmt.Registry) error

Validate validates this environment

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

func (*ErrorDetailsItem) Validate

func (m *ErrorDetailsItem) Validate(formats strfmt.Registry) error

Validate validates this error details item

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

func (*ErrorPayload) Validate

func (m *ErrorPayload) Validate(formats strfmt.Registry) error

Validate validates this error payload

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 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 *int64 `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

func (m *Event) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Event) UnmarshalBinary

func (m *Event) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Event) Validate

func (m *Event) Validate(formats strfmt.Registry) error

Validate validates this event

type ExternalBackend

type ExternalBackend struct {

	// credential id
	// Minimum: 1
	CredentialID uint32 `json:"credential_id,omitempty"`

	// environment canonical
	// Max Length: 30
	// 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: 30
	// 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

func (*ExternalBackend) Validate

func (m *ExternalBackend) Validate(formats strfmt.Registry) error

Validate validates this external backend

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 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

func (*FormEntity) Validate

func (m *FormEntity) Validate(formats strfmt.Registry) error

Validate validates this form entity

type FormInput added in v1.0.49

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 added in v1.0.49

func (m *FormInput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FormInput) UnmarshalBinary added in v1.0.49

func (m *FormInput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FormInput) Validate added in v1.0.49

func (m *FormInput) Validate(formats strfmt.Registry) error

Validate validates this form input

type FormInputs added in v1.0.49

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 added in v1.0.49

func (m *FormInputs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FormInputs) UnmarshalBinary added in v1.0.49

func (m *FormInputs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FormInputs) Validate added in v1.0.49

func (m *FormInputs) Validate(formats strfmt.Registry) error

Validate validates this form inputs

type FormsFile added in v1.0.49

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

func (FormsFile) Validate added in v1.0.49

func (m FormsFile) Validate(formats strfmt.Registry) error

Validate validates this forms file

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

func (*FormsValidation) Validate

func (m *FormsValidation) Validate(formats strfmt.Registry) error

Validate validates this forms validation

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

func (*FormsValidationResult) Validate

func (m *FormsValidationResult) Validate(formats strfmt.Registry) error

Validate validates this forms validation result

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

func (*GCPRemoteTFState) Validate

func (m *GCPRemoteTFState) Validate(formats strfmt.Registry) error

Validate validates this g c p remote t f state

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

func (*GeneralStatus) Validate

func (m *GeneralStatus) Validate(formats strfmt.Registry) error

Validate validates this general status

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

func (m *GetPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPlan) UnmarshalBinary

func (m *GetPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPlan) Validate

func (m *GetPlan) Validate(formats strfmt.Registry) error

Validate validates this get plan

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

func (*GroupConfig) Validate

func (m *GroupConfig) Validate(formats strfmt.Registry) error

Validate validates this group config

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

func (*Infrastructure) Validate

func (m *Infrastructure) Validate(formats strfmt.Registry) error

Validate validates this infrastructure

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

func (*InfrastructureGraph) Validate

func (m *InfrastructureGraph) Validate(formats strfmt.Registry) error

Validate validates this infrastructure graph

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

func (*InfrastructureGraphEdge) Validate

func (m *InfrastructureGraphEdge) Validate(formats strfmt.Registry) error

Validate validates this infrastructure graph edge

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 []int64 `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

func (*InfrastructureGraphNode) Validate

func (m *InfrastructureGraphNode) Validate(formats strfmt.Registry) error

Validate validates this infrastructure graph node

type InfrastructureResourcesAggregationItem

type InfrastructureResourcesAggregationItem struct {

	// The number of items of the specific type of resource.
	// Required: true
	TotalAmount *int32 `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

func (*InfrastructureResourcesAggregationItem) Validate

Validate validates this infrastructure resources aggregation item

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 int64 `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

func (m *Job) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Job) UnmarshalBinary

func (m *Job) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Job) Validate

func (m *Job) Validate(formats strfmt.Registry) error

Validate validates this job

type JobInput

type JobInput struct {

	// name
	// Required: true
	Name *string `json:"name"`

	// params
	Params map[string]interface{} `json:"params,omitempty"`

	// passed
	Passed []string `json:"passed"`

	// resource
	// Required: true
	Resource *string `json:"resource"`

	// tags
	Tags []string `json:"tags"`

	// 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

func (m *JobInput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobInput) UnmarshalBinary

func (m *JobInput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobInput) Validate

func (m *JobInput) Validate(formats strfmt.Registry) error

Validate validates this job input

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

func (m *JobOutput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobOutput) UnmarshalBinary

func (m *JobOutput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobOutput) Validate

func (m *JobOutput) Validate(formats strfmt.Registry) error

Validate validates this job output

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

func (m *LogSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogSource) UnmarshalBinary

func (m *LogSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogSource) Validate

func (m *LogSource) Validate(formats strfmt.Registry) error

Validate validates this log source

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

func (*LogSourceEntry) Validate

func (m *LogSourceEntry) Validate(formats strfmt.Registry) error

Validate validates this log source entry

type MemberAssignation

type MemberAssignation struct {

	// The role of the member.
	// Required: true
	// Minimum: 1
	RoleID *uint32 `json:"role_id"`
}

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

func (*MemberAssignation) Validate

func (m *MemberAssignation) Validate(formats strfmt.Registry) error

Validate validates this member assignation

type MemberOrg

type MemberOrg struct {

	// When the user became a member.
	// Required: true
	// Minimum: 0
	CreatedAt *int64 `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 *int64 `json:"invited_at,omitempty"`

	// Organization member who invited the current user.
	InvitedBy *MemberOrg `json:"invited_by,omitempty"`

	// 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 *int64 `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"`
}

MemberOrg Member of an organization

Member is a user who is associated to an organization. swagger:model MemberOrg

func (*MemberOrg) MarshalBinary

func (m *MemberOrg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MemberOrg) UnmarshalBinary

func (m *MemberOrg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MemberOrg) Validate

func (m *MemberOrg) Validate(formats strfmt.Registry) error

Validate validates this member org

type MemberTeam

type MemberTeam struct {

	// When the user became a member.
	// Required: true
	// Minimum: 0
	CreatedAt *int64 `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"`

	// picture url
	// Format: uri
	PictureURL strfmt.URI `json:"picture_url,omitempty"`

	// When the user had the role modified.
	// Minimum: 0
	UpdatedAt *int64 `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"`
}

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

func (*MemberTeam) Validate

func (m *MemberTeam) Validate(formats strfmt.Registry) error

Validate validates this member team

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

func (*MetadataField) Validate

func (m *MetadataField) Validate(formats strfmt.Registry) error

Validate validates this metadata field

type NewAccount added in v1.0.49

type NewAccount struct {

	// 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"`

	// password
	// Required: true
	// Min Length: 8
	// Format: password
	Password *strfmt.Password `json:"password"`

	// username
	// Required: true
	// Max Length: 30
	// Min Length: 3
	// Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$
	Username *string `json:"username"`
}

NewAccount Sign up

Create a new user account. swagger:model NewAccount

func (*NewAccount) MarshalBinary added in v1.0.49

func (m *NewAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewAccount) UnmarshalBinary added in v1.0.49

func (m *NewAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewAccount) Validate added in v1.0.49

func (m *NewAccount) Validate(formats strfmt.Registry) error

Validate validates this new account

type NewBillingInformation added in v1.0.49

type NewBillingInformation struct {

	// address
	Address *BillingInformationAddress `json:"address,omitempty"`

	// email
	// Required: true
	// Format: email
	Email *strfmt.Email `json:"email"`

	// language
	Language string `json:"language,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// phone
	Phone string `json:"phone,omitempty"`

	// tax information
	TaxInformation *BillingInformationTaxInformation `json:"tax_information,omitempty"`
}

NewBillingInformation Organization Billing Information

The billing information of the Organization swagger:model NewBillingInformation

func (*NewBillingInformation) MarshalBinary added in v1.0.49

func (m *NewBillingInformation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewBillingInformation) UnmarshalBinary added in v1.0.49

func (m *NewBillingInformation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewBillingInformation) Validate added in v1.0.49

func (m *NewBillingInformation) Validate(formats strfmt.Registry) error

Validate validates this new billing information

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

func (m *NewEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewEvent) UnmarshalBinary

func (m *NewEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewEvent) Validate

func (m *NewEvent) Validate(formats strfmt.Registry) error

Validate validates this new event

type NewExternalBackend

type NewExternalBackend struct {

	// credential id
	// Minimum: 1
	CredentialID uint32 `json:"credential_id,omitempty"`

	// environment canonical
	// Max Length: 30
	// Min Length: 1
	// Pattern: ^[\da-zA-Z]+(?:(?:[\da-zA-Z\-._]+)?[\da-zA-Z])?$
	EnvironmentCanonical string `json:"environment_canonical,omitempty"`

	// project canonical
	// Max Length: 30
	// 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

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

func (*NewExternalBackend) Validate

func (m *NewExternalBackend) Validate(formats strfmt.Registry) error

Validate validates this new external backend

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
	// Minimum: 1
	RoleID *uint32 `json:"role_id"`
}

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

func (*NewMemberInvitation) Validate

func (m *NewMemberInvitation) Validate(formats strfmt.Registry) error

Validate validates this new member invitation

type NewOAuthUser

type NewOAuthUser struct {

	// 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"`

	// 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: 30
	// 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

func (*NewOAuthUser) Validate

func (m *NewOAuthUser) Validate(formats strfmt.Registry) error

Validate validates this new o auth user

type NewOrganization

type NewOrganization struct {

	// canonical
	// Required: true
	// Max Length: 30
	// 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"`
}

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

func (*NewOrganization) Validate

func (m *NewOrganization) Validate(formats strfmt.Registry) error

Validate validates this new organization

type NewPipeline

type NewPipeline struct {

	// Validate credentials manager variables in the pipeline config.
	CheckCredentials bool `json:"check_credentials,omitempty"`

	// environment
	// Required: true
	// Max Length: 30
	// Min Length: 1
	// Pattern: ^[\da-zA-Z]+(?:(?:[\da-zA-Z\-._]+)?[\da-zA-Z])?$
	Environment *string `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: 30
	// 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

func (*NewPipeline) Validate

func (m *NewPipeline) Validate(formats strfmt.Registry) error

Validate validates this new pipeline

type NewProject

type NewProject struct {

	// canonical
	// Required: true
	// Max Length: 30
	// Min Length: 3
	// Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$
	Canonical *string `json:"canonical"`

	// 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"`

	// config repository id
	// Required: true
	ConfigRepositoryID *uint32 `json:"config_repository_id"`

	// 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

func (*NewProject) Validate

func (m *NewProject) Validate(formats strfmt.Registry) error

Validate validates this new project

type NewRole

type NewRole struct {

	// description
	Description string `json:"description,omitempty"`

	// name
	// Required: true
	// Max Length: 30
	// Min Length: 3
	Name *string `json:"name"`

	// policies
	// Required: true
	Policies []*PolicyReference `json:"policies"`
}

NewRole New role access control

New role represents the authorization level that a user has access to. A role contains a list of policies 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

func (m *NewRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewRole) UnmarshalBinary

func (m *NewRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewRole) Validate

func (m *NewRole) Validate(formats strfmt.Registry) error

Validate validates this new role

type NewServiceCatalog

type NewServiceCatalog struct {

	// author
	// Required: true
	Author *string `json:"author"`

	// canonical
	// Required: true
	// Max Length: 30
	// Min Length: 3
	// Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$
	Canonical *string `json:"canonical"`

	// created at
	// Minimum: 0
	CreatedAt *int64 `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 id
	// Required: true
	// Minimum: 1
	ServiceCatalogSourceID *uint32 `json:"service_catalog_source_id"`

	// status
	Status string `json:"status,omitempty"`

	// technologies
	Technologies []*ServiceCatalogTechnology `json:"technologies"`

	// updated at
	// Minimum: 0
	UpdatedAt *int64 `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

func (*NewServiceCatalog) Validate

func (m *NewServiceCatalog) Validate(formats strfmt.Registry) error

Validate validates this new service catalog

type NewTeam

type NewTeam struct {

	// canonical
	// Required: true
	// Max Length: 30
	// 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. 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
	RolesID []uint32 `json:"roles_id"`
}

NewTeam Create Team

The entity which represents the information of a new team. swagger:model NewTeam

func (*NewTeam) MarshalBinary

func (m *NewTeam) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewTeam) UnmarshalBinary

func (m *NewTeam) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewTeam) Validate

func (m *NewTeam) Validate(formats strfmt.Registry) error

Validate validates this new team

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

func (*NewTeamMemberAssignation) Validate

func (m *NewTeamMemberAssignation) Validate(formats strfmt.Registry) error

Validate validates this new team member assignation

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

func (*OnFailurePlan) Validate

func (m *OnFailurePlan) Validate(formats strfmt.Registry) error

Validate validates this on failure plan

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

func (*OnSuccessPlan) Validate

func (m *OnSuccessPlan) Validate(formats strfmt.Registry) error

Validate validates this on success plan

type Organization

type Organization struct {

	// admins
	Admins []*MemberOrg `json:"admins"`

	// blocked
	// Required: true
	Blocked []string `json:"blocked"`

	// canonical
	// Required: true
	// Max Length: 30
	// 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 *int64 `json:"created_at"`

	// id
	// Required: true
	// Minimum: 1
	ID *uint32 `json:"id"`

	// name
	// Required: true
	// Min Length: 3
	Name *string `json:"name"`

	// updated at
	// Required: true
	// Minimum: 0
	UpdatedAt *int64 `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

func (*Organization) Validate

func (m *Organization) Validate(formats strfmt.Registry) error

Validate validates this organization

type PageConcourse

type PageConcourse struct {

	// The maximum number of entities to return
	// Required: true
	Limit *int64 `json:"limit"`

	// Entities returned should have a higher timestamp than this one
	// Required: true
	Since *int64 `json:"since"`

	// Entities returned should have a lower timestamp than this one
	// Required: true
	Until *int64 `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

func (*PageConcourse) Validate

func (m *PageConcourse) Validate(formats strfmt.Registry) error

Validate validates this page concourse

type Pagination

type Pagination struct {

	// The index of the page sent (the first page is 1).
	// Required: true
	// Minimum: 1
	Index *int64 `json:"index"`

	// The size of the page (the number of entities per page)
	// Required: true
	// Minimum: 1
	Size *int64 `json:"size"`

	// The total number of items.
	// Required: true
	// Minimum: 0
	Total *int64 `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

func (*Pagination) Validate

func (m *Pagination) Validate(formats strfmt.Registry) error

Validate validates this pagination

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

func (*PaginationAWS) Validate

func (m *PaginationAWS) Validate(formats strfmt.Registry) error

Validate validates this pagination a w s

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

func (*PaginationConcourse) Validate

func (m *PaginationConcourse) Validate(formats strfmt.Registry) error

Validate validates this pagination concourse

type PendingInvite added in v1.0.49

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 added in v1.0.49

func (m *PendingInvite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PendingInvite) UnmarshalBinary added in v1.0.49

func (m *PendingInvite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PendingInvite) Validate added in v1.0.49

func (m *PendingInvite) Validate(formats strfmt.Registry) error

Validate validates this pending invite

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

func (*PinComment) Validate

func (m *PinComment) Validate(formats strfmt.Registry) error

Validate validates this pin comment

type Pipeline

type Pipeline struct {

	// environment
	// Required: true
	// Pattern: ^[\da-zA-Z]+(?:(?:[\da-zA-Z\-._]+)?[\da-zA-Z])?$
	Environment *string `json:"environment"`

	// groups
	// Required: true
	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: 30
	// 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

func (m *Pipeline) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Pipeline) UnmarshalBinary

func (m *Pipeline) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Pipeline) Validate

func (m *Pipeline) Validate(formats strfmt.Registry) error

Validate validates this pipeline

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

func (*PipelineDiff) Validate

func (m *PipelineDiff) Validate(formats strfmt.Registry) error

Validate validates this pipeline diff

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

func (*PipelineDiffRecord) Validate

func (m *PipelineDiffRecord) Validate(formats strfmt.Registry) error

Validate validates this pipeline diff record

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

func (*PipelineDiffs) Validate

func (m *PipelineDiffs) Validate(formats strfmt.Registry) error

Validate validates this pipeline diffs

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

func (*PipelineVariables) Validate

func (m *PipelineVariables) Validate(formats strfmt.Registry) error

Validate validates this pipeline variables

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

func (m *Plan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Plan) UnmarshalBinary

func (m *Plan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Plan) Validate

func (m *Plan) Validate(formats strfmt.Registry) error

Validate validates this plan

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

func (*PlanConfig) Validate

func (m *PlanConfig) Validate(formats strfmt.Registry) error

Validate validates this plan config

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 *int64 `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 *int64 `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

func (m *Policy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary

func (m *Policy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Policy) Validate

func (m *Policy) Validate(formats strfmt.Registry) error

Validate validates this policy

type PolicyReference added in v1.0.49

type PolicyReference struct {

	// entities
	// Required: true
	Entities []string `json:"entities"`

	// id
	// Required: true
	// Minimum: 1
	ID *uint32 `json:"id"`
}

PolicyReference PolicyReference

PolicyReference represents an existing or new permission or constraint to access to an entity of the system. A policy is aggregated into roles in order to be applied. swagger:model PolicyReference

func (*PolicyReference) MarshalBinary added in v1.0.49

func (m *PolicyReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyReference) UnmarshalBinary added in v1.0.49

func (m *PolicyReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyReference) Validate added in v1.0.49

func (m *PolicyReference) Validate(formats strfmt.Registry) error

Validate validates this policy reference

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

func (*Preparation) Validate

func (m *Preparation) Validate(formats strfmt.Registry) error

Validate validates this preparation

type Project

type Project struct {

	// canonical
	// Required: true
	// Max Length: 30
	// Min Length: 3
	// Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$
	Canonical *string `json:"canonical"`

	// The cloud provider object that this project 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"`

	// config repository id
	// Minimum: 1
	ConfigRepositoryID uint32 `json:"config_repository_id,omitempty"`

	// created at
	// Required: true
	// Minimum: 0
	CreatedAt *int64 `json:"created_at"`

	// description
	Description string `json:"description,omitempty"`

	// environments
	Environments []string `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 *MemberOrg `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 *int64 `json:"updated_at"`
}

Project Project

The entity which represents the information of a project. swagger:model Project

func (*Project) MarshalBinary

func (m *Project) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Project) UnmarshalBinary

func (m *Project) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Project) Validate

func (m *Project) Validate(formats strfmt.Registry) error

Validate validates this project

type ProjectEnvironmentConfig added in v1.0.49

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 added in v1.0.49

func (m *ProjectEnvironmentConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectEnvironmentConfig) UnmarshalBinary added in v1.0.49

func (m *ProjectEnvironmentConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectEnvironmentConfig) Validate added in v1.0.49

func (m *ProjectEnvironmentConfig) Validate(formats strfmt.Registry) error

Validate validates this project environment config

type ProjectsItem added in v1.0.49

type ProjectsItem struct {

	// canonical
	// Required: true
	// Max Length: 30
	// Min Length: 3
	// Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$
	Canonical *string `json:"canonical"`

	// The cloud provider object that this project 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 *int64 `json:"created_at"`

	// description
	Description string `json:"description,omitempty"`

	// environments
	Environments []string `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 *MemberOrg `json:"owner,omitempty"`

	// service catalog name
	ServiceCatalogName string `json:"service_catalog_name,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 *int64 `json:"updated_at"`
}

ProjectsItem Projects Item

The information of a project when is shown in a list swagger:model ProjectsItem

func (*ProjectsItem) MarshalBinary added in v1.0.49

func (m *ProjectsItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectsItem) UnmarshalBinary added in v1.0.49

func (m *ProjectsItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectsItem) Validate added in v1.0.49

func (m *ProjectsItem) Validate(formats strfmt.Registry) error

Validate validates this projects item

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 *int64 `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

func (*PublicBuildInput) Validate

func (m *PublicBuildInput) Validate(formats strfmt.Registry) error

Validate validates this public build input

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

func (*PublicBuildOutput) Validate

func (m *PublicBuildOutput) Validate(formats strfmt.Registry) error

Validate validates this public build output

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

func (*PublicPlan) Validate

func (m *PublicPlan) Validate(formats strfmt.Registry) error

Validate validates this public plan

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

func (m *PutPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutPlan) UnmarshalBinary

func (m *PutPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutPlan) Validate

func (m *PutPlan) Validate(formats strfmt.Registry) error

Validate validates this put plan

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 int64 `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

func (m *Resource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Resource) UnmarshalBinary

func (m *Resource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Resource) Validate

func (m *Resource) Validate(formats strfmt.Registry) error

Validate validates this resource

type ResourceCheck added in v1.0.49

type ResourceCheck struct {

	// check error
	CheckError string `json:"check_error,omitempty"`

	// create time
	CreateTime int64 `json:"create_time,omitempty"`

	// end time
	EndTime int64 `json:"end_time,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// start time
	StartTime int64 `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 added in v1.0.49

func (m *ResourceCheck) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceCheck) UnmarshalBinary added in v1.0.49

func (m *ResourceCheck) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceCheck) Validate added in v1.0.49

func (m *ResourceCheck) Validate(formats strfmt.Registry) error

Validate validates this resource check

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

func (*ResourceVersion) Validate

func (m *ResourceVersion) Validate(formats strfmt.Registry) error

Validate validates this resource version

type Role

type Role struct {

	// created at
	// Minimum: 0
	CreatedAt *int64 `json:"created_at,omitempty"`

	// description
	// Required: true
	Description *string `json:"description"`

	// id
	// Required: true
	// Minimum: 1
	ID *uint32 `json:"id"`

	// name
	// Required: true
	// Max Length: 30
	// Min Length: 3
	Name *string `json:"name"`

	// policies
	// Required: true
	Policies []*Policy `json:"policies"`

	// updated at
	// Minimum: 0
	UpdatedAt *int64 `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 policies 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

func (m *Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Role) UnmarshalBinary

func (m *Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Role) Validate

func (m *Role) Validate(formats strfmt.Registry) error

Validate validates this role

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

func (m *SCConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SCConfig) UnmarshalBinary

func (m *SCConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SCConfig) Validate

func (m *SCConfig) Validate(formats strfmt.Registry) error

Validate validates this s c config

type ServiceCatalog

type ServiceCatalog struct {

	// author
	// Required: true
	Author *string `json:"author"`

	// canonical
	// Required: true
	// Max Length: 30
	// Min Length: 3
	// Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$
	Canonical *string `json:"canonical"`

	// created at
	// Minimum: 0
	CreatedAt *int64 `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 id
	// Required: true
	// Minimum: 1
	ServiceCatalogSourceID *uint32 `json:"service_catalog_source_id"`

	// 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 *int64 `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

func (*ServiceCatalog) Validate

func (m *ServiceCatalog) Validate(formats strfmt.Registry) error

Validate validates this service catalog

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

func (*ServiceCatalogChanges) Validate

func (m *ServiceCatalogChanges) Validate(formats strfmt.Registry) error

Validate validates this service catalog changes

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

func (*ServiceCatalogDependenciesValidationResult) Validate

Validate validates this service catalog dependencies validation result

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

func (*ServiceCatalogDependency) Validate

func (m *ServiceCatalogDependency) Validate(formats strfmt.Registry) error

Validate validates this service catalog dependency

type ServiceCatalogSource

type ServiceCatalogSource struct {

	// branch
	Branch string `json:"branch,omitempty"`

	// 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 *int64 `json:"created_at,omitempty"`

	// credential id
	// Minimum: 1
	CredentialID uint32 `json:"credential_id,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 *int64 `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 *int64 `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

func (*ServiceCatalogSource) Validate

func (m *ServiceCatalogSource) Validate(formats strfmt.Registry) error

Validate validates this service catalog source

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

func (*ServiceCatalogTechnology) Validate

func (m *ServiceCatalogTechnology) Validate(formats strfmt.Registry) error

Validate validates this service catalog technology

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

func (m *Summary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Summary) UnmarshalBinary

func (m *Summary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Summary) Validate

func (m *Summary) Validate(formats strfmt.Registry) error

Validate validates this summary

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

func (*SwiftRemoteTFState) Validate

func (m *SwiftRemoteTFState) Validate(formats strfmt.Registry) error

Validate validates this swift remote t f state

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

func (m *Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tag) UnmarshalBinary

func (m *Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tag) Validate

func (m *Tag) Validate(formats strfmt.Registry) error

Validate validates this tag

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

func (*TaskConfig) Validate

func (m *TaskConfig) Validate(formats strfmt.Registry) error

Validate validates this task config

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

func (*TaskInputConfig) Validate

func (m *TaskInputConfig) Validate(formats strfmt.Registry) error

Validate validates this task input config

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

func (m *TaskPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskPlan) UnmarshalBinary

func (m *TaskPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskPlan) Validate

func (m *TaskPlan) Validate(formats strfmt.Registry) error

Validate validates this task plan

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

func (*TaskRunConfig) Validate

func (m *TaskRunConfig) Validate(formats strfmt.Registry) error

Validate validates this task run config

type Team

type Team struct {

	// canonical
	// Required: true
	// Max Length: 30
	// Min Length: 3
	// Pattern: ^[a-z0-9]+[a-z0-9\-_]+[a-z0-9]+$
	Canonical *string `json:"canonical"`

	// created at
	// Required: true
	// Minimum: 0
	CreatedAt *int64 `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 *int64 `json:"updated_at"`
}

Team Team

The entity which represents the information of a team. swagger:model Team

func (*Team) MarshalBinary

func (m *Team) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Team) UnmarshalBinary

func (m *Team) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Team) Validate

func (m *Team) Validate(formats strfmt.Registry) error

Validate validates this team

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

func (*TerraformHCLConfig) Validate

func (m *TerraformHCLConfig) Validate(formats strfmt.Registry) error

Validate validates this terraform h c l config

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

func (*TerraformImage) Validate

func (m *TerraformImage) Validate(formats strfmt.Registry) error

Validate validates this terraform image

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

func (*TerraformJSONConfig) Validate

func (m *TerraformJSONConfig) Validate(formats strfmt.Registry) error

Validate validates this terraform JSON config

type TerraformJSONDiagram

type TerraformJSONDiagram interface{}

TerraformJSONDiagram TerraformDiagram

The JSON Diagram structure swagger:model TerraformJSONDiagram

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

func (*TerraformProvider) Validate

func (m *TerraformProvider) Validate(formats strfmt.Registry) error

Validate validates this terraform provider

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

func (*TerraformProviderResource) Validate

func (m *TerraformProviderResource) Validate(formats strfmt.Registry) error

Validate validates this terraform provider resource

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

func (*TerraformProviderResourceSimple) Validate

Validate validates this terraform provider resource simple

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

func (*TerraformProviderSimple) Validate

func (m *TerraformProviderSimple) Validate(formats strfmt.Registry) error

Validate validates this terraform provider simple

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

func (*TerraformValidationResult) Validate

func (m *TerraformValidationResult) Validate(formats strfmt.Registry) error

Validate validates this terraform validation result

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

func (*TimeoutPlan) Validate

func (m *TimeoutPlan) Validate(formats strfmt.Registry) error

Validate validates this timeout plan

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

func (m *TryPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TryPlan) UnmarshalBinary

func (m *TryPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TryPlan) Validate

func (m *TryPlan) Validate(formats strfmt.Registry) error

Validate validates this try plan

type UpdateConfigRepository

type UpdateConfigRepository struct {

	// branch
	// Required: true
	Branch *string `json:"branch"`

	// credential id
	// Required: true
	// Minimum: 1
	CredentialID *uint32 `json:"credential_id"`

	// 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

func (*UpdateConfigRepository) Validate

func (m *UpdateConfigRepository) Validate(formats strfmt.Registry) error

Validate validates this update config repository

type UpdateCredential

type UpdateCredential struct {

	// 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

func (*UpdateCredential) Validate

func (m *UpdateCredential) Validate(formats strfmt.Registry) error

Validate validates this update credential

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

func (*UpdateOrganization) Validate

func (m *UpdateOrganization) Validate(formats strfmt.Registry) error

Validate validates this update organization

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

func (*UpdatePipeline) Validate

func (m *UpdatePipeline) Validate(formats strfmt.Registry) error

Validate validates this update pipeline

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_id 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_id 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_id is pointing at the CR with the same git
	// repository that was used during project creation.
	//
	ConfigRepositoryID uint32 `json:"config_repository_id,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// environments
	Environments []string `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

func (*UpdateProject) Validate

func (m *UpdateProject) Validate(formats strfmt.Registry) error

Validate validates this update project

type UpdateServiceCatalogSource

type UpdateServiceCatalogSource struct {

	// branch
	Branch string `json:"branch,omitempty"`

	// credential id
	// Minimum: 1
	CredentialID uint32 `json:"credential_id,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

func (*UpdateServiceCatalogSource) Validate

func (m *UpdateServiceCatalogSource) Validate(formats strfmt.Registry) error

Validate validates this update service catalog source

type UpdateTeam

type UpdateTeam struct {

	// canonical
	// Required: true
	// Max Length: 30
	// 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
	RolesID []uint32 `json:"roles_id"`
}

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

func (*UpdateTeam) Validate

func (m *UpdateTeam) Validate(formats strfmt.Registry) error

Validate validates this update team

type UpdateUserAccount

type UpdateUserAccount struct {

	// 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"`

	// The local that the user prefer.
	// Required: true
	// Pattern: ^[a-z]{2}(?:-[a-z][a-z])?$
	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: 30
	// 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

func (*UpdateUserAccount) Validate

func (m *UpdateUserAccount) Validate(formats strfmt.Registry) error

Validate validates this update user account

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

func (*UpdateUserAccountEmail) Validate

func (m *UpdateUserAccountEmail) Validate(formats strfmt.Registry) error

Validate validates this update user account email

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

func (*UpdateUserAccountPasswordUpdate) Validate

Validate validates this update user account password update

type UserAccount

type UserAccount struct {

	// created at
	// Required: true
	// Minimum: 0
	CreatedAt *int64 `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 *int64 `json:"last_login"`

	// 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"`

	// updated at
	// Required: true
	// Minimum: 0
	UpdatedAt *int64 `json:"updated_at"`

	// username
	// Required: true
	// Max Length: 30
	// 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

func (*UserAccount) Validate

func (m *UserAccount) Validate(formats strfmt.Registry) error

Validate validates this user account

type UserAccountEmail

type UserAccountEmail struct {

	// created at
	// Minimum: 0
	CreatedAt *int64 `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

func (*UserAccountEmail) Validate

func (m *UserAccountEmail) Validate(formats strfmt.Registry) error

Validate validates this user account email

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

func (m *UserEmail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserEmail) UnmarshalBinary

func (m *UserEmail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserEmail) Validate

func (m *UserEmail) Validate(formats strfmt.Registry) error

Validate validates this user email

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: 30
	// 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

func (m *UserLogin) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserLogin) UnmarshalBinary

func (m *UserLogin) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserLogin) Validate

func (m *UserLogin) Validate(formats strfmt.Registry) error

Validate validates this user login

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

func (m *UserOAuth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserOAuth) UnmarshalBinary

func (m *UserOAuth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserOAuth) Validate

func (m *UserOAuth) Validate(formats strfmt.Registry) error

Validate validates this user o auth

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

func (*UserPasswordResetReq) Validate

func (m *UserPasswordResetReq) Validate(formats strfmt.Registry) error

Validate validates this user password reset req

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

func (*UserPasswordResetUpdate) Validate

func (m *UserPasswordResetUpdate) Validate(formats strfmt.Registry) error

Validate validates this user password reset update

type UserSession

type UserSession struct {

	// 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

func (*UserSession) Validate

func (m *UserSession) Validate(formats strfmt.Registry) error

Validate validates this user session

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

func (*VersionConfig) Validate

func (m *VersionConfig) Validate(formats strfmt.Registry) error

Validate validates this version config

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

func (*VersionedResourceType) Validate

func (m *VersionedResourceType) Validate(formats strfmt.Registry) error

Validate validates this versioned resource type

type Worker

type Worker struct {

	// active containers
	// Required: true
	ActiveContainers *int64 `json:"active_containers"`

	// active volumes
	// Required: true
	ActiveVolumes *int64 `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 *int64 `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

func (m *Worker) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Worker) UnmarshalBinary

func (m *Worker) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Worker) Validate

func (m *Worker) Validate(formats strfmt.Registry) error

Validate validates this worker

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL