Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the aadpi-terminator v1alpha1 API group +kubebuilder:object:generate=true +groupName=azidterminator.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "azidterminator.io", Version: "v1alpha1"} // 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 AppRegistration ¶
type AppRegistration struct { DisplayName string `json:"displayName,omitempty"` ObjectID *string `json:"objectID,omitempty"` }
func (*AppRegistration) DeepCopy ¶
func (in *AppRegistration) DeepCopy() *AppRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppRegistration.
func (*AppRegistration) DeepCopyInto ¶
func (in *AppRegistration) DeepCopyInto(out *AppRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureIdentityTerminator ¶
type AzureIdentityTerminator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AzureIdentityTerminatorSpec `json:"spec,omitempty"` Status AzureIdentityTerminatorStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:shortName="azidt" +kubebuilder:subresource:status +kubebuilder:printcolumn:name="AADApplication",type="string",JSONPath=".spec.appRegistration.displayName",description="The name of the Azure AD Application registered" +kubebuilder:printcolumn:name="ClientSecretDuration",type="string",JSONPath=".spec.servicePrincipal.clientSecretDuration",description="The life time of the ClientSecret" +kubebuilder:printcolumn:name="ClientSecretExp",type="string",JSONPath=".status.servicePrincipal.clientSecretExpiration",description="The time the ClientSecret will expire" +kubebuilder:printcolumn:name="PodSelector",type="string",JSONPath=".spec.podSelector",description="The selector that will bind pods to the AzureIdentityBinding" AzureIdentityTerminator is the Schema for the azureidentityterminators API
func (*AzureIdentityTerminator) DeepCopy ¶
func (in *AzureIdentityTerminator) DeepCopy() *AzureIdentityTerminator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureIdentityTerminator.
func (*AzureIdentityTerminator) DeepCopyInto ¶
func (in *AzureIdentityTerminator) DeepCopyInto(out *AzureIdentityTerminator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureIdentityTerminator) DeepCopyObject ¶
func (in *AzureIdentityTerminator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AzureIdentityTerminatorList ¶
type AzureIdentityTerminatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AzureIdentityTerminator `json:"items"` }
+kubebuilder:object:root=true AzureIdentityTerminatorList contains a list of AzureIdentityTerminator
func (*AzureIdentityTerminatorList) DeepCopy ¶
func (in *AzureIdentityTerminatorList) DeepCopy() *AzureIdentityTerminatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureIdentityTerminatorList.
func (*AzureIdentityTerminatorList) DeepCopyInto ¶
func (in *AzureIdentityTerminatorList) DeepCopyInto(out *AzureIdentityTerminatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureIdentityTerminatorList) DeepCopyObject ¶
func (in *AzureIdentityTerminatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AzureIdentityTerminatorSpec ¶
type AzureIdentityTerminatorSpec struct { AppRegistration AppRegistration `json:"appRegistration,omitempty"` AzureIdentityName string `json:"azureIdentityName"` NodeResourceGroup string `json:"nodeResourceGroup"` PodSelector string `json:"podSelector"` ServicePrincipal ServicePrincipal `json:"servicePrincipal,omitempty"` }
AzureIdentityTerminatorSpec defines the desired state of AzureIdentityTerminator
func (*AzureIdentityTerminatorSpec) DeepCopy ¶
func (in *AzureIdentityTerminatorSpec) DeepCopy() *AzureIdentityTerminatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureIdentityTerminatorSpec.
func (*AzureIdentityTerminatorSpec) DeepCopyInto ¶
func (in *AzureIdentityTerminatorSpec) DeepCopyInto(out *AzureIdentityTerminatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureIdentityTerminatorStatus ¶
type AzureIdentityTerminatorStatus struct { AppRegistration AppRegistration `json:"appRegistration,omitempty"` AzureIdentityBinding string `json:"azureIdentityBinding,omitempty"` RoleAssignment RoleAssignment `json:"roleAssignment,omitempty"` ServicePrincipal ServicePrincipal `json:"servicePrincipal,omitempty"` }
AzureIdentityTerminatorStatus defines the observed state of AzureIdentityTerminator
func (*AzureIdentityTerminatorStatus) DeepCopy ¶
func (in *AzureIdentityTerminatorStatus) DeepCopy() *AzureIdentityTerminatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureIdentityTerminatorStatus.
func (*AzureIdentityTerminatorStatus) DeepCopyInto ¶
func (in *AzureIdentityTerminatorStatus) DeepCopyInto(out *AzureIdentityTerminatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleAssignment ¶
type RoleAssignment struct { Name *string `json:"name,omitempty"` ObjectID *string `json:"objectID,omitempty"` }
func (*RoleAssignment) DeepCopy ¶
func (in *RoleAssignment) DeepCopy() *RoleAssignment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignment.
func (*RoleAssignment) DeepCopyInto ¶
func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicePrincipal ¶
type ServicePrincipal struct { ClientSecretDuration string `json:"clientSecretDuration,omitempty"` ClientSecretExpiration *metav1.Time `json:"clientSecretExpiration,omitempty"` ObjectID *string `json:"objectID,omitempty"` Tags []string `json:"tags,omitempty"` }
func (*ServicePrincipal) DeepCopy ¶
func (in *ServicePrincipal) DeepCopy() *ServicePrincipal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePrincipal.
func (*ServicePrincipal) DeepCopyInto ¶
func (in *ServicePrincipal) DeepCopyInto(out *ServicePrincipal)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.