Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicValue ¶
type DynamicValue struct {
apiextensionsV1.JSON `json:",inline"`
}
DynamicValue is a dynamic value struct for the component.metadata pair value. +kubebuilder:validation:Type="" +kubebuilder:validation:Schemaless
func (*DynamicValue) DeepCopy ¶
func (in *DynamicValue) DeepCopy() *DynamicValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicValue.
func (*DynamicValue) DeepCopyInto ¶
func (in *DynamicValue) DeepCopyInto(out *DynamicValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DynamicValue) String ¶
func (d *DynamicValue) String() string
String returns the string representation of the raw value. If the value is a string, it will be unquoted as the string is guaranteed to be a JSON serialized string.
type NameValuePair ¶
type NameValuePair struct { // Name of the property. Name string `json:"name"` // Value of the property, in plaintext. //+optional Value DynamicValue `json:"value,omitempty"` // SecretKeyRef is the reference of a value in a secret store component. //+optional SecretKeyRef SecretKeyRef `json:"secretKeyRef,omitempty"` // EnvRef is the name of an environmental variable to read the value from. //+optional EnvRef string `json:"envRef,omitempty"` }
NameValuePair is a name/value pair.
func (*NameValuePair) DeepCopy ¶
func (in *NameValuePair) DeepCopy() *NameValuePair
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameValuePair.
func (*NameValuePair) DeepCopyInto ¶
func (in *NameValuePair) DeepCopyInto(out *NameValuePair)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (NameValuePair) HasValue ¶
func (nvp NameValuePair) HasValue() bool
HasValue returns true if the NameValuePair has a non-empty value.
func (*NameValuePair) SetValue ¶
func (nvp *NameValuePair) SetValue(val []byte)
SetValue sets the value.
type Renegotiation ¶
type Renegotiation string
Renegotiation sets the underlying tls negotiation strategy for an http channel.
const ( NegotiateNever Renegotiation = "Never" NegotiateOnceAsClient Renegotiation = "OnceAsClient" NegotiateFreelyAsClient Renegotiation = "FreelyAsClient" )
type Scoped ¶
type Scoped struct { //+optional Scopes []string `json:"scopes,omitempty"` }
Scoped is a base struct for components and other resources that can be scoped to apps.
func (*Scoped) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scoped.
func (*Scoped) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Scoped) IsAppScoped ¶
IsAppScoped returns true if the appID is allowed in the scopes for the resource.
type SecretKeyRef ¶
type SecretKeyRef struct { // Secret name. Name string `json:"name"` // Field in the secret. //+optional Key string `json:"key"` }
SecretKeyRef is a reference to a secret holding the value for the name/value item.
func (*SecretKeyRef) DeepCopy ¶
func (in *SecretKeyRef) DeepCopy() *SecretKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeyRef.
func (*SecretKeyRef) DeepCopyInto ¶
func (in *SecretKeyRef) DeepCopyInto(out *SecretKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLS ¶
type TLS struct { //+optional RootCA *TLSDocument `json:"rootCA"` //+optional Certificate *TLSDocument `json:"certificate"` //+optional PrivateKey *TLSDocument `json:"privateKey"` //+optional //+kubebuilder:validation:Enum={"Never", "OnceAsClient", "FreelyAsClient"} //+kubebuilder:default=Never Renegotiation *Renegotiation `json:"renegotiation"` }
TLS describes how to build client or server TLS configurations.
func (*TLS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.
func (*TLS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSDocument ¶
type TLSDocument struct { // Value of the property, in plaintext. //+optional Value *DynamicValue `json:"value,omitempty"` // SecretKeyRef is the reference of a value in a secret store component. //+optional SecretKeyRef *SecretKeyRef `json:"secretKeyRef,omitempty"` }
TLSDocument describes and in-line or pointer to a document to build a TLS configuration.
func (*TLSDocument) DeepCopy ¶
func (in *TLSDocument) DeepCopy() *TLSDocument
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSDocument.
func (*TLSDocument) DeepCopyInto ¶
func (in *TLSDocument) DeepCopyInto(out *TLSDocument)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.