v1

package
v0.0.0-...-3396496 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the egress v1 API group +kubebuilder:object:generate=true +groupName=egress.azure-firewall-egress-controller.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "egress.azure-firewall-egress-controller.io", Version: "v1"}

	// 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 AzureFirewallEgressRulesSpec

type AzureFirewallEgressRulesSpec struct {
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// +kubebuilder:validation:Required
	NodeSelector []map[string]string `json:"nodeSelector"`
	// +kubebuilder:validation:Required
	Rules []AzureFirewallEgressrulesRulesSpec `json:"rules"`
}

func (*AzureFirewallEgressRulesSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFirewallEgressRulesSpec.

func (*AzureFirewallEgressRulesSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureFirewallEgressrulesRulesSpec

type AzureFirewallEgressrulesRulesSpec struct {
	// +kubebuilder:validation:Required
	RuleCollectionName string `json:"ruleCollectionName"`
	// +kubebuilder:validation:Required
	Priority int32 `json:"priority"`
	// +kubebuilder:validation:Required
	RuleName             string   `json:"ruleName"`
	DestinationAddresses []string `json:"destinationAddresses,omitempty"`
	DestinationPorts     []string `json:"destinationPorts,omitempty"`
	DestinationFqdns     []string `json:"destinationFqdns,omitempty"`
	TargetFqdns          []string `json:"targetFqdns,omitempty"`
	TargetUrls           []string `json:"targetUrls,omitempty"`
	// +kubebuilder:validation:Required
	Protocol []string `json:"protocol"`
	// +kubebuilder:validation:Required
	Action n.FirewallPolicyFilterRuleCollectionActionType `json:"action"`
	// +kubebuilder:validation:Required
	RuleType string `json:"ruleType"`
}

func (*AzureFirewallEgressrulesRulesSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFirewallEgressrulesRulesSpec.

func (*AzureFirewallEgressrulesRulesSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureFirewallRules

type AzureFirewallRules struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AzureFirewallRulesSpec   `json:"spec,omitempty"`
	Status AzureFirewallRulesStatus `json:"status,omitempty"`
}

AzureFirewallRules is the Schema for the azureFirewallRules API

func (*AzureFirewallRules) DeepCopy

func (in *AzureFirewallRules) DeepCopy() *AzureFirewallRules

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFirewallRules.

func (*AzureFirewallRules) DeepCopyInto

func (in *AzureFirewallRules) DeepCopyInto(out *AzureFirewallRules)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureFirewallRules) DeepCopyObject

func (in *AzureFirewallRules) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AzureFirewallRules) SetupWebhookWithManager

func (r *AzureFirewallRules) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AzureFirewallRules) ValidateCreate

func (r *AzureFirewallRules) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AzureFirewallRules) ValidateDelete

func (r *AzureFirewallRules) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AzureFirewallRules) ValidateUpdate

func (r *AzureFirewallRules) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AzureFirewallRulesList

type AzureFirewallRulesList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AzureFirewallRules `json:"items"`
}

AzureFirewallRulesList contains a list of azureFirewallRules

func (*AzureFirewallRulesList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFirewallRulesList.

func (*AzureFirewallRulesList) DeepCopyInto

func (in *AzureFirewallRulesList) DeepCopyInto(out *AzureFirewallRulesList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureFirewallRulesList) DeepCopyObject

func (in *AzureFirewallRulesList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AzureFirewallRulesSpec

type AzureFirewallRulesSpec struct {
	EgressRules []AzureFirewallEgressRulesSpec `json:"egressRules,omitempty"`
}

AzureFirewallRulesSpec defines the desired state of azureFirewallRules

func (*AzureFirewallRulesSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFirewallRulesSpec.

func (*AzureFirewallRulesSpec) DeepCopyInto

func (in *AzureFirewallRulesSpec) DeepCopyInto(out *AzureFirewallRulesSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureFirewallRulesStatus

type AzureFirewallRulesStatus struct {
}

AzureFirewallRulesStatus defines the observed state of azureFirewallRules

func (*AzureFirewallRulesStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFirewallRulesStatus.

func (*AzureFirewallRulesStatus) DeepCopyInto

func (in *AzureFirewallRulesStatus) DeepCopyInto(out *AzureFirewallRulesStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Pair

type Pair struct {
	Action             n.FirewallPolicyFilterRuleCollectionActionType
	Priority           int32
	RuleCollectionType string
}

func (*Pair) DeepCopy

func (in *Pair) DeepCopy() *Pair

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pair.

func (*Pair) DeepCopyInto

func (in *Pair) DeepCopyInto(out *Pair)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL