Documentation ¶
Index ¶
- func ApiName(name string) *v1beta1.Name
- func Bool(b bool) *bool
- func ConvertCrdAccessPolicyRuleToSdkAccessPolicyRule(crdObj *v1beta1.AccessPolicyRule, sdkObj *sdk.AccessPolicyRule, ...)
- func ConvertCrdAccessPolicyToSdkAccessPolicy(crdObj *v1beta1.AccessPolicy, sdkObj *sdk.AccessPolicy, ...)
- func ConvertCrdDefinedTagsToSdkDefinedTags(crdObj *map[string]api.MapValue, sdkObj *map[string]map[string]interface{})
- func ConvertCrdFreeformTagsToSdkFreeformTags(crdObj *map[string]string, sdkObj *map[string]string)
- func ConvertCrdIngressGatewayRouteTableToSdkIngressGatewayRouteTable(crdObj *v1beta1.IngressGatewayRouteTable, sdkObj *sdk.IngressGatewayRouteTable, ...) error
- func ConvertCrdIngressGatewayToSdkIngressGateway(crdObj *v1beta1.IngressGateway, sdkObj *sdk.IngressGateway, meshId *api.OCID)
- func ConvertCrdMeshToSdkMesh(crdMesh *v1beta1.Mesh, sdkMesh *sdk.Mesh) error
- func ConvertCrdMtlsModeEnum(crdEnum v1beta1.MutualTransportLayerSecurityModeEnum) (sdk.MutualTransportLayerSecurityModeEnum, error)
- func ConvertCrdTrafficRouteRuleDestinationToSdkTrafficRouteRuleDestination(crdObj *v1beta1.VirtualDeploymentTrafficRuleTarget, ...)
- func ConvertCrdTrafficRouteRuleDestinationToSdkTrafficRouteRuleDestinationForIGRT(crdObj *v1beta1.VirtualServiceTrafficRuleTarget, ...)
- func ConvertCrdTrafficTargetToSdkAccessPolicyTarget(crdObj *v1beta1.TrafficTarget, refId api.OCID) (sdk.AccessPolicyTarget, error)
- func ConvertCrdVirtualDeploymentListenerToSdkVirtualDeploymentListener(crdListener []v1beta1.Listener) (sdkListeners []sdk.VirtualDeploymentListener)
- func ConvertCrdVirtualDeploymentServiceDiscoveryToSdkVirtualDeploymentServiceDiscovery(crdServiceDiscovery *v1beta1.ServiceDiscovery) (sdkServiceDiscovery sdk.ServiceDiscoveryConfiguration)
- func ConvertCrdVirtualDeploymentToSdkVirtualDeployment(crdObj *v1beta1.VirtualDeployment, sdkObj *sdk.VirtualDeployment, ...)
- func ConvertCrdVirtualServiceToSdkVirtualService(crdObj *v1beta1.VirtualService, sdkObj *sdk.VirtualService, meshId *api.OCID) error
- func ConvertCrdVsrtToSdkVsrt(crdObj *v1beta1.VirtualServiceRouteTable, sdkObj *sdk.VirtualServiceRouteTable, ...) error
- func ConvertCrdVsrtTrafficRouteRuleToSdkTrafficRouteRule(crdObj *v1beta1.VirtualServiceTrafficRouteRule, ...) error
- func ConvertSdkAccessPolicyRuleToSdkAccessPolicyRuleDetails(rules []sdk.AccessPolicyRule) []sdk.AccessPolicyRuleDetails
- func ConvertSdkAccessPolicyTargetToAccessPolicyTargetDetails(target sdk.AccessPolicyTarget) sdk.AccessPolicyTargetDetails
- func ConvertSdkIgMtlsToCrdIgMtls(sdkMtls *sdk.IngressGatewayMutualTransportLayerSecurity) *v1beta1.IngressGatewayMutualTransportLayerSecurity
- func ConvertSdkIngressGatewayTrafficRouteRuleToTrafficRouteRuleDetails(rules []sdk.IngressGatewayTrafficRouteRule) []sdk.IngressGatewayTrafficRouteRuleDetails
- func ConvertSdkMeshMTlsToCrdMeshMTls(sdkMtls *sdk.MeshMutualTransportLayerSecurity) (*v1beta1.MeshMutualTransportLayerSecurity, error)
- func ConvertSdkMtlsModeEnum(sdkEnum sdk.MutualTransportLayerSecurityModeEnum) (v1beta1.MutualTransportLayerSecurityModeEnum, error)
- func ConvertSdkVirtualDeploymentTrafficRuleTargetToTrafficRuleTargetDetails(ruleTargets []sdk.VirtualDeploymentTrafficRuleTarget) []sdk.VirtualDeploymentTrafficRuleTargetDetails
- func ConvertSdkVirtualServiceTrafficRouteRuleToTrafficRouteRuleDetails(rules []sdk.VirtualServiceTrafficRouteRule) []sdk.VirtualServiceTrafficRouteRuleDetails
- func ConvertSdkVirtualServiceTrafficRuleTargetToTrafficRuleTargetDetails(ruleTargets []sdk.VirtualServiceTrafficRuleTarget) []sdk.VirtualServiceTrafficRuleTargetDetails
- func ConvertSdkVsMtlsToCrdVsMtls(sdkMtls *sdk.MutualTransportLayerSecurity) (*v1beta1.VirtualServiceMutualTransportLayerSecurity, error)
- func DeRefString(s *string) string
- func GetSpecName(specName *v1beta1.Name, metadata *metav1.ObjectMeta) *string
- func Int64(i int64) *int64
- func Integer(i int) *int
- func OCID(ocid string) *api.OCID
- func Port(port int) *v1beta1.Port
- func PortToInt(port *v1beta1.Port) *int
- func String(s string) *string
- type AccessPolicyDependencies
- type IGRTDependencies
- type VSRTDependencies
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCrdAccessPolicyRuleToSdkAccessPolicyRule ¶
func ConvertCrdAccessPolicyRuleToSdkAccessPolicyRule(crdObj *v1beta1.AccessPolicyRule, sdkObj *sdk.AccessPolicyRule, refIds map[string]api.OCID)
func ConvertCrdAccessPolicyToSdkAccessPolicy ¶
func ConvertCrdAccessPolicyToSdkAccessPolicy(crdObj *v1beta1.AccessPolicy, sdkObj *sdk.AccessPolicy, dependencies *AccessPolicyDependencies)
func ConvertCrdFreeformTagsToSdkFreeformTags ¶ added in v1.1.2
func ConvertCrdIngressGatewayRouteTableToSdkIngressGatewayRouteTable ¶
func ConvertCrdIngressGatewayRouteTableToSdkIngressGatewayRouteTable(crdObj *v1beta1.IngressGatewayRouteTable, sdkObj *sdk.IngressGatewayRouteTable, dependencies *IGRTDependencies) error
func ConvertCrdIngressGatewayToSdkIngressGateway ¶
func ConvertCrdIngressGatewayToSdkIngressGateway(crdObj *v1beta1.IngressGateway, sdkObj *sdk.IngressGateway, meshId *api.OCID)
ConvertCrdIngressGatewayToSdkIngressGateway converts a CRD object to an object that can be sent to the API
func ConvertCrdMeshToSdkMesh ¶
func ConvertCrdMtlsModeEnum ¶
func ConvertCrdMtlsModeEnum(crdEnum v1beta1.MutualTransportLayerSecurityModeEnum) (sdk.MutualTransportLayerSecurityModeEnum, error)
func ConvertCrdTrafficRouteRuleDestinationToSdkTrafficRouteRuleDestination ¶
func ConvertCrdTrafficRouteRuleDestinationToSdkTrafficRouteRuleDestination(crdObj *v1beta1.VirtualDeploymentTrafficRuleTarget, sdkObj *sdk.VirtualDeploymentTrafficRuleTarget, vdID api.OCID)
func ConvertCrdTrafficRouteRuleDestinationToSdkTrafficRouteRuleDestinationForIGRT ¶
func ConvertCrdTrafficRouteRuleDestinationToSdkTrafficRouteRuleDestinationForIGRT(crdObj *v1beta1.VirtualServiceTrafficRuleTarget, sdkObj *sdk.VirtualServiceTrafficRuleTarget, vsID api.OCID)
func ConvertCrdTrafficTargetToSdkAccessPolicyTarget ¶
func ConvertCrdTrafficTargetToSdkAccessPolicyTarget(crdObj *v1beta1.TrafficTarget, refId api.OCID) (sdk.AccessPolicyTarget, error)
func ConvertCrdVirtualDeploymentListenerToSdkVirtualDeploymentListener ¶
func ConvertCrdVirtualDeploymentListenerToSdkVirtualDeploymentListener(crdListener []v1beta1.Listener) (sdkListeners []sdk.VirtualDeploymentListener)
ConvertCrdVirtualDeploymentListenerToSdkVirtualDeploymentListener converts a listener from a CRD object to a listener for an SDK object
func ConvertCrdVirtualDeploymentServiceDiscoveryToSdkVirtualDeploymentServiceDiscovery ¶ added in v1.1.5
func ConvertCrdVirtualDeploymentServiceDiscoveryToSdkVirtualDeploymentServiceDiscovery(crdServiceDiscovery *v1beta1.ServiceDiscovery) (sdkServiceDiscovery sdk.ServiceDiscoveryConfiguration)
func ConvertCrdVirtualDeploymentToSdkVirtualDeployment ¶
func ConvertCrdVirtualDeploymentToSdkVirtualDeployment(crdObj *v1beta1.VirtualDeployment, sdkObj *sdk.VirtualDeployment, vsId *api.OCID)
ConvertCrdVirtualDeploymentToSdkVirtualDeployment converts a CRD object to an object that can be sent to the API
func ConvertCrdVirtualServiceToSdkVirtualService ¶
func ConvertCrdVirtualServiceToSdkVirtualService(crdObj *v1beta1.VirtualService, sdkObj *sdk.VirtualService, meshId *api.OCID) error
func ConvertCrdVsrtToSdkVsrt ¶
func ConvertCrdVsrtToSdkVsrt(crdObj *v1beta1.VirtualServiceRouteTable, sdkObj *sdk.VirtualServiceRouteTable, dependencies *VSRTDependencies) error
func ConvertCrdVsrtTrafficRouteRuleToSdkTrafficRouteRule ¶
func ConvertCrdVsrtTrafficRouteRuleToSdkTrafficRouteRule(crdObj *v1beta1.VirtualServiceTrafficRouteRule, sdkObj *sdk.VirtualServiceTrafficRouteRule, vdIds []api.OCID) error
func ConvertSdkAccessPolicyRuleToSdkAccessPolicyRuleDetails ¶ added in v1.1.5
func ConvertSdkAccessPolicyRuleToSdkAccessPolicyRuleDetails(rules []sdk.AccessPolicyRule) []sdk.AccessPolicyRuleDetails
func ConvertSdkAccessPolicyTargetToAccessPolicyTargetDetails ¶ added in v1.1.5
func ConvertSdkAccessPolicyTargetToAccessPolicyTargetDetails(target sdk.AccessPolicyTarget) sdk.AccessPolicyTargetDetails
func ConvertSdkIgMtlsToCrdIgMtls ¶
func ConvertSdkIgMtlsToCrdIgMtls(sdkMtls *sdk.IngressGatewayMutualTransportLayerSecurity) *v1beta1.IngressGatewayMutualTransportLayerSecurity
func ConvertSdkIngressGatewayTrafficRouteRuleToTrafficRouteRuleDetails ¶ added in v1.1.5
func ConvertSdkIngressGatewayTrafficRouteRuleToTrafficRouteRuleDetails(rules []sdk.IngressGatewayTrafficRouteRule) []sdk.IngressGatewayTrafficRouteRuleDetails
func ConvertSdkMeshMTlsToCrdMeshMTls ¶
func ConvertSdkMeshMTlsToCrdMeshMTls(sdkMtls *sdk.MeshMutualTransportLayerSecurity) (*v1beta1.MeshMutualTransportLayerSecurity, error)
func ConvertSdkMtlsModeEnum ¶
func ConvertSdkMtlsModeEnum(sdkEnum sdk.MutualTransportLayerSecurityModeEnum) (v1beta1.MutualTransportLayerSecurityModeEnum, error)
func ConvertSdkVirtualDeploymentTrafficRuleTargetToTrafficRuleTargetDetails ¶ added in v1.1.5
func ConvertSdkVirtualDeploymentTrafficRuleTargetToTrafficRuleTargetDetails(ruleTargets []sdk.VirtualDeploymentTrafficRuleTarget) []sdk.VirtualDeploymentTrafficRuleTargetDetails
func ConvertSdkVirtualServiceTrafficRouteRuleToTrafficRouteRuleDetails ¶ added in v1.1.5
func ConvertSdkVirtualServiceTrafficRouteRuleToTrafficRouteRuleDetails(rules []sdk.VirtualServiceTrafficRouteRule) []sdk.VirtualServiceTrafficRouteRuleDetails
func ConvertSdkVirtualServiceTrafficRuleTargetToTrafficRuleTargetDetails ¶ added in v1.1.5
func ConvertSdkVirtualServiceTrafficRuleTargetToTrafficRuleTargetDetails(ruleTargets []sdk.VirtualServiceTrafficRuleTarget) []sdk.VirtualServiceTrafficRuleTargetDetails
func ConvertSdkVsMtlsToCrdVsMtls ¶
func ConvertSdkVsMtlsToCrdVsMtls(sdkMtls *sdk.MutualTransportLayerSecurity) (*v1beta1.VirtualServiceMutualTransportLayerSecurity, error)
func DeRefString ¶
func GetSpecName ¶
func GetSpecName(specName *v1beta1.Name, metadata *metav1.ObjectMeta) *string
GetSpecName returns the spec name of the resource Returns spec.Name if present in the crd, else returns the metadata name of the resource appended to the namespace of the resource
Types ¶
type IGRTDependencies ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.