v1

package
v2.23.18 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application added in v2.21.0

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 added in v2.21.0

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 added in v2.21.0

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 added in v2.21.0

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

type Time struct {
	time.Time `json:"time,omitempty"`
}

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 Date

func Date(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) Time

Date returns the Time corresponding to the supplied parameters by wrapping time.Date.

func NewTime

func NewTime(t time.Time) Time

NewTime returns a wrapped instance of the provided time.

func Now

func Now() Time

Now returns the current local time.

func (*Time) Before

func (t *Time) Before(u Time) bool

Before reports whether the time instant t is before u.

func (*Time) Equal

func (t *Time) Equal(u *Time) bool

Equal reports whether the time instant t is equal to u.

func (*Time) IsZero

func (t *Time) IsZero() bool

IsZero returns true if the value is nil or time is zero.

func (*Time) MarshalJSON

func (t *Time) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Time) String

func (t *Time) String() string

String returns the representation of the time.

func (*Time) UnmarshalJSON

func (t *Time) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

type VMwareCloudDirectorCatalog added in v2.21.0

type VMwareCloudDirectorCatalog struct {
	Name string `json:"name"`
}

VMwareCloudDirectorCatalog represents a VMware Cloud Director catalog. swagger:model VMwareCloudDirectorCatalog

type VMwareCloudDirectorCatalogList added in v2.21.0

type VMwareCloudDirectorCatalogList []VMwareCloudDirectorCatalog

VMwareCloudDirectorCatalogList represents an array of VMware Cloud Director catalogs. swagger:model VMwareCloudDirectorCatalogList

type VMwareCloudDirectorNetwork added in v2.21.0

type VMwareCloudDirectorNetwork struct {
	Name string `json:"name"`
}

VMwareCloudDirectorNetwork represents a VMware Cloud Director network. swagger:model VMwareCloudDirectorNetwork

type VMwareCloudDirectorNetworkList added in v2.21.0

type VMwareCloudDirectorNetworkList []VMwareCloudDirectorNetwork

VMwareCloudDirectorNetworkList represents an array of VMware Cloud Director networks. swagger:model VMwareCloudDirectorNetworkList

type VMwareCloudDirectorStorageProfile added in v2.21.0

type VMwareCloudDirectorStorageProfile struct {
	Name string `json:"name"`
}

VMwareCloudDirectorStorageProfile represents a VMware Cloud Director storage profile. swagger:model VMwareCloudDirectorStorageProfile

type VMwareCloudDirectorStorageProfileList added in v2.21.0

type VMwareCloudDirectorStorageProfileList []VMwareCloudDirectorStorageProfile

VMwareCloudDirectorStorageProfileList represents an array of VMware Cloud Director storage profiles. swagger:model VMwareCloudDirectorStorageProfileList

type VMwareCloudDirectorTemplate added in v2.21.0

type VMwareCloudDirectorTemplate struct {
	Name string `json:"name"`
}

VMwareCloudDirectorTemplate represents a VMware Cloud Director template. swagger:model VMwareCloudDirectorTemplate

type VMwareCloudDirectorTemplateList added in v2.21.0

type VMwareCloudDirectorTemplateList []VMwareCloudDirectorTemplate

VMwareCloudDirectorTemplateList represents an array of VMware Cloud Director templates. swagger:model VMwareCloudDirectorTemplateList

Jump to

Keyboard shortcuts

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