MCPcopy Create free account
hub / github.com/cloudbase/garm / Organization

Struct Organization

params/params.go:841–860  ·  view source on GitHub ↗

swagger:model Organization

Source from the content-addressed store, hash-verified

839
840// swagger:model Organization
841type Organization struct {
842 ID string `json:"id,omitempty"`
843 Name string `json:"name,omitempty"`
844 Pools []Pool `json:"pool,omitempty"`
845 // CredentialName is the name of the credentials associated with the enterprise.
846 // This field is now deprecated. Use CredentialsID instead. This field will be
847 // removed in v0.2.0.
848 CredentialsName string `json:"credentials_name,omitempty"`
849 Credentials ForgeCredentials `json:"credentials,omitempty"`
850 CredentialsID uint `json:"credentials_id,omitempty"`
851 PoolManagerStatus PoolManagerStatus `json:"pool_manager_status,omitempty"`
852 PoolBalancerType PoolBalancerType `json:"pool_balancing_type,omitempty"`
853 Endpoint ForgeEndpoint `json:"endpoint,omitempty"`
854 CreatedAt time.Time `json:"created_at,omitempty"`
855 UpdatedAt time.Time `json:"updated_at,omitempty"`
856 Events []EntityEvent `json:"events,omitempty"`
857 AgentMode bool `json:"agent_mode"`
858 // Do not serialize sensitive info.
859 WebhookSecret string `json:"-"`
860}
861
862func (o Organization) GetCreatedAt() time.Time {
863 return o.CreatedAt

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected