v1alpha1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 contains application_controller zpa resources. +kubebuilder:object:generate=true +groupName=zpa.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "zpa.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	ApplicationSegmentKind             = reflect.TypeOf(ApplicationSegment{}).Name()
	ApplicationSegmentGroupKind        = schema.GroupKind{Group: Group, Kind: ApplicationSegmentKind}.String()
	ApplicationSegmentKindAPIVersion   = ApplicationSegmentKind + "." + SchemeGroupVersion.String()
	ApplicationSegmentGroupVersionKind = SchemeGroupVersion.WithKind(ApplicationSegmentKind)
)

ApplicationSegment type metadata.

Functions

This section is empty.

Types

type AppServerGroup added in v0.3.0

type AppServerGroup struct {
	ConfigSpace      string  `json:"configSpace,omitempty"`
	CreationTime     string  `json:"creationTime,omitempty"`
	Description      string  `json:"description,omitempty"`
	DynamicDiscovery bool    `json:"dynamicDiscovery,omitempty"`
	Enabled          bool    `json:"enabled,omitempty"`
	ID               string  `json:"id,omitempty"`
	ModifiedBy       string  `json:"modifiedBy,omitempty"`
	ModifiedTime     string  `json:"modifiedTime,omitempty"`
	Name             *string `json:"name,omitempty"`
}

AppServerGroup defines desired state of a AppServerGroup

func (*AppServerGroup) DeepCopy added in v0.3.0

func (in *AppServerGroup) DeepCopy() *AppServerGroup

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

func (*AppServerGroup) DeepCopyInto added in v0.3.0

func (in *AppServerGroup) DeepCopyInto(out *AppServerGroup)

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

type ApplicationSegment

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

	Spec   ApplicationSegmentSpec   `json:"spec"`
	Status ApplicationSegmentStatus `json:"status,omitempty"`
}

A ApplicationSegment is the schema for ZPA ApplicationSegments API +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,zpa}

func (*ApplicationSegment) DeepCopy

func (in *ApplicationSegment) DeepCopy() *ApplicationSegment

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

func (*ApplicationSegment) DeepCopyInto

func (in *ApplicationSegment) DeepCopyInto(out *ApplicationSegment)

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

func (*ApplicationSegment) DeepCopyObject

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

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

func (*ApplicationSegment) GetCondition

func (mg *ApplicationSegment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ApplicationSegment.

func (*ApplicationSegment) GetDeletionPolicy

func (mg *ApplicationSegment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ApplicationSegment.

func (*ApplicationSegment) GetProviderConfigReference

func (mg *ApplicationSegment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ApplicationSegment.

func (*ApplicationSegment) GetProviderReference

func (mg *ApplicationSegment) GetProviderReference() *xpv1.Reference

GetProviderReference of this ApplicationSegment. Deprecated: Use GetProviderConfigReference.

func (*ApplicationSegment) GetPublishConnectionDetailsTo added in v0.4.0

func (mg *ApplicationSegment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ApplicationSegment.

func (*ApplicationSegment) GetWriteConnectionSecretToReference

func (mg *ApplicationSegment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ApplicationSegment.

func (*ApplicationSegment) ResolveReferences

func (mg *ApplicationSegment) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ApplicationSegment.

func (*ApplicationSegment) SetConditions

func (mg *ApplicationSegment) SetConditions(c ...xpv1.Condition)

SetConditions of this ApplicationSegment.

func (*ApplicationSegment) SetDeletionPolicy

func (mg *ApplicationSegment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ApplicationSegment.

func (*ApplicationSegment) SetProviderConfigReference

func (mg *ApplicationSegment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ApplicationSegment.

func (*ApplicationSegment) SetProviderReference

func (mg *ApplicationSegment) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ApplicationSegment. Deprecated: Use SetProviderConfigReference.

func (*ApplicationSegment) SetPublishConnectionDetailsTo added in v0.4.0

func (mg *ApplicationSegment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ApplicationSegment.

func (*ApplicationSegment) SetWriteConnectionSecretToReference

func (mg *ApplicationSegment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ApplicationSegment.

type ApplicationSegmentList

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

ApplicationSegmentList contains a list of ApplicationSegment

func (*ApplicationSegmentList) DeepCopy

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

func (*ApplicationSegmentList) DeepCopyInto

func (in *ApplicationSegmentList) DeepCopyInto(out *ApplicationSegmentList)

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

func (*ApplicationSegmentList) DeepCopyObject

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

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

func (*ApplicationSegmentList) GetItems

func (l *ApplicationSegmentList) GetItems() []resource.Managed

GetItems of this ApplicationSegmentList.

type ApplicationSegmentParameters

type ApplicationSegmentParameters struct {
	CustomApplicationSegmentParameters `json:",inline"`

	// bypass type
	// +kubebuilder:validation:Enum=ALWAYS;NEVER;ON_NET
	BypassType string `json:"bypassType,omitempty"`

	// config space
	// +kubebuilder:validation:Enum=DEFAULT;SIEM
	ConfigSpace string `json:"configSpace,omitempty"`

	// default idle timeout
	DefaultIdleTimeout string `json:"defaultIdleTimeout,omitempty"`

	// default max age
	DefaultMaxAge string `json:"defaultMaxAge,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// domain names
	DomainNames []string `json:"domainNames"`

	// double encrypt
	DoubleEncrypt *bool `json:"doubleEncrypt,omitempty"`

	// enabled
	Enabled *bool `json:"enabled,omitempty"`

	// health check type
	// +kubebuilder:validation:Enum=DEFAULT;NONE
	HealthCheckType string `json:"healthCheckType,omitempty"`

	// health reporting
	// +kubebuilder:validation:Enum=NONE;ON_ACCESS;CONTINUOUS
	HealthReporting string `json:"healthReporting,omitempty"`

	// icmp access type
	// +kubebuilder:validation:Enum=PING_TRACEROUTING;PING;NONE
	IcmpAccessType string `json:"icmpAccessType,omitempty"`

	// ip anchored
	IPAnchored *bool `json:"ipAnchored,omitempty"`

	// is cname enabled
	IsCnameEnabled *bool `json:"isCnameEnabled,omitempty"`

	// passive health enabled
	PassiveHealthEnabled *bool `json:"passiveHealthEnabled,omitempty"`

	// segment group Id
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-zpa/apis/segmentgroup/v1alpha1.SegmentGroup
	SegmentGroupID *string `json:"segmentGroupID,omitempty"`

	// tcp port ranges
	TCPPortRanges []string `json:"tcpPortRanges,omitempty"`

	// udp port ranges
	UDPPortRanges []string `json:"udpPortRanges,omitempty"`

	// server groups ids
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-zpa/apis/servergroup/v1alpha1.ServerGroup
	// +crossplane:generate:reference:refFieldName=ServerGroupRefs
	// +crossplane:generate:reference:selectorFieldName=ServerGroupSelector
	ServerGroups []string `json:"serverGroups,omitempty"`

	// Name for ApplicationSegment.
	// +kubebuilder:validation:Required
	Name string `json:"name"`
}

A ApplicationSegmentParameters defines desired state of a ApplicationSegmentSegment

func (*ApplicationSegmentParameters) DeepCopy

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

func (*ApplicationSegmentParameters) DeepCopyInto

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

type ApplicationSegmentSpec

type ApplicationSegmentSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       ApplicationSegmentParameters `json:"forProvider"`
}

A ApplicationSegmentSpec defines the desired state of a ApplicationSegment.

func (*ApplicationSegmentSpec) DeepCopy

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

func (*ApplicationSegmentSpec) DeepCopyInto

func (in *ApplicationSegmentSpec) DeepCopyInto(out *ApplicationSegmentSpec)

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

type ApplicationSegmentStatus

type ApplicationSegmentStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          Observation `json:"atProvider,omitempty"`
}

A ApplicationSegmentStatus represents the status of a ApplicationSegment.

func (*ApplicationSegmentStatus) DeepCopy

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

func (*ApplicationSegmentStatus) DeepCopyInto

func (in *ApplicationSegmentStatus) DeepCopyInto(out *ApplicationSegmentStatus)

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

type CustomApplicationSegmentParameters

type CustomApplicationSegmentParameters struct {
	// SegmentGroupIDRef is a reference to a SegmentGroupID so set external ID
	// +optional
	SegmentGroupIDRef *xpv1.Reference `json:"segmentGroupIDRef,omitempty"`

	// SegmentGroupIDSelector selects a reference to a SegmentGroupID so set external ID
	// +optional
	SegmentGroupIDSelector *xpv1.Selector `json:"segmentGroupIDSelector,omitempty"`

	// ServerGroupRefs are references to ServerGroups used to set
	// so set external ID.
	// +optional
	ServerGroupRefs []xpv1.Reference `json:"serverGroupRefs,omitempty"`

	// ServerGroupSelector selects references to ServerGroups used
	// so set external ID.
	// +optional
	ServerGroupSelector *xpv1.Selector `json:"serverGroupSelector,omitempty"`
}

CustomApplicationSegmentParameters that are not part of the ZPA API

func (*CustomApplicationSegmentParameters) DeepCopy

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

func (*CustomApplicationSegmentParameters) DeepCopyInto

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

type Observation

type Observation struct {
	CreationTime       string                       `json:"creationTime,omitempty"`
	ModifiedBy         string                       `json:"modifiedBy,omitempty"`
	ModifiedTime       string                       `json:"modifiedTime,omitempty"`
	ID                 string                       `json:"id,omitempty"`
	ServerGroup        []AppServerGroup             `json:"serverGroup,omitempty"`
	ApplicationSegment ApplicationSegmentParameters `json:"applicationSegment,omitempty"`
}

Observation are the observable fields of a ApplicationSegment.

func (*Observation) DeepCopy

func (in *Observation) DeepCopy() *Observation

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

func (*Observation) DeepCopyInto

func (in *Observation) DeepCopyInto(out *Observation)

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