Skip to content

Commit

Permalink
Fix unit tests (#25)
Browse files Browse the repository at this point in the history
Signed-off-by: hossainemruz <[email protected]>
  • Loading branch information
kodiakhq[bot] authored and tamalsaha committed Jun 14, 2020
1 parent a38f3d9 commit ca8f6b8
Show file tree
Hide file tree
Showing 13 changed files with 109 additions and 59 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ NEW_RESTIC_VER := 0.9.6
### These variables should not need tweaking.
###

SRC_PKGS := cmd pkg
SRC_DIRS := $(SRC_PKGS) # directories which hold app source (not vendored)
SRC_PKGS := api apis cmd pkg
SRC_DIRS := $(SRC_PKGS) hack/gencrd # directories which hold app source (not vendored)

DOCKER_PLATFORMS := linux/amd64
BIN_PLATFORMS := $(DOCKER_PLATFORMS)
Expand Down Expand Up @@ -410,7 +410,7 @@ unit-tests: $(BUILD_DIRS)
ARCH=$(ARCH) \
OS=$(OS) \
VERSION=$(VERSION) \
./hack/test.sh $(SRC_DIRS) \
./hack/test.sh $(SRC_PKGS) \
"

.PHONY: ct
Expand Down
12 changes: 6 additions & 6 deletions api/crds/bindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil
}

var _installerStashAppscodeCom_stashmysqlsV1Yaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x54\x4b\x8f\x1b\x37\x0c\xbe\xfb\x57\x10\xe8\x21\x97\x7a\x8c\x45\x2f\xc5\xdc\x8a\x6d\x0f\x41\x93\x3e\xe2\x20\x77\x5a\xa2\xc7\xec\x6a\x24\x85\xa4\x8c\xba\xbf\xbe\x90\x66\xbc\x7e\xac\xe3\x36\x8b\x56\xa7\x11\x1f\xdf\x90\xdf\x47\x0a\x33\x7f\x22\x51\x4e\xb1\x07\xcc\x4c\x7f\x1a\xc5\x7a\xd3\xee\xe9\x7b\xed\x38\xad\xf6\x0f\x8b\x27\x8e\xbe\x87\xc7\xa2\x96\xc6\x0f\xa4\xa9\x88\xa3\x1f\x69\xcb\x91\x8d\x53\x5c\x8c\x64\xe8\xd1\xb0\x5f\x00\x38\x21\xac\xc6\x8f\x3c\x92\x1a\x8e\xb9\x87\x58\x42\x58\x00\x04\xdc\x50\xd0\x1a\x03\x80\x39\xf7\xa0\x86\xba\x5b\x00\x44\x1c\x69\xbe\x8d\x07\xfd\x1c\xb4\xe3\xa8\x86\x21\x90\x74\xcd\xda\x61\xce\xea\x92\xa7\xce\xa5\x71\xa1\x99\x5c\x45\x19\x24\x95\xdc\xc3\xdd\xd8\x09\x7c\xfe\xa9\x43\xa3\x21\x09\x1f\xef\xcb\xe7\x0a\xea\xf7\x31\xaf\x5d\xa7\x86\xd7\xd5\xfd\xfe\xb0\xfe\xfd\x5d\x33\x06\x56\xfb\xf9\xca\xf1\x8e\xd5\x9a\x33\x87\x22\x18\x2e\xda\x68\x76\xe5\x38\x94\x80\x72\xee\x59\x00\xa8\x4b\x99\x7a\xf8\xa5\x56\x97\xd1\x91\x5f\x00\xec\x27\x19\x5a\x75\xcb\x99\x95\xfd\x03\x86\xbc\xc3\x87\x09\xcb\xed\x68\xc4\xa9\x78\x80\x94\x29\xfe\xf0\xdb\xdb\x4f\xdf\xad\x2f\xcc\x00\x59\x52\x26\xb1\xe7\x3e\xa7\x73\xa6\xf3\x99\x15\xc0\x93\x3a\xe1\x6c\x6d\x00\xde\x54\xc0\x29\x0a\x7c\x15\x98\x14\x6c\x47\xc7\xd2\xc8\xcf\x35\x40\xda\x82\xed\x58\x41\x28\x0b\x29\x45\x6b\xa2\x5f\x00\x43\x0d\xc2\x08\x69\xf3\x07\x39\xeb\x60\x4d\x52\x61\x40\x77\xa9\x04\x0f\x2e\xc5\x3d\x89\x81\x90\x4b\x43\xe4\xbf\x9e\xb1\x15\x2c\xb5\x9f\x06\x34\x9a\xd9\x3d\x1d\x8e\x46\x12\x31\xc0\x1e\x43\xa1\x6f\x01\xa3\x87\x11\x0f\x20\x54\xff\x02\x25\x9e\xe1\xb5\x10\xed\xe0\x7d\x12\x02\x8e\xdb\xd4\xc3\xce\x2c\x6b\xbf\x5a\x0d\x6c\xc7\xf9\x76\x69\x1c\x4b\x64\x3b\xac\x5c\x8a\x26\xbc\x29\x96\x44\x57\x9e\xf6\x14\x56\xca\xc3\x12\xc5\xed\xd8\xc8\x59\x11\x5a\x61\xe6\x65\x2b\x3d\x5a\x5b\x92\xd1\x7f\x23\xf3\x46\xe8\x9b\x8b\x5a\xed\x90\xdb\x58\x0b\xc7\xe1\xcc\xd1\x46\xeb\x8e\x02\x75\xc2\x80\x15\x70\x4e\x9d\xba\x38\x11\x5d\x4d\x95\x9d\x0f\x3f\xad\x3f\xc2\xf1\xd7\x4d\x8c\x6b\xf6\x1b\xef\xa7\x44\x3d\x49\x50\x09\xe3\xb8\x25\x99\x44\xdc\x4a\x1a\x1b\x26\x45\x9f\x13\x47\x6b\x17\x17\x98\xe2\x35\xfd\x5a\x36\x23\x5b\xd5\xfd\x73\x21\xb5\xaa\x55\x07\x8f\x18\x63\x32\xd8\x10\x94\xec\xd1\xc8\x77\xf0\x36\xc2\x23\x8e\x14\x1e\x51\xe9\x7f\x17\xa0\x32\xad\xcb\x4a\xec\xbf\x93\xe0\xfc\xbd\xba\x0e\x9e\x58\x3b\x73\x1c\x9f\x9b\x2f\xe8\x75\x7a\x0a\xd6\x99\x5c\x15\xae\x72\x37\x6f\xc9\x36\xc9\x14\x00\x2d\x62\x1e\x48\xd8\x72\xa0\x0b\xc4\xdb\x1b\x5b\xcf\x06\xdd\x53\xc9\xd7\xd6\x7b\x19\xf5\xa0\x0c\x37\xed\x5f\x64\xe4\x2e\x03\xf5\x6c\x4b\x08\xf5\x45\xfa\x75\x4f\x22\xec\xe9\x25\xfa\x1d\x64\x1e\x71\xb8\x91\x71\xbf\x07\xa1\x81\xd5\xe4\xf0\x8a\x3e\x6a\x72\x4e\xca\x96\x5e\x99\x6e\x38\xbc\x22\xaf\xee\x04\x0b\xf9\x97\xa9\xcb\xe7\x6e\x6e\xba\x8e\xb5\xde\x70\x1a\x7e\x95\x4c\xaf\x96\x48\x48\x2d\xc9\x57\x8b\xf4\x5f\x0f\xda\x6d\x0a\x97\xf3\x1a\x5c\x19\xdb\x58\x5d\xd9\xe6\x3e\xfe\x79\xb1\x5f\x18\xb5\xbe\x8d\xbe\x07\x93\x32\xa5\x57\xa0\x3a\xb7\x93\xe5\xef\x00\x00\x00\xff\xff\x01\x54\xe4\x20\x27\x09\x00\x00")
var _installerStashAppscodeCom_stashmysqlsV1Yaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x56\x4b\x8f\x1b\x37\x0c\xbe\xfb\x57\x10\xe8\x21\x97\x7a\x8c\x45\x8b\xa2\x98\x5b\xb1\xed\x21\x68\xd2\x47\x1c\xe4\x4e\x6b\x38\x63\x76\x35\x92\x42\x52\x6e\xdd\x5f\x5f\x48\x33\x5e\x3f\xd6\xeb\x76\x17\x8d\x4e\x16\x1f\x9f\xc8\xef\xa3\x34\xc6\xc4\x9f\x48\x94\x63\x68\x01\x13\xd3\x5f\x46\xa1\xec\xb4\x79\xf8\x5e\x1b\x8e\xab\xdd\xdd\xe2\x81\x43\xd7\xc2\x7d\x56\x8b\xe3\x07\xd2\x98\xc5\xd1\x8f\xd4\x73\x60\xe3\x18\x16\x23\x19\x76\x68\xd8\x2e\x00\x9c\x10\x16\xe3\x47\x1e\x49\x0d\xc7\xd4\x42\xc8\xde\x2f\x00\x3c\x6e\xc8\x6b\x89\x01\xc0\x94\x5a\x50\x43\xdd\x2e\x00\x02\x8e\x34\xef\xc6\xbd\x7e\xf6\xda\x70\x50\x43\xef\x49\x9a\x6a\x6d\x30\x25\x75\xb1\xa3\xc6\xc5\x71\xa1\x89\x5c\x41\x19\x24\xe6\xd4\xc2\xcd\xd8\x09\x7c\x3e\xd4\xa1\xd1\x10\x85\x0f\xfb\xe5\x63\x05\xe5\xf7\x21\xaf\x6e\xa7\x86\xd7\xc5\xfd\x7e\xbf\xfe\xfd\x5d\x35\x7a\x56\xfb\xf9\xc2\xf1\x8e\xd5\xaa\x33\xf9\x2c\xe8\xcf\xda\xa8\x76\xe5\x30\x64\x8f\x72\xea\x59\x00\xa8\x8b\x89\x5a\xf8\xa5\x54\x97\xd0\x51\xb7\x00\xd8\x4d\x32\xd4\xea\x96\x33\x2b\xbb\x3b\xf4\x69\x8b\x77\x13\x96\xdb\xd2\x88\x53\xf1\x00\x31\x51\xf8\xe1\xb7\xb7\x9f\xbe\x59\x9f\x99\x01\x92\xc4\x44\x62\x8f\x7d\x4e\xeb\x44\xe7\x13\x2b\x40\x47\xea\x84\x93\xd5\x01\x78\x53\x00\xa7\x28\xe8\x8a\xc0\xa4\x60\x5b\x3a\x94\x46\xdd\x5c\x03\xc4\x1e\x6c\xcb\x0a\x42\x49\x48\x29\x58\x15\xfd\x0c\x18\x4a\x10\x06\x88\x9b\x3f\xc8\x59\x03\x6b\x92\x02\x03\xba\x8d\xd9\x77\xe0\x62\xd8\x91\x18\x08\xb9\x38\x04\xfe\xfb\x11\x5b\xc1\x62\x3d\xd4\xa3\xd1\xcc\xee\x71\x71\x30\x92\x80\x1e\x76\xe8\x33\x7d\x0d\x18\x3a\x18\x71\x0f\x42\xe5\x14\xc8\xe1\x04\xaf\x86\x68\x03\xef\xa3\x10\x70\xe8\x63\x0b\x5b\xb3\xa4\xed\x6a\x35\xb0\x1d\xe6\xdb\xc5\x71\xcc\x81\x6d\xbf\x72\x31\x98\xf0\x26\x5b\x14\x5d\x75\xb4\x23\xbf\x52\x1e\x96\x28\x6e\xcb\x46\xce\xb2\xd0\x0a\x13\x2f\x6b\xe9\xc1\xea\x25\x19\xbb\xaf\x64\xbe\x11\xfa\xe6\xac\x56\xdb\xa7\x3a\xd6\xc2\x61\x38\x71\xd4\xd1\xba\xa1\x40\x99\x30\x60\x05\x9c\x53\xa7\x2e\x8e\x44\x17\x53\x61\xe7\xc3\x4f\xeb\x8f\x70\x38\xba\x8a\x71\xc9\x7e\xe5\xfd\x98\xa8\x47\x09\x0a\x61\x1c\x7a\x92\x49\xc4\x5e\xe2\x58\x31\x29\x74\x29\x72\xb0\xba\x71\x9e\x29\x5c\xd2\xaf\x79\x33\xb2\x15\xdd\x3f\x67\x52\x2b\x5a\x35\x70\x8f\x21\x44\x83\x0d\x41\x4e\x1d\x1a\x75\x0d\xbc\x0d\x70\x8f\x23\xf9\x7b\x54\xfa\xe2\x02\x14\xa6\x75\x59\x88\xfd\x6f\x12\x9c\xbe\x57\x97\xc1\x13\x6b\x27\x8e\xc3\x73\xf3\x8c\x5e\xc7\xa7\x60\x9d\xc8\x15\xe1\x0a\x77\xf3\x2d\xe9\xa3\x4c\x01\x50\x23\xe6\x81\x84\x9e\x3d\x9d\x21\x5e\xbf\xb1\x65\x6d\xd0\x3d\xe4\x74\x69\xbd\x95\x51\x16\xca\x70\xd5\xfe\x2c\x23\x37\x19\x28\xab\xcf\xde\x97\x17\xe9\xd7\x1d\x89\x70\x47\x4f\xd1\x6f\x20\xf3\x88\xc3\x95\x8c\xdb\x3d\x08\x0d\xac\x26\xfb\x57\xf4\x51\x92\x53\x54\xb6\xf8\xca\x74\xc3\xe1\x15\x79\xe5\x4e\xb0\x50\xf7\x34\x75\xf9\xd8\xcd\x55\xd7\xa1\xd6\x2b\x4e\xc3\x17\xc9\xf4\x6a\x89\x84\xd4\xa2\xbc\x58\xa4\xff\x7f\xd0\xfe\x44\xb6\xf2\xdf\x21\x66\x7b\x0a\xdc\x47\x19\xd1\xca\x37\xdf\xbe\xfb\xf6\x19\xd4\xf2\x81\x18\x48\x16\xe7\xdd\x5d\x53\x66\x39\xdf\xae\x0b\x63\x9d\xd6\x0b\xdb\x4c\xcf\x85\xf5\xa4\xd6\x7f\x7f\x49\x9e\x18\xb5\x3c\xc6\x5d\x0b\x26\x79\x02\x2e\x47\x94\x8b\x32\x59\xfe\x09\x00\x00\xff\xff\xe4\x7a\xa8\x0c\x98\x09\x00\x00")

func installerStashAppscodeCom_stashmysqlsV1YamlBytes() ([]byte, error) {
return bindataRead(
Expand All @@ -93,12 +93,12 @@ func installerStashAppscodeCom_stashmysqlsV1Yaml() (*asset, error) {
return nil, err
}

info := bindataFileInfo{name: "installer.stash.appscode.com_stashmysqls.v1.yaml", size: 2343, mode: os.FileMode(420), modTime: time.Unix(1573722179, 0)}
info := bindataFileInfo{name: "installer.stash.appscode.com_stashmysqls.v1.yaml", size: 2456, mode: os.FileMode(420), modTime: time.Unix(1573722179, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}

var _installerStashAppscodeCom_stashmysqlsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x56\x6d\x8f\x1b\x35\x10\xfe\x9e\x5f\x31\x12\x48\x05\xc4\x6e\x38\x55\x42\xb0\x5f\x10\x3a\x40\xaa\xb8\xf2\xd2\x94\x7e\x39\x15\x69\x62\x4f\x36\xc3\x79\x6d\xd7\x33\x1b\x9a\xfb\xf5\xc8\xde\xdd\xbc\x5d\x72\xf4\x2a\xf0\xa7\xf8\x99\x17\x3f\xf3\xcc\xd8\x59\x8c\xfc\x86\x92\x70\xf0\x0d\x60\x64\x7a\xaf\xe4\xf3\x4e\xea\xbb\x6f\xa4\xe6\x30\xdf\x5c\x2d\x49\xf1\x6a\x76\xc7\xde\x36\x70\xdd\x8b\x86\xee\x15\x49\xe8\x93\xa1\x1f\x68\xc5\x9e\x95\x83\x9f\x75\xa4\x68\x51\xb1\x99\x01\x98\x44\x98\xc1\xd7\xdc\x91\x28\x76\xb1\x01\xdf\x3b\x37\x03\x70\xb8\x24\x27\xd9\x07\x00\x63\x6c\x40\x14\x65\x3d\x03\xf0\xd8\xd1\xb8\xeb\xb6\xf2\xce\x49\xcd\x5e\x14\x9d\xa3\x54\x17\xb4\xc6\x18\xc5\x04\x4b\xb5\x09\xdd\x4c\x22\x99\x9c\xa5\x4d\xa1\x8f\x0d\x3c\xea\x3b\x24\x1f\x0f\x35\xa8\xd4\x86\xc4\xd3\xbe\xda\x31\xc8\xbf\xa7\xb8\xb2\x1d\x0a\x5e\x64\xf3\xcb\xed\xe2\xf7\x9b\x02\x3a\x16\xfd\xf9\xc4\x70\xc3\xa2\xc5\x18\x5d\x9f\xd0\x1d\x95\x51\x70\x61\xdf\xf6\x0e\xd3\xa1\x65\x06\x10\x13\x09\xa5\x0d\xfd\xe1\xef\x7c\xf8\xdb\xff\xc4\xe4\xac\x34\xb0\x42\x27\x99\x81\x98\x10\xa9\x81\x5f\x32\xf9\x88\x86\xec\x0c\x60\x83\x8e\x6d\xd1\x76\xa0\x1f\x22\xf9\xef\x7f\x7b\xf1\xe6\xf9\xc2\xac\xa9\xc3\x01\xcc\x99\x43\xa4\xa4\xbb\x2a\x07\xb9\x77\x8d\xde\x61\x00\x96\xc4\x24\x8e\x25\x23\x3c\xcb\xa9\x06\x1f\xb0\xb9\xb5\x24\xa0\x6b\x82\xcd\x80\x91\x05\x29\xc7\x40\x58\x81\xae\x59\x20\x51\xa9\xc1\x6b\xa1\x74\x90\x16\xb2\x0b\x7a\x08\xcb\xbf\xc8\x68\x0d\x8b\x5c\x67\x12\x90\x75\xe8\x9d\x05\x13\xfc\x86\x92\x42\x22\x13\x5a\xcf\xf7\xbb\xcc\x02\x1a\xca\x91\x0e\x95\x46\x55\xa7\xc5\x5e\x29\x79\x74\x59\x84\x9e\xbe\x04\xf4\x16\x3a\xdc\x42\xa2\x7c\x06\xf4\xfe\x20\x5b\x71\x91\x1a\x5e\x86\x44\xc0\x7e\x15\x1a\x58\xab\x46\x69\xe6\xf3\x96\x75\x1a\x6d\x13\xba\xae\xf7\xac\xdb\xb9\x09\x5e\x13\x2f\x7b\x0d\x49\xe6\x96\x36\xe4\xe6\xc2\x6d\x85\xc9\xac\x59\xc9\x68\x9f\x68\x8e\x91\xab\x42\xdc\x6b\xb9\x1f\x9d\xfd\x24\x8d\xf7\x40\x9e\x1d\x30\xd5\x6d\x2c\xa3\x9c\xd8\xb7\x3b\xb8\x0c\xd3\x45\xdd\xf3\x44\x01\x0b\xe0\x18\x36\xf0\xdf\xcb\x9b\xa1\xac\xca\xab\x1f\x17\xaf\x61\x3a\xb4\xb4\xe0\x58\xf3\xa2\xf6\x3e\x4c\xf6\xc2\x67\xa1\xd8\xaf\x28\x0d\x8d\x5b\xa5\xd0\x95\x8c\xe4\x6d\x0c\xec\xb5\x6c\x8c\x63\xf2\xc7\xa2\x4b\xbf\xec\x58\x73\xa7\xdf\xf5\x24\x9a\xfb\x53\xc3\x35\x7a\x1f\x14\x96\x04\x7d\xb4\xa8\x64\x6b\x78\xe1\xe1\x1a\x3b\x72\xd7\x28\xf4\xbf\xcb\x9e\x15\x96\x2a\x4b\xfa\xef\xc2\x1f\xbe\x4b\xd3\x3a\x77\x3d\xf2\x2a\x8f\xd0\x11\x02\xd0\xe1\xfb\x1b\xf2\xad\xae\x1b\xf8\xfa\xf9\x89\x2d\xa2\xe6\x91\x6c\xe0\xcf\x5b\xac\xee\xdf\x7e\x76\x5b\x61\x75\xff\x55\xf5\xed\xdb\x2f\x6e\xc7\x1f\x9f\x7f\xf7\xe9\x49\xcc\x59\x92\x13\x3c\x34\x70\x07\x4f\xaf\xdc\xd9\xa1\xd9\xbf\x3f\x8b\x48\x26\x4f\x4f\x6e\xe1\x78\x41\x57\x21\x0d\x0e\x50\x3c\xc6\xfb\x00\x2b\x76\xf4\x01\x3a\x2c\xd1\xdc\xf5\xf1\x54\x89\x4b\xde\x79\x61\x6a\xcf\xa0\x17\xab\xbd\x58\x71\x5e\xab\xde\xb9\xdc\x89\x5f\x37\x94\x12\xdb\x07\x1d\xb9\x98\x93\x3b\x6c\x1f\x78\x3f\xc6\x3a\x51\xcb\xa2\x69\xfb\x44\xe6\x39\x30\x06\x61\x0d\x1f\x11\xaa\xd8\x3e\x31\x26\x5f\x3d\x4e\x64\x4f\xc3\xaa\x1d\xff\x33\x86\x89\xdf\x03\x93\xe2\x07\x37\xe2\xa3\x9a\x90\x48\x34\xa4\x27\xb5\xe1\xbf\x1b\x9e\x73\x52\x55\xe3\x38\x1f\x41\x65\x54\x8e\x90\x91\xf7\xe3\x57\xf2\x04\xda\x4c\x1f\x4e\x9b\x2b\x74\x71\x8d\x57\x7b\xac\x14\x54\x8d\x9f\x35\x07\x66\x80\xf2\x97\x6f\x1b\xd0\xd4\x0f\xa7\xe5\x73\xf3\xe0\x0e\xc8\x3f\x01\x00\x00\xff\xff\xab\xe8\xc1\xdb\x90\x09\x00\x00")
var _installerStashAppscodeCom_stashmysqlsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x56\xdf\x8f\x1b\x45\x0c\x7e\xcf\x5f\x61\x09\xa4\x02\x62\x13\x4e\x45\x15\xec\x0b\x42\x07\x48\x15\x57\x7e\x34\xa5\x2f\xa7\x22\x39\xb3\xce\xc6\xdc\xec\xcc\xd4\xf6\xa6\xcd\xfd\xf5\x68\x66\x37\xb9\x24\x97\x1c\xbd\x8a\xce\x53\xe6\x1b\xdb\xf3\xf9\xb3\xbd\x19\x4c\xfc\x9a\x44\x39\x86\x1a\x30\x31\xbd\x37\x0a\x79\xa7\xd3\x9b\xef\x74\xca\x71\xb6\xbe\x58\x90\xe1\xc5\xe4\x86\x43\x53\xc3\x65\xaf\x16\xbb\x97\xa4\xb1\x17\x47\x3f\xd1\x92\x03\x1b\xc7\x30\xe9\xc8\xb0\x41\xc3\x7a\x02\xe0\x84\x30\x83\xaf\xb8\x23\x35\xec\x52\x0d\xa1\xf7\x7e\x02\xe0\x71\x41\x5e\xb3\x0d\x00\xa6\x54\x83\x1a\xea\x6a\x02\x10\xb0\xa3\x71\xd7\x6d\xf4\xad\xd7\x29\x07\x35\xf4\x9e\x64\x5a\xd0\x29\xa6\xa4\x2e\x36\x34\x75\xb1\x9b\x68\x22\x97\xa3\xb4\x12\xfb\x54\xc3\x83\xb6\x43\xf0\xf1\x52\x87\x46\x6d\x14\xde\xee\xab\x1d\x83\xfc\x7b\xeb\x57\xb6\x43\xc2\xf3\x7c\xfc\x62\x33\xff\xf3\xaa\x80\x9e\xd5\x7e\x3d\x3a\xb8\x62\xb5\x72\x98\x7c\x2f\xe8\x0f\xd2\x28\xb8\x72\x68\x7b\x8f\xb2\x7f\x32\x01\x48\x42\x4a\xb2\xa6\xbf\xc2\x4d\x88\xef\xc2\x2f\x4c\xbe\xd1\x1a\x96\xe8\x35\x33\x50\x17\x13\xd5\xf0\x5b\x26\x9f\xd0\x51\x33\x01\x58\xa3\xe7\xa6\x68\x3b\xd0\x8f\x89\xc2\x8f\x7f\x3c\x7f\xfd\x74\xee\x56\xd4\xe1\x00\xe6\xc8\x31\x91\xd8\x2e\xcb\x41\xee\x5d\xa1\x77\x18\x40\x43\xea\x84\x53\x89\x08\x4f\x72\xa8\xc1\x06\x9a\x5c\x5a\x52\xb0\x15\xc1\x7a\xc0\xa8\x01\x2d\xd7\x40\x5c\x82\xad\x58\x41\xa8\xe4\x10\xac\x50\xda\x0b\x0b\xd9\x04\x03\xc4\xc5\x3f\xe4\x6c\x0a\xf3\x9c\xa7\x28\xe8\x2a\xf6\xbe\x01\x17\xc3\x9a\xc4\x40\xc8\xc5\x36\xf0\xed\x2e\xb2\x82\xc5\x72\xa5\x47\xa3\x51\xd5\xed\xe2\x60\x24\x01\x7d\x16\xa1\xa7\xaf\x01\x43\x03\x1d\x6e\x40\x28\xdf\x01\x7d\xd8\x8b\x56\x4c\x74\x0a\x2f\xa2\x10\x70\x58\xc6\x1a\x56\x66\x49\xeb\xd9\xac\x65\xdb\xb6\xb6\x8b\x5d\xd7\x07\xb6\xcd\xcc\xc5\x60\xc2\x8b\xde\xa2\xe8\xac\xa1\x35\xf9\x99\x72\x5b\xa1\xb8\x15\x1b\x39\xeb\x85\x66\x98\xb8\x2a\xc4\x83\x95\xf9\xe8\x9a\xcf\x64\x9c\x03\x7d\xb2\xc7\xd4\x36\xa9\xb4\xb2\x70\x68\x77\x70\x69\xa6\xb3\xba\xe7\x8e\x02\x56\xc0\xd1\x6d\xe0\x7f\x27\x6f\x86\xb2\x2a\x2f\x7f\x9e\xbf\x82\xed\xa5\xa5\x04\x87\x9a\x17\xb5\xef\xdc\xf4\x4e\xf8\x2c\x14\x87\x25\xc9\x50\xb8\xa5\xc4\xae\x44\xa4\xd0\xa4\xc8\xc1\xca\xc6\x79\xa6\x70\x28\xba\xf6\x8b\x8e\x2d\x57\xfa\x6d\x4f\x6a\xb9\x3e\x53\xb8\xc4\x10\xa2\xc1\x82\xa0\x4f\x0d\x1a\x35\x53\x78\x1e\xe0\x12\x3b\xf2\x97\xa8\xf4\xc9\x65\xcf\x0a\x6b\x95\x25\xfd\x6f\xe1\xf7\xbf\x4b\xdb\x75\x6a\x3c\xf2\x2a\x1f\xa1\x03\x04\xa0\xc3\xf7\x57\x14\x5a\x5b\xd5\xf0\xec\xe9\xd1\x59\x42\xcb\x2d\x59\xc3\xdf\xd7\x58\xdd\xbe\xf9\xe2\xba\xc2\xea\xf6\x9b\xea\xfb\x37\x5f\x5d\x8f\x3f\xbe\xfc\xe1\xf3\x23\x9f\x93\x24\xb7\xf0\x50\xc0\x1d\xbc\xfd\xca\x9d\x6c\x9a\xbb\xef\xcf\x3c\x91\xcb\xdd\x93\x4b\x38\x0e\xe8\x32\xca\x60\x00\xc5\x62\x9c\x07\x58\xb2\xa7\x0f\xd0\x61\x81\xee\xa6\x4f\xc7\x4a\x9c\xb3\xce\x0b\xa5\x3d\x81\x9e\xcd\xf6\x6c\xc6\x79\x2d\x7b\xef\x73\x25\x7e\x5f\x93\x08\x37\xf7\x2a\x72\x36\x26\x77\xd8\xde\xb3\x7e\x88\xb5\x50\xcb\x6a\xb2\x79\x24\xf3\xec\x98\xa2\xb2\xc5\x8f\x70\x35\x6c\x1f\xe9\x93\x47\x8f\x85\x9a\x63\xb7\x6a\xc7\xff\xc4\xc1\x96\xdf\xbd\x23\xc3\x0f\x2e\xc4\x47\x15\x41\x48\x2d\xca\xa3\xca\xf0\x7f\x36\xcf\x3b\x64\xcb\xcf\x8e\xd8\xdb\x71\xc8\x65\x94\x0e\x2d\x3f\x16\xec\xd9\xb7\x27\xe3\xe5\x7f\x98\x96\x64\xb2\x9f\xcd\x7d\xed\xab\x71\x3e\x0e\xa0\xd2\x7b\x07\xc8\x28\xc4\x01\xb6\xc7\xee\xe1\xd9\x3f\x82\xd6\xdb\x17\xda\xfa\x02\x7d\x5a\xe1\xc5\x1d\x56\x94\xab\xc6\xf7\xd3\xde\x31\x40\x79\x5b\x34\x35\x98\xf4\x03\x8b\xcc\x27\x4f\xc8\x80\xfc\x1b\x00\x00\xff\xff\xc0\x93\x93\x90\xf9\x09\x00\x00")

func installerStashAppscodeCom_stashmysqlsYamlBytes() ([]byte, error) {
return bindataRead(
Expand All @@ -113,7 +113,7 @@ func installerStashAppscodeCom_stashmysqlsYaml() (*asset, error) {
return nil, err
}

info := bindataFileInfo{name: "installer.stash.appscode.com_stashmysqls.yaml", size: 2448, mode: os.FileMode(420), modTime: time.Unix(1573722179, 0)}
info := bindataFileInfo{name: "installer.stash.appscode.com_stashmysqls.yaml", size: 2553, mode: os.FileMode(420), modTime: time.Unix(1573722179, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
Expand Down Expand Up @@ -215,8 +215,8 @@ type bintree struct {
}

var _bintree = &bintree{nil, map[string]*bintree{
"installer.stash.appscode.com_stashmysqls.v1.yaml": &bintree{installerStashAppscodeCom_stashmysqlsV1Yaml, map[string]*bintree{}},
"installer.stash.appscode.com_stashmysqls.yaml": &bintree{installerStashAppscodeCom_stashmysqlsYaml, map[string]*bintree{}},
"installer.stash.appscode.com_stashmysqls.v1.yaml": {installerStashAppscodeCom_stashmysqlsV1Yaml, map[string]*bintree{}},
"installer.stash.appscode.com_stashmysqls.yaml": {installerStashAppscodeCom_stashmysqlsYaml, map[string]*bintree{}},
}}

// RestoreAsset restores an asset under the given directory
Expand Down
4 changes: 4 additions & 0 deletions api/crds/installer.stash.appscode.com_stashmysqls.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,14 @@ spec:
args:
type: string
type: object
waitTimeout:
format: int64
type: integer
required:
- backup
- image
- restore
- waitTimeout
type: object
type: object
served: true
Expand Down
4 changes: 4 additions & 0 deletions api/crds/installer.stash.appscode.com_stashmysqls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,14 @@ spec:
args:
type: string
type: object
waitTimeout:
format: int64
type: integer
required:
- backup
- image
- restore
- waitTimeout
type: object
type: object
version: v1alpha1
Expand Down
7 changes: 6 additions & 1 deletion api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,8 @@
"required": [
"image",
"backup",
"restore"
"restore",
"waitTimeout"
],
"properties": {
"backup": {
Expand All @@ -981,6 +982,10 @@
},
"restore": {
"$ref": "#/definitions/dev.appscode.stash.mysql.apis.installer.v1alpha1.MySQLRestore"
},
"waitTimeout": {
"type": "integer",
"format": "int64"
}
}
},
Expand Down
Loading

0 comments on commit ca8f6b8

Please sign in to comment.