Documentation
¶
Index ¶
- type BasicChannelSubscription
- type BasicUser
- type Channel
- type ChannelList
- type ChannelSubscription
- type ChannelVersion
- type ChannelVersionList
- type Cluster
- type ClusterGroup
- type ClusterGroupList
- type ClusterInfo
- type ClusterList
- type Comment
- type DeployableVersion
- type Group
- type GroupList
- type Registration
- type RequestError
- type RequestErrorDetails
- type Resource
- type ResourceContentObj
- type ResourceList
- type SearchableData
- type Subscription
- type SubscriptionList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicChannelSubscription ¶
type BasicChannelSubscription struct { UUID string `json:"uuid,omitempty"` OrgID string `json:"orgId,omitempty"` Name string `json:"name,omitempty"` Groups []string `json:"groups,omitempty"` ChannelUUID string `json:"channelUuid,omitempty"` ChannelName string `json:"channelName,omitempty"` Version string `json:"version,omitempty"` VersionUUID string `json:"versionUuid,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` }
type Channel ¶
type Channel struct { UUID string `json:"uuid,omitempty"` OrgID string `json:"orgId,omitempty"` Name string `json:"name,omitempty"` Created string `json:"created,omitempty"` Versions []ChannelVersion `json:"versions,omitempty"` Subscriptions []ChannelSubscription `json:"subscriptions,omitempty"` }
type ChannelList ¶
type ChannelList []Channel
type ChannelSubscription ¶
type ChannelSubscription struct { UUID string `json:"uuid,omitempty"` OrgID string `json:"orgId,omitempty"` Name string `json:"name,omitempty"` Groups []string `json:"groups,omitempty"` ChannelUUID string `json:"channelUuid,omitempty"` ChannelName string `json:"channelName,omitempty"` Channel *Channel `json:"channel,omitempty"` Version string `json:"version,omitempty"` VersionUUID string `json:"versionUuid,omitempty"` Owner *BasicUser `json:"owner,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` }
ChannelSubscription encapsulates a channel's subscription data
type ChannelVersion ¶
type ChannelVersionList ¶
type ChannelVersionList []ChannelVersion
type Cluster ¶
type Cluster struct { ID string `json:"id,omitempty"` OrgID string `json:"orgId,omitempty"` ClusterID string `json:"clusterId,omitempty"` Name string `json:"name,omitempty"` // Metadata []byte `json:"metadata,omitempty"` Metadata interface{} `json:"metadata,omitempty"` Comments []Comment `json:"comments,omitempty"` Registration Registration `json:"registration,omitempty"` RegistrationState string `json:"regState,omitempty"` Groups []ClusterGroup `json:"groups,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` Dirty bool `json:"dirty,omitempty"` }
type ClusterGroup ¶
type ClusterGroupList ¶
type ClusterGroupList []ClusterGroup
type ClusterInfo ¶
type ClusterList ¶
type ClusterList []Cluster
type DeployableVersion ¶
type DeployableVersion struct { OrgID string `json:"orgId,omitempty"` UUID string `json:"uuid,omitempty"` ChannelID string `json:"channelId,omitempty"` ChannelName string `json:"channelName,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` Content string `json:"content,omitempty"` Created string `json:"created,omitempty"` }
type Registration ¶
type Registration struct {
Name string `json:"name,omitempty"`
}
Registration is the encapsulation of the JSON registration body, which at this point is used primarily to specify the name of the cluster to register.
type RequestError ¶
type RequestError struct {
Errors []RequestErrorDetails `json:"errors,omitempty"`
}
type RequestErrorDetails ¶
type RequestErrorDetails struct {
Message string `json:"message,omitempty"`
}
type Resource ¶
type Resource struct { ID string `json:"id,omitempty"` OrgID string `json:"orgId,omitempty"` ClusterID string `json:"clusterId,omitempty"` Cluster ClusterInfo `json:"cluster,omitempty"` HistId string `json:"histId,omitempty"` SelfLink string `json:"selfLink,omitempty"` Hash string `json:"hash,omitempty"` Data string `json:"data,omitempty"` Deleted bool `json:"deleted,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` LastModified string `json:"lastModified,omitempty"` SearchableData SearchableData `json:"searchableData,omitempty"` SearchableDataHash string `json:"searchableDataHash,omitempty"` Subscription ChannelSubscription `json:"subscription,omitempty"` }
Resource encapsulates satellite cluster resources
type ResourceContentObj ¶
type ResourceList ¶
type ResourceList struct { Count int `json:"count,omitempty"` Resources []Resource `json:"resources,omitempty"` }
ResourceList encapsulates list of resource
type SearchableData ¶
type SearchableData struct { Kind string `json:"kind,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` APIVersion string `json:"apiVersion,omitempty"` SearchableExpression string `json:"searchableExpression,omitempty"` Errors map[string]interface{} `json:"errors,omitempty"` }
SearchableData encapsulates cluster resource data
type Subscription ¶
type Subscription struct { UUID string `json:"uuid,omitempty"` OrgID string `json:"orgId,omitempty"` Name string `json:"name,omitempty"` Groups []string `json:"groups,omitempty"` ChannelUUID string `json:"channelUuid,omitempty"` ChannelName string `json:"channelName,omitempty"` Channel Channel `json:"channel,omitempty"` Version string `json:"version,omitempty"` VersionUUID string `json:"versionUuid,omitempty"` Owner BasicUser `json:"owner,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` }
Subscription encapsulates satellite subscription data
Click to show internal directories.
Click to hide internal directories.