Documentation ¶
Index ¶
- func FindWorkloadReference(references []dockyardsv1.WorkloadReference, ...) *dockyardsv1.WorkloadReference
- func GetDefaultClusterTemplate(ctx context.Context, c client.Client) (*dockyardsv1.ClusterTemplate, error)
- func GetDefaultRelease(ctx context.Context, c client.Client, releaseType dockyardsv1.ReleaseType) (*dockyardsv1.Release, error)
- func GetNamespaceOrganization(ctx context.Context, c client.Client, namespace string) (*dockyardsv1.Organization, error)
- func GetOwnerCluster(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.Cluster, error)
- func GetOwnerContainerImageDeployment(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.ContainerImageDeployment, error)
- func GetOwnerDeployment(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.Deployment, error)
- func GetOwnerHelmDeployment(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.HelmDeployment, error)
- func GetOwnerKustomizeDeployment(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.KustomizeDeployment, error)
- func GetOwnerNodePool(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.NodePool, error)
- func GetOwnerOrganization(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.Organization, error)
- func HasExpired(expirable Expirable) bool
- func IgnoreClientError(err error) error
- func IgnoreConflict(err error) error
- func IgnoreForbidden(err error) error
- func IgnoreInternalError(err error) error
- func IgnoreIsInvalid(err error) error
- func IsFeatureEnabled(ctx context.Context, c client.Reader, featureName featurenames.FeatureName, ...) (bool, error)
- func IsSubjectAllowed(ctx context.Context, c client.Client, subject string, ...) (bool, error)
- func SetWorkloadReference(references *[]dockyardsv1.WorkloadReference, ...) bool
- type Expirable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindWorkloadReference ¶
func FindWorkloadReference(references []dockyardsv1.WorkloadReference, reference dockyardsv1.WorkloadReference) *dockyardsv1.WorkloadReference
func GetDefaultClusterTemplate ¶
func GetDefaultClusterTemplate(ctx context.Context, c client.Client) (*dockyardsv1.ClusterTemplate, error)
func GetDefaultRelease ¶
func GetDefaultRelease(ctx context.Context, c client.Client, releaseType dockyardsv1.ReleaseType) (*dockyardsv1.Release, error)
func GetNamespaceOrganization ¶
func GetNamespaceOrganization(ctx context.Context, c client.Client, namespace string) (*dockyardsv1.Organization, error)
func GetOwnerCluster ¶
func GetOwnerContainerImageDeployment ¶
func GetOwnerContainerImageDeployment(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.ContainerImageDeployment, error)
func GetOwnerDeployment ¶
func GetOwnerDeployment(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.Deployment, error)
func GetOwnerHelmDeployment ¶
func GetOwnerHelmDeployment(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.HelmDeployment, error)
func GetOwnerKustomizeDeployment ¶
func GetOwnerKustomizeDeployment(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.KustomizeDeployment, error)
func GetOwnerNodePool ¶
func GetOwnerOrganization ¶
func GetOwnerOrganization(ctx context.Context, c client.Client, o client.Object) (*dockyardsv1.Organization, error)
func HasExpired ¶
func IgnoreClientError ¶
func IgnoreConflict ¶
func IgnoreForbidden ¶
func IgnoreInternalError ¶
func IgnoreIsInvalid ¶
func IsFeatureEnabled ¶
func IsFeatureEnabled(ctx context.Context, c client.Reader, featureName featurenames.FeatureName, inNamespace string) (bool, error)
func IsSubjectAllowed ¶
func IsSubjectAllowed(ctx context.Context, c client.Client, subject string, resourceAttributes *authorizationv1.ResourceAttributes) (bool, error)
func SetWorkloadReference ¶
func SetWorkloadReference(references *[]dockyardsv1.WorkloadReference, newReference dockyardsv1.WorkloadReference) bool
Types ¶
Click to show internal directories.
Click to hide internal directories.