Documentation
¶
Index ¶
- type TalosCredentialsResource
- func (r *TalosCredentialsResource) CleanUp(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (bool, error)
- func (r *TalosCredentialsResource) CreateOrUpdate(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
- func (r *TalosCredentialsResource) Define(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
- func (r *TalosCredentialsResource) GetHistogram() prometheus.Histogram
- func (r *TalosCredentialsResource) GetName() string
- func (r *TalosCredentialsResource) ShouldCleanup(tcp *stewardv1alpha1.TenantControlPlane) bool
- func (r *TalosCredentialsResource) ShouldStatusBeUpdated(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) bool
- func (r *TalosCredentialsResource) UpdateTenantControlPlaneStatus(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
- type TalosDeploymentResource
- func (r *TalosDeploymentResource) CleanUp(ctx context.Context, _ *stewardv1alpha1.TenantControlPlane) (bool, error)
- func (r *TalosDeploymentResource) CreateOrUpdate(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
- func (r *TalosDeploymentResource) Define(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
- func (r *TalosDeploymentResource) GetHistogram() prometheus.Histogram
- func (r *TalosDeploymentResource) GetName() string
- func (r *TalosDeploymentResource) ShouldCleanup(tcp *stewardv1alpha1.TenantControlPlane) bool
- func (r *TalosDeploymentResource) ShouldStatusBeUpdated(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) bool
- func (r *TalosDeploymentResource) UpdateTenantControlPlaneStatus(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
- type TalosGatewayResource
- func (r *TalosGatewayResource) CleanUp(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (bool, error)
- func (r *TalosGatewayResource) CreateOrUpdate(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
- func (r *TalosGatewayResource) Define(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
- func (r *TalosGatewayResource) GetHistogram() prometheus.Histogram
- func (r *TalosGatewayResource) GetName() string
- func (r *TalosGatewayResource) ShouldCleanup(tcp *stewardv1alpha1.TenantControlPlane) bool
- func (r *TalosGatewayResource) ShouldStatusBeUpdated(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) bool
- func (r *TalosGatewayResource) UpdateTenantControlPlaneStatus(_ context.Context, _ *stewardv1alpha1.TenantControlPlane) error
- type TalosServiceResource
- func (r *TalosServiceResource) CleanUp(ctx context.Context, _ *stewardv1alpha1.TenantControlPlane) (bool, error)
- func (r *TalosServiceResource) CreateOrUpdate(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
- func (r *TalosServiceResource) Define(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
- func (r *TalosServiceResource) GetHistogram() prometheus.Histogram
- func (r *TalosServiceResource) GetName() string
- func (r *TalosServiceResource) ShouldCleanup(tcp *stewardv1alpha1.TenantControlPlane) bool
- func (r *TalosServiceResource) ShouldStatusBeUpdated(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) bool
- func (r *TalosServiceResource) UpdateTenantControlPlaneStatus(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
- type TalosTraefikIngressRouteTCPResource
- func (r *TalosTraefikIngressRouteTCPResource) CleanUp(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (bool, error)
- func (r *TalosTraefikIngressRouteTCPResource) CreateOrUpdate(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
- func (r *TalosTraefikIngressRouteTCPResource) Define(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
- func (r *TalosTraefikIngressRouteTCPResource) GetHistogram() prometheus.Histogram
- func (r *TalosTraefikIngressRouteTCPResource) GetName() string
- func (r *TalosTraefikIngressRouteTCPResource) ShouldCleanup(tcp *stewardv1alpha1.TenantControlPlane) bool
- func (r *TalosTraefikIngressRouteTCPResource) ShouldStatusBeUpdated(_ context.Context, _ *stewardv1alpha1.TenantControlPlane) bool
- func (r *TalosTraefikIngressRouteTCPResource) UpdateTenantControlPlaneStatus(_ context.Context, _ *stewardv1alpha1.TenantControlPlane) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TalosCredentialsResource ¶
type TalosCredentialsResource struct {
Client client.Client
// contains filtered or unexported fields
}
TalosCredentialsResource manages the OS credential Secret for steward-trustd.
func (*TalosCredentialsResource) CleanUp ¶
func (r *TalosCredentialsResource) CleanUp(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (bool, error)
func (*TalosCredentialsResource) CreateOrUpdate ¶
func (r *TalosCredentialsResource) CreateOrUpdate(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
func (*TalosCredentialsResource) Define ¶
func (r *TalosCredentialsResource) Define(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
func (*TalosCredentialsResource) GetHistogram ¶
func (r *TalosCredentialsResource) GetHistogram() prometheus.Histogram
func (*TalosCredentialsResource) GetName ¶
func (r *TalosCredentialsResource) GetName() string
func (*TalosCredentialsResource) ShouldCleanup ¶
func (r *TalosCredentialsResource) ShouldCleanup(tcp *stewardv1alpha1.TenantControlPlane) bool
func (*TalosCredentialsResource) ShouldStatusBeUpdated ¶
func (r *TalosCredentialsResource) ShouldStatusBeUpdated(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) bool
func (*TalosCredentialsResource) UpdateTenantControlPlaneStatus ¶
func (r *TalosCredentialsResource) UpdateTenantControlPlaneStatus(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
type TalosDeploymentResource ¶
type TalosDeploymentResource struct {
Builder builder.Trustd
Client client.Client
// contains filtered or unexported fields
}
TalosDeploymentResource patches the TCP Deployment to add/remove the steward-trustd sidecar. Follows the konnectivity KubernetesDeploymentResource pattern.
func (*TalosDeploymentResource) CleanUp ¶
func (r *TalosDeploymentResource) CleanUp(ctx context.Context, _ *stewardv1alpha1.TenantControlPlane) (bool, error)
func (*TalosDeploymentResource) CreateOrUpdate ¶
func (r *TalosDeploymentResource) CreateOrUpdate(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
func (*TalosDeploymentResource) Define ¶
func (r *TalosDeploymentResource) Define(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
func (*TalosDeploymentResource) GetHistogram ¶
func (r *TalosDeploymentResource) GetHistogram() prometheus.Histogram
func (*TalosDeploymentResource) GetName ¶
func (r *TalosDeploymentResource) GetName() string
func (*TalosDeploymentResource) ShouldCleanup ¶
func (r *TalosDeploymentResource) ShouldCleanup(tcp *stewardv1alpha1.TenantControlPlane) bool
func (*TalosDeploymentResource) ShouldStatusBeUpdated ¶
func (r *TalosDeploymentResource) ShouldStatusBeUpdated(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) bool
func (*TalosDeploymentResource) UpdateTenantControlPlaneStatus ¶
func (r *TalosDeploymentResource) UpdateTenantControlPlaneStatus(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
type TalosGatewayResource ¶
TalosGatewayResource manages a TLSRoute for trustd on the steward-trustd Gateway listener.
func (*TalosGatewayResource) CleanUp ¶
func (r *TalosGatewayResource) CleanUp(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (bool, error)
func (*TalosGatewayResource) CreateOrUpdate ¶
func (r *TalosGatewayResource) CreateOrUpdate(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
func (*TalosGatewayResource) Define ¶
func (r *TalosGatewayResource) Define(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
func (*TalosGatewayResource) GetHistogram ¶
func (r *TalosGatewayResource) GetHistogram() prometheus.Histogram
func (*TalosGatewayResource) GetName ¶
func (r *TalosGatewayResource) GetName() string
func (*TalosGatewayResource) ShouldCleanup ¶
func (r *TalosGatewayResource) ShouldCleanup(tcp *stewardv1alpha1.TenantControlPlane) bool
func (*TalosGatewayResource) ShouldStatusBeUpdated ¶
func (r *TalosGatewayResource) ShouldStatusBeUpdated(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) bool
func (*TalosGatewayResource) UpdateTenantControlPlaneStatus ¶
func (r *TalosGatewayResource) UpdateTenantControlPlaneStatus(_ context.Context, _ *stewardv1alpha1.TenantControlPlane) error
type TalosServiceResource ¶
TalosServiceResource appends the trustd port to the existing TCP Service. Follows the konnectivity ServiceResource pattern.
func (*TalosServiceResource) CleanUp ¶
func (r *TalosServiceResource) CleanUp(ctx context.Context, _ *stewardv1alpha1.TenantControlPlane) (bool, error)
func (*TalosServiceResource) CreateOrUpdate ¶
func (r *TalosServiceResource) CreateOrUpdate(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
func (*TalosServiceResource) Define ¶
func (r *TalosServiceResource) Define(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
func (*TalosServiceResource) GetHistogram ¶
func (r *TalosServiceResource) GetHistogram() prometheus.Histogram
func (*TalosServiceResource) GetName ¶
func (r *TalosServiceResource) GetName() string
func (*TalosServiceResource) ShouldCleanup ¶
func (r *TalosServiceResource) ShouldCleanup(tcp *stewardv1alpha1.TenantControlPlane) bool
func (*TalosServiceResource) ShouldStatusBeUpdated ¶
func (r *TalosServiceResource) ShouldStatusBeUpdated(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) bool
func (*TalosServiceResource) UpdateTenantControlPlaneStatus ¶
func (r *TalosServiceResource) UpdateTenantControlPlaneStatus(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
type TalosTraefikIngressRouteTCPResource ¶
type TalosTraefikIngressRouteTCPResource struct {
Client client.Client
// contains filtered or unexported fields
}
TalosTraefikIngressRouteTCPResource manages a Traefik IngressRouteTCP for trustd on the "trustd" entryPoint (port 50001) with HostSNI routing.
func (*TalosTraefikIngressRouteTCPResource) CleanUp ¶
func (r *TalosTraefikIngressRouteTCPResource) CleanUp(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (bool, error)
func (*TalosTraefikIngressRouteTCPResource) CreateOrUpdate ¶
func (r *TalosTraefikIngressRouteTCPResource) CreateOrUpdate(ctx context.Context, tcp *stewardv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
func (*TalosTraefikIngressRouteTCPResource) Define ¶
func (r *TalosTraefikIngressRouteTCPResource) Define(_ context.Context, tcp *stewardv1alpha1.TenantControlPlane) error
func (*TalosTraefikIngressRouteTCPResource) GetHistogram ¶
func (r *TalosTraefikIngressRouteTCPResource) GetHistogram() prometheus.Histogram
func (*TalosTraefikIngressRouteTCPResource) GetName ¶
func (r *TalosTraefikIngressRouteTCPResource) GetName() string
func (*TalosTraefikIngressRouteTCPResource) ShouldCleanup ¶
func (r *TalosTraefikIngressRouteTCPResource) ShouldCleanup(tcp *stewardv1alpha1.TenantControlPlane) bool
func (*TalosTraefikIngressRouteTCPResource) ShouldStatusBeUpdated ¶
func (r *TalosTraefikIngressRouteTCPResource) ShouldStatusBeUpdated(_ context.Context, _ *stewardv1alpha1.TenantControlPlane) bool
func (*TalosTraefikIngressRouteTCPResource) UpdateTenantControlPlaneStatus ¶
func (r *TalosTraefikIngressRouteTCPResource) UpdateTenantControlPlaneStatus(_ context.Context, _ *stewardv1alpha1.TenantControlPlane) error
Click to show internal directories.
Click to hide internal directories.