v1

package
v1.3.3-0...-f31c912 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the resources v2 API group +kubebuilder:object:generate=true +groupName=resources.teleport.dev

Index

Constants

This section is empty.

Variables

View Source
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

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

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

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

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

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

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

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

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

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

func (*TeleportOktaImportRuleList) DeepCopyInto

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

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

func (*TeleportOktaImportRuleMapping) DeepCopyInto

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

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

func (*TeleportOktaImportRuleMatch) DeepCopyInto

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

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

func (*TeleportOktaImportRuleSpec) DeepCopyInto

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

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

func (*TeleportOktaImportRuleStatus) DeepCopyInto

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