Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Resource (0.18 sec)

  1. internal/event/arn.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import (
    	"encoding/xml"
    	"strings"
    )
    
    // ARN - SQS resource name representation.
    type ARN struct {
    	TargetID
    	region string
    }
    
    // String - returns string representation.
    func (arn ARN) String() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  2. internal/arn/arn.go

    	if len(res) != 2 {
    		err = errors.New("invalid ARN - resource does not contain a \"/\"")
    		return
    	}
    
    	if res[0] != string(arnResourceTypeRole) {
    		err = errors.New("invalid ARN: resource type is invalid")
    		return
    	}
    
    	if !validResourceIDRegex.MatchString(res[1]) {
    		err = fmt.Errorf("invalid resource ID: %s", res[1])
    		return
    	}
    
    	arn = ARN{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. internal/config/lambda/event/arn.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import (
    	"strings"
    )
    
    // ARN - SQS resource name representation.
    type ARN struct {
    	TargetID
    	region string
    }
    
    // String - returns string representation.
    func (arn ARN) String() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.6K bytes
    - Viewed (0)
Back to top