v1alpha1

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

+groupName=schematics.ibm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: schematics.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Action

type Action struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ActionSpec   `json:"spec,omitempty"`
	Status            ActionStatus `json:"status,omitempty"`
}

func (*Action) DeepCopy

func (in *Action) DeepCopy() *Action

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action.

func (*Action) DeepCopyInto

func (in *Action) DeepCopyInto(out *Action)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Action) DeepCopyObject

func (in *Action) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Action) SetupWebhookWithManager

func (r *Action) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Action) ValidateCreate

func (r *Action) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Action) ValidateDelete

func (r *Action) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Action) ValidateUpdate

func (r *Action) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ActionList

type ActionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Action CRD objects
	Items []Action `json:"items,omitempty"`
}

ActionList is a list of Actions

func (*ActionList) DeepCopy

func (in *ActionList) DeepCopy() *ActionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionList.

func (*ActionList) DeepCopyInto

func (in *ActionList) DeepCopyInto(out *ActionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ActionList) DeepCopyObject

func (in *ActionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ActionSpec

type ActionSpec struct {
	State *ActionSpecResource `json:"state,omitempty" tf:"-"`

	Resource ActionSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ActionSpec) DeepCopy

func (in *ActionSpec) DeepCopy() *ActionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpec.

func (*ActionSpec) DeepCopyInto

func (in *ActionSpec) DeepCopyInto(out *ActionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecActionInputs

type ActionSpecActionInputs struct {
	// Reference link to the variable value By default the expression will point to self.value.
	// +optional
	Link *string `json:"link,omitempty" tf:"link"`
	// User editable metadata for the variables.
	// +optional
	Metadata []ActionSpecActionInputsMetadata `json:"metadata,omitempty" tf:"metadata"`
	// Name of the variable.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Value for the variable or reference to the value.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ActionSpecActionInputs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecActionInputs.

func (*ActionSpecActionInputs) DeepCopyInto

func (in *ActionSpecActionInputs) DeepCopyInto(out *ActionSpecActionInputs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecActionInputsMetadata

type ActionSpecActionInputsMetadata struct {
	// List of aliases for the variable name.
	// +optional
	Aliases []string `json:"aliases,omitempty" tf:"aliases"`
	// Default value for the variable, if the override value is not specified.
	// +optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value"`
	// Description of the meta data.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Display name of the group this variable belongs to.
	// +optional
	GroupBy *string `json:"groupBy,omitempty" tf:"group_by"`
	// If true, the variable will not be displayed on UI or CLI.
	// +optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden"`
	// Is the variable readonly ?.
	// +optional
	Immutable *bool `json:"immutable,omitempty" tf:"immutable"`
	// Regex for the variable value.
	// +optional
	Matches *string `json:"matches,omitempty" tf:"matches"`
	// Maximum length of the variable value. Applicable for string type.
	// +optional
	MaxLength *int64 `json:"maxLength,omitempty" tf:"max_length"`
	// Maximum value of the variable. Applicable for integer type.
	// +optional
	MaxValue *int64 `json:"maxValue,omitempty" tf:"max_value"`
	// Minimum length of the variable value. Applicable for string type.
	// +optional
	MinLength *int64 `json:"minLength,omitempty" tf:"min_length"`
	// Minimum value of the variable. Applicable for integer type.
	// +optional
	MinValue *int64 `json:"minValue,omitempty" tf:"min_value"`
	// List of possible values for this variable.  If type is integer or date, then the array of string will be  converted to array of integers or date during runtime.
	// +optional
	Options []string `json:"options,omitempty" tf:"options"`
	// Relative position of this variable in a list.
	// +optional
	Position *int64 `json:"position,omitempty" tf:"position"`
	// Is the variable secure or sensitive ?.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// Source of this meta-data.
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// Type of the variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ActionSpecActionInputsMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecActionInputsMetadata.

func (*ActionSpecActionInputsMetadata) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecActionOutputs

type ActionSpecActionOutputs struct {
	// Reference link to the variable value By default the expression will point to self.value.
	// +optional
	Link *string `json:"link,omitempty" tf:"link"`
	// User editable metadata for the variables.
	// +optional
	Metadata []ActionSpecActionOutputsMetadata `json:"metadata,omitempty" tf:"metadata"`
	// Name of the variable.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Value for the variable or reference to the value.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ActionSpecActionOutputs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecActionOutputs.

func (*ActionSpecActionOutputs) DeepCopyInto

func (in *ActionSpecActionOutputs) DeepCopyInto(out *ActionSpecActionOutputs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecActionOutputsMetadata

type ActionSpecActionOutputsMetadata struct {
	// List of aliases for the variable name.
	// +optional
	Aliases []string `json:"aliases,omitempty" tf:"aliases"`
	// Default value for the variable, if the override value is not specified.
	// +optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value"`
	// Description of the meta data.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Display name of the group this variable belongs to.
	// +optional
	GroupBy *string `json:"groupBy,omitempty" tf:"group_by"`
	// If true, the variable will not be displayed on UI or CLI.
	// +optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden"`
	// Is the variable readonly ?.
	// +optional
	Immutable *bool `json:"immutable,omitempty" tf:"immutable"`
	// Regex for the variable value.
	// +optional
	Matches *string `json:"matches,omitempty" tf:"matches"`
	// Maximum length of the variable value. Applicable for string type.
	// +optional
	MaxLength *int64 `json:"maxLength,omitempty" tf:"max_length"`
	// Maximum value of the variable. Applicable for integer type.
	// +optional
	MaxValue *int64 `json:"maxValue,omitempty" tf:"max_value"`
	// Minimum length of the variable value. Applicable for string type.
	// +optional
	MinLength *int64 `json:"minLength,omitempty" tf:"min_length"`
	// Minimum value of the variable. Applicable for integer type.
	// +optional
	MinValue *int64 `json:"minValue,omitempty" tf:"min_value"`
	// List of possible values for this variable.  If type is integer or date, then the array of string will be  converted to array of integers or date during runtime.
	// +optional
	Options []string `json:"options,omitempty" tf:"options"`
	// Relative position of this variable in a list.
	// +optional
	Position *int64 `json:"position,omitempty" tf:"position"`
	// Is the variable secure or sensitive ?.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// Source of this meta-data.
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// Type of the variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ActionSpecActionOutputsMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecActionOutputsMetadata.

func (*ActionSpecActionOutputsMetadata) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecBastion

type ActionSpecBastion struct {
	// Targets creation time.
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// E-mail address of the user who created the targets.
	// +optional
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"`
	// Override credential for each resource.  Reference to credentials values, used by all the resources.
	// +optional
	CredentialRef *string `json:"credentialRef,omitempty" tf:"credential_ref"`
	// Target description.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Target ID.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// Target name.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Array of the resource IDs.
	// +optional
	ResourceIDS []string `json:"resourceIDS,omitempty" tf:"resource_ids"`
	// Resource selection query string.
	// +optional
	ResourceQuery *string `json:"resourceQuery,omitempty" tf:"resource_query"`
	// System lock status.
	// +optional
	SysLock []ActionSpecBastionSysLock `json:"sysLock,omitempty" tf:"sys_lock"`
	// Target type (`cluster`, `vsi`, `icd`, `vpc`).
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// Targets updation time.
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
	// E-mail address of user who updated the targets.
	// +optional
	UpdatedBy *string `json:"updatedBy,omitempty" tf:"updated_by"`
}

func (*ActionSpecBastion) DeepCopy

func (in *ActionSpecBastion) DeepCopy() *ActionSpecBastion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecBastion.

func (*ActionSpecBastion) DeepCopyInto

func (in *ActionSpecBastion) DeepCopyInto(out *ActionSpecBastion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecBastionSysLock

type ActionSpecBastionSysLock struct {
	// Is the Workspace locked by the Schematic action ?.
	// +optional
	SysLocked *bool `json:"sysLocked,omitempty" tf:"sys_locked"`
	// When the user performed the action that lead to lock the Workspace ?.
	// +optional
	SysLockedAt *string `json:"sysLockedAt,omitempty" tf:"sys_locked_at"`
	// Name of the user who performed the action, that lead to lock the Workspace.
	// +optional
	SysLockedBy *string `json:"sysLockedBy,omitempty" tf:"sys_locked_by"`
}

func (*ActionSpecBastionSysLock) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecBastionSysLock.

func (*ActionSpecBastionSysLock) DeepCopyInto

func (in *ActionSpecBastionSysLock) DeepCopyInto(out *ActionSpecBastionSysLock)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecCredentials

type ActionSpecCredentials struct {
	// Reference link to the variable value By default the expression will point to self.value.
	// +optional
	Link *string `json:"link,omitempty" tf:"link"`
	// User editable metadata for the variables.
	// +optional
	Metadata []ActionSpecCredentialsMetadata `json:"metadata,omitempty" tf:"metadata"`
	// Name of the variable.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Value for the variable or reference to the value.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ActionSpecCredentials) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecCredentials.

func (*ActionSpecCredentials) DeepCopyInto

func (in *ActionSpecCredentials) DeepCopyInto(out *ActionSpecCredentials)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecCredentialsMetadata

type ActionSpecCredentialsMetadata struct {
	// List of aliases for the variable name.
	// +optional
	Aliases []string `json:"aliases,omitempty" tf:"aliases"`
	// Default value for the variable, if the override value is not specified.
	// +optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value"`
	// Description of the meta data.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Display name of the group this variable belongs to.
	// +optional
	GroupBy *string `json:"groupBy,omitempty" tf:"group_by"`
	// If true, the variable will not be displayed on UI or CLI.
	// +optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden"`
	// Is the variable readonly ?.
	// +optional
	Immutable *bool `json:"immutable,omitempty" tf:"immutable"`
	// Regex for the variable value.
	// +optional
	Matches *string `json:"matches,omitempty" tf:"matches"`
	// Maximum length of the variable value. Applicable for string type.
	// +optional
	MaxLength *int64 `json:"maxLength,omitempty" tf:"max_length"`
	// Maximum value of the variable. Applicable for integer type.
	// +optional
	MaxValue *int64 `json:"maxValue,omitempty" tf:"max_value"`
	// Minimum length of the variable value. Applicable for string type.
	// +optional
	MinLength *int64 `json:"minLength,omitempty" tf:"min_length"`
	// Minimum value of the variable. Applicable for integer type.
	// +optional
	MinValue *int64 `json:"minValue,omitempty" tf:"min_value"`
	// List of possible values for this variable.  If type is integer or date, then the array of string will be  converted to array of integers or date during runtime.
	// +optional
	Options []string `json:"options,omitempty" tf:"options"`
	// Relative position of this variable in a list.
	// +optional
	Position *int64 `json:"position,omitempty" tf:"position"`
	// Is the variable secure or sensitive ?.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// Source of this meta-data.
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// Type of the variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ActionSpecCredentialsMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecCredentialsMetadata.

func (*ActionSpecCredentialsMetadata) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecResource

type ActionSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Action account ID.
	// +optional
	Account *string `json:"account,omitempty" tf:"account"`
	// Input variables for an action.
	// +optional
	ActionInputs []ActionSpecActionInputs `json:"actionInputs,omitempty" tf:"action_inputs"`
	// Output variables for an action.
	// +optional
	ActionOutputs []ActionSpecActionOutputs `json:"actionOutputs,omitempty" tf:"action_outputs"`
	// Complete target details with the user inputs and the system generated data.
	// +optional
	Bastion []ActionSpecBastion `json:"bastion,omitempty" tf:"bastion"`
	// Schematics job command parameter (playbook-name, capsule-name or flow-name).
	// +optional
	CommandParameter *string `json:"commandParameter,omitempty" tf:"command_parameter"`
	// Action creation time.
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// E-mail address of the user who created an action.
	// +optional
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"`
	// credentials of the Action.
	// +optional
	Credentials []ActionSpecCredentials `json:"credentials,omitempty" tf:"credentials"`
	// Action Cloud Resource Name.
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// Action description.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// List of action locations supported by IBM Cloud Schematics service.  **Note** this does not limit the location of the resources provisioned using Schematics.
	// +optional
	Location *string `json:"location,omitempty" tf:"location"`
	// Action name (unique for an account).
	Name *string `json:"name" tf:"name"`
	// Name of the namespace.
	// +optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace"`
	// Playbook names retrieved from the respository.
	// +optional
	PlaybookNames []string `json:"playbookNames,omitempty" tf:"playbook_names"`
	// Resource-group name for an action.  By default, action is created in default resource group.
	// +optional
	ResourceGroup *string `json:"resourceGroup,omitempty" tf:"resource_group"`
	// Environment variables for an action.
	// +optional
	Settings []ActionSpecSettings `json:"settings,omitempty" tf:"settings"`
	// Source of templates, playbooks, or controls.
	// +optional
	Source []ActionSpecSource `json:"source,omitempty" tf:"source"`
	// Action Playbook Source creation time.
	// +optional
	SourceCreatedAt *string `json:"sourceCreatedAt,omitempty" tf:"source_created_at"`
	// E-mail address of user who created the Action Playbook Source.
	// +optional
	SourceCreatedBy *string `json:"sourceCreatedBy,omitempty" tf:"source_created_by"`
	// URL of the `README` file, for the source.
	// +optional
	SourceReadmeURL *string `json:"sourceReadmeURL,omitempty" tf:"source_readme_url"`
	// Type of source for the Template.
	// +optional
	SourceType *string `json:"sourceType,omitempty" tf:"source_type"`
	// The action playbook updation time.
	// +optional
	SourceUpdatedAt *string `json:"sourceUpdatedAt,omitempty" tf:"source_updated_at"`
	// E-mail address of user who updated the action playbook source.
	// +optional
	SourceUpdatedBy *string `json:"sourceUpdatedBy,omitempty" tf:"source_updated_by"`
	// Computed state of an action.
	// +optional
	State []ActionSpecState `json:"state,omitempty" tf:"state"`
	// System lock status.
	// +optional
	SysLock []ActionSpecSysLock `json:"sysLock,omitempty" tf:"sys_lock"`
	// Action tags.
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Inventory of host and host group for the playbook in `INI` file format. For example, `"targets_ini": "[webserverhost]  172.22.192.6  [dbhost]  172.22.192.5"`. For more information, about an inventory host group syntax, see [Inventory host groups](/docs/schematics?topic=schematics-schematics-cli-reference#schematics-inventory-host-grps).
	// +optional
	TargetsIni *string `json:"targetsIni,omitempty" tf:"targets_ini"`
	// ID to the trigger.
	// +optional
	TriggerRecordID *string `json:"triggerRecordID,omitempty" tf:"trigger_record_id"`
	// Action updation time.
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
	// E-mail address of the user who updated an action.
	// +optional
	UpdatedBy *string `json:"updatedBy,omitempty" tf:"updated_by"`
	// User defined status of the Schematics object.
	// +optional
	UserState []ActionSpecUserState `json:"userState,omitempty" tf:"user_state"`
	// The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template.
	// +optional
	XGithubToken *string `json:"xGithubToken,omitempty" tf:"x_github_token"`
}

func (*ActionSpecResource) DeepCopy

func (in *ActionSpecResource) DeepCopy() *ActionSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecResource.

func (*ActionSpecResource) DeepCopyInto

func (in *ActionSpecResource) DeepCopyInto(out *ActionSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecSettings

type ActionSpecSettings struct {
	// Reference link to the variable value By default the expression will point to self.value.
	// +optional
	Link *string `json:"link,omitempty" tf:"link"`
	// User editable metadata for the variables.
	// +optional
	Metadata []ActionSpecSettingsMetadata `json:"metadata,omitempty" tf:"metadata"`
	// Name of the variable.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Value for the variable or reference to the value.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ActionSpecSettings) DeepCopy

func (in *ActionSpecSettings) DeepCopy() *ActionSpecSettings

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecSettings.

func (*ActionSpecSettings) DeepCopyInto

func (in *ActionSpecSettings) DeepCopyInto(out *ActionSpecSettings)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecSettingsMetadata

type ActionSpecSettingsMetadata struct {
	// List of aliases for the variable name.
	// +optional
	Aliases []string `json:"aliases,omitempty" tf:"aliases"`
	// Default value for the variable, if the override value is not specified.
	// +optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value"`
	// Description of the meta data.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Display name of the group this variable belongs to.
	// +optional
	GroupBy *string `json:"groupBy,omitempty" tf:"group_by"`
	// If true, the variable will not be displayed on UI or CLI.
	// +optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden"`
	// Is the variable readonly ?.
	// +optional
	Immutable *bool `json:"immutable,omitempty" tf:"immutable"`
	// Regex for the variable value.
	// +optional
	Matches *string `json:"matches,omitempty" tf:"matches"`
	// Maximum length of the variable value. Applicable for string type.
	// +optional
	MaxLength *int64 `json:"maxLength,omitempty" tf:"max_length"`
	// Maximum value of the variable. Applicable for integer type.
	// +optional
	MaxValue *int64 `json:"maxValue,omitempty" tf:"max_value"`
	// Minimum length of the variable value. Applicable for string type.
	// +optional
	MinLength *int64 `json:"minLength,omitempty" tf:"min_length"`
	// Minimum value of the variable. Applicable for integer type.
	// +optional
	MinValue *int64 `json:"minValue,omitempty" tf:"min_value"`
	// List of possible values for this variable.  If type is integer or date, then the array of string will be  converted to array of integers or date during runtime.
	// +optional
	Options []string `json:"options,omitempty" tf:"options"`
	// Relative position of this variable in a list.
	// +optional
	Position *int64 `json:"position,omitempty" tf:"position"`
	// Is the variable secure or sensitive ?.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// Source of this meta-data.
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// Type of the variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ActionSpecSettingsMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecSettingsMetadata.

func (*ActionSpecSettingsMetadata) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecSource

type ActionSpecSource struct {
	// Connection details to Git source.
	// +optional
	Git []ActionSpecSourceGit `json:"git,omitempty" tf:"git"`
	// Type of source for the Template.
	SourceType *string `json:"sourceType" tf:"source_type"`
}

func (*ActionSpecSource) DeepCopy

func (in *ActionSpecSource) DeepCopy() *ActionSpecSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecSource.

func (*ActionSpecSource) DeepCopyInto

func (in *ActionSpecSource) DeepCopyInto(out *ActionSpecSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecSourceGit

type ActionSpecSourceGit struct {
	// Name of the branch, used to fetch the Git Repo.
	// +optional
	GitBranch *string `json:"gitBranch,omitempty" tf:"git_branch"`
	// Name of the release tag, used to fetch the Git Repo.
	// +optional
	GitRelease *string `json:"gitRelease,omitempty" tf:"git_release"`
	// Name of the folder in the Git Repo, that contains the template.
	// +optional
	GitRepoFolder *string `json:"gitRepoFolder,omitempty" tf:"git_repo_folder"`
	// URL to the GIT Repo that can be used to clone the template.
	// +optional
	GitRepoURL *string `json:"gitRepoURL,omitempty" tf:"git_repo_url"`
	// Personal Access Token to connect to Git URLs.
	// +optional
	GitToken *string `json:"gitToken,omitempty" tf:"git_token"`
}

func (*ActionSpecSourceGit) DeepCopy

func (in *ActionSpecSourceGit) DeepCopy() *ActionSpecSourceGit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecSourceGit.

func (*ActionSpecSourceGit) DeepCopyInto

func (in *ActionSpecSourceGit) DeepCopyInto(out *ActionSpecSourceGit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecState

type ActionSpecState struct {
	// Status of automation (workspace or action).
	// +optional
	StatusCode *string `json:"statusCode,omitempty" tf:"status_code"`
	// Job id reference for this status.
	// +optional
	StatusJobID *string `json:"statusJobID,omitempty" tf:"status_job_id"`
	// Automation status message - to be displayed along with the status_code.
	// +optional
	StatusMessage *string `json:"statusMessage,omitempty" tf:"status_message"`
}

func (*ActionSpecState) DeepCopy

func (in *ActionSpecState) DeepCopy() *ActionSpecState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecState.

func (*ActionSpecState) DeepCopyInto

func (in *ActionSpecState) DeepCopyInto(out *ActionSpecState)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecSysLock

type ActionSpecSysLock struct {
	// Is the Workspace locked by the Schematic action ?.
	// +optional
	SysLocked *bool `json:"sysLocked,omitempty" tf:"sys_locked"`
	// When the user performed the action that lead to lock the Workspace ?.
	// +optional
	SysLockedAt *string `json:"sysLockedAt,omitempty" tf:"sys_locked_at"`
	// Name of the user who performed the action, that lead to lock the Workspace.
	// +optional
	SysLockedBy *string `json:"sysLockedBy,omitempty" tf:"sys_locked_by"`
}

func (*ActionSpecSysLock) DeepCopy

func (in *ActionSpecSysLock) DeepCopy() *ActionSpecSysLock

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecSysLock.

func (*ActionSpecSysLock) DeepCopyInto

func (in *ActionSpecSysLock) DeepCopyInto(out *ActionSpecSysLock)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionSpecUserState

type ActionSpecUserState struct {
	// When the user who set the state of an Object.
	// +optional
	SetAt *string `json:"setAt,omitempty" tf:"set_at"`
	// Name of the user who set the state of an Object.
	// +optional
	SetBy *string `json:"setBy,omitempty" tf:"set_by"`
	// User defined states  * `draft` Object can be modified, and can be used by jobs run by an author, during execution  * `live` Object can be modified, and can be used by jobs during execution  * `locked` Object cannot be modified, and can be used by jobs during execution  * `disable` Object can be modified, and cannot be used by Jobs during execution.
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
}

func (*ActionSpecUserState) DeepCopy

func (in *ActionSpecUserState) DeepCopy() *ActionSpecUserState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpecUserState.

func (*ActionSpecUserState) DeepCopyInto

func (in *ActionSpecUserState) DeepCopyInto(out *ActionSpecUserState)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionStatus

type ActionStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ActionStatus) DeepCopy

func (in *ActionStatus) DeepCopy() *ActionStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionStatus.

func (*ActionStatus) DeepCopyInto

func (in *ActionStatus) DeepCopyInto(out *ActionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Job

type Job struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              JobSpec   `json:"spec,omitempty"`
	Status            JobStatus `json:"status,omitempty"`
}

func (*Job) DeepCopy

func (in *Job) DeepCopy() *Job

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.

func (*Job) DeepCopyInto

func (in *Job) DeepCopyInto(out *Job)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Job) DeepCopyObject

func (in *Job) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Job) SetupWebhookWithManager

func (r *Job) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Job) ValidateCreate

func (r *Job) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Job) ValidateDelete

func (r *Job) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Job) ValidateUpdate

func (r *Job) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type JobList

type JobList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Job CRD objects
	Items []Job `json:"items,omitempty"`
}

JobList is a list of Jobs

func (*JobList) DeepCopy

func (in *JobList) DeepCopy() *JobList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.

func (*JobList) DeepCopyInto

func (in *JobList) DeepCopyInto(out *JobList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JobList) DeepCopyObject

func (in *JobList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type JobSpec

type JobSpec struct {
	State *JobSpecResource `json:"state,omitempty" tf:"-"`

	Resource JobSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*JobSpec) DeepCopy

func (in *JobSpec) DeepCopy() *JobSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.

func (*JobSpec) DeepCopyInto

func (in *JobSpec) DeepCopyInto(out *JobSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecBastion

type JobSpecBastion struct {
	// Targets creation time.
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// E-mail address of the user who created the targets.
	// +optional
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"`
	// Override credential for each resource.  Reference to credentials values, used by all the resources.
	// +optional
	CredentialRef *string `json:"credentialRef,omitempty" tf:"credential_ref"`
	// Target description.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Target ID.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// Target name.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Array of the resource IDs.
	// +optional
	ResourceIDS []string `json:"resourceIDS,omitempty" tf:"resource_ids"`
	// Resource selection query string.
	// +optional
	ResourceQuery *string `json:"resourceQuery,omitempty" tf:"resource_query"`
	// System lock status.
	// +optional
	SysLock []JobSpecBastionSysLock `json:"sysLock,omitempty" tf:"sys_lock"`
	// Target type (`cluster`, `vsi`, `icd`, `vpc`).
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// Targets updation time.
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
	// E-mail address of user who updated the targets.
	// +optional
	UpdatedBy *string `json:"updatedBy,omitempty" tf:"updated_by"`
}

func (*JobSpecBastion) DeepCopy

func (in *JobSpecBastion) DeepCopy() *JobSpecBastion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecBastion.

func (*JobSpecBastion) DeepCopyInto

func (in *JobSpecBastion) DeepCopyInto(out *JobSpecBastion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecBastionSysLock

type JobSpecBastionSysLock struct {
	// Is the Workspace locked by the Schematic action ?.
	// +optional
	SysLocked *bool `json:"sysLocked,omitempty" tf:"sys_locked"`
	// When the user performed the action that lead to lock the Workspace ?.
	// +optional
	SysLockedAt *string `json:"sysLockedAt,omitempty" tf:"sys_locked_at"`
	// Name of the user who performed the action, that lead to lock the Workspace.
	// +optional
	SysLockedBy *string `json:"sysLockedBy,omitempty" tf:"sys_locked_by"`
}

func (*JobSpecBastionSysLock) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecBastionSysLock.

func (*JobSpecBastionSysLock) DeepCopyInto

func (in *JobSpecBastionSysLock) DeepCopyInto(out *JobSpecBastionSysLock)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecData

type JobSpecData struct {
	// Action Job data.
	// +optional
	ActionJobData []JobSpecDataActionJobData `json:"actionJobData,omitempty" tf:"action_job_data"`
	// Type of the job.
	JobType *string `json:"jobType" tf:"job_type"`
}

func (*JobSpecData) DeepCopy

func (in *JobSpecData) DeepCopy() *JobSpecData

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecData.

func (*JobSpecData) DeepCopyInto

func (in *JobSpecData) DeepCopyInto(out *JobSpecData)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecDataActionJobData

type JobSpecDataActionJobData struct {
	// Flow name.
	// +optional
	ActionName *string `json:"actionName,omitempty" tf:"action_name"`
	// Input variables data used by an action job.
	// +optional
	Inputs []JobSpecDataActionJobDataInputs `json:"inputs,omitempty" tf:"inputs"`
	// Output variables data from an action job.
	// +optional
	Outputs []JobSpecDataActionJobDataOutputs `json:"outputs,omitempty" tf:"outputs"`
	// Environment variables used by all the templates in an action.
	// +optional
	Settings []JobSpecDataActionJobDataSettings `json:"settings,omitempty" tf:"settings"`
	// Job status updation timestamp.
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
}

func (*JobSpecDataActionJobData) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecDataActionJobData.

func (*JobSpecDataActionJobData) DeepCopyInto

func (in *JobSpecDataActionJobData) DeepCopyInto(out *JobSpecDataActionJobData)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecDataActionJobDataInputs

type JobSpecDataActionJobDataInputs struct {
	// Reference link to the variable value By default the expression will point to self.value.
	// +optional
	Link *string `json:"link,omitempty" tf:"link"`
	// User editable metadata for the variables.
	// +optional
	Metadata []JobSpecDataActionJobDataInputsMetadata `json:"metadata,omitempty" tf:"metadata"`
	// Name of the variable.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Value for the variable or reference to the value.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*JobSpecDataActionJobDataInputs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecDataActionJobDataInputs.

func (*JobSpecDataActionJobDataInputs) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecDataActionJobDataInputsMetadata

type JobSpecDataActionJobDataInputsMetadata struct {
	// List of aliases for the variable name.
	// +optional
	Aliases []string `json:"aliases,omitempty" tf:"aliases"`
	// Default value for the variable, if the override value is not specified.
	// +optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value"`
	// Description of the meta data.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Display name of the group this variable belongs to.
	// +optional
	GroupBy *string `json:"groupBy,omitempty" tf:"group_by"`
	// If true, the variable will not be displayed on UI or CLI.
	// +optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden"`
	// Is the variable readonly ?.
	// +optional
	Immutable *bool `json:"immutable,omitempty" tf:"immutable"`
	// Regex for the variable value.
	// +optional
	Matches *string `json:"matches,omitempty" tf:"matches"`
	// Maximum length of the variable value. Applicable for string type.
	// +optional
	MaxLength *int64 `json:"maxLength,omitempty" tf:"max_length"`
	// Maximum value of the variable. Applicable for integer type.
	// +optional
	MaxValue *int64 `json:"maxValue,omitempty" tf:"max_value"`
	// Minimum length of the variable value. Applicable for string type.
	// +optional
	MinLength *int64 `json:"minLength,omitempty" tf:"min_length"`
	// Minimum value of the variable. Applicable for integer type.
	// +optional
	MinValue *int64 `json:"minValue,omitempty" tf:"min_value"`
	// List of possible values for this variable.  If type is integer or date, then the array of string will be  converted to array of integers or date during runtime.
	// +optional
	Options []string `json:"options,omitempty" tf:"options"`
	// Relative position of this variable in a list.
	// +optional
	Position *int64 `json:"position,omitempty" tf:"position"`
	// Is the variable secure or sensitive ?.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// Source of this meta-data.
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// Type of the variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*JobSpecDataActionJobDataInputsMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecDataActionJobDataInputsMetadata.

func (*JobSpecDataActionJobDataInputsMetadata) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecDataActionJobDataOutputs

type JobSpecDataActionJobDataOutputs struct {
	// Reference link to the variable value By default the expression will point to self.value.
	// +optional
	Link *string `json:"link,omitempty" tf:"link"`
	// User editable metadata for the variables.
	// +optional
	Metadata []JobSpecDataActionJobDataOutputsMetadata `json:"metadata,omitempty" tf:"metadata"`
	// Name of the variable.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Value for the variable or reference to the value.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*JobSpecDataActionJobDataOutputs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecDataActionJobDataOutputs.

func (*JobSpecDataActionJobDataOutputs) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecDataActionJobDataOutputsMetadata

type JobSpecDataActionJobDataOutputsMetadata struct {
	// List of aliases for the variable name.
	// +optional
	Aliases []string `json:"aliases,omitempty" tf:"aliases"`
	// Default value for the variable, if the override value is not specified.
	// +optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value"`
	// Description of the meta data.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Display name of the group this variable belongs to.
	// +optional
	GroupBy *string `json:"groupBy,omitempty" tf:"group_by"`
	// If true, the variable will not be displayed on UI or CLI.
	// +optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden"`
	// Is the variable readonly ?.
	// +optional
	Immutable *bool `json:"immutable,omitempty" tf:"immutable"`
	// Regex for the variable value.
	// +optional
	Matches *string `json:"matches,omitempty" tf:"matches"`
	// Maximum length of the variable value. Applicable for string type.
	// +optional
	MaxLength *int64 `json:"maxLength,omitempty" tf:"max_length"`
	// Maximum value of the variable. Applicable for integer type.
	// +optional
	MaxValue *int64 `json:"maxValue,omitempty" tf:"max_value"`
	// Minimum length of the variable value. Applicable for string type.
	// +optional
	MinLength *int64 `json:"minLength,omitempty" tf:"min_length"`
	// Minimum value of the variable. Applicable for integer type.
	// +optional
	MinValue *int64 `json:"minValue,omitempty" tf:"min_value"`
	// List of possible values for this variable.  If type is integer or date, then the array of string will be  converted to array of integers or date during runtime.
	// +optional
	Options []string `json:"options,omitempty" tf:"options"`
	// Relative position of this variable in a list.
	// +optional
	Position *int64 `json:"position,omitempty" tf:"position"`
	// Is the variable secure or sensitive ?.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// Source of this meta-data.
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// Type of the variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*JobSpecDataActionJobDataOutputsMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecDataActionJobDataOutputsMetadata.

func (*JobSpecDataActionJobDataOutputsMetadata) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecDataActionJobDataSettings

type JobSpecDataActionJobDataSettings struct {
	// Reference link to the variable value By default the expression will point to self.value.
	// +optional
	Link *string `json:"link,omitempty" tf:"link"`
	// User editable metadata for the variables.
	// +optional
	Metadata []JobSpecDataActionJobDataSettingsMetadata `json:"metadata,omitempty" tf:"metadata"`
	// Name of the variable.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Value for the variable or reference to the value.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*JobSpecDataActionJobDataSettings) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecDataActionJobDataSettings.

func (*JobSpecDataActionJobDataSettings) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecDataActionJobDataSettingsMetadata

type JobSpecDataActionJobDataSettingsMetadata struct {
	// List of aliases for the variable name.
	// +optional
	Aliases []string `json:"aliases,omitempty" tf:"aliases"`
	// Default value for the variable, if the override value is not specified.
	// +optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value"`
	// Description of the meta data.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Display name of the group this variable belongs to.
	// +optional
	GroupBy *string `json:"groupBy,omitempty" tf:"group_by"`
	// If true, the variable will not be displayed on UI or CLI.
	// +optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden"`
	// Is the variable readonly ?.
	// +optional
	Immutable *bool `json:"immutable,omitempty" tf:"immutable"`
	// Regex for the variable value.
	// +optional
	Matches *string `json:"matches,omitempty" tf:"matches"`
	// Maximum length of the variable value. Applicable for string type.
	// +optional
	MaxLength *int64 `json:"maxLength,omitempty" tf:"max_length"`
	// Maximum value of the variable. Applicable for integer type.
	// +optional
	MaxValue *int64 `json:"maxValue,omitempty" tf:"max_value"`
	// Minimum length of the variable value. Applicable for string type.
	// +optional
	MinLength *int64 `json:"minLength,omitempty" tf:"min_length"`
	// Minimum value of the variable. Applicable for integer type.
	// +optional
	MinValue *int64 `json:"minValue,omitempty" tf:"min_value"`
	// List of possible values for this variable.  If type is integer or date, then the array of string will be  converted to array of integers or date during runtime.
	// +optional
	Options []string `json:"options,omitempty" tf:"options"`
	// Relative position of this variable in a list.
	// +optional
	Position *int64 `json:"position,omitempty" tf:"position"`
	// Is the variable secure or sensitive ?.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// Source of this meta-data.
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// Type of the variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*JobSpecDataActionJobDataSettingsMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecDataActionJobDataSettingsMetadata.

func (*JobSpecDataActionJobDataSettingsMetadata) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecJobEnvSettings

type JobSpecJobEnvSettings struct {
	// Reference link to the variable value By default the expression will point to self.value.
	// +optional
	Link *string `json:"link,omitempty" tf:"link"`
	// User editable metadata for the variables.
	// +optional
	Metadata []JobSpecJobEnvSettingsMetadata `json:"metadata,omitempty" tf:"metadata"`
	// Name of the variable.
	Name *string `json:"name" tf:"name"`
	// Value for the variable or reference to the value.
	Value *string `json:"value" tf:"value"`
}

func (*JobSpecJobEnvSettings) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecJobEnvSettings.

func (*JobSpecJobEnvSettings) DeepCopyInto

func (in *JobSpecJobEnvSettings) DeepCopyInto(out *JobSpecJobEnvSettings)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecJobEnvSettingsMetadata

type JobSpecJobEnvSettingsMetadata struct {
	// List of aliases for the variable name.
	// +optional
	Aliases []string `json:"aliases,omitempty" tf:"aliases"`
	// Default value for the variable, if the override value is not specified.
	// +optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value"`
	// Description of the meta data.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Display name of the group this variable belongs to.
	// +optional
	GroupBy *string `json:"groupBy,omitempty" tf:"group_by"`
	// If true, the variable will not be displayed on UI or CLI.
	// +optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden"`
	// Is the variable readonly ?.
	// +optional
	Immutable *bool `json:"immutable,omitempty" tf:"immutable"`
	// Regex for the variable value.
	// +optional
	Matches *string `json:"matches,omitempty" tf:"matches"`
	// Maximum length of the variable value. Applicable for string type.
	// +optional
	MaxLength *int64 `json:"maxLength,omitempty" tf:"max_length"`
	// Maximum value of the variable. Applicable for integer type.
	// +optional
	MaxValue *int64 `json:"maxValue,omitempty" tf:"max_value"`
	// Minimum length of the variable value. Applicable for string type.
	// +optional
	MinLength *int64 `json:"minLength,omitempty" tf:"min_length"`
	// Minimum value of the variable. Applicable for integer type.
	// +optional
	MinValue *int64 `json:"minValue,omitempty" tf:"min_value"`
	// List of possible values for this variable.  If type is integer or date, then the array of string will be  converted to array of integers or date during runtime.
	// +optional
	Options []string `json:"options,omitempty" tf:"options"`
	// Relative position of this variable in a list.
	// +optional
	Position *int64 `json:"position,omitempty" tf:"position"`
	// Is the variable secure or sensitive ?.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// Source of this meta-data.
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// Type of the variable.
	Type *string `json:"type" tf:"type"`
}

func (*JobSpecJobEnvSettingsMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecJobEnvSettingsMetadata.

func (*JobSpecJobEnvSettingsMetadata) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecJobInputs

type JobSpecJobInputs struct {
	// Reference link to the variable value By default the expression will point to self.value.
	// +optional
	Link *string `json:"link,omitempty" tf:"link"`
	// User editable metadata for the variables.
	// +optional
	Metadata []JobSpecJobInputsMetadata `json:"metadata,omitempty" tf:"metadata"`
	// Name of the variable.
	Name *string `json:"name" tf:"name"`
	// Value for the variable or reference to the value.
	Value *string `json:"value" tf:"value"`
}

func (*JobSpecJobInputs) DeepCopy

func (in *JobSpecJobInputs) DeepCopy() *JobSpecJobInputs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecJobInputs.

func (*JobSpecJobInputs) DeepCopyInto

func (in *JobSpecJobInputs) DeepCopyInto(out *JobSpecJobInputs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecJobInputsMetadata

type JobSpecJobInputsMetadata struct {
	// List of aliases for the variable name.
	// +optional
	Aliases []string `json:"aliases,omitempty" tf:"aliases"`
	// Default value for the variable, if the override value is not specified.
	// +optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value"`
	// Description of the meta data.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Display name of the group this variable belongs to.
	// +optional
	GroupBy *string `json:"groupBy,omitempty" tf:"group_by"`
	// If true, the variable will not be displayed on UI or CLI.
	// +optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden"`
	// Is the variable readonly ?.
	// +optional
	Immutable *bool `json:"immutable,omitempty" tf:"immutable"`
	// Regex for the variable value.
	// +optional
	Matches *string `json:"matches,omitempty" tf:"matches"`
	// Maximum length of the variable value. Applicable for string type.
	// +optional
	MaxLength *int64 `json:"maxLength,omitempty" tf:"max_length"`
	// Maximum value of the variable. Applicable for integer type.
	// +optional
	MaxValue *int64 `json:"maxValue,omitempty" tf:"max_value"`
	// Minimum length of the variable value. Applicable for string type.
	// +optional
	MinLength *int64 `json:"minLength,omitempty" tf:"min_length"`
	// Minimum value of the variable. Applicable for integer type.
	// +optional
	MinValue *int64 `json:"minValue,omitempty" tf:"min_value"`
	// List of possible values for this variable.  If type is integer or date, then the array of string will be  converted to array of integers or date during runtime.
	// +optional
	Options []string `json:"options,omitempty" tf:"options"`
	// Relative position of this variable in a list.
	// +optional
	Position *int64 `json:"position,omitempty" tf:"position"`
	// Is the variable secure or sensitive ?.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// Source of this meta-data.
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// Type of the variable.
	Type *string `json:"type" tf:"type"`
}

func (*JobSpecJobInputsMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecJobInputsMetadata.

func (*JobSpecJobInputsMetadata) DeepCopyInto

func (in *JobSpecJobInputsMetadata) DeepCopyInto(out *JobSpecJobInputsMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecJobLogSummary

type JobSpecJobLogSummary struct {
	// Flow Job log summary.
	// +optional
	ActionJob []JobSpecJobLogSummaryActionJob `json:"actionJob,omitempty" tf:"action_job"`
	// Job log elapsed time (`log_analyzed_till - log_start_at`).
	// +optional
	ElapsedTime *float64 `json:"elapsedTime,omitempty" tf:"elapsed_time"`
	// Workspace ID.
	// +optional
	JobID *string `json:"jobID,omitempty" tf:"job_id"`
	// Type of Job.
	// +optional
	JobType *string `json:"jobType,omitempty" tf:"job_type"`
	// Job log update timestamp.
	// +optional
	LogAnalyzedTill *string `json:"logAnalyzedTill,omitempty" tf:"log_analyzed_till"`
	// Job log errors.
	// +optional
	LogErrors []JobSpecJobLogSummaryLogErrors `json:"logErrors,omitempty" tf:"log_errors"`
	// Job log start timestamp.
	// +optional
	LogStartAt *string `json:"logStartAt,omitempty" tf:"log_start_at"`
	// Repo download Job log summary.
	// +optional
	RepoDownloadJob []JobSpecJobLogSummaryRepoDownloadJob `json:"repoDownloadJob,omitempty" tf:"repo_download_job"`
}

func (*JobSpecJobLogSummary) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecJobLogSummary.

func (*JobSpecJobLogSummary) DeepCopyInto

func (in *JobSpecJobLogSummary) DeepCopyInto(out *JobSpecJobLogSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecJobLogSummaryActionJob

type JobSpecJobLogSummaryActionJob struct {
	// number of plays in playbook.
	// +optional
	PlayCount *float64 `json:"playCount,omitempty" tf:"play_count"`
	// Recap records.
	// +optional
	Recap []JobSpecJobLogSummaryActionJobRecap `json:"recap,omitempty" tf:"recap"`
	// number of targets or hosts.
	// +optional
	TargetCount *float64 `json:"targetCount,omitempty" tf:"target_count"`
	// number of tasks in playbook.
	// +optional
	TaskCount *float64 `json:"taskCount,omitempty" tf:"task_count"`
}

func (*JobSpecJobLogSummaryActionJob) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecJobLogSummaryActionJob.

func (*JobSpecJobLogSummaryActionJob) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecJobLogSummaryActionJobRecap

type JobSpecJobLogSummaryActionJobRecap struct {
	// Number of changed.
	// +optional
	Changed *float64 `json:"changed,omitempty" tf:"changed"`
	// Number of failed.
	// +optional
	Failed *float64 `json:"failed,omitempty" tf:"failed"`
	// Number of OK.
	// +optional
	Ok *float64 `json:"ok,omitempty" tf:"ok"`
	// Number of skipped.
	// +optional
	Skipped *float64 `json:"skipped,omitempty" tf:"skipped"`
	// List of target or host name.
	// +optional
	Target []string `json:"target,omitempty" tf:"target"`
	// Number of unreachable.
	// +optional
	Unreachable *float64 `json:"unreachable,omitempty" tf:"unreachable"`
}

func (*JobSpecJobLogSummaryActionJobRecap) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecJobLogSummaryActionJobRecap.

func (*JobSpecJobLogSummaryActionJobRecap) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecJobLogSummaryLogErrors

type JobSpecJobLogSummaryLogErrors struct {
	// Error code in the Log.
	// +optional
	ErrorCode *string `json:"errorCode,omitempty" tf:"error_code"`
	// Number of occurrence.
	// +optional
	ErrorCount *float64 `json:"errorCount,omitempty" tf:"error_count"`
	// Summary error message in the log.
	// +optional
	ErrorMsg *string `json:"errorMsg,omitempty" tf:"error_msg"`
}

func (*JobSpecJobLogSummaryLogErrors) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecJobLogSummaryLogErrors.

func (*JobSpecJobLogSummaryLogErrors) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecJobLogSummaryRepoDownloadJob

type JobSpecJobLogSummaryRepoDownloadJob struct {
	// Detected template or data file type.
	// +optional
	DetectedFiletype *string `json:"detectedFiletype,omitempty" tf:"detected_filetype"`
	// Number of inputs detected.
	// +optional
	InputsCount *string `json:"inputsCount,omitempty" tf:"inputs_count"`
	// Number of outputs detected.
	// +optional
	OutputsCount *string `json:"outputsCount,omitempty" tf:"outputs_count"`
	// Number of files quarantined.
	// +optional
	QuarantinedFileCount *float64 `json:"quarantinedFileCount,omitempty" tf:"quarantined_file_count"`
	// Number of files scanned.
	// +optional
	ScannedFileCount *float64 `json:"scannedFileCount,omitempty" tf:"scanned_file_count"`
}

func (*JobSpecJobLogSummaryRepoDownloadJob) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecJobLogSummaryRepoDownloadJob.

func (*JobSpecJobLogSummaryRepoDownloadJob) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecResource

type JobSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Complete target details with the user inputs and the system generated data.
	// +optional
	Bastion []JobSpecBastion `json:"bastion,omitempty" tf:"bastion"`
	// Schematics job command name.
	CommandName *string `json:"commandName" tf:"command_name"`
	// Name of the Schematics automation resource.
	CommandObject *string `json:"commandObject" tf:"command_object"`
	// Job command object ID (`workspace-id, action-id or control-id`).
	CommandObjectID *string `json:"commandObjectID" tf:"command_object_id"`
	// Command line options for the command.
	// +optional
	CommandOptions []string `json:"commandOptions,omitempty" tf:"command_options"`
	// Schematics job command parameter (`playbook-name, capsule-name or flow-name`).
	CommandParameter *string `json:"commandParameter" tf:"command_parameter"`
	// Job data.
	// +optional
	Data []JobSpecData `json:"data,omitempty" tf:"data"`
	// Job description derived from the related action.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Duration of job execution, for example, `40 sec`.
	// +optional
	Duration *string `json:"duration,omitempty" tf:"duration"`
	// Job end time.
	// +optional
	EndAt *string `json:"endAt,omitempty" tf:"end_at"`
	// Environment variables used by the job while performing an action.
	// +optional
	JobEnvSettings []JobSpecJobEnvSettings `json:"jobEnvSettings,omitempty" tf:"job_env_settings"`
	// Job inputs used by an action.
	// +optional
	JobInputs []JobSpecJobInputs `json:"jobInputs,omitempty" tf:"job_inputs"`
	// Job log summary record.
	// +optional
	JobLogSummary []JobSpecJobLogSummary `json:"jobLogSummary,omitempty" tf:"job_log_summary"`
	// List of action locations supported by IBM Cloud Schematics service.  **Note** this does not limit the location of the resources provisioned using Schematics.
	// +optional
	Location *string `json:"location,omitempty" tf:"location"`
	// Job log store URL.
	// +optional
	LogStoreURL *string `json:"logStoreURL,omitempty" tf:"log_store_url"`
	// Job name, uniquely derived from the related action.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Resource group name derived from the related action.
	// +optional
	ResourceGroup *string `json:"resourceGroup,omitempty" tf:"resource_group"`
	// Job results store URL.
	// +optional
	ResultsURL *string `json:"resultsURL,omitempty" tf:"results_url"`
	// Job start time.
	// +optional
	StartAt *string `json:"startAt,omitempty" tf:"start_at"`
	// Job state store URL.
	// +optional
	StateStoreURL *string `json:"stateStoreURL,omitempty" tf:"state_store_url"`
	// Job Status.
	// +optional
	Status []JobSpecStatus `json:"status,omitempty" tf:"status"`
	// Job submission time.
	// +optional
	SubmittedAt *string `json:"submittedAt,omitempty" tf:"submitted_at"`
	// E-mail address of the user who submitted the job.
	// +optional
	SubmittedBy *string `json:"submittedBy,omitempty" tf:"submitted_by"`
	// User defined tags, while running the job.
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Inventory of host and host group for the playbook in `INI` file format. For example, `"targets_ini": "[webserverhost]  172.22.192.6  [dbhost]  172.22.192.5"`. For more information, about an inventory host group syntax, see [Inventory host groups](/docs/schematics?topic=schematics-schematics-cli-reference#schematics-inventory-host-grps).
	// +optional
	TargetsIni *string `json:"targetsIni,omitempty" tf:"targets_ini"`
	// Job status updation timestamp.
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
}

func (*JobSpecResource) DeepCopy

func (in *JobSpecResource) DeepCopy() *JobSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecResource.

func (*JobSpecResource) DeepCopyInto

func (in *JobSpecResource) DeepCopyInto(out *JobSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecStatus

type JobSpecStatus struct {
	// Action Job Status.
	// +optional
	ActionJobStatus []JobSpecStatusActionJobStatus `json:"actionJobStatus,omitempty" tf:"action_job_status"`
}

func (*JobSpecStatus) DeepCopy

func (in *JobSpecStatus) DeepCopy() *JobSpecStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecStatus.

func (*JobSpecStatus) DeepCopyInto

func (in *JobSpecStatus) DeepCopyInto(out *JobSpecStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSpecStatusActionJobStatus

type JobSpecStatusActionJobStatus struct {
	// Action name.
	// +optional
	ActionName *string `json:"actionName,omitempty" tf:"action_name"`
	// Status of the resources.
	// +optional
	BastionStatusCode *string `json:"bastionStatusCode,omitempty" tf:"bastion_status_code"`
	// Bastion status message to be displayed along with the `bastion_status_code`.
	// +optional
	BastionStatusMessage *string `json:"bastionStatusMessage,omitempty" tf:"bastion_status_message"`
	// Status of the jobs.
	// +optional
	StatusCode *string `json:"statusCode,omitempty" tf:"status_code"`
	// Action job status message to be displayed along with the `action_status_code`.
	// +optional
	StatusMessage *string `json:"statusMessage,omitempty" tf:"status_message"`
	// Status of the resources.
	// +optional
	TargetsStatusCode *string `json:"targetsStatusCode,omitempty" tf:"targets_status_code"`
	// Aggregated status message for all target resources, to be displayed along with the `targets_status_code`.
	// +optional
	TargetsStatusMessage *string `json:"targetsStatusMessage,omitempty" tf:"targets_status_message"`
	// Job status updation timestamp.
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
}

func (*JobSpecStatusActionJobStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpecStatusActionJobStatus.

func (*JobSpecStatusActionJobStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobStatus

type JobStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*JobStatus) DeepCopy

func (in *JobStatus) DeepCopy() *JobStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.

func (*JobStatus) DeepCopyInto

func (in *JobStatus) DeepCopyInto(out *JobStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Workspace

type Workspace struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WorkspaceSpec   `json:"spec,omitempty"`
	Status            WorkspaceStatus `json:"status,omitempty"`
}

func (*Workspace) DeepCopy

func (in *Workspace) DeepCopy() *Workspace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace.

func (*Workspace) DeepCopyInto

func (in *Workspace) DeepCopyInto(out *Workspace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Workspace) DeepCopyObject

func (in *Workspace) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Workspace) SetupWebhookWithManager

func (r *Workspace) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Workspace) ValidateCreate

func (r *Workspace) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Workspace) ValidateDelete

func (r *Workspace) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Workspace) ValidateUpdate

func (r *Workspace) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type WorkspaceList

type WorkspaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Workspace CRD objects
	Items []Workspace `json:"items,omitempty"`
}

WorkspaceList is a list of Workspaces

func (*WorkspaceList) DeepCopy

func (in *WorkspaceList) DeepCopy() *WorkspaceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList.

func (*WorkspaceList) DeepCopyInto

func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkspaceList) DeepCopyObject

func (in *WorkspaceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkspaceSpec

type WorkspaceSpec struct {
	State *WorkspaceSpecResource `json:"state,omitempty" tf:"-"`

	Resource WorkspaceSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*WorkspaceSpec) DeepCopy

func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec.

func (*WorkspaceSpec) DeepCopyInto

func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSpecCatalogRef

type WorkspaceSpecCatalogRef struct {
	// Dry run.
	// +optional
	DryRun *bool `json:"dryRun,omitempty" tf:"dry_run"`
	// The URL to the icon of the software template in the IBM Cloud catalog.
	// +optional
	ItemIconURL *string `json:"itemIconURL,omitempty" tf:"item_icon_url"`
	// The ID of the software template that you chose to install from the IBM Cloud catalog. This software is provisioned with Schematics.
	// +optional
	ItemID *string `json:"itemID,omitempty" tf:"item_id"`
	// The name of the software that you chose to install from the IBM Cloud catalog.
	// +optional
	ItemName *string `json:"itemName,omitempty" tf:"item_name"`
	// The URL to the readme file of the software template in the IBM Cloud catalog.
	// +optional
	ItemReadmeURL *string `json:"itemReadmeURL,omitempty" tf:"item_readme_url"`
	// The URL to the software template in the IBM Cloud catalog.
	// +optional
	ItemURL *string `json:"itemURL,omitempty" tf:"item_url"`
	// The URL to the dashboard to access your software.
	// +optional
	LaunchURL *string `json:"launchURL,omitempty" tf:"launch_url"`
	// The version of the software template that you chose to install from the IBM Cloud catalog.
	// +optional
	OfferingVersion *string `json:"offeringVersion,omitempty" tf:"offering_version"`
}

func (*WorkspaceSpecCatalogRef) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpecCatalogRef.

func (*WorkspaceSpecCatalogRef) DeepCopyInto

func (in *WorkspaceSpecCatalogRef) DeepCopyInto(out *WorkspaceSpecCatalogRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSpecCatalogRefCodec

type WorkspaceSpecCatalogRefCodec struct {
}

+k8s:deepcopy-gen=false

func (WorkspaceSpecCatalogRefCodec) Decode

func (WorkspaceSpecCatalogRefCodec) Encode

func (WorkspaceSpecCatalogRefCodec) IsEmpty

type WorkspaceSpecResource

type WorkspaceSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// List of applied shared dataset id.
	// +optional
	AppliedShareddataIDS []string `json:"appliedShareddataIDS,omitempty" tf:"applied_shareddata_ids"`
	// Information about the software template that you chose from the IBM Cloud catalog. This information is returned for IBM Cloud catalog offerings only.
	// +optional
	CatalogRef *WorkspaceSpecCatalogRef `json:"catalogRef,omitempty" tf:"catalog_ref"`
	// The timestamp when the workspace was created.
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// The user ID that created the workspace.
	// +optional
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"`
	// Workspace CRN.
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// The description of the workspace.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// If set to true, the workspace is frozen and changes to the workspace are disabled.
	// +optional
	Frozen *bool `json:"frozen,omitempty" tf:"frozen"`
	// The timestamp when the workspace was frozen.
	// +optional
	FrozenAt *string `json:"frozenAt,omitempty" tf:"frozen_at"`
	// The user ID that froze the workspace.
	// +optional
	FrozenBy *string `json:"frozenBy,omitempty" tf:"frozen_by"`
	// The timestamp when the last health check was performed by Schematics.
	// +optional
	LastHealthCheckAt *string `json:"lastHealthCheckAt,omitempty" tf:"last_health_check_at"`
	// The location where you want to create your Schematics workspace and run Schematics actions. The location that you enter must match the API endpoint that you use. For example, if you use the Frankfurt API endpoint, you must specify `eu-de` as your location. If you use an API endpoint for a geography and you do not specify a location, Schematics determines the location based on availability.
	// +optional
	Location *string `json:"location,omitempty" tf:"location"`
	// If set to true, the workspace is locked and disabled for changes.
	// +optional
	Locked *bool `json:"locked,omitempty" tf:"locked"`
	// The user ID that initiated a resource-related action, such as applying or destroying resources, that locked the workspace.
	// +optional
	LockedBy *string `json:"lockedBy,omitempty" tf:"locked_by"`
	// The timestamp when the workspace was locked.
	// +optional
	LockedTime *string `json:"lockedTime,omitempty" tf:"locked_time"`
	// The name of your workspace. The name can be up to 128 characters long and can include alphanumeric characters, spaces, dashes, and underscores. When you create a workspace for your own Terraform template, consider including the microservice component that you set up with your Terraform template and the IBM Cloud environment where you want to deploy your resources in your name.
	Name *string `json:"name" tf:"name"`
	// The ID of the resource group where you want to provision the workspace.
	// +optional
	ResourceGroup *string `json:"resourceGroup,omitempty" tf:"resource_group"`
	// Information about the provisioning engine, state file, and runtime logs.
	// +optional
	RuntimeData []WorkspaceSpecRuntimeData `json:"runtimeData,omitempty" tf:"runtime_data"`
	// Information that is shared across templates in IBM Cloud catalog offerings. This information is not provided when you create a workspace from your own Terraform template.
	// +optional
	SharedData *WorkspaceSpecSharedData `json:"sharedData,omitempty" tf:"shared_data"`
	// The status of the workspace.  **Active**: After you successfully ran your infrastructure code by applying your Terraform execution plan, the state of your workspace changes to `Active`.  **Connecting**: Schematics tries to connect to the template in your source repo. If successfully connected, the template is downloaded and metadata, such as input parameters, is extracted. After the template is downloaded, the state of the workspace changes to `Scanning`.  **Draft**: The workspace is created without a reference to a GitHub or GitLab repository.  **Failed**: If errors occur during the execution of your infrastructure code in IBM Cloud Schematics, your workspace status is set to `Failed`.  **Inactive**: The Terraform template was scanned successfully and the workspace creation is complete. You can now start running Schematics plan and apply actions to provision the IBM Cloud resources that you specified in your template. If you have an `Active` workspace and decide to remove all your resources, your workspace is set to `Inactive` after all your resources are removed.  **In progress**: When you instruct IBM Cloud Schematics to run your infrastructure code by applying your Terraform execution plan, the status of our workspace changes to `In progress`.  **Scanning**: The download of the Terraform template is complete and vulnerability scanning started. If the scan is successful, the workspace state changes to `Inactive`. If errors in your template are found, the state changes to `Template Error`.  **Stopped**: The Schematics plan, apply, or destroy action was cancelled manually.  **Template Error**: The Schematics template contains errors and cannot be processed.
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// The success or error code that was returned for the last plan, apply, or destroy action that ran against your workspace.
	// +optional
	StatusCode *string `json:"statusCode,omitempty" tf:"status_code"`
	// The success or error message that was returned for the last plan, apply, or destroy action that ran against your workspace.
	// +optional
	StatusMsg *string `json:"statusMsg,omitempty" tf:"status_msg"`
	// A list of tags that are associated with the workspace.
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// A list of environment variables that you want to apply during the execution of a bash script or Terraform action. This field must be provided as a list of key-value pairs, for example, **TF_LOG=debug**. Each entry will be a map with one entry where `key is the environment variable name and value is value`. You can define environment variables for IBM Cloud catalog offerings that are provisioned by using a bash script.
	// +optional
	// The branch in GitHub where your Terraform template is stored.
	// +optional
	TemplateGitBranch *string `json:"templateGitBranch,omitempty" tf:"template_git_branch"`
	// The subfolder in your GitHub or GitLab repository where your Terraform template is stored.
	// +optional
	TemplateGitFolder *string `json:"templateGitFolder,omitempty" tf:"template_git_folder"`
	// Has uploaded git repo tar
	// +optional
	TemplateGitHasUploadedgitrepotar *bool `json:"templateGitHasUploadedgitrepotar,omitempty" tf:"template_git_has_uploadedgitrepotar"`
	// The release tag in GitHub of your Terraform template.
	// +optional
	TemplateGitRelease *string `json:"templateGitRelease,omitempty" tf:"template_git_release"`
	// Repo SHA value.
	// +optional
	TemplateGitRepoShaValue *string `json:"templateGitRepoShaValue,omitempty" tf:"template_git_repo_sha_value"`
	// The URL to the repository where the IBM Cloud catalog software template is stored.
	// +optional
	TemplateGitRepoURL *string `json:"templateGitRepoURL,omitempty" tf:"template_git_repo_url"`
	// The URL to the GitHub or GitLab repository where your Terraform and public bit bucket template is stored. For more information of the environment variable syntax, see [Create workspace new](/docs/schematics?topic=schematics-schematics-cli-reference#schematics-workspace-new).
	// +optional
	TemplateGitURL *string `json:"templateGitURL,omitempty" tf:"template_git_url"`
	// The content of an existing Terraform statefile that you want to import in to your workspace. To get the content of a Terraform statefile for a specific Terraform template in an existing workspace, run `ibmcloud terraform state pull --id <workspace_id> --template <template_id>`.
	// +optional
	TemplateInitStateFile *string `json:"templateInitStateFile,omitempty" tf:"template_init_state_file"`
	// VariablesRequest -.
	// +optional
	TemplateInputs []WorkspaceSpecTemplateInputs `json:"templateInputs,omitempty" tf:"template_inputs"`
	// Workspace template ref.
	// +optional
	TemplateRef *string `json:"templateRef,omitempty" tf:"template_ref"`
	// The Terraform version that you want to use to run your Terraform code. Enter `terraform_v0.12` to use Terraform version 0.12, and `terraform_v0.11` to use Terraform version 0.11. Make sure that your Terraform config files are compatible with the Terraform version that you select.
	TemplateType *string `json:"templateType" tf:"template_type"`
	// Uninstall script name.
	// +optional
	TemplateUninstallScriptName *string `json:"templateUninstallScriptName,omitempty" tf:"template_uninstall_script_name"`
	// A list of variable values that you want to apply during the Helm chart installation. The list must be provided in JSON format, such as `"autoscaling:  enabled: true  minReplicas: 2"`. The values that you define here override the default Helm chart values. This field is supported only for IBM Cloud catalog offerings that are provisioned by using the Terraform Helm provider.
	// +optional
	TemplateValues *string `json:"templateValues,omitempty" tf:"template_values"`
	// List of values metadata.
	// +optional
	// The timestamp when the workspace was last updated.
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
	// The user ID that updated the workspace.
	// +optional
	UpdatedBy *string `json:"updatedBy,omitempty" tf:"updated_by"`
	// The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template.
	// +optional
	XGithubToken *string `json:"xGithubToken,omitempty" tf:"x_github_token"`
}

func (*WorkspaceSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpecResource.

func (*WorkspaceSpecResource) DeepCopyInto

func (in *WorkspaceSpecResource) DeepCopyInto(out *WorkspaceSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSpecRuntimeData

type WorkspaceSpecRuntimeData struct {
	// The command that was used to apply the Terraform template or IBM Cloud catalog software template.
	// +optional
	EngineCmd *string `json:"engineCmd,omitempty" tf:"engine_cmd"`
	// The provisioning engine that was used to apply the Terraform template or IBM Cloud catalog software template.
	// +optional
	EngineName *string `json:"engineName,omitempty" tf:"engine_name"`
	// The version of the provisioning engine that was used.
	// +optional
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version"`
	// The ID that was assigned to your Terraform template or IBM Cloud catalog software template.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// The URL to access the logs that were created during the creation, update, or deletion of your IBM Cloud resources.
	// +optional
	LogStoreURL *string `json:"logStoreURL,omitempty" tf:"log_store_url"`
	// List of Output values.
	// +optional
	// List of resources.
	// +optional
	// The URL where the Terraform statefile (`terraform.tfstate`) is stored. You can use the statefile to find an overview of IBM Cloud resources that were created by Schematics. Schematics uses the statefile as an inventory list to determine future create, update, or deletion actions.
	// +optional
	StateStoreURL *string `json:"stateStoreURL,omitempty" tf:"state_store_url"`
}

func (*WorkspaceSpecRuntimeData) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpecRuntimeData.

func (*WorkspaceSpecRuntimeData) DeepCopyInto

func (in *WorkspaceSpecRuntimeData) DeepCopyInto(out *WorkspaceSpecRuntimeData)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSpecSharedData

type WorkspaceSpecSharedData struct {
	// Cluster created on.
	// +optional
	ClusterCreatedOn *string `json:"clusterCreatedOn,omitempty" tf:"cluster_created_on"`
	// The ID of the cluster where you want to provision the resources of all IBM Cloud catalog templates that are included in the catalog offering.
	// +optional
	ClusterID *string `json:"clusterID,omitempty" tf:"cluster_id"`
	// Cluster name.
	// +optional
	ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name"`
	// Cluster type.
	// +optional
	ClusterType *string `json:"clusterType,omitempty" tf:"cluster_type"`
	// The entitlement key that you want to use to install IBM Cloud entitled software.
	// +optional
	// The Kubernetes namespace or OpenShift project where the resources of all IBM Cloud catalog templates that are included in the catalog offering are deployed into.
	// +optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace"`
	// The IBM Cloud region that you want to use for the resources of all IBM Cloud catalog templates that are included in the catalog offering.
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	// The ID of the resource group that you want to use for the resources of all IBM Cloud catalog templates that are included in the catalog offering.
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// Cluster worker count.
	// +optional
	WorkerCount *int64 `json:"workerCount,omitempty" tf:"worker_count"`
	// Cluster worker type.
	// +optional
	WorkerMachineType *string `json:"workerMachineType,omitempty" tf:"worker_machine_type"`
}

func (*WorkspaceSpecSharedData) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpecSharedData.

func (*WorkspaceSpecSharedData) DeepCopyInto

func (in *WorkspaceSpecSharedData) DeepCopyInto(out *WorkspaceSpecSharedData)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSpecSharedDataCodec

type WorkspaceSpecSharedDataCodec struct {
}

+k8s:deepcopy-gen=false

func (WorkspaceSpecSharedDataCodec) Decode

func (WorkspaceSpecSharedDataCodec) Encode

func (WorkspaceSpecSharedDataCodec) IsEmpty

type WorkspaceSpecTemplateInputs

type WorkspaceSpecTemplateInputs struct {
	// The description of your input variable.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The name of the variable.
	Name *string `json:"name" tf:"name"`
	// If set to `true`, the value of your input variable is protected and not returned in your API response.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// `Terraform v0.11` supports `string`, `list`, `map` data type. For more information, about the syntax, see [Configuring input variables](https://www.terraform.io/docs/configuration-0-11/variables.html). <br> `Terraform v0.12` additionally, supports `bool`, `number` and complex data types such as `list(type)`, `map(type)`, `object({attribute name=type,..})`, `set(type)`, `tuple([type])`. For more information, about the syntax to use the complex data type, see [Configuring variables](https://www.terraform.io/docs/configuration/variables.html#type-constraints).
	Type *string `json:"type" tf:"type"`
	// Variable uses default value; and is not over-ridden.
	// +optional
	UseDefault *bool `json:"useDefault,omitempty" tf:"use_default"`
	// Enter the value as a string for the primitive types such as `bool`, `number`, `string`, and `HCL` format for the complex variables, as you provide in a `.tfvars` file. **You need to enter escaped string of `HCL` format for the complex variable value**. For more information, about how to declare variables in a terraform configuration file and provide value to schematics, see [Providing values for the declared variables](/docs/schematics?topic=schematics-create-tf-config#declare-variable).
	Value *string `json:"value" tf:"value"`
}

func (*WorkspaceSpecTemplateInputs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpecTemplateInputs.

func (*WorkspaceSpecTemplateInputs) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceStatus

type WorkspaceStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*WorkspaceStatus) DeepCopy

func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.

func (*WorkspaceStatus) DeepCopyInto

func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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