Documentation ¶
Index ¶
- func DeleteorAuditOrgs(clustername string, cpath string) error
- type ASGListJson
- type GitList
- type InitClusterConfigVals
- type List
- type OrgListJson
- type OrgStateYaml
- type OrgUsersListJson
- type Orglist
- type ProtectedList
- type QuotaListJson
- type Quotalist
- type SpaceListJson
- type SpaceStateYaml
- type SpaceUsersListJson
- type UserDetailsJson
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteorAuditOrgs ¶
Types ¶
type ASGListJson ¶
type ASGListJson 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"` Rules []struct { Destination string `json:"destination"` Protocol string `json:"protocol"` } `json:"rules"` GloballyEnabled struct { Running bool `json:"running"` Staging bool `json:"staging"` } `json:"globally_enabled"` Relationships struct { RunningSpaces struct { Data []struct { GUID string `json:"guid"` } `json:"data"` } `json:"running_spaces"` StagingSpaces struct { Data []struct { GUID string `json:"guid"` } `json:"data"` } `json:"staging_spaces"` } `json:"relationships"` Links struct { Self struct { Href string `json:"href"` } `json:"self"` } `json:"links"` } `json:"resources"` }
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 QuotaListJson ¶
type QuotaListJson 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"` Apps struct { TotalMemoryInMb int `json:"total_memory_in_mb"` PerProcessMemoryInMb interface{} `json:"per_process_memory_in_mb"` TotalInstances int `json:"total_instances"` PerAppTasks interface{} `json:"per_app_tasks"` } `json:"apps"` Services struct { PaidServicesAllowed bool `json:"paid_services_allowed"` TotalServiceInstances int `json:"total_service_instances"` TotalServiceKeys interface{} `json:"total_service_keys"` } `json:"services"` Routes struct { TotalRoutes interface{} `json:"total_routes"` TotalReservedPorts int `json:"total_reserved_ports"` } `json:"routes"` Domains struct { TotalDomains interface{} `json:"total_domains"` } `json:"domains"` Relationships struct { Organizations struct { Data []struct { GUID string `json:"guid"` } `json:"data"` } `json:"organizations"` } `json:"relationships"` Links struct { Self struct { Href string `json:"href"` } `json:"self"` } `json:"links"` } `json:"resources"` }
type Quotalist ¶
type Quotalist struct { Quota []struct { Name string `yaml:"Name"` MemoryLimit string `yaml:"memory_limit"` AllowPaidPlans bool `yaml:"allow_paid_plans"` AppInstanceLimit string `yaml:"app_instance_limit"` ServiceInstanceLimit string `yaml:"service_instance_limit"` } `yaml:"quota"` Audit string `yaml:"Audit"` }
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.