Documentation ¶
Overview ¶
Package v1alpha1 contains the resources of the provider. +kubebuilder:object:generate=true +groupName=authn.krateo.io +versionName=v1alpha1
Index ¶
Constants ¶
const ( Group = "authn.krateo.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( StrategyKind = reflect.TypeOf(Strategy{}).Name() StrategyGroupKind = schema.GroupKind{Group: Group, Kind: StrategyKind}.String() StrategyKindAPIVersion = StrategyKind + "." + SchemeGroupVersion.String() StrategyGroupVersionKind = SchemeGroupVersion.WithKind(StrategyKind) )
Strategy type metadata.
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} )
Functions ¶
This section is empty.
Types ¶
type Strategy ¶
type Strategy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StrategyParams `json:"spec"` }
A Strategy is a AuthN API type. +kubebuilder:resource:scope=Cluster,categories={managed,krateo,authn}
func (*Strategy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Strategy.
func (*Strategy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Strategy) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StrategyList ¶
type StrategyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []StrategyList `json:"items"` }
StrategyList contains a list of Strategy
func (*StrategyList) DeepCopy ¶
func (in *StrategyList) DeepCopy() *StrategyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyList.
func (*StrategyList) DeepCopyInto ¶
func (in *StrategyList) DeepCopyInto(out *StrategyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StrategyList) DeepCopyObject ¶
func (in *StrategyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StrategyParams ¶
type StrategyParams struct { // Name: descriptive name for this strategy. Name string `json:"name"` // Config: authn configuration data. Config string `json:"config"` // Strategy: type of AuthN strategy (i.e. basic, github, microsoft, etc.). Strategy string `json:"strategy"` // Type: type of this strategy handler. Type string `json:"type"` // Icon: icon of this strategy handler. Icon string `json:"icon"` // Color: color of this strategy handler. Color string `json:"color"` }
StrategyParams describe an AuthN Krateo strategy.
func (*StrategyParams) DeepCopy ¶
func (in *StrategyParams) DeepCopy() *StrategyParams
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyParams.
func (*StrategyParams) DeepCopyInto ¶
func (in *StrategyParams) DeepCopyInto(out *StrategyParams)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.