Documentation ¶
Index ¶
- type State
- func (s *State) DeleteObject(ctx context.Context, name string) error
- func (s *State) ListObjects(ctx context.Context) ([]string, error)
- func (s *State) OpenObjectForReading(ctx context.Context, name string) (io.ReadCloser, error)
- func (s *State) OpenObjectForWriting(ctx context.Context, name string) (io.WriteCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func NewClient ¶
NewClient creates a new GCS client. On top of the usual GCS client, it also specifies the project ID and bucket name.
func (*State) OpenObjectForReading ¶
func (*State) OpenObjectForWriting ¶
Click to show internal directories.
Click to hide internal directories.