const ( // TemplateInstanceFinalizer is used to clean up the objects created by the template instance, // when the template instance is deleted. TemplateInstanceFinalizer = "template.openshift.io/finalizer" // TemplateInstanceOwner is a label applied to all objects created from a template instance // which contains the uid of the template instance. TemplateInstanceOwner = "template.openshift.io/template-instance-owner" // WaitForReadyAnnotation indicates that the TemplateInstance controller // should wait for the object to be ready before reporting the template // instantiation complete. WaitForReadyAnnotation = "template.alpha.openshift.io/wait-for-ready" )
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( GroupName = "template.openshift.io" GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} // Install is a function which adds this version to a scheme Install = schemeBuilder.AddToScheme // SchemeGroupVersion generated code relies on this name // Deprecated SchemeGroupVersion = GroupVersion // AddToScheme exists solely to keep the old generators creating valid code // DEPRECATED AddToScheme = schemeBuilder.AddToScheme )
var ( DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme )
func Resource(resource string) schema.GroupResource
Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED
BrokerTemplateInstance holds the service broker-related state associated with a TemplateInstance. BrokerTemplateInstance is part of an experimental API.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type BrokerTemplateInstance struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // spec describes the state of this BrokerTemplateInstance. Spec BrokerTemplateInstanceSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` }
func (in *BrokerTemplateInstance) DeepCopy() *BrokerTemplateInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrokerTemplateInstance.
func (in *BrokerTemplateInstance) DeepCopyInto(out *BrokerTemplateInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BrokerTemplateInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BrokerTemplateInstance) Descriptor() ([]byte, []int)
func (m *BrokerTemplateInstance) Marshal() (dAtA []byte, err error)
func (m *BrokerTemplateInstance) MarshalTo(dAtA []byte) (int, error)
func (m *BrokerTemplateInstance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BrokerTemplateInstance) ProtoMessage()
func (m *BrokerTemplateInstance) Reset()
func (m *BrokerTemplateInstance) Size() (n int)
func (this *BrokerTemplateInstance) String() string
func (BrokerTemplateInstance) SwaggerDoc() map[string]string
func (m *BrokerTemplateInstance) Unmarshal(dAtA []byte) error
func (m *BrokerTemplateInstance) XXX_DiscardUnknown()
func (m *BrokerTemplateInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BrokerTemplateInstance) XXX_Merge(src proto.Message)
func (m *BrokerTemplateInstance) XXX_Size() int
func (m *BrokerTemplateInstance) XXX_Unmarshal(b []byte) error
BrokerTemplateInstanceList is a list of BrokerTemplateInstance objects.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type BrokerTemplateInstanceList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items is a list of BrokerTemplateInstances Items []BrokerTemplateInstance `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *BrokerTemplateInstanceList) DeepCopy() *BrokerTemplateInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrokerTemplateInstanceList.
func (in *BrokerTemplateInstanceList) DeepCopyInto(out *BrokerTemplateInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BrokerTemplateInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BrokerTemplateInstanceList) Descriptor() ([]byte, []int)
func (m *BrokerTemplateInstanceList) Marshal() (dAtA []byte, err error)
func (m *BrokerTemplateInstanceList) MarshalTo(dAtA []byte) (int, error)
func (m *BrokerTemplateInstanceList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BrokerTemplateInstanceList) ProtoMessage()
func (m *BrokerTemplateInstanceList) Reset()
func (m *BrokerTemplateInstanceList) Size() (n int)
func (this *BrokerTemplateInstanceList) String() string
func (BrokerTemplateInstanceList) SwaggerDoc() map[string]string
func (m *BrokerTemplateInstanceList) Unmarshal(dAtA []byte) error
func (m *BrokerTemplateInstanceList) XXX_DiscardUnknown()
func (m *BrokerTemplateInstanceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BrokerTemplateInstanceList) XXX_Merge(src proto.Message)
func (m *BrokerTemplateInstanceList) XXX_Size() int
func (m *BrokerTemplateInstanceList) XXX_Unmarshal(b []byte) error
BrokerTemplateInstanceSpec describes the state of a BrokerTemplateInstance.
type BrokerTemplateInstanceSpec struct { // templateinstance is a reference to a TemplateInstance object residing // in a namespace. TemplateInstance corev1.ObjectReference `json:"templateInstance" protobuf:"bytes,1,opt,name=templateInstance"` // secret is a reference to a Secret object residing in a namespace, // containing the necessary template parameters. Secret corev1.ObjectReference `json:"secret" protobuf:"bytes,2,opt,name=secret"` // bindingids is a list of 'binding_id's provided during successive bind // calls to the template service broker. BindingIDs []string `json:"bindingIDs,omitempty" protobuf:"bytes,3,rep,name=bindingIDs"` }
func (in *BrokerTemplateInstanceSpec) DeepCopy() *BrokerTemplateInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrokerTemplateInstanceSpec.
func (in *BrokerTemplateInstanceSpec) DeepCopyInto(out *BrokerTemplateInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BrokerTemplateInstanceSpec) Descriptor() ([]byte, []int)
func (m *BrokerTemplateInstanceSpec) Marshal() (dAtA []byte, err error)
func (m *BrokerTemplateInstanceSpec) MarshalTo(dAtA []byte) (int, error)
func (m *BrokerTemplateInstanceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BrokerTemplateInstanceSpec) ProtoMessage()
func (m *BrokerTemplateInstanceSpec) Reset()
func (m *BrokerTemplateInstanceSpec) Size() (n int)
func (this *BrokerTemplateInstanceSpec) String() string
func (BrokerTemplateInstanceSpec) SwaggerDoc() map[string]string
func (m *BrokerTemplateInstanceSpec) Unmarshal(dAtA []byte) error
func (m *BrokerTemplateInstanceSpec) XXX_DiscardUnknown()
func (m *BrokerTemplateInstanceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BrokerTemplateInstanceSpec) XXX_Merge(src proto.Message)
func (m *BrokerTemplateInstanceSpec) XXX_Size() int
func (m *BrokerTemplateInstanceSpec) XXX_Unmarshal(b []byte) error
ExtraValue masks the value so protobuf can generate +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false
type ExtraValue []string
func (in ExtraValue) DeepCopy() ExtraValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
func (in ExtraValue) DeepCopyInto(out *ExtraValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtraValue) Descriptor() ([]byte, []int)
func (m ExtraValue) Marshal() (dAtA []byte, err error)
func (m ExtraValue) MarshalTo(dAtA []byte) (int, error)
func (m ExtraValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExtraValue) ProtoMessage()
func (m *ExtraValue) Reset()
func (m ExtraValue) Size() (n int)
func (t ExtraValue) String() string
func (m *ExtraValue) Unmarshal(dAtA []byte) error
func (m *ExtraValue) XXX_DiscardUnknown()
func (m *ExtraValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ExtraValue) XXX_Merge(src proto.Message)
func (m *ExtraValue) XXX_Size() int
func (m *ExtraValue) XXX_Unmarshal(b []byte) error
Parameter defines a name/value variable that is to be processed during the Template to Config transformation.
type Parameter struct { // Name must be set and it can be referenced in Template // Items using ${PARAMETER_NAME}. Required. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Optional: The name that will show in UI instead of parameter 'Name' DisplayName string `json:"displayName,omitempty" protobuf:"bytes,2,opt,name=displayName"` // Description of a parameter. Optional. Description string `json:"description,omitempty" protobuf:"bytes,3,opt,name=description"` // Value holds the Parameter data. If specified, the generator will be // ignored. The value replaces all occurrences of the Parameter ${Name} // expression during the Template to Config transformation. Optional. Value string `json:"value,omitempty" protobuf:"bytes,4,opt,name=value"` // generate specifies the generator to be used to generate random string // from an input value specified by From field. The result string is // stored into Value field. If empty, no generator is being used, leaving // the result Value untouched. Optional. // // The only supported generator is "expression", which accepts a "from" // value in the form of a simple regular expression containing the // range expression "[a-zA-Z0-9]", and the length expression "a{length}". // // Examples: // // from | value // ----------------------------- // "test[0-9]{1}x" | "test7x" // "[0-1]{8}" | "01001100" // "0x[A-F0-9]{4}" | "0xB3AF" // "[a-zA-Z0-9]{8}" | "hW4yQU5i" // Generate string `json:"generate,omitempty" protobuf:"bytes,5,opt,name=generate"` // From is an input value for the generator. Optional. From string `json:"from,omitempty" protobuf:"bytes,6,opt,name=from"` // Optional: Indicates the parameter must have a value. Defaults to false. Required bool `json:"required,omitempty" protobuf:"varint,7,opt,name=required"` }
func (in *Parameter) DeepCopy() *Parameter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameter.
func (in *Parameter) DeepCopyInto(out *Parameter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Parameter) Descriptor() ([]byte, []int)
func (m *Parameter) Marshal() (dAtA []byte, err error)
func (m *Parameter) MarshalTo(dAtA []byte) (int, error)
func (m *Parameter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Parameter) ProtoMessage()
func (m *Parameter) Reset()
func (m *Parameter) Size() (n int)
func (this *Parameter) String() string
func (Parameter) SwaggerDoc() map[string]string
func (m *Parameter) Unmarshal(dAtA []byte) error
func (m *Parameter) XXX_DiscardUnknown()
func (m *Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Parameter) XXX_Merge(src proto.Message)
func (m *Parameter) XXX_Size() int
func (m *Parameter) XXX_Unmarshal(b []byte) error
Template contains the inputs needed to produce a Config.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type Template struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // message is an optional instructional message that will // be displayed when this template is instantiated. // This field should inform the user how to utilize the newly created resources. // Parameter substitution will be performed on the message before being // displayed so that generated credentials and other parameters can be // included in the output. Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` // objects is an array of resources to include in this template. // If a namespace value is hardcoded in the object, it will be removed // during template instantiation, however if the namespace value // is, or contains, a ${PARAMETER_REFERENCE}, the resolved // value after parameter substitution will be respected and the object // will be created in that namespace. // +kubebuilder:pruning:PreserveUnknownFields Objects []runtime.RawExtension `json:"objects" protobuf:"bytes,3,rep,name=objects"` // parameters is an optional array of Parameters used during the // Template to Config transformation. Parameters []Parameter `json:"parameters,omitempty" protobuf:"bytes,4,rep,name=parameters"` // labels is a optional set of labels that are applied to every // object during the Template to Config transformation. ObjectLabels map[string]string `json:"labels,omitempty" protobuf:"bytes,5,rep,name=labels"` }
func (c *Template) DecodeNestedObjects(d runtime.Decoder) error
DecodeNestedObjects decodes the object as a runtime.Unknown with JSON content.
func (in *Template) DeepCopy() *Template
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (in *Template) DeepCopyInto(out *Template)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Template) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Template) Descriptor() ([]byte, []int)
func (c *Template) EncodeNestedObjects(e runtime.Encoder) error
func (m *Template) Marshal() (dAtA []byte, err error)
func (m *Template) MarshalTo(dAtA []byte) (int, error)
func (m *Template) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Template) ProtoMessage()
func (m *Template) Reset()
func (m *Template) Size() (n int)
func (this *Template) String() string
func (Template) SwaggerDoc() map[string]string
func (m *Template) Unmarshal(dAtA []byte) error
func (m *Template) XXX_DiscardUnknown()
func (m *Template) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Template) XXX_Merge(src proto.Message)
func (m *Template) XXX_Size() int
func (m *Template) XXX_Unmarshal(b []byte) error
TemplateInstance requests and records the instantiation of a Template. TemplateInstance is part of an experimental API.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type TemplateInstance struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // spec describes the desired state of this TemplateInstance. Spec TemplateInstanceSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // status describes the current state of this TemplateInstance. // +optional Status TemplateInstanceStatus `json:"status" protobuf:"bytes,3,opt,name=status"` }
func (in *TemplateInstance) DeepCopy() *TemplateInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateInstance.
func (in *TemplateInstance) DeepCopyInto(out *TemplateInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TemplateInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TemplateInstance) Descriptor() ([]byte, []int)
func (m *TemplateInstance) Marshal() (dAtA []byte, err error)
func (m *TemplateInstance) MarshalTo(dAtA []byte) (int, error)
func (m *TemplateInstance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TemplateInstance) ProtoMessage()
func (m *TemplateInstance) Reset()
func (m *TemplateInstance) Size() (n int)
func (this *TemplateInstance) String() string
func (TemplateInstance) SwaggerDoc() map[string]string
func (m *TemplateInstance) Unmarshal(dAtA []byte) error
func (m *TemplateInstance) XXX_DiscardUnknown()
func (m *TemplateInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *TemplateInstance) XXX_Merge(src proto.Message)
func (m *TemplateInstance) XXX_Size() int
func (m *TemplateInstance) XXX_Unmarshal(b []byte) error
TemplateInstanceCondition contains condition information for a TemplateInstance.
type TemplateInstanceCondition struct { // Type of the condition, currently Ready or InstantiateFailure. Type TemplateInstanceConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=TemplateInstanceConditionType"` // Status of the condition, one of True, False or Unknown. Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status"` // LastTransitionTime is the last time a condition status transitioned from // one state to another. LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,3,opt,name=lastTransitionTime"` // Reason is a brief machine readable explanation for the condition's last // transition. Reason string `json:"reason" protobuf:"bytes,4,opt,name=reason"` // Message is a human readable description of the details of the last // transition, complementing reason. Message string `json:"message" protobuf:"bytes,5,opt,name=message"` }
func (in *TemplateInstanceCondition) DeepCopy() *TemplateInstanceCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateInstanceCondition.
func (in *TemplateInstanceCondition) DeepCopyInto(out *TemplateInstanceCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateInstanceCondition) Descriptor() ([]byte, []int)
func (m *TemplateInstanceCondition) Marshal() (dAtA []byte, err error)
func (m *TemplateInstanceCondition) MarshalTo(dAtA []byte) (int, error)
func (m *TemplateInstanceCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TemplateInstanceCondition) ProtoMessage()
func (m *TemplateInstanceCondition) Reset()
func (m *TemplateInstanceCondition) Size() (n int)
func (this *TemplateInstanceCondition) String() string
func (TemplateInstanceCondition) SwaggerDoc() map[string]string
func (m *TemplateInstanceCondition) Unmarshal(dAtA []byte) error
func (m *TemplateInstanceCondition) XXX_DiscardUnknown()
func (m *TemplateInstanceCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *TemplateInstanceCondition) XXX_Merge(src proto.Message)
func (m *TemplateInstanceCondition) XXX_Size() int
func (m *TemplateInstanceCondition) XXX_Unmarshal(b []byte) error
TemplateInstanceConditionType is the type of condition pertaining to a TemplateInstance.
type TemplateInstanceConditionType string
const ( // TemplateInstanceReady indicates the readiness of the template // instantiation. TemplateInstanceReady TemplateInstanceConditionType = "Ready" // TemplateInstanceInstantiateFailure indicates the failure of the template // instantiation TemplateInstanceInstantiateFailure TemplateInstanceConditionType = "InstantiateFailure" )
TemplateInstanceList is a list of TemplateInstance objects.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type TemplateInstanceList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items is a list of Templateinstances Items []TemplateInstance `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *TemplateInstanceList) DeepCopy() *TemplateInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateInstanceList.
func (in *TemplateInstanceList) DeepCopyInto(out *TemplateInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TemplateInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TemplateInstanceList) Descriptor() ([]byte, []int)
func (m *TemplateInstanceList) Marshal() (dAtA []byte, err error)
func (m *TemplateInstanceList) MarshalTo(dAtA []byte) (int, error)
func (m *TemplateInstanceList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TemplateInstanceList) ProtoMessage()
func (m *TemplateInstanceList) Reset()
func (m *TemplateInstanceList) Size() (n int)
func (this *TemplateInstanceList) String() string
func (TemplateInstanceList) SwaggerDoc() map[string]string
func (m *TemplateInstanceList) Unmarshal(dAtA []byte) error
func (m *TemplateInstanceList) XXX_DiscardUnknown()
func (m *TemplateInstanceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *TemplateInstanceList) XXX_Merge(src proto.Message)
func (m *TemplateInstanceList) XXX_Size() int
func (m *TemplateInstanceList) XXX_Unmarshal(b []byte) error
TemplateInstanceObject references an object created by a TemplateInstance.
type TemplateInstanceObject struct { // ref is a reference to the created object. When used under .spec, only // name and namespace are used; these can contain references to parameters // which will be substituted following the usual rules. Ref corev1.ObjectReference `json:"ref,omitempty" protobuf:"bytes,1,opt,name=ref"` }
func (in *TemplateInstanceObject) DeepCopy() *TemplateInstanceObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateInstanceObject.
func (in *TemplateInstanceObject) DeepCopyInto(out *TemplateInstanceObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateInstanceObject) Descriptor() ([]byte, []int)
func (m *TemplateInstanceObject) Marshal() (dAtA []byte, err error)
func (m *TemplateInstanceObject) MarshalTo(dAtA []byte) (int, error)
func (m *TemplateInstanceObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TemplateInstanceObject) ProtoMessage()
func (m *TemplateInstanceObject) Reset()
func (m *TemplateInstanceObject) Size() (n int)
func (this *TemplateInstanceObject) String() string
func (TemplateInstanceObject) SwaggerDoc() map[string]string
func (m *TemplateInstanceObject) Unmarshal(dAtA []byte) error
func (m *TemplateInstanceObject) XXX_DiscardUnknown()
func (m *TemplateInstanceObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *TemplateInstanceObject) XXX_Merge(src proto.Message)
func (m *TemplateInstanceObject) XXX_Size() int
func (m *TemplateInstanceObject) XXX_Unmarshal(b []byte) error
TemplateInstanceRequester holds the identity of an agent requesting a template instantiation.
type TemplateInstanceRequester struct { // username uniquely identifies this user among all active users. Username string `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"` // uid is a unique value that identifies this user across time; if this user is // deleted and another user by the same name is added, they will have // different UIDs. UID string `json:"uid,omitempty" protobuf:"bytes,2,opt,name=uid"` // groups represent the groups this user is a part of. Groups []string `json:"groups,omitempty" protobuf:"bytes,3,rep,name=groups"` // extra holds additional information provided by the authenticator. Extra map[string]ExtraValue `json:"extra,omitempty" protobuf:"bytes,4,rep,name=extra"` }
func (in *TemplateInstanceRequester) DeepCopy() *TemplateInstanceRequester
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateInstanceRequester.
func (in *TemplateInstanceRequester) DeepCopyInto(out *TemplateInstanceRequester)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateInstanceRequester) Descriptor() ([]byte, []int)
func (m *TemplateInstanceRequester) Marshal() (dAtA []byte, err error)
func (m *TemplateInstanceRequester) MarshalTo(dAtA []byte) (int, error)
func (m *TemplateInstanceRequester) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TemplateInstanceRequester) ProtoMessage()
func (m *TemplateInstanceRequester) Reset()
func (m *TemplateInstanceRequester) Size() (n int)
func (this *TemplateInstanceRequester) String() string
func (TemplateInstanceRequester) SwaggerDoc() map[string]string
func (m *TemplateInstanceRequester) Unmarshal(dAtA []byte) error
func (m *TemplateInstanceRequester) XXX_DiscardUnknown()
func (m *TemplateInstanceRequester) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *TemplateInstanceRequester) XXX_Merge(src proto.Message)
func (m *TemplateInstanceRequester) XXX_Size() int
func (m *TemplateInstanceRequester) XXX_Unmarshal(b []byte) error
TemplateInstanceSpec describes the desired state of a TemplateInstance.
type TemplateInstanceSpec struct { // template is a full copy of the template for instantiation. Template Template `json:"template" protobuf:"bytes,1,opt,name=template"` // secret is a reference to a Secret object containing the necessary // template parameters. Secret *corev1.LocalObjectReference `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"` // requester holds the identity of the agent requesting the template // instantiation. // +optional Requester *TemplateInstanceRequester `json:"requester" protobuf:"bytes,3,opt,name=requester"` }
func (in *TemplateInstanceSpec) DeepCopy() *TemplateInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateInstanceSpec.
func (in *TemplateInstanceSpec) DeepCopyInto(out *TemplateInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateInstanceSpec) Descriptor() ([]byte, []int)
func (m *TemplateInstanceSpec) Marshal() (dAtA []byte, err error)
func (m *TemplateInstanceSpec) MarshalTo(dAtA []byte) (int, error)
func (m *TemplateInstanceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TemplateInstanceSpec) ProtoMessage()
func (m *TemplateInstanceSpec) Reset()
func (m *TemplateInstanceSpec) Size() (n int)
func (this *TemplateInstanceSpec) String() string
func (TemplateInstanceSpec) SwaggerDoc() map[string]string
func (m *TemplateInstanceSpec) Unmarshal(dAtA []byte) error
func (m *TemplateInstanceSpec) XXX_DiscardUnknown()
func (m *TemplateInstanceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *TemplateInstanceSpec) XXX_Merge(src proto.Message)
func (m *TemplateInstanceSpec) XXX_Size() int
func (m *TemplateInstanceSpec) XXX_Unmarshal(b []byte) error
TemplateInstanceStatus describes the current state of a TemplateInstance.
type TemplateInstanceStatus struct { // conditions represent the latest available observations of a // TemplateInstance's current state. Conditions []TemplateInstanceCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"` // Objects references the objects created by the TemplateInstance. Objects []TemplateInstanceObject `json:"objects,omitempty" protobuf:"bytes,2,rep,name=objects"` }
func (in *TemplateInstanceStatus) DeepCopy() *TemplateInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateInstanceStatus.
func (in *TemplateInstanceStatus) DeepCopyInto(out *TemplateInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateInstanceStatus) Descriptor() ([]byte, []int)
func (m *TemplateInstanceStatus) Marshal() (dAtA []byte, err error)
func (m *TemplateInstanceStatus) MarshalTo(dAtA []byte) (int, error)
func (m *TemplateInstanceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TemplateInstanceStatus) ProtoMessage()
func (m *TemplateInstanceStatus) Reset()
func (m *TemplateInstanceStatus) Size() (n int)
func (this *TemplateInstanceStatus) String() string
func (TemplateInstanceStatus) SwaggerDoc() map[string]string
func (m *TemplateInstanceStatus) Unmarshal(dAtA []byte) error
func (m *TemplateInstanceStatus) XXX_DiscardUnknown()
func (m *TemplateInstanceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *TemplateInstanceStatus) XXX_Merge(src proto.Message)
func (m *TemplateInstanceStatus) XXX_Size() int
func (m *TemplateInstanceStatus) XXX_Unmarshal(b []byte) error
TemplateList is a list of Template objects.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type TemplateList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of templates Items []Template `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *TemplateList) DeepCopy() *TemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateList.
func (in *TemplateList) DeepCopyInto(out *TemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TemplateList) Descriptor() ([]byte, []int)
func (m *TemplateList) Marshal() (dAtA []byte, err error)
func (m *TemplateList) MarshalTo(dAtA []byte) (int, error)
func (m *TemplateList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TemplateList) ProtoMessage()
func (m *TemplateList) Reset()
func (m *TemplateList) Size() (n int)
func (this *TemplateList) String() string
func (TemplateList) SwaggerDoc() map[string]string
func (m *TemplateList) Unmarshal(dAtA []byte) error
func (m *TemplateList) XXX_DiscardUnknown()
func (m *TemplateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *TemplateList) XXX_Merge(src proto.Message)
func (m *TemplateList) XXX_Size() int
func (m *TemplateList) XXX_Unmarshal(b []byte) error