Documentation
¶
Index ¶
- Variables
- func RegisterTypes(reg *registry.Registry)
- type DNSRecord
- func (o *DNSRecord) Create(ctx context.Context, meta interface{}) error
- func (o *DNSRecord) Delete(ctx context.Context, meta interface{}) error
- func (o *DNSRecord) GetName() string
- func (o *DNSRecord) Read(ctx context.Context, meta interface{}) error
- func (o *DNSRecord) ReferenceID() string
- func (o *DNSRecord) Update(ctx context.Context, meta interface{}) error
- type OriginCertificate
- func (o *OriginCertificate) Create(ctx context.Context, meta interface{}) error
- func (o *OriginCertificate) Delete(ctx context.Context, meta interface{}) error
- func (o *OriginCertificate) GetName() string
- func (o *OriginCertificate) Read(ctx context.Context, meta interface{}) error
- func (o *OriginCertificate) Update(ctx context.Context, meta interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Types = []registry.Resource{ (*DNSRecord)(nil), (*OriginCertificate)(nil), }
Functions ¶
func RegisterTypes ¶
Types ¶
type DNSRecord ¶
type DNSRecord struct {
registry.ResourceBase
ZoneID fields.StringInputField `state:"force_new"`
Name fields.StringInputField
Type fields.StringInputField
Value fields.StringInputField
Proxied fields.BoolInputField
ID fields.StringOutputField
}
func (*DNSRecord) ReferenceID ¶
type OriginCertificate ¶
type OriginCertificate struct {
registry.ResourceBase
Hostnames fields.ArrayInputField `state:"force_new"`
RequestType fields.StringInputField `state:"force_new" default:"origin-rsa"`
RequestValidity fields.IntInputField `state:"force_new" default:"5475"`
ID fields.StringOutputField
ExpiresOn fields.IntOutputField
CSR fields.StringOutputField
Certificate fields.StringOutputField
PrivateKey fields.StringOutputField
}
func (*OriginCertificate) Create ¶
func (o *OriginCertificate) Create(ctx context.Context, meta interface{}) error
func (*OriginCertificate) Delete ¶
func (o *OriginCertificate) Delete(ctx context.Context, meta interface{}) error
func (*OriginCertificate) GetName ¶
func (o *OriginCertificate) GetName() string
Click to show internal directories.
Click to hide internal directories.