functions

package
v65.64.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApplicationLifecycleStateEnumStringValues

func GetApplicationLifecycleStateEnumStringValues() []string

GetApplicationLifecycleStateEnumStringValues Enumerates the set of values in String for ApplicationLifecycleStateEnum

func GetApplicationShapeEnumStringValues added in v65.41.1

func GetApplicationShapeEnumStringValues() []string

GetApplicationShapeEnumStringValues Enumerates the set of values in String for ApplicationShapeEnum

func GetApplicationSummaryShapeEnumStringValues added in v65.41.1

func GetApplicationSummaryShapeEnumStringValues() []string

GetApplicationSummaryShapeEnumStringValues Enumerates the set of values in String for ApplicationSummaryShapeEnum

func GetCreateApplicationDetailsShapeEnumStringValues added in v65.41.1

func GetCreateApplicationDetailsShapeEnumStringValues() []string

GetCreateApplicationDetailsShapeEnumStringValues Enumerates the set of values in String for CreateApplicationDetailsShapeEnum

func GetFunctionLifecycleStateEnumStringValues

func GetFunctionLifecycleStateEnumStringValues() []string

GetFunctionLifecycleStateEnumStringValues Enumerates the set of values in String for FunctionLifecycleStateEnum

func GetFunctionProvisionedConcurrencyConfigStrategyEnumStringValues added in v65.4.0

func GetFunctionProvisionedConcurrencyConfigStrategyEnumStringValues() []string

GetFunctionProvisionedConcurrencyConfigStrategyEnumStringValues Enumerates the set of values in String for FunctionProvisionedConcurrencyConfigStrategyEnum

func GetFunctionShapeEnumStringValues added in v65.41.1

func GetFunctionShapeEnumStringValues() []string

GetFunctionShapeEnumStringValues Enumerates the set of values in String for FunctionShapeEnum

func GetFunctionSourceDetailsSourceTypeEnumStringValues added in v65.33.0

func GetFunctionSourceDetailsSourceTypeEnumStringValues() []string

GetFunctionSourceDetailsSourceTypeEnumStringValues Enumerates the set of values in String for FunctionSourceDetailsSourceTypeEnum

func GetFunctionSummaryShapeEnumStringValues added in v65.41.1

func GetFunctionSummaryShapeEnumStringValues() []string

GetFunctionSummaryShapeEnumStringValues Enumerates the set of values in String for FunctionSummaryShapeEnum

func GetInvokeFunctionFnIntentEnumStringValues

func GetInvokeFunctionFnIntentEnumStringValues() []string

GetInvokeFunctionFnIntentEnumStringValues Enumerates the set of values in String for InvokeFunctionFnIntentEnum

func GetInvokeFunctionFnInvokeTypeEnumStringValues

func GetInvokeFunctionFnInvokeTypeEnumStringValues() []string

GetInvokeFunctionFnInvokeTypeEnumStringValues Enumerates the set of values in String for InvokeFunctionFnInvokeTypeEnum

func GetListApplicationsSortByEnumStringValues

func GetListApplicationsSortByEnumStringValues() []string

GetListApplicationsSortByEnumStringValues Enumerates the set of values in String for ListApplicationsSortByEnum

func GetListApplicationsSortOrderEnumStringValues

func GetListApplicationsSortOrderEnumStringValues() []string

GetListApplicationsSortOrderEnumStringValues Enumerates the set of values in String for ListApplicationsSortOrderEnum

func GetListFunctionsSortByEnumStringValues

func GetListFunctionsSortByEnumStringValues() []string

GetListFunctionsSortByEnumStringValues Enumerates the set of values in String for ListFunctionsSortByEnum

func GetListFunctionsSortOrderEnumStringValues

func GetListFunctionsSortOrderEnumStringValues() []string

GetListFunctionsSortOrderEnumStringValues Enumerates the set of values in String for ListFunctionsSortOrderEnum

func GetListPbfListingVersionsSortByEnumStringValues added in v65.33.0

func GetListPbfListingVersionsSortByEnumStringValues() []string

GetListPbfListingVersionsSortByEnumStringValues Enumerates the set of values in String for ListPbfListingVersionsSortByEnum

func GetListPbfListingVersionsSortOrderEnumStringValues added in v65.33.0

func GetListPbfListingVersionsSortOrderEnumStringValues() []string

GetListPbfListingVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListPbfListingVersionsSortOrderEnum

func GetListPbfListingsSortByEnumStringValues added in v65.33.0

func GetListPbfListingsSortByEnumStringValues() []string

GetListPbfListingsSortByEnumStringValues Enumerates the set of values in String for ListPbfListingsSortByEnum

func GetListPbfListingsSortOrderEnumStringValues added in v65.33.0

func GetListPbfListingsSortOrderEnumStringValues() []string

GetListPbfListingsSortOrderEnumStringValues Enumerates the set of values in String for ListPbfListingsSortOrderEnum

func GetListTriggersSortOrderEnumStringValues added in v65.33.0

func GetListTriggersSortOrderEnumStringValues() []string

GetListTriggersSortOrderEnumStringValues Enumerates the set of values in String for ListTriggersSortOrderEnum

func GetPbfListingLifecycleStateEnumStringValues added in v65.33.0

func GetPbfListingLifecycleStateEnumStringValues() []string

GetPbfListingLifecycleStateEnumStringValues Enumerates the set of values in String for PbfListingLifecycleStateEnum

func GetPbfListingVersionLifecycleStateEnumStringValues added in v65.33.0

func GetPbfListingVersionLifecycleStateEnumStringValues() []string

GetPbfListingVersionLifecycleStateEnumStringValues Enumerates the set of values in String for PbfListingVersionLifecycleStateEnum

Types

type Application

type Application struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the application.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the application.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The display name of the application. The display name is unique within the compartment containing the application.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The current state of the application.
	LifecycleState ApplicationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Application configuration for functions in this application (passed as environment variables). Can be overridden by function configuration.
	// Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
	// Example: `{"MY_FUNCTION_CONFIG": "ConfVal"}`
	// The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
	Config map[string]string `mandatory:"false" json:"config"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the subnets in which to run functions in the application.
	SubnetIds []string `mandatory:"false" json:"subnetIds"`

	// Valid values are `GENERIC_X86`, `GENERIC_ARM` and `GENERIC_X86_ARM`. Default is `GENERIC_X86`. Setting this to `GENERIC_X86`, will run the functions in the application on X86 processor architecture.
	// Setting this to `GENERIC_ARM`, will run the functions in the application on ARM processor architecture.
	// When set to `GENERIC_X86_ARM`, functions in the application are run on either X86 or ARM processor architecture.
	// Accepted values are:
	// `GENERIC_X86`, `GENERIC_ARM`, `GENERIC_X86_ARM`
	Shape ApplicationShapeEnum `mandatory:"false" json:"shape,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the Network Security Groups to add the application to.
	NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`

	// A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls.
	// The syslog URL must be reachable from all of the subnets configured for the application.
	// Note: If you enable the OCI Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the OCI Logging service, and not to the syslog URL.
	// Example: `tcp://logserver.myserver:1234`
	SyslogUrl *string `mandatory:"false" json:"syslogUrl"`

	TraceConfig *ApplicationTraceConfig `mandatory:"false" json:"traceConfig"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The time the application was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2018-09-12T22:47:12.613Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the application was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2018-09-12T22:47:12.613Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	ImagePolicyConfig *ImagePolicyConfig `mandatory:"false" json:"imagePolicyConfig"`
}

Application An application contains functions and defined attributes shared between those functions, such as network configuration and configuration. Avoid entering confidential information.

func (Application) String

func (m Application) String() string

func (Application) ValidateEnumValue

func (m Application) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ApplicationLifecycleStateEnum

type ApplicationLifecycleStateEnum string

ApplicationLifecycleStateEnum Enum with underlying type: string

const (
	ApplicationLifecycleStateCreating ApplicationLifecycleStateEnum = "CREATING"
	ApplicationLifecycleStateActive   ApplicationLifecycleStateEnum = "ACTIVE"
	ApplicationLifecycleStateInactive ApplicationLifecycleStateEnum = "INACTIVE"
	ApplicationLifecycleStateUpdating ApplicationLifecycleStateEnum = "UPDATING"
	ApplicationLifecycleStateDeleting ApplicationLifecycleStateEnum = "DELETING"
	ApplicationLifecycleStateDeleted  ApplicationLifecycleStateEnum = "DELETED"
	ApplicationLifecycleStateFailed   ApplicationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ApplicationLifecycleStateEnum

func GetApplicationLifecycleStateEnumValues

func GetApplicationLifecycleStateEnumValues() []ApplicationLifecycleStateEnum

GetApplicationLifecycleStateEnumValues Enumerates the set of values for ApplicationLifecycleStateEnum

func GetMappingApplicationLifecycleStateEnum

func GetMappingApplicationLifecycleStateEnum(val string) (ApplicationLifecycleStateEnum, bool)

GetMappingApplicationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ApplicationShapeEnum added in v65.41.1

type ApplicationShapeEnum string

ApplicationShapeEnum Enum with underlying type: string

const (
	ApplicationShapeX86    ApplicationShapeEnum = "GENERIC_X86"
	ApplicationShapeArm    ApplicationShapeEnum = "GENERIC_ARM"
	ApplicationShapeX86Arm ApplicationShapeEnum = "GENERIC_X86_ARM"
)

Set of constants representing the allowable values for ApplicationShapeEnum

func GetApplicationShapeEnumValues added in v65.41.1

func GetApplicationShapeEnumValues() []ApplicationShapeEnum

GetApplicationShapeEnumValues Enumerates the set of values for ApplicationShapeEnum

func GetMappingApplicationShapeEnum added in v65.41.1

func GetMappingApplicationShapeEnum(val string) (ApplicationShapeEnum, bool)

GetMappingApplicationShapeEnum performs case Insensitive comparison on enum value and return the desired enum

type ApplicationSummary

type ApplicationSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the application.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the application.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The display name of the application. The display name is unique within the compartment containing the application.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The current state of the application.
	LifecycleState ApplicationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the subnets in which to run functions in the application.
	SubnetIds []string `mandatory:"false" json:"subnetIds"`

	// Valid values are `GENERIC_X86`, `GENERIC_ARM` and `GENERIC_X86_ARM`. Default is `GENERIC_X86`. Setting this to `GENERIC_X86`, will run the functions in the application on X86 processor architecture.
	// Setting this to `GENERIC_ARM`, will run the functions in the application on ARM processor architecture.
	// When set to `GENERIC_X86_ARM`, functions in the application are run on either X86 or ARM processor architecture.
	// Accepted values are:
	// `GENERIC_X86`, `GENERIC_ARM`, `GENERIC_X86_ARM`
	Shape ApplicationSummaryShapeEnum `mandatory:"false" json:"shape,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the Network Security Groups to add the application to.
	NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`

	TraceConfig *ApplicationTraceConfig `mandatory:"false" json:"traceConfig"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The time the application was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2018-09-12T22:47:12.613Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the application was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2018-09-12T22:47:12.613Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	ImagePolicyConfig *ImagePolicyConfig `mandatory:"false" json:"imagePolicyConfig"`
}

ApplicationSummary Summary of an application.

func (ApplicationSummary) String

func (m ApplicationSummary) String() string

func (ApplicationSummary) ValidateEnumValue

func (m ApplicationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ApplicationSummaryShapeEnum added in v65.41.1

type ApplicationSummaryShapeEnum string

ApplicationSummaryShapeEnum Enum with underlying type: string

const (
	ApplicationSummaryShapeX86    ApplicationSummaryShapeEnum = "GENERIC_X86"
	ApplicationSummaryShapeArm    ApplicationSummaryShapeEnum = "GENERIC_ARM"
	ApplicationSummaryShapeX86Arm ApplicationSummaryShapeEnum = "GENERIC_X86_ARM"
)

Set of constants representing the allowable values for ApplicationSummaryShapeEnum

func GetApplicationSummaryShapeEnumValues added in v65.41.1

func GetApplicationSummaryShapeEnumValues() []ApplicationSummaryShapeEnum

GetApplicationSummaryShapeEnumValues Enumerates the set of values for ApplicationSummaryShapeEnum

func GetMappingApplicationSummaryShapeEnum added in v65.41.1

func GetMappingApplicationSummaryShapeEnum(val string) (ApplicationSummaryShapeEnum, bool)

GetMappingApplicationSummaryShapeEnum performs case Insensitive comparison on enum value and return the desired enum

type ApplicationTraceConfig

type ApplicationTraceConfig struct {

	// Define if tracing is enabled for the resource.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// The OCID of the collector (e.g. an APM Domain) trace events will be sent to.
	DomainId *string `mandatory:"false" json:"domainId"`
}

ApplicationTraceConfig Define the tracing configuration for an application.

func (ApplicationTraceConfig) String

func (m ApplicationTraceConfig) String() string

func (ApplicationTraceConfig) ValidateEnumValue

func (m ApplicationTraceConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeApplicationCompartmentDetails

type ChangeApplicationCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
	// into which the resource should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeApplicationCompartmentDetails Properties to change the compartment of an application.

func (ChangeApplicationCompartmentDetails) String

func (ChangeApplicationCompartmentDetails) ValidateEnumValue

func (m ChangeApplicationCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeApplicationCompartmentRequest

type ChangeApplicationCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this application.
	ApplicationId *string `mandatory:"true" contributesTo:"path" name:"applicationId"`

	// Properties to change the compartment of an application.
	ChangeApplicationCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
	// parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
	// will be updated or deleted only if the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeApplicationCompartmentRequest wrapper for the ChangeApplicationCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ChangeApplicationCompartment.go.html to see an example of how to use ChangeApplicationCompartmentRequest.

func (ChangeApplicationCompartmentRequest) BinaryRequestBody

func (request ChangeApplicationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeApplicationCompartmentRequest) HTTPRequest

func (request ChangeApplicationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeApplicationCompartmentRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeApplicationCompartmentRequest) String

func (ChangeApplicationCompartmentRequest) ValidateEnumValue

func (request ChangeApplicationCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeApplicationCompartmentResponse

type ChangeApplicationCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle
	// about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeApplicationCompartmentResponse wrapper for the ChangeApplicationCompartment operation

func (ChangeApplicationCompartmentResponse) HTTPResponse

func (response ChangeApplicationCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeApplicationCompartmentResponse) String

func (response ChangeApplicationCompartmentResponse) String() string

type ConfigDetails added in v65.33.0

type ConfigDetails struct {

	// The key name of the config param.
	Key *string `mandatory:"true" json:"key"`

	// Details about why this config is required and what it will be used for.
	Description *string `mandatory:"true" json:"description"`

	// Is this a required config or an optional one. Requests with required config params missing will be rejected.
	IsOptional *bool `mandatory:"false" json:"isOptional"`
}

ConfigDetails Details about the required and optional Function configurations needed for proper performance of the PBF.

func (ConfigDetails) String added in v65.33.0

func (m ConfigDetails) String() string

func (ConfigDetails) ValidateEnumValue added in v65.33.0

func (m ConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConstantProvisionedConcurrencyConfig added in v65.4.0

type ConstantProvisionedConcurrencyConfig struct {

	// Configuration specifying a constant amount of provisioned concurrency.
	Count *int `mandatory:"true" json:"count"`
}

ConstantProvisionedConcurrencyConfig Configuration specifying a constant amount of provisioned concurrency.

func (ConstantProvisionedConcurrencyConfig) MarshalJSON added in v65.4.0

func (m ConstantProvisionedConcurrencyConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ConstantProvisionedConcurrencyConfig) String added in v65.4.0

func (ConstantProvisionedConcurrencyConfig) ValidateEnumValue added in v65.4.0

func (m ConstantProvisionedConcurrencyConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateApplicationDetails

type CreateApplicationDetails struct {

	// The OCID of the compartment to create the application within.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the subnets in which to run functions in the application.
	SubnetIds []string `mandatory:"true" json:"subnetIds"`

	// Application configuration. These values are passed on to the function as environment variables, functions may override application configuration.
	// Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
	// Example: `{"MY_FUNCTION_CONFIG": "ConfVal"}`
	// The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
	Config map[string]string `mandatory:"false" json:"config"`

	// Valid values are `GENERIC_X86`, `GENERIC_ARM` and `GENERIC_X86_ARM`. Default is `GENERIC_X86`. Setting this to `GENERIC_X86`, will run the functions in the application on X86 processor architecture.
	// Setting this to `GENERIC_ARM`, will run the functions in the application on ARM processor architecture.
	// When set to `GENERIC_X86_ARM`, functions in the application are run on either X86 or ARM processor architecture.
	// Accepted values are:
	// `GENERIC_X86`, `GENERIC_ARM`, `GENERIC_X86_ARM`
	Shape CreateApplicationDetailsShapeEnum `mandatory:"false" json:"shape,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the Network Security Groups to add the application to.
	NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`

	// A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls.
	// The syslog URL must be reachable from all of the subnets configured for the application.
	// Note: If you enable the OCI Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the OCI Logging service, and not to the syslog URL.
	// Example: `tcp://logserver.myserver:1234`
	SyslogUrl *string `mandatory:"false" json:"syslogUrl"`

	TraceConfig *ApplicationTraceConfig `mandatory:"false" json:"traceConfig"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	ImagePolicyConfig *ImagePolicyConfig `mandatory:"false" json:"imagePolicyConfig"`
}

CreateApplicationDetails Properties for a new application.

func (CreateApplicationDetails) String

func (m CreateApplicationDetails) String() string

func (CreateApplicationDetails) ValidateEnumValue

func (m CreateApplicationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateApplicationDetailsShapeEnum added in v65.41.1

type CreateApplicationDetailsShapeEnum string

CreateApplicationDetailsShapeEnum Enum with underlying type: string

const (
	CreateApplicationDetailsShapeX86    CreateApplicationDetailsShapeEnum = "GENERIC_X86"
	CreateApplicationDetailsShapeArm    CreateApplicationDetailsShapeEnum = "GENERIC_ARM"
	CreateApplicationDetailsShapeX86Arm CreateApplicationDetailsShapeEnum = "GENERIC_X86_ARM"
)

Set of constants representing the allowable values for CreateApplicationDetailsShapeEnum

func GetCreateApplicationDetailsShapeEnumValues added in v65.41.1

func GetCreateApplicationDetailsShapeEnumValues() []CreateApplicationDetailsShapeEnum

GetCreateApplicationDetailsShapeEnumValues Enumerates the set of values for CreateApplicationDetailsShapeEnum

func GetMappingCreateApplicationDetailsShapeEnum added in v65.41.1

func GetMappingCreateApplicationDetailsShapeEnum(val string) (CreateApplicationDetailsShapeEnum, bool)

GetMappingCreateApplicationDetailsShapeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateApplicationRequest

type CreateApplicationRequest struct {

	// Specification of the application to create
	CreateApplicationDetails `contributesTo:"body"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateApplicationRequest wrapper for the CreateApplication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/CreateApplication.go.html to see an example of how to use CreateApplicationRequest.

func (CreateApplicationRequest) BinaryRequestBody

func (request CreateApplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateApplicationRequest) HTTPRequest

func (request CreateApplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateApplicationRequest) RetryPolicy

func (request CreateApplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateApplicationRequest) String

func (request CreateApplicationRequest) String() string

func (CreateApplicationRequest) ValidateEnumValue

func (request CreateApplicationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateApplicationResponse

type CreateApplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Application instance
	Application `presentIn:"body"`

	// For optimistic concurrency control. Add this value to the `if-match` parameter
	// in a PUT or DELETE operation. The resource will be updated only if the value you
	// provide matches the `etag` on the resource.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateApplicationResponse wrapper for the CreateApplication operation

func (CreateApplicationResponse) HTTPResponse

func (response CreateApplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateApplicationResponse) String

func (response CreateApplicationResponse) String() string

type CreateFunctionDetails

type CreateFunctionDetails struct {

	// The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the application this function belongs to.
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Maximum usable memory for the function (MiB).
	MemoryInMBs *int64 `mandatory:"true" json:"memoryInMBs"`

	// The qualified name of the Docker image to use in the function, including the image tag.
	// The image should be in the OCI Registry that is in the same region as the function itself.
	// Example: `phx.ocir.io/ten/functions/function:0.0.1`
	Image *string `mandatory:"false" json:"image"`

	// The image digest for the version of the image that will be pulled when invoking this function.
	// If no value is specified, the digest currently associated with the image in the OCI Registry will be used.
	// Example: `sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7`
	ImageDigest *string `mandatory:"false" json:"imageDigest"`

	SourceDetails FunctionSourceDetails `mandatory:"false" json:"sourceDetails"`

	// Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values.
	// Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
	// Example: `{"MY_FUNCTION_CONFIG": "ConfVal"}`
	// The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
	Config map[string]string `mandatory:"false" json:"config"`

	// Timeout for executions of the function. Value in seconds.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	ProvisionedConcurrencyConfig FunctionProvisionedConcurrencyConfig `mandatory:"false" json:"provisionedConcurrencyConfig"`

	TraceConfig *FunctionTraceConfig `mandatory:"false" json:"traceConfig"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateFunctionDetails Properties to create a new function.

func (CreateFunctionDetails) String

func (m CreateFunctionDetails) String() string

func (*CreateFunctionDetails) UnmarshalJSON added in v65.4.0

func (m *CreateFunctionDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateFunctionDetails) ValidateEnumValue

func (m CreateFunctionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateFunctionRequest

type CreateFunctionRequest struct {

	// Specification of the function to create
	CreateFunctionDetails `contributesTo:"body"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateFunctionRequest wrapper for the CreateFunction operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/CreateFunction.go.html to see an example of how to use CreateFunctionRequest.

func (CreateFunctionRequest) BinaryRequestBody

func (request CreateFunctionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateFunctionRequest) HTTPRequest

func (request CreateFunctionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateFunctionRequest) RetryPolicy

func (request CreateFunctionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateFunctionRequest) String

func (request CreateFunctionRequest) String() string

func (CreateFunctionRequest) ValidateEnumValue

func (request CreateFunctionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateFunctionResponse

type CreateFunctionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Function instance
	Function `presentIn:"body"`

	// For optimistic concurrency control. Add this value to the `if-match` parameter
	// in a PUT or DELETE operation. The resource will be updated only if the value you
	// provide matches the `etag` on the resource.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateFunctionResponse wrapper for the CreateFunction operation

func (CreateFunctionResponse) HTTPResponse

func (response CreateFunctionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateFunctionResponse) String

func (response CreateFunctionResponse) String() string

type DeleteApplicationRequest

type DeleteApplicationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this application.
	ApplicationId *string `mandatory:"true" contributesTo:"path" name:"applicationId"`

	// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
	// parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
	// will be updated or deleted only if the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteApplicationRequest wrapper for the DeleteApplication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/DeleteApplication.go.html to see an example of how to use DeleteApplicationRequest.

func (DeleteApplicationRequest) BinaryRequestBody

func (request DeleteApplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteApplicationRequest) HTTPRequest

func (request DeleteApplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteApplicationRequest) RetryPolicy

func (request DeleteApplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteApplicationRequest) String

func (request DeleteApplicationRequest) String() string

func (DeleteApplicationRequest) ValidateEnumValue

func (request DeleteApplicationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteApplicationResponse

type DeleteApplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle
	// about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteApplicationResponse wrapper for the DeleteApplication operation

func (DeleteApplicationResponse) HTTPResponse

func (response DeleteApplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteApplicationResponse) String

func (response DeleteApplicationResponse) String() string

type DeleteFunctionRequest

type DeleteFunctionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this function.
	FunctionId *string `mandatory:"true" contributesTo:"path" name:"functionId"`

	// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
	// parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
	// will be updated or deleted only if the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteFunctionRequest wrapper for the DeleteFunction operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/DeleteFunction.go.html to see an example of how to use DeleteFunctionRequest.

func (DeleteFunctionRequest) BinaryRequestBody

func (request DeleteFunctionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteFunctionRequest) HTTPRequest

func (request DeleteFunctionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteFunctionRequest) RetryPolicy

func (request DeleteFunctionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteFunctionRequest) String

func (request DeleteFunctionRequest) String() string

func (DeleteFunctionRequest) ValidateEnumValue

func (request DeleteFunctionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteFunctionResponse

type DeleteFunctionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle
	// about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteFunctionResponse wrapper for the DeleteFunction operation

func (DeleteFunctionResponse) HTTPResponse

func (response DeleteFunctionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteFunctionResponse) String

func (response DeleteFunctionResponse) String() string

type Function

type Function struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the function.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the function. The display name is unique within the application containing the function.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The current state of the function.
	LifecycleState FunctionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The OCID of the application the function belongs to.
	ApplicationId *string `mandatory:"false" json:"applicationId"`

	// The OCID of the compartment that contains the function.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The qualified name of the Docker image to use in the function, including the image tag.
	// The image should be in the OCI Registry that is in the same region as the function itself.
	// Example: `phx.ocir.io/ten/functions/function:0.0.1`
	Image *string `mandatory:"false" json:"image"`

	// The image digest for the version of the image that will be pulled when invoking this function.
	// If no value is specified, the digest currently associated with the image in the OCI Registry will be used.
	// Example: `sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7`
	ImageDigest *string `mandatory:"false" json:"imageDigest"`

	SourceDetails FunctionSourceDetails `mandatory:"false" json:"sourceDetails"`

	// The processor shape (`GENERIC_X86`/`GENERIC_ARM`) on which to run functions in the application, extracted from the image manifest.
	Shape FunctionShapeEnum `mandatory:"false" json:"shape,omitempty"`

	// Maximum usable memory for the function (MiB).
	MemoryInMBs *int64 `mandatory:"false" json:"memoryInMBs"`

	// Function configuration. Overrides application configuration.
	// Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
	// Example: `{"MY_FUNCTION_CONFIG": "ConfVal"}`
	// The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
	Config map[string]string `mandatory:"false" json:"config"`

	// Timeout for executions of the function. Value in seconds.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	ProvisionedConcurrencyConfig FunctionProvisionedConcurrencyConfig `mandatory:"false" json:"provisionedConcurrencyConfig"`

	TraceConfig *FunctionTraceConfig `mandatory:"false" json:"traceConfig"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
	InvokeEndpoint *string `mandatory:"false" json:"invokeEndpoint"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The time the function was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2018-09-12T22:47:12.613Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the function was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2018-09-12T22:47:12.613Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

Function A function resource defines the code (Docker image) and configuration for a specific function. Functions are defined in applications. Avoid entering confidential information.

func (Function) String

func (m Function) String() string

func (*Function) UnmarshalJSON added in v65.4.0

func (m *Function) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (Function) ValidateEnumValue

func (m Function) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FunctionLifecycleStateEnum

type FunctionLifecycleStateEnum string

FunctionLifecycleStateEnum Enum with underlying type: string

const (
	FunctionLifecycleStateCreating FunctionLifecycleStateEnum = "CREATING"
	FunctionLifecycleStateActive   FunctionLifecycleStateEnum = "ACTIVE"
	FunctionLifecycleStateInactive FunctionLifecycleStateEnum = "INACTIVE"
	FunctionLifecycleStateUpdating FunctionLifecycleStateEnum = "UPDATING"
	FunctionLifecycleStateDeleting FunctionLifecycleStateEnum = "DELETING"
	FunctionLifecycleStateDeleted  FunctionLifecycleStateEnum = "DELETED"
	FunctionLifecycleStateFailed   FunctionLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for FunctionLifecycleStateEnum

func GetFunctionLifecycleStateEnumValues

func GetFunctionLifecycleStateEnumValues() []FunctionLifecycleStateEnum

GetFunctionLifecycleStateEnumValues Enumerates the set of values for FunctionLifecycleStateEnum

func GetMappingFunctionLifecycleStateEnum

func GetMappingFunctionLifecycleStateEnum(val string) (FunctionLifecycleStateEnum, bool)

GetMappingFunctionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type FunctionProvisionedConcurrencyConfig added in v65.4.0

type FunctionProvisionedConcurrencyConfig interface {
}

FunctionProvisionedConcurrencyConfig Define the strategy for provisioned concurrency for the function.

type FunctionProvisionedConcurrencyConfigStrategyEnum added in v65.4.0

type FunctionProvisionedConcurrencyConfigStrategyEnum string

FunctionProvisionedConcurrencyConfigStrategyEnum Enum with underlying type: string

const (
	FunctionProvisionedConcurrencyConfigStrategyConstant FunctionProvisionedConcurrencyConfigStrategyEnum = "CONSTANT"
	FunctionProvisionedConcurrencyConfigStrategyNone     FunctionProvisionedConcurrencyConfigStrategyEnum = "NONE"
)

Set of constants representing the allowable values for FunctionProvisionedConcurrencyConfigStrategyEnum

func GetFunctionProvisionedConcurrencyConfigStrategyEnumValues added in v65.4.0

func GetFunctionProvisionedConcurrencyConfigStrategyEnumValues() []FunctionProvisionedConcurrencyConfigStrategyEnum

GetFunctionProvisionedConcurrencyConfigStrategyEnumValues Enumerates the set of values for FunctionProvisionedConcurrencyConfigStrategyEnum

func GetMappingFunctionProvisionedConcurrencyConfigStrategyEnum added in v65.4.0

func GetMappingFunctionProvisionedConcurrencyConfigStrategyEnum(val string) (FunctionProvisionedConcurrencyConfigStrategyEnum, bool)

GetMappingFunctionProvisionedConcurrencyConfigStrategyEnum performs case Insensitive comparison on enum value and return the desired enum

type FunctionShapeEnum added in v65.41.1

type FunctionShapeEnum string

FunctionShapeEnum Enum with underlying type: string

const (
	FunctionShapeX86    FunctionShapeEnum = "GENERIC_X86"
	FunctionShapeArm    FunctionShapeEnum = "GENERIC_ARM"
	FunctionShapeX86Arm FunctionShapeEnum = "GENERIC_X86_ARM"
)

Set of constants representing the allowable values for FunctionShapeEnum

func GetFunctionShapeEnumValues added in v65.41.1

func GetFunctionShapeEnumValues() []FunctionShapeEnum

GetFunctionShapeEnumValues Enumerates the set of values for FunctionShapeEnum

func GetMappingFunctionShapeEnum added in v65.41.1

func GetMappingFunctionShapeEnum(val string) (FunctionShapeEnum, bool)

GetMappingFunctionShapeEnum performs case Insensitive comparison on enum value and return the desired enum

type FunctionSourceDetails added in v65.33.0

type FunctionSourceDetails interface {
}

FunctionSourceDetails The source details for the Function. The function can be created from various sources.

type FunctionSourceDetailsSourceTypeEnum added in v65.33.0

type FunctionSourceDetailsSourceTypeEnum string

FunctionSourceDetailsSourceTypeEnum Enum with underlying type: string

const (
	FunctionSourceDetailsSourceTypePreBuiltFunctions FunctionSourceDetailsSourceTypeEnum = "PRE_BUILT_FUNCTIONS"
)

Set of constants representing the allowable values for FunctionSourceDetailsSourceTypeEnum

func GetFunctionSourceDetailsSourceTypeEnumValues added in v65.33.0

func GetFunctionSourceDetailsSourceTypeEnumValues() []FunctionSourceDetailsSourceTypeEnum

GetFunctionSourceDetailsSourceTypeEnumValues Enumerates the set of values for FunctionSourceDetailsSourceTypeEnum

func GetMappingFunctionSourceDetailsSourceTypeEnum added in v65.33.0

func GetMappingFunctionSourceDetailsSourceTypeEnum(val string) (FunctionSourceDetailsSourceTypeEnum, bool)

GetMappingFunctionSourceDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type FunctionSummary

type FunctionSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the function.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the function. The display name is unique within the application containing the function.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the application the function belongs to.
	ApplicationId *string `mandatory:"false" json:"applicationId"`

	// The OCID of the compartment that contains the function.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The current state of the function.
	LifecycleState FunctionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The qualified name of the Docker image to use in the function, including the image tag.
	// The image should be in the OCI Registry that is in the same region as the function itself.
	// Example: `phx.ocir.io/ten/functions/function:0.0.1`
	Image *string `mandatory:"false" json:"image"`

	// The image digest for the version of the image that will be pulled when invoking this function.
	// If no value is specified, the digest currently associated with the image in the OCI Registry will be used.
	// Example: `sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7`
	ImageDigest *string `mandatory:"false" json:"imageDigest"`

	SourceDetails FunctionSourceDetails `mandatory:"false" json:"sourceDetails"`

	// The processor shape (`GENERIC_X86`/`GENERIC_ARM`) on which to run functions in the application, extracted from the image manifest.
	Shape FunctionSummaryShapeEnum `mandatory:"false" json:"shape,omitempty"`

	// Maximum usable memory for the function (MiB).
	MemoryInMBs *int64 `mandatory:"false" json:"memoryInMBs"`

	// Timeout for executions of the function. Value in seconds.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	ProvisionedConcurrencyConfig FunctionProvisionedConcurrencyConfig `mandatory:"false" json:"provisionedConcurrencyConfig"`

	TraceConfig *FunctionTraceConfig `mandatory:"false" json:"traceConfig"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
	InvokeEndpoint *string `mandatory:"false" json:"invokeEndpoint"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The time the function was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2018-09-12T22:47:12.613Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the function was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2018-09-12T22:47:12.613Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

FunctionSummary Summary of a function.

func (FunctionSummary) String

func (m FunctionSummary) String() string

func (*FunctionSummary) UnmarshalJSON added in v65.4.0

func (m *FunctionSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (FunctionSummary) ValidateEnumValue

func (m FunctionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FunctionSummaryShapeEnum added in v65.41.1

type FunctionSummaryShapeEnum string

FunctionSummaryShapeEnum Enum with underlying type: string

const (
	FunctionSummaryShapeX86    FunctionSummaryShapeEnum = "GENERIC_X86"
	FunctionSummaryShapeArm    FunctionSummaryShapeEnum = "GENERIC_ARM"
	FunctionSummaryShapeX86Arm FunctionSummaryShapeEnum = "GENERIC_X86_ARM"
)

Set of constants representing the allowable values for FunctionSummaryShapeEnum

func GetFunctionSummaryShapeEnumValues added in v65.41.1

func GetFunctionSummaryShapeEnumValues() []FunctionSummaryShapeEnum

GetFunctionSummaryShapeEnumValues Enumerates the set of values for FunctionSummaryShapeEnum

func GetMappingFunctionSummaryShapeEnum added in v65.41.1

func GetMappingFunctionSummaryShapeEnum(val string) (FunctionSummaryShapeEnum, bool)

GetMappingFunctionSummaryShapeEnum performs case Insensitive comparison on enum value and return the desired enum

type FunctionTraceConfig

type FunctionTraceConfig struct {

	// Define if tracing is enabled for the resource.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`
}

FunctionTraceConfig Define the tracing configuration for a function.

func (FunctionTraceConfig) String

func (m FunctionTraceConfig) String() string

func (FunctionTraceConfig) ValidateEnumValue

func (m FunctionTraceConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FunctionsInvokeClient

type FunctionsInvokeClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

FunctionsInvokeClient a client for FunctionsInvoke

func NewFunctionsInvokeClientWithConfigurationProvider

func NewFunctionsInvokeClientWithConfigurationProvider(configProvider common.ConfigurationProvider, endpoint string) (client FunctionsInvokeClient, err error)

NewFunctionsInvokeClientWithConfigurationProvider Creates a new default FunctionsInvoke client with the given configuration provider. the configuration provider will be used for the default signer

func NewFunctionsInvokeClientWithOboToken

func NewFunctionsInvokeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string, endpoint string) (client FunctionsInvokeClient, err error)

NewFunctionsInvokeClientWithOboToken Creates a new default FunctionsInvoke client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

func (*FunctionsInvokeClient) ConfigurationProvider

func (client *FunctionsInvokeClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (FunctionsInvokeClient) InvokeFunction

func (client FunctionsInvokeClient) InvokeFunction(ctx context.Context, request InvokeFunctionRequest) (response InvokeFunctionResponse, err error)

InvokeFunction Invokes a function

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/InvokeFunction.go.html to see an example of how to use InvokeFunction API.

type FunctionsManagementClient

type FunctionsManagementClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

FunctionsManagementClient a client for FunctionsManagement

func NewFunctionsManagementClientWithConfigurationProvider

func NewFunctionsManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client FunctionsManagementClient, err error)

NewFunctionsManagementClientWithConfigurationProvider Creates a new default FunctionsManagement client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewFunctionsManagementClientWithOboToken

func NewFunctionsManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client FunctionsManagementClient, err error)

NewFunctionsManagementClientWithOboToken Creates a new default FunctionsManagement client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (FunctionsManagementClient) ChangeApplicationCompartment

func (client FunctionsManagementClient) ChangeApplicationCompartment(ctx context.Context, request ChangeApplicationCompartmentRequest) (response ChangeApplicationCompartmentResponse, err error)

ChangeApplicationCompartment Moves an application into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources Between Compartments (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ChangeApplicationCompartment.go.html to see an example of how to use ChangeApplicationCompartment API. A default retry strategy applies to this operation ChangeApplicationCompartment()

func (*FunctionsManagementClient) ConfigurationProvider

func (client *FunctionsManagementClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (FunctionsManagementClient) CreateApplication

func (client FunctionsManagementClient) CreateApplication(ctx context.Context, request CreateApplicationRequest) (response CreateApplicationResponse, err error)

CreateApplication Creates a new application.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/CreateApplication.go.html to see an example of how to use CreateApplication API. A default retry strategy applies to this operation CreateApplication()

func (FunctionsManagementClient) CreateFunction

func (client FunctionsManagementClient) CreateFunction(ctx context.Context, request CreateFunctionRequest) (response CreateFunctionResponse, err error)

CreateFunction Creates a new function.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/CreateFunction.go.html to see an example of how to use CreateFunction API. A default retry strategy applies to this operation CreateFunction()

func (FunctionsManagementClient) DeleteApplication

func (client FunctionsManagementClient) DeleteApplication(ctx context.Context, request DeleteApplicationRequest) (response DeleteApplicationResponse, err error)

DeleteApplication Deletes an application.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/DeleteApplication.go.html to see an example of how to use DeleteApplication API. A default retry strategy applies to this operation DeleteApplication()

func (FunctionsManagementClient) DeleteFunction

func (client FunctionsManagementClient) DeleteFunction(ctx context.Context, request DeleteFunctionRequest) (response DeleteFunctionResponse, err error)

DeleteFunction Deletes a function.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/DeleteFunction.go.html to see an example of how to use DeleteFunction API. A default retry strategy applies to this operation DeleteFunction()

func (FunctionsManagementClient) GetApplication

func (client FunctionsManagementClient) GetApplication(ctx context.Context, request GetApplicationRequest) (response GetApplicationResponse, err error)

GetApplication Retrieves an application.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/GetApplication.go.html to see an example of how to use GetApplication API. A default retry strategy applies to this operation GetApplication()

func (FunctionsManagementClient) GetFunction

func (client FunctionsManagementClient) GetFunction(ctx context.Context, request GetFunctionRequest) (response GetFunctionResponse, err error)

GetFunction Retrieves a function.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/GetFunction.go.html to see an example of how to use GetFunction API. A default retry strategy applies to this operation GetFunction()

func (FunctionsManagementClient) GetPbfListing added in v65.33.0

func (client FunctionsManagementClient) GetPbfListing(ctx context.Context, request GetPbfListingRequest) (response GetPbfListingResponse, err error)

GetPbfListing Fetches a Pre-built Function(PBF) Listing. Returns a PbfListing response model.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/GetPbfListing.go.html to see an example of how to use GetPbfListing API. A default retry strategy applies to this operation GetPbfListing()

func (FunctionsManagementClient) GetPbfListingVersion added in v65.33.0

func (client FunctionsManagementClient) GetPbfListingVersion(ctx context.Context, request GetPbfListingVersionRequest) (response GetPbfListingVersionResponse, err error)

GetPbfListingVersion Gets a PbfListingVersion by identifier for a PbfListing.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/GetPbfListingVersion.go.html to see an example of how to use GetPbfListingVersion API. A default retry strategy applies to this operation GetPbfListingVersion()

func (FunctionsManagementClient) ListApplications

func (client FunctionsManagementClient) ListApplications(ctx context.Context, request ListApplicationsRequest) (response ListApplicationsResponse, err error)

ListApplications Lists applications for a compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ListApplications.go.html to see an example of how to use ListApplications API. A default retry strategy applies to this operation ListApplications()

func (FunctionsManagementClient) ListFunctions

func (client FunctionsManagementClient) ListFunctions(ctx context.Context, request ListFunctionsRequest) (response ListFunctionsResponse, err error)

ListFunctions Lists functions for an application.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ListFunctions.go.html to see an example of how to use ListFunctions API. A default retry strategy applies to this operation ListFunctions()

func (FunctionsManagementClient) ListPbfListingVersions added in v65.33.0

func (client FunctionsManagementClient) ListPbfListingVersions(ctx context.Context, request ListPbfListingVersionsRequest) (response ListPbfListingVersionsResponse, err error)

ListPbfListingVersions Fetches a wrapped list of all Pre-built Function(PBF) Listing versions. Returns a PbfListingVersionCollection containing an array of PbfListingVersionSummary response models. Note that the PbfListingIdentifier must be provided as a query parameter, otherwise an exception shall be thrown.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ListPbfListingVersions.go.html to see an example of how to use ListPbfListingVersions API. A default retry strategy applies to this operation ListPbfListingVersions()

func (FunctionsManagementClient) ListPbfListings added in v65.33.0

func (client FunctionsManagementClient) ListPbfListings(ctx context.Context, request ListPbfListingsRequest) (response ListPbfListingsResponse, err error)

ListPbfListings Fetches a wrapped list of all Pre-built Function(PBF) Listings. Returns a PbfListingCollection containing an array of PbfListingSummary response models.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ListPbfListings.go.html to see an example of how to use ListPbfListings API. A default retry strategy applies to this operation ListPbfListings()

func (FunctionsManagementClient) ListTriggers added in v65.33.0

func (client FunctionsManagementClient) ListTriggers(ctx context.Context, request ListTriggersRequest) (response ListTriggersResponse, err error)

ListTriggers Returns a list of Triggers.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ListTriggers.go.html to see an example of how to use ListTriggers API. A default retry strategy applies to this operation ListTriggers()

func (*FunctionsManagementClient) SetRegion

func (client *FunctionsManagementClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (FunctionsManagementClient) UpdateApplication

func (client FunctionsManagementClient) UpdateApplication(ctx context.Context, request UpdateApplicationRequest) (response UpdateApplicationResponse, err error)

UpdateApplication Modifies an application

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/UpdateApplication.go.html to see an example of how to use UpdateApplication API. A default retry strategy applies to this operation UpdateApplication()

func (FunctionsManagementClient) UpdateFunction

func (client FunctionsManagementClient) UpdateFunction(ctx context.Context, request UpdateFunctionRequest) (response UpdateFunctionResponse, err error)

UpdateFunction Modifies a function

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/UpdateFunction.go.html to see an example of how to use UpdateFunction API. A default retry strategy applies to this operation UpdateFunction()

type GetApplicationRequest

type GetApplicationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this application.
	ApplicationId *string `mandatory:"true" contributesTo:"path" name:"applicationId"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetApplicationRequest wrapper for the GetApplication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/GetApplication.go.html to see an example of how to use GetApplicationRequest.

func (GetApplicationRequest) BinaryRequestBody

func (request GetApplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetApplicationRequest) HTTPRequest

func (request GetApplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetApplicationRequest) RetryPolicy

func (request GetApplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetApplicationRequest) String

func (request GetApplicationRequest) String() string

func (GetApplicationRequest) ValidateEnumValue

func (request GetApplicationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetApplicationResponse

type GetApplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Application instance
	Application `presentIn:"body"`

	// For optimistic concurrency control. Add this value to the `if-match` parameter
	// in a PUT or DELETE operation. The resource will be updated only if the value you
	// provide matches the `etag` on the resource.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetApplicationResponse wrapper for the GetApplication operation

func (GetApplicationResponse) HTTPResponse

func (response GetApplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetApplicationResponse) String

func (response GetApplicationResponse) String() string

type GetFunctionRequest

type GetFunctionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this function.
	FunctionId *string `mandatory:"true" contributesTo:"path" name:"functionId"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetFunctionRequest wrapper for the GetFunction operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/GetFunction.go.html to see an example of how to use GetFunctionRequest.

func (GetFunctionRequest) BinaryRequestBody

func (request GetFunctionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetFunctionRequest) HTTPRequest

func (request GetFunctionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetFunctionRequest) RetryPolicy

func (request GetFunctionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetFunctionRequest) String

func (request GetFunctionRequest) String() string

func (GetFunctionRequest) ValidateEnumValue

func (request GetFunctionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetFunctionResponse

type GetFunctionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Function instance
	Function `presentIn:"body"`

	// For optimistic concurrency control. Add this value to the `if-match` parameter
	// in a PUT or DELETE operation. The resource will be updated only if the value you
	// provide matches the `etag` on the resource.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetFunctionResponse wrapper for the GetFunction operation

func (GetFunctionResponse) HTTPResponse

func (response GetFunctionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetFunctionResponse) String

func (response GetFunctionResponse) String() string

type GetPbfListingRequest added in v65.33.0

type GetPbfListingRequest struct {

	// unique PbfListing identifier
	PbfListingId *string `mandatory:"true" contributesTo:"path" name:"pbfListingId"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetPbfListingRequest wrapper for the GetPbfListing operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/GetPbfListing.go.html to see an example of how to use GetPbfListingRequest.

func (GetPbfListingRequest) BinaryRequestBody added in v65.33.0

func (request GetPbfListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPbfListingRequest) HTTPRequest added in v65.33.0

func (request GetPbfListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPbfListingRequest) RetryPolicy added in v65.33.0

func (request GetPbfListingRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPbfListingRequest) String added in v65.33.0

func (request GetPbfListingRequest) String() string

func (GetPbfListingRequest) ValidateEnumValue added in v65.33.0

func (request GetPbfListingRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetPbfListingResponse added in v65.33.0

type GetPbfListingResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PbfListing instance
	PbfListing `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetPbfListingResponse wrapper for the GetPbfListing operation

func (GetPbfListingResponse) HTTPResponse added in v65.33.0

func (response GetPbfListingResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPbfListingResponse) String added in v65.33.0

func (response GetPbfListingResponse) String() string

type GetPbfListingVersionRequest added in v65.33.0

type GetPbfListingVersionRequest struct {

	// unique PbfListingVersion identifier
	PbfListingVersionId *string `mandatory:"true" contributesTo:"path" name:"pbfListingVersionId"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetPbfListingVersionRequest wrapper for the GetPbfListingVersion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/GetPbfListingVersion.go.html to see an example of how to use GetPbfListingVersionRequest.

func (GetPbfListingVersionRequest) BinaryRequestBody added in v65.33.0

func (request GetPbfListingVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPbfListingVersionRequest) HTTPRequest added in v65.33.0

func (request GetPbfListingVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPbfListingVersionRequest) RetryPolicy added in v65.33.0

func (request GetPbfListingVersionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPbfListingVersionRequest) String added in v65.33.0

func (request GetPbfListingVersionRequest) String() string

func (GetPbfListingVersionRequest) ValidateEnumValue added in v65.33.0

func (request GetPbfListingVersionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetPbfListingVersionResponse added in v65.33.0

type GetPbfListingVersionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PbfListingVersion instance
	PbfListingVersion `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetPbfListingVersionResponse wrapper for the GetPbfListingVersion operation

func (GetPbfListingVersionResponse) HTTPResponse added in v65.33.0

func (response GetPbfListingVersionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPbfListingVersionResponse) String added in v65.33.0

func (response GetPbfListingVersionResponse) String() string

type ImagePolicyConfig

type ImagePolicyConfig struct {

	// Define if image signature verification policy is enabled for the application.
	IsPolicyEnabled *bool `mandatory:"true" json:"isPolicyEnabled"`

	// A list of KMS key details.
	KeyDetails []KeyDetails `mandatory:"false" json:"keyDetails"`
}

ImagePolicyConfig Define the image signature verification policy for an application.

func (ImagePolicyConfig) String

func (m ImagePolicyConfig) String() string

func (ImagePolicyConfig) ValidateEnumValue

func (m ImagePolicyConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InvokeFunctionFnIntentEnum

type InvokeFunctionFnIntentEnum string

InvokeFunctionFnIntentEnum Enum with underlying type: string

const (
	InvokeFunctionFnIntentHttprequest InvokeFunctionFnIntentEnum = "httprequest"
	InvokeFunctionFnIntentCloudevent  InvokeFunctionFnIntentEnum = "cloudevent"
)

Set of constants representing the allowable values for InvokeFunctionFnIntentEnum

func GetInvokeFunctionFnIntentEnumValues

func GetInvokeFunctionFnIntentEnumValues() []InvokeFunctionFnIntentEnum

GetInvokeFunctionFnIntentEnumValues Enumerates the set of values for InvokeFunctionFnIntentEnum

func GetMappingInvokeFunctionFnIntentEnum

func GetMappingInvokeFunctionFnIntentEnum(val string) (InvokeFunctionFnIntentEnum, bool)

GetMappingInvokeFunctionFnIntentEnum performs case Insensitive comparison on enum value and return the desired enum

type InvokeFunctionFnInvokeTypeEnum

type InvokeFunctionFnInvokeTypeEnum string

InvokeFunctionFnInvokeTypeEnum Enum with underlying type: string

const (
	InvokeFunctionFnInvokeTypeDetached InvokeFunctionFnInvokeTypeEnum = "detached"
	InvokeFunctionFnInvokeTypeSync     InvokeFunctionFnInvokeTypeEnum = "sync"
)

Set of constants representing the allowable values for InvokeFunctionFnInvokeTypeEnum

func GetInvokeFunctionFnInvokeTypeEnumValues

func GetInvokeFunctionFnInvokeTypeEnumValues() []InvokeFunctionFnInvokeTypeEnum

GetInvokeFunctionFnInvokeTypeEnumValues Enumerates the set of values for InvokeFunctionFnInvokeTypeEnum

func GetMappingInvokeFunctionFnInvokeTypeEnum

func GetMappingInvokeFunctionFnInvokeTypeEnum(val string) (InvokeFunctionFnInvokeTypeEnum, bool)

GetMappingInvokeFunctionFnInvokeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InvokeFunctionRequest

type InvokeFunctionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this function.
	FunctionId *string `mandatory:"true" contributesTo:"path" name:"functionId"`

	// The body of the function invocation.
	// Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.
	InvokeFunctionBody io.ReadCloser `mandatory:"false" contributesTo:"body" encoding:"binary"`

	// An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
	FnIntent InvokeFunctionFnIntentEnum `mandatory:"false" contributesTo:"header" name:"fn-intent"`

	// Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution,
	// or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
	FnInvokeType InvokeFunctionFnInvokeTypeEnum `mandatory:"false" contributesTo:"header" name:"fn-invoke-type"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

InvokeFunctionRequest wrapper for the InvokeFunction operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/InvokeFunction.go.html to see an example of how to use InvokeFunctionRequest.

func (InvokeFunctionRequest) BinaryRequestBody

func (request InvokeFunctionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (InvokeFunctionRequest) HTTPRequest

func (request InvokeFunctionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (InvokeFunctionRequest) RetryPolicy

func (request InvokeFunctionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (InvokeFunctionRequest) String

func (request InvokeFunctionRequest) String() string

func (InvokeFunctionRequest) ValidateEnumValue

func (request InvokeFunctionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InvokeFunctionResponse

type InvokeFunctionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

InvokeFunctionResponse wrapper for the InvokeFunction operation

func (InvokeFunctionResponse) HTTPResponse

func (response InvokeFunctionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (InvokeFunctionResponse) String

func (response InvokeFunctionResponse) String() string

type KeyDetails

type KeyDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the KMS key that will be used to verify the image signature.
	KmsKeyId *string `mandatory:"true" json:"kmsKeyId"`
}

KeyDetails The properties that define the kms keys used by Functions for Image Signature verification.

func (KeyDetails) String

func (m KeyDetails) String() string

func (KeyDetails) ValidateEnumValue

func (m KeyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListApplicationsRequest

type ListApplicationsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this resource belongs.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return. 1 is the minimum, 50 is the maximum.
	// Default: 10
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token for a list query returned by a previous operation
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter to return only applications that match the lifecycle state in this parameter.
	// Example: `Creating`
	LifecycleState ApplicationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only applications with display names that match the display name string. Matching is exact.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only applications with the specified OCID.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// Specifies sort order.
	// * **ASC:** Ascending sort order.
	// * **DESC:** Descending sort order.
	SortOrder ListApplicationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Specifies the attribute with which to sort the rules.
	// Default: `displayName`
	// * **timeCreated:** Sorts by timeCreated.
	// * **displayName:** Sorts by displayName.
	// * **id:** Sorts by id.
	SortBy ListApplicationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListApplicationsRequest wrapper for the ListApplications operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ListApplications.go.html to see an example of how to use ListApplicationsRequest.

func (ListApplicationsRequest) BinaryRequestBody

func (request ListApplicationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListApplicationsRequest) HTTPRequest

func (request ListApplicationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListApplicationsRequest) RetryPolicy

func (request ListApplicationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListApplicationsRequest) String

func (request ListApplicationsRequest) String() string

func (ListApplicationsRequest) ValidateEnumValue

func (request ListApplicationsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListApplicationsResponse

type ListApplicationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ApplicationSummary instances
	Items []ApplicationSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages of
	// results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListApplicationsResponse wrapper for the ListApplications operation

func (ListApplicationsResponse) HTTPResponse

func (response ListApplicationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListApplicationsResponse) String

func (response ListApplicationsResponse) String() string

type ListApplicationsSortByEnum

type ListApplicationsSortByEnum string

ListApplicationsSortByEnum Enum with underlying type: string

const (
	ListApplicationsSortByTimecreated ListApplicationsSortByEnum = "timeCreated"
	ListApplicationsSortById          ListApplicationsSortByEnum = "id"
	ListApplicationsSortByDisplayname ListApplicationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListApplicationsSortByEnum

func GetListApplicationsSortByEnumValues

func GetListApplicationsSortByEnumValues() []ListApplicationsSortByEnum

GetListApplicationsSortByEnumValues Enumerates the set of values for ListApplicationsSortByEnum

func GetMappingListApplicationsSortByEnum

func GetMappingListApplicationsSortByEnum(val string) (ListApplicationsSortByEnum, bool)

GetMappingListApplicationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListApplicationsSortOrderEnum

type ListApplicationsSortOrderEnum string

ListApplicationsSortOrderEnum Enum with underlying type: string

const (
	ListApplicationsSortOrderAsc  ListApplicationsSortOrderEnum = "ASC"
	ListApplicationsSortOrderDesc ListApplicationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListApplicationsSortOrderEnum

func GetListApplicationsSortOrderEnumValues

func GetListApplicationsSortOrderEnumValues() []ListApplicationsSortOrderEnum

GetListApplicationsSortOrderEnumValues Enumerates the set of values for ListApplicationsSortOrderEnum

func GetMappingListApplicationsSortOrderEnum

func GetMappingListApplicationsSortOrderEnum(val string) (ListApplicationsSortOrderEnum, bool)

GetMappingListApplicationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFunctionsRequest

type ListFunctionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the application to which this function belongs.
	ApplicationId *string `mandatory:"true" contributesTo:"query" name:"applicationId"`

	// The maximum number of items to return. 1 is the minimum, 50 is the maximum.
	// Default: 10
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token for a list query returned by a previous operation
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter to return only functions that match the lifecycle state in this parameter.
	// Example: `Creating`
	LifecycleState FunctionLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only functions with display names that match the display name string. Matching is exact.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only functions with the specified OCID.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// Specifies sort order.
	// * **ASC:** Ascending sort order.
	// * **DESC:** Descending sort order.
	SortOrder ListFunctionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Specifies the attribute with which to sort the rules.
	// Default: `displayName`
	// * **timeCreated:** Sorts by timeCreated.
	// * **displayName:** Sorts by displayName.
	// * **id:** Sorts by id.
	SortBy ListFunctionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListFunctionsRequest wrapper for the ListFunctions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ListFunctions.go.html to see an example of how to use ListFunctionsRequest.

func (ListFunctionsRequest) BinaryRequestBody

func (request ListFunctionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListFunctionsRequest) HTTPRequest

func (request ListFunctionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListFunctionsRequest) RetryPolicy

func (request ListFunctionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListFunctionsRequest) String

func (request ListFunctionsRequest) String() string

func (ListFunctionsRequest) ValidateEnumValue

func (request ListFunctionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListFunctionsResponse

type ListFunctionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []FunctionSummary instances
	Items []FunctionSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages of
	// results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListFunctionsResponse wrapper for the ListFunctions operation

func (ListFunctionsResponse) HTTPResponse

func (response ListFunctionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListFunctionsResponse) String

func (response ListFunctionsResponse) String() string

type ListFunctionsSortByEnum

type ListFunctionsSortByEnum string

ListFunctionsSortByEnum Enum with underlying type: string

const (
	ListFunctionsSortByTimecreated ListFunctionsSortByEnum = "timeCreated"
	ListFunctionsSortById          ListFunctionsSortByEnum = "id"
	ListFunctionsSortByDisplayname ListFunctionsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListFunctionsSortByEnum

func GetListFunctionsSortByEnumValues

func GetListFunctionsSortByEnumValues() []ListFunctionsSortByEnum

GetListFunctionsSortByEnumValues Enumerates the set of values for ListFunctionsSortByEnum

func GetMappingListFunctionsSortByEnum

func GetMappingListFunctionsSortByEnum(val string) (ListFunctionsSortByEnum, bool)

GetMappingListFunctionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFunctionsSortOrderEnum

type ListFunctionsSortOrderEnum string

ListFunctionsSortOrderEnum Enum with underlying type: string

const (
	ListFunctionsSortOrderAsc  ListFunctionsSortOrderEnum = "ASC"
	ListFunctionsSortOrderDesc ListFunctionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListFunctionsSortOrderEnum

func GetListFunctionsSortOrderEnumValues

func GetListFunctionsSortOrderEnumValues() []ListFunctionsSortOrderEnum

GetListFunctionsSortOrderEnumValues Enumerates the set of values for ListFunctionsSortOrderEnum

func GetMappingListFunctionsSortOrderEnum

func GetMappingListFunctionsSortOrderEnum(val string) (ListFunctionsSortOrderEnum, bool)

GetMappingListFunctionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPbfListingVersionsRequest added in v65.33.0

type ListPbfListingVersionsRequest struct {

	// unique PbfListing identifier
	PbfListingId *string `mandatory:"true" contributesTo:"query" name:"pbfListingId"`

	// unique PbfListingVersion identifier
	PbfListingVersionId *string `mandatory:"false" contributesTo:"query" name:"pbfListingVersionId"`

	// Matches a PbfListingVersion based on a provided semantic version name for a PbfListingVersion.
	// Each PbfListingVersion name is unique with respect to its associated PbfListing.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// Matches the current version (the most recently added version with an Active
	// lifecycleState) associated with a PbfListing.
	IsCurrentVersion *bool `mandatory:"false" contributesTo:"query" name:"isCurrentVersion"`

	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	LifecycleState PbfListingVersionLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return. 1 is the minimum, 50 is the maximum.
	// Default: 10
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token for a list query returned by a previous operation
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Specifies sort order.
	// * **ASC:** Ascending sort order.
	// * **DESC:** Descending sort order.
	SortOrder ListPbfListingVersionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending.
	SortBy ListPbfListingVersionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListPbfListingVersionsRequest wrapper for the ListPbfListingVersions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ListPbfListingVersions.go.html to see an example of how to use ListPbfListingVersionsRequest.

func (ListPbfListingVersionsRequest) BinaryRequestBody added in v65.33.0

func (request ListPbfListingVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPbfListingVersionsRequest) HTTPRequest added in v65.33.0

func (request ListPbfListingVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPbfListingVersionsRequest) RetryPolicy added in v65.33.0

func (request ListPbfListingVersionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPbfListingVersionsRequest) String added in v65.33.0

func (request ListPbfListingVersionsRequest) String() string

func (ListPbfListingVersionsRequest) ValidateEnumValue added in v65.33.0

func (request ListPbfListingVersionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPbfListingVersionsResponse added in v65.33.0

type ListPbfListingVersionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of PbfListingVersionsCollection instances
	PbfListingVersionsCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListPbfListingVersionsResponse wrapper for the ListPbfListingVersions operation

func (ListPbfListingVersionsResponse) HTTPResponse added in v65.33.0

func (response ListPbfListingVersionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPbfListingVersionsResponse) String added in v65.33.0

func (response ListPbfListingVersionsResponse) String() string

type ListPbfListingVersionsSortByEnum added in v65.33.0

type ListPbfListingVersionsSortByEnum string

ListPbfListingVersionsSortByEnum Enum with underlying type: string

const (
	ListPbfListingVersionsSortByTimecreated ListPbfListingVersionsSortByEnum = "timeCreated"
	ListPbfListingVersionsSortByName        ListPbfListingVersionsSortByEnum = "name"
)

Set of constants representing the allowable values for ListPbfListingVersionsSortByEnum

func GetListPbfListingVersionsSortByEnumValues added in v65.33.0

func GetListPbfListingVersionsSortByEnumValues() []ListPbfListingVersionsSortByEnum

GetListPbfListingVersionsSortByEnumValues Enumerates the set of values for ListPbfListingVersionsSortByEnum

func GetMappingListPbfListingVersionsSortByEnum added in v65.33.0

func GetMappingListPbfListingVersionsSortByEnum(val string) (ListPbfListingVersionsSortByEnum, bool)

GetMappingListPbfListingVersionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPbfListingVersionsSortOrderEnum added in v65.33.0

type ListPbfListingVersionsSortOrderEnum string

ListPbfListingVersionsSortOrderEnum Enum with underlying type: string

const (
	ListPbfListingVersionsSortOrderAsc  ListPbfListingVersionsSortOrderEnum = "ASC"
	ListPbfListingVersionsSortOrderDesc ListPbfListingVersionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPbfListingVersionsSortOrderEnum

func GetListPbfListingVersionsSortOrderEnumValues added in v65.33.0

func GetListPbfListingVersionsSortOrderEnumValues() []ListPbfListingVersionsSortOrderEnum

GetListPbfListingVersionsSortOrderEnumValues Enumerates the set of values for ListPbfListingVersionsSortOrderEnum

func GetMappingListPbfListingVersionsSortOrderEnum added in v65.33.0

func GetMappingListPbfListingVersionsSortOrderEnum(val string) (ListPbfListingVersionsSortOrderEnum, bool)

GetMappingListPbfListingVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPbfListingsRequest added in v65.33.0

type ListPbfListingsRequest struct {

	// unique PbfListing identifier
	PbfListingId *string `mandatory:"false" contributesTo:"query" name:"pbfListingId"`

	// A filter to return only resources that match the entire PBF name given.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// A filter to return only resources that contain the supplied filter text in the PBF name given.
	NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"`

	// A filter to return only resources that start with the supplied filter text in the PBF name given.
	NameStartsWith *string `mandatory:"false" contributesTo:"query" name:"nameStartsWith"`

	// A filter to return only resources that match the service trigger sources of a PBF.
	Trigger []string `contributesTo:"query" name:"trigger" collectionFormat:"multi"`

	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	LifecycleState PbfListingLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return. 1 is the minimum, 50 is the maximum.
	// Default: 10
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token for a list query returned by a previous operation
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Specifies sort order.
	// * **ASC:** Ascending sort order.
	// * **DESC:** Descending sort order.
	SortOrder ListPbfListingsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending.
	SortBy ListPbfListingsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListPbfListingsRequest wrapper for the ListPbfListings operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ListPbfListings.go.html to see an example of how to use ListPbfListingsRequest.

func (ListPbfListingsRequest) BinaryRequestBody added in v65.33.0

func (request ListPbfListingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPbfListingsRequest) HTTPRequest added in v65.33.0

func (request ListPbfListingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPbfListingsRequest) RetryPolicy added in v65.33.0

func (request ListPbfListingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPbfListingsRequest) String added in v65.33.0

func (request ListPbfListingsRequest) String() string

func (ListPbfListingsRequest) ValidateEnumValue added in v65.33.0

func (request ListPbfListingsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPbfListingsResponse added in v65.33.0

type ListPbfListingsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of PbfListingsCollection instances
	PbfListingsCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListPbfListingsResponse wrapper for the ListPbfListings operation

func (ListPbfListingsResponse) HTTPResponse added in v65.33.0

func (response ListPbfListingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPbfListingsResponse) String added in v65.33.0

func (response ListPbfListingsResponse) String() string

type ListPbfListingsSortByEnum added in v65.33.0

type ListPbfListingsSortByEnum string

ListPbfListingsSortByEnum Enum with underlying type: string

const (
	ListPbfListingsSortByTimecreated ListPbfListingsSortByEnum = "timeCreated"
	ListPbfListingsSortByName        ListPbfListingsSortByEnum = "name"
)

Set of constants representing the allowable values for ListPbfListingsSortByEnum

func GetListPbfListingsSortByEnumValues added in v65.33.0

func GetListPbfListingsSortByEnumValues() []ListPbfListingsSortByEnum

GetListPbfListingsSortByEnumValues Enumerates the set of values for ListPbfListingsSortByEnum

func GetMappingListPbfListingsSortByEnum added in v65.33.0

func GetMappingListPbfListingsSortByEnum(val string) (ListPbfListingsSortByEnum, bool)

GetMappingListPbfListingsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPbfListingsSortOrderEnum added in v65.33.0

type ListPbfListingsSortOrderEnum string

ListPbfListingsSortOrderEnum Enum with underlying type: string

const (
	ListPbfListingsSortOrderAsc  ListPbfListingsSortOrderEnum = "ASC"
	ListPbfListingsSortOrderDesc ListPbfListingsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPbfListingsSortOrderEnum

func GetListPbfListingsSortOrderEnumValues added in v65.33.0

func GetListPbfListingsSortOrderEnumValues() []ListPbfListingsSortOrderEnum

GetListPbfListingsSortOrderEnumValues Enumerates the set of values for ListPbfListingsSortOrderEnum

func GetMappingListPbfListingsSortOrderEnum added in v65.33.0

func GetMappingListPbfListingsSortOrderEnum(val string) (ListPbfListingsSortOrderEnum, bool)

GetMappingListPbfListingsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTriggersRequest added in v65.33.0

type ListTriggersRequest struct {

	// A filter to return only resources that match the service trigger source of a PBF.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// The maximum number of items to return. 1 is the minimum, 50 is the maximum.
	// Default: 10
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token for a list query returned by a previous operation
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Specifies sort order.
	// * **ASC:** Ascending sort order.
	// * **DESC:** Descending sort order.
	SortOrder ListTriggersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTriggersRequest wrapper for the ListTriggers operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/ListTriggers.go.html to see an example of how to use ListTriggersRequest.

func (ListTriggersRequest) BinaryRequestBody added in v65.33.0

func (request ListTriggersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTriggersRequest) HTTPRequest added in v65.33.0

func (request ListTriggersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTriggersRequest) RetryPolicy added in v65.33.0

func (request ListTriggersRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTriggersRequest) String added in v65.33.0

func (request ListTriggersRequest) String() string

func (ListTriggersRequest) ValidateEnumValue added in v65.33.0

func (request ListTriggersRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTriggersResponse added in v65.33.0

type ListTriggersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TriggersCollection instances
	TriggersCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTriggersResponse wrapper for the ListTriggers operation

func (ListTriggersResponse) HTTPResponse added in v65.33.0

func (response ListTriggersResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTriggersResponse) String added in v65.33.0

func (response ListTriggersResponse) String() string

type ListTriggersSortOrderEnum added in v65.33.0

type ListTriggersSortOrderEnum string

ListTriggersSortOrderEnum Enum with underlying type: string

const (
	ListTriggersSortOrderAsc  ListTriggersSortOrderEnum = "ASC"
	ListTriggersSortOrderDesc ListTriggersSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTriggersSortOrderEnum

func GetListTriggersSortOrderEnumValues added in v65.33.0

func GetListTriggersSortOrderEnumValues() []ListTriggersSortOrderEnum

GetListTriggersSortOrderEnumValues Enumerates the set of values for ListTriggersSortOrderEnum

func GetMappingListTriggersSortOrderEnum added in v65.33.0

func GetMappingListTriggersSortOrderEnum(val string) (ListTriggersSortOrderEnum, bool)

GetMappingListTriggersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type NoneProvisionedConcurrencyConfig added in v65.4.0

type NoneProvisionedConcurrencyConfig struct {
}

NoneProvisionedConcurrencyConfig Configuration specifying no provisioned concurrency

func (NoneProvisionedConcurrencyConfig) MarshalJSON added in v65.4.0

func (m NoneProvisionedConcurrencyConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NoneProvisionedConcurrencyConfig) String added in v65.4.0

func (NoneProvisionedConcurrencyConfig) ValidateEnumValue added in v65.4.0

func (m NoneProvisionedConcurrencyConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PbfListing added in v65.33.0

type PbfListing struct {

	// Unique identifier that is immutable on creation.
	Id *string `mandatory:"true" json:"id"`

	// A brief descriptive name for the PBF listing. The PBF listing name must be unique, and not match and existing
	// PBF.
	Name *string `mandatory:"true" json:"name"`

	// A short overview of the PBF Listing: the purpose of the PBF and and associated information.
	Description *string `mandatory:"true" json:"description"`

	PublisherDetails *PublisherDetails `mandatory:"true" json:"publisherDetails"`

	// The time the PbfListing was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The last time the PbfListing was updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the PBF resource.
	LifecycleState PbfListingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// An array of Trigger. A list of triggers that may activate the PBF.
	Triggers []Trigger `mandatory:"false" json:"triggers"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

PbfListing PbfListing resources provide details about the available PBFs for consumption by the user. This resource contains details about PBF's functionality, policies required, configuration parameters expected etc.

func (PbfListing) String added in v65.33.0

func (m PbfListing) String() string

func (PbfListing) ValidateEnumValue added in v65.33.0

func (m PbfListing) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PbfListingLifecycleStateEnum added in v65.33.0

type PbfListingLifecycleStateEnum string

PbfListingLifecycleStateEnum Enum with underlying type: string

const (
	PbfListingLifecycleStateActive   PbfListingLifecycleStateEnum = "ACTIVE"
	PbfListingLifecycleStateInactive PbfListingLifecycleStateEnum = "INACTIVE"
	PbfListingLifecycleStateDeleted  PbfListingLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for PbfListingLifecycleStateEnum

func GetMappingPbfListingLifecycleStateEnum added in v65.33.0

func GetMappingPbfListingLifecycleStateEnum(val string) (PbfListingLifecycleStateEnum, bool)

GetMappingPbfListingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPbfListingLifecycleStateEnumValues added in v65.33.0

func GetPbfListingLifecycleStateEnumValues() []PbfListingLifecycleStateEnum

GetPbfListingLifecycleStateEnumValues Enumerates the set of values for PbfListingLifecycleStateEnum

type PbfListingSummary added in v65.33.0

type PbfListingSummary struct {

	// Unique identifier that is immutable on creation.
	Id *string `mandatory:"true" json:"id"`

	// A brief descriptive name for the PBF listing. The PBF listing name must be unique, and not match and existing
	// PBF.
	Name *string `mandatory:"true" json:"name"`

	// A short overview of the PBF Listing: the purpose of the PBF and and associated information.
	Description *string `mandatory:"true" json:"description"`

	PublisherDetails *PublisherDetails `mandatory:"true" json:"publisherDetails"`

	// The time the PbfListing was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The last time the PbfListing was updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the PBF resource.
	LifecycleState PbfListingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// An array of Trigger. A list of triggers that may activate the PBF.
	Triggers []Trigger `mandatory:"false" json:"triggers"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

PbfListingSummary Summary of the PbfListing.

func (PbfListingSummary) String added in v65.33.0

func (m PbfListingSummary) String() string

func (PbfListingSummary) ValidateEnumValue added in v65.33.0

func (m PbfListingSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PbfListingVersion added in v65.33.0

type PbfListingVersion struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the PbfListing this resource version belongs to.
	PbfListingId *string `mandatory:"true" json:"pbfListingId"`

	// Semantic version
	Name *string `mandatory:"true" json:"name"`

	Requirements *RequirementDetails `mandatory:"true" json:"requirements"`

	// Details changes are included in this version.
	ChangeSummary *string `mandatory:"true" json:"changeSummary"`

	// An array of Trigger. A list of triggers that may activate the PBF.
	Triggers []Trigger `mandatory:"true" json:"triggers"`

	// The time the PbfListingVersion was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the PBF resource.
	LifecycleState PbfListingVersionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Details about the required and optional Function configurations needed for proper performance of the PBF.
	Config []ConfigDetails `mandatory:"false" json:"config"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

PbfListingVersion This represents a version of a PbfListing. Each new update from the publisher or the change in the image will result in the creation of new PbfListingVersion resource creation. This is a sub-resource of a PbfListing.

func (PbfListingVersion) String added in v65.33.0

func (m PbfListingVersion) String() string

func (PbfListingVersion) ValidateEnumValue added in v65.33.0

func (m PbfListingVersion) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PbfListingVersionLifecycleStateEnum added in v65.33.0

type PbfListingVersionLifecycleStateEnum string

PbfListingVersionLifecycleStateEnum Enum with underlying type: string

const (
	PbfListingVersionLifecycleStateActive   PbfListingVersionLifecycleStateEnum = "ACTIVE"
	PbfListingVersionLifecycleStateInactive PbfListingVersionLifecycleStateEnum = "INACTIVE"
	PbfListingVersionLifecycleStateDeleted  PbfListingVersionLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for PbfListingVersionLifecycleStateEnum

func GetMappingPbfListingVersionLifecycleStateEnum added in v65.33.0

func GetMappingPbfListingVersionLifecycleStateEnum(val string) (PbfListingVersionLifecycleStateEnum, bool)

GetMappingPbfListingVersionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPbfListingVersionLifecycleStateEnumValues added in v65.33.0

func GetPbfListingVersionLifecycleStateEnumValues() []PbfListingVersionLifecycleStateEnum

GetPbfListingVersionLifecycleStateEnumValues Enumerates the set of values for PbfListingVersionLifecycleStateEnum

type PbfListingVersionSummary added in v65.33.0

type PbfListingVersionSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the PbfListing this resource version belongs to.
	PbfListingId *string `mandatory:"true" json:"pbfListingId"`

	// Semantic version
	Name *string `mandatory:"true" json:"name"`

	Requirements *RequirementDetails `mandatory:"true" json:"requirements"`

	// Details changes are included in this version.
	ChangeSummary *string `mandatory:"true" json:"changeSummary"`

	// An array of Trigger. A list of triggers that may activate the PBF.
	Triggers []Trigger `mandatory:"true" json:"triggers"`

	// The time the PbfListingVersion was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the PBF resource.
	LifecycleState PbfListingVersionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Details about the required and optional Function configurations needed for proper performance of the PBF.
	Config []ConfigDetails `mandatory:"false" json:"config"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

PbfListingVersionSummary Summary of the PbfListingVersion.

func (PbfListingVersionSummary) String added in v65.33.0

func (m PbfListingVersionSummary) String() string

func (PbfListingVersionSummary) ValidateEnumValue added in v65.33.0

func (m PbfListingVersionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PbfListingVersionsCollection added in v65.33.0

type PbfListingVersionsCollection struct {

	// List of PbfListingVersion.
	Items []PbfListingVersionSummary `mandatory:"true" json:"items"`
}

PbfListingVersionsCollection Results of a PbfListingVersion search. Contains both PbfListingVersionSummary items and other information, such as metadata.

func (PbfListingVersionsCollection) String added in v65.33.0

func (PbfListingVersionsCollection) ValidateEnumValue added in v65.33.0

func (m PbfListingVersionsCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PbfListingsCollection added in v65.33.0

type PbfListingsCollection struct {

	// List of PbfListingSummary.
	Items []PbfListingSummary `mandatory:"true" json:"items"`
}

PbfListingsCollection Results of a PbfListing search. Contains boh PbfListingSummary items and other information, such as metadata.

func (PbfListingsCollection) String added in v65.33.0

func (m PbfListingsCollection) String() string

func (PbfListingsCollection) ValidateEnumValue added in v65.33.0

func (m PbfListingsCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PolicyDetails added in v65.33.0

type PolicyDetails struct {

	// Policy required for PBF execution
	Policy *string `mandatory:"true" json:"policy"`

	// Details about why this policy is required and what it will be used for.
	Description *string `mandatory:"true" json:"description"`
}

PolicyDetails A policy required for this PBF execution.

func (PolicyDetails) String added in v65.33.0

func (m PolicyDetails) String() string

func (PolicyDetails) ValidateEnumValue added in v65.33.0

func (m PolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreBuiltFunctionSourceDetails added in v65.33.0

type PreBuiltFunctionSourceDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PbfListing this
	// function is sourced from.
	PbfListingId *string `mandatory:"true" json:"pbfListingId"`
}

PreBuiltFunctionSourceDetails The source of the Function which is based on a Pre-Built Function Listing (PbfListing).

func (PreBuiltFunctionSourceDetails) MarshalJSON added in v65.33.0

func (m PreBuiltFunctionSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreBuiltFunctionSourceDetails) String added in v65.33.0

func (PreBuiltFunctionSourceDetails) ValidateEnumValue added in v65.33.0

func (m PreBuiltFunctionSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PublisherDetails added in v65.33.0

type PublisherDetails struct {

	// Name of the Publisher
	Name *string `mandatory:"true" json:"name"`
}

PublisherDetails Contains details about the publisher of this PBF Listing.

func (PublisherDetails) String added in v65.33.0

func (m PublisherDetails) String() string

func (PublisherDetails) ValidateEnumValue added in v65.33.0

func (m PublisherDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequirementDetails added in v65.33.0

type RequirementDetails struct {

	// Minimum memory required by this PBF. The user should use memory greater than or equal to
	// this value while configuring the Function.
	MinMemoryRequiredInMBs *int64 `mandatory:"true" json:"minMemoryRequiredInMBs"`

	// List of policies required for this PBF execution.
	Policies []PolicyDetails `mandatory:"false" json:"policies"`
}

RequirementDetails Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.

func (RequirementDetails) String added in v65.33.0

func (m RequirementDetails) String() string

func (RequirementDetails) ValidateEnumValue added in v65.33.0

func (m RequirementDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Trigger added in v65.33.0

type Trigger struct {

	// A brief descriptive name for the PBF trigger.
	Name *string `mandatory:"true" json:"name"`
}

Trigger PBF specific triggers for activating a PBF.

func (Trigger) String added in v65.33.0

func (m Trigger) String() string

func (Trigger) ValidateEnumValue added in v65.33.0

func (m Trigger) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TriggerSummary added in v65.33.0

type TriggerSummary struct {

	// A brief descriptive name for the PBF trigger.
	Name *string `mandatory:"true" json:"name"`
}

TriggerSummary Summary of the Trigger.

func (TriggerSummary) String added in v65.33.0

func (m TriggerSummary) String() string

func (TriggerSummary) ValidateEnumValue added in v65.33.0

func (m TriggerSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TriggersCollection added in v65.33.0

type TriggersCollection struct {

	// List of TriggerSummary.
	Items []TriggerSummary `mandatory:"true" json:"items"`
}

TriggersCollection Results of a Trigger search. Contains boh TriggerSummary items and other information, such as metadata.

func (TriggersCollection) String added in v65.33.0

func (m TriggersCollection) String() string

func (TriggersCollection) ValidateEnumValue added in v65.33.0

func (m TriggersCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateApplicationDetails

type UpdateApplicationDetails struct {

	// Application configuration. These values are passed on to the function as environment variables, functions may override application configuration.
	// Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
	// Example: `{"MY_FUNCTION_CONFIG": "ConfVal"}`
	// The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
	Config map[string]string `mandatory:"false" json:"config"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the Network Security Groups to add the application to.
	NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`

	// A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls.
	// The syslog URL must be reachable from all of the subnets configured for the application.
	// Note: If you enable the OCI Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the OCI Logging service, and not to the syslog URL.
	// Example: `tcp://logserver.myserver:1234`
	SyslogUrl *string `mandatory:"false" json:"syslogUrl"`

	TraceConfig *ApplicationTraceConfig `mandatory:"false" json:"traceConfig"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	ImagePolicyConfig *ImagePolicyConfig `mandatory:"false" json:"imagePolicyConfig"`
}

UpdateApplicationDetails Properties to update an application.

func (UpdateApplicationDetails) String

func (m UpdateApplicationDetails) String() string

func (UpdateApplicationDetails) ValidateEnumValue

func (m UpdateApplicationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateApplicationRequest

type UpdateApplicationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this application.
	ApplicationId *string `mandatory:"true" contributesTo:"path" name:"applicationId"`

	// The new application spec to apply
	UpdateApplicationDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
	// parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
	// will be updated or deleted only if the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateApplicationRequest wrapper for the UpdateApplication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/UpdateApplication.go.html to see an example of how to use UpdateApplicationRequest.

func (UpdateApplicationRequest) BinaryRequestBody

func (request UpdateApplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateApplicationRequest) HTTPRequest

func (request UpdateApplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateApplicationRequest) RetryPolicy

func (request UpdateApplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateApplicationRequest) String

func (request UpdateApplicationRequest) String() string

func (UpdateApplicationRequest) ValidateEnumValue

func (request UpdateApplicationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateApplicationResponse

type UpdateApplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Application instance
	Application `presentIn:"body"`

	// For optimistic concurrency control. Add this value to the `if-match` parameter
	// in a PUT or DELETE operation. The resource will be updated only if the value you
	// provide matches the `etag` on the resource.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateApplicationResponse wrapper for the UpdateApplication operation

func (UpdateApplicationResponse) HTTPResponse

func (response UpdateApplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateApplicationResponse) String

func (response UpdateApplicationResponse) String() string

type UpdateFunctionDetails

type UpdateFunctionDetails struct {

	// The qualified name of the Docker image to use in the function, including the image tag.
	// The image should be in the OCI Registry that is in the same region as the function itself.
	// If an image is specified but no value for imageDigest is provided, the digest currently associated with the image tag in the OCI Registry will be used.
	// Example: `phx.ocir.io/ten/functions/function:0.0.1`
	Image *string `mandatory:"false" json:"image"`

	// The image digest for the version of the image that will be pulled when invoking this function.
	// Example: `sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7`
	ImageDigest *string `mandatory:"false" json:"imageDigest"`

	// Maximum usable memory for the function (MiB).
	MemoryInMBs *int64 `mandatory:"false" json:"memoryInMBs"`

	// Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values.
	// Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
	// Example: `{"MY_FUNCTION_CONFIG": "ConfVal"}`
	// The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
	Config map[string]string `mandatory:"false" json:"config"`

	// Timeout for executions of the function. Value in seconds.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	ProvisionedConcurrencyConfig FunctionProvisionedConcurrencyConfig `mandatory:"false" json:"provisionedConcurrencyConfig"`

	TraceConfig *FunctionTraceConfig `mandatory:"false" json:"traceConfig"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateFunctionDetails Updates attributes of a function.

func (UpdateFunctionDetails) String

func (m UpdateFunctionDetails) String() string

func (*UpdateFunctionDetails) UnmarshalJSON added in v65.4.0

func (m *UpdateFunctionDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateFunctionDetails) ValidateEnumValue

func (m UpdateFunctionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateFunctionRequest

type UpdateFunctionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this function.
	FunctionId *string `mandatory:"true" contributesTo:"path" name:"functionId"`

	// The new function spec to apply
	UpdateFunctionDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
	// parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
	// will be updated or deleted only if the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateFunctionRequest wrapper for the UpdateFunction operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/functions/UpdateFunction.go.html to see an example of how to use UpdateFunctionRequest.

func (UpdateFunctionRequest) BinaryRequestBody

func (request UpdateFunctionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateFunctionRequest) HTTPRequest

func (request UpdateFunctionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateFunctionRequest) RetryPolicy

func (request UpdateFunctionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateFunctionRequest) String

func (request UpdateFunctionRequest) String() string

func (UpdateFunctionRequest) ValidateEnumValue

func (request UpdateFunctionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateFunctionResponse

type UpdateFunctionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Function instance
	Function `presentIn:"body"`

	// For optimistic concurrency control. Add this value to the `if-match` parameter
	// in a PUT or DELETE operation. The resource will be updated only if the value you
	// provide matches the `etag` on the resource.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateFunctionResponse wrapper for the UpdateFunction operation

func (UpdateFunctionResponse) HTTPResponse

func (response UpdateFunctionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateFunctionResponse) String

func (response UpdateFunctionResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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