containerinventory

package
v0.0.0-...-d31b8a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerApplication

type ContainerApplication struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Timestamp of last modification
	LastSyncTime int64 `json:"_last_sync_time,omitempty"`
	// Description of this resource
	Description string `json:"description,omitempty"`
	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`
	// The type of this resource.
	ResourceType string `json:"resource_type"`
	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`
	// Identifier of the container cluster this container application belongs to.
	ContainerClusterId string `json:"container_cluster_id,omitempty"`
	// Identifier of the project which this container application belongs to.
	ContainerProjectId string `json:"container_project_id,omitempty"`
	// Identifier of the container application on container cluster e.g. PCF app id, k8s service id.
	ExternalId string `json:"external_id"`
	// List of network errors related to container application.
	NetworkErrors []common.NetworkError `json:"network_errors,omitempty"`
	// Network status of container application.
	NetworkStatus string `json:"network_status,omitempty"`
	// Array of additional specific properties of container application in key-value format.
	OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"`
	// Status of the container application.
	Status string `json:"status,omitempty"`
}

Container application within a project.

type ContainerApplicationInstance

type ContainerApplicationInstance struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Timestamp of last modification
	LastSyncTime int64 `json:"_last_sync_time,omitempty"`
	// Description of this resource
	Description string `json:"description,omitempty"`
	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`
	// The type of this resource.
	ResourceType string `json:"resource_type"`
	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`
	// Cluster node id where application instance is running.
	ClusterNodeId string `json:"cluster_node_id,omitempty"`
	// List of identifiers of the container application.
	ContainerApplicationIds []string `json:"container_application_ids,omitempty"`
	// Identifier of the container cluster this application instance belongs to.
	ContainerClusterId string `json:"container_cluster_id,omitempty"`
	// Identifier of the container project which this container application instance belongs to.
	ContainerProjectId string `json:"container_project_id,omitempty"`
	// Identifier of the container application instance on container cluster.
	ExternalId string `json:"external_id"`
	// List of network errors related to container application instance.
	NetworkErrors []common.NetworkError `json:"network_errors,omitempty"`
	// Network status of container application instance.
	NetworkStatus string `json:"network_status,omitempty"`
	// Array of additional specific properties of container application instance in key-value format.
	OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"`
	// Status of the container application instance.
	Status string `json:"status,omitempty"`
}

Container application instance within a project.

type ContainerApplicationInstanceListResult

type ContainerApplicationInstanceListResult struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`
	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`
	// If true, results are sorted in ascending order
	SortAscending bool `json:"sort_ascending,omitempty"`
	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`
	// List of Container Applications
	Results []ContainerApplicationInstance `json:"results"`
}

type ContainerApplicationListResult

type ContainerApplicationListResult struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`
	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`
	// If true, results are sorted in ascending order
	SortAscending bool `json:"sort_ascending,omitempty"`
	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`
	// List of Container Applications
	Results []ContainerApplication `json:"results"`
}

type ContainerCluster

type ContainerCluster struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Timestamp of last modification
	LastSyncTime int64 `json:"_last_sync_time,omitempty"`
	// Description of this resource
	Description string `json:"description,omitempty"`
	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`
	// The type of this resource.
	ResourceType string `json:"resource_type"`
	// Specifies list of scope of discovered resource. e.g. if VHC path is associated with principal identity, who owns the discovered resource, then scope id will be VHC path and scope type will be VHC.
	Scope []DiscoveredResourceScope `json:"scope,omitempty"`
	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`
	// Type of the container cluster. In case of creating container cluster first time, it is expected to pass the valid cluster-type. In case of update, if there is no change in cluster-type, then this field can be omitted in the request.
	ClusterType string `json:"cluster_type,omitempty"`
	// Specifies Container Network Interface type for container cluster.
	CniType string `json:"cni_type,omitempty"`
	// External identifier of the container cluster.
	ExternalId string `json:"external_id,omitempty"`
	// Details of underlying infrastructure that hosts the container cluster. In case of creating container cluster first time, it is expected to pass the valid infrastructure. In case of update, if there is no change in cluster-type, then this field can be omitted in the request.
	Infrastructure *ContainerInfrastructureInfo `json:"infrastructure,omitempty"`
	// List of network errors related to container cluster.
	NetworkErrors []common.NetworkError `json:"network_errors,omitempty"`
	// Network status of container cluster.
	NetworkStatus string `json:"network_status,omitempty"`
	// Array of additional specific properties of container cluster in key-value format.
	OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"`
	// Specifies supervisor container project identifier for cluster.
	SupervisorProjectId string `json:"supervisor_project_id,omitempty"`
}

Details of container cluster.

type ContainerClusterListResult

type ContainerClusterListResult struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`
	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`
	// If true, results are sorted in ascending order
	SortAscending bool `json:"sort_ascending,omitempty"`
	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`
	// List of Container Clusters
	Results []ContainerCluster `json:"results"`
}

type ContainerClusterNode

type ContainerClusterNode struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Timestamp of last modification
	LastSyncTime int64 `json:"_last_sync_time,omitempty"`
	// Description of this resource
	Description string `json:"description,omitempty"`
	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`
	// The type of this resource.
	ResourceType string `json:"resource_type"`
	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`
	// Specifies Container Network Interface agent status of container cluster node.
	CniAgentStatus string `json:"cni_agent_status,omitempty"`
	// External identifier of the container cluster.
	ContainerClusterId string `json:"container_cluster_id,omitempty"`
	// External identifier of the container cluster node in K8S/PAS.
	ExternalId string `json:"external_id"`
	// List of IP addresses of container cluster node.
	IpAddresses []string `json:"ip_addresses,omitempty"`
	// List of network errors related to container cluster node.
	NetworkErrors []common.NetworkError `json:"network_errors,omitempty"`
	// Network status of container cluster node.
	NetworkStatus string `json:"network_status,omitempty"`
	// Array of additional specific properties of container cluster node in key-value format.
	OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"`
	// Specifies identifier of container cluster node given by infrastructure provider of container cluster. e.g. in case of vSpehere, it will be instance uuid of worker node virtual machine.
	ProviderId string `json:"provider_id,omitempty"`
}

Details of container cluster node i.e. container host.

type ContainerClusterNodeListResult

type ContainerClusterNodeListResult struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`
	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`
	// If true, results are sorted in ascending order
	SortAscending bool `json:"sort_ascending,omitempty"`
	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`
	// List of container cluster nodes
	Results []ContainerClusterNode `json:"results"`
}

type ContainerInfrastructureInfo

type ContainerInfrastructureInfo struct {
	// Type of the infrastructure.
	InfraType string `json:"infra_type"`
}

Details of infrastructure hosting the container cluster e.g. vSphere, AWS, VMC etc..

type ContainerIngressPolicy

type ContainerIngressPolicy struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Timestamp of last modification
	LastSyncTime int64 `json:"_last_sync_time,omitempty"`
	// Description of this resource
	Description string `json:"description,omitempty"`
	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`
	// The type of this resource.
	ResourceType string `json:"resource_type"`
	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`
	// List of identifiers of the container application , on which ingress policy is applied. e.g. IDs of all services on which the ingress is applied in kubernetes.
	ContainerApplicationIds []string `json:"container_application_ids,omitempty"`
	// Identifier of the container cluster this ingress policy belongs to.
	ContainerClusterId string `json:"container_cluster_id,omitempty"`
	// Identifier of the project which this container ingress belongs to.
	ContainerProjectId string `json:"container_project_id,omitempty"`
	// Identifier of the container ingress policy.
	ExternalId string `json:"external_id"`
	// List of network errors related to container ingress.
	NetworkErrors []common.NetworkError `json:"network_errors,omitempty"`
	// Network status of container ingress.
	NetworkStatus string `json:"network_status,omitempty"`
	// Array of additional specific properties of container ingress in key-value format.
	OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"`
	// Container ingress policy specification.
	Spec string `json:"spec,omitempty"`
}

Details of Container Ingress Policy.

type ContainerIngressPolicyListResult

type ContainerIngressPolicyListResult struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`
	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`
	// If true, results are sorted in ascending order
	SortAscending bool `json:"sort_ascending,omitempty"`
	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`
	// List of Container Ingress Policy specs
	Results []ContainerIngressPolicy `json:"results"`
}

type ContainerInventoryData

type ContainerInventoryData struct {
	// List of container inventory objects
	ContainerInventoryObjects []ContainerInventoryObject `json:"container_inventory_objects,omitempty"`
}

type ContainerInventoryObject

type ContainerInventoryObject struct {
	// Container object
	ContainerObject map[string]interface{} `json:"container_object"`
	// Object update type, one of CREATE, UPDATE, DELETE
	ObjectUpdateType string `json:"object_update_type"`
}

type ContainerNetworkPolicy

type ContainerNetworkPolicy struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Timestamp of last modification
	LastSyncTime int64 `json:"_last_sync_time,omitempty"`
	// Description of this resource
	Description string `json:"description,omitempty"`
	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`
	// The type of this resource.
	ResourceType string `json:"resource_type"`
	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`
	// Identifier of the container cluster this network policy belongs to.
	ContainerClusterId string `json:"container_cluster_id,omitempty"`
	// Identifier of the project which this network policy belongs to.
	ContainerProjectId string `json:"container_project_id,omitempty"`
	// Identifier of the container network policy.
	ExternalId string `json:"external_id"`
	// List of network errors related to container network policy.
	NetworkErrors []common.NetworkError `json:"network_errors,omitempty"`
	// Network status of container network policy.
	NetworkStatus string `json:"network_status,omitempty"`
	// Array of additional specific properties of container network policy in key-value format.
	OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"`
	// Type e.g. Network Policy, ASG.
	PolicyType string `json:"policy_type,omitempty"`
	// Container network policy specification.
	Spec string `json:"spec,omitempty"`
}

Network policy applied to container.

type ContainerNetworkPolicyListResult

type ContainerNetworkPolicyListResult struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`
	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`
	// If true, results are sorted in ascending order
	SortAscending bool `json:"sort_ascending,omitempty"`
	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`
	// List of Container Network Policy specs
	Results []ContainerNetworkPolicy `json:"results"`
}

type ContainerProject

type ContainerProject struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Timestamp of last modification
	LastSyncTime int64 `json:"_last_sync_time,omitempty"`
	// Description of this resource
	Description string `json:"description,omitempty"`
	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`
	// The type of this resource.
	ResourceType string `json:"resource_type"`
	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`
	// Identifier of the container cluster to which this project/namespace belongs.
	ContainerClusterId string `json:"container_cluster_id,omitempty"`
	// External identifier of the container project.
	ExternalId string `json:"external_id"`
	// List of network errors related to container project.
	NetworkErrors []common.NetworkError `json:"network_errors,omitempty"`
	// Network status of container project.
	NetworkStatus string `json:"network_status,omitempty"`
	// Array of additional specific properties of container project in key-value format.
	OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"`
}

Details of org/namespace within a container cluster.

type ContainerProjectListResult

type ContainerProjectListResult struct {
	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`
	// Schema for this resource
	Schema string `json:"_schema,omitempty"`
	// Link to this resource
	Self *common.SelfResourceLink `json:"_self,omitempty"`
	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`
	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`
	// If true, results are sorted in ascending order
	SortAscending bool `json:"sort_ascending,omitempty"`
	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`
	// List of projects
	Results []ContainerProject `json:"results"`
}

type DiscoveredResourceScope

type DiscoveredResourceScope struct {
	// Specifies the scope id of discovered resource. e.g. if VHC path is associated with principal identity, who owns the discovered resource, then scope id will be VHC path.
	ScopeId string `json:"scope_id,omitempty"`
	// Type of the scope for the discovered resource.
	ScopeType string `json:"scope_type,omitempty"`
}

Scope of discovered resource

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL