Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the pulumi v1 API group +k8s:deepcopy-gen=package,register +groupName=pulumi.com
Package v1 contains API Schema definitions for the pulumi v1 API group +k8s:deepcopy-gen=package,register +groupName=pulumi.com
Index ¶
- Constants
- Variables
- type Any
- type ConfigType
- type Configuration
- type CustomTimeouts
- type Expression
- type Getter
- type Options
- type Program
- type ProgramList
- type ProgramSpec
- type Resource
- type Stack
- type StackEvent
- func StackConfigInvalidEvent() StackEvent
- func StackGitAuthFailureEvent() StackEvent
- func StackInitializationFailureEvent() StackEvent
- func StackNotFoundEvent() StackEvent
- func StackOutputRetrievalFailureEvent() StackEvent
- func StackUpdateConflictDetectedEvent() StackEvent
- func StackUpdateDetectedEvent() StackEvent
- func StackUpdateFailureEvent() StackEvent
- func StackUpdateSuccessfulEvent() StackEvent
- type StackEventReason
- type StackEventType
- type StackList
- type StackStatus
Constants ¶
const ( ReadyCondition = "Ready" StalledCondition = "Stalled" ReconcilingCondition = "Reconciling" // Not ready because it's in progress NotReadyInProgressReason = "NotReadyInProgress" // Not ready because it's stalled NotReadyStalledReason = "NotReadyStalled" // Reconciling because the stack is being processed ReconcilingProcessingReason = "StackProcessing" ReconcilingProcessingMessage = "stack is being processed" // Reconciling because it failed, and has been requeued ReconcilingRetryReason = "RetryingAfterFailure" // Reconciling because a prerequisite was not satisfied ReconcilingPrerequisiteNotSatisfiedReason = "PrerequisiteNotSatisfied" // Stalled because the .spec can't be processed as it is StalledSpecInvalidReason = "SpecInvalid" StalledSourceUnavailableReason = "SourceUnavailable" // Stalled because there was a conflict with another update, and retryOnConflict was not set. StalledConflictReason = "UpdateConflict" // Stalled because a cross-namespace ref is used, and namespace isolation is in effect. StalledCrossNamespaceRefForbiddenReason = "CrossNamespaceRefForbidden" // Ready because processing has completed ReadyCompletedReason = "ProcessingCompleted" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "pulumi.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type ConfigType ¶ added in v1.10.0
type ConfigType string
+kubebuilder:validation:Enum={"String", "Number", "List<Number>", "List<String>"}
type Configuration ¶ added in v1.10.0
type Configuration struct { // type is the (required) data type for the parameter. // +optional Type ConfigType `json:"type,omitempty"` // default is a value of the appropriate type for the template to use if no value is specified. // +optional Default *Any `json:"default,omitempty"` }
func (*Configuration) DeepCopy ¶ added in v1.10.0
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶ added in v1.10.0
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomTimeouts ¶ added in v1.10.0
type CustomTimeouts struct { // create is the custom timeout for create operations. // +optional Create string `json:"create,omitempty"` // delete is the custom timeout for delete operations. // +optional Delete string `json:"delete,omitempty"` // update is the custom timeout for update operations. // +optional Update string `json:"update,omitempty"` }
func (*CustomTimeouts) DeepCopy ¶ added in v1.10.0
func (in *CustomTimeouts) DeepCopy() *CustomTimeouts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomTimeouts.
func (*CustomTimeouts) DeepCopyInto ¶ added in v1.10.0
func (in *CustomTimeouts) DeepCopyInto(out *CustomTimeouts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Expression ¶ added in v1.10.0
type Expression = apiextensionsv1.JSON
+kubebuilder:object:generate:=false
type Getter ¶ added in v1.10.0
type Getter struct { // The ID of the resource to import. // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength:=1 Id string `json:"id"` // state contains the known properties (input & output) of the resource. This assists // the provider in figuring out the correct resource. // +optional State map[string]Expression `json:"state,omitempty"` }
func (*Getter) DeepCopy ¶ added in v1.10.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Getter.
func (*Getter) DeepCopyInto ¶ added in v1.10.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Options ¶ added in v1.10.0
type Options struct { // additionalSecretOutputs specifies properties that must be encrypted as secrets. // +optional AdditionalSecretOutputs []string `json:"additionalSecretOutputs,omitempty"` // aliases specifies names that this resource used to have, so that renaming or refactoring // doesn’t replace it. // +optional Aliases []string `json:"aliases,omitempty"` // customTimeouts overrides the default retry/timeout behavior for resource provisioning. // +optional CustomTimeouts *CustomTimeouts `json:"customTimeouts,omitempty"` // deleteBeforeReplace overrides the default create-before-delete behavior when replacing. // +optional DeleteBeforeReplace bool `json:"deleteBeforeReplace,omitempty"` // dependsOn adds explicit dependencies in addition to the ones in the dependency graph. // +optional DependsOn []Expression `json:"dependsOn,omitempty"` // ignoreChanges declares that changes to certain properties should be ignored when diffing. // +optional IgnoreChanges []string `json:"ignoreChanges,omitempty"` // import adopts an existing resource from your cloud account under the control of Pulumi. // +optional Import string `json:"import,omitempty"` // parent resource option specifies a parent for a resource. It is used to associate // children with the parents that encapsulate or are responsible for them. // +optional Parent *Expression `json:"parent,omitempty"` // protect prevents accidental deletion of a resource. // +optional Protect bool `json:"protect,omitempty"` // provider resource option sets a provider for the resource. // +optional Provider *Expression `json:"provider,omitempty"` // providers resource option sets a map of providers for the resource and its children. // +optional Providers map[string]Expression `json:"providers,omitempty"` // version specifies a provider plugin version that should be used when operating on a resource. // +optional Version string `json:"version,omitempty"` }
func (*Options) DeepCopy ¶ added in v1.10.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Options.
func (*Options) DeepCopyInto ¶ added in v1.10.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Program ¶ added in v1.10.0
type Program struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Program ProgramSpec `json:"program,omitempty"` }
Program is the schema for the inline YAML program API. +kubebuilder:resource:path=programs,scope=Namespaced +kubebuilder:storageversion +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*Program) DeepCopy ¶ added in v1.10.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Program.
func (*Program) DeepCopyInto ¶ added in v1.10.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Program) DeepCopyObject ¶ added in v1.10.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProgramList ¶ added in v1.10.0
type ProgramList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Program `json:"items"` }
func (*ProgramList) DeepCopy ¶ added in v1.10.0
func (in *ProgramList) DeepCopy() *ProgramList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProgramList.
func (*ProgramList) DeepCopyInto ¶ added in v1.10.0
func (in *ProgramList) DeepCopyInto(out *ProgramList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProgramList) DeepCopyObject ¶ added in v1.10.0
func (in *ProgramList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProgramSpec ¶ added in v1.10.0
type ProgramSpec struct { // configuration specifies the Pulumi config inputs to the deployment. // Either type or default is required. // +optional Configuration map[string]Configuration `json:"configuration,omitempty"` // resources declares the Pulumi resources that will be deployed and managed by the program. // +optional Resources map[string]Resource `json:"resources,omitempty"` // variables specifies intermediate values of the program; the values of variables are // expressions that can be re-used. // +optional Variables map[string]Expression `json:"variables,omitempty"` // outputs specifies the Pulumi stack outputs of the program and how they are computed from the resources. // +optional Outputs map[string]Expression `json:"outputs,omitempty"` }
func (*ProgramSpec) DeepCopy ¶ added in v1.10.0
func (in *ProgramSpec) DeepCopy() *ProgramSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProgramSpec.
func (*ProgramSpec) DeepCopyInto ¶ added in v1.10.0
func (in *ProgramSpec) DeepCopyInto(out *ProgramSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resource ¶ added in v1.10.0
type Resource struct { // type is the Pulumi type token for this resource. // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength:=1 Type string `json:"type"` // properties contains the primary resource-specific keys and values to initialize the resource state. // +optional Properties map[string]Expression `json:"properties,omitempty"` // options contains all resource options supported by Pulumi. // +optional Options *Options `json:"options,omitempty"` // A getter function for the resource. Supplying get is mutually exclusive to properties. // +optional Get *Getter `json:"get,omitempty"` }
func (*Resource) DeepCopy ¶ added in v1.10.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
func (*Resource) DeepCopyInto ¶ added in v1.10.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Stack ¶
type Stack struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec shared.StackSpec `json:"spec,omitempty"` Status StackStatus `json:"status,omitempty"` }
Stack is the Schema for the stacks API +kubebuilder:subresource:status +kubebuilder:resource:path=stacks,scope=Namespaced +kubebuilder:storageversion +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.lastUpdate.state"
func (*Stack) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
func (*Stack) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Stack) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StackEvent ¶ added in v1.2.0
type StackEvent struct {
// contains filtered or unexported fields
}
StackEvent is a manifestation of a Kubernetes event emitted by the stack controller.
func StackConfigInvalidEvent ¶ added in v1.2.0
func StackConfigInvalidEvent() StackEvent
func StackGitAuthFailureEvent ¶ added in v1.2.0
func StackGitAuthFailureEvent() StackEvent
func StackInitializationFailureEvent ¶ added in v1.2.0
func StackInitializationFailureEvent() StackEvent
func StackNotFoundEvent ¶ added in v1.2.0
func StackNotFoundEvent() StackEvent
func StackOutputRetrievalFailureEvent ¶ added in v1.2.0
func StackOutputRetrievalFailureEvent() StackEvent
func StackUpdateConflictDetectedEvent ¶ added in v1.2.0
func StackUpdateConflictDetectedEvent() StackEvent
func StackUpdateDetectedEvent ¶ added in v1.2.0
func StackUpdateDetectedEvent() StackEvent
func StackUpdateFailureEvent ¶ added in v1.2.0
func StackUpdateFailureEvent() StackEvent
func StackUpdateSuccessfulEvent ¶ added in v1.2.0
func StackUpdateSuccessfulEvent() StackEvent
func (*StackEvent) DeepCopy ¶ added in v1.3.0
func (in *StackEvent) DeepCopy() *StackEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackEvent.
func (*StackEvent) DeepCopyInto ¶ added in v1.3.0
func (in *StackEvent) DeepCopyInto(out *StackEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (StackEvent) EventType ¶ added in v1.2.0
func (e StackEvent) EventType() string
func (StackEvent) Reason ¶ added in v1.2.0
func (e StackEvent) Reason() string
type StackEventReason ¶ added in v1.2.0
type StackEventReason string
StackEventReason reflects distinct categorizations of events emitted by the stack controller.
const ( StackConfigInvalid StackEventReason = "StackConfigInvalid" StackInitializationFailure StackEventReason = "StackInitializationFailure" StackGitAuthFailure StackEventReason = "StackGitAuthenticationFailure" StackUpdateFailure StackEventReason = "StackUpdateFailure" StackUpdateConflictDetected StackEventReason = "StackUpdateConflictDetected" StackOutputRetrievalFailure StackEventReason = "StackOutputRetrievalFailure" StackUpdateDetected StackEventReason = "StackUpdateDetected" StackNotFound StackEventReason = "StackNotFound" StackUpdateSuccessful StackEventReason = "StackCreated" )
type StackEventType ¶ added in v1.2.0
type StackEventType string
StackEventType tracks the types supported by the Kubernetes EventRecorder interface in k8s.io/client-go/tools/record
const ( EventTypeNormal StackEventType = "Normal" EventTypeWarning StackEventType = "Warning" )
type StackList ¶
type StackList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Stack `json:"items"` }
StackList contains a list of Stack
func (*StackList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
func (*StackList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StackList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StackStatus ¶
type StackStatus struct { // Outputs contains the exported stack output variables resulting from a deployment. Outputs shared.StackOutputs `json:"outputs,omitempty"` // LastUpdate contains details of the status of the last update. LastUpdate *shared.StackUpdateState `json:"lastUpdate,omitempty"` // ObservedGeneration records the value of .meta.generation at the point the controller last processed this object // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // ObservedReconcileRequest records the value of the annotation named for // `ReconcileRequestAnnotation` when it was last seen. ObservedReconcileRequest string `json:"observedReconcileRequest,omitempty"` // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` }
StackStatus defines the observed state of Stack
func (*StackStatus) DeepCopy ¶
func (in *StackStatus) DeepCopy() *StackStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
func (*StackStatus) DeepCopyInto ¶
func (in *StackStatus) DeepCopyInto(out *StackStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StackStatus) MarkReadyCondition ¶ added in v1.9.0
func (s *StackStatus) MarkReadyCondition()
MarkReadyCondition arranges the conditions used in the "ready protocol", so to indicate that the resource is considered up to date.
func (*StackStatus) MarkReconcilingCondition ¶ added in v1.9.0
func (s *StackStatus) MarkReconcilingCondition(reason, msg string)
MarkReconcilingCondition arranges the conditions used in the "ready protocol", so to indicate that the resource is being processed.
func (*StackStatus) MarkStalledCondition ¶ added in v1.9.0
func (s *StackStatus) MarkStalledCondition(reason, msg string)
MarkStalledCondition arranges the conditions used in the "ready protocol", so to indicate that the resource is stalled; that is, it did not run to completion, and will not be retried until the definition is changed. This also marks the resource as not ready.