Documentation
¶
Overview ¶
Package v1alpha1 contains custom resource definitions for use with the Gateway API.
Package v1alpha1 contains API Schema definitions for the gateway v1alpha1 API group +kubebuilder:object:generate=true +groupName=gateway.pomerium.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "gateway.pomerium.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type PolicyFilter ¶
type PolicyFilter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the content of the policy. Spec PolicyFilterSpec `json:"spec,omitempty"` // Status contains the status of the policy (e.g. is the policy valid). Status PolicyFilterStatus `json:"status,omitempty"` }
PolicyFilter represents a Pomerium policy that can be attached to a particular route defined via the Kubernetes Gateway API.
+kubebuilder:object:root=true +kubebuilder:subresource:status
func (*PolicyFilter) DeepCopy ¶
func (in *PolicyFilter) DeepCopy() *PolicyFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyFilter.
func (*PolicyFilter) DeepCopyInto ¶
func (in *PolicyFilter) DeepCopyInto(out *PolicyFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyFilter) DeepCopyObject ¶
func (in *PolicyFilter) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyFilterList ¶
type PolicyFilterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PolicyFilter `json:"items"` }
PolicyFilterList is a list of PolicyFilters.
func (*PolicyFilterList) DeepCopy ¶
func (in *PolicyFilterList) DeepCopy() *PolicyFilterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyFilterList.
func (*PolicyFilterList) DeepCopyInto ¶
func (in *PolicyFilterList) DeepCopyInto(out *PolicyFilterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyFilterList) DeepCopyObject ¶
func (in *PolicyFilterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyFilterSpec ¶
type PolicyFilterSpec struct { // Policy rules in Pomerium Policy Language (PPL) syntax. May be expressed // in either YAML or JSON format. PPL string `json:"ppl,omitempty"` }
PolicyFilterSpec defines policy rules.
func (*PolicyFilterSpec) DeepCopy ¶
func (in *PolicyFilterSpec) DeepCopy() *PolicyFilterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyFilterSpec.
func (*PolicyFilterSpec) DeepCopyInto ¶
func (in *PolicyFilterSpec) DeepCopyInto(out *PolicyFilterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyFilterStatus ¶
type PolicyFilterStatus struct { // Conditions describe the current state of the PolicyFilter. // // +optional // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty"` }
PolicyFilterStatus represents the state of a PolicyFilter.
func (*PolicyFilterStatus) DeepCopy ¶
func (in *PolicyFilterStatus) DeepCopy() *PolicyFilterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyFilterStatus.
func (*PolicyFilterStatus) DeepCopyInto ¶
func (in *PolicyFilterStatus) DeepCopyInto(out *PolicyFilterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.