Documentation ¶
Index ¶
- func GetRancherCACert(ctx context.Context, cli client.Client) string
- func GetSettingsValue(ctx context.Context, cli client.Client, name string) (string, error)
- func IsHTTP(uri string) bool
- func IsObjectOwned(obj *metav1.ObjectMeta, uid types.UID) bool
- func MarshalCloudConfig(cloudConfig map[string]runtime.RawExtension) ([]byte, error)
- func PlanChecksum(input []byte) string
- func RemoveInvalidConditions(conditions []metav1.Condition) []metav1.Condition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRancherCACert ¶ added in v1.2.3
GetRancherCACert returns the cacerts included within Rancher settings. If not configured returns an empty string
func GetSettingsValue ¶ added in v1.2.3
GetSettingsValue find the given name in Rancher settings and returns its value if found
func IsObjectOwned ¶ added in v1.2.3
func IsObjectOwned(obj *metav1.ObjectMeta, uid types.UID) bool
func MarshalCloudConfig ¶ added in v1.2.0
func MarshalCloudConfig(cloudConfig map[string]runtime.RawExtension) ([]byte, error)
func PlanChecksum ¶ added in v1.3.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.