Documentation ¶
Index ¶
Constants ¶
View Source
const OSSStateName = "kusion_state.json"
Variables ¶
View Source
var ErrOSSNoExist = errors.New("oss: key not exist")
Functions ¶
func NewOssBackend ¶
Types ¶
type OssBackend ¶
type OssBackend struct {
OssState
}
func (*OssBackend) ConfigSchema ¶
func (b *OssBackend) ConfigSchema() cty.Type
ConfigSchema returns a description of the expected configuration structure for the receiving backend.
func (*OssBackend) Configure ¶
func (b *OssBackend) Configure(obj cty.Value) error
Configure uses the provided configuration to set configuration fields within the OssState backend.
func (*OssBackend) StateStorage ¶
func (b *OssBackend) StateStorage() states.StateStorage
StateStorage return a StateStorage to manage State stored in oss
type OssState ¶
type OssState struct {
// contains filtered or unexported fields
}
func NewOSSState ¶
func (*OssState) GetLatestState ¶
Click to show internal directories.
Click to hide internal directories.