Documentation ¶
Index ¶
- type NameServer
- func (c NameServer) CreateRecord(ctx context.Context, rType, rKey, rValue string, ttl int32, force bool) (*api.NameserverCreateRecordResp, error)
- func (c NameServer) DeleteRecord(ctx context.Context, key string) error
- func (c NameServer) GetRecord(ctx context.Context, key string) (*api.NameserverGetRecordResp, error)
- func (c NameServer) Status(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NameServer ¶
type NameServer struct {
// contains filtered or unexported fields
}
func (NameServer) CreateRecord ¶ added in v0.0.3
func (c NameServer) CreateRecord(ctx context.Context, rType, rKey, rValue string, ttl int32, force bool) (*api.NameserverCreateRecordResp, error)
func (NameServer) DeleteRecord ¶ added in v0.0.3
func (c NameServer) DeleteRecord(ctx context.Context, key string) error
func (NameServer) GetRecord ¶ added in v0.0.3
func (c NameServer) GetRecord(ctx context.Context, key string) (*api.NameserverGetRecordResp, error)
Click to show internal directories.
Click to hide internal directories.