Skip to content

Commit

Permalink
chore: drop deprecated code
Browse files Browse the repository at this point in the history
This was done pre-1.5, so time to drop compatibility shims to make things
less confusing.

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira committed Oct 24, 2023
1 parent cc0c3ab commit c7de745
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 484 deletions.
7 changes: 0 additions & 7 deletions pkg/machinery/config/generate/secrets/clock.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,3 @@ func (c *SystemClock) Now() time.Time {

return c.fixedTime
}

// SetFixedTimestamp freezes the clock by setting a timestamp.
//
// Deprecated: use NewFixedClock instead.
func (c *SystemClock) SetFixedTimestamp(t time.Time) {
c.fixedTime = t
}
4 changes: 0 additions & 4 deletions pkg/machinery/config/generate/secrets/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ type Bundle struct {

// Certs holds the base64 encoded keys and certificates.
type Certs struct {
// Admin is Talos admin talosconfig client certificate and key.
//
// Deprecated: should not be used anymore.
Admin *x509.PEMEncodedCertificateAndKey `json:"Admin,omitempty" yaml:",omitempty"`
// Etcd is etcd CA certificate and key.
Etcd *x509.PEMEncodedCertificateAndKey `json:"Etcd"`
// K8s is Kubernetes CA certificate and key.
Expand Down
19 changes: 0 additions & 19 deletions pkg/machinery/config/types/v1alpha1/bundle/bundle.go

This file was deleted.

97 changes: 0 additions & 97 deletions pkg/machinery/config/types/v1alpha1/bundle/options.go

This file was deleted.

137 changes: 0 additions & 137 deletions pkg/machinery/config/types/v1alpha1/generate/generate.go

This file was deleted.

Loading

0 comments on commit c7de745

Please sign in to comment.