Documentation
¶
Index ¶
- Constants
- func DefaultCompareFunc(left runtime.Object, right runtime.Object, field query.Field) bool
- func DefaultFilterFunc(obj runtime.Object, filter query.Filter) bool
- func NoTransformFunc(obj runtime.Object) runtime.Object
- type ClientType
- type GitCredential
- type ListResult
- type NamespacedResourceQuota
- type RegistryCredential
- type ResourceQuota
- type Router
- type Workloads
Constants ¶
View Source
const ( StatusOK = "ok" GroupName = "devops.kubesphere.io" )
Variables ¶
This section is empty.
Functions ¶
func DefaultCompareFunc ¶
Types ¶
type ClientType ¶
type ClientType string
type GitCredential ¶
type GitCredential struct {
RemoteUrl string `json:"remoteUrl" description:"git server url"`
SecretRef *corev1.SecretReference `json:"secretRef,omitempty" description:"auth secret reference"`
}
type ListResult ¶
type ListResult struct {
Items []interface{} `json:"items"`
TotalItems int `json:"totalItems"`
}
func FromKSListResult ¶
func FromKSListResult(result *api.ListResult) *ListResult
func NewListResult ¶
func NewListResult(items []interface{}, total int) *ListResult
NewListResult creates a ListResult for the given items and total.
type NamespacedResourceQuota ¶
type NamespacedResourceQuota struct {
Namespace string `json:"namespace,omitempty"`
Data struct {
corev1.ResourceQuotaStatus
// quota left status, do the math on the side, cause it's
// a lot easier with go-client library
Left corev1.ResourceList `json:"left,omitempty"`
} `json:"data,omitempty"`
}
type RegistryCredential ¶
type ResourceQuota ¶
type ResourceQuota struct {
Namespace string `json:"namespace" description:"namespace"`
Data corev1.ResourceQuotaStatus `json:"data" description:"resource quota status"`
}
Directories
¶
| Path | Synopsis |
|---|---|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the devops v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubesphere/ks-devops/api +k8s:defaulter-gen=TypeMeta +groupName=devops.kubesphere.io
|
Package v1alpha1 contains API Schema definitions for the devops v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubesphere/ks-devops/api +k8s:defaulter-gen=TypeMeta +groupName=devops.kubesphere.io |
|
v1alpha3
Package v1alpha3 contains API Schema definitions for the devops.kubesphere.io v1alpha3 API group +kubebuilder:object:generate=true +groupName=devops.kubesphere.io
|
Package v1alpha3 contains API Schema definitions for the devops.kubesphere.io v1alpha3 API group +kubebuilder:object:generate=true +groupName=devops.kubesphere.io |
|
gitops
|
|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the gitops v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=kubesphere.io/gitops/api +k8s:defaulter-gen=TypeMeta +groupName=gitops.kubesphere.io
|
Package v1alpha1 contains API Schema definitions for the gitops v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=kubesphere.io/gitops/api +k8s:defaulter-gen=TypeMeta +groupName=gitops.kubesphere.io |
Click to show internal directories.
Click to hide internal directories.