Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
- Constants
- type Cert
- func (c *Cert) BitSize() int
- func (c *Cert) CommonName() string
- func (c *Cert) Data() *pem.Block
- func (c *Cert) DeleteFile(path string) error
- func (c *Cert) Destination() string
- func (c *Cert) EnsureKey() error
- func (c *Cert) Group() string
- func (c *Cert) IPSans() []string
- func (c *Cert) InstanceToken() *instanceToken.InstanceToken
- func (c *Cert) KeyType() string
- func (c *Cert) Organisation() []string
- func (c *Cert) Owner() string
- func (c *Cert) PemSize() int
- func (c *Cert) RequestCertificate() error
- func (c *Cert) Role() string
- func (c *Cert) RunCert() error
- func (c *Cert) SanHosts() []string
- func (c *Cert) SetBitSize(size int)
- func (c *Cert) SetCommonName(name string)
- func (c *Cert) SetData(data *pem.Block)
- func (c *Cert) SetDestination(destination string)
- func (c *Cert) SetGroup(group string)
- func (c *Cert) SetIPSans(ips []string)
- func (c *Cert) SetInstanceToken(i *instanceToken.InstanceToken)
- func (c *Cert) SetKeyType(keyType string)
- func (c *Cert) SetOrganisation(org []string)
- func (c *Cert) SetOwner(owner string)
- func (c *Cert) SetPemSize(size int)
- func (c *Cert) SetRole(role string)
- func (c *Cert) SetSanHosts(hosts []string)
- func (c *Cert) WritePermissions(path string, perm os.FileMode) error
Constants ¶
View Source
const FlagGroup = "group"
View Source
const FlagIpSans = "ip-sans"
View Source
const FlagKeyBitSize = "key-bit-size"
View Source
const FlagKeyType = "key-type"
View Source
const FlagOrganisation = "organisation"
View Source
const FlagOwner = "owner"
View Source
const FlagSanHosts = "san-hosts"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cert ¶
func New ¶
func New(logger *logrus.Entry, i *instanceToken.InstanceToken) *Cert
func (*Cert) CommonName ¶
func (*Cert) DeleteFile ¶
func (*Cert) Destination ¶
func (*Cert) InstanceToken ¶
func (c *Cert) InstanceToken() *instanceToken.InstanceToken
func (*Cert) Organisation ¶
func (*Cert) RequestCertificate ¶
func (*Cert) SetBitSize ¶
func (*Cert) SetCommonName ¶
func (*Cert) SetDestination ¶
func (*Cert) SetInstanceToken ¶
func (c *Cert) SetInstanceToken(i *instanceToken.InstanceToken)
func (*Cert) SetKeyType ¶
func (*Cert) SetOrganisation ¶
func (*Cert) SetPemSize ¶
func (*Cert) SetSanHosts ¶
Click to show internal directories.
Click to hide internal directories.