Documentation ¶
Overview ¶
Package v1alpha1 contains application_controller zpa resources. +kubebuilder:object:generate=true +groupName=zpa.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type CustomServerParameters
- type Observation
- type Server
- func (in *Server) DeepCopy() *Server
- func (in *Server) DeepCopyInto(out *Server)
- func (in *Server) DeepCopyObject() runtime.Object
- func (mg *Server) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Server) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Server) GetProviderConfigReference() *xpv1.Reference
- func (mg *Server) GetProviderReference() *xpv1.Reference
- func (mg *Server) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Server) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Server) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Server) SetConditions(c ...xpv1.Condition)
- func (mg *Server) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Server) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Server) SetProviderReference(r *xpv1.Reference)
- func (mg *Server) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Server) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServerList
- type ServerParameters
- type ServerSpec
- type ServerStatus
Constants ¶
const ( Group = "zpa.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
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} )
var ( ServerKind = reflect.TypeOf(Server{}).Name() ServerGroupKind = schema.GroupKind{Group: Group, Kind: ServerKind}.String() ServerKindAPIVersion = ServerKind + "." + SchemeGroupVersion.String() ServerGroupVersionKind = SchemeGroupVersion.WithKind(ServerKind) )
Server type metadata.
Functions ¶
This section is empty.
Types ¶
type CustomServerParameters ¶
type CustomServerParameters struct { // ServerGroupRefs is a reference to a ServerGroup so set external ID // +optional ServerGroupRefs []xpv1.Reference `json:"serverGroupRefs,omitempty"` // ServerGroupSelector selects a reference to a ServerGroup so set external ID // +optional ServerGroupSelector *xpv1.Selector `json:"serverGroupSelector,omitempty"` }
CustomServerParameters that are not part of the ZPA API
func (*CustomServerParameters) DeepCopy ¶
func (in *CustomServerParameters) DeepCopy() *CustomServerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomServerParameters.
func (*CustomServerParameters) DeepCopyInto ¶
func (in *CustomServerParameters) DeepCopyInto(out *CustomServerParameters)
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"` }
Observation are the observable fields of a Server.
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.
type Server ¶
type Server struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServerSpec `json:"spec"` Status ServerStatus `json:"status,omitempty"` }
A Server is the schema for ZPA Servers 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 (*Server) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.
func (*Server) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Server) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Server) GetCondition ¶
func (mg *Server) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Server.
func (*Server) GetDeletionPolicy ¶
func (mg *Server) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Server.
func (*Server) GetProviderConfigReference ¶
GetProviderConfigReference of this Server.
func (*Server) GetProviderReference ¶
GetProviderReference of this Server. Deprecated: Use GetProviderConfigReference.
func (*Server) GetPublishConnectionDetailsTo ¶ added in v0.4.0
func (mg *Server) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Server.
func (*Server) GetWriteConnectionSecretToReference ¶
func (mg *Server) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Server.
func (*Server) ResolveReferences ¶ added in v0.2.0
ResolveReferences of this Server.
func (*Server) SetConditions ¶
SetConditions of this Server.
func (*Server) SetDeletionPolicy ¶
func (mg *Server) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Server.
func (*Server) SetProviderConfigReference ¶
SetProviderConfigReference of this Server.
func (*Server) SetProviderReference ¶
SetProviderReference of this Server. Deprecated: Use SetProviderConfigReference.
func (*Server) SetPublishConnectionDetailsTo ¶ added in v0.4.0
func (mg *Server) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Server.
func (*Server) SetWriteConnectionSecretToReference ¶
func (mg *Server) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Server.
type ServerList ¶
type ServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Server `json:"items"` }
ServerList contains a list of Server
func (*ServerList) DeepCopy ¶
func (in *ServerList) DeepCopy() *ServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerList.
func (*ServerList) DeepCopyInto ¶
func (in *ServerList) DeepCopyInto(out *ServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerList) DeepCopyObject ¶
func (in *ServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServerList) GetItems ¶
func (l *ServerList) GetItems() []resource.Managed
GetItems of this ServerList.
type ServerParameters ¶
type ServerParameters struct { CustomServerParameters `json:",inline"` // config space // +kubebuilder:validation:Enum=DEFAULT;SIEM ConfigSpace string `json:"configSpace,omitempty"` // description Description string `json:"description,omitempty"` // dynamic discovery DynamicDiscovery *bool `json:"dynamicDiscovery,omitempty"` // enabled Enabled *bool `json:"enabled,omitempty"` // Domain or IP-Address Address string `json:"address,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name"` // server group 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"` }
A ServerParameters defines desired state of a ServerSegment
func (*ServerParameters) DeepCopy ¶
func (in *ServerParameters) DeepCopy() *ServerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerParameters.
func (*ServerParameters) DeepCopyInto ¶
func (in *ServerParameters) DeepCopyInto(out *ServerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerSpec ¶
type ServerSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider ServerParameters `json:"forProvider"` }
A ServerSpec defines the desired state of a Server.
func (*ServerSpec) DeepCopy ¶
func (in *ServerSpec) DeepCopy() *ServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec.
func (*ServerSpec) DeepCopyInto ¶
func (in *ServerSpec) DeepCopyInto(out *ServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerStatus ¶
type ServerStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider Observation `json:"atProvider,omitempty"` }
A ServerStatus represents the status of a Server.
func (*ServerStatus) DeepCopy ¶
func (in *ServerStatus) DeepCopy() *ServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus.
func (*ServerStatus) DeepCopyInto ¶
func (in *ServerStatus) DeepCopyInto(out *ServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.