Documentation ¶
Index ¶
Constants ¶
View Source
const AssociateOutput = `` /* 285-byte string literal not displayed */
View Source
const DisssociateOutput = `` /* 163-byte string literal not displayed */
View Source
const ListOutput = `` /* 790-byte string literal not displayed */
View Source
const Output = `` /* 309-byte string literal not displayed */
View Source
const UpdateOutput = `` /* 235-byte string literal not displayed */
Variables ¶
View Source
var Associate = &policies.ResultResources{ SuccessResources: []policies.Resource{ {ResourceID: "0f187b65-8d0e-4fc0-9096-3b55d330531e", ResourceType: "volume", Pod: "pod01.eu-de-01", AvailabilityZone: "eu-de-01", }, }, FailResources: []policies.Resource{}, }
View Source
var Disassociate = &policies.ResultResources{ SuccessResources: []policies.Resource{ {ResourceID: "0f187b65-8d0e-4fc0-9096-3b55d330531e"}, }, FailResources: []policies.Resource{}, }
View Source
var Expected = &policies.Policy{ Name: "Test_Policy", ScheduledPolicy: policies.ScheduledPolicy{ Frequency: 1, RemainFirstBackup: "Y", RententionNum: 10, StartTime: "12:00", Status: "ON", }, }
View Source
var ListPolicies = []policies.Policy{ {ID: "ed8b9f73-4415-494d-a54e-5f3373bc353d", Name: "plan01", ScheduledPolicy: policies.ScheduledPolicy{ Frequency: 1, RemainFirstBackup: "Y", RententionNum: 10, StartTime: "12:00", Status: "ON", }, ResourceCount: 0, }, {ID: "8dd473c9-5a80-4ad5-862e-492c9af2b6bd", Name: "plan02", ScheduledPolicy: policies.ScheduledPolicy{ Frequency: 1, RemainFirstBackup: "Y", RententionNum: 10, StartTime: "14:00", Status: "ON", }, ResourceCount: 10, }, }
View Source
var Update = &policies.Policy{ Name: "Test_02", ScheduledPolicy: policies.ScheduledPolicy{ Frequency: 1, RemainFirstBackup: "Y", RententionNum: 10, StartTime: "10:00", Status: "ON", }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.