Documentation ¶
Index ¶
- type Application
- type ApplicationRef
- type ApplicationSpec
- type GCPMachineSize
- type GCPMachineSizeList
- type GCPNetwork
- type GCPSubnetwork
- type GCPSubnetworkList
- type MasterVersion
- type NamespaceSpec
- type ObjectMeta
- type Time
- type VMwareCloudDirectorCatalog
- type VMwareCloudDirectorCatalogList
- type VMwareCloudDirectorNetwork
- type VMwareCloudDirectorNetworkList
- type VMwareCloudDirectorStorageProfile
- type VMwareCloudDirectorStorageProfileList
- type VMwareCloudDirectorTemplate
- type VMwareCloudDirectorTemplateList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { ObjectMeta `json:",inline"` Spec ApplicationSpec `json:"spec"` }
Application represents a set of applications that are to be installed for the cluster swagger:model Application
type ApplicationRef ¶
type ApplicationRef struct { // Name of the Application Name string `json:"name" required:"true"` // Version of the Application. Must be a valid SemVer version // NOTE: We are not using Masterminds/semver here, as it keeps data in unexported fields witch causes issues for // DeepEqual used in our reconciliation packages. At the same time, we are not using pkg/semver because // of the reasons stated in https://github.com/kubermatic/kubermatic/pull/10891. Version string `json:"version" required:"true"` }
type ApplicationSpec ¶
type ApplicationSpec struct { // Namespace describe the desired state of the namespace where application will be created. Namespace NamespaceSpec `json:"namespace"` // ApplicationRef is a reference to identify which Application should be deployed ApplicationRef ApplicationRef `json:"applicationRef"` // Values describe overrides for manifest-rendering Values json.RawMessage `json:"values,omitempty"` }
ApplicationSpec represents the specification for an application swagger:model ApplicationSpec
type GCPMachineSize ¶
type GCPMachineSize struct { Name string `json:"name"` Description string `json:"description"` Memory int64 `json:"memory"` VCPUs int64 `json:"vcpus"` }
GCPMachineSize represents a object of GCP machine size. swagger:model GCPMachineSize
type GCPMachineSizeList ¶
type GCPMachineSizeList []GCPMachineSize
GCPMachineSizeList represents an array of GCP machine sizes. swagger:model GCPMachineSizeList
type GCPNetwork ¶
type GCPNetwork struct { ID uint64 `json:"id"` Name string `json:"name"` AutoCreateSubnetworks bool `json:"autoCreateSubnetworks"` Subnetworks []string `json:"subnetworks"` Kind string `json:"kind"` Path string `json:"path"` }
GCPNetwork represents a object of GCP networks. swagger:model GCPNetwork
type GCPSubnetwork ¶
type GCPSubnetwork struct { ID uint64 `json:"id"` Name string `json:"name"` Network string `json:"network"` IPCidrRange string `json:"ipCidrRange"` GatewayAddress string `json:"gatewayAddress"` Region string `json:"region"` SelfLink string `json:"selfLink"` PrivateIPGoogleAccess bool `json:"privateIpGoogleAccess"` Kind string `json:"kind"` Path string `json:"path"` IPFamily kubermaticv1.IPFamily `json:"ipFamily"` }
GCPSubnetwork represents a object of GCP subnetworks. swagger:model GCPSubnetwork
type GCPSubnetworkList ¶
type GCPSubnetworkList []GCPSubnetwork
GCPSubnetworkList represents an array of GCP subnetworks. swagger:model GCPSubnetworkList
type MasterVersion ¶
type MasterVersion struct { Version *semverlib.Version `json:"version"` Default bool `json:"default,omitempty"` // If true, then given version control plane version is not compatible // with one of the kubelets inside cluster and shouldn't be used. RestrictedByKubeletVersion bool `json:"restrictedByKubeletVersion,omitempty"` }
MasterVersion describes a version of the master components swagger:model MasterVersion
type NamespaceSpec ¶
type NamespaceSpec struct { // Name is the namespace to deploy the Application into Name string `json:"name" required:"true"` // Create defines whether the namespace should be created if it does not exist. Create bool `json:"create" required:"true"` // Labels of the namespace Labels map[string]string `json:"labels,omitempty"` // Annotations of the namespace Annotations map[string]string `json:"annotations,omitempty"` }
type ObjectMeta ¶
type ObjectMeta struct { // ID unique value that identifies the resource generated by the server. Read-Only. ID string `json:"id,omitempty"` // Name represents human readable name for the resource Name string `json:"name"` // Annotations that can be added to the resource Annotations map[string]string `json:"annotations,omitempty"` // DeletionTimestamp is a timestamp representing the server time when this object was deleted. // swagger:strfmt date-time DeletionTimestamp *Time `json:"deletionTimestamp,omitempty"` // CreationTimestamp is a timestamp representing the server time when this object was created. // swagger:strfmt date-time CreationTimestamp Time `json:"creationTimestamp,omitempty"` }
ObjectMeta defines the set of fields that objects returned from the API have swagger:model ObjectMeta
type Time ¶
Time is a wrapper around time.Time which supports correct marshaling JSON. Wrappers are provided for many of the factory methods that the time package offers.
func (*Time) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (*Time) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
type VMwareCloudDirectorCatalog ¶
type VMwareCloudDirectorCatalog struct {
Name string `json:"name"`
}
VMwareCloudDirectorCatalog represents a VMware Cloud Director catalog. swagger:model VMwareCloudDirectorCatalog
type VMwareCloudDirectorCatalogList ¶
type VMwareCloudDirectorCatalogList []VMwareCloudDirectorCatalog
VMwareCloudDirectorCatalogList represents an array of VMware Cloud Director catalogs. swagger:model VMwareCloudDirectorCatalogList
type VMwareCloudDirectorNetwork ¶
type VMwareCloudDirectorNetwork struct {
Name string `json:"name"`
}
VMwareCloudDirectorNetwork represents a VMware Cloud Director network. swagger:model VMwareCloudDirectorNetwork
type VMwareCloudDirectorNetworkList ¶
type VMwareCloudDirectorNetworkList []VMwareCloudDirectorNetwork
VMwareCloudDirectorNetworkList represents an array of VMware Cloud Director networks. swagger:model VMwareCloudDirectorNetworkList
type VMwareCloudDirectorStorageProfile ¶
type VMwareCloudDirectorStorageProfile struct {
Name string `json:"name"`
}
VMwareCloudDirectorStorageProfile represents a VMware Cloud Director storage profile. swagger:model VMwareCloudDirectorStorageProfile
type VMwareCloudDirectorStorageProfileList ¶
type VMwareCloudDirectorStorageProfileList []VMwareCloudDirectorStorageProfile
VMwareCloudDirectorStorageProfileList represents an array of VMware Cloud Director storage profiles. swagger:model VMwareCloudDirectorStorageProfileList
type VMwareCloudDirectorTemplate ¶
type VMwareCloudDirectorTemplate struct {
Name string `json:"name"`
}
VMwareCloudDirectorTemplate represents a VMware Cloud Director template. swagger:model VMwareCloudDirectorTemplate
type VMwareCloudDirectorTemplateList ¶
type VMwareCloudDirectorTemplateList []VMwareCloudDirectorTemplate
VMwareCloudDirectorTemplateList represents an array of VMware Cloud Director templates. swagger:model VMwareCloudDirectorTemplateList