Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the resources v2 API group +kubebuilder:object:generate=true +groupName=resources.teleport.dev
Index ¶
- Variables
- type LoginRuleResource
- type TeleportAccessList
- func (in *TeleportAccessList) DeepCopy() *TeleportAccessList
- func (in *TeleportAccessList) DeepCopyInto(out *TeleportAccessList)
- func (in *TeleportAccessList) DeepCopyObject() runtime.Object
- func (l *TeleportAccessList) StatusConditions() *[]metav1.Condition
- func (l TeleportAccessList) ToTeleport() *accesslist.AccessList
- type TeleportAccessListList
- type TeleportAccessListSpec
- type TeleportAccessListStatus
- type TeleportLoginRule
- func (in *TeleportLoginRule) DeepCopy() *TeleportLoginRule
- func (in *TeleportLoginRule) DeepCopyInto(out *TeleportLoginRule)
- func (in *TeleportLoginRule) DeepCopyObject() runtime.Object
- func (l *TeleportLoginRule) StatusConditions() *[]metav1.Condition
- func (l TeleportLoginRule) ToTeleport() *LoginRuleResource
- type TeleportLoginRuleList
- type TeleportLoginRuleSpec
- type TeleportLoginRuleStatus
- type TeleportOktaImportRule
- func (in *TeleportOktaImportRule) DeepCopy() *TeleportOktaImportRule
- func (in *TeleportOktaImportRule) DeepCopyInto(out *TeleportOktaImportRule)
- func (in *TeleportOktaImportRule) DeepCopyObject() runtime.Object
- func (l *TeleportOktaImportRule) StatusConditions() *[]metav1.Condition
- func (o TeleportOktaImportRule) ToTeleport() types.OktaImportRule
- type TeleportOktaImportRuleList
- type TeleportOktaImportRuleMapping
- type TeleportOktaImportRuleMatch
- type TeleportOktaImportRuleSpec
- type TeleportOktaImportRuleStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: resources.GroupName, Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type LoginRuleResource ¶
type LoginRuleResource struct {
LoginRule *loginrulepb.LoginRule
}
LoginRuleResource wraps loginrulepb.LoginRule in order to implement the interface methods used by TeleportResourceReconciler.
func (*LoginRuleResource) GetMetadata ¶
func (l *LoginRuleResource) GetMetadata() types.Metadata
func (*LoginRuleResource) GetName ¶
func (l *LoginRuleResource) GetName() string
func (*LoginRuleResource) GetRevision ¶
func (l *LoginRuleResource) GetRevision() string
func (*LoginRuleResource) SetOrigin ¶
func (l *LoginRuleResource) SetOrigin(origin string)
func (*LoginRuleResource) SetRevision ¶
func (l *LoginRuleResource) SetRevision(rev string)
type TeleportAccessList ¶
type TeleportAccessList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TeleportAccessListSpec `json:"spec,omitempty"` Status TeleportAccessListStatus `json:"status,omitempty"` }
TeleportAccessList holds the kubernetes custom resources for login rules.
func (*TeleportAccessList) DeepCopy ¶
func (in *TeleportAccessList) DeepCopy() *TeleportAccessList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportAccessList.
func (*TeleportAccessList) DeepCopyInto ¶
func (in *TeleportAccessList) DeepCopyInto(out *TeleportAccessList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeleportAccessList) DeepCopyObject ¶
func (in *TeleportAccessList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TeleportAccessList) StatusConditions ¶
func (l *TeleportAccessList) StatusConditions() *[]metav1.Condition
StatusConditions returns a pointer to Status.Conditions slice. This is used by the teleport resource controller to report conditions back to on resource.
func (TeleportAccessList) ToTeleport ¶
func (l TeleportAccessList) ToTeleport() *accesslist.AccessList
ToTeleport returns a AccessListResource, which wraps the actual accesslist.AccessList and implements the necessary interface methods used by the TeleportResourceReconciler.
type TeleportAccessListList ¶
type TeleportAccessListList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TeleportAccessList `json:"items"` }
TeleportAccessListList contains a list of TeleportAccessList
func (*TeleportAccessListList) DeepCopy ¶
func (in *TeleportAccessListList) DeepCopy() *TeleportAccessListList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportAccessListList.
func (*TeleportAccessListList) DeepCopyInto ¶
func (in *TeleportAccessListList) DeepCopyInto(out *TeleportAccessListList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeleportAccessListList) DeepCopyObject ¶
func (in *TeleportAccessListList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TeleportAccessListSpec ¶
type TeleportAccessListSpec accesslist.Spec
TeleportAccessListSpec defines the desired state of TeleportProvisionToken
func (*TeleportAccessListSpec) DeepCopy ¶
func (in *TeleportAccessListSpec) DeepCopy() *TeleportAccessListSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportAccessListSpec.
func (*TeleportAccessListSpec) DeepCopyInto ¶
func (spec *TeleportAccessListSpec) DeepCopyInto(out *TeleportAccessListSpec)
DeepCopyInto deep-copies one user spec into another. Required to satisfy runtime.Object interface.
func (*TeleportAccessListSpec) Marshal ¶
func (spec *TeleportAccessListSpec) Marshal() ([]byte, error)
Marshal serializes a spec into binary data.
func (*TeleportAccessListSpec) Unmarshal ¶
func (spec *TeleportAccessListSpec) Unmarshal(data []byte) error
Unmarshal deserializes a spec from binary data.
type TeleportAccessListStatus ¶
type TeleportAccessListStatus struct { // Conditions represent the latest available observations of an object's state // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` // +optional TeleportResourceID int64 `json:"teleportResourceID,omitempty"` }
func (*TeleportAccessListStatus) DeepCopy ¶
func (in *TeleportAccessListStatus) DeepCopy() *TeleportAccessListStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportAccessListStatus.
func (*TeleportAccessListStatus) DeepCopyInto ¶
func (in *TeleportAccessListStatus) DeepCopyInto(out *TeleportAccessListStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeleportLoginRule ¶
type TeleportLoginRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TeleportLoginRuleSpec `json:"spec,omitempty"` Status TeleportLoginRuleStatus `json:"status,omitempty"` }
TeleportLoginRule holds the kubernetes custom resources for login rules.
func (*TeleportLoginRule) DeepCopy ¶
func (in *TeleportLoginRule) DeepCopy() *TeleportLoginRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportLoginRule.
func (*TeleportLoginRule) DeepCopyInto ¶
func (in *TeleportLoginRule) DeepCopyInto(out *TeleportLoginRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeleportLoginRule) DeepCopyObject ¶
func (in *TeleportLoginRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TeleportLoginRule) StatusConditions ¶
func (l *TeleportLoginRule) StatusConditions() *[]metav1.Condition
StatusConditions returns a pointer to Status.Conditions slice. This is used by the teleport resource controller to report conditions back to on resource.
func (TeleportLoginRule) ToTeleport ¶
func (l TeleportLoginRule) ToTeleport() *LoginRuleResource
ToTeleport returns a LoginRuleResource, which wraps the actual loginrulepb.LoginRule and implements the necessary interface methods used by the TeleportResourceReconciler.
type TeleportLoginRuleList ¶
type TeleportLoginRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TeleportLoginRule `json:"items"` }
TeleportLoginRuleList contains a list of TeleportLoginRule
func (*TeleportLoginRuleList) DeepCopy ¶
func (in *TeleportLoginRuleList) DeepCopy() *TeleportLoginRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportLoginRuleList.
func (*TeleportLoginRuleList) DeepCopyInto ¶
func (in *TeleportLoginRuleList) DeepCopyInto(out *TeleportLoginRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeleportLoginRuleList) DeepCopyObject ¶
func (in *TeleportLoginRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TeleportLoginRuleSpec ¶
type TeleportLoginRuleSpec struct { Priority int32 `json:"priority,omitempty"` TraitsExpression string `json:"traits_expression,omitempty"` TraitsMap map[string][]string `json:"traits_map,omitempty"` }
TeleportLoginRuleSpec matches the JSON of generated CRD spec (loginrulepb.LoginRule does not actually have a spec field).
func (*TeleportLoginRuleSpec) DeepCopy ¶
func (in *TeleportLoginRuleSpec) DeepCopy() *TeleportLoginRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportLoginRuleSpec.
func (*TeleportLoginRuleSpec) DeepCopyInto ¶
func (in *TeleportLoginRuleSpec) DeepCopyInto(out *TeleportLoginRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeleportLoginRuleStatus ¶
type TeleportLoginRuleStatus struct { // Conditions represent the latest available observations of an object's state // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` // +optional TeleportResourceID int64 `json:"teleportResourceID,omitempty"` }
func (*TeleportLoginRuleStatus) DeepCopy ¶
func (in *TeleportLoginRuleStatus) DeepCopy() *TeleportLoginRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportLoginRuleStatus.
func (*TeleportLoginRuleStatus) DeepCopyInto ¶
func (in *TeleportLoginRuleStatus) DeepCopyInto(out *TeleportLoginRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeleportOktaImportRule ¶
type TeleportOktaImportRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TeleportOktaImportRuleSpec `json:"spec,omitempty"` Status TeleportOktaImportRuleStatus `json:"status,omitempty"` }
TeleportOktaImportRule holds the kubernetes custom resources for okta import rules.
func (*TeleportOktaImportRule) DeepCopy ¶
func (in *TeleportOktaImportRule) DeepCopy() *TeleportOktaImportRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportOktaImportRule.
func (*TeleportOktaImportRule) DeepCopyInto ¶
func (in *TeleportOktaImportRule) DeepCopyInto(out *TeleportOktaImportRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeleportOktaImportRule) DeepCopyObject ¶
func (in *TeleportOktaImportRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TeleportOktaImportRule) StatusConditions ¶
func (l *TeleportOktaImportRule) StatusConditions() *[]metav1.Condition
StatusConditions returns a pointer to Status.Conditions slice. This is used by the teleport resource controller to report conditions back to on resource.
func (TeleportOktaImportRule) ToTeleport ¶
func (o TeleportOktaImportRule) ToTeleport() types.OktaImportRule
ToTeleport returns an OktaImportRule, which wraps the actual types.OktaImportRuleV1 and implements the necessary interface methods used by the TeleportResourceReconciler.
type TeleportOktaImportRuleList ¶
type TeleportOktaImportRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TeleportOktaImportRule `json:"items"` }
TeleportOktaImportRuleList contains a list of TeleportOktaImportRule
func (*TeleportOktaImportRuleList) DeepCopy ¶
func (in *TeleportOktaImportRuleList) DeepCopy() *TeleportOktaImportRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportOktaImportRuleList.
func (*TeleportOktaImportRuleList) DeepCopyInto ¶
func (in *TeleportOktaImportRuleList) DeepCopyInto(out *TeleportOktaImportRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeleportOktaImportRuleList) DeepCopyObject ¶
func (in *TeleportOktaImportRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TeleportOktaImportRuleMapping ¶
type TeleportOktaImportRuleMapping struct { Match []TeleportOktaImportRuleMatch `json:"match,omitempty"` AddLabels map[string]string `json:"add_labels,omitempty"` }
TeleportOktaImportRuleMapping matches the JSON of a mapping definition
func (*TeleportOktaImportRuleMapping) DeepCopy ¶
func (in *TeleportOktaImportRuleMapping) DeepCopy() *TeleportOktaImportRuleMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportOktaImportRuleMapping.
func (*TeleportOktaImportRuleMapping) DeepCopyInto ¶
func (in *TeleportOktaImportRuleMapping) DeepCopyInto(out *TeleportOktaImportRuleMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeleportOktaImportRuleMatch ¶
type TeleportOktaImportRuleMatch struct { AppIDs []string `json:"app_ids,omitempty"` GroupIDs []string `json:"group_ids,omitempty"` AppNameRegexes []string `json:"app_name_regexes,omitempty"` GroupNameRegexes []string `json:"group_name_regexes,omitempty"` }
TeleportOktaImportRuleMatch matches the JSON of a match definition.
func (*TeleportOktaImportRuleMatch) DeepCopy ¶
func (in *TeleportOktaImportRuleMatch) DeepCopy() *TeleportOktaImportRuleMatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportOktaImportRuleMatch.
func (*TeleportOktaImportRuleMatch) DeepCopyInto ¶
func (in *TeleportOktaImportRuleMatch) DeepCopyInto(out *TeleportOktaImportRuleMatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeleportOktaImportRuleSpec ¶
type TeleportOktaImportRuleSpec struct { Priority int32 `json:"priority,omitempty"` Mappings []TeleportOktaImportRuleMapping `json:"mappings,omitempty"` }
TeleportOktaImportRuleSpec matches the JSON of generated CRD spec
func (*TeleportOktaImportRuleSpec) DeepCopy ¶
func (in *TeleportOktaImportRuleSpec) DeepCopy() *TeleportOktaImportRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportOktaImportRuleSpec.
func (*TeleportOktaImportRuleSpec) DeepCopyInto ¶
func (in *TeleportOktaImportRuleSpec) DeepCopyInto(out *TeleportOktaImportRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeleportOktaImportRuleStatus ¶
type TeleportOktaImportRuleStatus struct { // Conditions represent the latest available observations of an object's state // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` // +optional TeleportResourceID int64 `json:"teleportResourceID,omitempty"` }
func (*TeleportOktaImportRuleStatus) DeepCopy ¶
func (in *TeleportOktaImportRuleStatus) DeepCopy() *TeleportOktaImportRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeleportOktaImportRuleStatus.
func (*TeleportOktaImportRuleStatus) DeepCopyInto ¶
func (in *TeleportOktaImportRuleStatus) DeepCopyInto(out *TeleportOktaImportRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.