projectsv1

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package projectsv1 : Operations and models for the ProjectsV1 service

Index

Constants

View Source
const (
	InputVariable_Type_Bool   = "bool"
	InputVariable_Type_List   = "list"
	InputVariable_Type_Map    = "map"
	InputVariable_Type_Number = "number"
	InputVariable_Type_Object = "object"
	InputVariable_Type_Set    = "set"
	InputVariable_Type_String = "string"
	InputVariable_Type_Tuple  = "tuple"
)

Constants associated with the InputVariable.Type property. The variable type.

View Source
const (
	ProjectConfigStatus_Status_CheckInProgress     = "check_in_progress"
	ProjectConfigStatus_Status_CheckSubmitted      = "check_submitted"
	ProjectConfigStatus_Status_InError             = "in_error"
	ProjectConfigStatus_Status_InstallInProgress   = "install_in_progress"
	ProjectConfigStatus_Status_InstallSubmitted    = "install_submitted"
	ProjectConfigStatus_Status_Installed           = "installed"
	ProjectConfigStatus_Status_NotInstalled        = "not_installed"
	ProjectConfigStatus_Status_PendingCheck        = "pending_check"
	ProjectConfigStatus_Status_PendingInstall      = "pending_install"
	ProjectConfigStatus_Status_PendingUninstall    = "pending_uninstall"
	ProjectConfigStatus_Status_ToReinstall         = "to_reinstall"
	ProjectConfigStatus_Status_UninstallInProgress = "uninstall_in_progress"
	ProjectConfigStatus_Status_UninstallSubmitted  = "uninstall_submitted"
)

Constants associated with the ProjectConfigStatus.Status property.

View Source
const (
	ServiceStatus_Status_CheckInProgress     = "check_in_progress"
	ServiceStatus_Status_CheckSubmitted      = "check_submitted"
	ServiceStatus_Status_InError             = "in_error"
	ServiceStatus_Status_InstallInProgress   = "install_in_progress"
	ServiceStatus_Status_InstallSubmitted    = "install_submitted"
	ServiceStatus_Status_Installed           = "installed"
	ServiceStatus_Status_NotInstalled        = "not_installed"
	ServiceStatus_Status_PendingCheck        = "pending_check"
	ServiceStatus_Status_PendingInstall      = "pending_install"
	ServiceStatus_Status_PendingUninstall    = "pending_uninstall"
	ServiceStatus_Status_ToReinstall         = "to_reinstall"
	ServiceStatus_Status_UninstallInProgress = "uninstall_in_progress"
	ServiceStatus_Status_UninstallSubmitted  = "uninstall_submitted"
)

Constants associated with the ServiceStatus.Status property.

View Source
const (
	UpdateProjectConfigStatusOptions_Status_CheckInProgress     = "check_in_progress"
	UpdateProjectConfigStatusOptions_Status_CheckSubmitted      = "check_submitted"
	UpdateProjectConfigStatusOptions_Status_InError             = "in_error"
	UpdateProjectConfigStatusOptions_Status_InstallInProgress   = "install_in_progress"
	UpdateProjectConfigStatusOptions_Status_InstallSubmitted    = "install_submitted"
	UpdateProjectConfigStatusOptions_Status_Installed           = "installed"
	UpdateProjectConfigStatusOptions_Status_NotInstalled        = "not_installed"
	UpdateProjectConfigStatusOptions_Status_PendingCheck        = "pending_check"
	UpdateProjectConfigStatusOptions_Status_PendingInstall      = "pending_install"
	UpdateProjectConfigStatusOptions_Status_PendingUninstall    = "pending_uninstall"
	UpdateProjectConfigStatusOptions_Status_ToReinstall         = "to_reinstall"
	UpdateProjectConfigStatusOptions_Status_UninstallInProgress = "uninstall_in_progress"
	UpdateProjectConfigStatusOptions_Status_UninstallSubmitted  = "uninstall_submitted"
)

Constants associated with the UpdateProjectConfigStatusOptions.Status property.

View Source
const (
	UpdateProjectOptions_Prefer_ReturnMinimal        = "return=minimal"
	UpdateProjectOptions_Prefer_ReturnRepresentation = "return=representation"
)

Constants associated with the UpdateProjectOptions.Prefer property. Set this header to control the return of the Project. If return=minimal is set, a successful response has a 201 Created or 204 No Content status and includes no body. If return=representation is set, a successful response includes the updated Project. Default includes no body.

View Source
const DefaultServiceName = "projects"

DefaultServiceName is the default key used to find external configuration information.

View Source
const DefaultServiceURL = "http://localhost:9989"

DefaultServiceURL is the default URL to make service requests to.

View Source
const (
	ProjectConfigManualProperty_Type_Manual = "manual"
)

Constants associated with the ProjectConfigManualProperty.Type property.

View Source
const (
	ProjectConfigSchematicsBlueprintProperty_Type_SchematicsBlueprint = "schematics_blueprint"
)

Constants associated with the ProjectConfigSchematicsBlueprintProperty.Type property.

View Source
const (
	ProjectConfigTerraformTemplateProperty_Type_TerraformTemplate = "terraform_template"
)

Constants associated with the ProjectConfigTerraformTemplateProperty.Type property.

View Source
const (
	ProjectConfig_Type_Manual = "manual"
)

Constants associated with the ProjectConfig.Type property.

Variables

This section is empty.

Functions

func GetServiceURLForRegion

func GetServiceURLForRegion(region string) (string, error)

GetServiceURLForRegion returns the service URL to be used for the specified region

func UnmarshalHealth

func UnmarshalHealth(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalHealth unmarshals an instance of Health from the specified map of raw messages.

func UnmarshalInputVariable

func UnmarshalInputVariable(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInputVariable unmarshals an instance of InputVariable from the specified map of raw messages.

func UnmarshalListProjectsResponse

func UnmarshalListProjectsResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListProjectsResponse unmarshals an instance of ListProjectsResponse from the specified map of raw messages.

func UnmarshalOutputValue

func UnmarshalOutputValue(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOutputValue unmarshals an instance of OutputValue from the specified map of raw messages.

func UnmarshalPaginationLink(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPaginationLink unmarshals an instance of PaginationLink from the specified map of raw messages.

func UnmarshalProject

func UnmarshalProject(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProject unmarshals an instance of Project from the specified map of raw messages.

func UnmarshalProjectComputedStatus

func UnmarshalProjectComputedStatus(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectComputedStatus unmarshals an instance of ProjectComputedStatus from the specified map of raw messages.

func UnmarshalProjectConfig

func UnmarshalProjectConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectConfig unmarshals an instance of ProjectConfig from the specified map of raw messages.

func UnmarshalProjectConfigComputedStatus

func UnmarshalProjectConfigComputedStatus(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectConfigComputedStatus unmarshals an instance of ProjectConfigComputedStatus from the specified map of raw messages.

func UnmarshalProjectConfigManualProperty

func UnmarshalProjectConfigManualProperty(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectConfigManualProperty unmarshals an instance of ProjectConfigManualProperty from the specified map of raw messages.

func UnmarshalProjectConfigSchematicsBlueprintProperty

func UnmarshalProjectConfigSchematicsBlueprintProperty(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectConfigSchematicsBlueprintProperty unmarshals an instance of ProjectConfigSchematicsBlueprintProperty from the specified map of raw messages.

func UnmarshalProjectConfigStatus

func UnmarshalProjectConfigStatus(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectConfigStatus unmarshals an instance of ProjectConfigStatus from the specified map of raw messages.

func UnmarshalProjectConfigStatuses

func UnmarshalProjectConfigStatuses(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectConfigStatuses unmarshals an instance of ProjectConfigStatuses from the specified map of raw messages.

func UnmarshalProjectConfigTerraformTemplateProperty

func UnmarshalProjectConfigTerraformTemplateProperty(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectConfigTerraformTemplateProperty unmarshals an instance of ProjectConfigTerraformTemplateProperty from the specified map of raw messages.

func UnmarshalProjectDashboard

func UnmarshalProjectDashboard(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectDashboard unmarshals an instance of ProjectDashboard from the specified map of raw messages.

func UnmarshalProjectPrototypeDashboard

func UnmarshalProjectPrototypeDashboard(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectPrototypeDashboard unmarshals an instance of ProjectPrototypeDashboard from the specified map of raw messages.

func UnmarshalProjectStatus

func UnmarshalProjectStatus(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalProjectStatus unmarshals an instance of ProjectStatus from the specified map of raw messages.

func UnmarshalSchematicsBlueprint

func UnmarshalSchematicsBlueprint(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSchematicsBlueprint unmarshals an instance of SchematicsBlueprint from the specified map of raw messages.

func UnmarshalServiceStatus

func UnmarshalServiceStatus(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalServiceStatus unmarshals an instance of ServiceStatus from the specified map of raw messages.

func UnmarshalServicesStatus

func UnmarshalServicesStatus(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalServicesStatus unmarshals an instance of ServicesStatus from the specified map of raw messages.

func UnmarshalTerraformTemplate

func UnmarshalTerraformTemplate(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTerraformTemplate unmarshals an instance of TerraformTemplate from the specified map of raw messages.

func UnmarshalWidget

func UnmarshalWidget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalWidget unmarshals an instance of Widget from the specified map of raw messages.

Types

type CheckProjectOptions

type CheckProjectOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// The configs to check. Leave the array empty to check all the configs.
	ConfigNames []string `json:"config_names,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CheckProjectOptions : The CheckProject options.

func (*CheckProjectOptions) SetConfigNames

func (_options *CheckProjectOptions) SetConfigNames(configNames []string) *CheckProjectOptions

SetConfigNames : Allow user to set ConfigNames

func (*CheckProjectOptions) SetHeaders

func (options *CheckProjectOptions) SetHeaders(param map[string]string) *CheckProjectOptions

SetHeaders : Allow user to set Headers

func (*CheckProjectOptions) SetID

func (_options *CheckProjectOptions) SetID(id string) *CheckProjectOptions

SetID : Allow user to set ID

type CreateProjectOptions

type CreateProjectOptions struct {
	// The project name.
	Name *string `json:"name" validate:"required"`

	// A valid IAM api key with the permissions to manage the plumbing services; Schematics and Toolchain.
	ApiKey *string `json:"api_key" validate:"required"`

	// A project's descriptive text.
	Description *string `json:"description,omitempty"`

	RepoURL *string `json:"repo_url,omitempty"`

	Configs []ProjectConfigIntf `json:"configs,omitempty"`

	Dashboard *ProjectPrototypeDashboard `json:"dashboard,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateProjectOptions : The CreateProject options.

func (*CreateProjectOptions) SetApiKey

func (_options *CreateProjectOptions) SetApiKey(apiKey string) *CreateProjectOptions

SetApiKey : Allow user to set ApiKey

func (*CreateProjectOptions) SetConfigs

func (_options *CreateProjectOptions) SetConfigs(configs []ProjectConfigIntf) *CreateProjectOptions

SetConfigs : Allow user to set Configs

func (*CreateProjectOptions) SetDashboard

func (_options *CreateProjectOptions) SetDashboard(dashboard *ProjectPrototypeDashboard) *CreateProjectOptions

SetDashboard : Allow user to set Dashboard

func (*CreateProjectOptions) SetDescription

func (_options *CreateProjectOptions) SetDescription(description string) *CreateProjectOptions

SetDescription : Allow user to set Description

func (*CreateProjectOptions) SetHeaders

func (options *CreateProjectOptions) SetHeaders(param map[string]string) *CreateProjectOptions

SetHeaders : Allow user to set Headers

func (*CreateProjectOptions) SetName

func (_options *CreateProjectOptions) SetName(name string) *CreateProjectOptions

SetName : Allow user to set Name

func (*CreateProjectOptions) SetRepoURL

func (_options *CreateProjectOptions) SetRepoURL(repoURL string) *CreateProjectOptions

SetRepoURL : Allow user to set RepoURL

type DeleteProjectOptions

type DeleteProjectOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteProjectOptions : The DeleteProject options.

func (*DeleteProjectOptions) SetHeaders

func (options *DeleteProjectOptions) SetHeaders(param map[string]string) *DeleteProjectOptions

SetHeaders : Allow user to set Headers

func (*DeleteProjectOptions) SetID

func (_options *DeleteProjectOptions) SetID(id string) *DeleteProjectOptions

SetID : Allow user to set ID

type GetHealthOptions

type GetHealthOptions struct {
	// Set this parameter if you want to get the version information in the output response.
	Info *bool `json:"info,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetHealthOptions : The GetHealth options.

func (*GetHealthOptions) SetHeaders

func (options *GetHealthOptions) SetHeaders(param map[string]string) *GetHealthOptions

SetHeaders : Allow user to set Headers

func (*GetHealthOptions) SetInfo

func (_options *GetHealthOptions) SetInfo(info bool) *GetHealthOptions

SetInfo : Allow user to set Info

type GetProjectComputedStatusOptions

type GetProjectComputedStatusOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// The name of the computed status.
	ComputedStatus *string `json:"computed_status" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetProjectComputedStatusOptions : The GetProjectComputedStatus options.

func (*GetProjectComputedStatusOptions) SetComputedStatus

func (_options *GetProjectComputedStatusOptions) SetComputedStatus(computedStatus string) *GetProjectComputedStatusOptions

SetComputedStatus : Allow user to set ComputedStatus

func (*GetProjectComputedStatusOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetProjectComputedStatusOptions) SetID

SetID : Allow user to set ID

type GetProjectConfigComputedStatusOptions

type GetProjectConfigComputedStatusOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// The name of the config, which must be unique within the project.
	ConfigName *string `json:"config_name" validate:"required,ne="`

	// The name of the computed status, which must be unique within the config.
	ComputedStatus *string `json:"computed_status" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetProjectConfigComputedStatusOptions : The GetProjectConfigComputedStatus options.

func (*GetProjectConfigComputedStatusOptions) SetComputedStatus

func (_options *GetProjectConfigComputedStatusOptions) SetComputedStatus(computedStatus string) *GetProjectConfigComputedStatusOptions

SetComputedStatus : Allow user to set ComputedStatus

func (*GetProjectConfigComputedStatusOptions) SetConfigName

SetConfigName : Allow user to set ConfigName

func (*GetProjectConfigComputedStatusOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetProjectConfigComputedStatusOptions) SetID

SetID : Allow user to set ID

type GetProjectConfigStatusOptions

type GetProjectConfigStatusOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// The name of the config, which must be unique within the project.
	ConfigName *string `json:"config_name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetProjectConfigStatusOptions : The GetProjectConfigStatus options.

func (*GetProjectConfigStatusOptions) SetConfigName

func (_options *GetProjectConfigStatusOptions) SetConfigName(configName string) *GetProjectConfigStatusOptions

SetConfigName : Allow user to set ConfigName

func (*GetProjectConfigStatusOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetProjectConfigStatusOptions) SetID

SetID : Allow user to set ID

type GetProjectOptions

type GetProjectOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetProjectOptions : The GetProject options.

func (*GetProjectOptions) SetHeaders

func (options *GetProjectOptions) SetHeaders(param map[string]string) *GetProjectOptions

SetHeaders : Allow user to set Headers

func (*GetProjectOptions) SetID

func (_options *GetProjectOptions) SetID(id string) *GetProjectOptions

SetID : Allow user to set ID

type GetProjectStatusOptions

type GetProjectStatusOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetProjectStatusOptions : The GetProjectStatus options.

func (*GetProjectStatusOptions) SetHeaders

func (options *GetProjectStatusOptions) SetHeaders(param map[string]string) *GetProjectStatusOptions

SetHeaders : Allow user to set Headers

func (*GetProjectStatusOptions) SetID

SetID : Allow user to set ID

type Health

type Health struct {
	// The name of the service.
	Name *string `json:"name,omitempty"`

	// The running version of the service.
	Version *string `json:"version,omitempty"`

	// The status of service dependencies.
	Dependencies map[string]interface{} `json:"dependencies,omitempty"`
}

Health : Health struct

type InputVariable

type InputVariable struct {
	// The variable name.
	Name *string `json:"name" validate:"required"`

	// A descriptive of the variable.
	Description *string `json:"description,omitempty"`

	// The variable type.
	Type *string `json:"type,omitempty"`

	// Whether the variable is a secret.
	Sensitive *bool `json:"sensitive,omitempty"`

	// The variable value.
	Value interface{} `json:"value,omitempty"`

	// The variable default value.
	Default interface{} `json:"default,omitempty"`
}

InputVariable : InputVariable struct

type InstallProjectOptions

type InstallProjectOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// The configs to install. Leave the array empty to install all the configs.
	ConfigNames []string `json:"config_names,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

InstallProjectOptions : The InstallProject options.

func (*InstallProjectOptions) SetConfigNames

func (_options *InstallProjectOptions) SetConfigNames(configNames []string) *InstallProjectOptions

SetConfigNames : Allow user to set ConfigNames

func (*InstallProjectOptions) SetHeaders

func (options *InstallProjectOptions) SetHeaders(param map[string]string) *InstallProjectOptions

SetHeaders : Allow user to set Headers

func (*InstallProjectOptions) SetID

func (_options *InstallProjectOptions) SetID(id string) *InstallProjectOptions

SetID : Allow user to set ID

type ListProjectConfigStatusesOptions

type ListProjectConfigStatusesOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListProjectConfigStatusesOptions : The ListProjectConfigStatuses options.

func (*ListProjectConfigStatusesOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListProjectConfigStatusesOptions) SetID

SetID : Allow user to set ID

type ListProjectsOptions

type ListProjectsOptions struct {
	// Page token query parameter that is used to determine what resource to start the page after. If not specified, the
	// logical first page is returned.
	Start *string `json:"start,omitempty"`

	// Determine the maximum number of resources to return. The number of resources returned is the same, with exception of
	// the last page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListProjectsOptions : The ListProjects options.

func (*ListProjectsOptions) SetHeaders

func (options *ListProjectsOptions) SetHeaders(param map[string]string) *ListProjectsOptions

SetHeaders : Allow user to set Headers

func (*ListProjectsOptions) SetLimit

func (_options *ListProjectsOptions) SetLimit(limit int64) *ListProjectsOptions

SetLimit : Allow user to set Limit

func (*ListProjectsOptions) SetStart

func (_options *ListProjectsOptions) SetStart(start string) *ListProjectsOptions

SetStart : Allow user to set Start

type ListProjectsResponse

type ListProjectsResponse struct {
	Limit *int64 `json:"limit" validate:"required"`

	// Get the occurrencies of the total Projects.
	TotalCount *int64 `json:"total_count" validate:"required"`

	First *PaginationLink `json:"first" validate:"required"`

	Last *PaginationLink `json:"last,omitempty"`

	Previous *PaginationLink `json:"previous,omitempty"`

	Next *PaginationLink `json:"next,omitempty"`

	// An array of projects.
	Projects []Project `json:"projects,omitempty"`
}

ListProjectsResponse : Projects list.

func (*ListProjectsResponse) GetNextStart

func (resp *ListProjectsResponse) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type OutputValue

type OutputValue struct {
	// The output value name.
	Name *string `json:"name" validate:"required"`

	// A descriptive of the output value.
	Description *string `json:"description,omitempty"`

	// The output value.
	Value interface{} `json:"value,omitempty"`
}

OutputValue : OutputValue struct

type PaginationLink struct {
	Href *string `json:"href" validate:"required"`

	Start *string `json:"start,omitempty"`
}

PaginationLink : PaginationLink struct

type Project

type Project struct {
	// The project name.
	Name *string `json:"name" validate:"required"`

	// A project descriptive text.
	Description *string `json:"description,omitempty"`

	ID *string `json:"id,omitempty"`

	// An IBM Cloud Resource Name, which uniquely identify a resource.
	Crn *string `json:"crn,omitempty"`

	CreatedBy *string `json:"created_by,omitempty"`

	// A date/time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as
	// specified by RFC 3339.
	CreatedAt *strfmt.DateTime `json:"created_at,omitempty"`

	// A date/time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as
	// specified by RFC 3339.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`

	RepoURL *string `json:"repo_url,omitempty"`

	Href *string `json:"href,omitempty"`

	Configs []ProjectConfigIntf `json:"configs,omitempty"`

	Dashboard *ProjectDashboard `json:"dashboard,omitempty"`
}

Project : Project struct

type ProjectComputedStatus

type ProjectComputedStatus struct {
	ProjectID *string `json:"project_id" validate:"required"`

	Href *string `json:"href" validate:"required"`

	ComputedStatuses map[string]interface{} `json:"computed_statuses" validate:"required"`
}

ProjectComputedStatus : The project computed statuses.

type ProjectConfig

type ProjectConfig struct {
	Name *string `json:"name" validate:"required"`

	Labels []string `json:"labels,omitempty"`

	Output []OutputValue `json:"output,omitempty"`

	Type *string `json:"type,omitempty"`

	ExternalResourcesAccount *string `json:"external_resources_account,omitempty"`

	Input []InputVariable `json:"input,omitempty"`

	// A Terraform blueprint to use for provisioning a set of project resources.
	TerraformTemplate *TerraformTemplate `json:"terraform_template,omitempty"`

	// A Schematics blueprint to use for provisioning a set of project resources.
	SchematicsBlueprint *SchematicsBlueprint `json:"schematics_blueprint,omitempty"`
}

ProjectConfig : ProjectConfig struct Models which "extend" this model: - ProjectConfigManualProperty - ProjectConfigTerraformTemplateProperty - ProjectConfigSchematicsBlueprintProperty

type ProjectConfigComputedStatus

type ProjectConfigComputedStatus struct {
	Href *string `json:"href" validate:"required"`

	Name *string `json:"name" validate:"required"`

	ComputedStatuses map[string]interface{} `json:"computed_statuses,omitempty"`
}

ProjectConfigComputedStatus : ProjectConfigComputedStatus struct

type ProjectConfigIntf

type ProjectConfigIntf interface {
	// contains filtered or unexported methods
}

type ProjectConfigManualProperty

type ProjectConfigManualProperty struct {
	Name *string `json:"name" validate:"required"`

	Labels []string `json:"labels,omitempty"`

	Output []OutputValue `json:"output,omitempty"`

	Type *string `json:"type" validate:"required"`

	ExternalResourcesAccount *string `json:"external_resources_account,omitempty"`
}

ProjectConfigManualProperty : ProjectConfigManualProperty struct This model "extends" ProjectConfig

type ProjectConfigSchematicsBlueprintProperty

type ProjectConfigSchematicsBlueprintProperty struct {
	Name *string `json:"name" validate:"required"`

	Labels []string `json:"labels,omitempty"`

	Output []OutputValue `json:"output,omitempty"`

	Type *string `json:"type" validate:"required"`

	Input []InputVariable `json:"input" validate:"required"`

	// A Schematics blueprint to use for provisioning a set of project resources.
	SchematicsBlueprint *SchematicsBlueprint `json:"schematics_blueprint,omitempty"`
}

ProjectConfigSchematicsBlueprintProperty : ProjectConfigSchematicsBlueprintProperty struct This model "extends" ProjectConfig

type ProjectConfigStatus

type ProjectConfigStatus struct {
	Href *string `json:"href" validate:"required"`

	Name *string `json:"name" validate:"required"`

	Status *string `json:"status" validate:"required"`

	// A detailed status message when applicable.
	Message *string `json:"message" validate:"required"`

	PipelineRun *string `json:"pipeline_run,omitempty"`

	SchematicsResourceID *string `json:"schematics_resource_id,omitempty"`

	ComputedStatuses map[string]interface{} `json:"computed_statuses,omitempty"`

	Output []OutputValue `json:"output,omitempty"`
}

ProjectConfigStatus : ProjectConfigStatus struct

type ProjectConfigStatuses

type ProjectConfigStatuses struct {
	ProjectID *string `json:"project_id" validate:"required"`

	Href *string `json:"href" validate:"required"`

	ConfigStatuses []ProjectConfigStatus `json:"config_statuses" validate:"required"`
}

ProjectConfigStatuses : The status of all project configs.

type ProjectConfigTerraformTemplateProperty

type ProjectConfigTerraformTemplateProperty struct {
	Name *string `json:"name" validate:"required"`

	Labels []string `json:"labels,omitempty"`

	Output []OutputValue `json:"output,omitempty"`

	Type *string `json:"type" validate:"required"`

	Input []InputVariable `json:"input" validate:"required"`

	// A Terraform blueprint to use for provisioning a set of project resources.
	TerraformTemplate *TerraformTemplate `json:"terraform_template,omitempty"`
}

ProjectConfigTerraformTemplateProperty : ProjectConfigTerraformTemplateProperty struct This model "extends" ProjectConfig

type ProjectDashboard

type ProjectDashboard struct {
	Widgets []Widget `json:"widgets" validate:"required"`
}

ProjectDashboard : ProjectDashboard struct

type ProjectPrototypeDashboard

type ProjectPrototypeDashboard struct {
	Widgets []Widget `json:"widgets" validate:"required"`
}

ProjectPrototypeDashboard : ProjectPrototypeDashboard struct

type ProjectStatus

type ProjectStatus struct {
	ProjectID *string `json:"project_id" validate:"required"`

	Href *string `json:"href" validate:"required"`

	// Project plumbing services and their status.
	ServicesStatus *ServicesStatus `json:"services_status" validate:"required"`

	ComputedStatuses map[string]interface{} `json:"computed_statuses,omitempty"`
}

ProjectStatus : The project status, including plumbing services and computed statuses information.

type ProjectsV1

type ProjectsV1 struct {
	Service *core.BaseService
}

ProjectsV1 : This document is the **REST API specification** for the Projects Service. The Projects service provides the capability to manage infrastructure as code in IBM Cloud.

API Version: 1.0.0

func NewProjectsV1

func NewProjectsV1(options *ProjectsV1Options) (service *ProjectsV1, err error)

NewProjectsV1 : constructs an instance of ProjectsV1 with passed in options.

func NewProjectsV1UsingExternalConfig

func NewProjectsV1UsingExternalConfig(options *ProjectsV1Options) (projects *ProjectsV1, err error)

NewProjectsV1UsingExternalConfig : constructs an instance of ProjectsV1 with passed in options and external configuration.

func (*ProjectsV1) CheckProject

func (projects *ProjectsV1) CheckProject(checkProjectOptions *CheckProjectOptions) (response *core.DetailedResponse, err error)

CheckProject : Check Project Check one or more project's configurations. The operation verifies that all the config resources are installed, and compliant to the configured security postures. You can track the operation and view the results using the project status api.

func (*ProjectsV1) CheckProjectWithContext

func (projects *ProjectsV1) CheckProjectWithContext(ctx context.Context, checkProjectOptions *CheckProjectOptions) (response *core.DetailedResponse, err error)

CheckProjectWithContext is an alternate form of the CheckProject method which supports a Context parameter

func (*ProjectsV1) Clone

func (projects *ProjectsV1) Clone() *ProjectsV1

Clone makes a copy of "projects" suitable for processing requests.

func (*ProjectsV1) CreateProject

func (projects *ProjectsV1) CreateProject(createProjectOptions *CreateProjectOptions) (result *Project, response *core.DetailedResponse, err error)

CreateProject : Create a Project Create a new Project, which asynchronously setup the tools to manage it and creates the initial Pull Request on the Project git repo. After approving the PR, the user can deploy the resources that the Project configures.

func (*ProjectsV1) CreateProjectWithContext

func (projects *ProjectsV1) CreateProjectWithContext(ctx context.Context, createProjectOptions *CreateProjectOptions) (result *Project, response *core.DetailedResponse, err error)

CreateProjectWithContext is an alternate form of the CreateProject method which supports a Context parameter

func (*ProjectsV1) DeleteProject

func (projects *ProjectsV1) DeleteProject(deleteProjectOptions *DeleteProjectOptions) (response *core.DetailedResponse, err error)

DeleteProject : Delete a project by id Delete a project document. A project can only be deleted after deleting all its artifacts.

func (*ProjectsV1) DeleteProjectWithContext

func (projects *ProjectsV1) DeleteProjectWithContext(ctx context.Context, deleteProjectOptions *DeleteProjectOptions) (response *core.DetailedResponse, err error)

DeleteProjectWithContext is an alternate form of the DeleteProject method which supports a Context parameter

func (*ProjectsV1) DisableRetries

func (projects *ProjectsV1) DisableRetries()

DisableRetries disables automatic retries for requests invoked for this service instance.

func (*ProjectsV1) EnableRetries

func (projects *ProjectsV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)

EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.

func (*ProjectsV1) GetEnableGzipCompression

func (projects *ProjectsV1) GetEnableGzipCompression() bool

GetEnableGzipCompression returns the service's EnableGzipCompression field

func (*ProjectsV1) GetHealth

func (projects *ProjectsV1) GetHealth(getHealthOptions *GetHealthOptions) (result *Health, response *core.DetailedResponse, err error)

GetHealth : Get service health information

func (*ProjectsV1) GetHealthWithContext

func (projects *ProjectsV1) GetHealthWithContext(ctx context.Context, getHealthOptions *GetHealthOptions) (result *Health, response *core.DetailedResponse, err error)

GetHealthWithContext is an alternate form of the GetHealth method which supports a Context parameter

func (*ProjectsV1) GetProject

func (projects *ProjectsV1) GetProject(getProjectOptions *GetProjectOptions) (result *Project, response *core.DetailedResponse, err error)

GetProject : Get project by id Get a project definition document by id.

func (*ProjectsV1) GetProjectComputedStatus

func (projects *ProjectsV1) GetProjectComputedStatus(getProjectComputedStatusOptions *GetProjectComputedStatusOptions) (result *ProjectComputedStatus, response *core.DetailedResponse, err error)

GetProjectComputedStatus : Get computed status information Returns a project computed status.

func (*ProjectsV1) GetProjectComputedStatusWithContext

func (projects *ProjectsV1) GetProjectComputedStatusWithContext(ctx context.Context, getProjectComputedStatusOptions *GetProjectComputedStatusOptions) (result *ProjectComputedStatus, response *core.DetailedResponse, err error)

GetProjectComputedStatusWithContext is an alternate form of the GetProjectComputedStatus method which supports a Context parameter

func (*ProjectsV1) GetProjectConfigComputedStatus

func (projects *ProjectsV1) GetProjectConfigComputedStatus(getProjectConfigComputedStatusOptions *GetProjectConfigComputedStatusOptions) (result *ProjectConfigComputedStatus, response *core.DetailedResponse, err error)

GetProjectConfigComputedStatus : Get config computed status information Returns the given computed status for the config.

func (*ProjectsV1) GetProjectConfigComputedStatusWithContext

func (projects *ProjectsV1) GetProjectConfigComputedStatusWithContext(ctx context.Context, getProjectConfigComputedStatusOptions *GetProjectConfigComputedStatusOptions) (result *ProjectConfigComputedStatus, response *core.DetailedResponse, err error)

GetProjectConfigComputedStatusWithContext is an alternate form of the GetProjectConfigComputedStatus method which supports a Context parameter

func (*ProjectsV1) GetProjectConfigStatus

func (projects *ProjectsV1) GetProjectConfigStatus(getProjectConfigStatusOptions *GetProjectConfigStatusOptions) (result *ProjectConfigStatus, response *core.DetailedResponse, err error)

GetProjectConfigStatus : Get project config status information Update a config status and eventually the output values.

func (*ProjectsV1) GetProjectConfigStatusWithContext

func (projects *ProjectsV1) GetProjectConfigStatusWithContext(ctx context.Context, getProjectConfigStatusOptions *GetProjectConfigStatusOptions) (result *ProjectConfigStatus, response *core.DetailedResponse, err error)

GetProjectConfigStatusWithContext is an alternate form of the GetProjectConfigStatus method which supports a Context parameter

func (*ProjectsV1) GetProjectStatus

func (projects *ProjectsV1) GetProjectStatus(getProjectStatusOptions *GetProjectStatusOptions) (result *ProjectStatus, response *core.DetailedResponse, err error)

GetProjectStatus : Get project status information Returns the detailed project status, including all the config statuses and all the computed statuses sent by external tools.

func (*ProjectsV1) GetProjectStatusWithContext

func (projects *ProjectsV1) GetProjectStatusWithContext(ctx context.Context, getProjectStatusOptions *GetProjectStatusOptions) (result *ProjectStatus, response *core.DetailedResponse, err error)

GetProjectStatusWithContext is an alternate form of the GetProjectStatus method which supports a Context parameter

func (*ProjectsV1) GetProjectWithContext

func (projects *ProjectsV1) GetProjectWithContext(ctx context.Context, getProjectOptions *GetProjectOptions) (result *Project, response *core.DetailedResponse, err error)

GetProjectWithContext is an alternate form of the GetProject method which supports a Context parameter

func (*ProjectsV1) GetServiceURL

func (projects *ProjectsV1) GetServiceURL() string

GetServiceURL returns the service URL

func (*ProjectsV1) InstallProject

func (projects *ProjectsV1) InstallProject(installProjectOptions *InstallProjectOptions) (response *core.DetailedResponse, err error)

InstallProject : Install Project Install one or more project's configurations. It is an asynchronous operation that can be tracked using the project status api.

func (*ProjectsV1) InstallProjectWithContext

func (projects *ProjectsV1) InstallProjectWithContext(ctx context.Context, installProjectOptions *InstallProjectOptions) (response *core.DetailedResponse, err error)

InstallProjectWithContext is an alternate form of the InstallProject method which supports a Context parameter

func (*ProjectsV1) ListProjectConfigStatuses

func (projects *ProjectsV1) ListProjectConfigStatuses(listProjectConfigStatusesOptions *ListProjectConfigStatusesOptions) (result *ProjectConfigStatuses, response *core.DetailedResponse, err error)

ListProjectConfigStatuses : List project configs status information Returns the status of all project configs.

func (*ProjectsV1) ListProjectConfigStatusesWithContext

func (projects *ProjectsV1) ListProjectConfigStatusesWithContext(ctx context.Context, listProjectConfigStatusesOptions *ListProjectConfigStatusesOptions) (result *ProjectConfigStatuses, response *core.DetailedResponse, err error)

ListProjectConfigStatusesWithContext is an alternate form of the ListProjectConfigStatuses method which supports a Context parameter

func (*ProjectsV1) ListProjects

func (projects *ProjectsV1) ListProjects(listProjectsOptions *ListProjectsOptions) (result *ListProjectsResponse, response *core.DetailedResponse, err error)

ListProjects : List Projects List existing Projects. Projects are sorted by id.

func (*ProjectsV1) ListProjectsWithContext

func (projects *ProjectsV1) ListProjectsWithContext(ctx context.Context, listProjectsOptions *ListProjectsOptions) (result *ListProjectsResponse, response *core.DetailedResponse, err error)

ListProjectsWithContext is an alternate form of the ListProjects method which supports a Context parameter

func (*ProjectsV1) NewCheckProjectOptions

func (*ProjectsV1) NewCheckProjectOptions(id string) *CheckProjectOptions

NewCheckProjectOptions : Instantiate CheckProjectOptions

func (*ProjectsV1) NewCreateProjectOptions

func (*ProjectsV1) NewCreateProjectOptions(name string, apiKey string) *CreateProjectOptions

NewCreateProjectOptions : Instantiate CreateProjectOptions

func (*ProjectsV1) NewDeleteProjectOptions

func (*ProjectsV1) NewDeleteProjectOptions(id string) *DeleteProjectOptions

NewDeleteProjectOptions : Instantiate DeleteProjectOptions

func (*ProjectsV1) NewGetHealthOptions

func (*ProjectsV1) NewGetHealthOptions() *GetHealthOptions

NewGetHealthOptions : Instantiate GetHealthOptions

func (*ProjectsV1) NewGetProjectComputedStatusOptions

func (*ProjectsV1) NewGetProjectComputedStatusOptions(id string, computedStatus string) *GetProjectComputedStatusOptions

NewGetProjectComputedStatusOptions : Instantiate GetProjectComputedStatusOptions

func (*ProjectsV1) NewGetProjectConfigComputedStatusOptions

func (*ProjectsV1) NewGetProjectConfigComputedStatusOptions(id string, configName string, computedStatus string) *GetProjectConfigComputedStatusOptions

NewGetProjectConfigComputedStatusOptions : Instantiate GetProjectConfigComputedStatusOptions

func (*ProjectsV1) NewGetProjectConfigStatusOptions

func (*ProjectsV1) NewGetProjectConfigStatusOptions(id string, configName string) *GetProjectConfigStatusOptions

NewGetProjectConfigStatusOptions : Instantiate GetProjectConfigStatusOptions

func (*ProjectsV1) NewGetProjectOptions

func (*ProjectsV1) NewGetProjectOptions(id string) *GetProjectOptions

NewGetProjectOptions : Instantiate GetProjectOptions

func (*ProjectsV1) NewGetProjectStatusOptions

func (*ProjectsV1) NewGetProjectStatusOptions(id string) *GetProjectStatusOptions

NewGetProjectStatusOptions : Instantiate GetProjectStatusOptions

func (*ProjectsV1) NewInputVariable

func (*ProjectsV1) NewInputVariable(name string) (_model *InputVariable, err error)

NewInputVariable : Instantiate InputVariable (Generic Model Constructor)

func (*ProjectsV1) NewInstallProjectOptions

func (*ProjectsV1) NewInstallProjectOptions(id string) *InstallProjectOptions

NewInstallProjectOptions : Instantiate InstallProjectOptions

func (*ProjectsV1) NewListProjectConfigStatusesOptions

func (*ProjectsV1) NewListProjectConfigStatusesOptions(id string) *ListProjectConfigStatusesOptions

NewListProjectConfigStatusesOptions : Instantiate ListProjectConfigStatusesOptions

func (*ProjectsV1) NewListProjectsOptions

func (*ProjectsV1) NewListProjectsOptions() *ListProjectsOptions

NewListProjectsOptions : Instantiate ListProjectsOptions

func (*ProjectsV1) NewOutputValue

func (*ProjectsV1) NewOutputValue(name string) (_model *OutputValue, err error)

NewOutputValue : Instantiate OutputValue (Generic Model Constructor)

func (*ProjectsV1) NewProject

func (*ProjectsV1) NewProject(name string) (_model *Project, err error)

NewProject : Instantiate Project (Generic Model Constructor)

func (*ProjectsV1) NewProjectConfigManualProperty

func (*ProjectsV1) NewProjectConfigManualProperty(name string, typeVar string) (_model *ProjectConfigManualProperty, err error)

NewProjectConfigManualProperty : Instantiate ProjectConfigManualProperty (Generic Model Constructor)

func (*ProjectsV1) NewProjectConfigSchematicsBlueprintProperty

func (*ProjectsV1) NewProjectConfigSchematicsBlueprintProperty(name string, typeVar string, input []InputVariable) (_model *ProjectConfigSchematicsBlueprintProperty, err error)

NewProjectConfigSchematicsBlueprintProperty : Instantiate ProjectConfigSchematicsBlueprintProperty (Generic Model Constructor)

func (*ProjectsV1) NewProjectConfigTerraformTemplateProperty

func (*ProjectsV1) NewProjectConfigTerraformTemplateProperty(name string, typeVar string, input []InputVariable) (_model *ProjectConfigTerraformTemplateProperty, err error)

NewProjectConfigTerraformTemplateProperty : Instantiate ProjectConfigTerraformTemplateProperty (Generic Model Constructor)

func (*ProjectsV1) NewProjectDashboard

func (*ProjectsV1) NewProjectDashboard(widgets []Widget) (_model *ProjectDashboard, err error)

NewProjectDashboard : Instantiate ProjectDashboard (Generic Model Constructor)

func (*ProjectsV1) NewProjectPrototypeDashboard

func (*ProjectsV1) NewProjectPrototypeDashboard(widgets []Widget) (_model *ProjectPrototypeDashboard, err error)

NewProjectPrototypeDashboard : Instantiate ProjectPrototypeDashboard (Generic Model Constructor)

func (*ProjectsV1) NewSchematicsBlueprint

func (*ProjectsV1) NewSchematicsBlueprint(repoURL string, definitionFile string) (_model *SchematicsBlueprint, err error)

NewSchematicsBlueprint : Instantiate SchematicsBlueprint (Generic Model Constructor)

func (*ProjectsV1) NewServiceStatus

func (*ProjectsV1) NewServiceStatus(id string, status string, message string) (_model *ServiceStatus, err error)

NewServiceStatus : Instantiate ServiceStatus (Generic Model Constructor)

func (*ProjectsV1) NewServicesStatus

func (*ProjectsV1) NewServicesStatus(toolchain *ServiceStatus, schematics *ServiceStatus) (_model *ServicesStatus, err error)

NewServicesStatus : Instantiate ServicesStatus (Generic Model Constructor)

func (*ProjectsV1) NewTerraformTemplate

func (*ProjectsV1) NewTerraformTemplate(repoURL string, terraformVersion string) (_model *TerraformTemplate, err error)

NewTerraformTemplate : Instantiate TerraformTemplate (Generic Model Constructor)

func (*ProjectsV1) NewUninstallProjectOptions

func (*ProjectsV1) NewUninstallProjectOptions(id string) *UninstallProjectOptions

NewUninstallProjectOptions : Instantiate UninstallProjectOptions

func (*ProjectsV1) NewUpdateProjectComputedStatusOptions

func (*ProjectsV1) NewUpdateProjectComputedStatusOptions(id string, computedStatus string, computedStatuses map[string]interface{}) *UpdateProjectComputedStatusOptions

NewUpdateProjectComputedStatusOptions : Instantiate UpdateProjectComputedStatusOptions

func (*ProjectsV1) NewUpdateProjectConfigComputedStatusOptions

func (*ProjectsV1) NewUpdateProjectConfigComputedStatusOptions(id string, configName string, computedStatus string, requestBody map[string]interface{}) *UpdateProjectConfigComputedStatusOptions

NewUpdateProjectConfigComputedStatusOptions : Instantiate UpdateProjectConfigComputedStatusOptions

func (*ProjectsV1) NewUpdateProjectConfigStatusOptions

func (*ProjectsV1) NewUpdateProjectConfigStatusOptions(id string, configName string, status string, message string) *UpdateProjectConfigStatusOptions

NewUpdateProjectConfigStatusOptions : Instantiate UpdateProjectConfigStatusOptions

func (*ProjectsV1) NewUpdateProjectOptions

func (*ProjectsV1) NewUpdateProjectOptions(id string, newName string) *UpdateProjectOptions

NewUpdateProjectOptions : Instantiate UpdateProjectOptions

func (*ProjectsV1) NewUpdateProjectStatusOptions

func (*ProjectsV1) NewUpdateProjectStatusOptions(id string, servicesStatus *ServicesStatus) *UpdateProjectStatusOptions

NewUpdateProjectStatusOptions : Instantiate UpdateProjectStatusOptions

func (*ProjectsV1) NewWidget

func (*ProjectsV1) NewWidget(name string) (_model *Widget, err error)

NewWidget : Instantiate Widget (Generic Model Constructor)

func (*ProjectsV1) SetDefaultHeaders

func (projects *ProjectsV1) SetDefaultHeaders(headers http.Header)

SetDefaultHeaders sets HTTP headers to be sent in every request

func (*ProjectsV1) SetEnableGzipCompression

func (projects *ProjectsV1) SetEnableGzipCompression(enableGzip bool)

SetEnableGzipCompression sets the service's EnableGzipCompression field

func (*ProjectsV1) SetServiceURL

func (projects *ProjectsV1) SetServiceURL(url string) error

SetServiceURL sets the service URL

func (*ProjectsV1) UninstallProject

func (projects *ProjectsV1) UninstallProject(uninstallProjectOptions *UninstallProjectOptions) (response *core.DetailedResponse, err error)

UninstallProject : Uninstall Project Uninstall one or more project's configurations. The operation uninstall all the resources deployed with the given configurations. You can track it by using the project status api.

func (*ProjectsV1) UninstallProjectWithContext

func (projects *ProjectsV1) UninstallProjectWithContext(ctx context.Context, uninstallProjectOptions *UninstallProjectOptions) (response *core.DetailedResponse, err error)

UninstallProjectWithContext is an alternate form of the UninstallProject method which supports a Context parameter

func (*ProjectsV1) UpdateProject

func (projects *ProjectsV1) UpdateProject(updateProjectOptions *UpdateProjectOptions) (result *Project, response *core.DetailedResponse, err error)

UpdateProject : Update a project by id Update a project.

func (*ProjectsV1) UpdateProjectComputedStatus

func (projects *ProjectsV1) UpdateProjectComputedStatus(updateProjectComputedStatusOptions *UpdateProjectComputedStatusOptions) (result *ProjectComputedStatus, response *core.DetailedResponse, err error)

UpdateProjectComputedStatus : Update computed status information Update a project computed status.

func (*ProjectsV1) UpdateProjectComputedStatusWithContext

func (projects *ProjectsV1) UpdateProjectComputedStatusWithContext(ctx context.Context, updateProjectComputedStatusOptions *UpdateProjectComputedStatusOptions) (result *ProjectComputedStatus, response *core.DetailedResponse, err error)

UpdateProjectComputedStatusWithContext is an alternate form of the UpdateProjectComputedStatus method which supports a Context parameter

func (*ProjectsV1) UpdateProjectConfigComputedStatus

func (projects *ProjectsV1) UpdateProjectConfigComputedStatus(updateProjectConfigComputedStatusOptions *UpdateProjectConfigComputedStatusOptions) (result *ProjectConfigComputedStatus, response *core.DetailedResponse, err error)

UpdateProjectConfigComputedStatus : Update a project computed status information Update a computed status with content to which the projects service is agnostic.

func (*ProjectsV1) UpdateProjectConfigComputedStatusWithContext

func (projects *ProjectsV1) UpdateProjectConfigComputedStatusWithContext(ctx context.Context, updateProjectConfigComputedStatusOptions *UpdateProjectConfigComputedStatusOptions) (result *ProjectConfigComputedStatus, response *core.DetailedResponse, err error)

UpdateProjectConfigComputedStatusWithContext is an alternate form of the UpdateProjectConfigComputedStatus method which supports a Context parameter

func (*ProjectsV1) UpdateProjectConfigStatus

func (projects *ProjectsV1) UpdateProjectConfigStatus(updateProjectConfigStatusOptions *UpdateProjectConfigStatusOptions) (result *ProjectConfigStatus, response *core.DetailedResponse, err error)

UpdateProjectConfigStatus : Update project config status information Update a config status and eventually the output values.

func (*ProjectsV1) UpdateProjectConfigStatusWithContext

func (projects *ProjectsV1) UpdateProjectConfigStatusWithContext(ctx context.Context, updateProjectConfigStatusOptions *UpdateProjectConfigStatusOptions) (result *ProjectConfigStatus, response *core.DetailedResponse, err error)

UpdateProjectConfigStatusWithContext is an alternate form of the UpdateProjectConfigStatus method which supports a Context parameter

func (*ProjectsV1) UpdateProjectStatus

func (projects *ProjectsV1) UpdateProjectStatus(updateProjectStatusOptions *UpdateProjectStatusOptions) (result *ProjectStatus, response *core.DetailedResponse, err error)

UpdateProjectStatus : Update project status information Update the project status.

func (*ProjectsV1) UpdateProjectStatusWithContext

func (projects *ProjectsV1) UpdateProjectStatusWithContext(ctx context.Context, updateProjectStatusOptions *UpdateProjectStatusOptions) (result *ProjectStatus, response *core.DetailedResponse, err error)

UpdateProjectStatusWithContext is an alternate form of the UpdateProjectStatus method which supports a Context parameter

func (*ProjectsV1) UpdateProjectWithContext

func (projects *ProjectsV1) UpdateProjectWithContext(ctx context.Context, updateProjectOptions *UpdateProjectOptions) (result *Project, response *core.DetailedResponse, err error)

UpdateProjectWithContext is an alternate form of the UpdateProject method which supports a Context parameter

type ProjectsV1Options

type ProjectsV1Options struct {
	ServiceName   string
	URL           string
	Authenticator core.Authenticator
}

ProjectsV1Options : Service options

type SchematicsBlueprint

type SchematicsBlueprint struct {
	RepoURL *string `json:"repo_url" validate:"required"`

	CatalogRef *string `json:"catalog_ref,omitempty"`

	DefinitionFile *string `json:"definition_file" validate:"required"`

	PersonalAccessToken *string `json:"personal_access_token,omitempty"`
}

SchematicsBlueprint : A Schematics blueprint to use for provisioning a set of project resources.

type ServiceStatus

type ServiceStatus struct {
	// An IBM Cloud Resource Name, which uniquely identify a resource.
	ID *string `json:"id" validate:"required"`

	Status *string `json:"status" validate:"required"`

	// A detailed status message when applicable.
	Message *string `json:"message" validate:"required"`

	SchematicsResourceID *string `json:"schematics_resource_id,omitempty"`
}

ServiceStatus : The deployment status of a plumbing service.

type ServicesStatus

type ServicesStatus struct {
	// The deployment status of a plumbing service.
	Toolchain *ServiceStatus `json:"toolchain" validate:"required"`

	// The deployment status of a plumbing service.
	Schematics *ServiceStatus `json:"schematics" validate:"required"`

	// The deployment status of a plumbing service.
	GitRepo *ServiceStatus `json:"git_repo,omitempty"`
}

ServicesStatus : Project plumbing services and their status.

type TerraformTemplate

type TerraformTemplate struct {
	RepoURL *string `json:"repo_url" validate:"required"`

	CatalogRef *string `json:"catalog_ref,omitempty"`

	TerraformVersion *string `json:"terraform_version" validate:"required"`

	PersonalAccessToken *string `json:"personal_access_token,omitempty"`
}

TerraformTemplate : A Terraform blueprint to use for provisioning a set of project resources.

type UninstallProjectOptions

type UninstallProjectOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// The configs to uninstall. Leave the array empty to install all the configs.
	ConfigNames []string `json:"config_names,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UninstallProjectOptions : The UninstallProject options.

func (*UninstallProjectOptions) SetConfigNames

func (_options *UninstallProjectOptions) SetConfigNames(configNames []string) *UninstallProjectOptions

SetConfigNames : Allow user to set ConfigNames

func (*UninstallProjectOptions) SetHeaders

func (options *UninstallProjectOptions) SetHeaders(param map[string]string) *UninstallProjectOptions

SetHeaders : Allow user to set Headers

func (*UninstallProjectOptions) SetID

SetID : Allow user to set ID

type UpdateProjectComputedStatusOptions

type UpdateProjectComputedStatusOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// The name of the computed status.
	ComputedStatus *string `json:"computed_status" validate:"required,ne="`

	ComputedStatuses map[string]interface{} `json:"computed_statuses" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateProjectComputedStatusOptions : The UpdateProjectComputedStatus options.

func (*UpdateProjectComputedStatusOptions) SetComputedStatus

func (_options *UpdateProjectComputedStatusOptions) SetComputedStatus(computedStatus string) *UpdateProjectComputedStatusOptions

SetComputedStatus : Allow user to set ComputedStatus

func (*UpdateProjectComputedStatusOptions) SetComputedStatuses

func (_options *UpdateProjectComputedStatusOptions) SetComputedStatuses(computedStatuses map[string]interface{}) *UpdateProjectComputedStatusOptions

SetComputedStatuses : Allow user to set ComputedStatuses

func (*UpdateProjectComputedStatusOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateProjectComputedStatusOptions) SetID

SetID : Allow user to set ID

type UpdateProjectConfigComputedStatusOptions

type UpdateProjectConfigComputedStatusOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// The name of the config, which must be unique in the project.
	ConfigName *string `json:"config_name" validate:"required,ne="`

	// The name of the computed status, which must be unique within the config.
	ComputedStatus *string `json:"computed_status" validate:"required,ne="`

	// The computed status to set.
	RequestBody map[string]interface{} `json:"request_body" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateProjectConfigComputedStatusOptions : The UpdateProjectConfigComputedStatus options.

func (*UpdateProjectConfigComputedStatusOptions) SetComputedStatus

SetComputedStatus : Allow user to set ComputedStatus

func (*UpdateProjectConfigComputedStatusOptions) SetConfigName

SetConfigName : Allow user to set ConfigName

func (*UpdateProjectConfigComputedStatusOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateProjectConfigComputedStatusOptions) SetID

SetID : Allow user to set ID

func (*UpdateProjectConfigComputedStatusOptions) SetRequestBody

func (_options *UpdateProjectConfigComputedStatusOptions) SetRequestBody(requestBody map[string]interface{}) *UpdateProjectConfigComputedStatusOptions

SetRequestBody : Allow user to set RequestBody

type UpdateProjectConfigStatusOptions

type UpdateProjectConfigStatusOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// The name of the config, which must be unique within the project.
	ConfigName *string `json:"config_name" validate:"required,ne="`

	Status *string `json:"status" validate:"required"`

	// A detailed status message when applicable.
	Message *string `json:"message" validate:"required"`

	PipelineRun *string `json:"pipeline_run,omitempty"`

	SchematicsResourceID *string `json:"schematics_resource_id,omitempty"`

	Output []OutputValue `json:"output,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateProjectConfigStatusOptions : The UpdateProjectConfigStatus options.

func (*UpdateProjectConfigStatusOptions) SetConfigName

func (_options *UpdateProjectConfigStatusOptions) SetConfigName(configName string) *UpdateProjectConfigStatusOptions

SetConfigName : Allow user to set ConfigName

func (*UpdateProjectConfigStatusOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateProjectConfigStatusOptions) SetID

SetID : Allow user to set ID

func (*UpdateProjectConfigStatusOptions) SetMessage

SetMessage : Allow user to set Message

func (*UpdateProjectConfigStatusOptions) SetOutput

SetOutput : Allow user to set Output

func (*UpdateProjectConfigStatusOptions) SetPipelineRun

func (_options *UpdateProjectConfigStatusOptions) SetPipelineRun(pipelineRun string) *UpdateProjectConfigStatusOptions

SetPipelineRun : Allow user to set PipelineRun

func (*UpdateProjectConfigStatusOptions) SetSchematicsResourceID

func (_options *UpdateProjectConfigStatusOptions) SetSchematicsResourceID(schematicsResourceID string) *UpdateProjectConfigStatusOptions

SetSchematicsResourceID : Allow user to set SchematicsResourceID

func (*UpdateProjectConfigStatusOptions) SetStatus

SetStatus : Allow user to set Status

type UpdateProjectOptions

type UpdateProjectOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"-" validate:"required,ne="`

	// The project name.
	NewName *string `json:"name" validate:"required"`

	// A project descriptive text.
	NewDescription *string `json:"description,omitempty"`

	NewID *string `json:"id,omitempty"`

	// An IBM Cloud Resource Name, which uniquely identify a resource.
	NewCrn *string `json:"crn,omitempty"`

	NewCreatedBy *string `json:"created_by,omitempty"`

	// A date/time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as
	// specified by RFC 3339.
	NewCreatedAt *strfmt.DateTime `json:"created_at,omitempty"`

	// A date/time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as
	// specified by RFC 3339.
	NewUpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`

	NewRepoURL *string `json:"repo_url,omitempty"`

	NewHref *string `json:"href,omitempty"`

	NewConfigs []ProjectConfigIntf `json:"configs,omitempty"`

	NewDashboard *ProjectDashboard `json:"dashboard,omitempty"`

	// Set this header to control the return of the Project. If return=minimal is set, a successful response has a 201
	// Created or 204 No Content status and includes no body. If return=representation is set, a successful response
	// includes the updated Project. Default includes no body.
	Prefer *string `json:"Prefer,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateProjectOptions : The UpdateProject options.

func (*UpdateProjectOptions) SetHeaders

func (options *UpdateProjectOptions) SetHeaders(param map[string]string) *UpdateProjectOptions

SetHeaders : Allow user to set Headers

func (*UpdateProjectOptions) SetID

func (_options *UpdateProjectOptions) SetID(id string) *UpdateProjectOptions

SetID : Allow user to set ID

func (*UpdateProjectOptions) SetNewConfigs

func (_options *UpdateProjectOptions) SetNewConfigs(newConfigs []ProjectConfigIntf) *UpdateProjectOptions

SetNewConfigs : Allow user to set NewConfigs

func (*UpdateProjectOptions) SetNewCreatedAt

func (_options *UpdateProjectOptions) SetNewCreatedAt(newCreatedAt *strfmt.DateTime) *UpdateProjectOptions

SetNewCreatedAt : Allow user to set NewCreatedAt

func (*UpdateProjectOptions) SetNewCreatedBy

func (_options *UpdateProjectOptions) SetNewCreatedBy(newCreatedBy string) *UpdateProjectOptions

SetNewCreatedBy : Allow user to set NewCreatedBy

func (*UpdateProjectOptions) SetNewCrn

func (_options *UpdateProjectOptions) SetNewCrn(newCrn string) *UpdateProjectOptions

SetNewCrn : Allow user to set NewCrn

func (*UpdateProjectOptions) SetNewDashboard

func (_options *UpdateProjectOptions) SetNewDashboard(newDashboard *ProjectDashboard) *UpdateProjectOptions

SetNewDashboard : Allow user to set NewDashboard

func (*UpdateProjectOptions) SetNewDescription

func (_options *UpdateProjectOptions) SetNewDescription(newDescription string) *UpdateProjectOptions

SetNewDescription : Allow user to set NewDescription

func (*UpdateProjectOptions) SetNewHref

func (_options *UpdateProjectOptions) SetNewHref(newHref string) *UpdateProjectOptions

SetNewHref : Allow user to set NewHref

func (*UpdateProjectOptions) SetNewID

func (_options *UpdateProjectOptions) SetNewID(newID string) *UpdateProjectOptions

SetNewID : Allow user to set NewID

func (*UpdateProjectOptions) SetNewName

func (_options *UpdateProjectOptions) SetNewName(newName string) *UpdateProjectOptions

SetNewName : Allow user to set NewName

func (*UpdateProjectOptions) SetNewRepoURL

func (_options *UpdateProjectOptions) SetNewRepoURL(newRepoURL string) *UpdateProjectOptions

SetNewRepoURL : Allow user to set NewRepoURL

func (*UpdateProjectOptions) SetNewUpdatedAt

func (_options *UpdateProjectOptions) SetNewUpdatedAt(newUpdatedAt *strfmt.DateTime) *UpdateProjectOptions

SetNewUpdatedAt : Allow user to set NewUpdatedAt

func (*UpdateProjectOptions) SetPrefer

func (_options *UpdateProjectOptions) SetPrefer(prefer string) *UpdateProjectOptions

SetPrefer : Allow user to set Prefer

type UpdateProjectStatusOptions

type UpdateProjectStatusOptions struct {
	// The id of the project, which uniquely identifies it.
	ID *string `json:"id" validate:"required,ne="`

	// Project plumbing services and their status.
	ServicesStatus *ServicesStatus `json:"services_status" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateProjectStatusOptions : The UpdateProjectStatus options.

func (*UpdateProjectStatusOptions) SetHeaders

func (options *UpdateProjectStatusOptions) SetHeaders(param map[string]string) *UpdateProjectStatusOptions

SetHeaders : Allow user to set Headers

func (*UpdateProjectStatusOptions) SetID

SetID : Allow user to set ID

func (*UpdateProjectStatusOptions) SetServicesStatus

func (_options *UpdateProjectStatusOptions) SetServicesStatus(servicesStatus *ServicesStatus) *UpdateProjectStatusOptions

SetServicesStatus : Allow user to set ServicesStatus

type Widget

type Widget struct {
	// The name of the widget, which must be unique within the project.
	Name *string `json:"name" validate:"required"`
}

Widget : Widget struct

Jump to

Keyboard shortcuts

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