Documentation ¶
Index ¶
- Variables
- func GetRecordFromZoneID(ctx context.Context, cl api.ClientInterface, zoneID string, recordName string, ...) (*zones.Record, error)
- func GetRecordFromZoneName(ctx context.Context, cl api.ClientInterface, zonename string, ...) (*zones.Record, error)
- func GetZoneFromServiceCode(ctx context.Context, cl api.ClientInterface, serviceCode string) (*core.Zone, error)
- func GetZoneFromZonename(ctx context.Context, cl api.ClientInterface, zonename string) (*core.Zone, error)
- func GetZoneIDFromZonename(ctx context.Context, cl api.ClientInterface, zonename string) (string, error)
- func GetZoneIdFromServiceCode(ctx context.Context, cl api.ClientInterface, serviceCode string) (string, error)
- func ParseeResourceID(job *core.Job) (int64, error)
- func ParseeResourceSystemID(job *core.Job) (string, error)
- func SyncApply(ctx context.Context, cl api.ClientInterface, s api.Spec, body interface{}) (string, *core.Job, error)
- func SyncCancel(ctx context.Context, cl api.ClientInterface, s api.Spec) (string, *core.Job, error)
- func SyncCreate(ctx context.Context, cl api.ClientInterface, s api.Spec, body interface{}) (string, *core.Job, error)
- func SyncDelete(ctx context.Context, cl api.ClientInterface, s api.Spec) (string, *core.Job, error)
- func SyncUpdate(ctx context.Context, cl api.ClientInterface, s api.Spec, body interface{}) (string, *core.Job, error)
- func WaitJob(ctx context.Context, c api.ClientInterface, jobID string, ...) (*core.Job, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrZoneNotFound = fmt.Errorf("zone not found") ErrRecordNotFound = fmt.Errorf("record not found") )
Functions ¶
func GetRecordFromZoneID ¶ added in v0.6.0
func GetRecordFromZoneName ¶ added in v0.5.0
func GetZoneFromServiceCode ¶ added in v0.6.2
func GetZoneFromZonename ¶ added in v0.5.0
func GetZoneIDFromZonename ¶ added in v0.6.0
func GetZoneIdFromServiceCode ¶ added in v0.6.2
func ParseeResourceSystemID ¶ added in v0.6.1
func SyncCancel ¶ added in v0.5.0
func SyncCreate ¶ added in v0.5.0
func SyncDelete ¶ added in v0.5.0
func SyncUpdate ¶ added in v0.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.