v1alpha1

package
v1.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateSpecApplyConfiguration

type CertificateSpecApplyConfiguration struct {
	ServiceCertValidityDuration *string                                   `json:"serviceCertValidityDuration,omitempty"`
	CertKeyBitSize              *int                                      `json:"certKeyBitSize,omitempty"`
	IngressGateway              *IngressGatewayCertSpecApplyConfiguration `json:"ingressGateway,omitempty"`
}

CertificateSpecApplyConfiguration represents an declarative configuration of the CertificateSpec type for use with apply.

func CertificateSpec

func CertificateSpec() *CertificateSpecApplyConfiguration

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

func (*CertificateSpecApplyConfiguration) WithCertKeyBitSize

WithCertKeyBitSize sets the CertKeyBitSize 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 CertKeyBitSize field is set to the value of the last call.

func (*CertificateSpecApplyConfiguration) WithIngressGateway

WithIngressGateway sets the IngressGateway 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 IngressGateway field is set to the value of the last call.

func (*CertificateSpecApplyConfiguration) WithServiceCertValidityDuration

func (b *CertificateSpecApplyConfiguration) WithServiceCertValidityDuration(value string) *CertificateSpecApplyConfiguration

WithServiceCertValidityDuration sets the ServiceCertValidityDuration 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 ServiceCertValidityDuration field is set to the value of the last call.

type ClusterPropertySpecApplyConfiguration

type ClusterPropertySpecApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

ClusterPropertySpecApplyConfiguration represents an declarative configuration of the ClusterPropertySpec type for use with apply.

func ClusterPropertySpec

func ClusterPropertySpec() *ClusterPropertySpecApplyConfiguration

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

func (*ClusterPropertySpecApplyConfiguration) 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 (*ClusterPropertySpecApplyConfiguration) 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.

type ClusterSetSpecApplyConfiguration

type ClusterSetSpecApplyConfiguration struct {
	Properties []ClusterPropertySpecApplyConfiguration `json:"properties,omitempty"`
}

ClusterSetSpecApplyConfiguration represents an declarative configuration of the ClusterSetSpec type for use with apply.

func ClusterSetSpec

func ClusterSetSpec() *ClusterSetSpecApplyConfiguration

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

func (*ClusterSetSpecApplyConfiguration) WithProperties

WithProperties adds the given value to the Properties 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 Properties field.

type ExternalAuthzSpecApplyConfiguration

type ExternalAuthzSpecApplyConfiguration struct {
	Enable           *bool   `json:"enable,omitempty"`
	Address          *string `json:"address,omitempty"`
	Port             *uint16 `json:"port,omitempty"`
	StatPrefix       *string `json:"statPrefix,omitempty"`
	Timeout          *string `json:"timeout,omitempty"`
	FailureModeAllow *bool   `json:"failureModeAllow,omitempty"`
}

ExternalAuthzSpecApplyConfiguration represents an declarative configuration of the ExternalAuthzSpec type for use with apply.

func ExternalAuthzSpec

func ExternalAuthzSpec() *ExternalAuthzSpecApplyConfiguration

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

func (*ExternalAuthzSpecApplyConfiguration) WithAddress

WithAddress sets the Address 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 Address field is set to the value of the last call.

func (*ExternalAuthzSpecApplyConfiguration) WithEnable

WithEnable sets the Enable 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 Enable field is set to the value of the last call.

func (*ExternalAuthzSpecApplyConfiguration) WithFailureModeAllow

WithFailureModeAllow sets the FailureModeAllow 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 FailureModeAllow field is set to the value of the last call.

func (*ExternalAuthzSpecApplyConfiguration) WithPort

WithPort sets the Port 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 Port field is set to the value of the last call.

func (*ExternalAuthzSpecApplyConfiguration) WithStatPrefix

WithStatPrefix sets the StatPrefix 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 StatPrefix field is set to the value of the last call.

func (*ExternalAuthzSpecApplyConfiguration) WithTimeout

WithTimeout sets the Timeout 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 Timeout field is set to the value of the last call.

type FeatureFlagsApplyConfiguration

type FeatureFlagsApplyConfiguration struct {
	EnableEgressPolicy              *bool `json:"enableEgressPolicy,omitempty"`
	EnableSnapshotCacheMode         *bool `json:"enableSnapshotCacheMode,omitempty"`
	EnableAsyncProxyServiceMapping  *bool `json:"enableAsyncProxyServiceMapping,omitempty"`
	EnableIngressBackendPolicy      *bool `json:"enableIngressBackendPolicy,omitempty"`
	EnableAccessControlPolicy       *bool `json:"enableAccessControlPolicy,omitempty"`
	EnableAccessCertPolicy          *bool `json:"enableAccessCertPolicy,omitempty"`
	EnableSidecarActiveHealthChecks *bool `json:"enableSidecarActiveHealthChecks,omitempty"`
	EnableRetryPolicy               *bool `json:"enableRetryPolicy,omitempty"`
	EnablePluginPolicy              *bool `json:"enablePluginPolicy,omitempty"`
	EnableAutoDefaultRoute          *bool `json:"enableAutoDefaultRoute,omitempty"`
}

FeatureFlagsApplyConfiguration represents an declarative configuration of the FeatureFlags type for use with apply.

func FeatureFlags

func FeatureFlags() *FeatureFlagsApplyConfiguration

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

func (*FeatureFlagsApplyConfiguration) WithEnableAccessCertPolicy

func (b *FeatureFlagsApplyConfiguration) WithEnableAccessCertPolicy(value bool) *FeatureFlagsApplyConfiguration

WithEnableAccessCertPolicy sets the EnableAccessCertPolicy 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 EnableAccessCertPolicy field is set to the value of the last call.

func (*FeatureFlagsApplyConfiguration) WithEnableAccessControlPolicy

func (b *FeatureFlagsApplyConfiguration) WithEnableAccessControlPolicy(value bool) *FeatureFlagsApplyConfiguration

WithEnableAccessControlPolicy sets the EnableAccessControlPolicy 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 EnableAccessControlPolicy field is set to the value of the last call.

func (*FeatureFlagsApplyConfiguration) WithEnableAsyncProxyServiceMapping

func (b *FeatureFlagsApplyConfiguration) WithEnableAsyncProxyServiceMapping(value bool) *FeatureFlagsApplyConfiguration

WithEnableAsyncProxyServiceMapping sets the EnableAsyncProxyServiceMapping 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 EnableAsyncProxyServiceMapping field is set to the value of the last call.

func (*FeatureFlagsApplyConfiguration) WithEnableAutoDefaultRoute

func (b *FeatureFlagsApplyConfiguration) WithEnableAutoDefaultRoute(value bool) *FeatureFlagsApplyConfiguration

WithEnableAutoDefaultRoute sets the EnableAutoDefaultRoute 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 EnableAutoDefaultRoute field is set to the value of the last call.

func (*FeatureFlagsApplyConfiguration) WithEnableEgressPolicy

func (b *FeatureFlagsApplyConfiguration) WithEnableEgressPolicy(value bool) *FeatureFlagsApplyConfiguration

WithEnableEgressPolicy sets the EnableEgressPolicy 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 EnableEgressPolicy field is set to the value of the last call.

func (*FeatureFlagsApplyConfiguration) WithEnableIngressBackendPolicy

func (b *FeatureFlagsApplyConfiguration) WithEnableIngressBackendPolicy(value bool) *FeatureFlagsApplyConfiguration

WithEnableIngressBackendPolicy sets the EnableIngressBackendPolicy 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 EnableIngressBackendPolicy field is set to the value of the last call.

func (*FeatureFlagsApplyConfiguration) WithEnablePluginPolicy

func (b *FeatureFlagsApplyConfiguration) WithEnablePluginPolicy(value bool) *FeatureFlagsApplyConfiguration

WithEnablePluginPolicy sets the EnablePluginPolicy 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 EnablePluginPolicy field is set to the value of the last call.

func (*FeatureFlagsApplyConfiguration) WithEnableRetryPolicy

func (b *FeatureFlagsApplyConfiguration) WithEnableRetryPolicy(value bool) *FeatureFlagsApplyConfiguration

WithEnableRetryPolicy sets the EnableRetryPolicy 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 EnableRetryPolicy field is set to the value of the last call.

func (*FeatureFlagsApplyConfiguration) WithEnableSidecarActiveHealthChecks

func (b *FeatureFlagsApplyConfiguration) WithEnableSidecarActiveHealthChecks(value bool) *FeatureFlagsApplyConfiguration

WithEnableSidecarActiveHealthChecks sets the EnableSidecarActiveHealthChecks 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 EnableSidecarActiveHealthChecks field is set to the value of the last call.

func (*FeatureFlagsApplyConfiguration) WithEnableSnapshotCacheMode

func (b *FeatureFlagsApplyConfiguration) WithEnableSnapshotCacheMode(value bool) *FeatureFlagsApplyConfiguration

WithEnableSnapshotCacheMode sets the EnableSnapshotCacheMode 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 EnableSnapshotCacheMode field is set to the value of the last call.

type IngressGatewayCertSpecApplyConfiguration

type IngressGatewayCertSpecApplyConfiguration struct {
	SubjectAltNames  []string            `json:"subjectAltNames,omitempty"`
	ValidityDuration *string             `json:"validityDuration,omitempty"`
	Secret           *v1.SecretReference `json:"secret,omitempty"`
}

IngressGatewayCertSpecApplyConfiguration represents an declarative configuration of the IngressGatewayCertSpec type for use with apply.

func IngressGatewayCertSpec

func IngressGatewayCertSpec() *IngressGatewayCertSpecApplyConfiguration

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

func (*IngressGatewayCertSpecApplyConfiguration) WithSecret

WithSecret sets the Secret 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 Secret field is set to the value of the last call.

func (*IngressGatewayCertSpecApplyConfiguration) WithSubjectAltNames

WithSubjectAltNames adds the given value to the SubjectAltNames 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 SubjectAltNames field.

func (*IngressGatewayCertSpecApplyConfiguration) WithValidityDuration

WithValidityDuration sets the ValidityDuration 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 ValidityDuration field is set to the value of the last call.

type MeshConfigApplyConfiguration

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

MeshConfigApplyConfiguration represents an declarative configuration of the MeshConfig type for use with apply.

func MeshConfig

func MeshConfig(name, namespace string) *MeshConfigApplyConfiguration

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

func (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) WithCreationTimestamp

func (b *MeshConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MeshConfigApplyConfiguration

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 (*MeshConfigApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*MeshConfigApplyConfiguration) WithDeletionTimestamp

func (b *MeshConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MeshConfigApplyConfiguration

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 (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) WithResourceVersion

func (b *MeshConfigApplyConfiguration) WithResourceVersion(value string) *MeshConfigApplyConfiguration

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 (*MeshConfigApplyConfiguration) 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 (*MeshConfigApplyConfiguration) 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 MeshConfigSpecApplyConfiguration

type MeshConfigSpecApplyConfiguration struct {
	ClusterSet    *ClusterSetSpecApplyConfiguration    `json:"clusterSet,omitempty"`
	Sidecar       *SidecarSpecApplyConfiguration       `json:"sidecar,omitempty"`
	RepoServer    *RepoServerSpecApplyConfiguration    `json:"repoServer,omitempty"`
	Traffic       *TrafficSpecApplyConfiguration       `json:"traffic,omitempty"`
	Observability *ObservabilitySpecApplyConfiguration `json:"observability,omitempty"`
	Certificate   *CertificateSpecApplyConfiguration   `json:"certificate,omitempty"`
	FeatureFlags  *FeatureFlagsApplyConfiguration      `json:"featureFlags,omitempty"`
	PluginChains  *PluginChainsSpecApplyConfiguration  `json:"pluginChains,omitempty"`
}

MeshConfigSpecApplyConfiguration represents an declarative configuration of the MeshConfigSpec type for use with apply.

func MeshConfigSpec

func MeshConfigSpec() *MeshConfigSpecApplyConfiguration

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

func (*MeshConfigSpecApplyConfiguration) WithCertificate

WithCertificate sets the Certificate 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 Certificate field is set to the value of the last call.

func (*MeshConfigSpecApplyConfiguration) WithClusterSet

WithClusterSet sets the ClusterSet 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 ClusterSet field is set to the value of the last call.

func (*MeshConfigSpecApplyConfiguration) WithFeatureFlags

WithFeatureFlags sets the FeatureFlags 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 FeatureFlags field is set to the value of the last call.

func (*MeshConfigSpecApplyConfiguration) WithObservability

WithObservability sets the Observability 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 Observability field is set to the value of the last call.

func (*MeshConfigSpecApplyConfiguration) WithPluginChains

WithPluginChains sets the PluginChains 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 PluginChains field is set to the value of the last call.

func (*MeshConfigSpecApplyConfiguration) WithRepoServer

WithRepoServer sets the RepoServer 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 RepoServer field is set to the value of the last call.

func (*MeshConfigSpecApplyConfiguration) WithSidecar

WithSidecar sets the Sidecar 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 Sidecar field is set to the value of the last call.

func (*MeshConfigSpecApplyConfiguration) WithTraffic

WithTraffic sets the Traffic 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 Traffic field is set to the value of the last call.

type ObservabilitySpecApplyConfiguration

type ObservabilitySpecApplyConfiguration struct {
	FSMLogLevel       *string                              `json:"fsmLogLevel,omitempty"`
	EnableDebugServer *bool                                `json:"enableDebugServer,omitempty"`
	Tracing           *TracingSpecApplyConfiguration       `json:"tracing,omitempty"`
	RemoteLogging     *RemoteLoggingSpecApplyConfiguration `json:"remoteLogging,omitempty"`
}

ObservabilitySpecApplyConfiguration represents an declarative configuration of the ObservabilitySpec type for use with apply.

func ObservabilitySpec

func ObservabilitySpec() *ObservabilitySpecApplyConfiguration

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

func (*ObservabilitySpecApplyConfiguration) WithEnableDebugServer

WithEnableDebugServer sets the EnableDebugServer 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 EnableDebugServer field is set to the value of the last call.

func (*ObservabilitySpecApplyConfiguration) WithFSMLogLevel

WithFSMLogLevel sets the FSMLogLevel 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 FSMLogLevel field is set to the value of the last call.

func (*ObservabilitySpecApplyConfiguration) WithRemoteLogging

WithRemoteLogging sets the RemoteLogging 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 RemoteLogging field is set to the value of the last call.

func (*ObservabilitySpecApplyConfiguration) WithTracing

WithTracing sets the Tracing 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 Tracing field is set to the value of the last call.

type PluginChainSpecApplyConfiguration

type PluginChainSpecApplyConfiguration struct {
	Plugin   *string  `json:"plugin,omitempty"`
	Priority *float32 `json:"priority,omitempty"`
	Disable  *bool    `json:"disable,omitempty"`
}

PluginChainSpecApplyConfiguration represents an declarative configuration of the PluginChainSpec type for use with apply.

func PluginChainSpec

func PluginChainSpec() *PluginChainSpecApplyConfiguration

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

func (*PluginChainSpecApplyConfiguration) WithDisable

WithDisable sets the Disable 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 Disable field is set to the value of the last call.

func (*PluginChainSpecApplyConfiguration) WithPlugin

WithPlugin sets the Plugin 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 Plugin field is set to the value of the last call.

func (*PluginChainSpecApplyConfiguration) WithPriority

WithPriority sets the Priority 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 Priority field is set to the value of the last call.

type PluginChainsSpecApplyConfiguration

type PluginChainsSpecApplyConfiguration struct {
	InboundTCPChains   []*v1alpha1.PluginChainSpec `json:"inbound-tcp,omitempty"`
	InboundHTTPChains  []*v1alpha1.PluginChainSpec `json:"inbound-http,omitempty"`
	OutboundTCPChains  []*v1alpha1.PluginChainSpec `json:"outbound-tcp,omitempty"`
	OutboundHTTPChains []*v1alpha1.PluginChainSpec `json:"outbound-http,omitempty"`
}

PluginChainsSpecApplyConfiguration represents an declarative configuration of the PluginChainsSpec type for use with apply.

func PluginChainsSpec

func PluginChainsSpec() *PluginChainsSpecApplyConfiguration

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

func (*PluginChainsSpecApplyConfiguration) WithInboundHTTPChains

WithInboundHTTPChains adds the given value to the InboundHTTPChains 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 InboundHTTPChains field.

func (*PluginChainsSpecApplyConfiguration) WithInboundTCPChains

WithInboundTCPChains adds the given value to the InboundTCPChains 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 InboundTCPChains field.

func (*PluginChainsSpecApplyConfiguration) WithOutboundHTTPChains

WithOutboundHTTPChains adds the given value to the OutboundHTTPChains 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 OutboundHTTPChains field.

func (*PluginChainsSpecApplyConfiguration) WithOutboundTCPChains

WithOutboundTCPChains adds the given value to the OutboundTCPChains 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 OutboundTCPChains field.

type RemoteLoggingSpecApplyConfiguration

type RemoteLoggingSpecApplyConfiguration struct {
	Enable          *bool    `json:"enable,omitempty"`
	Level           *uint16  `json:"level,omitempty"`
	Port            *uint16  `json:"port,omitempty"`
	Address         *string  `json:"address,omitempty"`
	Endpoint        *string  `json:"endpoint,omitempty"`
	Authorization   *string  `json:"authorization,omitempty"`
	SampledFraction *float32 `json:"sampledFraction,omitempty"`
}

RemoteLoggingSpecApplyConfiguration represents an declarative configuration of the RemoteLoggingSpec type for use with apply.

func RemoteLoggingSpec

func RemoteLoggingSpec() *RemoteLoggingSpecApplyConfiguration

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

func (*RemoteLoggingSpecApplyConfiguration) WithAddress

WithAddress sets the Address 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 Address field is set to the value of the last call.

func (*RemoteLoggingSpecApplyConfiguration) WithAuthorization

WithAuthorization sets the Authorization 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 Authorization field is set to the value of the last call.

func (*RemoteLoggingSpecApplyConfiguration) WithEnable

WithEnable sets the Enable 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 Enable field is set to the value of the last call.

func (*RemoteLoggingSpecApplyConfiguration) WithEndpoint

WithEndpoint sets the Endpoint 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 Endpoint field is set to the value of the last call.

func (*RemoteLoggingSpecApplyConfiguration) WithLevel

WithLevel sets the Level 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 Level field is set to the value of the last call.

func (*RemoteLoggingSpecApplyConfiguration) WithPort

WithPort sets the Port 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 Port field is set to the value of the last call.

func (*RemoteLoggingSpecApplyConfiguration) WithSampledFraction

WithSampledFraction sets the SampledFraction 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 SampledFraction field is set to the value of the last call.

type RepoServerSpecApplyConfiguration

type RepoServerSpecApplyConfiguration struct {
	IPAddr   *string `json:"ipaddr,omitempty"`
	Codebase *string `json:"codebase,omitempty"`
}

RepoServerSpecApplyConfiguration represents an declarative configuration of the RepoServerSpec type for use with apply.

func RepoServerSpec

func RepoServerSpec() *RepoServerSpecApplyConfiguration

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

func (*RepoServerSpecApplyConfiguration) WithCodebase

WithCodebase sets the Codebase 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 Codebase field is set to the value of the last call.

func (*RepoServerSpecApplyConfiguration) WithIPAddr

WithIPAddr sets the IPAddr 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 IPAddr field is set to the value of the last call.

type SidecarDriverSpecApplyConfiguration

type SidecarDriverSpecApplyConfiguration struct {
	SidecarName         *string `json:"sidecarName,omitempty"`
	SidecarImage        *string `json:"sidecarImage,omitempty"`
	InitContainerImage  *string `json:"initContainerImage,omitempty"`
	ProxyServerPort     *uint32 `json:"proxyServerPort,omitempty"`
	SidecarDisabledMTLS *bool   `json:"sidecarDisabledMTLS,omitempty"`
}

SidecarDriverSpecApplyConfiguration represents an declarative configuration of the SidecarDriverSpec type for use with apply.

func SidecarDriverSpec

func SidecarDriverSpec() *SidecarDriverSpecApplyConfiguration

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

func (*SidecarDriverSpecApplyConfiguration) WithInitContainerImage

WithInitContainerImage sets the InitContainerImage 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 InitContainerImage field is set to the value of the last call.

func (*SidecarDriverSpecApplyConfiguration) WithProxyServerPort

WithProxyServerPort sets the ProxyServerPort 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 ProxyServerPort field is set to the value of the last call.

func (*SidecarDriverSpecApplyConfiguration) WithSidecarDisabledMTLS

WithSidecarDisabledMTLS sets the SidecarDisabledMTLS 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 SidecarDisabledMTLS field is set to the value of the last call.

func (*SidecarDriverSpecApplyConfiguration) WithSidecarImage

WithSidecarImage sets the SidecarImage 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 SidecarImage field is set to the value of the last call.

func (*SidecarDriverSpecApplyConfiguration) WithSidecarName

WithSidecarName sets the SidecarName 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 SidecarName field is set to the value of the last call.

type SidecarSpecApplyConfiguration

type SidecarSpecApplyConfiguration struct {
	EnablePrivilegedInitContainer *bool                                 `json:"enablePrivilegedInitContainer,omitempty"`
	LogLevel                      *string                               `json:"logLevel,omitempty"`
	SidecarClass                  *string                               `json:"sidecarClass,omitempty"`
	SidecarImage                  *string                               `json:"sidecarImage,omitempty"`
	SidecarDisabledMTLS           *bool                                 `json:"sidecarDisabledMTLS,omitempty"`
	InitContainerImage            *string                               `json:"initContainerImage,omitempty"`
	SidecarDrivers                []SidecarDriverSpecApplyConfiguration `json:"sidecarDrivers,omitempty"`
	MaxDataPlaneConnections       *int                                  `json:"maxDataPlaneConnections,omitempty"`
	ConfigResyncInterval          *string                               `json:"configResyncInterval,omitempty"`
	SidecarTimeout                *int                                  `json:"sidecarTimeout,omitempty"`
	Resources                     *v1.ResourceRequirements              `json:"resources,omitempty"`
}

SidecarSpecApplyConfiguration represents an declarative configuration of the SidecarSpec type for use with apply.

func SidecarSpec

func SidecarSpec() *SidecarSpecApplyConfiguration

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

func (*SidecarSpecApplyConfiguration) WithConfigResyncInterval

func (b *SidecarSpecApplyConfiguration) WithConfigResyncInterval(value string) *SidecarSpecApplyConfiguration

WithConfigResyncInterval sets the ConfigResyncInterval 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 ConfigResyncInterval field is set to the value of the last call.

func (*SidecarSpecApplyConfiguration) WithEnablePrivilegedInitContainer

func (b *SidecarSpecApplyConfiguration) WithEnablePrivilegedInitContainer(value bool) *SidecarSpecApplyConfiguration

WithEnablePrivilegedInitContainer sets the EnablePrivilegedInitContainer 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 EnablePrivilegedInitContainer field is set to the value of the last call.

func (*SidecarSpecApplyConfiguration) WithInitContainerImage

func (b *SidecarSpecApplyConfiguration) WithInitContainerImage(value string) *SidecarSpecApplyConfiguration

WithInitContainerImage sets the InitContainerImage 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 InitContainerImage field is set to the value of the last call.

func (*SidecarSpecApplyConfiguration) WithLogLevel

WithLogLevel sets the LogLevel 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 LogLevel field is set to the value of the last call.

func (*SidecarSpecApplyConfiguration) WithMaxDataPlaneConnections

func (b *SidecarSpecApplyConfiguration) WithMaxDataPlaneConnections(value int) *SidecarSpecApplyConfiguration

WithMaxDataPlaneConnections sets the MaxDataPlaneConnections 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 MaxDataPlaneConnections field is set to the value of the last call.

func (*SidecarSpecApplyConfiguration) WithResources

WithResources sets the Resources 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 Resources field is set to the value of the last call.

func (*SidecarSpecApplyConfiguration) WithSidecarClass

WithSidecarClass sets the SidecarClass 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 SidecarClass field is set to the value of the last call.

func (*SidecarSpecApplyConfiguration) WithSidecarDisabledMTLS

func (b *SidecarSpecApplyConfiguration) WithSidecarDisabledMTLS(value bool) *SidecarSpecApplyConfiguration

WithSidecarDisabledMTLS sets the SidecarDisabledMTLS 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 SidecarDisabledMTLS field is set to the value of the last call.

func (*SidecarSpecApplyConfiguration) WithSidecarDrivers

WithSidecarDrivers adds the given value to the SidecarDrivers 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 SidecarDrivers field.

func (*SidecarSpecApplyConfiguration) WithSidecarImage

WithSidecarImage sets the SidecarImage 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 SidecarImage field is set to the value of the last call.

func (*SidecarSpecApplyConfiguration) WithSidecarTimeout

func (b *SidecarSpecApplyConfiguration) WithSidecarTimeout(value int) *SidecarSpecApplyConfiguration

WithSidecarTimeout sets the SidecarTimeout 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 SidecarTimeout field is set to the value of the last call.

type TracingSpecApplyConfiguration

type TracingSpecApplyConfiguration struct {
	Enable          *bool    `json:"enable,omitempty"`
	Port            *uint16  `json:"port,omitempty"`
	Address         *string  `json:"address,omitempty"`
	Endpoint        *string  `json:"endpoint,omitempty"`
	SampledFraction *float32 `json:"sampledFraction,omitempty"`
}

TracingSpecApplyConfiguration represents an declarative configuration of the TracingSpec type for use with apply.

func TracingSpec

func TracingSpec() *TracingSpecApplyConfiguration

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

func (*TracingSpecApplyConfiguration) WithAddress

WithAddress sets the Address 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 Address field is set to the value of the last call.

func (*TracingSpecApplyConfiguration) WithEnable

WithEnable sets the Enable 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 Enable field is set to the value of the last call.

func (*TracingSpecApplyConfiguration) WithEndpoint

WithEndpoint sets the Endpoint 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 Endpoint field is set to the value of the last call.

func (*TracingSpecApplyConfiguration) WithPort

WithPort sets the Port 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 Port field is set to the value of the last call.

func (*TracingSpecApplyConfiguration) WithSampledFraction

WithSampledFraction sets the SampledFraction 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 SampledFraction field is set to the value of the last call.

type TrafficSpecApplyConfiguration

type TrafficSpecApplyConfiguration struct {
	InterceptionMode                  *string                              `json:"interceptionMode,omitempty"`
	EnableEgress                      *bool                                `json:"enableEgress,omitempty"`
	OutboundIPRangeExclusionList      []string                             `json:"outboundIPRangeExclusionList,omitempty"`
	OutboundPortExclusionList         []int                                `json:"outboundPortExclusionList,omitempty"`
	InboundPortExclusionList          []int                                `json:"inboundPortExclusionList,omitempty"`
	EnablePermissiveTrafficPolicyMode *bool                                `json:"enablePermissiveTrafficPolicyMode,omitempty"`
	ServiceAccessMode                 *string                              `json:"serviceAccessMode,omitempty"`
	InboundExternalAuthorization      *ExternalAuthzSpecApplyConfiguration `json:"inboundExternalAuthorization,omitempty"`
	HTTP1PerRequestLoadBalancing      *bool                                `json:"http1PerRequestLoadBalancing,omitempty"`
	HTTP2PerRequestLoadBalancing      *bool                                `json:"http2PerRequestLoadBalancing,omitempty"`
}

TrafficSpecApplyConfiguration represents an declarative configuration of the TrafficSpec type for use with apply.

func TrafficSpec

func TrafficSpec() *TrafficSpecApplyConfiguration

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

func (*TrafficSpecApplyConfiguration) WithEnableEgress

WithEnableEgress sets the EnableEgress 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 EnableEgress field is set to the value of the last call.

func (*TrafficSpecApplyConfiguration) WithEnablePermissiveTrafficPolicyMode

func (b *TrafficSpecApplyConfiguration) WithEnablePermissiveTrafficPolicyMode(value bool) *TrafficSpecApplyConfiguration

WithEnablePermissiveTrafficPolicyMode sets the EnablePermissiveTrafficPolicyMode 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 EnablePermissiveTrafficPolicyMode field is set to the value of the last call.

func (*TrafficSpecApplyConfiguration) WithHTTP1PerRequestLoadBalancing

func (b *TrafficSpecApplyConfiguration) WithHTTP1PerRequestLoadBalancing(value bool) *TrafficSpecApplyConfiguration

WithHTTP1PerRequestLoadBalancing sets the HTTP1PerRequestLoadBalancing 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 HTTP1PerRequestLoadBalancing field is set to the value of the last call.

func (*TrafficSpecApplyConfiguration) WithHTTP2PerRequestLoadBalancing

func (b *TrafficSpecApplyConfiguration) WithHTTP2PerRequestLoadBalancing(value bool) *TrafficSpecApplyConfiguration

WithHTTP2PerRequestLoadBalancing sets the HTTP2PerRequestLoadBalancing 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 HTTP2PerRequestLoadBalancing field is set to the value of the last call.

func (*TrafficSpecApplyConfiguration) WithInboundExternalAuthorization

WithInboundExternalAuthorization sets the InboundExternalAuthorization 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 InboundExternalAuthorization field is set to the value of the last call.

func (*TrafficSpecApplyConfiguration) WithInboundPortExclusionList

func (b *TrafficSpecApplyConfiguration) WithInboundPortExclusionList(values ...int) *TrafficSpecApplyConfiguration

WithInboundPortExclusionList adds the given value to the InboundPortExclusionList 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 InboundPortExclusionList field.

func (*TrafficSpecApplyConfiguration) WithInterceptionMode

func (b *TrafficSpecApplyConfiguration) WithInterceptionMode(value string) *TrafficSpecApplyConfiguration

WithInterceptionMode sets the InterceptionMode 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 InterceptionMode field is set to the value of the last call.

func (*TrafficSpecApplyConfiguration) WithOutboundIPRangeExclusionList

func (b *TrafficSpecApplyConfiguration) WithOutboundIPRangeExclusionList(values ...string) *TrafficSpecApplyConfiguration

WithOutboundIPRangeExclusionList adds the given value to the OutboundIPRangeExclusionList 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 OutboundIPRangeExclusionList field.

func (*TrafficSpecApplyConfiguration) WithOutboundPortExclusionList

func (b *TrafficSpecApplyConfiguration) WithOutboundPortExclusionList(values ...int) *TrafficSpecApplyConfiguration

WithOutboundPortExclusionList adds the given value to the OutboundPortExclusionList 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 OutboundPortExclusionList field.

func (*TrafficSpecApplyConfiguration) WithServiceAccessMode

func (b *TrafficSpecApplyConfiguration) WithServiceAccessMode(value string) *TrafficSpecApplyConfiguration

WithServiceAccessMode sets the ServiceAccessMode 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 ServiceAccessMode 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