Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cloud functions v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/ibm/cloud-functions-operator/pkg/apis/ibmcloud +k8s:defaulter-gen=TypeMeta +groupName=ibmcloud.ibm.com
Package v1alpha1 contains API Schema definitions for the cloud functions v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/ibm/cloud-functions-operator/pkg/apis/ibmcloud +k8s:defaulter-gen=TypeMeta +groupName=ibmcloud.ibm.com
Index ¶
- Variables
- type ConfigMapKeyReference
- type Function
- type FunctionList
- type FunctionSpec
- type FunctionStatus
- type Invocation
- type InvocationFinalizer
- type InvocationList
- type InvocationSpec
- type InvocationStatus
- type InvocationTarget
- type Limits
- type Package
- type PackageList
- type PackageSpec
- type PackageStatus
- type ParametersFromSource
- type Rule
- type RuleList
- type RuleSpec
- type RuleStatus
- type SecretKeyReference
- type Trigger
- type TriggerList
- type TriggerSpec
- type TriggerStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "ibmcloud.ibm.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type ConfigMapKeyReference ¶
type ConfigMapKeyReference struct {
// The ConfigMap to select from.
v1.LocalObjectReference `json:",inline"`
}
ConfigMapKeyReference selects a ConfigMap and optionally a key from it.
func (*ConfigMapKeyReference) DeepCopy ¶
func (in *ConfigMapKeyReference) DeepCopy() *ConfigMapKeyReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeyReference.
func (*ConfigMapKeyReference) DeepCopyInto ¶
func (in *ConfigMapKeyReference) DeepCopyInto(out *ConfigMapKeyReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Function ¶
type Function struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec FunctionSpec `json:"spec,omitempty"`
Status FunctionStatus `json:"status,omitempty"`
}
Function is the Schema for the functions API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Function) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.
func (*Function) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Function) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FunctionList ¶
type FunctionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Function `json:"items"`
}
FunctionList contains a list of Function
func (*FunctionList) DeepCopy ¶
func (in *FunctionList) DeepCopy() *FunctionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionList.
func (*FunctionList) DeepCopyInto ¶
func (in *FunctionList) DeepCopyInto(out *FunctionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionList) DeepCopyObject ¶
func (in *FunctionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FunctionSpec ¶
type FunctionSpec struct {
// Action name. Override metadata.name. Does not include the package name (see below)
// +optional
Name *string `json:"name,omitempty"`
// Action package name. Add it to the default package when not specified
// +optional
Package *string `json:"package,omitempty"`
// The location of the code to deploy. Support `http(s)` and `file` protocols.
// +optional
CodeURI *string `json:"codeURI,omitempty"`
// The inline code to deploy.
// +optional
Code *string `json:"code,omitempty"`
// Runtime name and optional version.
// More info: https://github.com/apache/incubator-openwhisk/blob/master/docs/actions.md#languages-and-runtimes
//
// Support these runtimes (not an exhaustive live):
//
// Runtime | image name | Description\n
// -------- | --------- | ----------\n
// app | N/A | runs a function composition\n
// sequence | N/A | runs a function sequence\n
// nodejs | nodejsaction:latest | Latest NodeJS runtime\n
// nodejs:6 | nodejs6action:latest | Latest NodeJS 6 runtime\n
// java | java8action:latest | Latest Java language runtime\n
// python:2 | python2action:latest | Latest Python 2 language runtime\n
// python:3 | python3action:latest | Latest Python 3 language runtime\n
// swift | swiftaction:latest | Latest Swift 2 language runtime\n
// swift:3 | swift3action:latest | Latest Swift 3 language runtime\n
// swift:3.1.1 | action-swift-v3.1.1:latest | Latest Swift 3.1.1 language runtime\n
// php:7.1 | action-php-v7.1:latest | Latest PHP language runtime\n
//
// +optional
Runtime string `json:"runtime"`
// Docker image identifier (in dockerhub). More info: https://github.com/apache/incubator-openwhisk/blob/master/docs/actions-docker.md
// +optional
Docker string `json:"docker,omitempty"`
// Run the action as native. More info: https://github.com/apache/incubator-openwhisk/blob/master/docs/actions-docker.md#creating-native-actions
// +optional
Native bool `json:"native,omitempty"`
// List of key/value input parameters
// +optional
Parameters []keyvaluev1.KeyValue `json:"parameters,omitempty"`
// Sets the action limits. More info: https://github.com/apache/incubator-openwhisk/blob/master/docs/reference.md#system-limits
// +optional
Limits *Limits `json:"limits,omitempty"`
// The name of the action entry point (function or fully-qualified method name when applicable)
// +optional
Main *string `json:"main,omitempty"`
// Comma separated sequence of actions. Only valid when `runtime` is `sequence`
// +optional
Functions *string `json:"functions,omitempty"`
// Turns the function into a "web action" causing it to return HTTP content
// without use of an API Gateway. More info: https://github.com/apache/incubator-openwhisk/blob/master/docs/webactions.md
// +optional
WebExport bool `json:"webExport,omitempty"`
// Indicates if the function is able to consume the raw contents within
// the body of an HTTP request. Only valid when `webExport` is `true`.
// More info: https://github.com/apache/incubator-openwhisk/blob/master/docs/webactions.md#raw-http-handling
// +optional
RawHTTP bool `json:"rawHTTP,omitempty"`
// List of key/value annotations
// +optional
Annotations []keyvaluev1.KeyValue `json:"annotations,omitempty"`
// Reference to a secret representing where to deploy this entity
// Default is `seed-default-owprops`
// The secret must defines these fields:
// apihost (string) : The OpenWhisk host
// auth (string): the authorization key
// cert (string): the client certificate (optional)
// insecure (bool): Whether or not to bypass certificate checking (optional, default is false)
// +optional
ContextFrom *v1.SecretEnvSource `json:"contextFrom,omitempty"`
}
FunctionSpec represents the specification for Function resources
func (*FunctionSpec) DeepCopy ¶
func (in *FunctionSpec) DeepCopy() *FunctionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec.
func (*FunctionSpec) DeepCopyInto ¶
func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionStatus ¶
type FunctionStatus struct {
resv1.ResourceStatus `json:",inline"`
// Last synced generation. Set by the system
Generation int64 `json:"generation"`
}
FunctionStatus defines the observed state of Function
func (*FunctionStatus) DeepCopy ¶
func (in *FunctionStatus) DeepCopy() *FunctionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionStatus.
func (*FunctionStatus) DeepCopyInto ¶
func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Invocation ¶
type Invocation struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec InvocationSpec `json:"spec,omitempty"`
Status InvocationStatus `json:"status,omitempty"`
}
Invocation is the Schema for the invocations API +k8s:openapi-gen=true +kubebuilder:subresource:status +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Invocation) DeepCopy ¶
func (in *Invocation) DeepCopy() *Invocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Invocation.
func (*Invocation) DeepCopyInto ¶
func (in *Invocation) DeepCopyInto(out *Invocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Invocation) DeepCopyObject ¶
func (in *Invocation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Invocation) GetStatus ¶
func (r *Invocation) GetStatus() resv1.Status
GetStatus returns the function status
type InvocationFinalizer ¶
type InvocationFinalizer struct {
// Function defines the name of the function to invoke (eg. `/whisk.system/utils/echo` or `myfunction`)
// Invokes the function in the invocation context when the name is not fully qualified
Function string `json:"function"`
// Parameters defines the list of parameters to use for the invocation
// +optional
Parameters []keyvaluev1.KeyValue `json:"parameters,omitempty"`
}
InvocationFinalizer defines the function to invoke when deleting the function invocation
func (*InvocationFinalizer) DeepCopy ¶
func (in *InvocationFinalizer) DeepCopy() *InvocationFinalizer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvocationFinalizer.
func (*InvocationFinalizer) DeepCopyInto ¶
func (in *InvocationFinalizer) DeepCopyInto(out *InvocationFinalizer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InvocationList ¶
type InvocationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Invocation `json:"items"`
}
InvocationList contains a list of Invocation +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*InvocationList) DeepCopy ¶
func (in *InvocationList) DeepCopy() *InvocationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvocationList.
func (*InvocationList) DeepCopyInto ¶
func (in *InvocationList) DeepCopyInto(out *InvocationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InvocationList) DeepCopyObject ¶
func (in *InvocationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InvocationSpec ¶
type InvocationSpec struct {
// defines the name of function to invoke (eg. `/whisk.system/utils/echo` or `myfunction`)
// Invokes the function in the invocation context when the name is not fully qualified
Function string `json:"function"`
// Defines the list of parameters to use for the invocation
// +optional
Parameters []keyvaluev1.KeyValue `json:"parameters,omitempty"`
// Defines where to store the invocation result. Discard the result when not specified.
// +optional
To *InvocationTarget `json:"to,omitempty"`
// Defines the function to invoke when this resource is deleted.
// +optional
Finalizer *InvocationFinalizer `json:"finalizer,omitempty"`
// Reference to a secret representing where to deploy this entity
// Default is `seed-default-owprops`
// The secret must defines these fields:
// apihost (string) : The OpenWhisk host
// auth (string): the authorization key
// cert (string): the client certificate (optional)
// insecure (bool): Whether or not to bypass certificate checking (optional, default is false)
// +optional
ContextFrom *v1.SecretEnvSource `json:"contextFrom,omitempty"`
}
InvocationSpec defines the desired state of Invocation
func (*InvocationSpec) DeepCopy ¶
func (in *InvocationSpec) DeepCopy() *InvocationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvocationSpec.
func (*InvocationSpec) DeepCopyInto ¶
func (in *InvocationSpec) DeepCopyInto(out *InvocationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InvocationStatus ¶
type InvocationStatus struct {
resv1.ResourceStatus `json:",inline"`
// Last synced generation. Set by the system
Generation int64 `json:"generation"`
}
InvocationStatus defines the observed state of Invocation
func (*InvocationStatus) DeepCopy ¶
func (in *InvocationStatus) DeepCopy() *InvocationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvocationStatus.
func (*InvocationStatus) DeepCopyInto ¶
func (in *InvocationStatus) DeepCopyInto(out *InvocationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InvocationTarget ¶
type InvocationTarget struct {
// Selects a key of a ConfigMap.
// +optional
ConfigMapKeyRef *v1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty"`
// Selects a key of a secret in the invocation namespace
// +optional
SecretKeyRef *v1.SecretKeySelector `json:"secretKeyRef,omitempty"`
// JSONPath template selecting parts of the invocation result to store.
// Default is "{@.response.result}"
// More info: https://kubernetes.io/docs/reference/kubectl/jsonpath/
Projection *string `json:"projection,omitempty"`
}
InvocationTarget represents where to store the invocation result
func (*InvocationTarget) DeepCopy ¶
func (in *InvocationTarget) DeepCopy() *InvocationTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvocationTarget.
func (*InvocationTarget) DeepCopyInto ¶
func (in *InvocationTarget) DeepCopyInto(out *InvocationTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Limits ¶
type Limits struct {
// The per-invocation Action timeout. Default unit is assumed to be milliseconds (ms).
// +optional
Timeout int `json:"timeout,omitempty"`
// The per-Action memory. Default unit is assumed to be in megabytes (MB).
// +optional
Memory int `json:"memory,omitempty"`
// The action log size. Default unit is assumed to be in megabytes (MB).
// +optional
LogSize int `json:"logSize,omitempty"`
}
Limits is used to express function resources constraints such as memory limits or timeout
func (*Limits) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Limits.
func (*Limits) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Package ¶
type Package struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PackageSpec `json:"spec,omitempty"`
Status PackageStatus `json:"status,omitempty"`
}
Package is the Schema for the packages API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Package) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package.
func (*Package) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Package) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageList ¶
type PackageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Package `json:"items"`
}
PackageList contains a list of Package
func (*PackageList) DeepCopy ¶
func (in *PackageList) DeepCopy() *PackageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageList.
func (*PackageList) DeepCopyInto ¶
func (in *PackageList) DeepCopyInto(out *PackageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageList) DeepCopyObject ¶
func (in *PackageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageSpec ¶
type PackageSpec struct {
// Package name. Override metadata.name. `default` is reserved.
// +optional
Name string `json:"name,omitempty"`
// Package visibility; `true` for `shared`, `false` for `private`
// +optional
Publish *bool `json:"publish,omitempty"`
// Name of the package for which a binding should be created
// +optional
Bind string `json:"bind,omitempty"`
// indicates a cloud service resource which you want to bind to.
// This feature provides automatic injection of service keys into the binding parameters (for example user, password, urls)
// +optional
Service string `json:"service,omitempty"`
// List of key/value annotations
// +optional
Annotations []keyvaluev1.KeyValue `json:"annotations,omitempty"`
// List of key/value input parameters
// +optional
Parameters []keyvaluev1.KeyValue `json:"parameters,omitempty"`
// List of key/value input parameters coming from a Secret or ConfigMap
// When multiple sources are specified, all key/value pairs are merged
// into a single set of key/value pairs, from the first source to the last source
// Duplicates are handled by overriding the previous key/value pair.
// The parameters property is applied last
// +optional
ParametersFrom []ParametersFromSource `json:"parametersFrom,omitempty"`
// Reference to a secret representing where to deploy this entity
// Default is `seed-default-owprops`
// The secret must defines these fields:
// apihost (string) : The OpenWhisk host
// auth (string): the authorization key
// cert (string): the client certificate (optional)
// insecure (bool): Whether or not to bypass certificate checking (optional, default is false)
// +optional
ContextFrom *v1.SecretEnvSource `json:"contextFrom,omitempty"`
}
PackageSpec defines the desired state of Package
func (*PackageSpec) DeepCopy ¶
func (in *PackageSpec) DeepCopy() *PackageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSpec.
func (*PackageSpec) DeepCopyInto ¶
func (in *PackageSpec) DeepCopyInto(out *PackageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageStatus ¶
type PackageStatus struct {
resv1.ResourceStatus `json:",inline"`
// Last synced generation. Set by the system
Generation int64 `json:"generation"`
}
PackageStatus defines the observed state of Package
func (*PackageStatus) DeepCopy ¶
func (in *PackageStatus) DeepCopy() *PackageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageStatus.
func (*PackageStatus) DeepCopyInto ¶
func (in *PackageStatus) DeepCopyInto(out *PackageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParametersFromSource ¶
type ParametersFromSource struct {
// Selects a key of a ConfigMap.
// +optional
ConfigMapKeyRef *ConfigMapKeyReference `json:"configMapKeyRef,omitempty"`
// Selects a key of a secret in the resource namespace
// +optional
SecretKeyRef *SecretKeyReference `json:"secretKeyRef,omitempty"`
}
ParametersFromSource represents a source for the value of parameters
func (*ParametersFromSource) DeepCopy ¶
func (in *ParametersFromSource) DeepCopy() *ParametersFromSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParametersFromSource.
func (*ParametersFromSource) DeepCopyInto ¶
func (in *ParametersFromSource) DeepCopyInto(out *ParametersFromSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rule ¶
type Rule struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RuleSpec `json:"spec,omitempty"`
Status RuleStatus `json:"status,omitempty"`
}
Rule is the Schema for the rules API +k8s:openapi-gen=true +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status
func (*Rule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Rule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleList ¶
type RuleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Rule `json:"items"`
}
RuleList contains a list of Rule +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*RuleList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleList.
func (*RuleList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleSpec ¶
type RuleSpec struct {
// Rule name. Override metadata.name.
// +optional
Name string `json:"name,omitempty"`
// Name of the trigger the Rule applies to
Trigger string `json:"trigger"`
// Name of the action the rule applies to
Function string `json:"function"`
// Reference to a secret representing where to deploy this entity
// Default is `seed-default-owprops`
// The secret must defines these fields:
// apihost (string) : The OpenWhisk host
// auth (string): the authorization key
// cert (string): the client certificate (optional)
// insecure (bool): Whether or not to bypass certificate checking (optional, default is false)
// +optional
ContextFrom *v1.SecretEnvSource `json:"contextFrom,omitempty"`
}
RuleSpec defines the desired state of Rule
func (*RuleSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpec.
func (*RuleSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleStatus ¶
type RuleStatus struct {
resv1.ResourceStatus `json:",inline"`
// Last synced generation. Set by the system
Generation int64 `json:"generation"`
}
RuleStatus defines the observed state of Rule
func (*RuleStatus) DeepCopy ¶
func (in *RuleStatus) DeepCopy() *RuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleStatus.
func (*RuleStatus) DeepCopyInto ¶
func (in *RuleStatus) DeepCopyInto(out *RuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretKeyReference ¶
type SecretKeyReference struct {
// The name of the secret in the pod's namespace to select from.
v1.LocalObjectReference `json:",inline"`
}
SecretKeyReference selects a secret and optionally a key from it.
func (*SecretKeyReference) DeepCopy ¶
func (in *SecretKeyReference) DeepCopy() *SecretKeyReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeyReference.
func (*SecretKeyReference) DeepCopyInto ¶
func (in *SecretKeyReference) DeepCopyInto(out *SecretKeyReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Trigger ¶
type Trigger struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TriggerSpec `json:"spec,omitempty"`
Status TriggerStatus `json:"status,omitempty"`
}
Trigger is the Schema for the triggers API +k8s:openapi-gen=true +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status
func (*Trigger) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.
func (*Trigger) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Trigger) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TriggerList ¶
type TriggerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Trigger `json:"items"`
}
TriggerList contains a list of Trigger +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TriggerList) DeepCopy ¶
func (in *TriggerList) DeepCopy() *TriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerList.
func (*TriggerList) DeepCopyInto ¶
func (in *TriggerList) DeepCopyInto(out *TriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TriggerList) DeepCopyObject ¶
func (in *TriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TriggerSpec ¶
type TriggerSpec struct {
// Trigger name. Override metadata.name.
// +optional
Name string `json:"name,omitempty"`
// Name of the feed associated with the trigger
// +optional
Feed string `json:"feed,omitempty"`
// List of key/value annotations
// +optional
Annotations []keyvaluev1.KeyValue `json:"annotations,omitempty"`
// List of key/value input parameters
// +optional
Parameters []keyvaluev1.KeyValue `json:"parameters,omitempty"`
// Reference to a secret representing where to deploy this entity
// Default is `seed-default-owprops`
// The secret must defines these fields:
// apihost (string) : The OpenWhisk host
// auth (string): the authorization key
// cert (string): the client certificate (optional)
// insecure (bool): Whether or not to bypass certificate checking (optional, default is false)
// +optional
ContextFrom *v1.SecretEnvSource `json:"contextFrom,omitempty"`
}
TriggerSpec defines the desired state of Trigger
func (*TriggerSpec) DeepCopy ¶
func (in *TriggerSpec) DeepCopy() *TriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSpec.
func (*TriggerSpec) DeepCopyInto ¶
func (in *TriggerSpec) DeepCopyInto(out *TriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerStatus ¶
type TriggerStatus struct {
resv1.ResourceStatus `json:",inline"`
// Last synced generation. Set by the system
Generation int64 `json:"generation"`
}
TriggerStatus defines the observed state of Trigger
func (*TriggerStatus) DeepCopy ¶
func (in *TriggerStatus) DeepCopy() *TriggerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerStatus.
func (*TriggerStatus) DeepCopyInto ¶
func (in *TriggerStatus) DeepCopyInto(out *TriggerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.