Documentation
¶
Overview ¶
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func FileExists(filePath string) bool
- func GenerateFlowID(opId string) string
- func GenerateScheduleID(opId string) string
- func GenerateTaskID(opId string, index int) string
- func IsDir(path string) error
- func IsValidServiceType(s models.CloudServiceType) bool
- func IsValidStatus(s models.Status) bool
- func IsValidTaskType(s models.TaskType) bool
- func RequestTumblebug(path string, method string, connName string, jsonBody []byte) ([]byte, error)
- type AESconverter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func GenerateFlowID ¶ added in v0.2.1
func GenerateScheduleID ¶ added in v0.2.1
func IsValidServiceType ¶ added in v0.2.1
func IsValidServiceType(s models.CloudServiceType) bool
func IsValidTaskType ¶ added in v0.2.1
Types ¶
type AESconverter ¶ added in v0.4.1
type AESconverter struct {
// contains filtered or unexported fields
}
func NewAESConverter ¶ added in v0.4.1
func NewAESConverter() *AESconverter
func (*AESconverter) DecryptAESGCM ¶ added in v0.4.1
func (a *AESconverter) DecryptAESGCM(cryptoText string) (string, error)
AES-GCM 복호화
func (*AESconverter) EncryptAESGCM ¶ added in v0.4.1
func (a *AESconverter) EncryptAESGCM(plaintext string) (string, error)
AES-GCM 암호화
Click to show internal directories.
Click to hide internal directories.