Documentation
¶
Index ¶
- func CreateOrUpdateProtOrgAsg(clustername string, cpath string, ostype string)
- type GitList
- type InitClusterConfigVals
- type List
- type OrgListJson
- type OrgStateYaml
- type OrgUsersListJson
- type Orglist
- type ProtectedList
- type SpaceListJson
- type SpaceStateYaml
- type SpaceUsersListJson
- type UserDetailsJson
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InitClusterConfigVals ¶
type InitClusterConfigVals struct {
ClusterDetails struct {
EndPoint string `yaml:"EndPoint"`
User string `yaml:"User"`
Org string `yaml:"Org"`
Space string `yaml:"Space"`
EnableASG bool `yaml:"EnableASG"`
EnableGitSubTree bool `yaml:"EnableGitSubTree"`
GitHost string `yaml:"GitHost"`
SetOrgAuditor bool `yaml:"SetOrgAuditor"`
SetOrgManager bool `yaml:"SetOrgManager"`
SetSpaceAuditor bool `yaml:"SetSpaceAuditor"`
SetSpaceManager bool `yaml:"SetSpaceManager"`
SetSpaceDeveloper bool `yaml:"SetSpaceDeveloper"`
EnableSpaceAudit bool `yaml:"EnableSpaceAudit"`
EnableUserAudit bool `yaml:"EnableUserAudit"`
EnableASGAudit bool `yaml:"EnableASGAudit"`
EnableIsolationAudit bool `yaml:"EnableIsolationAudit"`
SSOProvider string `yaml:"SSOProvider"`
} `yaml:"ClusterDetails"`
}
type OrgListJson ¶
type OrgListJson struct {
Pagination struct {
TotalResults int `json:"total_results"`
TotalPages int `json:"total_pages"`
First struct {
Href string `json:"href"`
} `json:"first"`
Last struct {
Href string `json:"href"`
} `json:"last"`
Next interface{} `json:"next"`
Previous interface{} `json:"previous"`
} `json:"pagination"`
Resources []struct {
GUID string `json:"guid"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Name string `json:"name"`
Suspended bool `json:"suspended"`
Relationships struct {
Quota struct {
Data struct {
GUID string `json:"guid"`
} `json:"data"`
} `json:"quota"`
} `json:"relationships"`
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
Domains struct {
Href string `json:"href"`
} `json:"domains"`
DefaultDomain struct {
Href string `json:"href"`
} `json:"default_domain"`
Quota struct {
Href string `json:"href"`
} `json:"quota"`
} `json:"links"`
Metadata struct {
Labels struct {
} `json:"labels"`
Annotations struct {
} `json:"annotations"`
} `json:"metadata"`
} `json:"resources"`
}
type OrgStateYaml ¶
type OrgUsersListJson ¶
type OrgUsersListJson struct {
Pagination struct {
TotalResults int `json:"total_results"`
TotalPages int `json:"total_pages"`
First struct {
Href string `json:"href"`
} `json:"first"`
Last struct {
Href string `json:"href"`
} `json:"last"`
Next struct {
Href string `json:"href"`
} `json:"next"`
Previous interface{} `json:"previous"`
} `json:"pagination"`
Resources []struct {
GUID string `json:"guid"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Type string `json:"type"`
Relationships struct {
User struct {
Data struct {
GUID string `json:"guid"`
} `json:"data"`
} `json:"user"`
Organization struct {
Data struct {
GUID string `json:"guid"`
} `json:"data"`
} `json:"organization"`
Space struct {
Data interface{} `json:"data"`
} `json:"space"`
} `json:"relationships"`
} `json:"resources"`
}
type Orglist ¶
type Orglist struct {
Org struct {
Name string `yaml:"Name"`
//Quota string `yaml:"Quota"`
OrgUsers struct {
LDAP struct {
OrgManagers []string `yaml:"OrgManagers"`
OrgAuditors []string `yaml:"OrgAuditors"`
} `yaml:"LDAP"`
SSO struct {
OrgManagers []string `yaml:"OrgManagers"`
OrgAuditors []string `yaml:"OrgAuditors"`
} `yaml:"SSO"`
UAA struct {
OrgManagers []string `yaml:"OrgManagers"`
OrgAuditors []string `yaml:"OrgAuditors"`
} `yaml:"UAA"`
} `yaml:"OrgUsers"`
Spaces []struct {
Name string `yaml:"Name"`
IsolationSeg string `yaml:"IsolationSeg"`
ASG string `yaml:"ASG"`
SpaceUsers struct {
LDAP struct {
SpaceManagers []string `yaml:"SpaceManagers"`
SpaceDevelopers []string `yaml:"SpaceDevelopers"`
SpaceAuditors []string `yaml:"SpaceAuditors"`
} `yaml:"LDAP"`
UAA struct {
SpaceManagers []string `yaml:"SpaceManagers"`
SpaceDevelopers []string `yaml:"SpaceDevelopers"`
SpaceAuditors []string `yaml:"SpaceAuditors"`
} `yaml:"UAA"`
SSO struct {
SpaceManagers []string `yaml:"SpaceManagers"`
SpaceDevelopers []string `yaml:"SpaceDevelopers"`
SpaceAuditors []string `yaml:"SpaceAuditors"`
} `yaml:"SSO"`
} `yaml:"SpaceUsers"`
} `yaml:"Spaces"`
} `yaml:"Org"`
SpaceAudit string `yaml:"SpaceAudit"`
UserAudit string `yaml:"UserAudit"`
ASGAudit string `yaml:"ASGAudit"`
IsolationAudit string `yaml:"IsolationAudit"`
}
type ProtectedList ¶
type SpaceListJson ¶
type SpaceListJson struct {
Pagination struct {
TotalResults int `json:"total_results"`
TotalPages int `json:"total_pages"`
First struct {
Href string `json:"href"`
} `json:"first"`
Last struct {
Href string `json:"href"`
} `json:"last"`
Next interface{} `json:"next"`
Previous interface{} `json:"previous"`
} `json:"pagination"`
Resources []struct {
GUID string `json:"guid"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Name string `json:"name"`
Relationships struct {
Organization struct {
Data struct {
GUID string `json:"guid"`
} `json:"data"`
} `json:"organization"`
Quota struct {
Data interface{} `json:"data"`
} `json:"quota"`
} `json:"relationships"`
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
Organization struct {
Href string `json:"href"`
} `json:"organization"`
Features struct {
Href string `json:"href"`
} `json:"features"`
ApplyManifest struct {
Href string `json:"href"`
Method string `json:"method"`
} `json:"apply_manifest"`
} `json:"links"`
Metadata struct {
Labels struct {
} `json:"labels"`
Annotations struct {
} `json:"annotations"`
} `json:"metadata"`
} `json:"resources"`
}
type SpaceStateYaml ¶
type SpaceUsersListJson ¶
type SpaceUsersListJson struct {
Pagination struct {
TotalResults int `json:"total_results"`
TotalPages int `json:"total_pages"`
First struct {
Href string `json:"href"`
} `json:"first"`
Last struct {
Href string `json:"href"`
} `json:"last"`
Next interface{} `json:"next"`
Previous interface{} `json:"previous"`
} `json:"pagination"`
Resources []struct {
GUID string `json:"guid"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Type string `json:"type"`
Relationships struct {
User struct {
Data struct {
GUID string `json:"guid"`
} `json:"data"`
} `json:"user"`
Space struct {
Data struct {
GUID string `json:"guid"`
} `json:"data"`
} `json:"space"`
Organization struct {
Data interface{} `json:"data"`
} `json:"organization"`
} `json:"relationships"`
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
User struct {
Href string `json:"href"`
} `json:"user"`
Space struct {
Href string `json:"href"`
} `json:"space"`
} `json:"links"`
} `json:"resources"`
}
type UserDetailsJson ¶
type UserDetailsJson struct {
Pagination struct {
TotalResults int `json:"total_results"`
TotalPages int `json:"total_pages"`
First struct {
Href string `json:"href"`
} `json:"first"`
Last struct {
Href string `json:"href"`
} `json:"last"`
Next interface{} `json:"next"`
Previous interface{} `json:"previous"`
} `json:"pagination"`
Resources []struct {
GUID string `json:"guid"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Username string `json:"username"`
PresentationName string `json:"presentation_name"`
Origin string `json:"origin"`
Metadata struct {
Labels struct {
} `json:"labels"`
Annotations struct {
} `json:"annotations"`
} `json:"metadata"`
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"links"`
} `json:"resources"`
}
Click to show internal directories.
Click to hide internal directories.