Documentation ¶
Index ¶
- type Keypair
- func (e *Keypair) Certificates() *fi.CloudupTaskDependentResource
- func (_ *Keypair) CheckChanges(a, e, changes *Keypair) error
- func (e *Keypair) CheckExisting(c *fi.CloudupContext) bool
- func (e *Keypair) CompareWithID() *string
- func (e *Keypair) Find(c *fi.CloudupContext) (*Keypair, error)
- func (o *Keypair) GetLifecycle() fi.Lifecycle
- func (o *Keypair) GetName() *string
- func (e *Keypair) Keyset() *fi.Keyset
- func (e *Keypair) Normalize(c *fi.CloudupContext) error
- func (_ *Keypair) Render(c *fi.CloudupContext, a, e, changes *Keypair) error
- func (e *Keypair) Run(c *fi.CloudupContext) error
- func (o *Keypair) SetLifecycle(lifecycle fi.Lifecycle)
- func (_ *Keypair) ShouldCreate(a, e, changes *Keypair) (bool, error)
- func (o *Keypair) String() string
- type ManagedFile
- func (s *ManagedFile) CheckChanges(a, e, changes *ManagedFile) error
- func (e *ManagedFile) Find(c *fi.CloudupContext) (*ManagedFile, error)
- func (o *ManagedFile) GetLifecycle() fi.Lifecycle
- func (o *ManagedFile) GetName() *string
- func (_ *ManagedFile) Render(c *fi.CloudupContext, a, e, changes *ManagedFile) error
- func (f *ManagedFile) RenderTerraform(c *fi.CloudupContext, t *terraform.TerraformTarget, a, e, changes *ManagedFile) error
- func (e *ManagedFile) Run(c *fi.CloudupContext) error
- func (o *ManagedFile) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *ManagedFile) String() string
- type MirrorKeystore
- func (s *MirrorKeystore) CheckChanges(a, e, changes *MirrorKeystore) error
- func (e *MirrorKeystore) Find(c *fi.CloudupContext) (*MirrorKeystore, error)
- func (e *MirrorKeystore) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
- func (o *MirrorKeystore) GetLifecycle() fi.Lifecycle
- func (o *MirrorKeystore) GetName() *string
- func (_ *MirrorKeystore) Render(c *fi.CloudupContext, a, e, changes *MirrorKeystore) error
- func (e *MirrorKeystore) Run(c *fi.CloudupContext) error
- func (o *MirrorKeystore) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *MirrorKeystore) String() string
- type MirrorSecrets
- func (s *MirrorSecrets) CheckChanges(a, e, changes *MirrorSecrets) error
- func (e *MirrorSecrets) Find(c *fi.CloudupContext) (*MirrorSecrets, error)
- func (e *MirrorSecrets) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
- func (o *MirrorSecrets) GetLifecycle() fi.Lifecycle
- func (o *MirrorSecrets) GetName() *string
- func (_ *MirrorSecrets) Render(c *fi.CloudupContext, a, e, changes *MirrorSecrets) error
- func (e *MirrorSecrets) Run(c *fi.CloudupContext) error
- func (o *MirrorSecrets) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *MirrorSecrets) String() string
- type Secret
- func (s *Secret) CheckChanges(a, e, changes *Secret) error
- func (e *Secret) CheckExisting(c *fi.CloudupContext) bool
- func (e *Secret) Find(c *fi.CloudupContext) (*Secret, error)
- func (o *Secret) GetLifecycle() fi.Lifecycle
- func (o *Secret) GetName() *string
- func (_ *Secret) Render(c *fi.CloudupContext, a, e, changes *Secret) error
- func (e *Secret) Run(c *fi.CloudupContext) error
- func (o *Secret) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Secret) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keypair ¶
type Keypair struct { // Name is the name of the keypair Name *string // AlternateNames a list of alternative names for this certificate AlternateNames []string `json:"alternateNames"` // Lifecycle is context for a task Lifecycle fi.Lifecycle // Signer is the keypair to use to sign, for when we want to use an alternative CA Signer *Keypair // Subject is the certificate subject Subject string `json:"subject"` // Issuer is the certificate issuer, if not the same as the subject. Issuer string `json:"issuer"` // Type the type of certificate i.e. CA, server, client etc Type string `json:"type"` // LegacyFormat is whether the keypair is stored in a legacy format. LegacyFormat bool `json:"oldFormat"` // contains filtered or unexported fields }
+kops:fitask
func (*Keypair) Certificates ¶ added in v1.21.3
func (e *Keypair) Certificates() *fi.CloudupTaskDependentResource
func (*Keypair) CheckChanges ¶
func (*Keypair) CheckExisting ¶
func (e *Keypair) CheckExisting(c *fi.CloudupContext) bool
It's important always to check for the existing key, so we don't regenerate keys e.g. on terraform
func (*Keypair) CompareWithID ¶ added in v1.10.0
func (*Keypair) GetLifecycle ¶ added in v1.10.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Keypair) Normalize ¶ added in v1.26.0
func (e *Keypair) Normalize(c *fi.CloudupContext) error
func (*Keypair) Render ¶
func (_ *Keypair) Render(c *fi.CloudupContext, a, e, changes *Keypair) error
func (*Keypair) SetLifecycle ¶ added in v1.10.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Keypair) ShouldCreate ¶ added in v1.21.3
type ManagedFile ¶
type ManagedFile struct { Name *string Lifecycle fi.Lifecycle // Base is the root location of the store for the managed file Base *string // Location is the relative path of the managed file Location *string Contents fi.Resource // PublicACL controls whether the _object_ has an ACL which grants world-readable status. // Note that the _bucket_ may itself have a grant for world-readable; that is separate. PublicACL *bool }
+kops:fitask
func (*ManagedFile) CheckChanges ¶
func (s *ManagedFile) CheckChanges(a, e, changes *ManagedFile) error
func (*ManagedFile) Find ¶
func (e *ManagedFile) Find(c *fi.CloudupContext) (*ManagedFile, error)
func (*ManagedFile) GetLifecycle ¶ added in v1.10.0
func (o *ManagedFile) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*ManagedFile) GetName ¶ added in v1.10.0
func (o *ManagedFile) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*ManagedFile) Render ¶
func (_ *ManagedFile) Render(c *fi.CloudupContext, a, e, changes *ManagedFile) error
func (*ManagedFile) RenderTerraform ¶ added in v1.21.3
func (f *ManagedFile) RenderTerraform(c *fi.CloudupContext, t *terraform.TerraformTarget, a, e, changes *ManagedFile) error
RenderTerraform is responsible for rendering the terraform json.
func (*ManagedFile) Run ¶
func (e *ManagedFile) Run(c *fi.CloudupContext) error
func (*ManagedFile) SetLifecycle ¶ added in v1.10.0
func (o *ManagedFile) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*ManagedFile) String ¶ added in v1.10.0
func (o *ManagedFile) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type MirrorKeystore ¶ added in v1.10.0
+kops:fitask
func (*MirrorKeystore) CheckChanges ¶ added in v1.10.0
func (s *MirrorKeystore) CheckChanges(a, e, changes *MirrorKeystore) error
CheckChanges implements fi.Task::CheckChanges
func (*MirrorKeystore) Find ¶ added in v1.10.0
func (e *MirrorKeystore) Find(c *fi.CloudupContext) (*MirrorKeystore, error)
Find implements fi.Task::Find
func (*MirrorKeystore) GetDependencies ¶ added in v1.10.0
func (e *MirrorKeystore) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
GetDependencies returns the dependencies for a MirrorKeystore task - it must run after all secrets have been run
func (*MirrorKeystore) GetLifecycle ¶ added in v1.10.0
func (o *MirrorKeystore) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*MirrorKeystore) GetName ¶ added in v1.10.0
func (o *MirrorKeystore) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*MirrorKeystore) Render ¶ added in v1.10.0
func (_ *MirrorKeystore) Render(c *fi.CloudupContext, a, e, changes *MirrorKeystore) error
Render implements fi.Task::Render
func (*MirrorKeystore) Run ¶ added in v1.10.0
func (e *MirrorKeystore) Run(c *fi.CloudupContext) error
Run implements fi.Task::Run
func (*MirrorKeystore) SetLifecycle ¶ added in v1.10.0
func (o *MirrorKeystore) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*MirrorKeystore) String ¶ added in v1.10.0
func (o *MirrorKeystore) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type MirrorSecrets ¶ added in v1.10.0
+kops:fitask
func (*MirrorSecrets) CheckChanges ¶ added in v1.10.0
func (s *MirrorSecrets) CheckChanges(a, e, changes *MirrorSecrets) error
CheckChanges implements fi.Task::CheckChanges
func (*MirrorSecrets) Find ¶ added in v1.10.0
func (e *MirrorSecrets) Find(c *fi.CloudupContext) (*MirrorSecrets, error)
Find implements fi.Task::Find
func (*MirrorSecrets) GetDependencies ¶ added in v1.10.0
func (e *MirrorSecrets) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
GetDependencies returns the dependencies for a MirrorSecrets task - it must run after all secrets have been run
func (*MirrorSecrets) GetLifecycle ¶ added in v1.10.0
func (o *MirrorSecrets) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*MirrorSecrets) GetName ¶ added in v1.10.0
func (o *MirrorSecrets) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*MirrorSecrets) Render ¶ added in v1.10.0
func (_ *MirrorSecrets) Render(c *fi.CloudupContext, a, e, changes *MirrorSecrets) error
Render implements fi.Task::Render
func (*MirrorSecrets) Run ¶ added in v1.10.0
func (e *MirrorSecrets) Run(c *fi.CloudupContext) error
Run implements fi.Task::Run
func (*MirrorSecrets) SetLifecycle ¶ added in v1.10.0
func (o *MirrorSecrets) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*MirrorSecrets) String ¶ added in v1.10.0
func (o *MirrorSecrets) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type Secret ¶
+kops:fitask
func (*Secret) CheckChanges ¶
func (*Secret) CheckExisting ¶
func (e *Secret) CheckExisting(c *fi.CloudupContext) bool
It's important always to check for the existing Secret, so we don't regenerate tokens e.g. on terraform
func (*Secret) GetLifecycle ¶ added in v1.10.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Secret) SetLifecycle ¶ added in v1.10.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle