mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-09 00:09:43 +00:00
modify unused apis, fix docs
This commit is contained in:
@@ -39,9 +39,6 @@ type IRSASetupSpec struct {
|
||||
// Discovery configures the IdP Discovery process, essential for setting up IRSA by locating
|
||||
// the OIDC provider information.
|
||||
Discovery Discovery `json:"discovery"`
|
||||
|
||||
// Auth contains authentication configuration details.
|
||||
Auth Auth `json:"auth,omitempty"`
|
||||
}
|
||||
|
||||
// Discovery holds the configuration for IdP Discovery, which is crucial for locating
|
||||
@@ -60,21 +57,6 @@ type S3Discovery struct {
|
||||
BucketName string `json:"bucketName"`
|
||||
}
|
||||
|
||||
// Auth holds the authentication configuration details.
|
||||
type Auth struct {
|
||||
// SecretRef specifies the reference to the Kubernetes secret containing authentication details.
|
||||
SecretRef SecretRef `json:"secretRef"`
|
||||
}
|
||||
|
||||
// SecretRef contains the reference to a Kubernetes secret.
|
||||
type SecretRef struct {
|
||||
// Name specifies the name of the secret.
|
||||
Name string `json:"name"`
|
||||
|
||||
// Namespace specifies the namespace of the secret.
|
||||
Namespace string `json:"namespace,omitempty"`
|
||||
}
|
||||
|
||||
// IRSASetupStatus defines the observed state of IRSASetup
|
||||
type IRSASetupStatus struct {
|
||||
SelfHostedSetup []metav1.Condition `json:"selfHostedSetup,omitempty"`
|
||||
|
||||
@@ -25,22 +25,6 @@ import (
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Auth) DeepCopyInto(out *Auth) {
|
||||
*out = *in
|
||||
out.SecretRef = in.SecretRef
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Auth.
|
||||
func (in *Auth) DeepCopy() *Auth {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Auth)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Discovery) DeepCopyInto(out *Discovery) {
|
||||
*out = *in
|
||||
@@ -199,7 +183,6 @@ func (in *IRSASetupList) DeepCopyObject() runtime.Object {
|
||||
func (in *IRSASetupSpec) DeepCopyInto(out *IRSASetupSpec) {
|
||||
*out = *in
|
||||
out.Discovery = in.Discovery
|
||||
out.Auth = in.Auth
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IRSASetupSpec.
|
||||
@@ -307,18 +290,3 @@ func (in *S3Discovery) DeepCopy() *S3Discovery {
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *SecretRef) DeepCopyInto(out *SecretRef) {
|
||||
*out = *in
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef.
|
||||
func (in *SecretRef) DeepCopy() *SecretRef {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(SecretRef)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user