Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxt_lb_http_forwarding_rule.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BodyConditionObservation
- type BodyConditionParameters
- type CookieConditionObservation
- type CookieConditionParameters
- type HTTPRedirectActionObservation
- type HTTPRedirectActionParameters
- type HTTPRejectActionObservation
- type HTTPRejectActionParameters
- type HeaderConditionObservation
- type HeaderConditionParameters
- type IPConditionObservation
- type IPConditionParameters
- type LbHttpForwardingRule
- func (mg *LbHttpForwardingRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *LbHttpForwardingRule) GetConnectionDetailsMapping() map[string]string
- func (mg *LbHttpForwardingRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *LbHttpForwardingRule) GetID() string
- func (mg *LbHttpForwardingRule) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *LbHttpForwardingRule) GetObservation() (map[string]any, error)
- func (tr *LbHttpForwardingRule) GetParameters() (map[string]any, error)
- func (mg *LbHttpForwardingRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *LbHttpForwardingRule) GetProviderReference() *xpv1.Reference
- func (mg *LbHttpForwardingRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *LbHttpForwardingRule) GetTerraformResourceType() string
- func (tr *LbHttpForwardingRule) GetTerraformSchemaVersion() int
- func (mg *LbHttpForwardingRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *LbHttpForwardingRule) LateInitialize(attrs []byte) (bool, error)
- func (mg *LbHttpForwardingRule) SetConditions(c ...xpv1.Condition)
- func (mg *LbHttpForwardingRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *LbHttpForwardingRule) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *LbHttpForwardingRule) SetObservation(obs map[string]any) error
- func (tr *LbHttpForwardingRule) SetParameters(params map[string]any) error
- func (mg *LbHttpForwardingRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *LbHttpForwardingRule) SetProviderReference(r *xpv1.Reference)
- func (mg *LbHttpForwardingRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *LbHttpForwardingRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LbHttpForwardingRuleList
- type LbHttpForwardingRuleObservation
- type LbHttpForwardingRuleParameters
- type LbHttpForwardingRuleSpec
- type LbHttpForwardingRuleStatus
- type MethodConditionObservation
- type MethodConditionParameters
- type SelectPoolActionObservation
- type SelectPoolActionParameters
- type TCPConditionObservation
- type TCPConditionParameters
- type TagObservation
- type TagParameters
- type URIConditionObservation
- type URIConditionParameters
- type VersionConditionObservation
- type VersionConditionParameters
Constants ¶
const ( CRDGroup = "nsxt_lb_http_forwarding_rule.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( LbHttpForwardingRule_Kind = "LbHttpForwardingRule" LbHttpForwardingRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LbHttpForwardingRule_Kind}.String() LbHttpForwardingRule_KindAPIVersion = LbHttpForwardingRule_Kind + "." + CRDGroupVersion.String() LbHttpForwardingRule_GroupVersionKind = CRDGroupVersion.WithKind(LbHttpForwardingRule_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type BodyConditionObservation ¶
type BodyConditionObservation struct { // If true, case is significant in condition matching CaseSensitive *bool `json:"caseSensitive,omitempty" tf:"case_sensitive,omitempty"` // Whether to reverse match result of this condition Inverse *bool `json:"inverse,omitempty" tf:"inverse,omitempty"` // Match type (STARTS_WITH, ENDS_WITH, EQUALS, CONTAINS, REGEX) MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"` Value *string `json:"value,omitempty" tf:"value,omitempty"` }
type BodyConditionParameters ¶
type BodyConditionParameters struct { // If true, case is significant in condition matching // +kubebuilder:validation:Optional CaseSensitive *bool `json:"caseSensitive,omitempty" tf:"case_sensitive,omitempty"` // Whether to reverse match result of this condition // +kubebuilder:validation:Optional Inverse *bool `json:"inverse,omitempty" tf:"inverse,omitempty"` // Match type (STARTS_WITH, ENDS_WITH, EQUALS, CONTAINS, REGEX) // +kubebuilder:validation:Required MatchType *string `json:"matchType" tf:"match_type,omitempty"` // +kubebuilder:validation:Required Value *string `json:"value" tf:"value,omitempty"` }
type CookieConditionObservation ¶
type CookieConditionObservation struct { // If true, case is significant in condition matching CaseSensitive *bool `json:"caseSensitive,omitempty" tf:"case_sensitive,omitempty"` // Whether to reverse match result of this condition Inverse *bool `json:"inverse,omitempty" tf:"inverse,omitempty"` // Match type (STARTS_WITH, ENDS_WITH, EQUALS, CONTAINS, REGEX) MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"` Name *string `json:"name,omitempty" tf:"name,omitempty"` Value *string `json:"value,omitempty" tf:"value,omitempty"` }
type CookieConditionParameters ¶
type CookieConditionParameters struct { // If true, case is significant in condition matching // +kubebuilder:validation:Optional CaseSensitive *bool `json:"caseSensitive,omitempty" tf:"case_sensitive,omitempty"` // Whether to reverse match result of this condition // +kubebuilder:validation:Optional Inverse *bool `json:"inverse,omitempty" tf:"inverse,omitempty"` // Match type (STARTS_WITH, ENDS_WITH, EQUALS, CONTAINS, REGEX) // +kubebuilder:validation:Required MatchType *string `json:"matchType" tf:"match_type,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // +kubebuilder:validation:Required Value *string `json:"value" tf:"value,omitempty"` }
type HeaderConditionObservation ¶
type HeaderConditionObservation struct { // If true, case is significant in condition matching CaseSensitive *bool `json:"caseSensitive,omitempty" tf:"case_sensitive,omitempty"` // Whether to reverse match result of this condition Inverse *bool `json:"inverse,omitempty" tf:"inverse,omitempty"` // Match type (STARTS_WITH, ENDS_WITH, EQUALS, CONTAINS, REGEX) MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"` Name *string `json:"name,omitempty" tf:"name,omitempty"` Value *string `json:"value,omitempty" tf:"value,omitempty"` }
type HeaderConditionParameters ¶
type HeaderConditionParameters struct { // If true, case is significant in condition matching // +kubebuilder:validation:Optional CaseSensitive *bool `json:"caseSensitive,omitempty" tf:"case_sensitive,omitempty"` // Whether to reverse match result of this condition // +kubebuilder:validation:Optional Inverse *bool `json:"inverse,omitempty" tf:"inverse,omitempty"` // Match type (STARTS_WITH, ENDS_WITH, EQUALS, CONTAINS, REGEX) // +kubebuilder:validation:Required MatchType *string `json:"matchType" tf:"match_type,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // +kubebuilder:validation:Required Value *string `json:"value" tf:"value,omitempty"` }
type IPConditionObservation ¶
type IPConditionParameters ¶
type IPConditionParameters struct { // Whether to reverse match result of this condition // +kubebuilder:validation:Optional Inverse *bool `json:"inverse,omitempty" tf:"inverse,omitempty"` // +kubebuilder:validation:Required SourceAddress *string `json:"sourceAddress" tf:"source_address,omitempty"` }
type LbHttpForwardingRule ¶
type LbHttpForwardingRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LbHttpForwardingRuleSpec `json:"spec"` Status LbHttpForwardingRuleStatus `json:"status,omitempty"` }
LbHttpForwardingRule is the Schema for the LbHttpForwardingRules API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,nsxt}
func (*LbHttpForwardingRule) GetCondition ¶
func (mg *LbHttpForwardingRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) GetConnectionDetailsMapping ¶
func (tr *LbHttpForwardingRule) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this LbHttpForwardingRule
func (*LbHttpForwardingRule) GetDeletionPolicy ¶
func (mg *LbHttpForwardingRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) GetID ¶
func (tr *LbHttpForwardingRule) GetID() string
GetID returns ID of underlying Terraform resource of this LbHttpForwardingRule
func (*LbHttpForwardingRule) GetManagementPolicy ¶
func (mg *LbHttpForwardingRule) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) GetObservation ¶
func (tr *LbHttpForwardingRule) GetObservation() (map[string]any, error)
GetObservation of this LbHttpForwardingRule
func (*LbHttpForwardingRule) GetParameters ¶
func (tr *LbHttpForwardingRule) GetParameters() (map[string]any, error)
GetParameters of this LbHttpForwardingRule
func (*LbHttpForwardingRule) GetProviderConfigReference ¶
func (mg *LbHttpForwardingRule) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) GetProviderReference ¶
func (mg *LbHttpForwardingRule) GetProviderReference() *xpv1.Reference
GetProviderReference of this LbHttpForwardingRule. Deprecated: Use GetProviderConfigReference.
func (*LbHttpForwardingRule) GetPublishConnectionDetailsTo ¶
func (mg *LbHttpForwardingRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) GetTerraformResourceType ¶
func (mg *LbHttpForwardingRule) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this LbHttpForwardingRule
func (*LbHttpForwardingRule) GetTerraformSchemaVersion ¶
func (tr *LbHttpForwardingRule) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*LbHttpForwardingRule) GetWriteConnectionSecretToReference ¶
func (mg *LbHttpForwardingRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) LateInitialize ¶
func (tr *LbHttpForwardingRule) LateInitialize(attrs []byte) (bool, error)
LateInitialize this LbHttpForwardingRule using its observed tfState. returns True if there are any spec changes for the resource.
func (*LbHttpForwardingRule) SetConditions ¶
func (mg *LbHttpForwardingRule) SetConditions(c ...xpv1.Condition)
SetConditions of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) SetDeletionPolicy ¶
func (mg *LbHttpForwardingRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) SetManagementPolicy ¶
func (mg *LbHttpForwardingRule) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) SetObservation ¶
func (tr *LbHttpForwardingRule) SetObservation(obs map[string]any) error
SetObservation for this LbHttpForwardingRule
func (*LbHttpForwardingRule) SetParameters ¶
func (tr *LbHttpForwardingRule) SetParameters(params map[string]any) error
SetParameters for this LbHttpForwardingRule
func (*LbHttpForwardingRule) SetProviderConfigReference ¶
func (mg *LbHttpForwardingRule) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) SetProviderReference ¶
func (mg *LbHttpForwardingRule) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this LbHttpForwardingRule. Deprecated: Use SetProviderConfigReference.
func (*LbHttpForwardingRule) SetPublishConnectionDetailsTo ¶
func (mg *LbHttpForwardingRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this LbHttpForwardingRule.
func (*LbHttpForwardingRule) SetWriteConnectionSecretToReference ¶
func (mg *LbHttpForwardingRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this LbHttpForwardingRule.
type LbHttpForwardingRuleList ¶
type LbHttpForwardingRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LbHttpForwardingRule `json:"items"` }
LbHttpForwardingRuleList contains a list of LbHttpForwardingRules
func (*LbHttpForwardingRuleList) GetItems ¶
func (l *LbHttpForwardingRuleList) GetItems() []resource.Managed
GetItems of this LbHttpForwardingRuleList.
type LbHttpForwardingRuleObservation ¶
type LbHttpForwardingRuleObservation struct { // Rule condition based on http request body BodyCondition []BodyConditionObservation `json:"bodyCondition,omitempty" tf:"body_condition,omitempty"` // Rule condition based on http header CookieCondition []CookieConditionObservation `json:"cookieCondition,omitempty" tf:"cookie_condition,omitempty"` // Description of this resource Description *string `json:"description,omitempty" tf:"description,omitempty"` // The display name of this resource. Defaults to ID if not set DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Redirect the request with a defined status and url HTTPRedirectAction []HTTPRedirectActionObservation `json:"httpRedirectAction,omitempty" tf:"http_redirect_action,omitempty"` // Reject the request with a defined status and message HTTPRejectAction []HTTPRejectActionObservation `json:"httpRejectAction,omitempty" tf:"http_reject_action,omitempty"` // Rule condition based on http header HeaderCondition []HeaderConditionObservation `json:"headerCondition,omitempty" tf:"header_condition,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Rule condition based on IP settings of the message IPCondition []IPConditionObservation `json:"ipCondition,omitempty" tf:"ip_condition,omitempty"` // Strategy when multiple match conditions are specified in one rule (ANY vs ALL) MatchStrategy *string `json:"matchStrategy,omitempty" tf:"match_strategy,omitempty"` // Rule condition based on http request method MethodCondition []MethodConditionObservation `json:"methodCondition,omitempty" tf:"method_condition,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"` // Forward the request to the a defined pool SelectPoolAction []SelectPoolActionObservation `json:"selectPoolAction,omitempty" tf:"select_pool_action,omitempty"` // Rule condition based on TCP settings of the message TCPCondition []TCPConditionObservation `json:"tcpCondition,omitempty" tf:"tcp_condition,omitempty"` // Set of opaque identifiers meaningful to the user Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"` // Rule condition based on http request URI URICondition []URIConditionObservation `json:"uriCondition,omitempty" tf:"uri_condition,omitempty"` // Rule condition based on http request version VersionCondition []VersionConditionObservation `json:"versionCondition,omitempty" tf:"version_condition,omitempty"` }
type LbHttpForwardingRuleParameters ¶
type LbHttpForwardingRuleParameters struct { // Rule condition based on http request body // +kubebuilder:validation:Optional BodyCondition []BodyConditionParameters `json:"bodyCondition,omitempty" tf:"body_condition,omitempty"` // Rule condition based on http header // +kubebuilder:validation:Optional CookieCondition []CookieConditionParameters `json:"cookieCondition,omitempty" tf:"cookie_condition,omitempty"` // Description of this resource // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The display name of this resource. Defaults to ID if not set // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Redirect the request with a defined status and url // +kubebuilder:validation:Optional HTTPRedirectAction []HTTPRedirectActionParameters `json:"httpRedirectAction,omitempty" tf:"http_redirect_action,omitempty"` // Reject the request with a defined status and message // +kubebuilder:validation:Optional HTTPRejectAction []HTTPRejectActionParameters `json:"httpRejectAction,omitempty" tf:"http_reject_action,omitempty"` // Rule condition based on http header // +kubebuilder:validation:Optional HeaderCondition []HeaderConditionParameters `json:"headerCondition,omitempty" tf:"header_condition,omitempty"` // Rule condition based on IP settings of the message // +kubebuilder:validation:Optional IPCondition []IPConditionParameters `json:"ipCondition,omitempty" tf:"ip_condition,omitempty"` // Strategy when multiple match conditions are specified in one rule (ANY vs ALL) // +kubebuilder:validation:Optional MatchStrategy *string `json:"matchStrategy,omitempty" tf:"match_strategy,omitempty"` // Rule condition based on http request method // +kubebuilder:validation:Optional MethodCondition []MethodConditionParameters `json:"methodCondition,omitempty" tf:"method_condition,omitempty"` // Forward the request to the a defined pool // +kubebuilder:validation:Optional SelectPoolAction []SelectPoolActionParameters `json:"selectPoolAction,omitempty" tf:"select_pool_action,omitempty"` // Rule condition based on TCP settings of the message // +kubebuilder:validation:Optional TCPCondition []TCPConditionParameters `json:"tcpCondition,omitempty" tf:"tcp_condition,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` // Rule condition based on http request URI // +kubebuilder:validation:Optional URICondition []URIConditionParameters `json:"uriCondition,omitempty" tf:"uri_condition,omitempty"` // Rule condition based on http request version // +kubebuilder:validation:Optional VersionCondition []VersionConditionParameters `json:"versionCondition,omitempty" tf:"version_condition,omitempty"` }
type LbHttpForwardingRuleSpec ¶
type LbHttpForwardingRuleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider LbHttpForwardingRuleParameters `json:"forProvider"` }
LbHttpForwardingRuleSpec defines the desired state of LbHttpForwardingRule
type LbHttpForwardingRuleStatus ¶
type LbHttpForwardingRuleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider LbHttpForwardingRuleObservation `json:"atProvider,omitempty"` }
LbHttpForwardingRuleStatus defines the observed state of LbHttpForwardingRule.
type SelectPoolActionObservation ¶
type SelectPoolActionObservation struct {
PoolID *string `json:"poolId,omitempty" tf:"pool_id,omitempty"`
}
type SelectPoolActionParameters ¶
type SelectPoolActionParameters struct { // +kubebuilder:validation:Required PoolID *string `json:"poolId" tf:"pool_id,omitempty"` }
type TCPConditionObservation ¶
type TCPConditionParameters ¶
type TagObservation ¶
type TagParameters ¶
type URIConditionObservation ¶
type URIConditionObservation struct { // If true, case is significant in condition matching CaseSensitive *bool `json:"caseSensitive,omitempty" tf:"case_sensitive,omitempty"` // Whether to reverse match result of this condition Inverse *bool `json:"inverse,omitempty" tf:"inverse,omitempty"` // Match type (STARTS_WITH, ENDS_WITH, EQUALS, CONTAINS, REGEX) MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"` URI *string `json:"uri,omitempty" tf:"uri,omitempty"` }
type URIConditionParameters ¶
type URIConditionParameters struct { // If true, case is significant in condition matching // +kubebuilder:validation:Optional CaseSensitive *bool `json:"caseSensitive,omitempty" tf:"case_sensitive,omitempty"` // Whether to reverse match result of this condition // +kubebuilder:validation:Optional Inverse *bool `json:"inverse,omitempty" tf:"inverse,omitempty"` // Match type (STARTS_WITH, ENDS_WITH, EQUALS, CONTAINS, REGEX) // +kubebuilder:validation:Required MatchType *string `json:"matchType" tf:"match_type,omitempty"` // +kubebuilder:validation:Required URI *string `json:"uri" tf:"uri,omitempty"` }