v1

package
v0.0.0-...-a173ea1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostprotFilterApplyConfiguration

type HostprotFilterApplyConfiguration struct {
	Key      *string  `json:"key,omitempty"`
	Operator *string  `json:"operator,omitempty"`
	Values   []string `json:"values,omitempty"`
}

HostprotFilterApplyConfiguration represents an declarative configuration of the HostprotFilter type for use with apply.

func HostprotFilter

func HostprotFilter() *HostprotFilterApplyConfiguration

HostprotFilterApplyConfiguration constructs an declarative configuration of the HostprotFilter type for use with apply.

func (*HostprotFilterApplyConfiguration) WithKey

WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.

func (*HostprotFilterApplyConfiguration) WithOperator

WithOperator sets the Operator field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Operator field is set to the value of the last call.

func (*HostprotFilterApplyConfiguration) WithValues

WithValues adds the given value to the Values field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Values field.

type HostprotFilterContainerApplyConfiguration

type HostprotFilterContainerApplyConfiguration struct {
	HostprotFilter []HostprotFilterApplyConfiguration `json:"hostprotFilter,omitempty"`
}

HostprotFilterContainerApplyConfiguration represents an declarative configuration of the HostprotFilterContainer type for use with apply.

func HostprotFilterContainer

func HostprotFilterContainer() *HostprotFilterContainerApplyConfiguration

HostprotFilterContainerApplyConfiguration constructs an declarative configuration of the HostprotFilterContainer type for use with apply.

func (*HostprotFilterContainerApplyConfiguration) WithHostprotFilter

WithHostprotFilter adds the given value to the HostprotFilter field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HostprotFilter field.

type HostprotPolApplyConfiguration

type HostprotPolApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *HostprotPolSpecApplyConfiguration `json:"spec,omitempty"`
}

HostprotPolApplyConfiguration represents an declarative configuration of the HostprotPol type for use with apply.

func HostprotPol

func HostprotPol(name, namespace string) *HostprotPolApplyConfiguration

HostprotPol constructs an declarative configuration of the HostprotPol type for use with apply.

func (*HostprotPolApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*HostprotPolApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *HostprotPolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *HostprotPolApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*HostprotPolApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*HostprotPolApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*HostprotPolApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*HostprotPolApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type HostprotPolSpecApplyConfiguration

type HostprotPolSpecApplyConfiguration struct {
	Name            *string                          `json:"name,omitempty"`
	HostprotSubj    []HostprotSubjApplyConfiguration `json:"hostprotSubj,omitempty"`
	NetworkPolicies []string                         `json:"networkPolicies,omitempty"`
}

HostprotPolSpecApplyConfiguration represents an declarative configuration of the HostprotPolSpec type for use with apply.

func HostprotPolSpec

func HostprotPolSpec() *HostprotPolSpecApplyConfiguration

HostprotPolSpecApplyConfiguration constructs an declarative configuration of the HostprotPolSpec type for use with apply.

func (*HostprotPolSpecApplyConfiguration) WithHostprotSubj

WithHostprotSubj adds the given value to the HostprotSubj field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HostprotSubj field.

func (*HostprotPolSpecApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*HostprotPolSpecApplyConfiguration) WithNetworkPolicies

WithNetworkPolicies adds the given value to the NetworkPolicies field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NetworkPolicies field.

type HostprotRemoteIpApplyConfiguration

type HostprotRemoteIpApplyConfiguration struct {
	Addr       *string                        `json:"addr,omitempty"`
	HppEpLabel []HppEpLabelApplyConfiguration `json:"hppEpLabel,omitempty"`
}

HostprotRemoteIpApplyConfiguration represents an declarative configuration of the HostprotRemoteIp type for use with apply.

func HostprotRemoteIp

func HostprotRemoteIp() *HostprotRemoteIpApplyConfiguration

HostprotRemoteIpApplyConfiguration constructs an declarative configuration of the HostprotRemoteIp type for use with apply.

func (*HostprotRemoteIpApplyConfiguration) WithAddr

WithAddr sets the Addr field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Addr field is set to the value of the last call.

func (*HostprotRemoteIpApplyConfiguration) WithHppEpLabel

WithHppEpLabel adds the given value to the HppEpLabel field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HppEpLabel field.

type HostprotRemoteIpContainerApplyConfiguration

type HostprotRemoteIpContainerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *HostprotRemoteIpContainerSpecApplyConfiguration `json:"spec,omitempty"`
}

HostprotRemoteIpContainerApplyConfiguration represents an declarative configuration of the HostprotRemoteIpContainer type for use with apply.

func HostprotRemoteIpContainer

func HostprotRemoteIpContainer(name, namespace string) *HostprotRemoteIpContainerApplyConfiguration

HostprotRemoteIpContainer constructs an declarative configuration of the HostprotRemoteIpContainer type for use with apply.

func (*HostprotRemoteIpContainerApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*HostprotRemoteIpContainerApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*HostprotRemoteIpContainerApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*HostprotRemoteIpContainerApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*HostprotRemoteIpContainerApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*HostprotRemoteIpContainerApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type HostprotRemoteIpContainerSpecApplyConfiguration

type HostprotRemoteIpContainerSpecApplyConfiguration struct {
	Name             *string                              `json:"name,omitempty"`
	HostprotRemoteIp []HostprotRemoteIpApplyConfiguration `json:"hostprotRemoteIp,omitempty"`
}

HostprotRemoteIpContainerSpecApplyConfiguration represents an declarative configuration of the HostprotRemoteIpContainerSpec type for use with apply.

func HostprotRemoteIpContainerSpec

func HostprotRemoteIpContainerSpec() *HostprotRemoteIpContainerSpecApplyConfiguration

HostprotRemoteIpContainerSpecApplyConfiguration constructs an declarative configuration of the HostprotRemoteIpContainerSpec type for use with apply.

func (*HostprotRemoteIpContainerSpecApplyConfiguration) WithHostprotRemoteIp

WithHostprotRemoteIp adds the given value to the HostprotRemoteIp field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HostprotRemoteIp field.

func (*HostprotRemoteIpContainerSpecApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type HostprotRuleApplyConfiguration

type HostprotRuleApplyConfiguration struct {
	Name                     *string                                    `json:"name,omitempty"`
	Direction                *string                                    `json:"direction,omitempty"`
	Ethertype                *string                                    `json:"ethertype,omitempty"`
	ConnTrack                *string                                    `json:"connTrack,omitempty"`
	Protocol                 *string                                    `json:"protocol,omitempty"`
	ToPort                   *string                                    `json:"toPort,omitempty"`
	FromPort                 *string                                    `json:"fromPort,omitempty"`
	RsRemoteIpContainer      []string                                   `json:"rsRemoteIpContainer,omitempty"`
	HostprotFilterContainer  *HostprotFilterContainerApplyConfiguration `json:"hostprotFilterContainer,omitempty"`
	HostprotServiceRemoteIps []string                                   `json:"hostprotServiceRemoteIps,omitempty"`
}

HostprotRuleApplyConfiguration represents an declarative configuration of the HostprotRule type for use with apply.

func HostprotRule

func HostprotRule() *HostprotRuleApplyConfiguration

HostprotRuleApplyConfiguration constructs an declarative configuration of the HostprotRule type for use with apply.

func (*HostprotRuleApplyConfiguration) WithConnTrack

WithConnTrack sets the ConnTrack field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConnTrack field is set to the value of the last call.

func (*HostprotRuleApplyConfiguration) WithDirection

WithDirection sets the Direction field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Direction field is set to the value of the last call.

func (*HostprotRuleApplyConfiguration) WithEthertype

WithEthertype sets the Ethertype field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ethertype field is set to the value of the last call.

func (*HostprotRuleApplyConfiguration) WithFromPort

WithFromPort sets the FromPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FromPort field is set to the value of the last call.

func (*HostprotRuleApplyConfiguration) WithHostprotFilterContainer

WithHostprotFilterContainer sets the HostprotFilterContainer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostprotFilterContainer field is set to the value of the last call.

func (*HostprotRuleApplyConfiguration) WithHostprotServiceRemoteIps

func (b *HostprotRuleApplyConfiguration) WithHostprotServiceRemoteIps(values ...string) *HostprotRuleApplyConfiguration

WithHostprotServiceRemoteIps adds the given value to the HostprotServiceRemoteIps field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HostprotServiceRemoteIps field.

func (*HostprotRuleApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*HostprotRuleApplyConfiguration) WithProtocol

WithProtocol sets the Protocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protocol field is set to the value of the last call.

func (*HostprotRuleApplyConfiguration) WithRsRemoteIpContainer

func (b *HostprotRuleApplyConfiguration) WithRsRemoteIpContainer(values ...string) *HostprotRuleApplyConfiguration

WithRsRemoteIpContainer adds the given value to the RsRemoteIpContainer field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RsRemoteIpContainer field.

func (*HostprotRuleApplyConfiguration) WithToPort

WithToPort sets the ToPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ToPort field is set to the value of the last call.

type HostprotSubjApplyConfiguration

type HostprotSubjApplyConfiguration struct {
	Name         *string                          `json:"name,omitempty"`
	HostprotRule []HostprotRuleApplyConfiguration `json:"hostprotRule,omitempty"`
}

HostprotSubjApplyConfiguration represents an declarative configuration of the HostprotSubj type for use with apply.

func HostprotSubj

func HostprotSubj() *HostprotSubjApplyConfiguration

HostprotSubjApplyConfiguration constructs an declarative configuration of the HostprotSubj type for use with apply.

func (*HostprotSubjApplyConfiguration) WithHostprotRule

WithHostprotRule adds the given value to the HostprotRule field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HostprotRule field.

func (*HostprotSubjApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type HppEpLabelApplyConfiguration

type HppEpLabelApplyConfiguration struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

HppEpLabelApplyConfiguration represents an declarative configuration of the HppEpLabel type for use with apply.

func HppEpLabel

func HppEpLabel() *HppEpLabelApplyConfiguration

HppEpLabelApplyConfiguration constructs an declarative configuration of the HppEpLabel type for use with apply.

func (*HppEpLabelApplyConfiguration) WithKey

WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.

func (*HppEpLabelApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

Jump to

Keyboard shortcuts

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